gst/: Small cleanups in docs and code.
[platform/upstream/gstreamer.git] / ChangeLog
1 2006-09-15  Wim Taymans  <wim@fluendo.com>
2
3         * gst/gstobject.c: (gst_object_set_parent):
4         * gst/gstpipeline.c: (do_pipeline_seek):
5         Small cleanups in docs and code.
6
7         * gst/gstsegment.c: (gst_segment_clip):
8         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9         if stop == start and start is in the segment, no clipping should be
10         done. Also add a test for this.
11
12 2006-09-15  Wim Taymans  <wim@fluendo.com>
13
14         * docs/design/part-buffering.txt:
15         * docs/gst/gstreamer-sections.txt:
16         * gst/gstmessage.c: (gst_message_new_buffering),
17         (gst_message_parse_buffering):
18         * gst/gstmessage.h:
19         Added methods to create and parse BUFFERING messages.
20         Added preliminary docs about buffering.
21         API: gst_message_new_buffering
22         API: gst_message_parse_buffering
23
24 2006-09-06  Wim Taymans  <wim@fluendo.com>
25
26         * gst/gstbin.c:
27         Update documentation.
28
29         * gst/gstelement.c: (gst_element_class_init),
30         (gst_element_release_request_pad), (gst_element_set_clock),
31         (gst_element_get_index), (gst_element_add_pad),
32         (gst_element_remove_pad), (gst_element_get_random_pad),
33         (gst_element_send_event), (gst_element_get_query_types),
34         (gst_element_query), (gst_element_post_message),
35         (gst_element_message_full), (gst_element_continue_state),
36         (gst_element_lost_state), (gst_element_save_thyself),
37         (gst_element_restore_thyself):
38         Documentation updates.
39         Rename last bit of the new-pad -> pad-added signal rename.
40         Fix the case where an element query would only work if the source
41         pad was linked.
42         Avoid some useless type checking in message handling.
43
44         * gst/gstevent.c:
45         * gst/gstevent.h:
46         * gst/gstutils.c:
47         Documentation updates.
48
49 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
50
51         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
52           add an INFO line for when we actually update the fd
53
54 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
55
56         * configure.ac:
57           back to TRUNK
58
59 === release 0.10.10 ===
60
61 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
62
63         * configure.ac:
64           releasing 0.10.10, "Pais"
65
66 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
67
68         * docs/manual/advanced-position.xml:
69           Fix typo in sample code.
70
71 2006-09-05  Wim Taymans  <wim@fluendo.com>
72
73         * libs/gst/net/gstnetclientclock.c: (inet_aton),
74         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
75         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
76         * libs/gst/net/gstnetclientclock.h:
77         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
78         * libs/gst/net/gstnettimepacket.h:
79         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
80         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
81         (gst_net_time_provider_thread), (gst_net_time_provider_new):
82         * libs/gst/net/gstnettimeprovider.h:
83         Make stuff compile on windows. Fixes #345295.
84
85 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
86
87         * gst/gst.c: (ensure_current_registry_forking):
88           Print better details when child was terminated by signal.
89
90 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
91
92         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
93           Print a warning rather than g_assert() if a plugin feature
94           is a URI handler but returns no protocols (#353976).
95
96 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
97
98         * docs/random/moving-plugins:
99         Fix two typos.         
100
101 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
102
103         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
104           Fix locking order, handle NULL function values properly.
105
106         * gst/gstinfo.h:
107           Fix docs.
108
109         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
110           Initialise variable before using it and fix debug statement to
111           print the address of the function rather than the address of the
112           variable on the stack holding the address of the function.
113
114 2006-09-01  Wim Taymans  <wim@fluendo.com>
115
116         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
117         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
118         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
119         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
120         (gst_ghost_pad_parent_unset),
121         (gst_ghost_pad_internal_do_activate_push),
122         (gst_ghost_pad_internal_do_activate_pull),
123         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
124         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
125         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
126         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
127         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
128         (gst_ghost_pad_new_no_target_from_template),
129         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
130         More cleanups.
131         Avoid needless typechecking in macros.
132         Since the internal pad is always present and never changes, there is
133         no need to locking or ref when retrieving it.
134         Improve debugging a bit.
135         Handle link errors when setting the target. Fixes #341029.
136
137 2006-09-01  Wim Taymans  <wim@fluendo.com>
138
139         * docs/libs/gstreamer-libs-sections.txt:
140         * docs/plugins/gstreamer-plugins-sections.txt:
141         Fix docs some more.
142
143         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
144         (gst_collect_pads_event):
145         * libs/gst/base/gstcollectpads.h:
146         Documentation updates.
147         Free queued buffer when removing a pad.
148
149 2006-08-31  Michael Smith  <msmith@fluendo.com>
150
151         * gst/gstutils.c: (gst_element_link_pads),
152         (gst_element_link_pads_filtered):
153           Ensure that we set a capsfilter to NULL if we failed to link it
154           when doing filtered linking, to avoid criticals.
155
156           No need to check for unreffing srcpad, which is explicly NULLed
157           above (a trivial code cleanup).
158
159 2006-08-31  Wim Taymans  <wim@fluendo.com>
160
161         * docs/design/part-gstghostpad.txt:
162         Update ascii art in documentation.
163
164         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
165         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
166         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
167         (gst_ghost_pad_internal_do_activate_push),
168         (gst_ghost_pad_internal_do_activate_pull),
169         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
170         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
171         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
172         (gst_ghost_pad_set_target):
173         Small cleanups and leak fixes.
174         Remove some checks now that the internal pad is never NULL.
175         Fix the case where linking pads without a target would create nasty
176         criticals. Fixes #341029.
177         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
178         value of _set_target().
179
180         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
181         (gst_ghost_pad_suite):
182         Some more tests for creating and linking untargeted ghostpads.
183
184 2006-08-31  Edward Hervey  <edward@fluendo.com>
185
186         * docs/gst/gstreamer-sections.txt:
187         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
188         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
189         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
190         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
191         (gst_ghost_pad_new_from_template),
192         (gst_ghost_pad_new_no_target_from_template):
193         * gst/gstghostpad.h:
194         Refactored *_new() functions.
195         Templates are now used as a g_object_new() parameter.
196         Use template in _do_getcaps() if we don't have a target.
197         Small documentation cleanups.
198         Added two new constructors:
199         gst_ghost_pad_new_from_template()
200         gst_ghost_pad_new_no_target_from_template()
201         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
202         (gst_ghost_pad_suite):
203         Added tests for new ghostpad instanciation functions.
204
205         API additions: gst_ghost_pad_new_from_template,
206         gst_ghost_pad_new_no_target_from_template
207
208 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
209
210         * docs/random/ensonic/profiling.txt:
211           Ideas about qos profiling.
212
213 2006-08-29  Wim Taymans  <wim@fluendo.com>
214
215         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
216         Code cleanups.
217         Fix memleak.
218
219 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
220
221         * gst/gstxml.c:
222           Improve and detypofy docs.
223
224         * tests/check/Makefile.am:
225         * tests/check/gst/.cvsignore:
226         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
227           Add a basic test suite for GstXML.
228
229 2006-08-29  Wim Taymans  <wim@fluendo.com>
230
231         * gst/gstelement.c: (activate_pads), (clear_caps),
232         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
233         Clear the pad caps when the element shut down all of the pads and
234         is not streaming data that could modify the caps. 
235         Fixes #352958.
236
237 2006-08-28  Michael Smith  <msmith@fluendo.com>
238
239         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
240           Revert previous change; I misunderstood single-segment mode.
241
242 2006-08-28  Michael Smith  <msmith@fluendo.com>
243
244         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
245           Unset DISCONT on buffers when using single-segment mode.
246
247 2006-08-28  Wim Taymans  <wim@fluendo.com>
248
249         * gst/gstcaps.c: (gst_caps_merge_structure):
250         * gst/gstcaps.h:
251         Fix docs and indentation again.
252
253         * tests/check/gst/gstquery.c: (GST_START_TEST):
254         Fix leak in tests and add some more tests.
255
256 2006-08-28  Edward Hervey  <edward@fluendo.com>
257
258         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
259         Inform GstSegment of the last stop position in order for the current
260         segment to have a proper duration if it doesn't have a specific stop
261         position from which a duration could be calculated.
262         This bug was noticeable when a non-flushing, non-update new segment was
263         followed by another segment (all buffers from the new segment were being
264         dropped).
265
266 2006-08-28  Wim Taymans  <wim@fluendo.com>
267
268         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
269         Small comment update.
270
271         * plugins/elements/gstidentity.c: (gst_identity_class_init),
272         (gst_identity_transform_ip):
273         Drop-probability is broken, mention this in the code with a 
274         FIXME and also in the property description.
275         Make silent also be silent about the drop messages.
276
277 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
278
279         * docs/manual/appendix-win32.xml:
280           Remove mention of popt, we don't depend on that any
281           longer (#353136). Add some comments pointing out that
282           this section is slightly outdated.
283
284 2006-08-28  Wim Taymans  <wim@fluendo.com>
285
286         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
287
288         * gst/gstquery.c: (gst_query_new_segment):
289         * tests/check/gst/gstquery.c: (GST_START_TEST):
290         Initialize variables when creating a new segment query.
291         Fixes #353121.
292
293 2006-08-28  Wim Taymans  <wim@fluendo.com>
294
295         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
296
297         * gst/gstelement.c: (gst_element_get_bus):
298         * tests/check/gst/gstelement.c: (GST_START_TEST):
299         Check for NULL before _reffing the bus. Fixes #353122.
300
301 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
302
303         * docs/manual/basics-bus.xml:
304           Docs update: fix wrong callback return value explanation; add
305           some lines about the implicit relationship between main loop
306           and main context; remove duplicate main loop variable declaration.
307
308 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
309
310         * tests/check/gst/gstcaps.c: (GST_START_TEST):
311           Don't leak caps in unit test; add a few more simple
312           checks. 
313
314 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
315
316         * docs/gst/gstreamer-sections.txt:
317         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
318         (gst_caps_structure_is_subset), (gst_caps_merge),
319         (gst_caps_merge_structure):
320         * gst/gstcaps.h:
321         * libs/gst/base/gstbasetransform.c:
322         (gst_base_transform_transform_caps):
323         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
324           implement caps merging (fixes #352580)
325
326 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
327
328         * tools/Makefile.am:
329         * tools/gst-plot-timeline.py:
330           add debug-log plotting developer tool (#340674)
331
332 2006-08-23  Wim Taymans  <wim@fluendo.com>
333
334         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
335         (gst_pad_stop_task):
336         Improve debugging for task functions.
337
338         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
339         (gst_task_start), (gst_task_pause), (gst_task_join):
340         Make sure that the task function started and finished after a 
341         join(). 
342         Don't try to push the task function on the threadpool multiple
343         times.
344         Improve the g_warning message with some useful suggestions
345         about how to fix the problem. 
346
347 2006-08-23  Wim Taymans  <wim@fluendo.com>
348
349         * gst/gstutils.c: (gst_pad_proxy_getcaps):
350         Handle RESYNC correctly in _proxy_getcaps.
351
352 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
353
354         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
355         (gst_xml_parse_memory), (gst_xml_get_element):
356           Chain up to parent class in dispose function and also
357           unref the elements in the toplevel_elements GList.
358           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
359           Always return a reference in gst_xml_get_element() rather
360           than only sometimes.
361
362         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
363           Don't leak GstXml object.
364
365 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
366
367         * docs/gst/gstreamer-sections.txt:
368         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
369         (gst_caps_merge):
370         * gst/gstcaps.h:
371         * libs/gst/base/gstbasetransform.c:
372         (gst_base_transform_transform_caps):
373           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
374           in a better way
375
376 2006-08-21  Edward Hervey  <edward@fluendo.com>
377
378         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
379         Implement GObject::dispose virtual method in GstXML so we can free the
380         top_elements GList.
381
382 2006-08-21  Wim Taymans  <wim@fluendo.com>
383
384         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
385         (gst_buffer_create_sub):
386         Copy duration/offset_end/caps when creating a subbuffer of the
387         complete parent.
388         Make the subbuffer read-only when we make the metadata writable for
389         now. Fixes #351768.
390
391         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
392         Added check for metadata copy when creating subbuffers.
393
394 2006-08-21  Edward Hervey  <edward@fluendo.com>
395
396         * libs/gst/base/gstbasetransform.c:
397         (gst_base_transform_buffer_alloc):
398         Only call downstream buffer_alloc if transform element is passthrough
399         or always_in_place. Closes #350449.
400
401 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
402
403         * ChangeLog:
404           ChangeLog surgery to add comments to previous changes
405
406 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
407
408         * gst/gst.c:
409           Add comments
410
411         * gst/gstpad.c: (gst_pad_set_active):
412           Be more verbose in the log
413
414         * libs/gst/base/gstbasetransform.c:
415         (gst_base_transform_transform_caps):
416           Simplify caps to get rid of duplicates, fixes #345444
417
418 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
419
420         * gst/gstvalue.c:
421         * gst/gstvalue.h:
422           Use these optimizations only internally.
423
424 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
425
426         * gst/gstvalue.c: (gst_value_compare_list),
427         (gst_value_compare_fraction_range),
428         (gst_value_intersect_fraction_fraction_range),
429         (gst_value_intersect_fraction_range_fraction_range),
430         (gst_value_subtract_fraction_fraction_range),
431         (gst_value_subtract_fraction_range_fraction_range),
432         (gst_value_get_compare_func), (gst_value_compare),
433         (gst_value_compare_with_func):
434         * gst/gstvalue.h:
435           Saves the expensive lookup of the compare function in many cases
436          (#345444)
437
438 2006-08-18  Edward Hervey  <edward@fluendo.com>
439
440         * tests/check/gst/gstinfo.c: (gst_info_suite):
441         Disable test that require gstdebug if it wasn't built in core.
442
443 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
444
445         * docs/random/ensonic/logging.txt:
446           update ideas
447           
448         * gst/gstinfo.c: (gst_debug_log_default):
449           reorder fields, save some columns, add optional color codes for log
450           levels
451
452 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
453
454         * docs/random/ensonic/logging.txt:
455           add ideas about making the logs a bit more useful
456
457 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
458
459         * docs/pwg/advanced-events.xml:
460         * docs/pwg/titlepage.xml:
461           Update for 0.10 API (#340627). Add myself
462           to authors list.
463
464 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
465
466         * docs/libs/gstreamer-libs-docs.sgml:
467         * docs/libs/gstreamer-libs-sections.txt:
468         * libs/gst/check/gstbufferstraw.c:
469           Make gstcheck stuff show up in docs (still needs to
470           be documented properly though).
471
472 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
473
474         * docs/gst/gstreamer-sections.txt:
475         * gst/Makefile.am:
476         * gst/gst.c: (init_post):
477         * gst/gst_private.h:
478         * gst/gstquark.c: (_priv_gst_quarks_initialize):
479         * gst/gstquark.h:
480         * gst/gstquery.c: (gst_query_new_position),
481         (gst_query_set_position), (gst_query_parse_position),
482         (gst_query_new_duration), (gst_query_set_duration),
483         (gst_query_parse_duration), (gst_query_new_convert),
484         (gst_query_set_convert), (gst_query_parse_convert),
485         (gst_query_new_segment), (gst_query_set_segment),
486         (gst_query_parse_segment), (gst_query_new_seeking),
487         (gst_query_set_seeking), (gst_query_parse_seeking):
488         Add internal helpers for pre-registering quarks from static strings
489         and using the quark values directly instead of looking them up when
490         creating and parsing queries. Can be used for event construction too.
491         Closes #350432.
492
493 2006-08-16  Wim Taymans  <wim@fluendo.com>
494
495         * gst/gstbin.c:
496         Fix bogus docs.
497
498 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
499
500         * gst/gstutils.c: (gst_util_set_value_from_string):
501           Fix memleak (#351502).
502
503         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
504           Add unit test for most of gst_util_set_value_from_string()
505           (not that one would want to encourage use of this function).
506
507 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
508
509         * libs/gst/check/gstcheck.h:
510           Use const gchar * variables in fail_unless_equals_string
511           macro to avoid compiler warnings (and don't use tabs for
512           indenting).
513
514 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
515
516         * tools/gst-launch.c: (print_tag):
517           More space on the left for the tag names, to cater
518           for the 'extended comment' tag (not touching the
519           string for the first line since it's translated).
520
521 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
522
523         * libs/gst/check/gstcheck.h:
524           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
525           print something when they fail.
526
527 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
528
529         * docs/gst/gstreamer-sections.txt:
530         * gst/gsttaglist.c: (_gst_tag_initialize):
531         * gst/gsttaglist.h:
532           API: add GST_TAG_EXTENDED_COMMENT (#350935).
533           Also change merge function for GST_TAG_COMMENT to
534           use_first.
535
536 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
537
538         * gst/gstinfo.c: (gst_debug_print_object):
539           Make GST_PTR_FORMAT print messages as well.
540
541         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
542         (GST_START_TEST), (gst_info_suite):
543           More tests.
544
545 2006-08-14  Edward Hervey  <edward@fluendo.com>
546
547         * gst/gstelementfactory.c: (gst_element_register):
548         If the GstElementClass doesn't have a GstElementDetails with all fields
549         filled up correctly (longname, description AND author), then error out
550         nicely instead of crashing.
551
552 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
553
554         * gst/gststructure.c:
555           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
556
557         * gst/gstvalue.h:
558           Expand on the difference between arrays and lists as we use them.
559           
560 2006-08-14  Wim Taymans  <wim@fluendo.com>
561
562         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
563         If the parent state change function failed, don't assume we can safely
564         stop the source, this will be done when the pads are deactivated.
565
566 2006-08-14  Wim Taymans  <wim@fluendo.com>
567
568         * gst/gstbuffer.c:
569         * gst/gsttask.c: (gst_task_join):
570         Small doc updates.
571
572         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
573         (gst_pad_stop_task):
574         When pad (de)activation failed for some reason, restore the old
575         activation mode and set the pad to flushing instead of assuming the
576         pad is deactivated.
577         If the _task_join() failed, reinstall the task on the pad so that it can
578         be stopped later and return an error.
579
580 2006-08-11  Andy Wingo  <wingo@pobox.com>
581
582         * configure.ac:
583         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
584         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
585         is only for users of API that don't want to see deprecated
586         functions in the headers; people that want to compile out
587         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
588         CFLAGS. Fixes the build of multifdsink, or will soon..
589
590 2006-08-11  Wim Taymans  <wim@fluendo.com>
591
592         * docs/gst/gstreamer-sections.txt:
593         Add GstClockClass vmethod docs.
594
595         * gst/gstcaps.h:
596         Mark #endif with comment for associated #if
597
598         * gst/gstclock.c: (gst_clock_id_wait):
599         * gst/gstclock.h:
600         Add vmethod wait_jitter to avoid an unneeded _get_time() for
601         most clock implementations.
602         Document vmethods.
603         Flesh out docs about resolution methods.
604         API: GstClockClass::wait_jitter
605
606         * gst/gstsystemclock.c: (gst_system_clock_class_init),
607         (gst_system_clock_async_thread),
608         (gst_system_clock_id_wait_jitter_unlocked),
609         (gst_system_clock_id_wait_jitter):
610         Use base class wait_jitter variant for improved performance
611         due to less clock polling.
612
613 2006-08-11  Edward Hervey  <edward@fluendo.com>
614
615         * gst/gst.c: (gst_init_check), (init_post):
616         Set gst as being initialized before scanning/updating the registry,
617         since there might be my python plugin loader that calls gst_init() and
618         we don't want to loop back in.
619         Closes #350879
620
621 2006-08-11  Wim Taymans  <wim@fluendo.com>
622
623         * docs/design/part-qos.txt:
624         Bring docs in line with the code. Mostly the sign of the jitter was
625         wrong in the docs. Fixes #349943.
626
627         * gst/gstclock.c:
628         Fix the docs for the jitter.
629
630         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
631         (gst_event_parse_tag), (gst_event_new_buffer_size),
632         (gst_event_parse_buffer_size), (gst_event_parse_qos),
633         (gst_event_new_seek), (gst_event_parse_seek),
634         (gst_event_new_navigation):
635         Make sure the GstStructure has no parent when creating custom
636         events.
637         Add some more argument checking so that we avoid 0.0 rates.
638         Flesh out the docs for the QoS event some more.
639
640 2006-08-11  Wim Taymans  <wim@fluendo.com>
641
642         * docs/gst/gstreamer-sections.txt:
643         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
644         (ensure_current_registry_forking), (ensure_current_registry),
645         (parse_one_option), (parse_goption_arg), (gst_deinit),
646         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
647         * gst/gst.h:
648         Doc updates.
649         Added API and command line option to disable registry forking in
650         addition to the environment variable.
651         Constify some static arrays.
652         Added some more debug.
653         Don't deinit twice.
654         API: gst_registry_fork_is_enabled()
655         API: gst_registry_fork_set_enabled()
656         API: --gst-disable-registry-fork command line option
657         Fixes #348918.
658
659 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
660
661         * gst/gst.c: (gst_init):
662           Fix typo in error message.
663
664 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
665
666         * libs/gst/controller/gstcontroller.h:
667           fix ABI size-correction
668
669         * tests/check/libs/gdp.c: (gst_dp_suite):
670           make tests that use deprecated API conditional
671
672 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
673
674         * docs/libs/gstreamer-libs-sections.txt:
675         * libs/gst/controller/gstcontroller.c:
676         (_gst_controller_get_property), (_gst_controller_set_property),
677         (_gst_controller_init), (_gst_controller_class_init):
678         * libs/gst/controller/gstcontroller.h:
679         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
680         (gst_object_set_control_rate):
681           API: add gst_object_{s,g}et_control_rate(), add private data section,
682           fix docs
683
684         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
685         * libs/gst/dataprotocol/dataprotocol.h:
686           add deprecation guards to make gtk-doc happy and allow disabling cruft
687
688 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
689
690         * tests/check/Makefile.am:
691         * tests/check/gst/.cvsignore:
692           Let's enable the new unit test as well.
693
694 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
695
696         * configure.ac:
697         * docs/gst/gstreamer-sections.txt:
698         * gst/gstconfig.h.in:
699         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
700         (_gst_info_printf_extension_ptr),
701         (_gst_info_printf_extension_segment):
702           API: add GST_SEGMENT_FORMAT, which is a printf extension we
703           register that lets us easily dump GstSegments into debug
704           logs (#350419).
705
706         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
707         (info_segment_format_printf_extension), (gst_info_suite):
708           Add simple unit test that logs a bunch of different segments (not
709           valgrinded at the moment because of leaks in
710           gst_debug_add_log_function).
711
712 2006-08-09  Edward Hervey  <edward@fluendo.com>
713
714         * libs/gst/base/gstbasetransform.c:
715         (gst_base_transform_buffer_alloc):
716         Even if we can't figure out the proper format to request downstream,
717         call buffer_alloc() downstream with the input parameters without setting
718         the caps on the srcpad. This will force negotiation in the chain
719         function.
720         Closes #350449
721
722 2006-08-08  Edward Hervey  <edward@fluendo.com>
723
724         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
725         Unlinking from a pad without a target is now a perfectly valid case
726         which should NOT raise an assertion.
727         This case would happen if a linked ghostpad its target set to NULL after
728         it was previously linked.
729
730 2006-08-08  Edward Hervey  <edward@fluendo.com>
731
732         * tests/check/libs/gdp.c:
733         Also comment out the test (see below).
734
735 2006-08-08  Edward Hervey  <edward@fluendo.com>
736
737         * tests/check/libs/gdp.c: (gst_dp_suite):
738         Use the architecture information from config.h and not gcc macros
739         in order to properly disable a test that fails on PPC64.
740
741 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
742
743         * gst/gstelement.c: (gst_element_remove_pad):
744           Don't crash printing the warning if the pad has no parent.
745
746 2006-08-02  Wim Taymans  <wim@fluendo.com>
747
748         * libs/gst/dataprotocol/dataprotocol.c:
749         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
750         (gst_dp_crc), (gst_dp_header_payload_length),
751         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
752         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
753         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
754         (gst_dp_event_from_packet), (gst_dp_validate_header),
755         (gst_dp_validate_payload):
756         Make debug category static
757         Constify the crc table.
758         Do some more arg checking in public functions.
759         Fix some docs and do some small cleanups.
760
761         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
762         Add some more checks to see if GDP deals with bogus input.
763
764 2006-07-31  Wim Taymans  <wim@fluendo.com>
765
766         * gst/gstvalue.c: (gst_value_compare_list):
767         Fix GstValueList comparison code. Fixes #347293.
768
769         * tests/check/gst/gstvalue.c: (GST_START_TEST):
770         Check to test GstValueList comparison.
771
772 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
773
774         * gst/gstelementfactory.c: (gst_element_factory_create):
775         Remove unnecessary ref/unref pair
776
777         * gst/parse/grammar.y:
778         Make sure to free the parse buffer on all code paths.
779         Move a g_free up to the error handler where it's easier to see.
780
781         * tests/check/gst/gstevent.c: (test_event):
782         Extending timeout for downstream travelling events to 10 seconds to
783         hopefully avoid intermittent failure on the buildbots.
784
785         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
786         Don't manually set the state of the src element - it will happen as a
787         natural consequence of the pipeline changing state, and that way it
788         will do it in the right order too.
789
790 2006-07-31  Wim Taymans  <wim@fluendo.com>
791
792         * libs/gst/base/gstbasetransform.c:
793         (gst_base_transform_buffer_alloc):
794         Use OBJECT_LOCK and refcounting to get the pad caps in the
795         buffer_alloc function because the caps could change while we are
796         busy with them. Fixes #349105
797
798 2006-07-31  Wim Taymans  <wim@fluendo.com>
799
800         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
801         Protect _PAD_CAPS with OBJECT_LOCK.
802
803 2006-07-31  Wim Taymans  <wim@fluendo.com>
804
805         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
806         (gst_pad_get_property), (gst_pad_activate_pull),
807         (gst_pad_activate_push), (gst_pad_set_blocked_async),
808         (gst_pad_set_activate_function),
809         (gst_pad_set_activatepull_function),
810         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
811         (gst_pad_set_getrange_function),
812         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
813         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
814         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
815         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
816         (gst_pad_set_acceptcaps_function),
817         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
818         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
819         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
820         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
821         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
822         (gst_pad_configure_sink), (gst_pad_configure_src),
823         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
824         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
825         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
826         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
827         (gst_pad_send_event):
828         Use _DEBUG_OBJECT when it makes sense.
829         Protect GST_PAD_CAPS with the OBJECT_LOCK.
830         Small cleanups and code reflows.
831         Avoid caps refcounting in _accept_caps.
832         Refactor alloc_buffer so that the code performed on the peer is in a
833         separate function. Also if the pad does not implement a buffer alloc
834         function, we should still check if the pad is flushing before falling
835         back to the default allocator.
836
837 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
838
839         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
840         Make all uses of identity and fakesink have silent=true to avoid
841         serialising every passing data structure, which is breaking tests
842         on FC4 for some unknown reason.
843
844 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
845
846         * gst/parse/Makefile.am:
847         * gst/parse/grammar.y:
848         * gst/parse/parse.l:
849           Reverted previous patch as it required to bump the flex dependency to
850           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
851
852 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
853
854         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
855
856         * gst/parse/Makefile.am:
857         * gst/parse/grammar.y:
858         * gst/parse/parse.l:
859           push & pop the state of the lexer for reentrant use case
860           Fixes #349180
861
862 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
863
864         * libs/gst/base/gstbasesrc.h:
865           Note in the docs that the ::newsegment vfunc is not actually used by
866           GstBaseSrc.
867
868 2006-07-28  Wim Taymans  <wim@fluendo.com>
869
870         * libs/gst/base/gstcollectpads.c:
871         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
872         (gst_collect_pads_clear), (gst_collect_pads_flush),
873         (gst_collect_pads_event), (gst_collect_pads_chain):
874         When flushing a pad, also clear the queued buffer so that we don't
875         accidentally use it when we shouldn't.
876         Fix leaks by inreffing incomming buffer.
877         Flush out queued buffers in case of errors.
878         Fixes #347452.
879
880 2006-07-28  Wim Taymans  <wim@fluendo.com>
881
882         * docs/random/phonon-gst:
883         Random notes about a Phonon backend.
884
885 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
886
887         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
888         Extra debug output
889         * tests/check/libs/gdp.c: (gst_dp_suite):
890         Take a whack at fixing the ppc compile using a different define to
891         disable the broken test.
892
893         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
894         Remove excess g_print()
895
896 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
897
898         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
899         Oops, meant to uncomment this line too to dampen the noise a bit.
900
901 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
902
903         * gst/parse/grammar.y:
904         * gst/parse/parse.l:
905         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
906         (GST_START_TEST), (parse_suite):
907         Fix some of the leaks exposed by extending the parse-launch testsuite,
908         and move the 3 I can't figure out into a separate test that won't run
909         the pipelines unless the appropriate line is uncommented.
910
911 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
912
913         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
914           Requesting 0 bytes before the end of the file should result in
915           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
916           unit test.
917
918 2006-07-27  Wim Taymans  <wim@fluendo.com>
919
920         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
921         Fix useless assert, a uint is always positive.
922
923         * gst/gststructure.c: (gst_structure_nth_field_name),
924         (gst_structure_foreach), (gst_structure_map_in_place):
925         Check input arguments for public functions to avoid obvious crashes.
926
927         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
928         * plugins/elements/gstfakesink.h:
929         Do less useless typechecking.
930
931 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
932
933         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
934           Do not use mmap() by default since there are a number of error
935           conditions that we would like to handle in a non-fatal way that
936           will result in a SIGBUS if we use mmap(). Examples: external
937           devices (USB harddrive, portable music player) being unplugged
938           while in use; file on mounted CD/DVD that can't be read because
939           the medium is partly damaged. Fixes #348455 and #348475.
940
941 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
942
943         * gst/gstquery.h:
944         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
945         rates are a gdouble
946
947 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
948
949         * gst/gstregistry.c:
950           Move big documentation comment into class section header, so that it
951           appears in the API docs.
952
953 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
954
955         * docs/gst/gstreamer-sections.txt:
956         Oops. Commit the docs additions too for new API.
957         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
958
959 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
960
961         * gst/gststructure.c: (gst_structure_id_set),
962         (gst_structure_id_set_valist):
963         * gst/gststructure.h:
964         Add API for setting values into structures without performing
965         a quark lookup, if the appropriate quark is already known.
966
967         API: gst_structure_id_set
968         API: gst_structure_id_set_valist
969
970         * gst/parse/grammar.y:
971         * gst/parse/parse.l:
972         Remove some dead code shown by the coverage information.
973         Don't throw a critical g_warning when encountering a syntax error,
974         just warn and let the normal error path handle it.
975
976         * plugins/elements/gstelements.c:
977         Bump the rank of filesink up to PRIMARY so that it is preferred over
978         gnomevfssink for file:// sink uri's
979
980         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
981         (GST_START_TEST), (run_delayed_test),
982         (gst_parse_test_element_base_init),
983         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
984         (gst_parse_test_element_change_state),
985         (gst_register_parse_element), (parse_suite):
986         Beef up the tests for parse syntax to check that more error cases
987         fail as they are supposed to. Increases the test coverage a bit.
988
989 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
990
991         * docs/manual/basics-elements.xml:
992           Fix gst_element_link() example.
993
994         * gst/gstutils.c:
995           Mention in API docs that one should usually gst_bin_add()
996           elements to a bin or pipeline before doing the linking.
997           
998 2006-07-26  Wim Taymans  <wim@fluendo.com>
999
1000         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
1001         (gst_subbuffer_get_type), (gst_buffer_create_sub):
1002         Avoid function call for known types by keeping the buffer and
1003         subbuffer GType global.
1004
1005         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1006         Random silly optimisations in read() path.
1007
1008 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1009
1010         * tools/gst-launch.c: (main):
1011           If the top-level of the parse is a normal bin, it doesn't do the
1012           right logic to run as a top-level element, so place it inside a
1013           pipeline.
1014
1015 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
1016
1017         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
1018           Remove superfluous g_object_notify() calls, GObject does
1019           that for us automatically.
1020
1021 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
1022
1023         * gst/gstinfo.h:
1024           on Win32, use dllspec to export the debug category symbols
1025
1026 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
1027
1028         * gst/gsttaglist.c: (_gst_tag_initialize):
1029           Allow more than one GST_TAG_IMAGE per taglist.
1030
1031 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1032
1033         * gst/gstminiobject.c:
1034           update docs
1035         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
1036         (gst_fd_src_create):
1037           log recurring events at LOG level
1038           add more debug for when the fd gets set
1039
1040 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
1041
1042         * gst/gstparse.c: (gst_parse_launch):
1043           Also remove reentrance checks if flex is MT safe (#348179)
1044          Fix my empty ChangeLog entry below
1045
1046 2006-07-21  Andy Wingo  <wingo@pobox.com>
1047
1048         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
1049
1050         * libs/gst/check/Makefile.am
1051         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
1052         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
1053         * libs/gst/check/gstbufferstraw.h:
1054         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
1055         functions, thus proving I am still a GStreamer haxor. OK I wrote
1056         them a long time ago, but anyways.
1057
1058 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
1059
1060         * configure.ac:
1061         * gst/gstparse.c: (gst_parse_launch):
1062           Check for flex version and omit mutex if we have a MT save flex
1063           (fixes #348179)
1064
1065 2006-07-21  Wim Taymans  <wim@fluendo.com>
1066
1067         * gst/gstparse.c: (gst_parse_launch):
1068         Protect recursive calls to _parse with a recursive mutex
1069         and busy flag.
1070
1071 2006-07-21  Wim Taymans  <wim@fluendo.com>
1072
1073         * tests/check/gst/gstpad.c: (GST_START_TEST):
1074         Fix leak in test.
1075
1076 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
1077
1078         * gst/gstparse.c: (gst_parse_launch):
1079           Do not hang on recursive usage of gst_parse_launch()
1080
1081 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
1082
1083         * gst/gsttaglist.c:
1084           Add some more docs, comments and FIXME 0.11s here and there
1085           and also fix some typos.
1086
1087 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
1088
1089         * gst/gstsegment.h:
1090           Convert tabs to spaces for better readability. 
1091
1092 2006-07-20  Edward Hervey  <edward@fluendo.com>
1093
1094         * tests/check/libs/gdp.c: (gst_dp_suite):
1095         the test_buffer test fails at line 140 on ppc64 at the following
1096         check:
1097         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
1098                 GST_BUFFER_FLAG_IN_CAPS),
1099                 "GST_BUFFER_IN_CAPS flag should have been copied !");
1100         See bug #348114 for more details.
1101
1102 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
1103
1104         * docs/pwg/advanced-scheduling.xml:
1105         * gst/gstpad.c:
1106           Fix typos (#348000).
1107
1108 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
1109
1110         * docs/pwg/intro-basics.xml:
1111           Fix wrong links (#347927).
1112
1113 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
1114
1115         * gst/gstregistry.h:
1116         * gst/gstregistryxml.c: (load_feature),
1117         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1118         * win32/common/config.h:
1119           make --disable-index work (#342564)
1120
1121 2006-07-18  Wim Taymans  <wim@fluendo.com>
1122
1123         Patch by: Peter Kjellerstedt <pkj at axis dot com>
1124
1125         * gst/Makefile.am:
1126         * gst/gsttrace.h:
1127         The attached patch adds two missing defines to gsttrace.h when tracing
1128         is disabled.  It also corrects one existing define.
1129         Fixes #347756.
1130
1131 2006-07-17  Wim Taymans  <wim@fluendo.com>
1132
1133         * docs/gst/gstreamer-sections.txt:
1134         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
1135         * gst/gst.h:
1136         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
1137         Add two functions to check and change the SIGSEGV behaviour
1138         when loading plugins.
1139         Don't mess with the SIGSEGV handler when we were told not to.
1140         Fixes #347794.
1141         API: gst_segtrap_is_enabled
1142         API: gst_segtrap_set_enabled
1143
1144 2006-07-14  Wim Taymans  <wim@fluendo.com>
1145
1146         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1147         * tests/check/elements/filesrc.c: (GST_START_TEST):
1148         Revert fix for regression in #347408 after release.
1149
1150 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
1151
1152         Patch by: Antoine Tremblay <hexa00 at gmail com>
1153
1154         * gst/gstutils.c: (gst_element_unlink):
1155           Free iterator when done (#347311).
1156
1157         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1158           And add a test case for this.
1159
1160 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
1161
1162         * configure.ac:
1163         Bump nano back to CVS
1164
1165 === release 0.10.9 ===
1166
1167 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
1168
1169         * configure.ac:
1170           releasing 0.10.9, "On the road again"
1171
1172 2006-07-13  Wim Taymans  <wim@fluendo.com>
1173
1174         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1175         * tests/check/elements/filesrc.c: (GST_START_TEST):
1176         Revert pull-0 fix for release. Disable check. Fixes #347408.
1177
1178 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1179
1180         * libs/gst/dataprotocol/dataprotocol.c:
1181         (gst_dp_event_from_packet_1_0):
1182           Fixes #347337: failure to deserialize event packets with
1183           empty payload (only event type)
1184
1185 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1186
1187         * gst/Makefile.am:
1188           do not install a .c file in the header directory
1189
1190 2006-07-13  Edward Hervey  <edward@fluendo.com>
1191
1192         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
1193         GhostPad no longer implicitely use the padtemplates of the targets.
1194         Fixes #347384
1195
1196 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
1197
1198         * gst/gstvalue.c: (gst_value_compare_list),
1199         (gst_value_compare_array), (_gst_value_initialize):
1200         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1201         Make GstValueArray comparison be order dependent as designed.
1202         Add checks for value lists and value array comparisons.
1203         Fixes #347221
1204
1205 2006-07-11  Edward Hervey  <edward@fluendo.com>
1206
1207         * gst/gstbin.c: (activate_pads),
1208         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
1209         (gst_bin_change_state_func):
1210         (de)activate src pads before calling state_change on the childs.
1211         This is to avoid the case where a src ghostpad is blocked (holding the
1212         stream lock), which would block the deactivation of the ghostpad's
1213         target pad.
1214         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
1215         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
1216         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
1217         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
1218         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
1219         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
1220         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
1221         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
1222         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
1223         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
1224         (gst_ghost_pad_class_init),
1225         (gst_ghost_pad_internal_do_activate_push),
1226         (gst_ghost_pad_internal_do_activate_pull),
1227         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1228         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1229         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
1230         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
1231         GhostPads now create their internal GstProxyPad at creation (and not
1232         when they're linked, as it was being done previously).
1233         The internal and target pads are linked straight away.
1234         The data will also travel through the other pad in order to make
1235         pad blocking and probes non-hackish (the probe/block now really happens
1236         on the GhostPad and not on the target).
1237         * gst/gstpad.c: (gst_pad_set_blocked_async),
1238         (gst_pad_link_prepare), (gst_pad_push_event):
1239         Remove previous ghostpad cruft.
1240         * gst/gstutils.c: (gst_pad_add_data_probe),
1241         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
1242         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
1243         (gst_pad_remove_buffer_probe):
1244         Remove previous ghost pad cruft.
1245         Added more detailed debug statements.
1246         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1247         Fix the testsuite for refcounting changes.
1248         The comments about who has references were correct, but the refcount
1249         being checked wasn't the same (!?!).
1250
1251         Fixes #341029
1252
1253 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
1254
1255         * docs/gst/gstreamer-sections.txt:
1256         * gst/gstconfig.h.in:
1257         More docs for configuration options, add docs to gtk-doc.
1258
1259 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
1260
1261         * gst/Makefile.am:
1262         * gst/gstconfig.h.in:
1263         * win32/common/config.h:
1264         Fix build when disabling tracing (fixes #344016). Also start to document
1265         the defines that disable the sub-systems.
1266
1267 2006-07-10  Edward Hervey  <edward@fluendo.com>
1268
1269         * gst/gst.c: (ensure_current_registry_forking):
1270         let's make valgrind happy...
1271
1272 2006-07-09  Wim Taymans  <wim@fluendo.com>
1273
1274         * gst/gstelement.c: (activate_pads),
1275         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
1276         Better pad activation code: Reset the collect value too on resync.
1277         Add some comments.
1278
1279 2006-07-09  Wim Taymans  <wim@fluendo.com>
1280
1281         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
1282         (gst_pad_activate_push):
1283         Use some more macros where it makes sense.
1284         Allow pad mode switching instead of asserting. When a pad
1285         is activated in one mode and we activate it in another, 
1286         deactivate it first before activating it in a different mode.
1287         Fixes #329198.
1288
1289 2006-07-08  Andy Wingo  <wingo@pobox.com>
1290
1291         * tools/gst-launch.c (main): Handle err == NULL.
1292
1293         * gst/gst.c (init_post, ensure_current_registry)
1294         (ensure_current_registry_forking)
1295         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
1296         factoring out the registry scanning into separate functions. Don't
1297         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
1298         Better environment var name/interface suggestions accepted.
1299
1300 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1301
1302         * gst/gstobject.c: (gst_object_set_name_default),
1303         (gst_object_set_name):
1304           Random micro-optimisation: don't use a hash table
1305           with strings as keys and the usual strdup/strcmp
1306           involved, but rather just use the GQuark of the
1307           type name as key, since it needs to be looked up
1308           anyway to get the type name string.
1309
1310         * tests/check/gst/gstobject.c: (GST_START_TEST):
1311           Fix various leaks.
1312
1313 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1314
1315         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
1316         (gst_bin_iterate_all_by_interface):
1317           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
1318           GTypes are gulongs and thus the top 4 bytes might be cut
1319           off on some platforms when doing GPOINTER_TO_INT, leading
1320           to invalid GTypes and bad things happening (see RH bug #179654).
1321           Also add a check to make sure the type passed in is really
1322           an interface type.
1323
1324 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1325
1326         * .cvsignore:
1327           Ignore more.
1328
1329 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1330
1331         * Makefile.am:
1332         * configure.ac:
1333         * gst-element-check.m4:
1334         * gst-element-check.m4.in:
1335           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
1336           instead of the unversioned gst-inspect (#324176, #168659).
1337
1338 2006-07-06  Wim Taymans  <wim@fluendo.com>
1339
1340         * gst/gstmessage.h:
1341         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
1342         warnings.
1343
1344 2006-07-06  Wim Taymans  <wim@fluendo.com>
1345
1346         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1347         (gst_base_src_wait), (gst_base_src_update_length),
1348         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
1349         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
1350         (gst_base_src_loop), (gst_base_src_start),
1351         (gst_base_src_activate_pull):
1352         Update docs.
1353         blocksize == 0 now means the default blocksize when working in push
1354         based mode.
1355         Remove some pointless asserts in _wait function.
1356         Fix offset/length calculations and EOS handling. We can now pull 0
1357         bytes as well, which is allowed.
1358         use _check_get_range() to decide if we can operate in _pull based
1359         mode.
1360         Fix refcounting leak when check_get_range function was not 
1361         implemented.
1362         API GstBaseSrc::blocksize range can be 0 too now (default)
1363
1364         * tests/check/elements/filesrc.c: (GST_START_TEST),
1365         (filesrc_suite):
1366         Added check to test _get_range() behaviour.
1367
1368 2006-07-06  Wim Taymans  <wim@fluendo.com>
1369
1370         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
1371         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
1372         (gst_pad_pull_range):
1373         * gst/gstpad.h:
1374         Lots of comments and docs added to the pad functions.
1375         Flesh out the expected behaviour of the get_range() functions.
1376
1377 2006-07-06  Wim Taymans  <wim@fluendo.com>
1378
1379         * gst/gstbus.h:
1380         * gst/gstclock.h:
1381         * gst/gstevent.h:
1382         * gst/gstiterator.h:
1383         * gst/gstpad.h:
1384         * gst/gstplugin.h:
1385         * gst/gsttask.h:
1386         Remove comma at end of enumerator list. 
1387
1388 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
1389
1390         * win32/common/libgstbase.def:
1391         * win32/common/libgstdataprotocol.def:
1392         * win32/common/libsgtreamer.def:
1393         Add new exported functions.
1394
1395 2006-07-05  Wim Taymans  <wim@fluendo.com>
1396
1397         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
1398         Add some more docs here and there.
1399
1400 2006-07-05  Wim Taymans  <wim@fluendo.com>
1401
1402         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
1403         (gst_base_sink_loop), (gst_base_sink_get_position):
1404         When operating in pull mode update the offset so that we
1405         read sequentially.
1406
1407 2006-07-05  Wim Taymans  <wim@fluendo.com>
1408
1409         * gst/gstregistryxml.c: (read_string):
1410         Avoid strdup. (will happen in libxml, but hey!)
1411
1412         * gst/gsturi.c:
1413         Add some more docs.
1414
1415 2006-07-05  Wim Taymans  <wim@fluendo.com>
1416
1417         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
1418         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
1419         (gst_buffer_suite):
1420         No point in checking if the size of the subbuffer > 0, the
1421         code handles it correclty as demonstrated by unit test.
1422         Also add a unit test for the zero sized _new_and_alloc and
1423         _copy. Fixes #346663.
1424
1425 2006-07-05  Wim Taymans  <wim@fluendo.com>
1426
1427         * libs/gst/base/gstbasetransform.c:
1428         (gst_base_transform_prepare_output_buffer),
1429         (gst_base_transform_buffer_alloc),
1430         (gst_base_transform_handle_buffer):
1431         Make sure the buffer we pass to transform_ip has a refcount of
1432         1 and thus is writable. Fixes #343196
1433
1434 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
1435
1436         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
1437         (gst_file_src_init), (gst_file_src_set_property),
1438         (gst_file_src_get_property), (gst_file_src_map_region):
1439         * plugins/elements/gstfilesrc.h:
1440         Add "sequential" property, off by default, to use madvise and hint
1441         to the kernel that sequential access is desired.
1442         Touch all retrieved pages by default to ensure they are pulled
1443         into memory. (Closes #345720)
1444
1445 2006-07-03  Wim Taymans  <wim@fluendo.com>
1446
1447         * docs/design/part-block.txt:
1448         * docs/design/part-dynamic.txt:
1449         Small docs updates.
1450
1451 2006-07-03  Wim Taymans  <wim@fluendo.com>
1452
1453         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
1454         (gst_caps_unref), (gst_static_caps_get),
1455         (gst_caps_append_structure):
1456         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1457         Use GSlice when the glib we build against is >= 2.10
1458
1459 2006-07-03  Wim Taymans  <wim@fluendo.com>
1460
1461         * gst/gstelement.c: (gst_element_pads_activate):
1462         Small cleanup in pad activation code.
1463
1464 2006-07-03  Wim Taymans  <wim@fluendo.com>
1465
1466         Patch by: Peter Kjellerstedt <pkj at axis dot com>
1467
1468         * gst/gst-i18n-app.h:
1469         * gst/gst-i18n-lib.h:
1470         * tools/gst-inspect.c: (print_signal_info):
1471         The attached patch will make the inclusion of gettext.h unconditional in
1472         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
1473         libintl.h in tools/gst-inspect.c.
1474         This allows use of --disable-nls again and fixes #344642.
1475
1476 2006-07-03  Edward Hervey  <edward@fluendo.com>
1477
1478         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
1479         Implement pad blocking on events according to part-block.txt.
1480         More comments on behaviour.
1481         * tests/check/gst/gstevent.c: (test_event):
1482         Send event to peer pad of blocked pad (else it will block).
1483
1484 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1485
1486         * libs/gst/check/gstcheck.c: (gst_check_message_error),
1487         (gst_check_run_suite):
1488           if we get the wrong message, give us the types as string
1489         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1490           Fix a translatable
1491         * tests/check/elements/filesrc.c: (GST_START_TEST):
1492           add a test for trying to open a non-existing file
1493
1494 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1495
1496         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1497           add a test for adding self
1498
1499 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1500
1501         * libs/gst/check/gstcheck.h:
1502           add some assert_ as alias for fail_unless_*
1503         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
1504           increase test coverage
1505
1506 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1507
1508         * Makefile.am:
1509           include lcov.mak for lcov coverage generation
1510         * tools/Makefile.am:
1511           add to CLEANFILES
1512
1513 2006-07-02  Edward Hervey  <edward@fluendo.com>
1514
1515         * tests/check/elements/.cvsignore:
1516         moaping
1517
1518 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1519
1520         * configure.ac:
1521           don't set CFLAGS and friends for gcov, done from GST_GCOV now
1522         * tests/check/Makefile.am:
1523           clean up gcov files
1524
1525 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1526
1527         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
1528           remove gst_caps_simplify; it was not declared and not used
1529           and deprecated in 0.8
1530
1531 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1532
1533         * docs/faq/gst-uninstalled:
1534           don't put empty paths on PYTHONPATH
1535         * docs/gst/gstreamer-sections.txt:
1536           remove some symbols that are not there
1537
1538 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1539
1540         * gst/gstcaps.c: (gst_caps_compare_structures):
1541           whitespace fixes
1542         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1543         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1544           add more tests
1545
1546 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1547
1548         * libs/gst/dataprotocol/Makefile.am:
1549           build dataprotocol test by linking to the lib, instead of
1550           compiling the source, so we get coverage
1551         * tests/check/Makefile.am:
1552         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
1553         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
1554           add a test for filesrc
1555
1556 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1557
1558         * tests/check/gst/gststructure.c: (GST_START_TEST),
1559         (gst_structure_suite):
1560           Push coverage from 59.04% to 70.00%
1561
1562 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1563
1564         * tests/check/Makefile.am:
1565           gst-inspect every element; this makes sure that we also get
1566           coverage on element's get/set functions
1567
1568 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1569
1570         * configure.ac:
1571           set CFLAGS and friends to -O0 if gcov is being used
1572           add GCOV LIBS
1573         * gst/Makefile.am:
1574         * libs/gst/base/Makefile.am:
1575         * libs/gst/check/Makefile.am:
1576         * libs/gst/controller/Makefile.am:
1577         * libs/gst/dataprotocol/Makefile.am:
1578         * libs/gst/net/Makefile.am:
1579         * plugins/elements/Makefile.am:
1580         * plugins/indexers/Makefile.am:
1581           add makefile rules to generate gcov data and clean up
1582         * tests/check/Makefile.am:
1583           add a coverage target that generates an html overview
1584           of coverage data
1585
1586 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1587
1588         * tests/check/elements/fakesink.c:
1589         * tests/check/elements/fakesrc.c:
1590         * tests/check/elements/fdsrc.c:
1591         * tests/check/elements/identity.c:
1592         * tests/check/generic/sinks.c: (gst_sinks_suite):
1593         * tests/check/generic/states.c:
1594         * tests/check/gst/gst.c:
1595         * tests/check/gst/gstabi.c:
1596         * tests/check/gst/gstbin.c:
1597         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
1598         * tests/check/gst/gstbus.c: (gst_bus_suite):
1599         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1600         * tests/check/gst/gstelement.c:
1601         * tests/check/gst/gstevent.c: (gst_event_suite):
1602         * tests/check/gst/gstghostpad.c:
1603         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
1604         * tests/check/gst/gstmessage.c: (gst_message_suite):
1605         * tests/check/gst/gstminiobject.c:
1606         * tests/check/gst/gstobject.c:
1607         * tests/check/gst/gstpad.c:
1608         * tests/check/gst/gstpipeline.c:
1609         * tests/check/gst/gstplugin.c:
1610         * tests/check/gst/gstquery.c: (gst_query_suite):
1611         * tests/check/gst/gstsegment.c: (gst_segment_suite):
1612         * tests/check/gst/gststructure.c:
1613         * tests/check/gst/gstsystemclock.c:
1614         * tests/check/gst/gsttag.c:
1615         * tests/check/gst/gsttask.c: (gst_task_suite):
1616         * tests/check/gst/gstutils.c:
1617         * tests/check/gst/gstvalue.c:
1618         * tests/check/libs/adapter.c:
1619         * tests/check/libs/basesrc.c:
1620         * tests/check/libs/collectpads.c:
1621         * tests/check/libs/controller.c:
1622         * tests/check/libs/gdp.c: (gst_dp_suite):
1623         * tests/check/libs/gstnetclientclock.c:
1624         * tests/check/libs/gstnettimeprovider.c:
1625         * tests/check/libs/libsabi.c: (libsabi_suite):
1626         * tests/check/libs/typefindhelper.c:
1627         * tests/check/pipelines/cleanup.c:
1628         * tests/check/pipelines/parse-launch.c:
1629         * tests/check/pipelines/simple-launch-lines.c:
1630         * tests/check/pipelines/stress.c: (stress_suite):
1631           use the new macro
1632
1633 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1634
1635         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
1636         * libs/gst/check/gstcheck.h:
1637           create a macro and function so that the simple unit test
1638           case can be just one macro to create main()
1639
1640 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
1641
1642         * gst/gstbin.c: (gst_bin_restore_thyself):
1643         * gst/gstxml.c: (gst_xml_make_element):
1644           Fix deserialisation from XML. Set parent manually
1645           instead of using gst_bin_add(), since gst_bin_add()
1646           will unlink all pads of the element being added.
1647           Fixes #341667.
1648
1649 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
1650
1651         Patch by: Peter Kjellerstedt <pkj at axis com>
1652
1653         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
1654           Fix missing g_strdup() and double free when using the
1655           --gst-plugin-load command line option (#346097).
1656
1657 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
1658
1659         * gst/gstinfo.c:
1660           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
1661
1662         * libs/gst/net/gstnetclientclock.c:
1663         * libs/gst/net/gstnettimeprovider.c:
1664           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
1665
1666 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
1667
1668         * docs/manual/advanced-dataaccess.xml:
1669           Fix buffer probe example compilation in
1670           ADM (#345708).
1671         
1672 2006-06-22  Edward Hervey  <edward@fluendo.com>
1673
1674         * gst/gstelement.c: (gst_element_pads_activate):
1675         We need to deactivate src pads first and then sink pads.
1676         The reason is the src pads might be blocking while holding the streaming
1677         lock, so we need to deactivate them first so that deactivating the sink
1678         pads doesn't block (since it will require the streaming lock).
1679
1680 2006-06-22  Wim Taymans  <wim@fluendo.com>
1681
1682         * libs/gst/base/gstbasetransform.c:
1683         (gst_base_transform_buffer_alloc):
1684         Forgot to remove two unneeded unrefs.
1685         Simplify a check _is_equal allready checks the obvious case.
1686
1687 2006-06-22  Wim Taymans  <wim@fluendo.com>
1688
1689         * docs/design/part-block.txt:
1690         Some docs about what pad_block should do.
1691
1692 2006-06-22  Wim Taymans  <wim@fluendo.com>
1693
1694         * gst/gstcaps.c: (gst_caps_replace):
1695         Fix crasher when passed NULL. Doc clarification.
1696         Optimize for the trivial case.
1697
1698         * gst/gstpipeline.c: (gst_pipeline_change_state):
1699         Small cleanups.
1700
1701         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
1702         Small documentation cleanup.
1703
1704         * libs/gst/base/gstbasetransform.c:
1705         (gst_base_transform_buffer_alloc):
1706         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
1707         is what we need and it avoids a whole lot of redundant 
1708         refcount operations.
1709
1710 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
1711
1712         Patch by: Philip Jägenstedt  <philip at lysator liu se>
1713
1714         * docs/manual/advanced-dataaccess.xml:
1715           Fix 'Embedding static elements' section to use
1716           GST_PLUGIN_DEFINE_STATIC (#345607).
1717
1718 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
1719
1720         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
1721           Attempt to 'fix' spuriously failing test case: it seems like the
1722           timeout of half a second is simply too small when the system is under
1723           load otherwise, and the timeout doesn't really seem to serve any
1724           particular purpose here. Give the pipeline a few seconds to preroll
1725           first, and then give it another half a second to go from PAUSED to
1726           PLAYING and marshal the message into the main thread.
1727
1728 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
1729
1730         * tools/gst-feedback-m.m:
1731           Don't only use unversioned tools, try versioned tools as well
1732           (#345086).
1733
1734 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
1735
1736         * gst/gstbus.c: (gst_bus_class_init):
1737           Fix some typos, make docs more explicit.
1738
1739 2006-06-20  Wim Taymans  <wim@fluendo.com>
1740
1741         * tests/check/gst/gstghostpad.c: (block_callback),
1742         (GST_START_TEST), (gst_ghost_pad_suite):
1743         Added some more ghostpad tests, mainly blocking
1744         and probes.
1745
1746 2006-06-16  Wim Taymans  <wim@fluendo.com>
1747
1748         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
1749         (gst_file_sink_close_file), (gst_file_sink_do_seek),
1750         (gst_file_sink_event), (gst_file_sink_render):
1751         * plugins/elements/gstfilesink.h:
1752         Check if we can seek in the file instead of assuming
1753         we always can. Post an error when we are asked to seek in a
1754         non-seekable file (like a fifo). Fixes #343312.
1755         Some cleanups.
1756
1757 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
1758
1759         * tools/gst-launch.1.in:
1760           Un-garble (fourcc) bit in filtered caps section.
1761
1762 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
1763
1764         * docs/manual/advanced-autoplugging.xml:
1765         * docs/manual/basics-helloworld.xml:
1766         * docs/manual/highlevel-components.xml:
1767           Don't leak bus reference in sample code.
1768
1769 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
1770
1771         * autogen.sh:
1772           Add default for new --enable-plugin-docs switch.
1773
1774         * configure.ac:
1775           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
1776           Fixes #344039.
1777
1778         * docs/Makefile.am:
1779           Use new ENABLE_PLUGIN_DOCS conditional.
1780
1781 2006-06-14  Wim Taymans  <wim@fluendo.com>
1782
1783         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
1784         Make it clear with a FIXME and a real define what the #if 0
1785         previously disabled.
1786
1787 2006-06-14  Wim Taymans  <wim@fluendo.com>
1788
1789         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
1790         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
1791         * libs/gst/base/gstbasetransform.c:
1792         (gst_base_transform_sink_eventfunc):
1793         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
1794         Don't randomly and silently reset a segment when the format 
1795         changes as this is a bug somewhere upstream. Fixes #330379.
1796
1797 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
1798
1799         Patch by: Wouter Paesen  <wouter at kangaroot net>
1800
1801         * libs/gst/controller/gstcontroller.c:
1802         (gst_controlled_property_new):
1803           Fix controlling of float properties (#344849).
1804
1805         * tests/check/libs/controller.c:
1806         (gst_test_mono_source_get_property),
1807         (gst_test_mono_source_set_property),
1808         (gst_test_mono_source_class_init), (GST_START_TEST):
1809           While we're at it, add some float stuff to unit test.
1810
1811 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1812
1813         * docs/README:
1814         * docs/images/gdp-header.svg:
1815           add a gdp image
1816         * docs/libs/Makefile.am:
1817         * docs/libs/gdp-header.png:
1818         * libs/gst/dataprotocol/dataprotocol.c:
1819           add it to the API docs
1820         * docs/manual/intro-motivation.xml:
1821           fix typo
1822
1823 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
1824
1825         * gst/gst.c: (scan_and_update_registry), (init_post):
1826           If the fork()'ed child process can't write the updated registry cache
1827           file to disk for some reason, make it exit with a failure exit code,
1828           so that the parent can then re-scan the plugins itself and update the
1829           registry structures in memory and work with that (rather than failing
1830           when creating elements because seemingly no plugins are available).
1831           Refactor registry scanning code into separate function for this and
1832           also separate fork() and non-fork() code paths. Fixes #344748.
1833
1834 2006-06-13  Wim Taymans  <wim@fluendo.com>
1835
1836         * docs/manual/advanced-dataaccess.xml:
1837         Fix wrong PluginDesc. Fixes #344755.
1838
1839 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
1840
1841         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
1842           Fix silly bug that prevented us from creating
1843           ~/.gstreamer-0.10 and writing the registry in one
1844           go (the first call to g_mkstemp() would overwrite the
1845           placeholder in the template string, so the second call
1846           to g_mkstemp() after creating the missing directory
1847           would then error out with 'invalid argument').
1848
1849 2006-06-13  Edward Hervey  <edward@fluendo.com>
1850
1851         * gst/gst.c: (init_post):
1852         Free string.
1853
1854 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1855
1856         * gst/glib-compat-private.h:
1857         * gst/glib-compat.c:
1858         * gst/glib-compat.h:
1859         * gst/gstvalue.c: (gst_value_serialize_flags):
1860           remove GLib 2.6 compatibility code
1861
1862 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
1863
1864         * gst/parse/Makefile.am:
1865           Fix build with 'make -j N' even more (#340016).
1866
1867 2006-06-12  Wim Taymans  <wim@fluendo.com>
1868
1869         * docs/gst/gstreamer-sections.txt:
1870         Fix docs.
1871
1872 2006-06-12  Wim Taymans  <wim@fluendo.com>
1873
1874         * gst/gstsegment.c: (gst_segment_set_duration),
1875         (gst_segment_set_last_stop), (gst_segment_set_seek),
1876         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
1877         (gst_segment_to_running_time), (gst_segment_clip):
1878         Use G_UNLIKELY to help the compiler a bit.
1879
1880 2006-06-12  Wim Taymans  <wim@fluendo.com>
1881
1882         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
1883
1884         * gst/gstevent.c: (gst_event_get_type):
1885         * gst/gstmessage.c:
1886         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
1887         (gst_pad_push):
1888         constify quark registration strings. Fixes #344115
1889         Avoid unneeded type checking is _pad_push() by internally
1890         calling gst_pad_chain_unchecked().
1891
1892 2006-06-12  Wim Taymans  <wim@fluendo.com>
1893
1894         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
1895         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
1896         (gst_subbuffer_finalize), (gst_buffer_create_sub),
1897         (gst_buffer_is_span_fast), (gst_buffer_span):
1898         Init _type for consistency.
1899         Use _FLAGS macro to avoid type check.
1900         Avoid unneeded type checks in subbufer code.
1901
1902 2006-06-12  Wim Taymans  <wim@fluendo.com>
1903
1904         * gst/gst.c: (gst_debug_help):
1905         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
1906         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1907         (gst_plugin_feature_list_free):
1908         * gst/gstregistry.c: (gst_registry_add_plugin),
1909         (gst_registry_add_feature), (gst_registry_plugin_filter),
1910         (gst_registry_feature_filter), (gst_registry_find_plugin),
1911         (gst_registry_find_feature), (gst_registry_get_plugin_list),
1912         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
1913         * gst/gstregistryxml.c: (load_feature),
1914         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
1915         * gst/gstminiobject.c: (gst_mini_object_unref),
1916         (gst_mini_object_replace), (gst_value_mini_object_free),
1917         (gst_value_mini_object_copy):
1918         Use _CAST macros to avoid unneeded type checking.
1919         Added some more G_UNLIKELY.
1920
1921 2006-06-12  Wim Taymans  <wim@fluendo.com>
1922
1923         * gst/gstbuffer.h:
1924         Avoid unneeded type checking.
1925         API: GST_BUFFER_IS_DISCONT
1926
1927         * gst/gstminiobject.h:
1928         Avoid type check in flag accessor.
1929
1930         * gst/gstelementfactory.h:
1931         * gst/gstplugin.h:
1932         * gst/gstpluginfeature.h:
1933         Add _CAST macros.
1934         API: GST_ELEMENT_FACTORY_CAST
1935         API: GST_PLUGIN_CAST
1936         API: GST_PLUGIN_FEATURE_CAST
1937
1938 2006-06-12  Wim Taymans  <wim@fluendo.com>
1939
1940         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
1941         (gst_object_unref):
1942         Add G_UNLIKELY in type registration.
1943         Avoid type check in _ref/_unref since that is also
1944         done in glib.
1945
1946 2006-06-12  Wim Taymans  <wim@fluendo.com>
1947
1948         * gst/gsterror.c: (gst_g_error_get_type):
1949         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
1950         (gst_static_pad_template_get_type):
1951         * gst/gsttaglist.c: (gst_tag_list_get_type):
1952         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
1953         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
1954         * gst/gsturi.c: (gst_uri_handler_get_type):
1955         * gst/gstvalue.c: (gst_date_get_type):
1956         * gst/gstxml.c: (gst_xml_get_type):
1957         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
1958         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
1959         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
1960         Add G_UNLIKELY in type registration.
1961
1962 2006-06-12  Wim Taymans  <wim@fluendo.com>
1963
1964         * tools/gst-inspect.c: (print_signal_info):
1965         Properly print enum values.
1966
1967 2006-06-12  Wim Taymans  <wim@fluendo.com>
1968
1969         * gst/gstinfo.c: (gst_debug_set_active),
1970         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
1971         * gst/gstinfo.h:
1972         Add some G_[UN]LIKELY.
1973         Maintain __gst_debug_min to avoid formatting the arguments of
1974         debug messages that will be dropped anyway to avoid a lot of 
1975         overhead from the debugging system.
1976
1977 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
1978
1979         * po/POTFILES.in:
1980         * po/POTFILES.skip:
1981           add missing files containing translatable strings, tell intltool about
1982           one exception
1983
1984 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
1985
1986         * tests/check/libs/.cvsignore:
1987         add test-binary to ignore list
1988
1989 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
1990
1991         * docs/libs/gstreamer-libs-docs.sgml:
1992         reorder (put dp into a chapter) and indent
1993
1994 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1995
1996         * configure.ac:
1997           back to HEAD
1998
1999 === release 0.10.8 ===
2000
2001 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
2002
2003         * configure.ac:
2004           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
2005
2006 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2007
2008         * gst/gst.c: (init_post):
2009           move pid declaration to declaration block
2010
2011 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2012
2013         * gst/gst.c: (init_post):
2014           use _exit() instead of exit() in our forked child; this ensures
2015           that none of the registered exit handlers from whatever is using
2016           GStreamer get executed.  This fixes gnome-mixer-applet failing
2017           to load, because ORBit would shut down.
2018           Spotted by: Edward Hervey  <edward@fluendo.com>
2019           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
2020           Fixes #344474
2021
2022 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2023
2024         * configure.ac:
2025           back to TRUNK
2026
2027 === release 0.10.7 ===
2028
2029 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
2030
2031         * configure.ac:
2032           releasing 0.10.7, "Soepeke, ik zie ou"
2033
2034 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2035
2036         * configure.ac:
2037         * po/af.po:
2038         * po/az.po:
2039         * po/bg.po:
2040         * po/ca.po:
2041         * po/cs.po:
2042         * po/de.po:
2043         * po/en_GB.po:
2044         * po/fr.po:
2045         * po/it.po:
2046         * po/nb.po:
2047         * po/nl.po:
2048         * po/ru.po:
2049         * po/sq.po:
2050         * po/sr.po:
2051         * po/sv.po:
2052         * po/tr.po:
2053         * po/uk.po:
2054         * po/vi.po:
2055         * po/zh_CN.po:
2056         * po/zh_TW.po:
2057         * win32/common/config.h:
2058           0.10.6.2 prerelease
2059
2060 2006-06-07  Wim Taymans  <wim@fluendo.com>
2061
2062         * gst/gstindex.c: (gst_index_gtype_resolver):
2063         * tools/gst-xmlinspect.c: (print_plugin_info):
2064         Fix leak spotted by coverity checker. Fixes #343827
2065         Fix another other leak found by paolo borelli.
2066
2067 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2068
2069         * libs/gst/dataprotocol/dataprotocol.c:
2070         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
2071         (gst_dp_version_get_type), (gst_dp_init),
2072         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
2073         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
2074         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
2075         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
2076         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
2077         (gst_dp_packetizer_free):
2078         * libs/gst/dataprotocol/dataprotocol.h:
2079           API: add a GstDPPacketizer object, and create/free functions
2080           API: add GstDPVersion enum
2081           Add 1.0 event function that uses the string serialization
2082           Serialize more useful buffer flags
2083           Fixes #343988
2084
2085 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2086
2087         * tests/check/Makefile.am:
2088         * tests/check/gst/gstabi.c:
2089         * tests/check/gst/struct_ppc64.h:
2090         * tests/check/libs/libsabi.c:
2091         * tests/check/libs/struct_ppc64.h:
2092           add ppc64 structure sizes
2093
2094 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2095
2096         * tests/check/Makefile.am:
2097         * tests/check/gst/gstabi.c:
2098         * tests/check/gst/struct_x86_64.h:
2099         * tests/check/libs/libsabi.c:
2100         * tests/check/libs/struct_x86_64.h:
2101           generate and add structure size lists for x86_64
2102
2103 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2104
2105         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
2106         * libs/gst/check/gstcheck.h:
2107           factor out the method from tests that checks size of structures,
2108           and add code to generate the header containing these sizes
2109         * tests/check/gst/gstabi.c: (GST_START_TEST):
2110         * tests/check/gst/struct_i386.h:
2111         * tests/check/libs/libsabi.c: (GST_START_TEST):
2112         * tests/check/libs/struct_i386.h:
2113           use it
2114
2115 2006-06-06  Michael Smith  <msmith@fluendo.com>
2116
2117         * gst/gstsegment.h:
2118           Don't use c++-style comments, fixes #343929
2119
2120 2006-06-05  Edward Hervey  <edward@fluendo.com>
2121
2122         * gst/gst.c:
2123         plugin_paths is not used if we build without registry support.
2124
2125         * gst/gstsegment.c: (gst_segment_copy): 
2126         _copy() was always returning NULL...
2127
2128 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2129
2130         * libs/gst/dataprotocol/dataprotocol.c:
2131         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2132         (gst_dp_packet_from_event):
2133           factor out CRC code
2134
2135 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2136
2137         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
2138           make sure we unset caps
2139
2140 2006-06-02  Michael Smith  <msmith@fluendo.com>
2141
2142         * libs/gst/check/gstcheck.c: (gst_check_init),
2143         (gst_check_chain_func):
2144         * libs/gst/check/gstcheck.h:
2145           Add a cond/mutex to the check support lib, signal this whenever we
2146           add to the buffers list. This will allow tests to not busy-wait on
2147           the buffer-list.
2148
2149 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2150
2151         * libs/gst/dataprotocol/dataprotocol.c:
2152         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2153         (gst_dp_packet_from_event):
2154           factor out some common header init code
2155
2156 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2157
2158         * docs/libs/gstreamer-libs-sections.txt:
2159         * docs/libs/tmpl/gstdataprotocol.sgml:
2160         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
2161         * libs/gst/dataprotocol/dataprotocol.h:
2162           API: make gst_dp_crc() public
2163
2164 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
2165
2166         * plugins/indexers/gstindexers.c: (plugin_init):
2167         conditionally register fileindexer (fixes #343598)
2168
2169 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
2170
2171         * gst/gsttagsetter.h:
2172         Can't cast ifaces to a class
2173
2174         * libs/gst/net/gstnetclientclock.h:
2175         * libs/gst/net/gstnettimeprovider.h:
2176         * plugins/elements/gstfakesink.h:
2177         * plugins/elements/gstfakesrc.h:
2178         * plugins/elements/gstfdsink.h:
2179         * plugins/elements/gstfdsrc.h:
2180         * plugins/elements/gstfilesink.h:
2181         * plugins/elements/gstfilesrc.h:
2182         * plugins/elements/gstidentity.h:
2183         * plugins/elements/gstqueue.h:
2184         * plugins/elements/gsttee.h:
2185         * plugins/indexers/gstfileindex.c:
2186         * plugins/indexers/gstmemindex.c:
2187         * tests/old/examples/plugins/example.h:
2188         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
2189
2190 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2191
2192         * libs/gst/dataprotocol/dataprotocol.c:
2193         (gst_dp_header_from_buffer):
2194           make sure we zero the whole ABI-compatible area
2195
2196 2006-06-01  Wim Taymans  <wim@fluendo.com>
2197
2198         Patch by: Alessandro Decina <alessandro at nnva dot org>
2199
2200         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
2201         Make sure the EOS flag is cleared from pads after a flush
2202         or stop. Fixes #343538.
2203
2204         * tests/check/libs/collectpads.c: (GST_START_TEST),
2205         (gst_collect_pads_suite):
2206         Added test for collectpads reusage after EOS.
2207
2208 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
2209
2210         * gst/gst.c:
2211          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
2212         * win32/common/libgstbase.def:
2213          export gst_collect_pads_set_flushing
2214         * win32/common/libgstreamer.def:
2215          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
2216          gst_value_fraction_multiply
2217         * win32/vs6/gst_inspect.dsp:
2218          add a link to intl.lib
2219
2220 2006-05-30  Wim Taymans  <wim@fluendo.com>
2221
2222         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2223         (gst_collect_pads_chain):
2224         Handle the case where a pad is removed from the collection
2225         that could cause the other pads to become collectable.
2226
2227 2006-05-30  Wim Taymans  <wim@fluendo.com>
2228
2229         * gst/gstelement.c:
2230         Clarify the use of _release_request_pad() and
2231         _get_request_pad() a bit better.
2232
2233         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
2234         (gst_adapter_take_buffer):
2235         Fix some doc and comment typos.
2236
2237 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2238
2239         * docs/gst/gstreamer-sections.txt:
2240         * docs/libs/gstreamer-libs-sections.txt:
2241           add declared symbols
2242
2243 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
2244
2245         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
2246         Add debug that can be enabled using a #define at the top of the file,
2247         for dumping stats about how late/early we were when waking up from
2248         waiting on the clock.
2249
2250 2006-05-30  Wim Taymans  <wim@fluendo.com>
2251
2252         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
2253         When rebuilding the pad list, don't leak the previous list.
2254
2255 2006-05-30  Wim Taymans  <wim@fluendo.com>
2256
2257         Patch by: Lutz Mueller <lutz at topfrose dot de>
2258
2259         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2260         (gst_base_src_get_query_types), (gst_base_src_update_length):
2261         Publish supported query types.
2262         Update last_stop field in get_range mode so the position
2263         query works. Fixes #342321.
2264
2265 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
2266
2267         * docs/gst/gstreamer-sections.txt:
2268         * gst/gsttaglist.c: (_gst_tag_initialize):
2269         * gst/gsttaglist.h:
2270           API: add GST_TAG_PREVIEW_IMAGE (#343341).
2271
2272 2006-05-30  Wim Taymans  <wim@fluendo.com>
2273
2274         Patch by: Alessandro Decina <alessandro at nnva dot org>
2275
2276         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
2277         Unlock mutex when removing an unknown pad.
2278         Fixes #343334.
2279
2280         * tests/check/Makefile.am:
2281         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
2282         (push_event), (setup), (teardown), (GST_START_TEST),
2283         (gst_collect_pads_suite), (main):
2284         Added collecpads check, disabled for now as check crashes for
2285         some reason.
2286
2287 2006-05-29  Wim Taymans  <wim@fluendo.com>
2288
2289         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
2290         Don't leak pads lists.
2291
2292 2006-05-29  Wim Taymans  <wim@fluendo.com>
2293
2294         * docs/libs/gstreamer-libs-sections.txt:
2295         * libs/gst/base/gstcollectpads.c:
2296         (gst_collect_pads_set_flushing_unlocked),
2297         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
2298         (gst_collect_pads_stop):
2299         * libs/gst/base/gstcollectpads.h:
2300         API: gst_collect_pads_set_flushing()
2301         Added api to set the pads to flushing, useful for seeking
2302         code in elements using collectpads.
2303         Clear segment when receiving a flush.
2304
2305 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
2306
2307         * gst/gst.c: (add_path_func), (init_post):
2308           Don't scan registry paths passed via --gst-plugin-path immediately
2309           (will crash, because absolutely nothing is set up and no types are
2310           registered etc.); do this later in init_post(). Fixes #343057.
2311
2312 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2313
2314         * gst/gst.c: (init_post):
2315           if we have fork, fork while reading/rebuilding the registry
2316           so the parent doesn't take the hit of having all plugins loaded
2317           in memory.  Fixes #342777.
2318         * configure.ac:
2319           Check if we have fork()
2320         * win32/common/config.h.in:
2321           no fork() on win32
2322
2323 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
2324
2325         * plugins/elements/gstelements.c:
2326         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2327         (gst_file_src_init), (gst_file_src_set_property),
2328         (gst_file_src_get_property), (gst_file_src_start):
2329         * plugins/elements/gstfilesrc.h:
2330           API: GstFileSrc::use-mmap
2331
2332         Add a use-mmap property to enable easier testing of all code paths.
2333         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
2334         in the absence of gnomevfssrc. (Closes #340501)
2335
2336 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2337
2338         * tools/gst-inspect.c:
2339         Add missing include, removes warning of ngettext not being defined on
2340         some arches.
2341
2342 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
2343
2344         * gst/gstvalue.c: (gst_value_deserialize_fraction):
2345         Handle NULL input and output pointers silently as a failed conversion,
2346         rather than g_warnings.
2347
2348 2006-05-25  Wim Taymans  <wim@fluendo.com>
2349
2350         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
2351         Initialize variable before using. Fixes #342820.
2352
2353 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2354
2355         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
2356           Fix off-by-one bug that would only allow peeks of N-1 bytes
2357           from the start even if the buffer to typefind on contains
2358           in fact N bytes of data (makes vorbis typefinding from a
2359           vorbis identification header buffer work).
2360
2361         * tests/check/Makefile.am:
2362         * tests/check/libs/.cvsignore:
2363         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
2364         (gst_typefindhelper_suite), (main), (foobar_typefind),
2365         (plugin_init):
2366           Add very basic unit test for gst_type_find_helper_for_buffer()
2367           that checks for the problem fixed above.
2368
2369 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2370
2371         * tools/gst-inspect.c: (print_interfaces),
2372         (print_element_properties_info), (print_element_list), (main):
2373           add more translatable strings
2374
2375 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
2376
2377         Patch by: Julien Moutte  <julien at moutte net>
2378
2379         * docs/gst/gstreamer-sections.txt:
2380           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
2381           
2382         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
2383         (gst_fake_sink_preroll):
2384         * plugins/elements/gstfakesink.h:
2385           API: Add new GstFakeSink::preroll-handoff signal (#337100).
2386
2387 2006-05-23  Wim Taymans  <wim@fluendo.com>
2388
2389         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
2390         * gst/gstpad.h:
2391         Added _CUSTOM error and success GstFlowReturn that can be
2392         used be elements internally. 
2393         Added macro to check for SUCCESS flowreturns.
2394         API: GST_FLOW_CUSTOM_SUCCESS
2395         API: GST_FLOW_CUSTOM_ERROR
2396         API: GST_FLOW_IS_SUCCESS
2397
2398         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2399         Added check for GstFlowReturn sanity.
2400
2401 2006-05-23  Wim Taymans  <wim@fluendo.com>
2402
2403         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2404
2405         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2406         (gst_collect_pads_event):
2407         clear/reset segment info in FLUSH_STOP.
2408         Fixes #336929.
2409
2410 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
2411
2412         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
2413         (gst_collect_pads_check_collected):
2414         Flush queued buffer on _stop(), fixes playing again (#342454)
2415
2416 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
2417
2418         * tests/check/gst/gststructure.c: (GST_START_TEST),
2419         (gst_structure_suite):
2420           add a test for a complete structure
2421
2422 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
2423
2424         * docs/faq/developing.xml:
2425         * docs/faq/faq.xml:
2426         * docs/faq/troubleshooting.xml:
2427         * docs/faq/using.xml:
2428           Some minor FAQ updates that won't change the fact that
2429           our FAQ is badly structured, full of information hardly
2430           anyone new to GStreamer needs to know and lacking lots
2431           of information people constantly ask for.
2432           
2433 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
2434
2435         * gst/gstpad.c: (gst_pad_set_caps):
2436           Short-circuit gst_pad_set_caps if setting the existing
2437           caps pointer again, and avoid printing debug and 
2438           reffing/unreffing the caps.
2439
2440         * plugins/elements/gstqueue.c: (gst_queue_push_one):
2441           There's actually no need to set the caps before pushing -
2442           the acceptcaps method will handle it anyway.
2443
2444 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
2445
2446         * docs/gst/gstreamer-sections.txt:
2447         * win32/common/libgstreamer.def:
2448         * gst/gstutils.c: (gst_element_seek_simple):
2449         * gst/gstutils.h:
2450           API: add gst_element_seek_simple() (#342238).
2451
2452 2006-05-18  Edward Hervey  <edward@fluendo.com>
2453
2454         * gst/gsttypefind.c: (gst_type_find_get_type):
2455         * gst/gsttypefind.h:
2456         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
2457         registered for GstTypeFind pointers. This allows wrapping the structure
2458         in bindings (i.e. gst-python).
2459
2460 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
2461
2462         * gst/gsttagsetter.c:
2463           Docs additions and fixes (see #339918).
2464
2465 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
2466
2467         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2468         The caps intersection algorithm can produce multiple copies of the
2469         caps. Until that is fixed, we need to simplify the result to be
2470         sure whether the allowed caps are fixed or not.
2471
2472         * plugins/elements/gstqueue.c: (gst_queue_init),
2473         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
2474         (gst_queue_push_one):
2475         Proxied buffer alloc should not set the caps on the source pad.
2476         When pushing buffers, we always accept the caps change that triggers.
2477         This prevents negotiation errors caused by caps changing mid-stream 
2478         and then being refused on our source pad (because upstream is now
2479         refusing those caps).
2480
2481 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
2482
2483         * tests/examples/helloworld/helloworld.c: (main):
2484           Must plug audioconvert and audioresample between decoder
2485           and audio sink.
2486
2487 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
2488
2489         * gst/gstregistryxml.c: (read_string), (load_pad_template),
2490         (load_feature), (load_plugin):
2491         Allow empty strings for some of the plugin fields so we don't 
2492         drop valid plugin entries that were written out correctly
2493         (Fixes #341479)
2494
2495 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
2496         
2497         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2498           Use g_remove and g_rename instead of remove and rename that don't 
2499           handle utf8 characters. rename was failing for users who had specific
2500           characters in their name then the registry was built at each 
2501           gstreamer init.
2502         * win32/vs6/gst_inspect.dsp:
2503         * win32/vs6/gst_launch.dsp:
2504         * win32/vs6/libgstbase.dsp:
2505         * win32/vs6/libgstcoreelements.dsp:
2506         * win32/vs6/libgstreamer.dsp:
2507           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
2508           build of libgstreamer and clean unused libraries in projects link 
2509           settings.
2510
2511 2006-05-17  Edward Hervey  <edward@fluendo.com>
2512
2513         * plugins/elements/gstqueue.c: (gst_queue_push_one):
2514         The queue is not responsible for pushing an EOS when receiving a fatal
2515         flow error. It's up to the real element driving the pipeline to do that.
2516
2517 2006-05-16  Edward Hervey  <edward@fluendo.com>
2518
2519         * plugins/elements/gstqueue.c: (gst_queue_push_one):
2520         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
2521         buffer returned a fatal error. It should just send an EOS and stop
2522         its task.
2523         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
2524         when pushing buffers on the queue and will be able to handle the event.
2525
2526 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
2527
2528         * docs/manual/basics-bins.xml:
2529         * docs/manual/basics-init.xml:
2530           Fix typos and minor errors in sample code (#341856).
2531
2532 2006-05-16  Wim Taymans  <wim@fluendo.com>
2533
2534         * docs/design/part-qos.txt:
2535         Fix indexes in formulas to make more sense.
2536
2537 2006-05-15  Wim Taymans  <wim@fluendo.com>
2538
2539         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2540         Don't report POSITION based on clock time if sync is
2541         disabled in a sink.
2542
2543 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
2544
2545         * gst/gstobject.h:
2546           Add cast to make compiler happy - refcount variable was a gint
2547           in GstObject but is a guint in GObject and g_atomic_int_get()
2548           wants a gint *.
2549
2550 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2551
2552         * gst/parse/Makefile.am:
2553           chain commands using &&, which also makes parallel make work
2554
2555 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
2556
2557         * docs/gst/gstreamer-sections.txt:
2558         * gst/gstevent.c:
2559         * gst/gstevent.h:
2560         * gst/gstmessage.h:
2561           Minor docs fixes.
2562
2563 === release 0.10.6 ===
2564
2565 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
2566
2567         * configure.ac:
2568           releasing 0.10.6, "Take the cannoli"
2569
2570 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
2571
2572         * tools/gst-launch.c: (print_tag):
2573           Fix use of uninitialized variable in the hypothetical
2574           case that some broken plugin creates a GST_TAG_IMAGE
2575           tag containing a NULL buffer (#341667).
2576
2577 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
2578
2579         * tools/gst-launch.c: (print_tag):
2580           Print something more intelligible for image tags when
2581           using the -t switch (#341556).
2582
2583 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2584
2585         * Makefile.am:
2586           updates for win32
2587         * configure.ac:
2588           define GST_MAJORMINOR so we have it available in win32/common/config.h
2589           Possibly remove it from our Makefile.am files later
2590         * win32/common/config.h:
2591         * win32/common/config.h.in:
2592           added GST_MAJORMINOR
2593         * win32/common/gstenumtypes.c: (register_gst_resource_error):
2594         * win32/common/gstversion.h:
2595           updated
2596
2597 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
2598
2599         * win32/MANIFEST:
2600           Update win32 files listing.
2601         * win32/common/gstversion.h:
2602           Add GST_MAJORMINOR definition.
2603         * win32/common/libgstreamer.def:
2604           Add new exported functions.
2605           
2606 2006-05-12  Michael Smith  <msmith@fluendo.com>
2607
2608         * gst/gstplugin.c: (gst_plugin_load_file):
2609           If an so file has no plugin entry point, unload the module.
2610
2611 2006-05-11  Wim Taymans  <wim@fluendo.com>
2612
2613         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
2614         (gst_queue_set_property):
2615         Don't forget to signal the _chain or _loop function 
2616         when the queue size or thresholds change since that might
2617         cause them to make progres again.
2618
2619 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
2620
2621         * gst/gstclock.c: (gst_clock_class_init):
2622         * gst/gstindex.c: (gst_index_class_init):
2623         * gst/gstobject.c: (gst_object_class_init):
2624         * gst/gstpad.c: (gst_pad_class_init):
2625         * gst/gstpipeline.c: (gst_pipeline_class_init):
2626         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2627         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
2628         * libs/gst/base/gstbasetransform.c:
2629         (gst_base_transform_class_init):
2630         * libs/gst/net/gstnetclientclock.c:
2631         (gst_net_client_clock_class_init):
2632         * libs/gst/net/gstnettimeprovider.c:
2633         (gst_net_time_provider_class_init):
2634         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
2635         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2636         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2637         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
2638         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2639         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2640         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2641         * plugins/elements/gstidentity.c: (gst_identity_class_init):
2642         * plugins/elements/gsttee.c: (gst_tee_class_init):
2643         * tests/old/examples/plugins/example.c: (gst_example_class_init):
2644         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
2645           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
2646
2647 2006-05-11  Wim Taymans  <wim@fluendo.com>
2648
2649         * gst/gstbuffer.c: (_gst_buffer_initialize):
2650         Register subbufer along with the buffer type so that
2651         it does not accidentally gets registered from N
2652         different streaming threads in a non threadsafe way.
2653
2654 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
2655
2656         * gst/gstbuffer.h:
2657         * gst/gstevent.h:
2658         * gst/gstmessage.h:
2659           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
2660           gst_event_ref() and gst_message_ref() functions again
2661           (ugly hack, please do fix if there's a better way besides
2662           overrides.txt, which doesn't seem to work).
2663
2664 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2665
2666         * libs/gst/check/gstcheck.h:
2667           add an assert for setting state to avoid lots of repetitive code
2668           in the future
2669
2670 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2671
2672         * gst/gstvalue.c: (gst_value_serialize_flags):
2673           fix a leak if no flags are set
2674         * tests/check/gst/gstvalue.c: (GST_START_TEST):
2675           fix leak in tests
2676
2677 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
2678
2679         * docs/manual/basics-pads.xml:
2680           Expand a bit on caps and filtered links and update
2681           examples that were still using the no longer existing
2682           gst_pad_link_filtered() (#338206).
2683
2684 2006-05-10  Wim Taymans  <wim@fluendo.com>
2685
2686         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2687         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
2688         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
2689         (gst_collect_pads_stop):
2690         * libs/gst/base/gstcollectpads.h:
2691         No need to call _stop in _finalize.
2692         Iterate the main pad list in _finalize.
2693         Added some more debug.
2694         Free lists and data in the right order.
2695         Also free data whem doing _remove_pad when stopped for
2696         backward compatibility protect ::started with PAD_LOCK as
2697         well.
2698
2699 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2700
2701         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
2702         (gst_structure_parse_value):
2703           add some comments
2704           rename a method so that it actually says what it does better
2705
2706 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2707
2708         * gst/gstevent.c: (_gst_event_initialize):
2709         * gst/gstformat.c: (_gst_format_initialize):
2710           make sure some essential types used by events are registered
2711           as part of gst_init()
2712         * gst/gstvalue.c: (gst_value_serialize_flags):
2713           if no flags are set, serialize them to a value that represents NONE
2714           so that deserializing them works
2715         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2716           add tests for serialization and deserialization of flags
2717
2718 2006-05-10  Wim Taymans  <wim@fluendo.com>
2719
2720         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
2721         (gst_collect_pads_collect_range), (gst_collect_pads_available),
2722         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
2723         (gst_collect_pads_event), (gst_collect_pads_chain):
2724         Update docs.
2725         Better debug info.
2726         Catch and return errors from the collect function
2727         Refuse data on eos pads.
2728
2729 2006-05-10  Edward Hervey  <edward@fluendo.com>
2730
2731         * gst/gstinterface.h:
2732         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
2733         GInterface type checking.
2734         They were previously using non-defined macros.
2735
2736 2006-05-09  Wim Taymans  <wim@fluendo.com>
2737
2738         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
2739         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
2740         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
2741         (gst_collect_pads_start), (gst_collect_pads_stop),
2742         (gst_collect_pads_peek), (gst_collect_pads_pop),
2743         (gst_collect_pads_available), (gst_collect_pads_read),
2744         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
2745         (gst_collect_pads_is_collected), (gst_collect_pads_event),
2746         (gst_collect_pads_chain):
2747         * libs/gst/base/gstcollectpads.h:
2748         Clean up the mess that is collectpads, add comments and
2749         FIXMEs where needed.
2750         Maintain a separate pad list so we can add pads while
2751         collecting the other ones. For this we need a new separate 
2752         lock (see comics).
2753         Fix memory leak in finalize.
2754         Refactor some weird code to set/unset pad flushing flags, mark
2755         with comments.
2756         Don't crash in _available, _read, _flush when we're EOS.
2757
2758         * tests/check/libs/.cvsignore:
2759         Ignore adapter check binary.
2760
2761 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2762
2763         * gst/gstindex.c: (gst_index_resolver_get_type):
2764         * plugins/elements/gstfakesink.c:
2765         (gst_fake_sink_state_error_get_type):
2766         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
2767         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
2768         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
2769           Const-ify GEnumValue arrays.
2770
2771 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2772
2773         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2774           Add test case for flags + gst_buffer_make_metadata_writable().
2775
2776 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2777
2778         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
2779           gst_buffer_make_metadata_writable() should maintain the
2780           buffer flags (those that make sense at least) (see #340859).
2781
2782 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2783
2784         * tools/gst-inspect.c:
2785         * tools/gst-launch.c:
2786         * tools/gst-typefind.c:
2787         * tools/gst-xmlinspect.c:
2788         * tools/tools.h:
2789           Fix up includes: need to include stdlib.h in tools.h for exit().
2790
2791 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2792
2793         * gst/gsttaglist.c: (_gst_tag_initialize):
2794         * gst/gsttaglist.h:
2795           API: add GST_TAG_IMAGE tag (#340721).
2796
2797 2006-05-08  Wim Taymans  <wim@fluendo.com>
2798
2799         * gst/gstquery.c:
2800         Added some docs for the segment query.
2801
2802 2006-05-08  Wim Taymans  <wim@fluendo.com>
2803
2804         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2805         (gst_base_src_loop), (gst_base_src_change_state):
2806         Always push non-flushing serialized events in the streaming 
2807         thread.
2808
2809 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
2810
2811         * gst/gsterror.c: (_gst_stream_errors_init):
2812           Add a missing error string.
2813
2814 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
2815
2816         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
2817         Add applied_rate to the debug
2818
2819         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2820         Copy applied_rate into the outgoing NEWSEGMENT event
2821
2822 2006-05-08  Wim Taymans  <wim@fluendo.com>
2823
2824         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
2825
2826         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
2827         (gst_base_sink_change_state):
2828         call ::unlock before taking the PREROLL_LOCK so we can safely
2829         handle elements that lock in ::render.
2830         Fixes #340174.
2831
2832 2006-05-08  Edward Hervey  <edward@fluendo.com>
2833
2834         * autogen.sh: (CONFIGURE_DEF_OPT): 
2835         Darwin's libtoolize is in fact called glibtoolize.
2836         Adding glibtoolize to the list of accepted names for libtoolize.
2837
2838 2006-05-08  Wim Taymans  <wim@fluendo.com>
2839
2840         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2841         Unify error handling, don't post an error message
2842         when a push() returns EOS but perform our normal EOS
2843         handling code. Fixes #340772.
2844
2845 2006-05-08  Wim Taymans  <wim@fluendo.com>
2846
2847         * docs/design/part-overview.txt:
2848         Make upsteam/downstream concepts more clear.
2849         Give an example of serialized/non-serialized events.
2850
2851         * docs/design/part-events.txt:
2852         * docs/design/part-streams.txt:
2853         Mention applied_rate.
2854
2855         * docs/design/part-trickmodes.txt:
2856         Mention applied rate, flesh out some more use cases.
2857
2858         * gst/gstevent.c: (gst_event_new_new_segment),
2859         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
2860         (gst_event_parse_new_segment_full), (gst_event_new_tag),
2861         (gst_event_parse_tag), (gst_event_new_buffer_size),
2862         (gst_event_parse_buffer_size), (gst_event_new_qos),
2863         (gst_event_parse_qos), (gst_event_parse_seek),
2864         (gst_event_new_navigation):
2865         * gst/gstevent.h:
2866         Add applied_rate field to NEWSEGMENT event.
2867         API: gst_event_new_new_segment_full()
2868         API: gst_event_parse_new_segment_full()
2869
2870         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
2871         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
2872         (gst_segment_to_stream_time), (gst_segment_to_running_time):
2873         * gst/gstsegment.h:
2874         Add applied_rate to GstSegment structure.
2875         Make calculation of stream_time and running_time more correct
2876         wrt rate/applied_rate.
2877         Add some more docs.
2878         API: GstSegment::applied_rate field
2879         API: gst_segment_set_newsegment_full();
2880
2881         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
2882         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
2883         * libs/gst/base/gstbasetransform.c:
2884         (gst_base_transform_sink_eventfunc),
2885         (gst_base_transform_handle_buffer):
2886         Parse and use applied_rate in the GstSegment field.
2887
2888         * tests/check/gst/gstevent.c: (GST_START_TEST):
2889         Add check for applied_rate field.
2890
2891         * tests/check/gst/gstsegment.c: (GST_START_TEST),
2892         (gstsegments_suite):
2893         Add more checks for various GstSegment operations.
2894
2895 2006-05-08  Wim Taymans  <wim@fluendo.com>
2896
2897         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2898         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
2899         (gst_base_sink_get_position), (gst_base_sink_change_state):
2900         Store the sync time of the buffer end position separatly in a
2901         new variable eos_rtime so we can properly sync the EOS event.
2902         Fixes #340697.
2903         Fix the docs for gst_base_sink_set_qos_enabled().
2904         Don't set segment start to invalid value when we receive a 
2905         non TIME newsegment.
2906         get closer to handling position reporting for negative rates 
2907         correctly.
2908
2909 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
2910
2911         * gst/gstcaps.c:
2912         Docs about how to print caps for debug purposes.
2913
2914         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
2915         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
2916
2917 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
2918
2919         * gst/gstelement.c:
2920           use full enum names and preprend a '%' in docs strings to make recent 
2921           gtk-doc turn that into a link
2922
2923 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
2924
2925         * docs/manual/basics-bins.xml:
2926         * docs/manual/basics-bus.xml:
2927         * docs/manual/basics-pads.xml:
2928           Some typo fixes, some additions, some clarifications. 
2929
2930 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
2931
2932         * tools/gst-inspect.c: (main):
2933         * tools/gst-launch.c: (main):
2934         * tools/gst-run.c: (main):
2935         * tools/gst-typefind.c: (main):
2936         * tools/gst-xmlinspect.c: (main):
2937           Use the string passed to g_option_context_new() for
2938           what it's intended for - the program name is already
2939           printed elsewhere.
2940
2941 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
2942
2943         * tools/Makefile.am:
2944         * tools/gst-inspect.c: (main):
2945         * tools/gst-launch.c: (main):
2946         * tools/gst-xmlinspect.c: (main):
2947         * tools/tools.h:
2948           Add back --version command line option (#340460).
2949
2950         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
2951           Add --version option and use GOption for argument parsing; refactor a
2952           bit; accept directories as arguments and recurse into them; lastly,
2953           print a decent error message when things go wrong.
2954
2955 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
2956
2957         * docs/manual/basics-bins.xml:
2958         Don't mention GstThread (#340611)
2959         * docs/manual/basics-elements.xml:
2960         Update link to GObject tutorial (#340607)
2961         
2962 2006-05-05  Wim Taymans  <wim@fluendo.com>
2963
2964         * gst/gstbuffer.h:
2965         * gst/gstminiobject.c:
2966         Add note about refcounting and miniobject/buffer writeability
2967         to docs. Fixes #340604
2968
2969         * gst/gstelementfactory.h:
2970         Added some explanation about @klass.
2971
2972 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
2973
2974         * docs/manual/intro-motivation.xml:
2975         * docs/manual/manual.xml:
2976         Avoid CORBA & Bonobo references (#340598)
2977
2978 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
2979
2980         * docs/manual/basics-bus.xml:
2981         * docs/manual/basics-pads.xml:
2982         Fix up some inaccuracies and omissions (#340609)
2983         
2984 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
2985
2986         * gst/gstghostpad.c:
2987           Small typo in docs (#340625)
2988
2989 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
2990
2991         * gst/parse/Makefile.am:
2992           Make 'make -j' proof (see #340698).
2993
2994 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
2995
2996         * configure.ac:
2997           Require GLib-2.8 here as well.
2998
2999 2006-05-05  Wim Taymans  <wim@fluendo.com>
3000
3001         * gst/glib-compat.c:
3002         * gst/gst.c: (init_pre):
3003         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
3004         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
3005         (gst_object_dispatch_properties_changed):
3006         * gst/gstobject.h:
3007         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3008         * gst/gststructure.c: (gst_structure_set_valist):
3009         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3010         Remove pre glib2.8 compatibility, fixes #340508
3011
3012 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3013
3014         * gst/gsttaglist.h:
3015           Mention type of tags in doc blurbs.
3016
3017 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
3018
3019         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3020         (gst_pad_configure_src), (gst_pad_push):
3021         Restore acceptcaps checking behaviour now that good plugins have
3022         been released.
3023
3024 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3025
3026         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
3027
3028         * gst/gst.c:
3029         * gst/gstbus.c:
3030         * gst/gstclock.c:
3031         * gst/gstevent.c:
3032         * gst/gstformat.c:
3033         * gst/gstmessage.c:
3034         * gst/gstparse.c:
3035         * gst/gstquery.c:
3036         * gst/gstutils.c:
3037         * gst/parse/Makefile.am:
3038         * libs/gst/base/gstadapter.c:
3039         * libs/gst/base/gstbasesrc.c:
3040         * libs/gst/base/gstpushsrc.c:
3041         * libs/gst/base/gsttypefindhelper.c:
3042         * plugins/elements/gstfakesrc.c:
3043         * plugins/elements/gstidentity.c:
3044           Make sure gstprivate.h and/or config.h are
3045           always included first, otherwise some of our
3046           defines (like _FILE_OFFSET_BITS) might be
3047           redefined in the system headers. Fixes build
3048           on opensolaris (#340016).
3049
3050 2006-05-04  Wim Taymans  <wim@fluendo.com>
3051
3052         * docs/libs/gstreamer-libs-sections.txt:
3053         API: addition: gst_adapter_take_buffer()
3054         
3055         * libs/gst/base/gstadapter.c: (gst_adapter_push),
3056         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
3057         (gst_adapter_available_fast):
3058         * libs/gst/base/gstadapter.h:
3059         Prepare for optimizing the hell out of this hugely inefficient
3060         piece of code. 
3061         Added gst_adapter_take_buffer() so we can at least start thinking
3062         about subbuffering and merging.
3063         Added some comments.
3064
3065         * tests/check/Makefile.am:
3066         * tests/check/libs/adapter.c: (GST_START_TEST),
3067         (gst_adapter_suite), (main):
3068         Added GstAdapter check.
3069
3070 2006-05-04  Wim Taymans  <wim@fluendo.com>
3071
3072         * docs/design/part-overview.txt:
3073         Fix some typos, add blurb about buffer flags.
3074
3075 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3076
3077         * docs/libs/gstreamer-libs-sections.txt:
3078           make sure GstBaseTransformClass shows up in the docs
3079         * libs/gst/base/gstbasetransform.c:
3080         * libs/gst/base/gstbasetransform.h:
3081           move docs so gtk-doc picks it up now
3082
3083 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
3084
3085         * docs/libs/gstreamer-libs-sections.txt:
3086           add missing symbols to docs
3087
3088 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
3089
3090         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3091           back out the newsegment handling change, see #340060 for ongoing
3092           discussion
3093
3094 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
3095
3096         * tools/gst-run.c: (get_candidates), (main):
3097           Fix wrong g_file_test() usage (see glib docs for why it doesn't
3098           work); fix typo in error message. Fixes #340079.
3099
3100 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3101
3102         * common/Makefile.am:
3103         * docs/Makefile.am:
3104         * docs/faq/Makefile.am:
3105         * docs/gst/Makefile.am:
3106         * docs/libs/Makefile.am:
3107         * docs/manual/Makefile.am:
3108         * docs/plugins/Makefile.am:
3109         * docs/pwg/Makefile.am:
3110         * docs/slides/Makefile.am:
3111         * docs/upload.mak:
3112         * common/upload.mak:
3113           move upload.mak to common
3114
3115 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3116
3117         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3118           add more asserts on refcounts
3119           do more cleanup at end of tests
3120           fix test leaks showing in FC5
3121
3122 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
3123
3124         * plugins/elements/gsttypefindelement.c:
3125         (gst_type_find_element_handle_event):
3126         reverted wrong change and reflowed code to avoid others falling into
3127         this trap
3128
3129 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3130
3131         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3132           fix changelog entry about last collectpads change,
3133           add notes about proper fix
3134
3135 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3136
3137         * gst/gst.c:
3138         * gst/gstregistry.c: (gst_registry_scan_path_level),
3139         (gst_registry_scan_path):
3140         * gst/gstregistry.h:
3141           only write out registry if it has changed, fixes #338339
3142
3143 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3144
3145         * gst/gstbin.c:
3146         * gst/gstpipeline.c:
3147         * plugins/elements/gstcapsfilter.c:
3148         * plugins/elements/gstfakesink.c:
3149         * plugins/elements/gstfakesrc.c:
3150         * plugins/elements/gstfdsink.c:
3151         * plugins/elements/gstfdsrc.c:
3152         * plugins/elements/gstfilesink.c:
3153         * plugins/elements/gstfilesrc.c:
3154         * plugins/elements/gstidentity.c:
3155         * plugins/elements/gstqueue.c:
3156         * plugins/elements/gsttee.c:
3157         * plugins/elements/gsttypefindelement.c:
3158         (gst_type_find_element_handle_event):
3159           make GstElementDetails const
3160
3161 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3162
3163         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3164         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3165         (gst_collect_pads_is_collected), (gst_collect_pads_event):
3166           more detailed debug and formatting cleanup,
3167           forward newsegments to src-pad (so that e.g. adder not eats them)
3168
3169 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3170
3171         * gst/gstutils.c: (gst_element_link_pads):
3172           cleanup double code
3173
3174 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3175
3176         * libs/gst/controller/gstcontroller.c:
3177         (gst_controller_sync_values):
3178           some little tuning
3179         * tests/check/libs/controller.c: (GST_START_TEST),
3180         (gst_controller_suite):
3181           a new test for live value handling
3182
3183 2006-04-28  Wim Taymans  <wim@fluendo.com>
3184
3185         * gst/gstutils.c: (push_and_ref):
3186         Added some more docs.
3187         Fix refcount issue whith gst_element_found_tags() helper 
3188         function. Fixes #338335
3189
3190         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3191         Added testsuite for gst_element_found_tags().
3192
3193 2006-04-28  Michael Smith  <msmith@fluendo.com>
3194
3195         * gst/gstvalue.c: (gst_value_serialize_flags):
3196           Avoid NULL dereference when trying to serialize flags containing
3197           invalid values.
3198
3199 2006-04-28  Michael Smith  <msmith@fluendo.com>
3200
3201         * plugins/elements/gsttypefindelement.c:
3202         (gst_type_find_element_handle_event):
3203           If we get EOS before any data is accumulated, don't use
3204           uninitialised local variables.
3205
3206 2006-04-28  Michael Smith  <msmith@fluendo.com>
3207
3208         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3209         (gst_dp_event_from_packet):
3210           Fixes in reading/writing events over GDP (not currently used?) - 
3211           dereferencing NULL events for unknown/invalid event types, memory
3212           leak, and change g_warning to GST_WARNING.
3213
3214 2006-04-28  Wim Taymans  <wim@fluendo.com>
3215
3216         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
3217         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3218         (gst_base_sink_get_position), (gst_base_sink_change_state):
3219         When frame dropping is enabled, we should not ignore frames
3220         without a duration.
3221         Update some documentation.
3222
3223 2006-04-28  Wim Taymans  <wim@fluendo.com>
3224
3225         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3226         (gst_base_src_send_event), (gst_base_src_change_state):
3227         Documentation updates.
3228
3229 2006-04-28  Wim Taymans  <wim@fluendo.com>
3230
3231         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
3232         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
3233         handle EAGAIN, EINTR and short writes correctly. Also clean
3234         up some error cases, avoid a deadlock on bad file descriptors and
3235         use GST_DEBUG_OBJECT.
3236         Fixes #339843
3237
3238 2006-04-28  Wim Taymans  <wim@fluendo.com>
3239
3240         * gst/gstvalue.c: (gst_value_serialize_buffer),
3241         (gst_value_deserialize_buffer):
3242         Don't try to serialize a GValue with a NULL buffer. 
3243         Fixes #339821.
3244
3245         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3246         Added check for serialisation of NULL buffers.
3247
3248 2006-04-28  Wim Taymans  <wim@fluendo.com>
3249
3250         * gst/gstminiobject.c: (gst_value_take_mini_object):
3251         Taking a NULL miniobject is valid, fix the case where
3252         we try to unref the NULL miniobject.
3253
3254 2006-04-28  Wim Taymans  <wim@fluendo.com>
3255
3256         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
3257
3258         * gst/gstbin.c: (gst_bin_handle_message_func):
3259         Update docs.
3260         Don't leak bin refcount when a state recalc is
3261         in progress and we delay another one #339808.
3262
3263 2006-04-28  Wim Taymans  <wim@fluendo.com>
3264
3265         * docs/design/part-TODO.txt:
3266         Mention QoS as an ongoing work item.
3267
3268         * docs/design/part-buffering.txt:
3269         New doc about buffering that needs to be fleshed out
3270         at some point.
3271
3272         * docs/design/part-qos.txt:
3273         More QoS policy for decoders/demuxers/transforms
3274
3275         * docs/design/part-trickmodes.txt:
3276         Small update.
3277
3278 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3279
3280         * configure.ac:
3281           back to HEAD
3282
3283 === release 0.10.5 ===
3284
3285 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
3286
3287         * configure.ac:
3288           releasing 0.10.5, "Fogo"
3289
3290 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
3291
3292         patch by: Wim Taymans
3293
3294         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3295         (gst_pad_configure_src), (gst_pad_push):
3296         * gst/gstpipeline.c: (gst_pipeline_init):
3297           Fix internal data flow errors.  Fixes #338711.
3298
3299 2006-04-12  Wim Taymans  <wim@fluendo.com>
3300
3301         * tests/check/gst/gstelement.c: (GST_START_TEST):
3302         Don't leak the factory.
3303
3304 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3305
3306         * configure.ac:
3307         * win32/common/config.h:
3308           prerelease
3309
3310 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3311
3312         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3313         (gst_controller_unset_all):
3314           Free allocated GstTimedValues when freeing list nodes.
3315           Should fix leaks 'make check-valgrind' complains about.
3316
3317         * win32/common/libgstcontroller.def:
3318           Add gst_controller_unset_all.
3319
3320 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
3321
3322         * docs/libs/gstreamer-libs-sections.txt:
3323         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3324         (gst_controller_unset_all):
3325         * libs/gst/controller/gstcontroller.h:
3326         API: Added new method gst_controller_unset_all()
3327         fixed gst_controller_unset()
3328         * tests/check/libs/controller.c: (GST_START_TEST),
3329         (gst_controller_suite):
3330         Added two testcases for new and fixed method
3331
3332 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
3333
3334         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3335           MSG_DONTWAIT is not defined on Cygwin, so work
3336           around that (fixes #317048).
3337           
3338 2006-04-11  Wim Taymans  <wim@fluendo.com>
3339
3340         * gst/gstelementfactory.c: (gst_element_register),
3341         (gst_element_factory_create), (gst_element_factory_make):
3342         Some cleanups.
3343         Fixed a FIXME.
3344         Updated docs (Fixes #131079)
3345
3346         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3347         Small cleanups.
3348
3349         * tests/check/gst/gstelement.c: (GST_START_TEST),
3350         (gst_element_suite):
3351         Added testcase for elementfactory class field.
3352
3353 2006-04-10  Wim Taymans  <wim@fluendo.com>
3354
3355         * gst/gstsegment.c:
3356         Added some more docs.
3357
3358         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
3359         (gst_base_sink_reset_qos):
3360         Calculate more accurate rate values.
3361
3362 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
3363
3364         * gst/gst_private.h:
3365           add a new #ifdef to use __declspec(dllimport) only for
3366           other modules and not for gstreamer core
3367         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
3368           use gst_guint64_to_gdouble for conversion
3369         * win32/common/libgstreamer.def:
3370           add new exported functions
3371         * win32/vs6/gst_inspect.dsp:
3372         * win32/vs6/gst_launch.dsp:
3373         * win32/vs6/libgstbase.dsp:
3374         * win32/vs6/libgstcontroller.dsp:
3375         * win32/vs6/libgstcoreelements.dsp:
3376         * win32/vs6/libgstdataprotocol.dsp:
3377         * win32/vs6/libgstnet.dsp:
3378           update project files
3379
3380 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
3381
3382         * gst/gstbuffer.c: (gst_subbuffer_class_init):
3383         * gst/gstclock.c: (gst_clock_class_init):
3384         * gst/gstelement.c: (gst_element_class_init):
3385         * gst/gstindex.c: (gst_index_class_init):
3386         * gst/gstindexfactory.c: (gst_index_factory_class_init):
3387         * gst/gstobject.c: (gst_object_class_init),
3388         (gst_signal_object_class_init):
3389         * gst/gstpad.c: (gst_pad_class_init):
3390         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
3391         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
3392         * gst/gstregistry.c: (gst_registry_class_init):
3393         * gst/gstsystemclock.c: (gst_system_clock_class_init):
3394         * gst/gsttask.c: (gst_task_class_init):
3395         * gst/gstxml.c: (gst_xml_class_init):
3396         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3397         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3398         (gst_base_src_loop):
3399         * libs/gst/controller/gstcontroller.c:/
3400         (_gst_controller_class_init):
3401         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3402         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3403         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
3404         * tests/old/examples/plugins/example.c: (gst_example_class_init):
3405         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3406         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
3407
3408 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
3409
3410         * gst/gstpad.c: (gst_pad_link):
3411           Must set peer pads before calling the link function, otherwise
3412           a task started from a link function might get a flow-not-linked
3413           result when trying to push because the other thread where the
3414           linking happens hasn't had a chance to set the peers yet. This
3415           might happen for example when a queue gets linked to a downstream
3416           element, as queue starts a streaming task when its source pad
3417           gets linked. Happens in real life when playing back flac/musepack
3418           files in playbin (#332390).
3419           
3420 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
3421
3422         * gst/gstindex.h:
3423         * gst/gstxml.h:
3424         * libs/gst/base/gstadapter.h:
3425         * libs/gst/base/gstbasesink.h:
3426         * libs/gst/base/gstbasesrc.h:
3427         * libs/gst/base/gstbasetransform.h:
3428         * libs/gst/base/gstcollectpads.h:
3429         * libs/gst/base/gstpushsrc.h:
3430         Fix broken GObject macros
3431
3432 2006-04-07  Wim Taymans  <wim@fluendo.com>
3433
3434         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3435         Initialize start and stop times, thanks valgrind.
3436
3437 2006-04-07  Wim Taymans  <wim@fluendo.com>
3438
3439         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3440         Be a bit nicer to badly behaving upstream elements that expect
3441         us to deal with non TIME segments and timestamps (such as fakesrc
3442         in the testsuite).
3443
3444 2006-04-07  Wim Taymans  <wim@fluendo.com>
3445
3446         * gst/gstbus.c:
3447         Small documentation clarification about the signal watch.
3448
3449         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3450         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
3451         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3452         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3453         (gst_base_sink_get_position_last),
3454         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
3455         Convert and store timestamps in stream time and running time, the
3456         raw timestamps are not usefull, also document this better.
3457         Use different window sizes for good and bad QoS observations so
3458         we react to badness a little quicker.
3459         Keep track of the amount of rendered and dropped buffers.
3460         Send QoS timestamps in running time.
3461
3462         * libs/gst/base/gstbasetransform.c:
3463         (gst_base_transform_sink_eventfunc),
3464         (gst_base_transform_handle_buffer):
3465         Compare QoS timestamps against running time.
3466
3467 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
3468
3469         * gst/gstpad.c:
3470           Typo fixes in docs.
3471
3472 2006-04-06  Michael Smith  <msmith@fluendo.com>
3473
3474         * gst/gstpad.c: (gst_pad_set_property):
3475           Use g_value_get_object() instead of g_value_dup_gst_object(),
3476           to avoid double-reffing the pad template (which we then sink,
3477           so this worked previously if (and only if) the pad template
3478           was floating.
3479
3480         * gst/gstpadtemplate.c: (gst_pad_template_init),
3481         (gst_pad_template_pad_created):
3482           Never return floating references to pad templates, create
3483           them as initially-sunken.
3484
3485           Document an extra function (and make this stop sinking our
3486           pad template, since that is now guaranteed to do nothing,
3487           since we created it sunken).
3488
3489         * gst/gstghostpad.c:
3490           Fix docs typo.
3491
3492 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
3493
3494         * gst/gstinfo.c: (__gst_in_valgrind):
3495           Add some newlines.
3496
3497         * plugins/elements/gsttypefindelement.c:
3498         (gst_type_find_element_chain):
3499           Don't leak buffer caps.
3500
3501 2006-04-06  Michael Smith  <msmith@fluendo.com>
3502
3503         * gst/parse/grammar.y:
3504           Fix a leak in parse-launch for any source-or-sink named element 
3505           references used.
3506
3507         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
3508           Unref the pipeline if it exists after we've failed parsing.
3509
3510 2006-04-05  Michael Smith  <msmith@fluendo.com>
3511
3512         * gst/gstpipeline.c: (gst_pipeline_init):
3513           When we create a pipeline bus, initially create it in flushing mode.
3514           Fixes leaks in at least one test, and makes a new pipeline work the
3515           same as one that has gone to READY and then back to NULL.
3516
3517         * gst/gstelement.c:
3518           Typo fix in docs.
3519
3520 2006-04-05  Michael Smith  <msmith@fluendo.com>
3521
3522         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3523           Unref a pad we reffed.
3524         * tests/check/gst/gstutils.c: (GST_START_TEST):
3525           Unref bins
3526
3527 2006-04-05  Michael Smith  <msmith@fluendo.com>
3528
3529         * gst/gstquery.c: (gst_query_set_formats),
3530         (gst_query_set_formatsv):
3531           Fix leaking GValues in queries, as shown by valgrind/testsuite.
3532
3533 2006-04-05  Michael Smith  <msmith@fluendo.com>
3534
3535         * tests/check/generic/sinks.c: (GST_START_TEST):
3536           Fix a variety of memleaks in sinks check, which are only sometimes 
3537           shown by running the tests under valgrind (weird?).
3538
3539 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
3540
3541         * docs/version.entities.in:
3542           Fix the substituted entity name after thomas' changes on the
3543           weekend.
3544
3545 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3546
3547         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
3548         VALGRIND_PRINTF
3549         
3550 2006-04-05  Andy Wingo  <wingo@pobox.com>
3551
3552         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
3553
3554         * libs/gst/base/gstbasetransform.c
3555         (gst_base_transform_sink_eventfunc): When resetting our segment on
3556         FLUSH_STOP, also update the flag saying we haven't seen a
3557         newsegment.
3558
3559 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
3560
3561         Patch by: Paolo Borelli  <pborelli at katamail dot com>
3562
3563         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3564         (gst_plugin_check_license):
3565           minor clean-ups: G_DEFINE_TYPE already takes care of the
3566           parent_class stuff, no need to do it twice. Mark array of
3567           license strings as constant. (#337103)
3568           
3569 2006-04-04  Michael Smith  <msmith@fluendo.com>
3570
3571         * tools/gst-inspect.c: (print_element_list):
3572           Free the right plugin list; fixes a memory leak.
3573
3574 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
3575
3576         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
3577
3578         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
3579           Don't error out on empty buffers (#336945).
3580           
3581 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
3582
3583         * docs/libs/gstreamer-libs-sections.txt:
3584         * gst/gsttaglist.c:
3585         * libs/gst/base/gstbasesink.c:
3586         * libs/gst/base/gstbasesink.h:
3587         * libs/gst/base/gstbasesrc.c:
3588         * libs/gst/base/gstbasesrc.h:
3589           Documentation updates. Make BaseSink and BaseSrc docs contain the
3590           class structure so that people can actually see the prototypes for
3591           virtual functions they're supposed to be overriding.
3592
3593 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
3594
3595         * plugins/elements/gsttypefindelement.c:
3596         (gst_type_find_element_chain):
3597           More debug info; when skipping typefinding, send cached
3598           events in all cases.
3599
3600 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
3601
3602         * configure.ac:
3603           use new AS_VERSION and AS_NANO macros
3604         * gst/gst-i18n-lib.h:
3605         * gst/gst.c:
3606         * gst/gsterror.c:
3607         * gst/gstversion.h.in:
3608         * win32/common/config.h:
3609         * win32/common/config.h.in:
3610           update accordingly
3611
3612 2006-03-31  Michael Smith  <msmith@fluendo.com>
3613
3614         * plugins/elements/gsttypefindelement.c:
3615         (gst_type_find_element_chain):
3616           Do not typefind content if the buffers already have caps.
3617           Neccesary for icydemux (#333657), and the right thing to do anyway.
3618
3619 2006-03-30  Wim Taymans  <wim@fluendo.com>
3620
3621         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3622         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
3623         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
3624         (gst_base_sink_record_qos_observation),
3625         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3626         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
3627         (gst_base_sink_change_state):
3628         More QoS measurements as described in the design doc.
3629         Get rid of ringbuffer with observations, running average is
3630         more simple and equally good.
3631         Calculates valid proportion now.
3632         Added beginning of flood measurement.
3633
3634 2006-03-29  Wim Taymans  <wim@fluendo.com>
3635
3636         * docs/design/part-qos.txt:
3637         * gst/gstclock.c:
3638         Small documentation updates and additions.
3639
3640 2006-03-29  Wim Taymans  <wim@fluendo.com>
3641
3642         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
3643         (gst_base_src_send_event), (gst_base_src_loop),
3644         (gst_base_src_change_state):
3645         Perform the EOS logic when we reach the segment stop position.
3646         Fix compilation on gcc4.1
3647
3648 2006-03-29  Wim Taymans  <wim@fluendo.com>
3649
3650         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3651
3652         * plugins/elements/gstqueue.c: (gst_queue_init),
3653         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
3654         (gst_queue_set_property):
3655         * plugins/elements/gstqueue.h:
3656         In queue, when EOS is received, if minimum threshold > max_size -
3657         current_level, there is chance that queue blocks forever in conditional
3658         item del wait. This is because the queue is not emptied completely due
3659         to minimum threshold.  Here is another approach. Instead of setting
3660         cur_levels to max in EOS, just zero all minimum threshold levels. This
3661         should make sure that queue gives out all data. When going to READY
3662         (stop) state, just reset the original minimum threshold levels.
3663         Fixes #336336.
3664
3665 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
3666
3667         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
3668         (gst_type_find_element_handle_event),
3669         (gst_type_find_element_send_cached_events),
3670         (gst_type_find_element_change_state):
3671         * plugins/elements/gsttypefindelement.h:
3672           When typefinding is done in push mode, we should cache
3673           events we receive during typefinding instead of just
3674           dropping them (e.g. newsegment, custom events from
3675           dvdreadsrc etc.) and then send them out once we've
3676           determined the type of the stream (and decodebin
3677           has had a chance to plug in a decoder/demuxer).
3678           
3679 2006-03-27  Wim Taymans  <wim@fluendo.com>
3680
3681         * docs/design/part-qos.txt:
3682         First QoS ideas.
3683
3684 2006-03-27  Wim Taymans  <wim@fluendo.com>
3685
3686         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
3687
3688         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
3689         (gst_base_src_send_event), (gst_base_src_change_state):
3690         Handle element seek correctly when we are streaming.
3691         Fixes #326998.
3692
3693 2006-03-24  Michael Smith  <msmith@fluendo.com>
3694
3695         * docs/faq/gst-uninstalled:
3696           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
3697           allow you to correctly run intalled applications built against old 
3698           core, using plugins that require updated core (e.g. running
3699           installed totem against a full uninstalled gstreamer stack)
3700
3701 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
3702
3703         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
3704         more debug details
3705
3706 2006-03-24  Wim Taymans  <wim@fluendo.com>
3707
3708         * docs/gst/gstreamer-sections.txt:
3709         Rearrange the order of the methods so that related methods
3710         are grouped together in sections.
3711
3712 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
3713
3714         * gst/gstelement.c:
3715           Little clarification in the docs
3716
3717 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
3718
3719         * docs/README:
3720         formatting fix
3721         * plugins/elements/gstidentity.c:
3722         * plugins/elements/gstqueue.c:
3723         * plugins/elements/gsttee.c:
3724         * plugins/elements/gsttypefindelement.c:
3725         GST_ELEMENT_DETAILS formatting
3726
3727 2006-03-24  Wim Taymans  <wim@fluendo.com>
3728
3729         * libs/gst/base/gstbasesink.h:
3730         Only add fields, not insert or we break ABI.
3731
3732 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
3733
3734         * win32/common/libgstbase.def:
3735         * win32/common/libgstreamer.def:
3736           Update, add recently added functions.
3737
3738 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
3739
3740         * docs/gst/gstreamer-sections.txt:
3741         * gst/gstutils.c: (gst_pad_query_peer_position),
3742         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
3743         * gst/gstutils.h:
3744           API: add some new utility functions:
3745            - gst_pad_query_peer_position()
3746            - gst_pad_query_peer_duration()
3747            - gst_pad_query_peer_convert()
3748           
3749 2006-03-23  Wim Taymans  <wim@fluendo.com>
3750
3751         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3752         (gst_base_sink_init), (gst_base_sink_finalize),
3753         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
3754         (gst_base_sink_set_property), (gst_base_sink_get_property),
3755         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
3756         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
3757         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
3758         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3759         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
3760         (gst_base_sink_preroll_object), (gst_base_sink_event),
3761         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
3762         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3763         (gst_base_sink_query), (gst_base_sink_change_state):
3764         Decouple max-lateness and the fact that QoS messages are generated
3765         with a new property (qos).
3766         added API: GstBaseSink::async_play()
3767         Add vmethod so subclasses can be notified of ASYNC playing
3768         state changes.
3769         Collect timestamp start and stop to report better current
3770         position in EOS/PLAYING/PAUSED/READY/NULL.
3771         Refactor QoS/frame dropping and other measurements.
3772         API: GstBaseSrc::qos
3773         Fixes #326311
3774
3775         * libs/gst/base/gstbasesink.h:
3776         Added Private struct.
3777         API: gst_base_sink_set_qos_enabled()
3778         API: gst_base_sink_is_qos_enabled()
3779
3780 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
3781
3782         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3783           If compiling against GLib-2.8 or newer, try to read the
3784           registry file using GMappedFile first before falling back
3785           to fopen() + fread() (#332151).
3786
3787 2006-03-22  Wim Taymans  <wim@fluendo.com>
3788
3789         * gst/gstinfo.c: (gst_debug_set_active),
3790         (gst_debug_category_set_threshold):
3791         Disable debugging unless explicitly activated.
3792         Fixes #335480.
3793
3794 2006-03-22  Wim Taymans  <wim@fluendo.com>
3795
3796         * gst/gstelement.c: (gst_element_set_locked_state),
3797         (gst_element_dispose):
3798         Cleanup the error case.
3799
3800         * gst/gstobject.c: (gst_object_dispose):
3801         print a critical when some object was disposed with
3802         a parent, also revive the object since it might
3803         crash the parent.
3804
3805 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
3806
3807         * tools/gst-launch.1.in:
3808           Fix another typo.
3809
3810 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
3811
3812         * configure.ac:
3813         * tests/check/Makefile.am:
3814           disable some tests when we don't have a registry
3815         * tests/check/gst/gstutils.c: (gst_utils_suite):
3816           don't build the part that needs parsing
3817
3818 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
3819
3820         * gst/Makefile.am
3821         * tests/examples/Makefile.am:
3822           fix --disable-parse build
3823
3824 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
3825
3826         * tools/gst-feedback.1.in:
3827           Fix typo: s/feeback/feedback/ (#133494).
3828
3829 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
3830
3831         * tools/Makefile.am:
3832         * tools/gst-launch.1.in:
3833           Add FILES section and correct entry about GST_REGISTRY_PATH
3834           environment variable (#133495; #133494).
3835
3836 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
3837
3838         * tools/Makefile.am:
3839         * tools/gst-md5sum.1.in:
3840         * tools/gst-md5sum.c:
3841           Remove gst-md5sum and man page (the md5sink element
3842           required was removed ages ago)
3843
3844 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
3845
3846         * gst/gststructure.c: (gst_structure_id_set_value):
3847           Make sure that string fields in structures/taglists
3848           contain valid UTF-8 - we don't want to pass rubbish to
3849           applications because of a buggy plugin (cp. #334167).
3850
3851 2006-03-21  Edward Hervey  <edward@fluendo.com>
3852
3853         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
3854         (gst_bin_handle_message_func):
3855         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
3856         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
3857         (gst_element_set_bus_func):
3858         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
3859         * gst/gstminiobject.c: (gst_value_set_mini_object),
3860         (gst_value_take_mini_object):
3861         * gst/gstpad.c: (gst_pad_set_pad_template):
3862         * gst/gstpipeline.c: (gst_pipeline_dispose),
3863         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3864         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
3865         (gst_collect_pads_chain):
3866         * libs/gst/net/gstnettimeprovider.c:
3867         (gst_net_time_provider_set_property):
3868         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
3869         It's in fact all issues with gst_*object_replace().
3870
3871 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
3872
3873         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
3874         
3875         * pkgconfig/gstreamer-check-uninstalled.pc.in:
3876         * pkgconfig/gstreamer-check.pc.in:
3877           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
3878
3879 2006-03-21  Edward Hervey  <edward@fluendo.com>
3880
3881         * gst/gstbuffer.h:
3882         * gst/gstevent.h:
3883         * gst/gstmessage.h:
3884         gst_[buffer|event|message]_ref() macros are replaced by a static
3885         inline functions because gcc-4.1 will about if the return value
3886         isn't used.
3887         * tests/check/gst/gstevent.c: (event_probe):
3888         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
3889
3890 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
3891
3892         * gst/gstutils.h:
3893         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
3894         the type' case. (Closes: #335195 for now). In the future, when we
3895         depend on GLib 2.10, we could also intern the type name using
3896         g_intern_static_string()
3897
3898 2006-03-20  Wim Taymans  <wim@fluendo.com>
3899
3900         * gst/gstbin.c: (gst_bin_handle_message_func),
3901         (bin_query_max_init), (bin_query_position_fold),
3902         (bin_query_position_done), (gst_bin_query):
3903         Position query should also take max of all streams.
3904
3905 2006-03-20  Wim Taymans  <wim@fluendo.com>
3906
3907         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3908         (gst_fake_src_finalize):
3909         Fix leaks in fakesrc.
3910
3911         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
3912         Fix leaks in the testcase.
3913
3914 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
3915
3916         * gst/gst_private.h:
3917           add win32 specific import decoration(__declspec(dllimport)) 
3918           for all extern GstDebugCategory * variables
3919         * win32/common/libgstbase.def:
3920         * win32/common/libgstcontroller.def:
3921         * win32/common/libgstreamer.def:
3922           Add some exports, remove empty lines
3923         * win32/common/libgstdataprotocol.def:
3924         * win32/common/libgstdataprotocol.dsp:
3925         * win32/common/libgstnet.def:
3926         * win32/common/libgstnet.dsp:
3927           new project files and exportation files added
3928         
3929 2006-03-19  Wim Taymans  <wim@fluendo.com>
3930
3931         * tests/check/libs/basesrc.c: (eos_event_counter):
3932         Use proper return value for probe.
3933
3934 2006-03-17  Wim Taymans  <wim@fluendo.com>
3935
3936         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
3937         (gst_pad_push):
3938         Don't leak buffers, caps and pads on negotiation errors.
3939
3940 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
3941
3942         * docs/faq/cvs.xml:
3943         * docs/faq/dependencies.xml:
3944         * docs/faq/developing.xml:
3945         * docs/faq/faq.xml:
3946         * docs/faq/general.xml:
3947         * docs/faq/getting.xml:
3948         * docs/faq/legal.xml:
3949         * docs/faq/troubleshooting.xml:
3950         * docs/faq/using.xml:
3951         Faq review and update.
3952
3953 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
3954
3955         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
3956         (gst_pad_push):
3957         Don't pound the cpu to pieces by checking get_caps when accept_caps
3958         is called with the same caps as the pad already has.
3959         Use GST_DEBUG_OBJECT when outputting caps change information.
3960
3961 2006-03-15  Wim Taymans  <wim@fluendo.com>
3962
3963         * gst/gstclock.c: (gst_clock_class_init):
3964         Fix docs.
3965
3966 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
3967
3968         * gst/gstbuffer.h:
3969         Documentation fix.
3970
3971         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
3972         (gst_pad_accept_caps), (gst_pad_configure_sink),
3973         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
3974         Make the default acceptcaps behaviour be to check the requested 
3975         caps against the gst_pad_get_caps output. 
3976
3977         Ensure that gst_pad_accept_caps is used to check caps when a pad
3978         doesn't have a setcaps function, so that pads automatically refuse 
3979         caps that they don't allow in their pad template. (Fixes #332986)
3980
3981         When a buffer with attached caps is pushed, ensure that the source 
3982         pad receives those caps even if the element didn't call
3983         gst_pad_set_caps first.
3984
3985 2006-03-15  Wim Taymans  <wim@fluendo.com>
3986
3987         * libs/gst/base/gstadapter.c:
3988         Add some docs.
3989
3990 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
3991
3992         * win32/common/libgstbase.def:
3993         * win32/common/libgstcontroller.def:
3994         * win32/common/libgstreamer.def:
3995           Add a whole bunch of missing functions (#334434).
3996
3997 2006-03-14  Wim Taymans  <wim@fluendo.com>
3998
3999         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4000         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
4001         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
4002         Better debug info when we receive a segment event.
4003         Reorganize a bit so we can pass the get_times() results around.
4004         Use the segment format when calculating the running time.
4005         Don't do QoS is sync is disabled or we have no clock or the
4006         element does not want us to sync to the clock.
4007         Don't drop buffers if QoS is disabled for now.
4008
4009 2006-03-14  Wim Taymans  <wim@fluendo.com>
4010
4011         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
4012         Marked the stats property as unimplemented so people don't get
4013         wild ideas.
4014         Add debug message when regression goes wrong.
4015         Added some more docs.
4016
4017 2006-03-14  Wim Taymans  <wim@fluendo.com>
4018
4019         * gst/gstsegment.c: (gst_segment_to_stream_time):
4020         Return correct return type in case of errors.
4021
4022 2006-03-14  Wim Taymans  <wim@fluendo.com>
4023
4024         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
4025           Don't segfault on invalid formats.
4026
4027 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4028
4029         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4030           Can't use gst_segment_to_running_time() when the segment
4031           is not in GST_TIME_FORMAT (like with filesink, for example).
4032           Stops flac encoding pipelines from spewing critical warnings
4033           at EOS (#331248).
4034           
4035 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4036
4037         * gst/gstpipeline.c: (gst_pipeline_class_init):
4038           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
4039
4040         * plugins/elements/gsttypefindelement.c:
4041         (gst_type_find_element_handle_event):
4042           Don't try to typefind empty streams.
4043
4044 2006-03-14  Wim Taymans  <wim@fluendo.com>
4045
4046         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
4047         (gst_base_sink_do_qos):
4048         Separate QoS calculation.
4049         Only drop buffers when lateness is bigger than the 
4050         duration of the buffer.
4051
4052 2006-03-13  Wim Taymans  <wim@fluendo.com>
4053
4054         * gst/gstpipeline.c: (gst_pipeline_set_property),
4055         (gst_pipeline_get_property), (do_pipeline_seek),
4056         (gst_pipeline_change_state), (gst_pipeline_set_delay),
4057         (gst_pipeline_get_delay):
4058         Don't deadlock when reading properties.
4059
4060 2006-03-13  Wim Taymans  <wim@fluendo.com>
4061
4062         * libs/gst/base/gstbasetransform.c:
4063         (gst_base_transform_class_init), (gst_base_transform_init),
4064         (gst_base_transform_sink_event),
4065         (gst_base_transform_sink_eventfunc),
4066         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
4067         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4068         (gst_base_transform_set_property),
4069         (gst_base_transform_get_property),
4070         (gst_base_transform_change_state), (gst_base_transform_update_qos),
4071         (gst_base_transform_set_qos_enabled),
4072         (gst_base_transform_is_qos_enabled):
4073         * libs/gst/base/gstbasetransform.h:
4074         Make basetransform virtual method for src events too.
4075         Handle QOS in basetransform.
4076         API: gst_base_transform_update_qos()
4077         API: gst_base_transform_set_qos_enabled()
4078         API: gst_base_transform_is_qos_enabled()
4079
4080 2006-03-13  Wim Taymans  <wim@fluendo.com>
4081
4082         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4083         (gst_base_sink_do_sync):
4084         Small cleanups.
4085         Use QOS debug category.
4086
4087 2006-03-13  Wim Taymans  <wim@fluendo.com>
4088
4089         * plugins/elements/gstqueue.c:
4090         Very small doc update.
4091
4092 2006-03-13  Wim Taymans  <wim@fluendo.com>
4093
4094         * gst/gst_private.h:
4095         * gst/gstinfo.c: (_gst_debug_init):
4096         Added QOS debug category
4097
4098 2006-03-13  Wim Taymans  <wim@fluendo.com>
4099
4100         * docs/gst/gstreamer-sections.txt:
4101         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
4102         * gst/gstbin.h:
4103         * gst/gstbus.c: (gst_bus_class_init):
4104         * gst/gstbus.h:
4105         * gst/gstclock.c:
4106         * gst/gstelement.c: (gst_element_set_locked_state):
4107         * gst/gstsegment.c:
4108         Documentation updates.
4109
4110         * gst/gstpipeline.c: (gst_pipeline_get_type),
4111         (gst_pipeline_class_init), (gst_pipeline_init),
4112         (gst_pipeline_dispose), (gst_pipeline_set_property),
4113         (gst_pipeline_get_property), (do_pipeline_seek),
4114         (gst_pipeline_send_event), (gst_pipeline_change_state),
4115         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
4116         (gst_pipeline_get_delay):
4117         * gst/gstpipeline.h:
4118         Added methods for setting the delay.
4119         API: gst_pipeline_set_delay()
4120         API: gst_pipeline_get_delay()
4121         Add pipeline debug category
4122         Various cleanups.
4123         Updated docs.
4124         Don't reset stream time when seek failed.
4125
4126 2006-03-13  Wim Taymans  <wim@fluendo.com>
4127
4128         * docs/design/draft-klass.txt:
4129         * docs/design/part-clocks.txt:
4130         * docs/design/part-events.txt:
4131         * docs/design/part-gstbin.txt:
4132         * docs/design/part-gstpipeline.txt:
4133         * docs/design/part-messages.txt:
4134         * docs/design/part-negotiation.txt:
4135         * docs/design/part-overview.txt:
4136         * docs/design/part-preroll.txt:
4137         * docs/design/part-seeking.txt:
4138         * docs/design/part-states.txt:
4139         * docs/design/part-streams.txt:
4140         Documentation updates.
4141
4142 2006-03-12  Julien MOUTTE  <julien@moutte.net>
4143
4144         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
4145         us to leak strings...
4146
4147 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4148
4149         * libs/gst/net/gstnettimeprovider.c:
4150           fix docs
4151         * win32/common/config.h:
4152           update
4153
4154 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
4155
4156         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
4157
4158         * configure.ac:
4159           Don't check for libgnomeui (leftover from old examples
4160           that aren't built or disted any longer) (#334303).
4161           
4162 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
4163
4164         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4165         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4166           Emit RESOURCE_NO_SPACE_LEFT error here as well when
4167           there's no space left on the device.
4168
4169 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
4170
4171         * gst/gstclock.h:
4172           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
4173           to cast the input to GstClockTime before comparing with
4174           another GstClockTime value.
4175
4176 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4177
4178         * configure.ac:
4179           back to trunk
4180
4181 === release 0.10.4 ===
4182
4183 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
4184
4185         * configure.ac:
4186           releasing 0.10.4, "Light"
4187
4188 2006-03-10  Michael Smith  <msmith@fluendo.com>
4189
4190         * libs/gst/dataprotocol/dataprotocol.c:
4191           Fix docs for dataprocotol to not get the return types completely
4192           wrong for a few functions.
4193
4194 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4195
4196         * docs/gst/gstreamer-sections.txt:
4197         * gst/gstpipeline.c: (gst_pipeline_class_init),
4198         (gst_pipeline_init), (gst_pipeline_set_property),
4199         (gst_pipeline_get_property), (gst_pipeline_change_state),
4200         (gst_pipeline_set_auto_flush_bus),
4201         (gst_pipeline_get_auto_flush_bus):
4202         * gst/gstpipeline.h:
4203           Add new API: gst_pipeline_set_auto_flush_bus() and
4204           gst_pipeline_get_auto_flush_bus() to disable automatic
4205           flushing of the pipeline's GstBus when going from READY
4206           to NULL state (#332045).
4207
4208 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4209
4210         * docs/gst/gstreamer-sections.txt:
4211         * gst/gsturi.c: (gst_uri_has_protocol):
4212         * gst/gsturi.h:
4213            Add new API: gst_uri_has_protocol() (#333779).
4214
4215 2006-03-09  Wim Taymans  <wim@fluendo.com>
4216
4217         * gst/gstclock.c: (gst_clock_entry_new),
4218         (gst_clock_id_compare_func), (gst_clock_id_wait),
4219         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
4220         (gst_clock_init), (gst_clock_get_internal_time),
4221         (gst_clock_set_master), (do_linear_regression),
4222         (gst_clock_add_observation), (gst_clock_set_property):
4223         * gst/gstclock.h:
4224         Review docs.
4225         Small cleanups.
4226         Fix a possible segfault when the window-size is made smaller.
4227         Calculate jitter before performing the clock wait. Ideally
4228         the clock implementation should calculate jitter but we need
4229         API breakage for that.
4230
4231         * gst/gstsystemclock.c: (gst_system_clock_init):
4232         Docs review.
4233         
4234         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4235         Remove leftover else
4236
4237         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4238         (gst_systemclock_suite):
4239         Added check to test GST_CLOCK_DIFF.
4240
4241 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4242
4243         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
4244         (gst_type_find_helper_get_range):
4245           If we are provided with the size, we should implement
4246           GstTypeFind::get_length, so that typefind functions who
4247           want to can actually peek at the middle of a file.
4248
4249 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
4250
4251         * docs/manual/advanced-dataaccess.xml:
4252           Add some very very basic error checking.
4253
4254         * docs/pwg/appendix-checklist.xml:
4255           Some updates to the list of things to check when writing an element.
4256
4257 2006-03-08  Wim Taymans  <wim@fluendo.com>
4258
4259         * docs/design/part-element-transform.txt:
4260         Added some docs about the design of tranform elements.
4261
4262         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4263         (gst_base_src_loop), (gst_base_src_change_state):
4264         Mark buffers with the DISCONT flag.
4265
4266 2006-03-08  Michael Smith  <msmith@fluendo.com>
4267
4268         * gst/gstregistry.h:
4269         * gst/gstregistryxml.c: (gst_registry_save),
4270         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
4271         (gst_registry_xml_save_pad_template),
4272         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
4273         (gst_registry_xml_write_cache):
4274           Rewrite registry-saving to avoid race conditions and check for
4275           failed writes.
4276
4277 2006-03-08  Wim Taymans  <wim@fluendo.com>
4278
4279         * libs/gst/base/gstbasetransform.c:
4280         (gst_base_transform_transform_caps),
4281         (gst_base_transform_transform_size),
4282         (gst_base_transform_prepare_output_buffer),
4283         (gst_base_transform_get_unit_size),
4284         (gst_base_transform_buffer_alloc),
4285         (gst_base_transform_handle_buffer),
4286         (gst_base_transform_change_state):
4287         Cleanups, separate normal flow from errors, add sensible
4288         DEBUG lines.
4289         Don't try to renegotiate when allocating an output buffer.
4290         Also copy DISCONT buffer flag when copying a buffer.
4291         Reset the transform after we finish streaming, not during.
4292
4293 2006-03-08  Wim Taymans  <wim@fluendo.com>
4294
4295         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4296         Use last buffer timestamp in qos message.
4297
4298 2006-03-07  Wim Taymans  <wim@fluendo.com>
4299
4300         Patch by: Christophe Fergeau
4301
4302         * docs/pwg/advanced-tagging.xml:
4303         * docs/pwg/building-pads.xml:
4304           fixes #333416
4305
4306 2006-03-07  Wim Taymans  <wim@fluendo.com>
4307
4308         * docs/libs/gstreamer-libs-sections.txt:
4309         Added basesink new methods.
4310
4311         * gst/gstevent.c:
4312         * gst/gstevent.h:
4313         Docs updates. Flesh out the QoS docs.
4314
4315         * libs/gst/base/gstadapter.c:
4316         Small doc clarification about ownership and flushing.
4317
4318         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
4319         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4320         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
4321         (gst_base_sink_get_property), (gst_base_sink_do_sync):
4322         * libs/gst/base/gstbasesink.h:
4323         API additions: 
4324         Added new methods to allow subclass to control max-lateness 
4325         and sync.
4326         Generate very basic QoS events based on last sync observation.
4327         Updated docs, fix typo, added some QoS blurb.
4328
4329         * libs/gst/base/gstbasesrc.c:
4330         Remove obsolete _get_state() calls from docs.
4331
4332 2006-03-07  Wim Taymans  <wim@fluendo.com>
4333
4334         * docs/libs/gstreamer-libs-sections.txt:
4335         * libs/gst/base/gstbasetransform.h:
4336         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
4337         Fix docs for GstBaseSrc.
4338
4339 2006-03-07  Wim Taymans  <wim@fluendo.com>
4340
4341         * docs/gst/gstreamer-sections.txt:
4342         * gst/gstbuffer.h:
4343         * gst/gstvalue.c:
4344         * libs/gst/base/gstbasetransform.h:
4345         Small documentation fixes.
4346
4347 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4348
4349         * gst/gstvalue.c:
4350           Document thread-unsafety of gst_value_register_foo_func()
4351           when used at the same time as gst_value_foo() (#322628).
4352
4353 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4354
4355         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
4356         (gst_push_src_check_get_range):
4357           Push sources don't support pull mode by default.
4358
4359 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
4360
4361         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4362         (gst_base_src_init), (gst_base_src_pad_check_get_range),
4363         (gst_base_src_default_check_get_range):
4364         * libs/gst/base/gstbasesrc.h:
4365           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
4366           provide default implementation, and rename
4367           gst_base_src_check_get_range() to
4368           gst_base_src_pad_check_get_range() for clarity.
4369
4370 2006-03-06  Wim Taymans  <wim@fluendo.com>
4371
4372         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4373         Make property overridable.
4374
4375 2006-03-06  Wim Taymans  <wim@fluendo.com>
4376
4377         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4378         (gst_base_sink_init), (gst_base_sink_set_property),
4379         (gst_base_sink_get_property), (gst_base_sink_do_sync):
4380         * libs/gst/base/gstbasesink.h:
4381         API addition: Make max-lateness a property.
4382
4383 2006-03-06  Wim Taymans  <wim@fluendo.com>
4384
4385         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
4386         (gst_base_sink_do_sync), (gst_base_sink_render_object):
4387         Don't ever draw a frame that is >10ms late.
4388
4389 2006-03-06  Michael Smith  <msmith@fluendo.com>
4390
4391         * gst/gstmessage.c: (_gst_message_copy):
4392           When copying a message, set the parent_refcount of the enclosed
4393           structure to point at the copy, not the original message.
4394
4395 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
4396
4397         Patch by: Christophe Fergeau
4398
4399         * gst/gstutils.h:
4400           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
4401           usable in c++ code (#333417)
4402
4403 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4404
4405         * gst/gstclock.h:
4406           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
4407
4408 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
4409
4410         * libs/gst/base/gstbasetransform.c:
4411         (gst_base_transform_transform_caps):
4412           Make sure caps are writable before passing them to
4413           gst_caps_append().
4414
4415 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
4416
4417         * gst/gsterror.h:
4418           Fix some minor docs errors.
4419
4420 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
4421
4422           Patch by: Ross Burton <ross at burtonini dot com>
4423
4424         * gst/gsterror.c: (_gst_resource_errors_init):
4425         * gst/gsterror.h:
4426           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
4427
4428 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
4429
4430         * gst/gst.c:
4431         Add a check and output a g_warning when GStreamer is built
4432         against GLib 2.6 but running against 2.8 or higher, and vice 
4433         versa. (Closes: #323542)
4434
4435 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
4436
4437         * gst/parse/parse.l:
4438           Commit patch for parse_launch syntax from #331255. Removes 
4439           support for quoted strings and mimetypes when writing filtered 
4440           caps. See the bug report for more details - I'm pretty sure this
4441           obscure feature is not in use by _anyone_ anywhere.
4442
4443           With this simple change, the size of the gstreamer.so here 
4444           drops from 2193KB to 1565KB.
4445
4446 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4447
4448         * plugins/elements/gsttypefindelement.h:
4449         * plugins/elements/gsttypefindelement.c:
4450         (gst_type_find_element_src_event), (start_typefinding),
4451         (stop_typefinding), (gst_type_find_element_handle_event),
4452         (gst_type_find_element_chain),
4453         (gst_type_find_element_chain_do_typefinding):
4454           Use gst_type_find_helper_for_buffer() for chain-based
4455           typefinding.
4456
4457 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4458
4459         * plugins/elements/gsttypefindelement.c:
4460         (gst_type_find_element_class_init),
4461         (gst_type_find_element_set_property),
4462         (gst_type_find_element_get_property):
4463           Deprecate "maximum" property (not only was it only taken into
4464           account for typefinding in push-mode anyway, it also was never
4465           actually possible to set it in the first place because the
4466           property was registered with the numeric property ID for the
4467           "minimum" property). Register "maximum" property correctly,
4468           for the sake of future copy'n'pasters. Remove some cruft
4469           from property get/set functions.
4470
4471 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4472
4473         * plugins/elements/gsttypefindelement.c:
4474         (gst_type_find_element_activate):
4475           Use gst_type_find_helper_get_range() here, so we
4476           can honour the "minimum" property and also emit
4477           the signal with the correct probability of the found caps.
4478
4479 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
4480
4481         * docs/libs/gstreamer-libs-sections.txt:
4482         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
4483         (helper_find_suggest), (gst_type_find_helper_get_range),
4484         (gst_type_find_helper):
4485         * libs/gst/base/gsttypefindhelper.h:
4486           New API: gst_type_find_helper_get_range() (#333042).
4487
4488 2006-03-02  Michael Smith  <msmith@fluendo.com>
4489
4490         * gst/gstregistryxml.c: (load_feature):
4491           Asserting on a failure to read part of the registry is Not Cool.
4492           Just log a warning and return NULL (which is already handled)
4493
4494 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
4495
4496         * win32/common/libgstbase.def:
4497           added export of gst_type_find_helper_for_buffer
4498         * win32/common/libgstbase.def:
4499           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
4500           gst_ghost_pad_get_target
4501
4502 2006-02-28  Wim Taymans  <wim@fluendo.com>
4503
4504         * docs/design/draft-klass.txt:
4505         We use Filter now.
4506         Added Connector to mark elements that are only used to
4507         allow pipeline connections.
4508         Moved Debug to extra feature since most of them are 
4509         functionally something else.
4510
4511 2006-02-28  Wim Taymans  <wim@fluendo.com>
4512
4513         * docs/design/draft-klass.txt:
4514         Some updates and clarifications.
4515
4516 2006-02-28  Wim Taymans  <wim@fluendo.com>
4517
4518         * docs/design/draft-klass.txt:
4519         Proposal for klass field values.
4520
4521         * docs/design/part-streams.txt:
4522         Start of a doc describing stream anatomy.
4523
4524 2006-02-28  Wim Taymans  <wim@fluendo.com>
4525
4526         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
4527         Help the compiler a bit with type registration.
4528         Use existing forward cod path instead of duplicating it when 
4529         handling a message.
4530         
4531         * gst/gstbus.c: (gst_bus_get_type):
4532         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
4533         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
4534         * gst/gstclock.c: (gst_clock_get_type):
4535         * gst/gstelement.c: (gst_element_get_type),
4536         * gst/gstelementfactory.c: (gst_element_factory_get_type):
4537         * gst/gstindexfactory.c: (gst_index_factory_get_type):
4538         * gst/gstminiobject.c: (gst_mini_object_get_type):
4539         * gst/gstpad.c: (gst_pad_get_type):
4540         * gst/gstsegment.c: (gst_segment_get_type):
4541         * gst/gststructure.c: (gst_structure_get_type):
4542         * gst/gstsystemclock.c: (gst_system_clock_get_type):
4543         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
4544         * gst/gstvalue.c:
4545         Help compiler with type registration.
4546
4547         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4548         Small doc update.
4549
4550 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4551
4552         * plugins/elements/gsttypefindelement.c:
4553         (gst_type_find_element_handle_event):
4554           When we get an EOS event and have not found a type yet
4555           (most likely because we had not yet accumulated
4556           TYPE_FIND_MIN_SIZE of data yet), try to determine the
4557           type given the data we have so far. Fixes typefinding
4558           for very short streams again, most notably quicktime
4559           redirections as used on Apple's trailer site (#331701).
4560
4561 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4562
4563         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
4564         (gst_type_find_helper):
4565           Try typefinding factories with the highest rank first.
4566
4567 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4568
4569         * docs/libs/gstreamer-libs-docs.sgml:
4570         * docs/libs/gstreamer-libs-sections.txt:
4571         * libs/gst/base/gsttypefindhelper.c:
4572           Add section for typefind helper and add documentation
4573           for the old and the new function.
4574
4575 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4576
4577         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
4578         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
4579         (gst_type_find_helper_for_buffer):
4580         * libs/gst/base/gsttypefindhelper.h:
4581           New API: gst_type_find_helper_for_buffer() (#332723).
4582           
4583 2006-02-27  Michael Smith  <msmith@fluendo.com>
4584
4585         Patch by: Loïc Minier
4586
4587         * configure.ac:
4588         * docs/Makefile.am:
4589         * docs/slides/Makefile.am:
4590           prevent CVS directories getting disted.
4591
4592 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4593
4594         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
4595           Use the REFCOUNTING category for caps refcounting.
4596           
4597 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
4598
4599         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
4600           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
4601
4602 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
4603
4604         * plugins/elements/gsttypefindelement.c:
4605         (gst_type_find_element_activate):
4606           Use gst_pad_check_pull_range() before _activate_pull()
4607           to avoid unnecessary open/close (see #331690).
4608
4609 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
4610
4611         * gst/gstutils.c:
4612           Docs enhancement: make it crystal clear what the
4613           gst_pad_add_*_probe() callbacks should look like.
4614
4615 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
4616
4617         * libs/gst/base/gstbasesrc.c:
4618           Document how applications can stop recording from
4619           live sources (see #330996).
4620
4621 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4622
4623         * tests/check/Makefile.am:
4624         * tests/check/libs/basesrc.c: (eos_event_counter),
4625         (basesrc_eos_events_pull), (basesrc_eos_events_push),
4626         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
4627         (gst_basesrc_suite), (main):
4628           ... and add some tests for the base source EOS stuff.
4629
4630 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4631
4632         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
4633           Test case originally showed the problem fixed below,
4634           but was then amended. Add checks back at the place
4635           where they used to be.
4636
4637 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4638
4639         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4640         (gst_base_src_init), (gst_base_src_loop),
4641         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4642         (gst_base_src_change_state):
4643         * libs/gst/base/gstbasesrc.h:
4644           Don't unconditionally send EOS when going from PAUSED to
4645           READY state, esp. make sure we don't send two EOS events
4646           in some cases (e.g. one when reaching EOS and one when
4647           going from PAUSED to READY). Also, we don't want to send
4648           EOS events when operating in pull mode. However, we do
4649           want to send an EOS event when shutting down a live
4650           source explicitly, for example (fixes #330996).
4651           
4652 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4653
4654         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4655           Update src->read_position after a seek when not using mmap.
4656           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
4657
4658 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
4659
4660         * gst/Makefile.am:
4661         * gst/gstparse.h:
4662         * gst/gstutils.c:
4663         * gst/gstutils.h:
4664         Make things work with --disable-parse as they do with 
4665         --disable-load-save - the symbols involved disappear, but the
4666         header is still installed and GST_DISABLE_PARSE is included via
4667         gstconfig.h
4668
4669 2006-02-20  Julien MOUTTE  <julien@moutte.net>
4670
4671         * libs/gst/base/gstbasetransform.c:
4672         (gst_base_transform_change_state): Fix a stupid bug. I was 
4673         sure I compiled that.
4674
4675 2006-02-20  Julien MOUTTE  <julien@moutte.net>
4676
4677         * gst/gstpad.c: (gst_pad_set_blocked_async):
4678         * gst/gstutils.c: (gst_pad_add_data_probe),
4679         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4680         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4681         (gst_pad_remove_buffer_probe): Make those function act on the
4682         ghostpad target when it's a ghostpad. (Closes #331727)
4683
4684 2006-02-20  Julien MOUTTE  <julien@moutte.net>
4685
4686         * libs/gst/base/gstbasetransform.c:
4687         (gst_base_transform_change_state): Make basetransform reusable.
4688         (Closes #331898)
4689
4690 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
4691
4692         * docs/random/release:
4693         Move the current documentation of how to do a release to the top
4694         of the file.
4695
4696         * gst/gstbin.c: (gst_bin_class_init),
4697         (gst_bin_handle_message_func):
4698         Allow multiple state-recalculation threads. (Closes #328873)
4699
4700 2006-02-19  Julien MOUTTE  <julien@moutte.net>
4701
4702         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
4703         * gst/gstpad.c: (gst_pad_set_event_function),
4704         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4705         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
4706         2 strings. You can't use the STR_NULL macro on that.
4707
4708 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
4709
4710         * gst/gstpad.c: (gst_pad_set_event_function),
4711         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4712         (gst_pad_set_getcaps_function)
4713         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
4714           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
4715           So now, we can use --gst-debug-level=5 on Windows
4716         * win32/common/libgstcontroller.def:
4717           Added export of gst_controller_init
4718         * win32/vs6/libgstcontroller.dsp:
4719           Fixed Release post build configuration
4720
4721 2006-02-17  Wim Taymans  <wim@fluendo.com>
4722
4723         * tests/check/gst/gstquery.c: (GST_START_TEST):
4724         Added another check.
4725
4726 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
4727
4728         * plugins/elements/gsttypefindelement.c: (find_peek):
4729           We can do peeks at non-zero offsets, as long as they
4730           fall within the buffer we have.
4731
4732 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
4733
4734         * tests/check/Makefile.am:
4735         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
4736         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
4737         (parse_suite), (main):
4738           Add testsuite for parse launch syntax
4739
4740 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
4741
4742         * plugins/elements/gsttypefindelement.c:
4743         (gst_type_find_element_chain):
4744           When typefinding is unsuccessful in the chain function, don't
4745           error out immediately. Only error out with NO_CAPS_FOUND if
4746           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
4747           otherwise simply wait for more data so we can try typefinding
4748           again with more data later. Also, don't attempt to typefind
4749           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
4750           this should improve typefinding from network sources where the
4751           size of the first buffer can be somewhat random.
4752
4753 2006-02-14  Wim Taymans  <wim@fluendo.com>
4754
4755         * docs/gst/gstreamer-sections.txt:
4756         * gst/gstpadtemplate.c:
4757         * gst/gstpadtemplate.h:
4758         Fix padtemplate docs, fixes #328805.
4759
4760 2006-02-14  Wim Taymans  <wim@fluendo.com>
4761
4762         * tools/gst-launch.c: (main):
4763         NO_PREROLL is not an ERROR so don't send confusing messages
4764         to the user.
4765
4766 2006-02-14  Wim Taymans  <wim@fluendo.com>
4767
4768         Patch by: Torsten Schoenfeld
4769
4770         * gst/gstregistry.c: (gst_registry_get_default),
4771         (_gst_registry_cleanup):
4772         Protect default registry with lock and ref/sink it.
4773         Fixes #324818
4774
4775 2006-02-14  Wim Taymans  <wim@fluendo.com>
4776
4777         * gst/gstbuffer.c:
4778         * gst/gstquery.c: (gst_query_list_add_format),
4779         (gst_query_set_formatsv), (gst_query_parse_formats_length),
4780         (gst_query_parse_formats_nth):
4781         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4782         Docs fixes.
4783
4784 2006-02-14  Wim Taymans  <wim@fluendo.com>
4785
4786         * docs/gst/gstreamer-sections.txt:
4787         Reworked query docs.
4788
4789         * gst/gstquery.c: (gst_query_new_formats),
4790         (gst_query_list_add_format), (gst_query_set_formats),
4791         (gst_query_set_formatsv), (gst_query_parse_formats_length),
4792         (gst_query_parse_formats_nth):
4793         * gst/gstquery.h:
4794         Flesh out formats query, added some new methods.
4795         Fix part of #324398.
4796
4797         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
4798         Added query creation tests.
4799
4800 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
4801
4802         * gst/gstpad.c: (fixate_value):
4803         Add a default fixation for fraction lists.
4804
4805 2006-02-13  Wim Taymans  <wim@fluendo.com>
4806
4807         * gst/gsttask.c: (gst_task_init), (gst_task_func),
4808         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
4809         (gst_task_join):
4810         * gst/gsttask.h:
4811         Detect and warn for obvious deadlocks. fixes #320340
4812         Fix error case where lock was not released.
4813
4814         * tests/check/Makefile.am:
4815         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
4816         (task_func), (gst_element_suite), (main):
4817         Add task check.
4818
4819 2006-02-13  Wim Taymans  <wim@fluendo.com>
4820
4821         * docs/gst/gstreamer-sections.txt:
4822         * gst/gstbus.c:
4823         Add new functions to docs.
4824
4825 2006-02-13  Wim Taymans  <wim@fluendo.com>
4826
4827         * docs/design/part-TODO.txt:
4828         Updated TODO list, basesrc supports seeking to non-bytes
4829         formats.
4830
4831         * docs/design/part-element-sink.txt:
4832         Update docs.
4833
4834         * gst/gstbin.c: (bin_replace_message),
4835         (gst_bin_handle_message_func):
4836         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
4837         * gst/gstevent.c: (gst_event_finalize):
4838         * gst/gstpad.c: (gst_pad_event_default_dispatch),
4839         (gst_pad_send_event):
4840         Use shiny new _TYPE_NAME macros.
4841
4842         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
4843         Move debug statement up.
4844
4845         * gst/gstelement.c: (gst_element_set_locked_state):
4846         Add some debugging.
4847
4848 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
4849
4850         * docs/gst/gstreamer-sections.txt:
4851         * gst/gstmessage.h:
4852         * gst/gstquery.h:
4853           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
4854           macros (#330906). Also, document the already existing
4855           GST_QUERY_TYPE macro.
4856
4857 2006-02-13  Wim Taymans  <wim@fluendo.com>
4858
4859         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
4860         (event_probe), (GST_START_TEST):
4861         Only events up to the pipeline EOS are counted, there are
4862         some more when going to NULL currently which we don't care
4863         about for now.
4864
4865 2006-02-13  Wim Taymans  <wim@fluendo.com>
4866
4867         * gst/gstpad.c: (gst_pad_send_event):
4868         Correctly check flushing and emit probes. fixes #330125
4869
4870 2006-02-10  Andy Wingo  <wingo@pobox.com>
4871
4872         * gst/gstbus.c (gst_bus_class_init): Declare our private data
4873         structure.
4874         (gst_bus_init): Cache the location of the private data in the
4875         instance structure.
4876         (gst_bus_enable_sync_message_emission) 
4877         (gst_bus_disable_sync_message_emission): Implement new public
4878         functions.
4879         (gst_bus_post): Emit the sync-message signal if the user asked for
4880         it. Fixes #330684.
4881
4882         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
4883         location of the bus-private structure.
4884         (gst_bus_enable_sync_message_emission)
4885         (gst_bus_disable_sync_message_emission): API addition
4886
4887 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
4888
4889         Patch by: Vincent Torri
4890
4891         * docs/pwg/building-boiler.xml:
4892         PWG patch from #326800
4893
4894 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
4895
4896         * configure.ac:
4897         * docs/Makefile.am:
4898         * docs/design/Makefile.am:
4899           Dist design docs.
4900
4901 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
4902
4903         * configure.ac:
4904           back to CVS
4905
4906 === release 0.10.3 ===
4907
4908 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
4909
4910         * configure.ac:
4911           releasing 0.10.3, "Like a virgin"
4912
4913 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
4914
4915         * configure.ac:
4916           2nd prerelease of 0.10.3
4917           Bump libtool versioning.
4918
4919 2006-02-07  Andy Wingo  <wingo@pobox.com>
4920
4921         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
4922         update last_stop if we're in TIME format and the timestamp is
4923         valid.
4924
4925         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
4926         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
4927         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
4928         If we get a new newsegment with a different format, adapt
4929         accordingly.
4930
4931         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
4932         of 0. Not a problem, really.
4933
4934         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
4935         warn if sync=true.
4936
4937 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
4938
4939         * configure.ac:
4940           Prelease of 0.10.3
4941
4942 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
4943
4944         * win32/vs7:
4945           project files updated to the default vs7 configuration
4946         * win32/common/libgstbase.def:
4947         * win32/common/libgstreamer.def:
4948           added new symbols,
4949           removed empty lines,
4950           sorted all exported symbols alphabetically
4951         * win32/common/dirent.c:
4952         * win32/common/dirent.h:
4953         * win32/common/gchar.h:
4954           use windows line end.
4955           
4956 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
4957
4958         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4959           Send EOS event when stopping.
4960
4961 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
4962
4963         * docs/README:
4964           Tell folks what to do if the plugin-foobar.xml file
4965           hasn't been generated for a newly-added plugin.
4966
4967 2006-02-05  Julien MOUTTE  <julien@moutte.net>
4968
4969         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4970         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
4971         (gst_collect_pads_start), (gst_collect_pads_stop),
4972         (gst_collect_pads_event): Collectpads now holds a reference
4973         to the GstPad that was added. Indeed we don't want to look
4974         at pads that might just go away with no warning...
4975
4976 2006-02-05  Julien MOUTTE  <julien@moutte.net>
4977
4978         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
4979         (gst_collect_pads_start), (gst_collect_pads_stop),
4980         (gst_collect_pads_event), (gst_collect_pads_chain):
4981         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
4982         Mark Nauwelaerts's patch on bug #328491.
4983
4984 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
4985
4986         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
4987         (gst_utils_suite):
4988           Add some simple tests for gst_parse_bin_from_description() and
4989           gst_bin_find_unconnected_pad() (#329069).
4990
4991 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
4992
4993         * tools/gst-launch.c: (event_loop), (main):
4994           Catch errors during preroll (#320084).
4995
4996 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
4997
4998         * plugins/elements/gsttypefindelement.c:
4999         (gst_type_find_element_activate):
5000           Post TYPE_NOT_FOUND error message when typefinding
5001           is unsuccessful in the activate function as well.
5002
5003 2006-02-02  Wim Taymans  <wim@fluendo.com>
5004
5005         * docs/design/part-element-sink.txt:
5006         Updated doc.
5007
5008 2006-02-02  Wim Taymans  <wim@fluendo.com>
5009
5010         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
5011         (gst_base_sink_render_object),
5012         (gst_base_sink_queue_object_unlocked):
5013         Only keep track of prerollable items when we are 
5014         prerolling.
5015         Before rendering after preroll, always check if we
5016         have queued items.
5017         Added some more debugging.
5018
5019 2006-02-02  Wim Taymans  <wim@fluendo.com>
5020
5021         * gst/gstelement.c: (gst_element_continue_state),
5022         (gst_element_set_state_func), (gst_element_change_state):
5023         Fixed #326576, been running this for quite some time with
5024         no regressions at all.
5025
5026 2006-02-02  Wim Taymans  <wim@fluendo.com>
5027
5028         * common/gst.supp:
5029         Added more suppressions
5030
5031 2006-02-02  Wim Taymans  <wim@fluendo.com>
5032
5033         * docs/design/part-element-sink.txt:
5034         Updated document.
5035
5036         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5037         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
5038         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
5039         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
5040         (gst_base_sink_do_sync), (gst_base_sink_render_object),
5041         (gst_base_sink_preroll_object),
5042         (gst_base_sink_queue_object_unlocked),
5043         (gst_base_sink_queue_object), (gst_base_sink_event),
5044         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
5045         (gst_base_sink_loop), (gst_base_sink_activate_pull),
5046         (gst_base_sink_get_position), (gst_base_sink_change_state):
5047         * libs/gst/base/gstbasesink.h:
5048         Totally refactored matching the design doc.
5049         Use two segments, one to clip incomming buffers and another to
5050         perform sync.
5051         Handle queueing correctly, bypass the queue when playing.
5052         Make EOS cancelable.
5053         Handle errors correctly when operating in pull based mode.
5054
5055         * tests/check/elements/fakesink.c: (GST_START_TEST),
5056         (fakesink_suite):
5057         Added new check for sinks.
5058
5059 2006-02-02  Wim Taymans  <wim@fluendo.com>
5060
5061         * gst/gstsegment.c: (gst_segment_clip):
5062         No reason to refuse to clip when start == -1
5063
5064 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
5065
5066         * docs/README:
5067         * docs/manual/intro-basics.xml:
5068         * docs/manual/intro-preface.xml:
5069         * docs/manual/manual.xml:
5070         * docs/pwg/advanced-dparams.xml:
5071         * docs/pwg/intro-basics.xml:
5072         * docs/pwg/intro-preface.xml:
5073         * docs/pwg/pwg.xml:
5074           describe dparams (controller) for plugins
5075           unify docs a little more
5076
5077 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
5078
5079         * docs/gst/gstreamer-sections.txt:
5080         * gst/gstutils.c: (element_find_unconnected_pad),
5081         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
5082         * gst/gstutils.h:
5083           Add new API: gst_parse_bin_from_description() and
5084           gst_bin_find_unconnected_pad() (#329069).
5085
5086 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
5087
5088         * docs/manual/README:
5089           uncover a nasty detail of the docs build
5090
5091 2006-01-31  Wim Taymans  <wim@fluendo.com>
5092
5093         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
5094         Don't cache duration messages if we're not going to use or
5095         free them.
5096
5097 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
5098
5099         * docs/manual/advanced-dparams.xml:
5100         * docs/pwg/advanced-dparams.xml:
5101           more dparam docs
5102         * gst/gstindex.c:
5103           fix docs
5104         * libs/gst/controller/lib.c: (gst_controller_init):
5105           init just once
5106
5107 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
5108
5109         * gst/gstelement.c: (gst_element_message_full):
5110           also show file/line/func if no additional debug was given
5111
5112 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
5113         
5114         * win32/vs7/grammar.vcproj:
5115           activate copy of autogenerated files for Release mode
5116
5117 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
5118         
5119         * win32/common/libgstreamer.def:
5120           export gst_value_compare
5121
5122 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
5123
5124         * plugins/elements/Makefile.am:
5125         * plugins/elements/gstelements.c:
5126         * plugins/elements/gstfdsink.c: (_do_init),
5127         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
5128         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
5129         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
5130         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
5131         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
5132         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
5133         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
5134         * plugins/elements/gstfdsink.h:
5135         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
5136
5137 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
5138
5139         * docs/manual/advanced-dparams.xml:
5140           describe controller
5141         * docs/manual/advanced-position.xml:
5142         * docs/manual/basics-init.xml:
5143         * docs/manual/manual.xml:
5144         * docs/manual/titlepage.xml:
5145         * docs/pwg/pwg.xml:
5146         * docs/pwg/titlepage.xml:
5147           cleanup xml (more to come)
5148         * libs/gst/controller/gstcontroller.c:
5149           fix typo
5150
5151 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
5152         
5153         * win32/vs6/grammar.dsp:
5154           add autogen of gstmarshal.c,h for Release mode
5155                 
5156 2006-01-30  Wim Taymans  <wim@fluendo.com>
5157
5158         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5159         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
5160         (gst_base_sink_handle_object), (gst_base_sink_event),
5161         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
5162         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5163         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
5164         (gst_base_sink_deactivate), (gst_base_sink_activate),
5165         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
5166         (gst_base_sink_query), (gst_base_sink_change_state):
5167         Basesink cleanups, remove some old code.
5168         Handle the case where a subclass can preroll in the render
5169         method (mostly audiosinks).
5170         Handle more events.
5171         Remove some locks around variables that are now protected
5172         with the PREROLL_LOCK (clock_id, flushing, ..).
5173         Optimize position query some more, do correct locking.
5174         Remove old code to push queue in state change, this is not
5175         needed anymore since preroll blocks on all prerollable items 
5176         now.
5177         Almost implemented as described in design doc.
5178
5179 2006-01-30  Wim Taymans  <wim@fluendo.com>
5180
5181         * tests/check/gst/gstbin.c: (GST_START_TEST):
5182         Wait for refcount to settle down before checking.
5183
5184 2006-01-30  Wim Taymans  <wim@fluendo.com>
5185
5186         * docs/design/part-element-sink.txt:
5187         Pseudo code overview of desired sink behaviour regarding
5188         preroll.
5189
5190 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5191         * win32/vs6/grammar.dsp:
5192           fix some bugs in Release mode for autogenerated files
5193                 
5194 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5195         * win32/common/libgstbase.def:
5196         * win32/common/libgstreamer.def:
5197           export some new symbols: gst_base_src_set_format,
5198           gst_iterator_next, gst_structure_set_valist
5199
5200 2006-01-29  Julien MOUTTE  <julien@moutte.net>
5201
5202         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
5203         Set pad functions unconditionally. Fixes #329105.
5204
5205 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5206         * win32/vs8:
5207           add vs8 project files created by Sergey Scobich
5208
5209 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
5210
5211         * gst/gstutils.c: (gst_element_unlink_pads):
5212         Don't leak pad references.
5213
5214         * tests/check/elements/fakesink.c: (GST_START_TEST):
5215         * tests/check/generic/sinks.c: (GST_START_TEST):
5216         * tests/check/generic/states.c: (GST_START_TEST):
5217         * tests/check/gst/gstbin.c: (GST_START_TEST):
5218         * tests/check/gst/gstcaps.c: (GST_START_TEST):
5219         * tests/check/gst/gstelement.c: (GST_START_TEST):
5220         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5221         * tests/check/gst/gstiterator.c: (GST_START_TEST):
5222         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5223         Fix a bunch of leaks. Make generic/sinks.c
5224         use a bit less cpu by slowing the buffer rate
5225         between fakesrc and fakesink.
5226         
5227 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
5228         * gst/gstcaps.c:
5229         * gst/gstelement.c: (gst_element_send_event):
5230         * gst/gstevent.c:
5231         * gst/gstinfo.c:
5232         * gst/gstiterator.c:
5233         * gst/gstiterator.h:
5234         * gst/gstpad.c: (gst_pad_send_event):
5235         * gst/gststructure.c:
5236         * gst/gsturi.c:
5237         * gst/gstutils.c:
5238         * gst/gstvalue.c:
5239         * libs/gst/base/gstadapter.c:
5240           doc fixes, to link to function, just write gst_cool_function(), don't
5241           prefix with '#'
5242
5243 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
5244
5245         * plugins/elements/gsttee.c: (gst_tee_do_push),
5246         (gst_tee_handle_buffer):
5247         Always prefer an actual return value from a src
5248         pad in place of NOT_LINKED. This means we return
5249         WRONG_STATE when all src pads are WRONG_STATE
5250         instead of NOT_LINKED.
5251
5252         Lock when replacing the last message to prevent
5253         racing with the get_property method.
5254
5255         Add debug output
5256
5257 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
5258
5259         * tests/check/Makefile.am:
5260         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
5261         (main):
5262         Add a very simple check that should have caught the memleak I fixed
5263         last night (if not for the slice allocator hiding it)
5264
5265 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
5266
5267         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
5268         (gst_bin_remove_func), (gst_bin_handle_message_func),
5269         (bin_query_duration_fold), (bin_query_generic_fold):
5270         Clean up references to the clock provider when disposed or when
5271         handling a clock-lost message from it.
5272
5273         Unref sinks when performing a query via gst_iterator_fold, as the
5274         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
5275
5276         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
5277         (gst_clock_set_master):
5278         Drop our reference to the master clock, if any, when we are disposed.
5279
5280         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
5281         Chain up in dispose. 
5282
5283 2006-01-26  Wim Taymans  <wim@fluendo.com>
5284
5285         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5286         Add some debugging.
5287
5288 2006-01-26  Julien MOUTTE  <julien@moutte.net>
5289
5290         * plugins/elements/gsttee.c: (gst_tee_do_push),
5291         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
5292         handles pad being NOT_LINKED or in WRONG_STATE.
5293
5294 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
5295
5296         * win32/MANIFEST:
5297           more updating
5298
5299 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
5300
5301         * win32/MANIFEST:
5302           remove obsolete entry
5303
5304 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
5305
5306         * docs/gst/gstreamer-sections.txt:
5307         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
5308         (gst_bin_iterate_sources), (gst_bin_send_event):
5309         * gst/gstbin.h:
5310         * gst/gstelement.c: (gst_element_send_event):
5311         * gst/gstevent.c:
5312         * gst/gstpad.c: (gst_pad_send_event):
5313           added code for downstream events, reviewed docs in gstevent.c
5314
5315 2006-01-25  Julien MOUTTE  <julien@moutte.net>
5316
5317         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5318         We only query position using the clock in the playing state.
5319         Query peer in the other cases.
5320         * win32/common/config.h: Updates.
5321
5322 2006-01-24  Wim Taymans  <wim@fluendo.com>
5323
5324         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5325         A clock entry that is scheduled for the exact time of the
5326         clock is still in time.
5327
5328         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5329         (gst_base_sink_do_sync):
5330         Add some more debug info.
5331
5332 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
5333
5334         * win32/vs7:
5335           Add new vs7 project files and solution.
5336
5337 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
5338
5339         * win32/vs7:
5340           all files removed as they were out-dated.
5341
5342 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5343
5344         * docs/random/release:
5345           update notes
5346         * gst/gstbin.c: (gst_bin_init):
5347         * gst/gstbus.c: (gst_bus_new):
5348         * gst/gstbus.h:
5349         * gst/gstpipeline.c: (gst_pipeline_init):
5350           use gst_bus_new(), improve logging, fix docs
5351         * win32/common/config.h:
5352           update for cvs build
5353
5354 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5355
5356         * autogen.sh:
5357           up required version of automake to 1.7
5358
5359 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
5360
5361         * win32/common/libgstreamer.def:
5362           export gst_buffer_is_metadata_writable
5363
5364 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
5365
5366         * docs/gst/gstreamer-sections.txt:
5367         * gst/gstevent.h:
5368           Add gst_event_replace() (#327001)
5369
5370 2006-01-20  Wim Taymans  <wim@fluendo.com>
5371
5372         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
5373         Make it actually compile too..
5374
5375 2006-01-20  Wim Taymans  <wim@fluendo.com>
5376
5377         * gst/gstcaps.c:
5378         Clarify behaviour of _is_equal() when passing NULL parameters.
5379
5380         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5381         (gst_pad_set_caps):
5382         Cleanups. Don't unref NULL caps.
5383         When setting the same caps, protect caps of the pad with
5384         proper lock.
5385         Use full functionality of _is_equal() when comparing caps.
5386
5387 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
5388
5389         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
5390         Don't loop infinitely if there are no buffers to present. Partially
5391         fixes #327197, but collectpads is just broken for reusing elements
5392         to do multiple encodes atm.
5393
5394 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
5395
5396         * tools/gst-inspect.c: (print_element_features):
5397         * tools/gst-xmlinspect.c: (main):
5398         URL_HANDLER is not a plugin feature we can search for in
5399         the registry.
5400
5401 2006-01-19  Edward Hervey  <edward@fluendo.com>
5402
5403         * gst/gstelement.c: (gst_element_pads_activate): 
5404         When activating, do src pads first, then sink pads.
5405         When de-activating, do sink pads first, then src pads.
5406
5407 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5408
5409         * docs/gst/gstreamer-sections.txt:
5410         Add gst_index_add_associationv to the docs
5411
5412 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5413
5414         * gst/gstevent.c:
5415           Fix docs typo
5416
5417         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
5418         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
5419           Do some refactoring. Doesn't actually change functionality,
5420           but makes landing the DRAIN event easier later.
5421
5422 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
5423
5424         * docs/pwg/advanced-scheduling.xml:
5425           Update from 0.9.x to 0.10 API and make example a bit
5426           clearer.
5427
5428 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5429
5430         * docs/gst/gstreamer-sections.txt:
5431         Add gst_buffer_(is|make)_metadata_writable methods.
5432
5433 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5434
5435         * docs/design/part-sparsestreams.txt:
5436         Update sparse streams doc, hopefully for greater clarity
5437
5438 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
5439
5440         * docs/design/part-events.txt:
5441         Remove mention of FILLER events.
5442         Add DRAIN event.
5443
5444         * docs/design/part-sparsestreams.txt:
5445         Write some things about using NEWSEGMENT to keep sparse streams
5446         flowing.
5447
5448 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
5449
5450         * gst/gstbin.c: (gst_bin_dispose):
5451           Guard gst_object_unref call against a NULL object (dispose
5452           can theoretically be called multiple times).
5453           
5454 2006-01-18  Wim Taymans  <wim@fluendo.com>
5455
5456         * gst/gstbin.c: (gst_bin_element_set_state):
5457         * gst/gstclock.c: (gst_clock_id_wait):
5458         Added some more debug info.
5459
5460         * libs/gst/base/gstadapter.c:
5461         Added more docs.
5462
5463         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5464         (gst_base_sink_do_sync), (gst_base_sink_chain):
5465         Added some comments.
5466
5467 2006-01-18  Wim Taymans  <wim@fluendo.com>
5468
5469         * tests/check/Makefile.am:
5470         * tests/check/elements/fakesink.c: (chain_async_buffer),
5471         (chain_async), (chain_async_return), (GST_START_TEST),
5472         (fakesink_suite), (main):
5473         Added fakesink test that checks prerolling and clipping
5474         behaviour.
5475
5476         * tests/check/gst/gstutils.c: (GST_START_TEST):
5477         Make check run faster so that buildbots don't timeout.
5478
5479 2006-01-18  Wim Taymans  <wim@fluendo.com>
5480
5481         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5482         (gst_base_sink_do_sync):
5483         Some cleanups.
5484         When the sink finishes blocking on the preroll buffer, it can
5485         immediatly render it instead of rendering when the next buffer
5486         arrives.
5487
5488 2006-01-18  Wim Taymans  <wim@fluendo.com>
5489
5490         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
5491         (gst_base_sink_get_property), (gst_base_sink_do_sync),
5492         (gst_base_sink_chain):
5493         Small cleanups.
5494         GST_ELEMENT_CLOCK and sync are protected with LOCK.
5495         Don't store _last_stop if the buffer is dropped.
5496
5497 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
5498
5499         * plugins/elements/gsttypefindelement.c:
5500         (gst_type_find_element_class_init):
5501           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
5502           object method handler that sets the caps on the pad and we want
5503           that to happen before we emit the signal (fixes e.g. feeding a
5504           plain text file to decodebin).
5505
5506 2006-01-18  Christian Schaller  <Christian@fluendo.com>
5507
5508         * gst/gstplugin.c: Add MPL and Proprietary as license options
5509
5510 2006-01-18  Andy Wingo  <wingo@pobox.com>
5511
5512         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
5513         symbol was exported before, it appears this was just an oversight.
5514         Fixes #168703.
5515         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
5516
5517         * gst/gstindex.c (gst_index_add_associationv): Changed int in
5518         prototype to gint. OK since this prototype was not in the header.
5519
5520 2006-01-17  Andy Wingo  <wingo@pobox.com>
5521
5522         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
5523         registry while we remove plugins.
5524
5525         * tools/gst-inspect.c (print_element_info): Don't unref the
5526         factory arg, that should be the responsibility of whatever code
5527         received the ref. Fixes a double-free when called from
5528         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
5529         (main): Unref the factory if we have one.
5530         (print_element_list): No change -- relies on the
5531         plugin_feature_list_free to free the list of features.
5532
5533 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
5534
5535         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
5536         (gst_buffer_make_metadata_writable):
5537         * gst/gstbuffer.h:
5538         * libs/gst/base/gstbasetransform.c:
5539         (gst_base_transform_prepare_output_buf):
5540         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5541         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5542           Replace gst_buffer_(make|is)_metadata_writable patch now
5543           that the release is out.
5544
5545 2006-01-17  Andy Wingo  <wingo@pobox.com>
5546
5547         * gst/gstregistry.c: Reflow design comment. Update so as to speak
5548         in the present tense without reference to versions.
5549
5550         * gst/gstregistry.c (gst_registry_add_plugin)
5551         (gst_registry_remove_plugin, gst_registry_remove_feature)
5552         (gst_registry_find_feature, gst_registry_get_feature_list)
5553         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
5554         (gst_registry_lookup, gst_registry_scan_path)
5555         (_gst_registry_remove_cache_plugins)
5556         (gst_registry_get_feature_list_by_plugin): Add argument
5557         validation.
5558
5559 === release 0.10.2 ===
5560
5561 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
5562
5563         * configure.ac:
5564           releasing 0.10.2, "If man is five"
5565
5566 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
5567
5568         * gst/gstbuffer.c:
5569         * gst/gstbuffer.h:
5570         * libs/gst/base/gstbasetransform.c:
5571         (gst_base_transform_prepare_output_buf):
5572         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5573         * tests/check/gst/gstbuffer.c: (gst_test_suite):
5574           Back out patch until after the release.
5575
5576 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
5577
5578         * gst/gstminiobject.c:
5579           Spelling fix in docs.
5580         * ChangeLog - remove conflict indicator
5581
5582 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
5583
5584         Reviewed By: Andy Wingo
5585
5586         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
5587         (gst_buffer_make_metadata_writable):
5588         * gst/gstbuffer.h:
5589           Add gst_buffer_(is|make)_metadata_writable as analogues of
5590           gst_buffer_(is|make)_writable.
5591
5592         * libs/gst/base/gstbasetransform.c:
5593         (gst_base_transform_prepare_output_buf):
5594         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5595           Use name gst_buffer_(is|make)_metadata_writable functions.
5596
5597         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5598           Test gst_buffer_(is|make)_metadata_writable
5599         
5600           (Closes: #324162)
5601
5602 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
5603
5604         * docs/manual/Makefile.am:
5605           don't do parallel make
5606         * configure.ac:
5607           AC_SUBST HOST_CPU
5608         * win32/common/config.h.in:
5609           add generations for HOST_CPU and GST_MAJORMINOR
5610         * win32/common/config.h:
5611           commit generated result
5612
5613 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
5614
5615         * docs/manual/appendix-integration.xml:
5616           Update GNOME integration section to use gst_init_get_option_group()
5617           instead of the old popt stuff (#322911). Also, GNOME applications
5618           should  now use gconf*sink and gconf*src instead of the old gconf
5619           helper lib we had.
5620
5621 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
5622
5623
5624         * docs/gst/gstreamer-docs.sgml:
5625         * docs/gst/gstreamer-sections.txt:
5626         * docs/libs/gstreamer-libs-sections.txt:
5627           add new API entries to the docs
5628         * libs/gst/controller/Makefile.am:
5629         * libs/gst/controller/gstcontroller.c:
5630         * libs/gst/controller/gstcontroller.h:
5631         * libs/gst/controller/gstcontrollerprivate.h:
5632         * libs/gst/controller/gsthelper.c:
5633         * libs/gst/controller/gstinterpolation.c:
5634           move private structs to private header
5635         * po/README:
5636           gstreamer-0.7 -> gstreamer-0.10
5637         * tests/check/libs/struct_i386.h:
5638           remove private structs
5639
5640 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5641
5642         * plugins/indexers/Makefile.am:
5643           Fixes as part of #317048
5644
5645 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5646
5647         * plugins/indexers/Makefile.am:
5648           fix #316086 - compilation when mmap is missing
5649
5650 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
5651
5652         * libs/gst/base/gstbasesink.c:
5653           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
5654           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
5655         * win32/common/config.h:
5656           added some defines GST_MAJORMINOR and HOST_CPU
5657         * win32/common/libgstbase.def:
5658         * win32/common/libgstreamer.def:
5659           added some exported functions.
5660
5661 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
5662
5663         * libs/gst/controller/gstcontroller.c:
5664         (gst_controlled_property_set_interpolation_mode),
5665         (gst_controlled_property_new):
5666         * libs/gst/controller/gstcontroller.h:
5667         * libs/gst/controller/gstinterpolation.c:
5668         (interpolate_none_get_string_value_array):
5669           make G_TYPE_STRING controlable
5670
5671 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
5672
5673         * tools/README:
5674         * tools/gst-feedback.1.in:
5675         * tools/gst-inspect.1.in:
5676         * tools/gst-launch.1.in:
5677         * tools/gst-md5sum.1.in:
5678         * tools/gst-typefind.1.in:
5679         * tools/gst-xmlinspect.1.in:
5680         * tools/gst-xmllaunch.1.in:
5681           cleanup man-pages, remove reference to gst-register, document env-vars
5682
5683 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
5684
5685         * gst/gstbuffer.c: (gst_buffer_span):
5686           gst_buffer_span should copy the timestamp of the first buffer
5687           if they were both originally overlapping subbuffers of the 
5688           same parent, using the same logic as the 'slow copy' case.
5689
5690 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
5691
5692         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
5693           Need to awaken ALL the pads when we pop a buffer, otherwise
5694           collectpads only works when there is 2 input streams.
5695
5696 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
5697
5698         * docs/random/ensonic/media-device-daemon.txt:
5699           more ideas (dbus)
5700         * gst/gstbuffer.c:
5701           fix doc example, add clarification
5702         * tools/gst-launch.1.in:
5703           add initial info about GST_PLUGIN_PATH, needs more work
5704
5705 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5706
5707         * docs/manual/basics-bins.xml:
5708         * docs/manual/basics-elements.xml:
5709         * docs/manual/intro-basics.xml:
5710           Some more minor docs additions and updates.
5711
5712 2006-01-11  Wim Taymans  <wim@fluendo.com>
5713
5714         * docs/manual/basics-bins.xml:
5715         * docs/manual/basics-elements.xml:
5716         Some small fixes as pointed out by Ser-ver on IRC.
5717
5718 2006-01-10  Edward Hervey  <edward@fluendo.com>
5719
5720         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5721         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
5722         the single-segment mode.
5723
5724 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
5725
5726         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5727
5728         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
5729         (gst_base_src_perform_seek), (gst_base_src_send_event),
5730         (gst_base_src_set_property), (gst_base_src_get_property),
5731         (gst_base_src_loop), (gst_base_src_start),
5732         (gst_base_src_activate_push):
5733         * libs/gst/base/gstbasesrc.h:
5734           Name (private) union; makes Sun's Forte compiler happy (#324900).
5735
5736 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5737
5738         * README:
5739           gst-register is gone.
5740
5741 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
5742
5743         * gst/gstvalue.c: (_gst_value_initialize):
5744           make the G_TYPE_DATE instantiation work if debug is disabled
5745
5746 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
5747
5748         * gst/gstmessage.c: (gst_message_parse_tag),
5749         (gst_message_parse_error), (gst_message_parse_warning):
5750           Don't crash when return location for error/warning debug
5751           string is NULL; add fact that return locations can be
5752           NULL to docs where appropriate.
5753
5754 2006-01-05  Wim Taymans  <wim@fluendo.com>
5755
5756         * gst/gstplugin.c: (gst_plugin_load_file):
5757         Replace strdup by g_strdup.
5758
5759 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5760
5761         * docs/pwg/advanced-types.xml:
5762           fix doc borkage
5763
5764 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5765
5766         submitted by: Abel Cheung
5767
5768         * po/LINGUAS:
5769         * po/zh_TW.po:
5770           Added Chinese (traditional) translation
5771
5772 2006-01-04  Wim Taymans  <wim@fluendo.com>
5773
5774         * docs/manual/basics-pads.xml:
5775         * docs/plugins/Makefile.am:
5776         * docs/plugins/gstreamer-plugins-docs.sgml:
5777         * docs/plugins/gstreamer-plugins-sections.txt:
5778         * docs/pwg/advanced-clock.xml:
5779         * docs/pwg/advanced-scheduling.xml:
5780         * docs/pwg/advanced-types.xml:
5781         * plugins/elements/gstfdsink.c:
5782         * plugins/elements/gstfdsrc.c:
5783         * plugins/elements/gstfdsrc.h:
5784         * plugins/elements/gstidentity.c: (gst_identity_class_init):
5785         * plugins/elements/gstidentity.h:
5786         * plugins/elements/gstqueue.h:
5787         * plugins/elements/gsttee.c:
5788         * plugins/elements/gsttee.h:
5789         * plugins/elements/gsttypefindelement.c:
5790         (gst_type_find_element_class_init):
5791         * plugins/elements/gsttypefindelement.h:
5792         Small updates to various docs.
5793         Added core plugins to docs.
5794
5795 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5796
5797         * common/gst.supp:
5798           add a suppression for liboil's uninitialized variable
5799
5800 2006-01-02  James Livingston  <jrl at ids dot org dot au>
5801
5802         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5803
5804         * gst/gstutils.h:
5805           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
5806           macro, so that gcc doesn't complain if the -Wmissing-prototypes
5807           compiler switch is being used (#325429).
5808
5809 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
5810
5811         * gst/gstbin.c: (gst_bin_query):
5812           Disable duration query caching in bins until it gets
5813           fixed (see #324807).
5814
5815 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
5816
5817         * tools/gst-inspect.c: (print_element_properties_info):
5818           Handle properties of POINTER and BOXED type.
5819
5820 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
5821
5822         * gst/gst.c: (init_post):
5823           Init tags stuff and some other things before loading
5824           any static plugins (there may be other static plugins
5825           than just the GStreamer ones, and they may want to
5826           register their own tags or formats or whatever, and
5827           preferably without segfaulting).
5828
5829         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
5830           Print at least a warning in the debug logs if we drop a
5831           query just because we don't know how to adjust the value
5832           in the particular format.
5833
5834 2005-12-24  David Schleef  <ds@schleef.org>
5835
5836         * tools/gstreamer-completion:
5837           Replacement for gst-complete written in sh and sed.  Only
5838           completes names of features, but that's 90% of what I want
5839           it for.  Properties are not available in registry.xml.  (Maybe
5840           they should be...)
5841
5842 === release 0.10.1 ===
5843
5844 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
5845
5846         * configure.ac:
5847           releasing 0.10.1, "Nollaig chridheil"
5848
5849 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
5850
5851         * docs/faq/cvs.xml:
5852           Add missing quote, should be make ERROR_CFLAGS="".
5853
5854 2005-12-20  Wim Taymans  <wim@fluendo.com>
5855
5856         * docs/design/part-trickmodes.txt:
5857         More documentation on trickmodes.
5858
5859 2005-12-20  Edward Hervey  <edward@fluendo.com>
5860
5861         * gst/gstcaps.c: (gst_static_caps_get_type):
5862         * gst/gstcaps.h:
5863           API addition: GST_TYPE_STATIC_CAPS
5864         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
5865         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
5866         * gst/gstpadtemplate.h:
5867           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
5868         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
5869         bindings.
5870
5871 2005-12-18  Wim Taymans  <wim@fluendo.com>
5872
5873         * libs/gst/base/gstadapter.c:
5874         * libs/gst/base/gstadapter.h:
5875         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5876         (gst_base_sink_get_position):
5877         * libs/gst/base/gstbasesink.h:
5878         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5879         (gst_base_src_default_query), (gst_base_src_default_do_seek),
5880         (gst_base_src_do_seek), (gst_base_src_perform_seek),
5881         (gst_base_src_send_event), (gst_base_src_update_length),
5882         (gst_base_src_get_range), (gst_base_src_loop),
5883         (gst_base_src_start):
5884         * libs/gst/base/gstbasesrc.h:
5885         * libs/gst/base/gstbasetransform.h:
5886         * libs/gst/base/gstcollectpads.h:
5887         * libs/gst/base/gstpushsrc.c:
5888         * libs/gst/base/gstpushsrc.h:
5889         * libs/gst/dataprotocol/dataprotocol.c:
5890         * libs/gst/dataprotocol/dataprotocol.h:
5891         * libs/gst/net/gstnetclientclock.h:
5892         * libs/gst/net/gstnettimeprovider.h:
5893         Documentation updates.
5894
5895 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5896
5897         * docs/manual/basics-helloworld.xml:
5898           Remove superfluous closing bracket in helloworld example.
5899
5900 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5901
5902         * tools/gst-launch.1.in:
5903           Update gst-launch man page; add a section with useful
5904           environment variables. Fixes #323882.
5905
5906 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
5907
5908         * gst/gst.c:
5909         * gst/gst_private.h:
5910           change some char* into char[]
5911
5912 2005-12-16  Wim Taymans  <wim@fluendo.com>
5913
5914         * gst/gstregistryxml.c: (load_feature):
5915         Cleanups.
5916         Don't use g_object_unref on GstObjects so that we avoid
5917         leaks on unsafe glibs.
5918
5919 2005-12-16  Wim Taymans  <wim@fluendo.com>
5920
5921         * gst/gstbin.c: (gst_bin_recalc_state):
5922         Small doc updates.
5923
5924 2005-12-16  Wim Taymans  <wim@fluendo.com>
5925
5926         * common/check.mak:
5927         Added make forever target for check.
5928
5929 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5930
5931         * gst/gst.c: (init_post):
5932           make the registry cache file HOST_CPU-dependent
5933
5934 2005-12-16  Andy Wingo  <wingo@pobox.com>
5935
5936         * plugins/elements/gstbufferstore.c
5937         (gst_buffer_store_cleared_func): Pay attention to g_list_append
5938         return value.
5939
5940         * tests/check/gst/gstobject.c
5941         (test_fake_object_name_threaded_unique): Pay attention to
5942         g_list_sort return value.
5943
5944 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5945
5946         * tools/gst-feedback-m.m:
5947           Update for 0.9/0.10 (fixes #323870).
5948
5949 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
5950
5951         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
5952           Fix lcopy for mini objects, the mini object needs to be ref'ed.
5953           
5954         * tests/check/gst/gstminiobject.c: (my_foo_init),
5955         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
5956         (test_value_collection), (gst_mini_object_suite):
5957           Add test to ensure refcounts end up as expected when passing
5958           GstMiniObjects through g_object_get() and g_object_set().
5959
5960 2005-12-14  Julien MOUTTE  <julien@moutte.net>
5961
5962         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
5963         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
5964         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
5965         of collectpads. This version removes a lot of races without
5966         touching API/ABI. Yay !
5967
5968 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
5969
5970         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
5971           Don't allow activation of a srcpad in pull_range if it has no
5972           getrange function.
5973           Change some debug statements to be a little clearer
5974
5975         * plugins/elements/gsttypefindelement.c:
5976         (gst_type_find_handle_src_query):
5977           Check that we have a peer before executing queries thereupon.
5978
5979         * tests/examples/metadata/read-metadata.c: (message_loop):
5980           Use gst_bus_pop instead of gst_bus_poll when we just want it to
5981           immediately return us any available message with 0 timeout.
5982
5983 2005-12-12  Michael Smith  <msmith@fluendo.com>
5984
5985         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5986           Don't unref factories after calling them.
5987         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
5988         * plugins/elements/gsttypefindelement.c:
5989         (gst_type_find_element_chain):
5990           Free lists of factories after using them. Fixing typefinding memory
5991           leaks.
5992
5993 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
5994
5995         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5996         (gst_plugin_feature_load):
5997           more meaningful debug output
5998         * configure.ac:
5999         * tests/Makefile.am:
6000         * tests/old/examples/Makefile.am:
6001           make make distcheck happy again
6002
6003 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
6004
6005         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
6006           Catch the special case where we are operating chain-based,
6007           but the downstream peer pad has no chain function. Emit a
6008           custom error message in this case instead of letting the
6009           core generate one implying that this is some sort of core
6010           bug. It's not, it just means that whatever got plugged
6011           into the pipeline downstream when we announced the type
6012           can only operate pull-based, while our source can only
6013           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
6014           Error string has not been marked for translation yet, as
6015           it probably needs some more work first.
6016
6017         (gst_type_find_element_get_best_possibility):
6018           Add helper function to find the best of all available
6019           found possibilities that qualify given the min. threshold.
6020
6021         (gst_type_find_element_handle_event):
6022           Fix the case where we get an EOS while still in TYPEFIND
6023           mode (we want to chose the best of all possible types,
6024           not just the first type that happens to be in our unsorted
6025           list of possible types).
6026
6027         (gst_type_find_element_chain):
6028           Make sure we return GST_FLOW_ERROR when we errored out
6029           in stop_typefinding(); also, don't just find the best of
6030           all found type entries and then use the last examined
6031           type entry, but actually use the best entry.
6032
6033 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
6034
6035         * tests/examples/typefind/typefind.c: (type_found):
6036         * tests/examples/xml/runxml.c: (xml_loaded):
6037           More gcc4 fixes and a mem leak fix.
6038
6039 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6040
6041         * tests/examples/xml/createxml.c: (object_saved):
6042           gcc 4 fixes
6043
6044 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6045
6046         * tests/Makefile.am:
6047           enable the examples even more
6048
6049 2005-12-12  Andy Wingo  <wingo@pobox.com>
6050
6051         * libs/gst/net/gstnettimeprovider.c
6052         (gst_net_time_provider_class_init, gst_net_time_provider_init)
6053         (gst_net_time_provider_set_property)
6054         (gst_net_time_provider_get_property):
6055         API addition: Export "active" as a GObject property.
6056         (gst_net_time_provider_thread): Only respond to time queries if
6057         the time provider is active.
6058
6059         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
6060         NetTimeProvider, preserving binary compat.
6061
6062 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6063
6064         * tests/examples/controller/audio-example.c: (main):
6065         * tests/examples/launch/Makefile.am:
6066           convert comments again
6067
6068 2005-12-12  Wim Taymans  <wim@fluendo.com>
6069
6070         * libs/gst/base/gstpushsrc.c:
6071         Fix typo.
6072
6073 2005-12-12  Wim Taymans  <wim@fluendo.com>
6074
6075         * docs/libs/gstreamer-libs-sections.txt:
6076         Added new symbol to docs.
6077
6078         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6079         (gst_base_src_init), (gst_base_src_set_format),
6080         (gst_base_src_default_query), (gst_base_src_query),
6081         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
6082         (gst_base_src_perform_seek), (gst_base_src_send_event),
6083         (gst_base_src_default_event), (gst_base_src_event_handler),
6084         (gst_base_src_set_property), (gst_base_src_get_property),
6085         (gst_base_src_wait), (gst_base_src_do_sync),
6086         (gst_base_src_update_length), (gst_base_src_get_range),
6087         (gst_base_src_check_get_range), (gst_base_src_loop),
6088         (gst_base_src_default_negotiate), (gst_base_src_start),
6089         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6090         (gst_base_src_change_state):
6091         * libs/gst/base/gstbasesrc.h:
6092         Implement seeking to other formats than _BYTES.
6093         Implement more seeking methods correctly.
6094         Doc updates.
6095         Added query vmethod.
6096         Added do_seek vmethod to make life easier for subclasses
6097         when seeking.
6098         API addition: gst_base_src_set_format()
6099
6100 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6101
6102         * tests/examples/Makefile.am:
6103           added that too
6104
6105 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6106
6107         * configure.ac:
6108         * docs/random/ensonic/media-device-daemon.txt:
6109         * tests/examples/controller/.cvsignore:
6110         * tests/examples/controller/Makefile.am:
6111         * tests/examples/controller/audio-example.c: (main):
6112         * tests/examples/helloworld/.cvsignore:
6113         * tests/examples/helloworld/Makefile.am:
6114         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
6115         * tests/examples/launch/.cvsignore:
6116         * tests/examples/launch/Makefile.am:
6117         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
6118         * tests/examples/metadata/.cvsignore:
6119         * tests/examples/metadata/Makefile.am:
6120         * tests/examples/metadata/read-metadata.c: (message_loop),
6121         (make_pipeline), (print_tag), (main):
6122         * tests/examples/queue/.cvsignore:
6123         * tests/examples/queue/Makefile.am:
6124         * tests/examples/queue/queue.c: (event_loop), (main):
6125         * tests/examples/typefind/.cvsignore:
6126         * tests/examples/typefind/Makefile.am:
6127         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
6128         (main):
6129         * tests/examples/xml/.cvsignore:
6130         * tests/examples/xml/Makefile.am:
6131         * tests/examples/xml/createxml.c: (object_saved), (main):
6132         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
6133         * tests/old/examples/Makefile.am:
6134         * tests/old/examples/TODO:
6135         * tests/old/examples/controller/.cvsignore:
6136         * tests/old/examples/controller/Makefile.am:
6137         * tests/old/examples/controller/audio-example.c:
6138         * tests/old/examples/helloworld/.cvsignore:
6139         * tests/old/examples/helloworld/Makefile.am:
6140         * tests/old/examples/helloworld/helloworld.c:
6141         * tests/old/examples/launch/.cvsignore:
6142         * tests/old/examples/launch/Makefile.am:
6143         * tests/old/examples/launch/mp3parselaunch.c:
6144         * tests/old/examples/launch/mp3play:
6145         * tests/old/examples/manual/Makefile.am:
6146         * tests/old/examples/metadata/Makefile.am:
6147         * tests/old/examples/metadata/read-metadata.c:
6148         * tests/old/examples/queue/.cvsignore:
6149         * tests/old/examples/queue/Makefile.am:
6150         * tests/old/examples/queue/queue.c:
6151         * tests/old/examples/typefind/.cvsignore:
6152         * tests/old/examples/typefind/Makefile.am:
6153         * tests/old/examples/typefind/typefind.c:
6154         * tests/old/examples/xml/.cvsignore:
6155         * tests/old/examples/xml/Makefile.am:
6156         * tests/old/examples/xml/createxml.c:
6157         * tests/old/examples/xml/runxml.c:
6158           applied some simple fixing to some examples
6159           re-enabled the working examples
6160
6161 2005-12-12  Wim Taymans  <wim@fluendo.com>
6162
6163         * gst/gstsegment.c: (gst_segment_init),
6164         (gst_segment_set_last_stop), (gst_segment_set_seek),
6165         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6166         (gst_segment_to_running_time):
6167         Added more documentation.
6168         Make sure the last_pos value is updated properly.
6169         Make sure to_stream_time and to_running_time don't
6170         operate on wrong values.
6171
6172         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6173         Update check.
6174
6175 2005-12-12  Michael Smith  <msmith@fluendo.com>
6176
6177         * plugins/elements/gsttypefindelement.c: (free_entry),
6178         (gst_type_find_element_chain):
6179           Now that we're not leaking factories, make sure we keep references
6180           to them while we need them.
6181
6182 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6183
6184         * tests/check/gst/struct_i386.h:
6185           ifdef out the XML structs
6186
6187 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6188
6189         * gst/gstvalue.c: (gst_value_transform_double_fraction):
6190           floor is not needed, F is always positive; this obviates the
6191           need for adding -lm when building without libxml
6192
6193 2005-12-12  Wim Taymans  <wim@fluendo.com>
6194
6195         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6196         Take current playback rate into account when reporting
6197         the position.
6198
6199 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6200
6201         * docs/manual/mime-world.fig:
6202           Let's try this again, this time with a file that is
6203           actually in XFig format.
6204
6205 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6206
6207         * docs/manual/mime-world.fig:
6208           Add audioconvert element to diagram so that it
6209           matches the text and the code (fixes #319526).
6210
6211 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6212
6213         * docs/pwg/building-chainfn.xml:
6214         * docs/pwg/building-pads.xml:
6215         * docs/pwg/building-state.xml:
6216         * docs/pwg/other-source.xml:
6217           Update state change stuff for 0.10 (fixes #322969).
6218
6219 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6220
6221         * docs/manual/advanced-dataaccess.xml:
6222         * docs/manual/appendix-checklist.xml:
6223         * docs/manual/appendix-programs.xml:
6224         * docs/manual/basics-pads.xml:
6225         * docs/manual/highlevel-components.xml:
6226         * docs/manual/manual.xml:
6227           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
6228           add converters in front of pipelines; remove curly
6229           brackets for threads stuff, they no longer exist; use
6230           GST_TYPE_FRACTION for framerates; update some pieces of
6231           code to 0.10, but there's plenty more to do.
6232
6233         * docs/manual/appendix-porting.xml:
6234           Expand on asynchroneous state changes; s/0.9/0.10/;
6235           mention disappearance of gst_init_get_popt_table()
6236           (fixes #322916).
6237
6238 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6239
6240         * docs/faq/using.xml:
6241           Spider no longer exists, and neither does gst-launch-ext.
6242           Update examples to use decodebin and playbin and put
6243           converters in front of sinks (fixes #323726).
6244
6245 2005-12-09  Michael Smith  <msmith@fluendo.com>
6246
6247         * plugins/elements/gsttypefindelement.c: (find_peek),
6248         (gst_type_find_element_chain):
6249           Fix leaking element factories in typefinding.
6250           Fix problem where we forgot about a probable type on non-seekable
6251           files, and thus later mis-typefound it.
6252
6253 2005-12-09  Michael Smith  <msmith@fluendo.com>
6254
6255         * common/m4/gst-makecontext.m4:
6256         * common/m4/gst-mcsc.m4:
6257         * configure.ac:
6258         * win32/common/config.h:
6259         * win32/common/config.h.in:
6260           Remove makecontext stuff; not used in 0.10 and causes problems on
6261           HPUX according to bug #322441
6262
6263 2005-12-07  Wim Taymans  <wim@fluendo.com>
6264
6265         * tests/check/Makefile.am:
6266         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
6267         (main):
6268         * tests/check/libs/struct_i386.h:
6269         Added ABI check for libs
6270
6271 2005-12-07  Wim Taymans  <wim@fluendo.com>
6272
6273         * tests/check/Makefile.am:
6274         And add the struct_i386.h to dist.
6275
6276 2005-12-07  Wim Taymans  <wim@fluendo.com>
6277
6278         * tests/check/Makefile.am:
6279         * tests/check/gst/.cvsignore:
6280         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
6281         (main):
6282         * tests/check/gst/struct_i386.h:
6283         Added check for ABI compatibility.
6284
6285 2005-12-07  Wim Taymans  <wim@fluendo.com>
6286
6287         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6288         (gst_fake_src_get_times), (gst_fake_src_create):
6289         Fix broken sync option, fixes #323259
6290
6291 2005-12-07  Wim Taymans  <wim@fluendo.com>
6292
6293         * gst/gstbuffer.c:
6294         Small docs update.
6295
6296         * gst/gstcaps.c: (gst_caps_is_equal):
6297         Don't assert on NULL <--> X. Fixes #323260
6298
6299         * gst/gstminiobject.c: (gst_mini_object_replace):
6300         If we're doing atomic operations, we might just as well use
6301         the proper way to get an atomic pointer.
6302
6303         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6304         Clean up debugging.
6305
6306 2005-12-07  Michael Smith  <msmith@fluendo.com>
6307
6308         * gst/parse/grammar.y:
6309           Remove handling of { } for threads.
6310
6311 2005-12-06  David Schleef  <ds@schleef.org>
6312
6313         * libs/gst/base/gstbasetransform.c: speling fix.
6314
6315 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6316
6317         * docs/libs/tmpl/gstdataprotocol.sgml:
6318         * docs/random/omega/testing/gstobject.c:
6319         * gst/gst.c:
6320         * gst/gstclock.c:
6321         * gst/gstelement.c:
6322         * gst/gstelementfactory.c:
6323         * gst/gsterror.c:
6324         * gst/gstevent.c:
6325         * gst/gstghostpad.c:
6326         * gst/gstinfo.c:
6327         * gst/gstpadtemplate.c:
6328         * gst/gstregistryxml.c:
6329         * gst/gsttaglist.c:
6330         * gst/gsttagsetter.c:
6331         * gst/gsttypefind.c:
6332         * gst/gstvalue.c:
6333         * libs/gst/base/gstbasesrc.c:
6334         * libs/gst/net/gstnetclientclock.c:
6335         * libs/gst/net/gstnettimeprovider.c:
6336         * plugins/elements/gstfakesrc.c:
6337         * plugins/elements/gstfdsrc.c:
6338         * plugins/elements/gstfilesrc.c:
6339         * plugins/elements/gstidentity.c:
6340         * plugins/elements/gstqueue.c:
6341         * plugins/elements/gsttypefindelement.c:
6342         * plugins/indexers/gstfileindex.c:
6343         * plugins/indexers/gstmemindex.c:
6344         * tests/check/gst/gsttag.c:
6345         * tests/old/examples/cutter/cutter.c:
6346         * tests/old/examples/mixer/mixer.c:
6347         * tests/old/examples/xml/runxml.c: (main):
6348         * tests/old/testsuite/caps/normalisation.c:
6349         * tests/old/testsuite/debug/global.c:
6350         * tests/old/testsuite/parse/parse1.c:
6351         * tools/gst-xmlinspect.c:
6352         * win32/common/dirent.c:
6353           expand tabs
6354
6355 === release 0.10.0 ===
6356
6357 2005-12-05   <thomas (at) apestaart (dot) org>
6358
6359         * configure.ac:
6360           releasing 0.10.0, "Maroilles"
6361
6362 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6363
6364         submitted by: Funda Wang <fundawang@linux.net.cn>
6365
6366         * po/LINGUAS:
6367         * po/zh_CN.po:
6368           added Chinese (Traditional) translation
6369
6370 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6371
6372         * docs/gst/gstreamer-sections.txt:
6373         * docs/libs/tmpl/gstdataprotocol.sgml:
6374         * docs/random/thomasvs/TODO:
6375         * gst/gstutils.c:
6376         * gst/gstutils.h:
6377           fix docs
6378
6379 2005-12-05  Andy Wingo  <wingo@pobox.com>
6380
6381         patch by: Wim Taymans <wim@fluendo.com>
6382
6383         * libs/gst/base/gstbasetransform.c
6384         (gst_base_transform_prepare_output_buf)
6385         (gst_base_transform_buffer_alloc):
6386         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
6387         alloc_buffer_and_set_caps.
6388
6389         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
6390         set_caps on the source pad.
6391         (gst_pad_alloc_buffer_and_set_caps): New function, does what
6392         alloc_buffer used to do. Fixes #322874.
6393
6394         * docs/gst/gstreamer-sections.txt: 
6395         * docs/design/part-negotiation.txt: 
6396         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
6397         changes.
6398
6399 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6400
6401         patch by: Sebastien Moutte
6402
6403         * win32/MANIFEST:
6404         * win32/common/config.h.in:
6405         * win32/vs6/libgstcontroller.dsp:
6406           win32 build fixes
6407
6408 2005-12-05  Wim Taymans  <wim@fluendo.com>
6409
6410         * gst/gstcaps.c: (gst_caps_is_equal):
6411         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6412         (gst_fake_src_create):
6413         Back out previous code changes, leave doc updates, file bugs 
6414         instead. 
6415
6416 2005-12-05  Wim Taymans  <wim@fluendo.com>
6417
6418         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6419         (gst_fake_src_get_times), (gst_fake_src_create):
6420         * plugins/elements/gstfakesrc.h:
6421         Fix broken sync code.
6422
6423 2005-12-05  Wim Taymans  <wim@fluendo.com>
6424
6425         * gst/gstcaps.c: (gst_caps_is_equal):
6426         Comparing NULL against !NULL yields different caps, not a
6427         failure.
6428
6429 2005-12-05  Wim Taymans  <wim@fluendo.com>
6430
6431         * gst/gstpipeline.c:
6432         Fix small typo in docs.
6433
6434 2005-12-05  Andy Wingo  <wingo@pobox.com>
6435
6436         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
6437
6438         * gst/gst.c (init_post): remove hard-coded 0.9 location for
6439         registries/plugins with a MAJORMINOR one.
6440         (plugin_desc): Rename library from gstcoreleements to
6441         staticelements. Fixes #323222.
6442
6443 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
6444
6445         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
6446           Change debug category to 'collectpads' from 'collect_pads'
6447           (fixes #323250).
6448
6449 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
6450
6451         patch by: Sebastien Moutte
6452
6453         * libs/gst/controller/gstinterpolation.c:
6454           use convert function for uint64/double
6455         * win32/vs6/libgstcontroller.dsp:
6456           link to GLib
6457
6458 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
6459
6460         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
6461         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
6462         * gst/gstutils.h:
6463         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6464           add tests that seem to show that the guint64/gdouble conversions
6465           are correct.
6466
6467 2005-12-02  Wim Taymans  <wim@fluendo.com>
6468
6469         * gst/gstregistry.c: (gst_registry_add_path):
6470         * gst/gstregistry.h:
6471         * gst/gstregistryxml.c:
6472         Fix docs again.
6473
6474 2005-12-02  Wim Taymans  <wim@fluendo.com>
6475
6476         * gst/gstutils.c: (gst_util_uint64_scale_int64),
6477         (gst_util_uint64_scale_int):
6478         Small cleanup.
6479
6480         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6481         Add debug log line.
6482
6483         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
6484         Add FIXME.
6485
6486 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6487
6488         * win32/MANIFEST:
6489         * win32/common/config.h:
6490         * win32/vs6/gstreamer.dsw:
6491         * win32/vs6/libgstcoreelements.dsp:
6492         * win32/vs6/libgstelements.dsp:
6493           renamed core elements plugin
6494
6495 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6496
6497         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
6498         (get_candidates):
6499           do piece-wise major/minor comparison so 0.9 < 0.10
6500           also allow .exe extensions for tools
6501
6502 2005-12-02  Michael Smith  <msmith@fluendo.com>
6503
6504         * gst/gst.c:
6505           Escape a % to make gtkdoc happier; bug 322958.
6506
6507 === release 0.9.7 ===
6508
6509 2005-12-01   <thomas (at) apestaart (dot) org>
6510
6511         * configure.ac:
6512           releasing 0.9.7, "My Dog Has No Nose"
6513
6514 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6515
6516         * common/gst-xmlinspect.py:
6517         * configure.ac:
6518         * docs/libs/tmpl/gstdataprotocol.sgml:
6519         * docs/random/release:
6520         * po/af.po:
6521         * po/az.po:
6522         * po/bg.po:
6523         * po/ca.po:
6524         * po/cs.po:
6525         * po/de.po:
6526         * po/en_GB.po:
6527         * po/fr.po:
6528         * po/it.po:
6529         * po/nb.po:
6530         * po/nl.po:
6531         * po/ru.po:
6532         * po/sq.po:
6533         * po/sr.po:
6534         * po/sv.po:
6535         * po/tr.po:
6536         * po/uk.po:
6537         * po/vi.po:
6538         * win32/common/config.h:
6539         * win32/common/config.h.in:
6540         * win32/vs6/gst_inspect.dsp:
6541         * win32/vs6/gst_launch.dsp:
6542         * win32/vs6/libgstbase.dsp:
6543         * win32/vs6/libgstelements.dsp:
6544         * win32/vs6/libgstreamer.dsp:
6545         * win32/vs7/GStreamer.vcproj:
6546         * win32/vs7/gst-inspect.vcproj:
6547         * win32/vs7/gst-launch.vcproj:
6548         * win32/vs7/libgstbase.vcproj:
6549           bump GST_MAJORMINOR to 0.10
6550           reset libtool version
6551
6552 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6553
6554         * po/LINGUAS:
6555         * po/bg.po:
6556           Added Bulgarian translation by (Alexander Shopov)
6557
6558 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6559
6560         * tests/check/gst/gstplugin.c:
6561           fix test
6562
6563 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6564
6565         * common/gst-xmlinspect.py:
6566         * common/gtk-doc-plugins.mak:
6567         * configure.ac:
6568         * docs/Makefile.am:
6569         * docs/gst/Makefile.am:
6570         * docs/gst/gstreamer-docs.sgml:
6571         * docs/gst/gstreamer-sections.txt:
6572         * docs/gst/gstreamer.types:
6573         * docs/gst/gstreamer.types.in:
6574         * docs/plugins/Makefile.am:
6575         * docs/plugins/gstreamer-plugins-docs.sgml:
6576         * docs/plugins/gstreamer-plugins-sections.txt:
6577         * docs/plugins/gstreamer-plugins.types:
6578         * docs/plugins/inspect.stamp:
6579         * docs/plugins/inspect/plugin-coreelements.xml:
6580         * docs/plugins/inspect/plugin-coreindexers.xml:
6581         * docs/plugins/scanobj-build.stamp:
6582         * gstreamer.spec.in:
6583         * plugins/elements/Makefile.am:
6584         * plugins/elements/gstelements.c:
6585         * plugins/elements/gstfakesink.c:
6586         * plugins/elements/gstfakesrc.c:
6587         * plugins/elements/gstfilesink.c:
6588         * plugins/elements/gstfilesrc.c:
6589         * plugins/elements/gstqueue.c:
6590         * plugins/indexers/Makefile.am:
6591         * plugins/indexers/gstindexers.c:
6592           document core plugins in a separate document just like all the
6593           others
6594           rename these plugins to something starting with core
6595
6596 2005-12-01  Andy Wingo  <wingo@pobox.com>
6597
6598         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
6599         padding here before, but it missed the commit.
6600
6601 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6602
6603         * libs/gst/controller/gstinterpolation.c:
6604           whitespace prices have crashed, we should feel free to use some now
6605           use gst_guint64_to_gdouble
6606
6607 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6608
6609         * libs/gst/controller/gstcontroller.c:
6610         * libs/gst/controller/gsthelper.c:
6611         * libs/gst/controller/gstinterpolation.c:
6612         * libs/gst/controller/lib.c:
6613           wrap config.h include
6614
6615 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6616
6617         * docs/gst/gstreamer-sections.txt:
6618           update docs
6619
6620 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6621
6622         * plugins/elements/gstelements.c:
6623         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
6624         (gst_fd_sink__class_init), (gst_fd_sink__init),
6625         (gst_fd_sink__chain), (gst_fd_sink__set_property),
6626         (gst_fd_sink__get_property):
6627         * plugins/elements/gstfdsink.h:
6628         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
6629         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
6630         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
6631         (gst_fd_src_unlock), (gst_fd_src_set_property),
6632         (gst_fd_src_get_property), (gst_fd_src_create),
6633         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
6634         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
6635         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
6636         (gst_fd_src_uri_handler_init):
6637         * plugins/elements/gstfdsrc.h:
6638         * plugins/elements/gstqueue.c: (gst_queue_get_type):
6639           more anal cleanup
6640
6641 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6642
6643         * docs/gst/Makefile.am:
6644         * docs/gst/gstreamer.types.in:
6645         * gst/Makefile.am:
6646           fix the docs build
6647
6648 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6649
6650         * configure.ac:
6651         * gst/Makefile.am:
6652         * gst/gst.c:
6653         * gst/gstplugin.h:
6654         * gst/gstregistry.h:
6655         * tests/benchmarks/complexity.c:
6656         * tests/benchmarks/mass-elements.c:
6657         * tests/check/Makefile.am:
6658         * tools/Makefile.am:
6659         * tools/gst-inspect.c:
6660         * tools/gst-xmlinspect.c:
6661           various fixes to make
6662           --disable-nls --disable-registry --disable-loadsave
6663           --disable-parse --disable-gst-debug
6664           work and get the core .so down to 360444 bytes after stripping
6665
6666 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6667
6668         * Makefile.am:
6669         * configure.ac:
6670           descend into tests
6671         * docs/random/thomasvs/TODO:
6672         * tests/Makefile.am:
6673         * tests/README:
6674           add a README
6675
6676 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6677
6678         * win32/GStreamer.vcproj:
6679         * win32/MANIFEST:
6680         * win32/Makefile:
6681         * win32/Makefile.inspect:
6682         * win32/Makefile.launch:
6683         * win32/Makefile.register:
6684         * win32/README.txt:
6685         * win32/gst-inspect.vcproj:
6686         * win32/gst-launch.vcproj:
6687         * win32/gst-register.vcproj:
6688         * win32/gstelements.vcproj:
6689         * win32/gstgetbits.def:
6690         * win32/gstgetbits.vcproj:
6691         * win32/gstreamer-dbg.def:
6692         * win32/gstreamer.def:
6693         * win32/libgstbase.def:
6694         * win32/libgstbase.vcproj:
6695         * win32/link_oldruntime.c:
6696         * win32/mman.c:
6697         * win32/mman.h:
6698         * win32/mman.inl:
6699         * win32/msvc71.sln:
6700           move even more stuff, win32/ is nice and clean now
6701
6702 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6703
6704         * libs/gst/control/.cvsignore:
6705         * win32/MANIFEST:
6706         * win32/config.h:
6707         * win32/dirent.c:
6708         * win32/dirent.h:
6709         * win32/gstbytestream.def:
6710         * win32/gstbytestream.vcproj:
6711         * win32/gstconfig.h:
6712         * win32/gstenumtypes.c:
6713         * win32/gstenumtypes.h:
6714         * win32/gstoptimalscheduler.vcproj:
6715         * win32/gstversion.h:
6716         * win32/gtchar.h:
6717         * win32/testsuite/bins.vcproj:
6718         * win32/testsuite/bytestream.vcproj:
6719         * win32/testsuite/caps.vcproj:
6720         * win32/testsuite/cleanup.vcproj:
6721         * win32/testsuite/clock.vcproj:
6722         * win32/testsuite/debug.vcproj:
6723         * win32/testsuite/dlopen.vcproj:
6724         * win32/testsuite/dynparams.vcproj:
6725         * win32/testsuite/elements.vcproj:
6726         * win32/testsuite/ghostpads.vcproj:
6727         * win32/testsuite/indexers.vcproj:
6728         * win32/testsuite/negotiation.vcproj:
6729         * win32/testsuite/parse.vcproj:
6730         * win32/testsuite/plugin.vcproj:
6731         * win32/testsuite/refcounting.vcproj:
6732         * win32/testsuite/schedulers.vcproj:
6733         * win32/testsuite/states.vcproj:
6734         * win32/testsuite/tags.vcproj:
6735         * win32/testsuite/threads.vcproj:
6736           remove old win32 stuff that isn't maintained and should be
6737           reorganized
6738
6739 2005-11-30  Andy Wingo  <wingo@pobox.com>
6740
6741         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
6742         loading the gst.interfaces python module bork.
6743
6744         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
6745         available since GLib 2.2. Fixes #318031.
6746
6747 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6748
6749         * Makefile.am:
6750         * check/.cvsignore:
6751         * check/Makefile.am:
6752         * check/elements/.cvsignore:
6753         * check/elements/fakesrc.c:
6754         * check/elements/fdsrc.c:
6755         * check/elements/identity.c:
6756         * check/generic/.cvsignore:
6757         * check/generic/states.c:
6758         * check/gst-libs/.cvsignore:
6759         * check/gst-libs/controller.c:
6760         * check/gst-libs/gdp.c:
6761         * check/gst/.cvsignore:
6762         * check/gst/capslist.h:
6763         * check/gst/gst.c:
6764         * check/gst/gstbin.c:
6765         * check/gst/gstbuffer.c:
6766         * check/gst/gstbus.c:
6767         * check/gst/gstcaps.c:
6768         * check/gst/gstelement.c:
6769         * check/gst/gstevent.c:
6770         * check/gst/gstghostpad.c:
6771         * check/gst/gstiterator.c:
6772         * check/gst/gstmessage.c:
6773         * check/gst/gstminiobject.c:
6774         * check/gst/gstobject.c:
6775         * check/gst/gstpad.c:
6776         * check/gst/gstpipeline.c:
6777         * check/gst/gstplugin.c:
6778         * check/gst/gstsegment.c:
6779         * check/gst/gststructure.c:
6780         * check/gst/gstsystemclock.c:
6781         * check/gst/gsttag.c:
6782         * check/gst/gstutils.c:
6783         * check/gst/gstvalue.c:
6784         * check/net/.cvsignore:
6785         * check/net/gstnetclientclock.c:
6786         * check/net/gstnettimeprovider.c:
6787         * check/pipelines/.cvsignore:
6788         * check/pipelines/cleanup.c:
6789         * check/pipelines/simple_launch_lines.c:
6790         * check/pipelines/stress.c:
6791         * check/states/.cvsignore:
6792         * check/states/sinks.c:
6793         * configure.ac:
6794         * examples/Makefile.am:
6795         * examples/appreader/.cvsignore:
6796         * examples/appreader/Makefile.am:
6797         * examples/appreader/appreader.c:
6798         * examples/controller/.cvsignore:
6799         * examples/controller/Makefile.am:
6800         * examples/controller/audio-example.c:
6801         * examples/cutter/.cvsignore:
6802         * examples/cutter/Makefile.am:
6803         * examples/cutter/cutter.c:
6804         * examples/cutter/cutter.h:
6805         * examples/events/Makefile.am:
6806         * examples/events/seek.c:
6807         * examples/helloworld/.cvsignore:
6808         * examples/helloworld/Makefile.am:
6809         * examples/helloworld/helloworld.c:
6810         * examples/helloworld2/.cvsignore:
6811         * examples/helloworld2/Makefile.am:
6812         * examples/helloworld2/helloworld2.c:
6813         * examples/launch/.cvsignore:
6814         * examples/launch/Makefile.am:
6815         * examples/launch/mp3parselaunch.c:
6816         * examples/launch/mp3play:
6817         * examples/manual/.cvsignore:
6818         * examples/manual/Makefile.am:
6819         * examples/manual/extract.pl:
6820         * examples/metadata/Makefile.am:
6821         * examples/metadata/read-metadata.c:
6822         * examples/mixer/.cvsignore:
6823         * examples/mixer/Makefile.am:
6824         * examples/mixer/mixer.c:
6825         * examples/mixer/mixer.h:
6826         * examples/pingpong/.cvsignore:
6827         * examples/pingpong/Makefile.am:
6828         * examples/pingpong/pingpong.c:
6829         * examples/plugins/.cvsignore:
6830         * examples/plugins/Makefile.am:
6831         * examples/plugins/example.c:
6832         * examples/plugins/example.h:
6833         * examples/pwg/.cvsignore:
6834         * examples/pwg/Makefile.am:
6835         * examples/pwg/extract.pl:
6836         * examples/queue/.cvsignore:
6837         * examples/queue/Makefile.am:
6838         * examples/queue/queue.c:
6839         * examples/queue2/.cvsignore:
6840         * examples/queue2/Makefile.am:
6841         * examples/queue2/queue2.c:
6842         * examples/queue3/.cvsignore:
6843         * examples/queue3/Makefile.am:
6844         * examples/queue3/queue3.c:
6845         * examples/queue4/.cvsignore:
6846         * examples/queue4/Makefile.am:
6847         * examples/queue4/queue4.c:
6848         * examples/retag/.cvsignore:
6849         * examples/retag/Makefile.am:
6850         * examples/retag/retag.c:
6851         * examples/retag/transcode.c:
6852         * examples/thread/.cvsignore:
6853         * examples/thread/Makefile.am:
6854         * examples/thread/thread.c:
6855         * examples/typefind/.cvsignore:
6856         * examples/typefind/Makefile.am:
6857         * examples/typefind/typefind.c:
6858         * examples/xml/.cvsignore:
6859         * examples/xml/Makefile.am:
6860         * examples/xml/createxml.c:
6861         * examples/xml/runxml.c:
6862         * tests/Makefile.am:
6863         * tests/check/Makefile.am:
6864         * testsuite/.cvsignore:
6865         * testsuite/Makefile.am:
6866         * testsuite/Rules:
6867         * testsuite/caps/.cvsignore:
6868         * testsuite/caps/Makefile.am:
6869         * testsuite/caps/app_fixate.c:
6870         * testsuite/caps/audioscale.c:
6871         * testsuite/caps/caps.c:
6872         * testsuite/caps/caps.h:
6873         * testsuite/caps/caps_strings:
6874         * testsuite/caps/compatibility.c:
6875         * testsuite/caps/deserialize.c:
6876         * testsuite/caps/enumcaps.c:
6877         * testsuite/caps/eratosthenes.c:
6878         * testsuite/caps/filtercaps.c:
6879         * testsuite/caps/fixed.c:
6880         * testsuite/caps/fraction-convert.c:
6881         * testsuite/caps/fraction-multiply-and-zero.c:
6882         * testsuite/caps/intersect2.c:
6883         * testsuite/caps/intersection.c:
6884         * testsuite/caps/normalisation.c:
6885         * testsuite/caps/random.c:
6886         * testsuite/caps/renegotiate.c:
6887         * testsuite/caps/sets.c:
6888         * testsuite/caps/simplify.c:
6889         * testsuite/caps/string-conversions.c:
6890         * testsuite/caps/structure.c:
6891         * testsuite/caps/subtract.c:
6892         * testsuite/caps/union.c:
6893         * testsuite/debug/.cvsignore:
6894         * testsuite/debug/Makefile.am:
6895         * testsuite/debug/category.c:
6896         * testsuite/debug/commandline.c:
6897         * testsuite/debug/global.c:
6898         * testsuite/debug/output.c:
6899         * testsuite/debug/printf_extension.c:
6900         * testsuite/dlopen/.cvsignore:
6901         * testsuite/dlopen/Makefile.am:
6902         * testsuite/dlopen/dlopen_gst.c:
6903         * testsuite/dlopen/loadgst.c:
6904         * testsuite/elements/.cvsignore:
6905         * testsuite/elements/Makefile.am:
6906         * testsuite/elements/gst-inspect-check.in:
6907         * testsuite/elements/struct_i386.h:
6908         * testsuite/elements/struct_size.c:
6909         * testsuite/indexers/.cvsignore:
6910         * testsuite/indexers/Makefile.am:
6911         * testsuite/indexers/cache1.c:
6912         * testsuite/indexers/indexdump.c:
6913         * testsuite/parse/.cvsignore:
6914         * testsuite/parse/Makefile.am:
6915         * testsuite/parse/parse1.c:
6916         * testsuite/parse/parse2.c:
6917         * testsuite/plugin/.cvsignore:
6918         * testsuite/plugin/Makefile.am:
6919         * testsuite/plugin/README:
6920         * testsuite/plugin/dynamic.c:
6921         * testsuite/plugin/linked.c:
6922         * testsuite/plugin/loading.c:
6923         * testsuite/plugin/registry.c:
6924         * testsuite/plugin/static.c:
6925         * testsuite/plugin/static2.c:
6926         * testsuite/plugin/testplugin.c:
6927         * testsuite/plugin/testplugin2.c:
6928         * testsuite/plugin/testplugin2_s.c:
6929         * testsuite/plugin/testplugin_s.c:
6930         * testsuite/refcounting/.cvsignore:
6931         * testsuite/refcounting/Makefile.am:
6932         * testsuite/refcounting/bin.c:
6933         * testsuite/refcounting/element.c:
6934         * testsuite/refcounting/element_pad.c:
6935         * testsuite/refcounting/mainloop.c:
6936         * testsuite/refcounting/mem.c:
6937         * testsuite/refcounting/mem.h:
6938         * testsuite/refcounting/object.c:
6939         * testsuite/refcounting/pad.c:
6940         * testsuite/refcounting/sched.c:
6941         * testsuite/refcounting/thread.c:
6942         * testsuite/states/.cvsignore:
6943         * testsuite/states/Makefile.am:
6944         * testsuite/states/bin.c:
6945         * testsuite/states/locked.c:
6946         * testsuite/states/parent.c:
6947         * testsuite/threads/.cvsignore:
6948         * testsuite/threads/159566.c:
6949         * testsuite/threads/159852.c:
6950         * testsuite/threads/Makefile.am:
6951         * testsuite/threads/queue.c:
6952         * testsuite/threads/signals.c:
6953         * testsuite/threads/staticrec.c:
6954         * testsuite/threads/thread.c:
6955         * testsuite/threads/threadb.c:
6956         * testsuite/threads/threadc.c:
6957         * testsuite/threads/threadd.c:
6958         * testsuite/threads/threade.c:
6959         * testsuite/threads/threadf.c:
6960         * testsuite/threads/threadg.c:
6961         * testsuite/threads/threadh.c:
6962         * testsuite/threads/threadi.c:
6963           move all of these under tests
6964
6965 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6966
6967         * configure.ac:
6968         * tests/Makefile.am:
6969           fix distcheck
6970
6971 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6972
6973         * docs/gst/gstreamer-sections.txt:
6974         * tests/sched/.cvsignore:
6975         * tests/sched/Makefile.am:
6976         * tests/sched/cases/(fs-fs).xml:
6977         * tests/sched/cases/(fs-i-fs).xml:
6978         * tests/sched/cases/(fs-i-i-fs).xml:
6979         * tests/sched/cases/(fs-i-q[i-fs]).xml:
6980         * tests/sched/dynamic-pipeline.c:
6981         * tests/sched/interrupt1.c:
6982         * tests/sched/interrupt2.c:
6983         * tests/sched/interrupt3.c:
6984         * tests/sched/runtestcases:
6985         * tests/sched/runxml.c:
6986         * tests/sched/sched-stress.c:
6987         * tests/sched/sort.c:
6988         * tests/sched/testcases:
6989         * tests/sched/testcases1.tc:
6990         * tests/seeking/.cvsignore:
6991         * tests/seeking/Makefile.am:
6992         * tests/seeking/seeking1.c:
6993         * tests/threadstate/.cvsignore:
6994         * tests/threadstate/Makefile.am:
6995         * tests/threadstate/test1.c:
6996         * tests/threadstate/test2.c:
6997         * tests/threadstate/threadstate1.c:
6998         * tests/threadstate/threadstate2.c:
6999         * tests/threadstate/threadstate3.c:
7000         * tests/threadstate/threadstate4.c:
7001         * tests/threadstate/threadstate5.c:
7002           remove obsolete tests
7003         * configure.ac:
7004         * tests/bench-complexity.scm:
7005         * tests/bench-mass_elements.scm:
7006         * tests/complexity.c:
7007         * tests/complexity.gnuplot:
7008         * tests/instantiate/.cvsignore:
7009         * tests/instantiate/Makefile.am:
7010         * tests/instantiate/caps.c:
7011         * tests/mass_elements.c:
7012         * tests/network-clock-utils.scm:
7013         * tests/network-clock.scm:
7014         * tests/plot-data:
7015         First pass at cleaning up tests/ dir before moving the rest
7016         Combined with CVS surgery
7017
7018 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7019
7020         * po/POTFILES.in:
7021           queue has moved, update
7022
7023 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7024
7025         * docs/gst/gstreamer-sections.txt:
7026           remove double entries from the docs
7027         * gst/gst_private.h:
7028         * gst/gstinfo.c: (_gst_debug_init):
7029           remove the THREAD debug category
7030         * gst/Makefile.am:
7031         * gst/gstqueue.c:
7032         * gst/gstqueue.h:
7033         * docs/gst/gstreamer.types:
7034         * plugins/elements/gstqueue.c: (gst_queue_get_type),
7035         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
7036           completely move queue and fix up debugging categories
7037
7038 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7039
7040         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7041           make initialization portable, using LL is not
7042
7043 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7044
7045         * win32/common/gstconfig.h:
7046           add large padding
7047
7048 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7049
7050         * win32/common/libgstreamer.def:
7051           rename symbols; sort base section
7052
7053 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7054
7055         * gst/gstclock.c: (do_linear_regression):
7056           remove crack non-portable handrolled DEBUG macro
7057
7058 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7059
7060         * docs/random/release:
7061           update notes
7062         * win32/common/gstenumtypes.c: (register_gst_object_flags),
7063         (gst_object_flags_get_type), (register_gst_bin_flags),
7064         (gst_bin_flags_get_type), (register_gst_buffer_flag),
7065         (gst_buffer_flag_get_type), (register_gst_bus_flags),
7066         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7067         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
7068         (gst_caps_flags_get_type), (register_gst_clock_return),
7069         (gst_clock_return_get_type), (register_gst_clock_entry_type),
7070         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7071         (gst_clock_flags_get_type), (register_gst_state),
7072         (gst_state_get_type), (register_gst_state_change_return),
7073         (gst_state_change_return_get_type), (register_gst_state_change),
7074         (gst_state_change_get_type), (register_gst_element_flags),
7075         (gst_element_flags_get_type), (register_gst_core_error),
7076         (gst_core_error_get_type), (register_gst_library_error),
7077         (gst_library_error_get_type), (register_gst_resource_error),
7078         (gst_resource_error_get_type), (register_gst_stream_error),
7079         (gst_stream_error_get_type), (register_gst_event_type_flags),
7080         (gst_event_type_flags_get_type), (register_gst_event_type),
7081         (gst_event_type_get_type), (register_gst_seek_type),
7082         (gst_seek_type_get_type), (register_gst_seek_flags),
7083         (gst_seek_flags_get_type), (register_gst_format),
7084         (gst_format_get_type), (register_gst_index_certainty),
7085         (gst_index_certainty_get_type), (register_gst_index_entry_type),
7086         (gst_index_entry_type_get_type),
7087         (register_gst_index_lookup_method),
7088         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7089         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7090         (gst_index_resolver_method_get_type), (register_gst_index_flags),
7091         (gst_index_flags_get_type), (register_gst_debug_level),
7092         (gst_debug_level_get_type), (register_gst_debug_color_flags),
7093         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7094         (gst_iterator_result_get_type), (register_gst_iterator_item),
7095         (gst_iterator_item_get_type), (register_gst_message_type),
7096         (gst_message_type_get_type), (register_gst_mini_object_flags),
7097         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7098         (gst_pad_link_return_get_type), (register_gst_flow_return),
7099         (gst_flow_return_get_type), (register_gst_activate_mode),
7100         (gst_activate_mode_get_type), (register_gst_pad_direction),
7101         (gst_pad_direction_get_type), (register_gst_pad_flags),
7102         (gst_pad_flags_get_type), (register_gst_pad_presence),
7103         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7104         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7105         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7106         (gst_plugin_error_get_type), (register_gst_plugin_flags),
7107         (gst_plugin_flags_get_type), (register_gst_rank),
7108         (gst_rank_get_type), (register_gst_query_type),
7109         (gst_query_type_get_type), (register_gst_tag_merge_mode),
7110         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7111         (gst_tag_flag_get_type), (register_gst_task_state),
7112         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7113         (gst_alloc_trace_flags_get_type),
7114         (register_gst_type_find_probability),
7115         (gst_type_find_probability_get_type), (register_gst_uri_type),
7116         (gst_uri_type_get_type), (register_gst_parse_error),
7117         (gst_parse_error_get_type):
7118         * win32/common/gstenumtypes.h:
7119         * win32/common/gstversion.h:
7120           update visual studio generated files
7121
7122 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7123
7124         * win32/vs6/libgstbase.dsp:
7125         * win32/vs6/libgstelements.dsp:
7126           update project files for new locations
7127
7128 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7129
7130         * Makefile.am:
7131           remove some files
7132         * README:
7133           reinstate and update
7134         * DEVEL:
7135         * REQUIREMENTS:
7136           removed
7137         * LICENSE:
7138         * docs/random/LICENSE:
7139           moved to random
7140
7141 2005-11-30  Edward Hervey  <edward@fluendo.com>
7142
7143         * gst/gsttypefind.c: (gst_type_find_register):
7144         * gst/gsttypefind.h:
7145         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
7146         (gst_type_find_factory_dispose):
7147         * gst/gsttypefindfactory.h:
7148         Fix memory leak in GstTypeFindFactory.
7149
7150 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7151
7152         * gst/gst.c:
7153         * plugins/elements/Makefile.am:
7154         * plugins/elements/gstelements.c:
7155         * plugins/elements/gstqueue.c:
7156           move queue from core to the elements plugin
7157
7158 2005-11-29  Andy Wingo  <wingo@pobox.com>
7159
7160         * libs/gst/base/gstbasetransform.h: 
7161         * libs/gst/base/gstbasesrc.h: 
7162         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
7163
7164         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
7165         of pointers by which to pad very extensible base classes (like the
7166         ones in libs/gst/base).
7167
7168 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7169
7170         * docs/gst/gstreamer-docs.sgml:
7171         * docs/gst/gstreamer-sections.txt:
7172         * docs/libs/gstreamer-libs-docs.sgml:
7173         * docs/libs/gstreamer-libs-sections.txt:
7174           moving documentation from core to lib
7175
7176 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7177
7178         * check/Makefile.am:
7179         * configure.ac:
7180         * docs/gst/Makefile.am:
7181         * gst/Makefile.am:
7182         * gst/base/.cvsignore:
7183         * gst/base/Makefile.am:
7184         * gst/base/README:
7185         * gst/base/gstadapter.c:
7186         * gst/base/gstadapter.h:
7187         * gst/base/gstbasesink.c:
7188         * gst/base/gstbasesink.h:
7189         * gst/base/gstbasesrc.c:
7190         * gst/base/gstbasesrc.h:
7191         * gst/base/gstbasetransform.c:
7192         * gst/base/gstbasetransform.h:
7193         * gst/base/gstcollectpads.c:
7194         * gst/base/gstcollectpads.h:
7195         * gst/base/gstpushsrc.c:
7196         * gst/base/gstpushsrc.h:
7197         * gst/base/gsttypefindhelper.c:
7198         * gst/base/gsttypefindhelper.h:
7199         * gst/check/Makefile.am:
7200         * gst/check/gstcheck.c:
7201         * gst/check/gstcheck.h:
7202         * gst/net/Makefile.am:
7203         * gst/net/gstnet.h:
7204         * gst/net/gstnetclientclock.c:
7205         * gst/net/gstnetclientclock.h:
7206         * gst/net/gstnettimepacket.c:
7207         * gst/net/gstnettimepacket.h:
7208         * gst/net/gstnettimeprovider.c:
7209         * gst/net/gstnettimeprovider.h:
7210         * libs/gst/Makefile.am:
7211         * libs/gst/base/Makefile.am:
7212         * libs/gst/base/gstbasetransform.c:
7213         * libs/gst/check/Makefile.am:
7214         * plugins/elements/Makefile.am:
7215         * po/POTFILES.in:
7216           CVS surgery + support to move base, check, and net out of gst
7217           and into libs/gst
7218
7219 2005-11-29  Andy Wingo  <wingo@pobox.com>
7220
7221         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
7222
7223         * gst/gststructure.h (struct _GstStructure): Only one pointer of
7224         padding.
7225
7226         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
7227
7228         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
7229
7230         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
7231
7232         * gst/gstobject.h: (struct _GstObject): Only one pointer of
7233         padding; reduces object size by about 30%. We don't expect
7234         anything else to go into gstobject.
7235
7236         * gst/gstminiobject.h (struct _GstMiniObject)
7237         (struct _GstMiniObjectClass): Only one pointer of padding; the
7238         payload is only a pointer and two ints anyway. For the class there
7239         are only two methods as well.
7240         
7241         * gst/gstelement.h (struct _GstElementClass): Removed
7242         the state_changed signal callback, it is not used.
7243
7244 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7245
7246         * docs/gst/gstreamer.types:
7247           fix includes, though they are a little dinky
7248
7249 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7250
7251         * check/Makefile.am:
7252           look in the right place for elements, a lot more chance of
7253           success
7254         * gst/Makefile.am:
7255           remove indexers and elements subdirs
7256         * plugins/Makefile.am:
7257           make indexers conditional
7258
7259 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7260
7261         * Makefile.am:
7262         * configure.ac:
7263         * plugins/elements/Makefile.am:
7264         * plugins/elements/gstcapsfilter.c:
7265         * plugins/elements/gstfilesink.c:
7266         * plugins/elements/gstfilesrc.c:
7267         * plugins/elements/gstidentity.c:
7268         * plugins/indexers/Makefile.am:
7269           do CVS surgery and related build fixery to move elements
7270           and indexers in a new gstreamer/plugins directory, out of the
7271           gst/ directory
7272
7273 2005-11-29  Andy Wingo  <wingo@pobox.com>
7274
7275         * check/Makefile.am:
7276         * pkgconfig/gstreamer-net-uninstalled.pc.in:
7277         * pkgconfig/gstreamer-net.pc.in:
7278         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
7279         #322257.
7280
7281 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7282
7283         * tools/Makefile.am:
7284         * tools/gst-complete.1.in:
7285         * tools/gst-complete.c:
7286         * tools/gst-compprep.1.in:
7287         * tools/gst-compprep.c:
7288           removing -compprep and -complete
7289
7290 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7291
7292         * gst/gstevent.c: (gst_event_new_new_segment),
7293         (gst_event_parse_new_segment):
7294         * gst/gstevent.h:
7295           fix #320529 - clean up new_segment API and structure.
7296           Let's hope everyone was using the methods, and not the structure.
7297
7298 2005-11-29  Edward Hervey  <edward@fluendo.com>
7299
7300         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7301         (gst_base_sink_event), (gst_base_sink_do_sync),
7302         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
7303         Properly handle non GST_FORMAT_TIME segment
7304         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
7305         Properly handle non GST_FORMAT_TIME segment
7306         * gst/gstsegment.c:
7307         This function is valid if the accumulator is 0 and the format
7308         is different from the requested format.
7309         
7310 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
7311
7312         * docs/gst/gstreamer-sections.txt:
7313         Add gst_query_new_seeking and gst_query_parse_seeking to the
7314         docs.
7315
7316 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
7317
7318         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7319           Treat a pad alloc with new caps the same as if we were not
7320           negotiated, in order to allow a changing upstream output
7321           to produce a new format of data.
7322
7323 2005-11-29  Edward Hervey  <edward@fluendo.com>
7324
7325         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7326         (gst_base_transform_event), (gst_base_transform_eventfunc):
7327         The event virtual method is now properly implemented, with a default
7328         handler
7329         Sub classes should call the parent_class event method. They should
7330         return FALSE if they had a problem handling the given event, or don't
7331         want GstBaseTransform to send that even downstream
7332         * gst/elements/gstidentity.c: (gst_identity_class_init),
7333         (gst_identity_init), (gst_identity_event),
7334         (gst_identity_transform_ip), (gst_identity_set_property),
7335         (gst_identity_get_property):
7336         * gst/elements/gstidentity.h:
7337         Added the single-segment boolean property.
7338         If set to TRUE, it will output a single segment of data, starting from
7339         0, will eat up all incoming newsegment, and modify the timestamp of the
7340         buffers accordingly
7341
7342 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
7343
7344         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
7345           Don't ref NULL target pad (#322751). Improve docs.
7346
7347 2005-11-29  Michael Smith  <msmith@fluendo.com>
7348
7349         * gst/gstregistryxml.c: (load_plugin):
7350           Don't crash if we failed to load a feature from a plugin. 
7351
7352 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7353
7354         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
7355         (GST_START_TEST):
7356           use more check API and less GLib API
7357
7358 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7359
7360         * Makefile.am:
7361           don't run checks if we don't have check
7362         * common/check.mak:
7363           remove the registry when running make torture
7364         * docs/gst/gstreamer-sections.txt:
7365           remove second multiply
7366         * gst/gstqueue.c: (gst_queue_loop):
7367           fix a compile warning when disabling debug
7368
7369 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
7370
7371         * gst/gstinfo.h:
7372         Hey! Let's print the pad name if the pointer != NULL instead
7373         of when it == NULL :-)
7374
7375 2005-11-28  Wim Taymans  <wim@fluendo.com>
7376
7377         * check/gst/gstutils.c: (GST_START_TEST):
7378         Updated check, add some scaling accuracy checking code.
7379
7380         * gst/gstutils.c: (gst_util_div128_64),
7381         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
7382         (gst_util_uint64_scale_int):
7383         Fix 6 times faster division code. Optimize for common 
7384         1/1 and less common X/1 cases.
7385
7386 2005-11-28  Wim Taymans  <wim@fluendo.com>
7387
7388         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7389         More checks.
7390
7391         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
7392         (do_linear_regression), (gst_clock_add_observation):
7393         Cleanups.
7394         Release lock when the clock cannot be slaved.
7395         Catch the case where the regression returned an invalid denominator.
7396
7397         * gst/gstutils.c: (gst_util_div128_64_iterate),
7398         (gst_util_div128_64), (gst_util_uint64_scale_int64),
7399         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7400         Add protentially more performant non-iterative 128/64 divide function
7401         that unfortunatly does not work yet.
7402         Shortcut the trivial 0/X = 0 case.
7403         Remove the warnings on overflow.
7404
7405 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7406
7407         * gst/gstplugin.c: (gst_plugin_register_func):
7408           everything causing a plugin not to load should be at least a WARNING
7409
7410 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
7411
7412         * docs/random/ensonic/dparams.txt:
7413           some TODOs for the next dev cycle
7414         * libs/gst/controller/gstcontroller.c:
7415         (gst_controlled_property_set_interpolation_mode),
7416         (gst_controlled_property_new):
7417         * libs/gst/controller/gstcontroller.h:
7418           use base type to assign acccessor functions
7419
7420 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
7421
7422         * check/Makefile.am:
7423         Oops, that should have been top_srcdir
7424
7425 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
7426
7427         * check/Makefile.am:
7428         * check/elements/fdsrc.c: (GST_START_TEST):
7429         Use a cmdline define to specify the location of a file to use for
7430         testing, to avoid breaking distcheck.
7431
7432 2005-11-28  Andy Wingo  <wingo@pobox.com>
7433
7434         * gst/gstpad.c (fixate_value): Use array functions for arrays.
7435
7436 2005-11-28  Edward Hervey  <edward@fluendo.com>
7437
7438         * tools/gst-launch.c: (main):
7439         Clarify the output strings, makes it easier to translate.
7440         Fixes #322626
7441
7442 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7443
7444         * gst/Makefile.am:
7445           don't try and build net if we don't even have <sys/socket.h>
7446
7447 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
7448
7449         * check/Makefile.am:
7450         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
7451         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
7452           Add tests for fdsrc seekability
7453
7454         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
7455         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
7456         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
7457         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
7458         * gst/elements/gstfdsrc.h:
7459           fdsrc should not be a 'live' source.
7460           Implement seeking on seekable fd's.
7461
7462         * gst/gstquery.c: (gst_query_new_seeking),
7463         (gst_query_parse_seeking):
7464         * gst/gstquery.h:
7465           Implement SEEKING query functions: 
7466             *_new_seeking and *_parse_seeking
7467
7468 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
7469
7470         * gst/gstelement.c: (gst_element_dispose):
7471           don't loop forever
7472
7473         * gst/gstiterator.c:
7474         * gst/gststructure.c:
7475           doc fixes
7476
7477         * libs/gst/controller/gstcontroller.c:
7478         (gst_controlled_property_set_interpolation_mode):
7479         * libs/gst/controller/gstcontroller.h:
7480         * libs/gst/controller/gstinterpolation.c:
7481         (interpolate_none_get_enum_value_array):
7482           support controlling enums
7483
7484 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
7485
7486         * gst/gstvalue.c:
7487           Improve documentation for gst_value_union().
7488
7489         * gst/gstvalue.h:
7490           Change return value for union, intersect and subtract functions
7491           from gint to gboolean.
7492
7493 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
7494
7495         * gst/gstvalue.c: (gst_value_serialize_any_list),
7496         (gst_value_transform_any_list_string),
7497         (gst_value_deserialize_list), (gst_value_deserialize_array),
7498         (gst_value_set_int_range), (gst_value_deserialize_int_range),
7499         (gst_value_set_double_range), (gst_value_deserialize_double_range),
7500         (gst_value_set_fraction_range_full),
7501         (gst_value_deserialize_fraction_range),
7502         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
7503         (gst_value_deserialize_boolean),
7504         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
7505         (gst_value_serialize_float), (gst_value_deserialize_float),
7506         (gst_string_wrap), (gst_value_deserialize_string),
7507         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
7508         (gst_value_union_int_range_int_range),
7509         (gst_value_intersect_int_range_int_range),
7510         (gst_value_intersect_double_range_double_range),
7511         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
7512         (gst_value_subtract_int_range_int_range),
7513         (gst_value_subtract_double_double_range),
7514         (gst_value_subtract_double_range_double_range),
7515         (gst_value_deserialize_fraction):
7516         * gst/gstvalue.h:
7517           Use gint, gdouble and gchar in our API instead of int, double and
7518           char (and make usage in gstvalue.c more consistent).
7519
7520 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
7521
7522         * check/Makefile.am:
7523         * libs/gst/controller/Makefile.am:
7524         * libs/gst/dataprotocol/Makefile.am:
7525           fix up Makefile.am and remove GST_ENABLE_NEW
7526
7527 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
7528
7529         * configure.ac:
7530         * gst/Makefile.am:
7531         * gst/base/Makefile.am:
7532         * gst/check/Makefile.am:
7533         * gst/elements/Makefile.am:
7534         * gst/net/Makefile.am:
7535           update LDFLAGS use some more
7536
7537 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
7538
7539         * common/m4/gst-doc.m4:
7540           Fixes #312589
7541
7542 2005-11-26  Edward Hervey  <edward@fluendo.com>
7543
7544         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7545         This shouldn't issue a g_warning since it returns NULL if it
7546         couldn't find the plugin, and all functions using this behave
7547         properly on a NULL return. Switching to a GST_WARNING.
7548
7549 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
7550
7551         * gst/gstbin.c: (gst_bin_handle_message_func):
7552         Don't leak clock messages.
7553
7554 2005-11-25  Wim Taymans  <wim@fluendo.com>
7555
7556         * gst/gstutils.c: (gst_util_uint64_scale_int64),
7557         (gst_util_uint64_scale_int):
7558         Optimisations, remove unneeded vars.
7559
7560 2005-11-25  Wim Taymans  <wim@fluendo.com>
7561
7562         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7563         Added more checks for the high precision uint64 cases.
7564
7565         * gst/gstutils.c: (gst_util_uint64_scale_int64),
7566         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7567         Implement high precision (guint64 * guint64) / guint64.
7568
7569 2005-11-24  Wim Taymans  <wim@fluendo.com>
7570
7571         * gst/base/gstbasesrc.c: (gst_base_src_query):
7572         Fix wrong percentage query.
7573
7574         * gst/gstutils.c: (gst_util_uint64_scale),
7575         (gst_util_uint64_scale_int):
7576         Add some more common cases that can be handled 
7577         efficiently to _scale.
7578
7579 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7580
7581         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
7582         (gst_mini_object_suite):
7583           don't use check calls from threads; check probably isn't
7584           threadsafe and using a lock to make it threadsafe would
7585           defeat the purpose of this check
7586         * gst/check/gstcheck.c:
7587         * gst/check/gstcheck.h:
7588           use GST_DEBUG some more
7589
7590 2005-11-24  Wim Taymans  <wim@fluendo.com>
7591
7592         * gst/gstutils.c: (gst_util_uint64_scale),
7593         (gst_util_uint64_scale_int):
7594         Chain trivial case to _scale_int.
7595
7596 2005-11-24  Wim Taymans  <wim@fluendo.com>
7597
7598         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7599         Added test for scaling.
7600
7601         * gst/gstclock.h:
7602         Small doc fix.
7603
7604         * gst/gstutils.c: (gst_util_uint64_scale_int):
7605         Implemented high precision scaling code.
7606
7607 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
7608
7609         * gst/gstinfo.h:
7610           do not crash on pad==NULL
7611
7612 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7613
7614         Patch by: Stefan Kost
7615
7616         * common/gtk-doc.mak:
7617         * docs/gst/Makefile.am:
7618         * docs/libs/Makefile.am:
7619           Fix distcheck issues for the libraries docs build
7620           Closes #319599.
7621
7622 2005-11-24  Michael Smith <msmith@fluendo.com>
7623
7624         * docs/manual/basics-helloworld.xml:
7625           Fix bug #315027: memory leak in example code in docs.
7626
7627 2005-11-24  Michael Smith <msmith@fluendo.com>
7628
7629         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7630           Unlock the PREROLL_LOCK in a failure case.
7631
7632 2005-11-24  Wim Taymans  <wim@fluendo.com>
7633
7634         * docs/gst/gstreamer-sections.txt:
7635         * gst/base/gstadapter.h:
7636         * gst/base/gstbasesink.h:
7637         * gst/base/gstbasesrc.h:
7638         * gst/base/gstbasetransform.h:
7639         * gst/base/gstpushsrc.h:
7640         * gst/elements/gstfakesink.h:
7641         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
7642         * gst/elements/gstfakesrc.h:
7643         * gst/elements/gstfilesink.h:
7644         * gst/elements/gstfilesrc.h:
7645         * gst/gst.c:
7646         * gst/gstbin.c:
7647         * gst/gstbuffer.c: (_gst_buffer_copy):
7648         * gst/gstbus.h:
7649         * gst/gstcaps.c:
7650         * gst/gstchildproxy.c:
7651         * gst/gstclock.c:
7652         * gst/gstelement.c:
7653         * gst/gstelementfactory.c:
7654         * gst/gstelementfactory.h:
7655         * gst/gstevent.c:
7656         * gst/gstghostpad.h:
7657         * gst/gstindex.h:
7658         * gst/gstinterface.h:
7659         * gst/gstminiobject.c:
7660         * gst/gstminiobject.h:
7661         * gst/gstpad.c:
7662         * gst/gstpad.h:
7663         * gst/gstpadtemplate.h:
7664         * gst/gstpipeline.h:
7665         * gst/gstpluginfeature.h:
7666         * gst/gstquery.h:
7667         * gst/gstqueue.h:
7668         * gst/gsttaglist.c:
7669         * gst/gsttaglist.h:
7670         * gst/gsttagsetter.c:
7671         * gst/gsttagsetter.h:
7672         * gst/gsttrace.c:
7673         * gst/gsttrace.h:
7674         * gst/gsttypefind.h:
7675         * gst/gsturi.h:
7676         * gst/gstvalue.c:
7677         * gst/net/gstnetclientclock.c:
7678         * gst/net/gstnetclientclock.h:
7679         * gst/net/gstnettimepacket.c:
7680         * gst/net/gstnettimeprovider.c:
7681         * gst/net/gstnettimeprovider.h:
7682         Doc fixes.
7683
7684 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7685
7686         * configure.ac: back to HEAD
7687
7688 === release 0.9.6 ===
7689
7690 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
7691
7692         * configure.ac:
7693           releasing 0.9.6, "Always On Time"
7694
7695 2005-11-23  Wim Taymans  <wim@fluendo.com>
7696
7697         * docs/gst/gstreamer-sections.txt:
7698         * gst/glib-compat.c:
7699         * gst/gsttagsetter.c:
7700         * gst/gstvalue.c:
7701         * gst/net/gstnetclientclock.c:
7702         * gst/net/gstnettimepacket.h:
7703         Doc updates.
7704
7705 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7706
7707         * docs/faq/using.xml:
7708         * docs/libs/tmpl/gstcontrol.sgml:
7709         * docs/manual/advanced-dparams.xml:
7710         * docs/manual/appendix-checklist.xml:
7711         * docs/manual/basics-elements.xml:
7712         * docs/pwg/other-source.xml:
7713         * docs/random/moving-plugins:
7714         * gst/gstpad.c:
7715         * tools/gst-launch.1.in:
7716           remove mentions of sinesrc
7717
7718 2005-11-23  Michael Smith <msmith@fluendo.com>
7719
7720         * docs/gst/gstreamer-sections.txt:
7721           Update for new API and API changes.
7722         * gst/gstobject.h:
7723           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
7724         * gst/gstvalue.c:
7725           Documentation typo fix.
7726         * gst/net/gstnettimepacket.c:
7727           Documentation fixes for arguments.
7728
7729 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
7730
7731         * gst/gststructure.c: (gst_structure_get_fraction),
7732         (gst_structure_parse_value),
7733         (gst_structure_fixate_field_nearest_fraction):
7734         * gst/gststructure.h:
7735         * gst/gstutils.c: (gst_util_uint64_scale_int):
7736         * gst/gstutils.h:
7737         * scripts/update-funcnames:
7738         API Changes. 
7739         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
7740         Make gst_structure_fixate_field_nearest_fraction take a numerator
7741         and denominator argument instead of a GValue
7742         add gst_structure_get_fraction helper function.
7743
7744 2005-11-23  Wim Taymans  <wim@fluendo.com>
7745
7746         * docs/design/part-TODO.txt:
7747         Update TODO.
7748
7749         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7750         * gst/net/gstnetclientclock.h:
7751         Use parent fields for timeout and window_size.
7752
7753 2005-11-23  Andy Wingo  <wingo@pobox.com>
7754
7755         * check/net/gstnetclientclock.c (test_functioning): Adjust to
7756         rate_num/rate_denom change.
7757
7758         * gst/net/gstnetclientclock.c
7759         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
7760         OBJECT_LOCK. Don't call add_observation with the lock.
7761
7762         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
7763         fraction.
7764         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
7765         rate fraction.
7766         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
7767         deal with rate as a fraction whose numerator and denominator are
7768         GstClockTime values.
7769         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
7770         master; the other fields are protected by the SLAVE_LOCK.
7771         (do_linear_regression): Note that this must be called with the
7772         SLAVE_LOCK.
7773         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
7774         OBJECT_LOCK. Call set_calibration instead of touching the
7775         variables directly.
7776         (gst_clock_set_property, gst_clock_get_property): Protect
7777         master/slave parameters with the SLAVE_LOCK.
7778
7779         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
7780         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
7781         note that all of the instance variables that add_observation and
7782         the set_master functions use are protected by that lock and not
7783         the OBJECT_LOCK.
7784         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
7785
7786         * gst/gstclock.c (gst_clock_add_observation): No longer requires
7787         the caller to take the object lock.
7788
7789 2005-11-23  Wim Taymans  <wim@fluendo.com>
7790
7791         * gst/gsterror.c: (_gst_core_errors_init):
7792         * gst/gsterror.h:
7793         Add error for clock stuff.
7794
7795         * gst/gstpipeline.c: (gst_pipeline_change_state),
7796         (gst_pipeline_set_clock):
7797         Post clock error when clock cannot be used in a pipeline.
7798
7799 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
7800
7801         * docs/gst/gstreamer-sections.txt:
7802           make two symbols from gstinfo private for the docs
7803         * gst/base/gstcollectpads.h:
7804         * gst/gstutils.c:
7805           fix doc typos, update docs
7806
7807 2005-11-22  Wim Taymans  <wim@fluendo.com>
7808
7809         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
7810         (gst_base_sink_wait), (gst_base_sink_do_sync),
7811         (gst_base_sink_handle_event):
7812         * gst/base/gstbasesink.h:
7813         No need to store the clock, the parent element class already
7814         has it.
7815
7816         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
7817         Updates for clock_set returning a gboolean
7818
7819         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
7820         (gst_clock_id_wait_async), (gst_clock_class_init),
7821         (gst_clock_init), (gst_clock_finalize),
7822         (gst_clock_get_internal_time), (gst_clock_get_time),
7823         (gst_clock_slave_callback), (gst_clock_set_master),
7824         (gst_clock_get_master), (do_linear_regression),
7825         (gst_clock_add_observation), (gst_clock_set_property),
7826         (gst_clock_get_property):
7827         * gst/gstclock.h:
7828         Implement master/slave. When setting a clock as a slave, a
7829         periodic timeout is scheduled to sample master and slave times.
7830         Then the slave clock is recalibrated to match offset and rate
7831         of the master clock.
7832         Update logging a bit.
7833         Add flag so that a clock can state that is cannot be slaved to
7834         another clock.
7835
7836         * gst/gstelement.c: (gst_element_set_clock):
7837         * gst/gstelement.h:
7838         The set clock returns a gboolean for when an element cannot
7839         deal with the selected clock in the pipeline. 
7840
7841         * gst/gstpipeline.c: (gst_pipeline_change_state),
7842         (gst_pipeline_set_clock):
7843         * gst/gstpipeline.h:
7844         Handle the case where the selected clock cannot be set on
7845         the pipeline.
7846
7847         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
7848         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
7849         (gst_net_client_clock_set_property),
7850         (gst_net_client_clock_get_property),
7851         (gst_net_client_clock_observe_times):
7852         * gst/net/gstnetclientclock.h:
7853         Use regression code in GstClock parent, remove duplicated
7854         functionality.
7855
7856 2005-11-22  Michael Smith <msmith@fluendo.com>
7857
7858         * gst/gstutils.c: (gst_util_clock_time_scale):
7859         * gst/gstutils.h:
7860         * docs/gst/gstreamer-sections.txt:
7861           Rename method to have extra underscore.
7862
7863 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7864
7865         * gst/elements/Makefile.am:
7866         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
7867         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
7868         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
7869         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
7870         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
7871         * gst/elements/gstfakesrc.h:
7872         * gst/gstqueue.c: (queue_leaky_get_type):
7873           correctly fix GEnumValues so that nick is the short lowercase
7874           dashed tag
7875         * tools/gst-inspect.c: (print_element_properties_info):
7876           also show the nick, since it's useful to use from parse_launch
7877           syntax
7878           Fixes #322139
7879
7880 2005-11-22  Michael Smith <msmith@fluendo.com>
7881
7882         * gst/gstutils.c: (gst_util_clocktime_scale):
7883         * gst/gstutils.h:
7884         * docs/gst/gstreamer-sections.txt:
7885           Add util method for scaling a clocktime by a fraction. Useful 
7886           implementation is left as an exercise for the reader.
7887
7888 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
7889
7890         * gst/gstvalue.c: (gst_value_collect_fraction_range):
7891         If needed, allocate storage in the destination value during
7892         collection.
7893
7894 2005-11-22  Edward Hervey  <edward@fluendo.com>
7895
7896         * docs/gst/gstreamer-sections.txt:
7897         * gst/Makefile.am:
7898         * gst/gst.h:
7899         * gst/gsturitype.c:
7900         * gst/gsturitype.h:
7901         * gst/gstutils.c: (gst_util_set_object_arg):
7902         * tools/gst-compprep.c: (main):
7903         * tools/gst-inspect.c: (print_element_properties_info):
7904         Removed GstURI, closes bug #321061
7905
7906 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
7907
7908         * check/gst/gststructure.c: (GST_START_TEST):
7909         * gst/gststructure.c: (gst_structure_parse_value):
7910           Oops, broke automatic string type parsing.
7911           Add a test to catch it in future.
7912
7913 2005-11-22  Andy Wingo  <wingo@pobox.com>
7914
7915         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
7916         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
7917         Actually rename the function implementations. Grr.
7918
7919 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
7920
7921         * check/gst/capslist.h:
7922           Comment test cases
7923         * check/gst/gststructure.c: (GST_START_TEST),
7924         (gst_structure_suite):
7925           Test automatic value type detection in gst_structure_from_string.
7926         * gst/gststructure.c: (gst_structure_parse_value):
7927           Add fraction as a type we try and guess automatically in
7928           caps/structure strings.
7929
7930 2005-11-22  Andy Wingo  <wingo@pobox.com>
7931
7932         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
7933
7934         * gst/gsttagsetter.h:
7935         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
7936         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
7937         (gst_tag_setter_add_tag_valist)
7938         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
7939         _add_values, _add_valist, and _add_valist_values. Since this is an
7940         interface the function suffixes should be more explicit so
7941         language binding don't end up with element.add_valist ->
7942         gst_tag_setter_add_valist, for example. Fixes #322069.
7943
7944 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
7945
7946         * check/gst/gstcaps.c: (GST_START_TEST):
7947           Extend caps string tests to check that a caps to string
7948           conversion is reversible and produces the same caps.
7949
7950         * gst/gststructure.c: (gst_structure_value_get_generic_type):
7951           Output "fraction" as the generic type fraction range, so caps
7952           serialisation and deserialisation works.
7953         * check/gst/capslist.h:
7954         * gst/gstvalue.c: (gst_value_deserialize_fraction):
7955           Support 'MIN' and 'MAX' for deserialising fractions.
7956
7957 2005-11-22  Andy Wingo  <wingo@pobox.com>
7958
7959         * gst/gstevent.h (gst_event_new_new_segment)
7960         (gst_event_parse_new_segment, gst_event_new_buffer_size)
7961         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
7962         Renamed from *_newsegment, *_buffersize, *_notarget.
7963
7964         * scripts/update-funcnames: New script, performs the changes
7965         listed above.
7966
7967 2005-11-22  Wim Taymans  <wim@fluendo.com>
7968
7969         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7970         Make sure the GstFlowReturn is returned.
7971
7972         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
7973         (gst_bus_add_signal_watch):
7974         * gst/gstbus.h:
7975         add gst_bus_add_signal_watch_full.
7976
7977         * gst/gstplugin.c: (gst_plugin_load_file):
7978         Small style cleanup.
7979
7980 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
7981
7982         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
7983           Block the fakesrc srcpad when we send an event, to avoid
7984           contention on the stream_lock causing random test failures.
7985
7986 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
7987
7988         * check/gst/gstvalue.c: (GST_START_TEST):
7989         * gst/gstvalue.c: (gst_value_fraction_subtract):
7990           Fix subtraction.
7991
7992 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
7993
7994         * gst/gst.h:
7995           include "gstchildproxy.h"
7996         * gst/gstchildproxy.h:
7997         * libs/gst/controller/gstcontroller.h:
7998           use G_GNUC_NULL_TERMINATED
7999
8000 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8001
8002         * check/gst/capslist.h:
8003         * check/gst/gstcaps.c: (GST_START_TEST):
8004         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8005         * gst/gststructure.c: (gst_structure_parse_range),
8006         (gst_structure_fixate_field_nearest_fraction):
8007         * gst/gststructure.h:
8008         * gst/gstvalue.c: (gst_value_init_fraction_range),
8009         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
8010         (gst_value_collect_fraction_range),
8011         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
8012         (gst_value_set_fraction_range_full),
8013         (gst_value_get_fraction_range_min),
8014         (gst_value_get_fraction_range_max),
8015         (gst_value_serialize_fraction_range),
8016         (gst_value_transform_fraction_range_string),
8017         (gst_value_compare_fraction_range),
8018         (gst_value_deserialize_fraction_range),
8019         (gst_value_intersect_fraction_fraction_range),
8020         (gst_value_intersect_fraction_range_fraction_range),
8021         (gst_value_subtract_fraction_fraction_range),
8022         (gst_value_subtract_fraction_range_fraction),
8023         (gst_value_subtract_fraction_range_fraction_range),
8024         (gst_value_collect_fraction), (gst_value_fraction_multiply),
8025         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
8026         (gst_value_transform_string_fraction), (_gst_value_initialize):
8027         * gst/gstvalue.h:
8028           Implement fraction ranges and extend GstFraction to support
8029           arithmetic subtraction, as well as deserialization from integer
8030           strings such as "100"
8031           Add a testsuite as for int and double range set operations
8032
8033 2005-11-21  Andy Wingo  <wingo@pobox.com>
8034
8035         * gst/gsttaglist.h: 
8036         * gst/gstcaps.h: 
8037         * gst/gststructure.h: Add glib-compat.h.
8038
8039 2005-11-21  Wim Taymans  <wim@fluendo.com>
8040
8041         * gst/gstbin.c: (gst_bin_change_state_func):
8042         Fix for #321595
8043
8044 2005-11-21  Wim Taymans  <wim@fluendo.com>
8045
8046         * gst/gstsegment.h:
8047         And add a nice define too.
8048
8049 2005-11-21  Wim Taymans  <wim@fluendo.com>
8050
8051         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
8052         (gst_segment_new), (gst_segment_free), (gst_segment_init),
8053         (gst_segment_set_duration), (gst_segment_set_last_stop),
8054         (gst_segment_set_seek), (gst_segment_set_newsegment),
8055         (gst_segment_to_stream_time), (gst_segment_to_running_time),
8056         (gst_segment_clip):
8057         * gst/gstsegment.h:
8058         Make binding friendly.
8059
8060 2005-11-21  Andy Wingo  <wingo@pobox.com>
8061
8062         * gst/gsttagsetter.h: 
8063         * gst/gsttaglist.h: 
8064         * gst/gststructure.h: 
8065         * gst/gstcaps.h: 
8066         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
8067         #319940.
8068
8069         * gst/gsterror.c (_gst_core_errors_init):
8070         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
8071         category.
8072
8073         * gst/Makefile.am (gst_headers): Add glib-compat.h.
8074         (noinst_HEADERS): noinst the -private.
8075
8076 2005-11-21  Michael Smith <msmith@fluendo.com>
8077
8078         * gst/gstplugin.h:
8079         * gst/gstregistry.h:
8080           Remove unimplemented declarations for which we can see no sensible
8081           use.
8082
8083 2005-11-21  Andy Wingo  <wingo@pobox.com>
8084
8085         * gst/gst.h: Include glib-compat.h.
8086
8087         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
8088
8089         * gst/glib-compat.c: Include the public and the private header.
8090
8091         * gst/glib-compat-private.h: Copied here from glib-compat.h.
8092
8093         * gst/gstvalue.c: 
8094         * gst/gstpad.c: 
8095         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
8096
8097         * check/gst/gstevent.c (create_custom_events): Check that
8098         FLUSH_STOP is serialized.
8099
8100         * check/elements/identity.c (event_func): 
8101         * check/elements/fakesrc.c (event_func): No stream lock, the core
8102         takes it.
8103
8104         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
8105         stream lock taking, yay.
8106
8107         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
8108         ensure that core takes the stream lock.
8109
8110         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
8111         lock name change.
8112
8113         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
8114         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
8115         it already. For the flush start we do take it though so we get the
8116         right preroll state change messages.
8117
8118         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
8119         the stream lock here, the core does it for us.
8120
8121         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
8122         GST_STREAM_GET_LOCK.
8123         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
8124         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
8125         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
8126         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
8127         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
8128         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
8129
8130         * gst/gstpad.c: Update for stream lock name change.
8131
8132         * gst/base/gstbasesink.c: Update for preroll lock name change.
8133
8134 2005-11-21  Wim Taymans  <wim@fluendo.com>
8135
8136         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
8137         (gst_clock_get_master):
8138         * gst/gstclock.h:
8139         * gst/gstsystemclock.c: (gst_system_clock_init):
8140         Convert Clock flags to object flags.
8141         Added methods to manage master/slave clocks.
8142
8143 2005-11-21  Wim Taymans  <wim@fluendo.com>
8144
8145         * check/gst/gstsegment.c: (GST_START_TEST):
8146         * docs/design/part-TODO.txt:
8147         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8148         (gst_base_sink_event), (gst_base_sink_do_sync),
8149         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8150         (gst_base_sink_query), (gst_base_sink_change_state):
8151         * gst/base/gstbasesink.h:
8152         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8153         (gst_base_src_default_newsegment),
8154         (gst_base_src_configure_segment), (gst_base_src_do_seek),
8155         (gst_base_src_get_range), (gst_base_src_loop),
8156         (gst_base_src_change_state):
8157         * gst/base/gstbasesrc.h:
8158         * gst/base/gstbasetransform.c:
8159         (gst_base_transform_prepare_output_buf),
8160         (gst_base_transform_event), (gst_base_transform_change_state):
8161         * gst/base/gstbasetransform.h:
8162         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8163         (gst_collect_pads_event):
8164         * gst/base/gstcollectpads.h:
8165         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
8166         (gst_fake_src_create):
8167         * gst/elements/gstfakesrc.h:
8168         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8169         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8170         (gst_segment_set_last_stop), (gst_segment_set_seek),
8171         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
8172         (gst_segment_to_running_time), (gst_segment_clip):
8173         * gst/gstsegment.h:
8174         More segment updates, replace code in plugins with segment
8175         helper functions.
8176
8177 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8178
8179         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
8180         Don't ignore sscanf results
8181
8182 2005-11-21  Andy Wingo  <wingo@pobox.com>
8183
8184         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
8185
8186         * *.h:
8187         * *.c: Ran scripts/update-macros. Oh yes.
8188
8189         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
8190         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
8191         GST_GET_LOCK, etc.
8192
8193         * scripts/update-macros: New script. Run it on your files to
8194         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
8195         well.
8196
8197 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
8198
8199         * docs/gst/Makefile.am:
8200         * docs/gst/gstreamer-docs.sgml:
8201         * docs/gst/gstreamer-sections.txt:
8202         * docs/gst/gstreamer.types:
8203         * gst/gstinfo.h:
8204           more docs fixes, add new api to the docs
8205
8206 2005-11-21  Andy Wingo  <wingo@pobox.com>
8207
8208         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
8209         state_broadcast call.
8210
8211         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
8212
8213 2005-11-21  Julien MOUTTE  <julien@moutte.net>
8214
8215         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
8216         function calls for arrays.
8217
8218 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
8219
8220         * docs/random/ensonic/media-device-daemon.txt:
8221           wild idea, can this be done?
8222         * docs/gst/gstreamer-sections.txt:
8223         * gst/gsterror.h:
8224         * gst/gstfilter.c:
8225         * gst/gstfilter.h:
8226         * gst/gstplugin.h:
8227         * gst/gstpluginfeature.c:
8228         * gst/gsttrace.c:
8229         * gst/gstvalue.c:
8230         * gst/gstvalue.h:
8231           doc fixes and additions
8232
8233 2005-11-21  Andy Wingo  <wingo@pobox.com>
8234
8235         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
8236         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
8237         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
8238         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
8239         private to the basesrc implementation.
8240
8241         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
8242         behalf of event function if necessary. It should no longer be
8243         necessary to take the stream lock in pad's event functions. Fixes
8244         #320299.
8245
8246 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8247         * docs/gst/gstreamer-sections.txt:
8248         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
8249         (gst_structure_fixate_field_nearest_double),
8250         (gst_structure_fixate_field_boolean):
8251         * gst/gststructure.h:
8252         * win32/common/libgstreamer.def:
8253         * win32/gstreamer.def:
8254
8255         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
8256         (#322027)
8257
8258 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8259
8260         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
8261         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
8262         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
8263         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
8264         (gst_fdsrc_uri_handler_init):
8265         * gst/elements/gstfdsrc.h:
8266           Port fd:// URI handler from 0.8 to fdsrc
8267
8268 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8269
8270         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
8271         (gst_value_serialize_fourcc):
8272         * gst/gstvalue.h:
8273           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
8274           consistent with our other format defines (#320324).
8275
8276 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8277
8278         * gst/gstvalue.c: (gst_value_is_fixed):
8279           Revert previous commit. Value lists are by definition
8280           not fixed, as they are a list of possible values.
8281
8282 2005-11-21  Andy Wingo  <wingo@pobox.com>
8283
8284         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
8285         during the stable series if we need it. Fixes #319178.
8286
8287         * gst/gstevent.c (gst_event_new_filler): Removed.
8288
8289         * check/gst/gstevent.c: Update comment about filler events.
8290
8291 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8292
8293         * gst/gstvalue.c: (gst_value_is_fixed):
8294           Should handle both value arrays and value lists.
8295
8296 2005-11-21  Andy Wingo  <wingo@pobox.com>
8297
8298         patch by: Alessandro Dessina <alessandro nnva org>
8299
8300         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
8301         functions to access arrays. Fixes #321962.
8302
8303 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8304
8305         * docs/gst/gstreamer.types:
8306           gst_collectpads_get_type => gst_collect_pads_get_type.
8307           
8308         * gst/base/gstbasetransform.c:
8309           Remove unused SIGNAL_HANDOFF enum.
8310
8311 2005-11-21  Andy Wingo  <wingo@pobox.com>
8312
8313         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
8314         the event type (upstream, downstream, serialized). Renamed
8315         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
8316         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
8317         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
8318
8319         * gst/gstevent.c: Update for new CUSTOM event names.
8320
8321         * check/gst/gstevent.c: Update check for new CUSTOM event names.
8322
8323         * gst/gstevent.h:
8324         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
8325         bug #319392.
8326
8327 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8328
8329         * docs/gst/gstreamer-sections.txt:
8330         * win32/common/libgstbase.def:
8331         * win32/libgstbase.def:
8332         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8333         (gst_collect_pads_class_init), (gst_collect_pads_init),
8334         (gst_collect_pads_finalize), (gst_collect_pads_new),
8335         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
8336         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
8337         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
8338         (gst_collect_pads_start), (gst_collect_pads_stop),
8339         (gst_collect_pads_peek), (gst_collect_pads_pop),
8340         (gst_collect_pads_available), (gst_collect_pads_read),
8341         (gst_collect_pads_flush), (gst_collect_pads_event),
8342         (gst_collect_pads_chain):
8343         * gst/base/gstcollectpads.h:
8344           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
8345           unimplemented functions as unimplemented. Add padding to
8346           GstCollectData. (#320766, #320423)
8347
8348 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8349
8350         * gst/gstmessage.c:
8351           Improve docs for DURATION message (usage of duration parameter)
8352           (#320113)
8353
8354 2005-11-20  Wim Taymans  <wim@fluendo.com>
8355
8356         * check/Makefile.am:
8357         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
8358         (main):
8359         * gst/Makefile.am:
8360         * gst/gst.h:
8361         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8362         (gst_segment_set_seek), (gst_segment_set_newsegment),
8363         (gst_segment_to_stream_time), (gst_segment_to_running_time),
8364         (gst_segment_clip):
8365         * gst/gstsegment.h:
8366         Added segment helper structure and methods. Not fully implemented
8367         yet.
8368         Added segment check.
8369
8370 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
8371
8372         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8373           Add a deserialisation test for fractions
8374         * examples/metadata/read-metadata.c: (message_loop),
8375         (make_pipeline), (main):
8376           Fix up metadata reading sample.
8377         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8378           Debug format fix
8379         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8380           Don't try and fixate empty caps
8381         * gst/gst_private.h:
8382           Wrap in G_BEGIN_DECLS/G_END_DECLS
8383         * gst/gstvalue.c: (gst_value_collect_fraction),
8384         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
8385         (gst_value_transform_string_fraction),
8386         (gst_value_compare_fraction):
8387           Add some extra guards to ensure that we don't end up 
8388           with an invalid denominator of 0 in a gstfraction and
8389           that fractions always get reduced.
8390
8391 2005-11-20  Wim Taymans  <wim@fluendo.com>
8392
8393         * docs/gst/gstreamer-sections.txt:
8394         * gst/gstbuffer.h:
8395         * gst/gstelement.c:
8396         * gst/gstformat.c:
8397         * gst/gstformat.h:
8398         * gst/gstindex.h:
8399         * gst/gstquery.c:
8400         * gst/gstquery.h:
8401         * gst/gstvalue.c:
8402         Doc fixes.
8403
8404 2005-11-20  Wim Taymans  <wim@fluendo.com>
8405
8406         * docs/design/part-TODO.txt:
8407         * gst/gstcaps.h:
8408         Make a proper enum of the flag.
8409
8410 2005-11-19  Wim Taymans  <wim@fluendo.com>
8411
8412         * docs/design/part-TODO.txt:
8413         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
8414         (gst_format_to_quark), (gst_format_register):
8415         * gst/gstformat.h:
8416         * gst/gstquery.c: (_gst_query_initialize),
8417         (gst_query_type_get_name), (gst_query_type_to_quark),
8418         (gst_query_type_register):
8419         * gst/gstquery.h:
8420         Add type to quark and type to string conversions.
8421
8422 2005-11-19  Andy Wingo  <wingo@pobox.com>
8423
8424         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
8425         #320097.
8426
8427 2005-11-19  Wim Taymans  <wim@fluendo.com>
8428
8429         * docs/design/part-TODO.txt:
8430         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
8431         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
8432         (gst_bin_handle_message_func):
8433         * gst/gstbin.h:
8434         Make message handling overridable.
8435
8436 2005-11-19  Andy Wingo  <wingo@pobox.com>
8437
8438         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
8439
8440         * gst/gstclock.h:
8441         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
8442         be a GstClockTime.
8443         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
8444         is a GstClockTime. Fixes #321710.
8445
8446         * gst/gstclock.h (GstClock): Remove offset property. Add
8447         internal_calibration and external_calibration. Fix padding. Pad
8448         also by GstClockTime so we don't run into problems.
8449
8450         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
8451         (gst_clock_get_rate_offset): Remove.
8452         (gst_clock_set_time_adjust): Remove. Fixes #321712.
8453
8454         * gst/gstutils.h:
8455         * gst/gstutils.c (g_static_rec_cond_wait)
8456         (g_static_rec_cond_timed_wait): Removed, no longer needed.
8457
8458         * gst/gstbin.c: Remove terrible continue_state prototype.
8459
8460         * gst/gstelement.h (gst_element_continue_state): Make public.
8461
8462         * gst/gstelement.h:
8463         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
8464         by continue_state. Fixes #319389.
8465
8466         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
8467         Really fixes #168438. However I don't see anywhere where the
8468         filter function is called... stupid GStreamer...
8469         
8470         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
8471         don't have a dispose function, so it won't get called when the
8472         object is unreffed, but oh well!
8473
8474         * gst/gstindex.c (gst_index_set_filter_full): New API function,
8475         allows a destroy function to be set so user_data can be freed.
8476         Fixes #168438.
8477         (gst_index_set_filter): Call gst_index_set_filter_full.
8478
8479         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
8480
8481         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
8482         string should produce an error, given the lack of a way to
8483         represent NULL strings. Fixes #165650.
8484         
8485         * gst/gstvalue.h: 
8486         * gst/gstvalue.c (gst_value_array_append_value) 
8487         (gst_value_array_prepend_value, gst_value_array_get_size) 
8488         (gst_value_array_get_value): New API, copied from
8489         gst_value_list_*, only operates on arrays.
8490         (gst_value_list_append_value, gst_value_list_prepend_value) 
8491         (gst_value_list_concat, gst_value_list_get_size) 
8492         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
8493
8494         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
8495         init_list, because it works on both.
8496         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
8497         (gst_value_copy_list_or_array): Renamed from copy_list.
8498         (gst_value_free_list_or_array): Renamed from free_list.
8499         (gst_value_collect_list_or_array): Renamed from collect_list.
8500         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
8501         (gst_value_list_or_array_peek_pointer): Renamed from
8502         list_peek_pointer.
8503         (_gst_value_array_value_table, _gst_value_list_value_table):
8504         Update value table functions.
8505         (gst_value_compare_list_or_array): Renamed from compare_list.
8506
8507         * gsttaglist.h: Whoops, foreach function returns void. Also fix
8508         some constness.
8509
8510         * gst/gsttaglist.c:
8511         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
8512         GstTagList*. Fixes #143472.
8513
8514         * gst/gststructure.h: Clarify what the foreach/map functions can
8515         or can't do to their arguments.
8516
8517 2005-11-18  Wim Taymans  <wim@fluendo.com>
8518
8519         * gst/gstclock.c: (gst_clock_set_calibration),
8520         (gst_clock_get_calibration):
8521         Doc and API fixes.
8522         Calibration can be set with internal time equal to current
8523         internal time too.
8524
8525 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
8526
8527         * gst/gsterror.c:
8528         * gst/gsterror.h:
8529           document
8530
8531 2005-11-18  Andy Wingo  <wingo@pobox.com>
8532
8533         * configure.ac: 
8534         * pkgconfig/gstreamer-net.pc.in:
8535         * pkgconfig/gstreamer-net-uninstalled.pc.in:
8536         * pkgconfig/Makefile.am: Add net pkgconfig files.
8537
8538 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
8539
8540         * gst/gstcaps.c:
8541         * gst/gstghostpad.c:
8542         * gst/gsttrace.c:
8543         * gst/gstvalue.c:
8544         * gst/gstvalue.h:
8545           docs fixes
8546
8547 2005-11-18  Andy Wingo  <wingo@pobox.com>
8548
8549         * gst/net/gstnetclientclock.c: Turn off debugging.
8550
8551         * check/net/gstnetclientclock.c (test_functioning): Assert that the
8552         times connverge somewhat. Can't make a real test.
8553
8554         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
8555         integer arithmetic. Return the minimum of the domain, which can be
8556         set as "internal" for gst_clock_set_calibration.
8557         (gst_net_client_clock_observe_times): Call _set_calibration.
8558         (gst_net_client_clock_new): Call _set_calibration instead of
8559         rate_offset.
8560
8561         * check/net/gstnetclientclock.c (test_functioning): Use the right
8562         adjustment api.
8563
8564         * gst/gstclock.h:
8565         * gst/gstclock.c (gst_clock_get_calibration) 
8566         (gst_clock_set_calibration): New functions, obsolete the ones I
8567         added yesterday. Doh. Precision issues mean we have to extrapolate
8568         from a point in the more recent past than 1970.
8569         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
8570         obsolete.
8571         (gst_clock_adjust_unlocked): Use the right calibration data.
8572
8573 2005-11-18  Edward Hervey  <edward@fluendo.com>
8574
8575         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
8576         Also reset the ->current_* values in READY->PAUSED
8577
8578 2005-11-18  Andy Wingo  <wingo@pobox.com>
8579
8580         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
8581         Whoops, check the right fd. Also add some debugging.
8582         (gst_net_client_clock_observe_times): Adjust for int64 offset.
8583         (do_linear_regression): Add a crapload of debugging. Subtract off
8584         the minimum values from the input series to discard unneeded bits.
8585         Use only int arithmetic. There is still double arithmetic when
8586         calculating the intercept that needs fixing. Return boolean to
8587         indicate success; FALSE would mean the domain or range is too
8588         great. Still needs fixes.
8589
8590 2005-11-18  Wim Taymans  <wim@fluendo.com>
8591
8592         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
8593         For the current position in stream time, we need to subtract
8594         accumulated time.
8595         
8596         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
8597         Release lock before calling the callback function of async
8598         entries.
8599
8600 2005-11-18  Andy Wingo  <wingo@pobox.com>
8601
8602         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
8603         Port goes all the way to MAXUINT16.
8604
8605         * gst/net/gstnettimeprovider.c: Make the port range the same as
8606         for the kernel: 0 assigns, otherwise ports are less than
8607         MAXUINT16.
8608
8609         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
8610         port change.
8611
8612         * check/net/gstnetclientclock.c (test_functioning): Add the start
8613         of another test. 
8614
8615 2005-11-18  Wim Taymans  <wim@fluendo.com>
8616
8617         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
8618         (gst_bin_remove_func), (bin_bus_handler):
8619         * gst/gstbin.h:
8620         Removing a clock provider from a bin, triggers a clock lost message
8621         so that a new clock will be selected.
8622         Adding a clock to a bin triggers a clock provider message.
8623         Make sure we reselect a clock when we received a clock lost message.
8624         Keep a reference to the element that provided the clock.
8625
8626 2005-11-18  Andy Wingo  <wingo@pobox.com>
8627
8628         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
8629         the clock initially so it produces values around the base time.
8630         (gst_net_client_clock_class_init): Typo fix.
8631         (gst_net_client_clock_thread): Add note on when the socket gets
8632         closed.
8633
8634 2005-11-17  Wim Taymans  <wim@fluendo.com>
8635
8636         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
8637         Free remote and local time arrays.
8638
8639 2005-11-17  Wim Taymans  <wim@fluendo.com>
8640
8641         * gst/net/gstnetclientclock.c: (do_linear_regression),
8642         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
8643         Fix compilation, uninitialized vars and a forgotten continue.
8644
8645 2005-11-17  Andy Wingo  <wingo@pobox.com>
8646
8647         * check/Makefile.am (check_PROGRAMS): 
8648         * check/net/gstnetclientclock.c: Add a most minimal test for the
8649         net client clock. More to come later.
8650
8651         * gst/net/gstnet.h: 
8652         * gst/net/Makefile.am: Add netclientclock.
8653
8654         * gst/net/gstnetclientclock.h:
8655         * gst/net/gstnetclientclock.c: New files, implement an untested
8656         GstClock that takes its time from a network time provider.
8657         Implements the algorithm in network-clock.scm.
8658
8659         * tests/network-clock.scm (*window-size*): Rename from
8660         *queue-length*.
8661         * tests/network-clock.scm (network-time): 
8662         * tests/network-clock-utils.scm (q-push): Update callers.
8663
8664 2005-11-17  Wim Taymans  <wim@fluendo.com>
8665
8666         * gst/gstbin.c: (gst_bin_provide_clock_func),
8667         (gst_bin_sort_iterator_new):
8668         And unref the child too..
8669
8670 2005-11-17  Wim Taymans  <wim@fluendo.com>
8671
8672         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8673         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
8674         Refactor the sort iterator so it can be used while holding the
8675         LOCK too.
8676         Make clock selection select a clock closest to the source.
8677
8678 2005-11-17  Michael Smith <msmith@fluendo.com>
8679
8680         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
8681         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
8682         * gst/gstclock.h:
8683           Anonymous structs are a gcc (and some other compilers) extension, so
8684           don't use them. Since this is only for ABI-compatibility, and our
8685           API/ABI freeze is over in a few days, this whole thing will only
8686           last a few days, so don't bother trying to think up a meaningful
8687           name for the struct.
8688
8689 2005-11-17  Andy Wingo  <wingo@pobox.com>
8690
8691         * gst/gstclock.h (GstClock): Add rate and offset properties,
8692         preserving ABI stability. Add rate/offset accessors. Will file bug
8693         for the freeze break.
8694
8695         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
8696         and offset, trying to keep precision and avoiding
8697         underflow/overflow.
8698         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
8699         functions. Make gst_clock_set_time_adjust obsolete.
8700         (gst_clock_set_time_adjust): Note that this function is obsolete.
8701         Will file bug soon.
8702
8703         * gst/base/gstbasetransform.h: Make the ABI-stability hack
8704         greppable by using GST_PADDING-1+1.
8705
8706 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
8707
8708         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
8709
8710         * gst/gstmessage.c: (gst_message_parse_clock_lost):
8711           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
8712
8713         * gst/gstpadtemplate.h:
8714         * gst/gstpluginfeature.h:
8715           Don't use c++ style comments in headers (#321638).
8716
8717 2005-11-16  Andy Wingo  <wingo@pobox.com>
8718
8719         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
8720         buffer.
8721
8722         * check/net/gstnettimeprovider.c: Check to see that the time
8723         provider actually provides times. Works, yo!
8724
8725 2005-11-16  Wim Taymans  <wim@fluendo.com>
8726
8727         * check/Makefile.am:
8728         Enable more tests.
8729
8730         * check/elements/fakesrc.c: (GST_START_TEST):
8731         Set element to NULL before disposing it.
8732
8733 2005-11-16  Andy Wingo  <wingo@pobox.com>
8734
8735         * gst/net/Makefile.am:
8736         * gst/net/gstnet.h:
8737         * gst/net/gstnettimeprovider.c: 
8738         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
8739         provider, include it from gstnet.h, and add it to the build.
8740
8741         * gst/net/gstnettimepacket.h: 
8742         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
8743         sending and receiving.
8744
8745 2005-11-16  Wim Taymans  <wim@fluendo.com>
8746
8747         * check/Makefile.am:
8748         Enable valgrind check.
8749
8750         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
8751         (gst_fake_src_alloc_buffer):
8752         Fix memleak.
8753
8754 2005-11-16  Wim Taymans  <wim@fluendo.com>
8755
8756         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
8757         Call parent finalize too.
8758
8759 2005-11-16  Wim Taymans  <wim@fluendo.com>
8760
8761         * check/Makefile.am:
8762         Enable valgrind check that should work fine now.
8763
8764         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
8765         * gst/gstqueue.c: (gst_queue_init):
8766         Fix memleaks in pad allocation.
8767
8768 2005-11-16  Andy Wingo  <wingo@pobox.com>
8769
8770         * gst/net/Makefile.am:
8771         * gst/net/gstnet.h: New part of core to hold network elements and
8772         objects. Put in core because it exposes API that applications want
8773         to use. The library is named libgstnet-tempname right now because
8774         of the existing libgstnet in gst-plugins-base. Solution is
8775         probably to rename the one in plugins-base; will file a bug for
8776         the freeze break.
8777
8778         * gst/net/gstnettimeprovider.c: 
8779         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
8780         get_time call over the network.
8781
8782         * configure.ac: 
8783         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
8784
8785         * check/Makefile.am:
8786         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
8787         get additions shortly.
8788
8789 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8790
8791         * gst/gstpad.c: (gst_pad_new_from_static_template):
8792         * gst/gstpad.h:
8793           add gst_pad_new_from_static_template functions
8794         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
8795         (gst_check_setup_sink_pad):
8796         * gst/elements/gsttee.c: (gst_tee_init):
8797           and use them
8798
8799 2005-11-16  Wim Taymans  <wim@fluendo.com>
8800
8801         * gst/gstpad.c: (gst_pad_pause_task):
8802         Removed warning, it's not really an error either.
8803
8804 2005-11-16  Wim Taymans  <wim@fluendo.com>
8805
8806         * gst/base/gstbasetransform.c:
8807         (gst_base_transform_prepare_output_buf),
8808         (gst_base_transform_event):
8809         Check if the caps are NULL, this can happen if the element
8810         is shutting down and the pad caps are set to NULL.
8811
8812 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8813
8814         * gst/elements/gsttee.c: (gst_tee_init):
8815           fix pad template leak in tee
8816
8817 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8818
8819         * gst/glib-compat.c: (g_value_dup_gst_object):
8820         * gst/glib-compat.h:
8821         * gst/gstpad.c: (gst_pad_set_property):
8822           use gst_object_ref when setting the pad template; this will
8823           trigger the pad template leaks on GLib 2.6 and the slaves
8824
8825 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8826
8827         * gst/glib-compat.c: (gst_flags_get_first_value):
8828         * gst/glib-compat.h:
8829         * gst/gstregistryxml.c:
8830           remove functions copied from GLib 2.6
8831
8832 2005-11-16  Michael Smith <msmith@fluendo.com>
8833
8834         * gst/Makefile.am:
8835           Don't link against VALGRIND_LIBS. That was always the wrong thing to
8836           do, but only breaks with newer valgrind versions. We're not a
8837           valgrind tool, we have no link-time dependencies on libcoregrind.
8838
8839 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8840
8841         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8842           some debug changes
8843         * gst/gstmessage.h:
8844           typo fixes
8845
8846 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8847
8848         * gst/base/gstbasesrc.c: (gst_base_src_init):
8849         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
8850         * gst/gstqueue.c: (gst_queue_init):
8851         * gst/gstregistryxml.c: (load_feature):
8852           Revert all these unrefs, they don't even pass make check !
8853
8854 2005-11-15  Johan Dahlin  <johan@gnome.org>
8855
8856         * gst/base/gstbasesrc.c: (gst_base_src_init):
8857         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
8858         * gst/gstqueue.c: (gst_queue_init): 
8859         Free pad templates, fixes a couple of leaks.
8860
8861 2005-11-15  Daniel Fischer  <dan at f3c dot com>
8862
8863         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
8864
8865         * gst/gstpad.c: (gst_pad_get_property):
8866           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
8867           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
8868           (#321452)
8869
8870 2005-11-15  Wim Taymans  <wim@fluendo.com>
8871
8872         * gst/gstevent.c:
8873         Small doc update.
8874
8875 2005-11-15  Andy Wingo  <wingo@pobox.com>
8876
8877         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
8878
8879         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
8880         using GST_CLOCK_TIME_NONE to disable base time management.
8881         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
8882         time if it was NONE before.
8883         (gst_pipeline_change_state): Only munge the base time if
8884         stream_time != GST_CLOCK_TIME_NONE.
8885
8886         * check/gst/gstpipeline.c (test_base_time): Punt around the
8887         problem of the probe not being called, because that's not the
8888         issue I'm looking at. Add a check that setting stream_time to NONE
8889         disables base time management.
8890         
8891 2005-11-15  Wim Taymans  <wim@fluendo.com>
8892
8893         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
8894         segment_stop == -1 at startup.
8895
8896         * gst/base/gstbasetransform.c: (gst_base_transform_event),
8897         (gst_base_transform_change_state):
8898         Init segment values at start.
8899
8900 2005-11-15  Wim Taymans  <wim@fluendo.com>
8901
8902         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8903         0 segment values are 0 in any format.
8904
8905         * gst/base/gstbasetransform.c: (gst_base_transform_event):
8906         * gst/base/gstbasetransform.h:
8907         Parse newsegment correctly in basetransform
8908
8909         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8910         Sync to clock using updated segment values.
8911
8912 2005-11-15  Andy Wingo  <wingo@pobox.com>
8913
8914         * check/gst/gstpipeline.c (test_base_time): Add check that the
8915         base time and stream time are reset correctly.
8916
8917 2005-11-15  Wim Taymans  <wim@fluendo.com>
8918
8919         * docs/design/part-TODO.txt:
8920         Some more TODO items.
8921
8922 2005-11-15  Andy Wingo  <wingo@pobox.com>
8923
8924         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
8925         error if the user selected "no clock" as the clocking method.
8926
8927         * check/gst/gstpipeline.c (test_base_time): New test for buffer
8928         timestamps with live capture.
8929
8930         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
8931         is 0 but we are a live source, timestamp the buffers using the
8932         element's clock.
8933
8934 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
8935
8936         * docs/gst/gstreamer-sections.txt:
8937         * gst/gsterror.c:
8938         * gst/gstghostpad.c:
8939         * gst/gstobject.h:
8940         * gst/gstxml.c:
8941           more section docs
8942
8943 2005-11-14  Wim Taymans  <wim@fluendo.com>
8944
8945         * common/gst.supp:
8946           add suppressions from Wim's Debian machine
8947
8948 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8949
8950         * common/gst.supp:
8951           add suppressions from Andy's AMD64 Ubuntu machine
8952
8953 2005-11-14  Andy Wingo  <wingo@pobox.com>
8954
8955         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
8956         STATE_LOCK not necessary. Fixes #311489.
8957
8958         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
8959         #305291.
8960
8961         * gst/gstindex.c (gst_index_add_object): Note in the docs that
8962         this function is not implemented.
8963
8964 2005-11-14  Julien MOUTTE  <julien@moutte.net>
8965
8966         * gst/base/gstbasetransform.c:
8967         (gst_base_transform_prepare_output_buf):
8968         Ref the source pad caps while we need them.
8969         Fixes (#321386)
8970
8971 2005-11-11  Wim Taymans  <wim@fluendo.com>
8972
8973         * docs/gst/gstreamer-sections.txt:
8974         Added some docs for GstCollectData.
8975
8976         * gst/base/gstadapter.c:
8977         Some small code example fix.
8978
8979         * gst/base/gstcollectpads.c:
8980         * gst/base/gstcollectpads.h:
8981         Document some more.
8982
8983 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8984
8985         * configure.ac: back to HEAD
8986
8987 === release 0.9.5 ===
8988
8989 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
8990
8991         * configure.ac:
8992           releasing 0.9.5, "Bike Lunch Day"
8993
8994 2005-11-11  Wim Taymans  <wim@fluendo.com>
8995
8996         * gst/gstbuffer.c: (_gst_buffer_copy):
8997         Copy more flags.
8998
8999         * gst/gstcaps.c: (gst_caps_is_equal):
9000         Fix some docs.
9001         Make _is_equal fast in the trivial cases.
9002
9003         * gst/gstminiobject.c:
9004         * gst/gstminiobject.h:
9005         More docs. Spifify .h file.
9006
9007         * gst/gstutils.c:
9008         Small doc update.
9009
9010 2005-11-11  Wim Taymans  <wim@fluendo.com>
9011
9012         * gst/base/gstbasetransform.c:
9013         (gst_base_transform_prepare_output_buf),
9014         (gst_base_transform_handle_buffer):
9015         Small cleanups.
9016         If we're processing a buffer and need to allocate an output
9017         buffer, we cannot accept a format change. If we did get a 
9018         format change, we have to alloc a buffer ourselves of the 
9019         right size.
9020
9021 2005-11-11  Wim Taymans  <wim@fluendo.com>
9022
9023         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
9024         While checking the flag for reentrancy in the gstcaps function
9025         is nice to detect recursive invocations, it also makes it 
9026         impossible to call getcaps from multiple threads, which must be
9027         possible. So, checking for recursive calls has to go.
9028
9029 2005-11-11  Michael Smith <msmith@fluendo.com>
9030
9031         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9032           Don't sync on buffers that fall partially outside our current
9033           segment. Prevents an assertion failure/abort playing some files.
9034
9035 2005-11-10  Andy Wingo  <wingo@pobox.com>
9036
9037         * check/gst/gstbin.c (test_message_state_changed_children): Style
9038         fix..
9039
9040         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
9041         gst_bus_poll with the signal watch. Ensures that poll and a signal
9042         watch see the same messages.
9043
9044         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
9045         a poll and a watch at the same time get the same messages.
9046
9047 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9048
9049         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
9050         * gst/gstcaps.c: (gst_caps_intersect):
9051           Don't call gst_caps_do_simplify - it doesn't respect order of caps
9052           and it's not needed.
9053
9054 2005-11-10  Wim Taymans  <wim@fluendo.com>
9055
9056         * docs/design/part-TODO.txt:
9057         Updated todo.
9058
9059 2005-11-10  Wim Taymans  <wim@fluendo.com>
9060
9061         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9062         * gst/base/gstbasesrc.c: (gst_base_src_wait),
9063         (gst_base_src_do_sync), (gst_base_src_get_range):
9064         Implement clock sync in base class.
9065
9066 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9067
9068         patch by: Tim-Philipp Müller <tim at centricular dot net>
9069
9070         * gst/gststructure.c: (gst_structure_parse_field),
9071         (gst_structure_from_string):
9072           Forward-port a 0.8 patch to handle escaped spaces in structure string,
9073           so that gst_parse_launch() can deal with spaces in filtered link
9074           caps (fixes #164479)
9075         * check/gst/capslist.h:
9076         * check/gst/gststructure.c: (GST_START_TEST):
9077           add unit tests for this change
9078
9079 2005-11-10  Wim Taymans  <wim@fluendo.com>
9080
9081         * docs/gst/gstreamer-sections.txt:
9082         * gst/gstelement.c:
9083         * gst/gstelement.h:
9084         Fix docs, move some STATE macros to private.
9085
9086 2005-11-10  Wim Taymans  <wim@fluendo.com>
9087
9088         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9089         Added check for bug #317341
9090
9091         * gst/gstbuffer.c:
9092         * gst/gstbuffer.h:
9093         Some more spiffifying.
9094
9095         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
9096         Call peer linkfunction if we are a source pad. Totally fixes
9097         #317341
9098
9099         * gst/gstpad.c:
9100         Update docs, source pads should call the peer linkfunction
9101         so they can atomically perform the pad link.
9102
9103 2005-11-09  Wim Taymans  <wim@fluendo.com>
9104
9105         * gst/gstbuffer.c:
9106         * gst/gstbuffer.h:
9107         Uber-spiffy-spiffify some more.
9108
9109 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
9110
9111         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
9112         * gst/elements/gstfilesink.c: (gst_file_sink_init):
9113         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9114         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
9115         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
9116         * gst/gstpad.c: (gst_pad_init):
9117           Use GST_DEBUG_FUNCPTR() more extensively.
9118
9119 2005-11-09  Wim Taymans  <wim@fluendo.com>
9120
9121         * gst/gstobject.c: (gst_object_class_init):
9122         * gst/gstobject.h:
9123         Documentation fixes.
9124
9125 2005-11-09  Edward Hervey  <edward@fluendo.com>
9126
9127         * gst/gsttypefindfactory.c:
9128         Fix docs.
9129         
9130 2005-11-09  Edward Hervey  <edward@fluendo.com>
9131
9132         * gst/base/gsttypefindhelper.c:
9133         * gst/gsttypefind.c:
9134         * gst/gsttypefind.h:
9135         Fix docs.
9136
9137 2005-11-09  Wim Taymans  <wim@fluendo.com>
9138
9139         * gst/gstiterator.c:
9140         Fix revision data.
9141
9142         * gst/gsttask.c:
9143         * gst/gsttask.h:
9144         Fix docs.
9145
9146 2005-11-09  Wim Taymans  <wim@fluendo.com>
9147
9148         * gst/gstevent.h:
9149         * gst/gsturi.h:
9150         Fix docs.
9151
9152 2005-11-09  Wim Taymans  <wim@fluendo.com>
9153
9154         * docs/gst/gstreamer-sections.txt:
9155         Moved the message async delivery private lock and cond
9156         to the private section.
9157
9158         * gst/gstmessage.c:
9159         * gst/gstmessage.h:
9160         Fixed docs.
9161
9162 2005-11-09  Edward Hervey  <edward@fluendo.com>
9163
9164         * docs/gst/gstreamer-sections.txt:
9165         * gst/gsturi.c:
9166         * gst/gsturi.h:
9167         Document GstURIHandler
9168
9169 2005-11-09  Wim Taymans  <wim@fluendo.com>
9170
9171         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
9172         (gst_iterator_find_custom):
9173         * gst/gstiterator.h:
9174         Fix iterator docs.
9175
9176 2005-11-09  Wim Taymans  <wim@fluendo.com>
9177
9178         * gst/gstbin.h:
9179         Document another field.
9180
9181         * gst/gststructure.c:
9182         * gst/gststructure.h:
9183         Document.
9184
9185 2005-11-09  Wim Taymans  <wim@fluendo.com>
9186
9187         * gst/gstbin.h:
9188         Documented structs.
9189
9190 2005-11-09  Wim Taymans  <wim@fluendo.com>
9191
9192         * docs/gst/gstreamer-sections.txt:
9193         Added some new macros.
9194
9195         * gst/gstclock.c:
9196         * gst/gstclock.h:
9197         * gst/gstobject.h:
9198         Docs updates.
9199
9200 2005-11-09  Wim Taymans  <wim@fluendo.com>
9201
9202         * docs/design/part-TODO.txt:
9203         Some more items for the TODO
9204
9205         * gst/gstcaps.c:
9206         * gst/gstcaps.h:
9207         Document GstCaps.
9208
9209 2005-11-09  Andy Wingo  <wingo@pobox.com>
9210
9211         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
9212         to work on something else now tho...
9213
9214         * gst/base/gstadapter.c: More adapter docs.
9215
9216         * gst/elements/gstfilesink.c (gst_file_sink_start) 
9217         (gst_file_sink_stop): New functions, replace the state change
9218         handler.
9219         (gst_file_sink_class_init): Hook up the start and stop functions.
9220         (gst_file_sink_base_init): Don't set the state change handler any
9221         more. It was a bit ugly too, being set from here...
9222         (gst_file_sink_get_property, gst_file_sink_set_property):
9223         Cleanups...
9224         (gst_file_sink_set_location): More robust check that doesn't call
9225         GST_STATE. Ugggggg.
9226
9227 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9228
9229         * gst/base/gstbasetransform.c: (gst_base_transform_event):
9230           Hold STREAM_LOCK while pushing newsegment or tag events as well.
9231
9232 2005-11-08  Wim Taymans  <wim@fluendo.com>
9233
9234         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9235         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9236         (gst_base_sink_chain), (gst_base_sink_change_state):
9237         * gst/base/gstbasesink.h:
9238         * gst/base/gstbasesrc.h:
9239         * gst/gstelement.h:
9240         * gst/gstevent.h:
9241         Avoid excessive typechecking in macros.
9242
9243         * gst/gstminiobject.c: (gst_mini_object_get_type),
9244         (gst_mini_object_init), (gst_mini_object_new),
9245         (gst_mini_object_free):
9246         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
9247         (gst_object_finalize):
9248         Remove cruft code, optimize alloc_trace.
9249
9250 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9251
9252         * docs/faq/gst-uninstalled:
9253           fix up PS1 for systems that try to reset it
9254
9255 2005-11-07  Wim Taymans  <wim@fluendo.com>
9256
9257         * gst/base/gstbasesrc.c: (gst_base_src_init),
9258         (gst_base_src_get_range):
9259         Set the segment_end to -1 initially. Fixed typefind.
9260
9261 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9262
9263         * gst/base/gstadapter.c:
9264           Debug category should be 'adapter', not 'GstAdapter'.
9265           
9266         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
9267         (gst_collectpads_class_init), (gst_collectpads_init),
9268         (gst_collectpads_peek), (gst_collectpads_pop),
9269         (gst_collectpads_event), (gst_collectpads_chain):
9270           Add debug category and some debugging output. Use boilerplate
9271           macros. Remove some extraneous words from docs.
9272
9273 2005-11-05  Andy Wingo  <wingo@pobox.com>
9274
9275         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
9276         macro.
9277
9278 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
9279
9280         * docs/gst/gstreamer-sections.txt:
9281         * gst/gstcaps.h:
9282         * gst/gstinfo.c:
9283         * gst/gstminiobject.h:
9284         * gst/gstobject.h:
9285         * gst/gstutils.h:
9286           more docs added
9287
9288 2005-11-04  Wim Taymans  <wim@fluendo.com>
9289
9290         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9291         Small update to stop at the configured segment_end
9292         position.
9293
9294 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
9295
9296         * gst/gstregistry.c:
9297         * gst/gstregistry.h:
9298           added missing docs
9299
9300 2005-11-04  Edward Hervey  <edward@fluendo.com>
9301
9302         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9303         Check if we are doing a segment seek and have arrived at the
9304         end of that segment.
9305
9306 2005-11-04  Wim Taymans  <wim@fluendo.com>
9307
9308         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
9309         Don't leak a mutex unlock in case of an error.
9310
9311         * gst/gstbus.h:
9312         Doc fixes.
9313
9314 2005-11-04  Wim Taymans  <wim@fluendo.com>
9315
9316         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
9317         (gst_bus_post):
9318         Get the context to wake up only once.
9319
9320 2005-11-03  Wim Taymans  <wim@fluendo.com>
9321
9322         * check/states/sinks.c: (GST_START_TEST):
9323         Uncomment fixed check.
9324
9325         * docs/design/part-TODO.txt:
9326         Updated TODO.
9327
9328         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9329         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9330         (gst_base_sink_get_position):
9331         If we are going to PLAYING, post the right pending state
9332         when we post the intermediate paused message.
9333
9334         * gst/gstelement.c: (gst_element_continue_state),
9335         (gst_element_set_state_func), (gst_element_change_state):
9336         Don't post state changes that were between the same state
9337         and were not ASYNC.
9338
9339 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
9340
9341         * docs/gst/gstreamer-sections.txt:
9342         * gst/gstcaps.h:
9343         * gst/gstinfo.c:
9344         * gst/gstminiobject.h:
9345         * gst/gstobject.h:
9346         * gst/gstutils.h:
9347           more docs and doc style fixes
9348
9349 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
9350
9351         * docs/gst/gstreamer-sections.txt:
9352         * gst/gstelement.c:
9353         * gst/gstminiobject.c:
9354         doc fixes
9355
9356 2005-11-03  Andy Wingo  <wingo@pobox.com>
9357
9358         * check/states/sinks.c (test_livesrc_sink): Add checks that the
9359         state-changed messages actually have the right order and the right
9360         values.
9361
9362 2005-11-03  Wim Taymans  <wim@fluendo.com>
9363
9364         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
9365         Added some more checks. Specifically the case where NO_PREROLL
9366         elements are in the pipeline.
9367
9368         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9369         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9370         (gst_base_sink_get_position):
9371         Post READY->PAUSED state change messages too.
9372         Fix bug where VOID was posted as pending state...
9373
9374         * gst/gstbin.c: (gst_bin_recalc_state):
9375         use _element_continue_state() to continue the state change.
9376
9377         * gst/gstelement.c: (gst_element_continue_state),
9378         (gst_element_commit_state), (gst_element_set_state_func),
9379         (gst_element_change_state), (gst_element_change_state_func):
9380         Lots of state change cleanups, assign the STATE_RETURN in
9381         a new continue_state() function that also propagates the
9382         last return value from a state change to the app.
9383         Update some debug statements with proper category.
9384
9385 2005-11-03  Wim Taymans  <wim@fluendo.com>
9386
9387         * docs/design/part-events.txt:
9388         * docs/design/part-gstpipeline.txt:
9389         * docs/design/part-messages.txt:
9390         * docs/design/part-overview.txt:
9391         * docs/design/part-seeking.txt:
9392         * docs/design/part-states.txt:
9393         * docs/design/part-trickmodes.txt:
9394         * docs/manual/advanced-position.xml:
9395         Small docs updates.
9396
9397         * gst/gstobject.h:
9398         People think !! is ugly, this looks better.
9399
9400         * gst/gstpad.c: (gst_pad_set_blocked_async):
9401         Remove !! since it's fixed elsewhere now.
9402
9403 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
9404
9405         * gst/gstminiobject.h:
9406         * gst/gstobject.h:
9407           Add !! to _FLAG_IS_SET macros to make the result boolean.
9408
9409 2005-11-03  Edward Hervey  <edward@fluendo.com>
9410
9411         * gst/gstpad.c: (gst_pad_set_blocked_async):
9412         comparing a flag and a gboolean rarely returns coherent results...
9413         Added two characters (!!) to make that work correctly.
9414         
9415 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
9416
9417         * gst/gstbus.c: (gst_bus_class_init):
9418           Fix some typos.
9419           
9420         * gst/gstqueue.c: (gst_queue_loop):
9421           Don't assume a miniobject that isn't a buffer is an
9422           event (it could be that there is a refcounting
9423           problem somewhere and the pointer is stale and
9424           refers to an already destroyed miniobject).
9425
9426 2005-11-03  Julien MOUTTE  <julien@moutte.net>
9427
9428         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
9429
9430 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
9431
9432         * docs/manual/advanced-position.xml:
9433           Update seek example and explanations to current 0.9 API.
9434
9435         * gst/elements/gsttypefindelement.c:
9436         (gst_type_find_element_activate):
9437           Remove FIXME comment now that the found caps
9438           are unreffed.
9439
9440 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9441
9442         * gst/gstregistryxml.c: (load_feature):
9443           Add another GST_STR_NULL instance
9444
9445 2005-11-02  Edward Hervey  <edward@fluendo.com>
9446
9447         * gst/gstpad.c: (handle_pad_block):
9448         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
9449         
9450 2005-11-02  Wim Taymans  <wim@fluendo.com>
9451
9452         * gst/gstbin.c:
9453         Fix typo in docs.
9454
9455         * gst/gstelement.c: (gst_element_commit_state):
9456         Remove unused value.
9457
9458         * gst/gstiterator.c:
9459         Mention that the returned element is reffed in the docs.
9460
9461 2005-11-02  Wim Taymans  <wim@fluendo.com>
9462
9463         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
9464         (gst_pad_push), (gst_pad_push_event):
9465         Unlock blocked pads when they are flushed.
9466
9467 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9468
9469         * docs/README:
9470         * docs/gst/gstreamer-sections.txt:
9471         * gst/gstbin.c:
9472           doc updates
9473         * gst/gstregistry.c: (gst_registry_scan_path_level):
9474           fix for a nasty little missed situation where an installed plug-in
9475           which was in the cache did not get overridden by an uninstalled one
9476           which was earlier in the plugin path because the newly created plugin
9477           for the uninstalled one (not in the registry) didn't get its
9478           ->registered set to TRUE
9479
9480 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9481
9482         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
9483         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
9484         (gst_collectpads_is_active), (gst_collectpads_collect),
9485         (gst_collectpads_collect_range), (gst_collectpads_start),
9486         (gst_collectpads_stop), (gst_collectpads_peek),
9487         (gst_collectpads_pop), (gst_collectpads_available),
9488         (gst_collectpads_read), (gst_collectpads_flush):
9489           Guard public API with assertions.
9490         
9491         * gst/gstpad.c:
9492           Fix docs for gst_pad_set_link_function().
9493
9494 2005-11-02  Johan Dahlin  <johan@gnome.org>
9495
9496         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
9497         Unref found_caps after we used it.
9498
9499 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9500
9501         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
9502           Don't try to ref NULL.
9503
9504 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9505
9506         * win32/common/config.h.in:
9507           provide a GST_FUNCTION that just gives a string for now
9508
9509 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9510
9511         * win32/common/gstenumtypes.c: (register_gst_object_flags),
9512         (gst_object_flags_get_type), (register_gst_bin_flags),
9513         (gst_bin_flags_get_type), (register_gst_buffer_flag),
9514         (gst_buffer_flag_get_type), (register_gst_bus_flags),
9515         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
9516         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
9517         (gst_clock_return_get_type), (register_gst_clock_entry_type),
9518         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
9519         (gst_clock_flags_get_type), (register_gst_state),
9520         (gst_state_get_type), (register_gst_state_change_return),
9521         (gst_state_change_return_get_type), (register_gst_state_change),
9522         (gst_state_change_get_type), (register_gst_element_flags),
9523         (gst_element_flags_get_type), (register_gst_core_error),
9524         (gst_core_error_get_type), (register_gst_library_error),
9525         (gst_library_error_get_type), (register_gst_resource_error),
9526         (gst_resource_error_get_type), (register_gst_stream_error),
9527         (gst_stream_error_get_type), (register_gst_event_type),
9528         (gst_event_type_get_type), (register_gst_seek_type),
9529         (gst_seek_type_get_type), (register_gst_seek_flags),
9530         (gst_seek_flags_get_type), (register_gst_format),
9531         (gst_format_get_type), (register_gst_index_certainty),
9532         (gst_index_certainty_get_type), (register_gst_index_entry_type),
9533         (gst_index_entry_type_get_type),
9534         (register_gst_index_lookup_method),
9535         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
9536         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
9537         (gst_index_resolver_method_get_type), (register_gst_index_flags),
9538         (gst_index_flags_get_type), (register_gst_debug_level),
9539         (gst_debug_level_get_type), (register_gst_debug_color_flags),
9540         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
9541         (gst_iterator_result_get_type), (register_gst_iterator_item),
9542         (gst_iterator_item_get_type), (register_gst_message_type),
9543         (gst_message_type_get_type), (register_gst_mini_object_flags),
9544         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
9545         (gst_pad_link_return_get_type), (register_gst_flow_return),
9546         (gst_flow_return_get_type), (register_gst_activate_mode),
9547         (gst_activate_mode_get_type), (register_gst_pad_direction),
9548         (gst_pad_direction_get_type), (register_gst_pad_flags),
9549         (gst_pad_flags_get_type), (register_gst_pad_presence),
9550         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
9551         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
9552         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
9553         (gst_plugin_error_get_type), (register_gst_plugin_flags),
9554         (gst_plugin_flags_get_type), (register_gst_rank),
9555         (gst_rank_get_type), (register_gst_query_type),
9556         (gst_query_type_get_type), (register_gst_tag_merge_mode),
9557         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
9558         (gst_tag_flag_get_type), (register_gst_task_state),
9559         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
9560         (gst_alloc_trace_flags_get_type),
9561         (register_gst_type_find_probability),
9562         (gst_type_find_probability_get_type), (register_gst_uri_type),
9563         (gst_uri_type_get_type), (register_gst_parse_error),
9564         (gst_parse_error_get_type):
9565         * win32/common/gstversion.h:
9566           update win32 copies
9567
9568 2005-11-01  Luca Ognibene  <luogni@tin.it>
9569
9570         * gst/gst.c:
9571           fix docs. popt is dead, long live GOption.
9572
9573 2005-10-31  Wim Taymans  <wim@fluendo.com>
9574
9575         * gst/gstbuffer.h:
9576         Small doc fix.
9577
9578 2005-10-31  Andy Wingo  <wingo@pobox.com>
9579
9580         * Boo!
9581
9582         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
9583
9584         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
9585         need to serialize property notifications on GLib 2.8. GLib 2.6 has
9586         the possibility of deadlocks here if code calling notify() or
9587         set() has a lock that can be taken in another notify handler (ABBA
9588         with class lock and e.g. python GIL state lock).
9589
9590 2005-10-28  Julien MOUTTE  <julien@moutte.net>
9591
9592         * gst/gstbus.c: Doc updates.
9593
9594 2005-10-28  Wim Taymans  <wim@fluendo.com>
9595
9596         * docs/design/part-TODO.txt:
9597         * gst/gstiterator.c:
9598         * gst/gstsystemclock.c:
9599         * gst/gstsystemclock.h:
9600         Doc updates.
9601
9602 2005-10-28  Edward Hervey  <edward@fluendo.com>
9603
9604         * docs/gst/gstreamer-docs.sgml:
9605         * docs/gst/gstreamer-sections.txt:
9606         the GstURIType documentation page is private, it only defines GstURIType
9607         which should be defined in the GstURIHandler page
9608         
9609 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9610
9611         * gst/gstbin.c: (gst_bin_class_init):
9612         * gst/gstbin.h:
9613         * gst/gstutils.c:
9614         Documentation updates.
9615
9616 2005-10-28  Wim Taymans  <wim@fluendo.com>
9617
9618         * docs/gst/gstreamer-sections.txt:
9619         * gst/gstclock.c:
9620         * gst/gstclock.h:
9621         Documented the clocks.
9622
9623 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
9624
9625         * docs/gst/gstreamer-sections.txt:
9626           move some macros to private sections
9627         * gst/gstminiobject.c:
9628         * gst/gstminiobject.h:
9629           add descriptions provided by ds and some more
9630         * gst/gstpad.h:
9631           mark macro as to be removed
9632
9633 2005-10-28  Wim Taymans  <wim@fluendo.com>
9634
9635         * docs/design/part-TODO.txt:
9636         Add an item to TODO.
9637
9638         * gst/gstiterator.c: (gst_iterator_fold),
9639         (gst_iterator_find_custom):
9640         * gst/gstiterator.h:
9641         Add iterator docs.
9642
9643 2005-10-28  Wim Taymans  <wim@fluendo.com>
9644
9645         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
9646         (gst_base_transform_init):
9647         Don't leak class.
9648
9649         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
9650         An EOS event marks the queue as completely filled.
9651
9652 2005-10-27  Wim Taymans  <wim@fluendo.com>
9653
9654         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9655         (gst_base_sink_do_sync), (gst_base_sink_get_position):
9656         Some more debugging.
9657
9658         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
9659         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
9660         (gst_base_transform_event), (gst_base_transform_getrange),
9661         (gst_base_transform_chain):
9662         * gst/base/gstbasetransform.h:
9663         Fix debugging,
9664         Protect transform and concurrent buffer alloc with a new lock.
9665         Try not to break ABI/API.
9666
9667 2005-10-27  Wim Taymans  <wim@fluendo.com>
9668
9669         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9670         (gst_base_src_init), (gst_base_src_query),
9671         (gst_base_src_default_newsegment),
9672         (gst_base_src_configure_segment), (gst_base_src_do_seek),
9673         (gst_base_src_send_event), (gst_base_src_event_handler),
9674         (gst_base_src_pad_get_range), (gst_base_src_loop),
9675         (gst_base_src_unlock), (gst_base_src_default_negotiate),
9676         (gst_base_src_start), (gst_base_src_deactivate),
9677         (gst_base_src_activate_push), (gst_base_src_change_state):
9678         Move some stuff around and cleanup things.
9679
9680 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
9681
9682         * gst/base/gstbasesrc.c: (gst_base_src_query):
9683           Add missing break statements.
9684
9685 2005-10-27  Wim Taymans  <wim@fluendo.com>
9686
9687         * check/gst/gstbin.c: (GST_START_TEST):
9688         An extra refcount is taken in basesrc.
9689
9690         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
9691         (gst_base_src_get_range), (gst_base_src_pad_get_range),
9692         (gst_base_src_loop):
9693         Small cleanups, check for flushing after being unlocked from the 
9694         LIVE_LOCK. take refcounts correctly (not yet everywhere).
9695         Don't send out EOS when going to READY.
9696
9697 2005-10-27  Wim Taymans  <wim@fluendo.com>
9698
9699         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9700         (gst_base_sink_get_position):
9701         Some more debug.
9702
9703         * gst/gstbin.c: (message_check), (bin_replace_message),
9704         (bin_remove_messages), (is_eos), (gst_bin_add_func),
9705         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
9706         (bin_query_duration_init), (bin_query_duration_fold),
9707         (bin_query_duration_done), (bin_query_generic_fold),
9708         (gst_bin_query):
9709         * tools/gst-launch.c: (main):
9710         Remove old option.
9711
9712 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
9713
9714         * examples/controller/audio-example.c: (main):
9715         * examples/queue/queue.c: (event_loop):
9716         * gst/base/gstbasetransform.h:
9717         * gst/gstelement.c: (gst_element_send_event):
9718         * gst/gstevent.h:
9719         * gst/gstpad.c: (gst_pad_send_event):
9720           fixing examples
9721           fixing docs typos
9722           changing log priority in error situations
9723
9724 2005-10-25  Wim Taymans  <wim@fluendo.com>
9725
9726         * gst/gstbin.c: (message_check), (bin_replace_message),
9727         (bin_remove_messages), (is_eos), (gst_bin_add_func),
9728         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
9729         (bin_query_duration_init), (bin_query_duration_fold),
9730         (bin_query_duration_done), (bin_query_generic_fold),
9731         (gst_bin_query):
9732         Some doc and debug updates.
9733         Cache previously requested query DURATION for speed. invalidate
9734         cached duration if element posts a DURATION message.
9735
9736 2005-10-25  Wim Taymans  <wim@fluendo.com>
9737
9738         * docs/design/part-TODO.txt:
9739         Update TODO.
9740
9741         * gst/gstbin.c: (message_check), (bin_replace_message),
9742         (bin_remove_messages), (is_eos), (gst_bin_add_func),
9743         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
9744         (bin_query_duration_init), (bin_query_duration_fold),
9745         (bin_query_duration_done), (bin_query_generic_fold),
9746         (gst_bin_query):
9747         Handle SEGMENT_START/DONE messages correctly.
9748         More evolved query algorithm that handles duration queries
9749         correctly.
9750
9751         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
9752         (gst_element_get_state_func), (gst_element_abort_state),
9753         (gst_element_commit_state), (gst_element_lost_state):
9754         Some more debugging.
9755
9756         * gst/gstmessage.h:
9757         Added doc.
9758
9759 2005-10-25  Wim Taymans  <wim@fluendo.com>
9760
9761         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
9762         Don't use invalid stream_time.
9763
9764         * gst/gstevent.c: (gst_event_new_newsegment):
9765         stream_time in newsegment cannot be undefined.
9766
9767 2005-10-24  Wim Taymans  <wim@fluendo.com>
9768
9769         * gst/gstbus.c:
9770         Doc fix.
9771
9772         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9773         (gst_queue_loop):
9774         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
9775
9776 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
9777
9778         * docs/libs/tmpl/gstdparam.sgml:
9779         * docs/libs/tmpl/gstdplinint.sgml:
9780         * docs/libs/tmpl/gstdpman.sgml:
9781         * docs/libs/tmpl/gstdpsmooth.sgml:
9782         * docs/libs/tmpl/gstunitconvert.sgml:
9783           these are obsolete
9784
9785 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9786
9787         * configure.ac:
9788           back to HEAD
9789
9790 === release 0.9.4 ===
9791
9792 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
9793
9794         * configure.ac:
9795           releasing 0.9.4, "Tyrannosaurus Rex"
9796
9797 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
9798
9799         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
9800         (gst_file_sink_get_current_offset):
9801           Use fseeko() and ftello() if available. When falling back on
9802           lseek() to get the current offset, fflush() first to make sure
9803           everything is up-to-date and we get the right offset.
9804
9805 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
9806
9807         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9808         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9809         * gst/gsterror.c: (_gst_stream_errors_init):
9810         * gst/gsterror.h:
9811         * gst/gstqueue.c: (gst_queue_loop):
9812         * po/POTFILES.in:
9813           remove prematurely added error category and clean up the instances
9814
9815 2005-10-21  Wim Taymans  <wim@fluendo.com>
9816
9817         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9818         (gst_base_sink_get_position), (gst_base_sink_query),
9819         (gst_base_sink_change_state):
9820         Simply set the right flag when going to playing, that's all
9821         we need to do instead of calling a function inside the object
9822         lock (that could take the lock as well and deadlock)
9823
9824 2005-10-21  Wim Taymans  <wim@fluendo.com>
9825
9826         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
9827         (gst_base_src_loop):
9828         Don't warn, the peer element knows what to do best when
9829         the seek failed, it might try something else.
9830
9831 2005-10-21  Wim Taymans  <wim@fluendo.com>
9832
9833         * gst/base/gstbasesrc.c: (gst_base_src_init),
9834         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
9835         Fix seeking.
9836
9837 2005-10-21  Wim Taymans  <wim@fluendo.com>
9838
9839         * docs/design/part-segments.txt:
9840         More docs.
9841
9842         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9843         Correctly set caps, even on the subbufer.
9844
9845 2005-10-21  Wim Taymans  <wim@fluendo.com>
9846
9847         * docs/gst/gstreamer-docs.sgml:
9848         * docs/gst/gstreamer-sections.txt:
9849         * gst/gstelement.h:
9850         * gst/gstevent.c:
9851         * gst/gstevent.h:
9852         * gst/gstmessage.h:
9853         * gst/gstpad.h:
9854         * gst/gstparse.h:
9855         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
9856         * gst/gsttask.h:
9857         * gst/gstutils.c:
9858         * gst/gstutils.h:
9859         And 2% more doc coverage.
9860
9861 2005-10-21  Andy Wingo  <wingo@pobox.com>
9862
9863         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
9864         position reporting.
9865
9866 2005-10-20  Wim Taymans  <wim@fluendo.com>
9867
9868         * gst/gsterror.c: (gst_error_get_message):
9869         * gst/gstparse.h:
9870         * gst/gstquery.h:
9871         * gst/gststructure.c:
9872         * gst/gsttrace.c:
9873         * gst/gstutils.c:
9874         More docs.
9875
9876 2005-10-20  Wim Taymans  <wim@fluendo.com>
9877
9878         * gst/gstbuffer.h:
9879         * gst/gstpad.c:
9880         * gst/gstparse.c:
9881         Another 1% more coverage.
9882
9883 2005-10-20  Wim Taymans  <wim@fluendo.com>
9884
9885         * docs/gst/gstreamer-sections.txt:
9886         * gst/gstelement.c: (gst_element_get_state_func),
9887         (gst_element_abort_state), (gst_element_commit_state),
9888         (gst_element_lost_state):
9889         * gst/gstevent.h:
9890         * gst/gstquery.c: (gst_query_set_position),
9891         (gst_query_parse_position), (gst_query_set_duration),
9892         (gst_query_parse_duration), (gst_query_new_convert):
9893         * gst/gstutils.c:
9894         Yay! 1% more docs coverage.
9895
9896 2005-10-20  Wim Taymans  <wim@fluendo.com>
9897
9898         * gst/gstpad.h:
9899         * gst/gstquery.c: (gst_query_set_position),
9900         (gst_query_parse_position), (gst_query_set_duration),
9901         (gst_query_parse_duration), (gst_query_new_convert):
9902         * gst/gstquery.h:
9903         * gst/gstutils.c: (gst_element_query_convert):
9904         * gst/gstutils.h:
9905         Docs and consistency fixes.
9906
9907 2005-10-20  Wim Taymans  <wim@fluendo.com>
9908
9909         * gst/gsttask.c:
9910         * gst/gsttask.h:
9911         More docs.
9912
9913 2005-10-20  Wim Taymans  <wim@fluendo.com>
9914
9915         * gst/gstbin.c: (message_check), (bin_replace_message),
9916         (bin_remove_messages), (is_eos), (gst_bin_add_func),
9917         (update_degree), (gst_bin_sort_iterator_next),
9918         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
9919         Reworked the message handling a bit, cache the messages instead of
9920         only the senders. alows us to do more in the future.
9921
9922 2005-10-20  Wim Taymans  <wim@fluendo.com>
9923
9924         * docs/design/part-TODO.txt:
9925         Update TODO
9926
9927         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
9928         (gst_base_sink_query):
9929         Don't use clock time to report position when in EOS.
9930
9931 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
9932
9933         * tools/gst-inspect.c: (print_interfaces),
9934         (print_element_properties_info), (print_element_info):
9935           Fix interface output with gst-inspect -a; don't print
9936           newlines after double/float properties.
9937
9938 2005-10-20  Wim Taymans  <wim@fluendo.com>
9939
9940         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
9941         (gst_base_sink_query):
9942         Speed up current position calculation.
9943
9944         * gst/base/gstbasesrc.c: (gst_base_src_query),
9945         (gst_base_src_default_newsegment):
9946         Correctly set stream position in newsegment.
9947
9948         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
9949         (update_degree), (gst_bin_sort_iterator_next),
9950         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
9951         * gst/gstmessage.c: (gst_message_new_custom):
9952         Clean up debugging info
9953
9954         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
9955         (gst_queue_loop), (gst_queue_handle_src_query):
9956         Pause task faster.
9957
9958 2005-10-19  Wim Taymans  <wim@fluendo.com>
9959
9960         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9961         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
9962         Fix query handling again.
9963
9964 2005-10-19  Wim Taymans  <wim@fluendo.com>
9965
9966         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9967         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
9968         * gst/base/gstbasesrc.c: (gst_base_src_query):
9969         * gst/elements/gstfilesink.c: (gst_file_sink_query):
9970         * gst/elements/gsttypefindelement.c:
9971         (gst_type_find_handle_src_query), (find_element_get_length),
9972         (gst_type_find_element_activate):
9973         API change fix.
9974
9975         * gst/gstquery.c: (gst_query_new_position),
9976         (gst_query_set_position), (gst_query_parse_position),
9977         (gst_query_new_duration), (gst_query_set_duration),
9978         (gst_query_parse_duration), (gst_query_set_segment),
9979         (gst_query_parse_segment):
9980         * gst/gstquery.h:
9981         Bundling query position/duration is not a good idea since duration
9982         does not change much and we don't want to recalculate it for every
9983         position query, so they are separated again..
9984         Base value in segment query is not needed.
9985
9986         * gst/gstqueue.c: (gst_queue_handle_src_query):
9987         * gst/gstutils.c: (gst_element_query_position),
9988         (gst_element_query_duration), (gst_pad_query_position),
9989         (gst_pad_query_duration):
9990         * gst/gstutils.h:
9991         Updates for query API change.
9992         Added some docs here and there.
9993
9994 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9995
9996         * check/gst/gstbin.c: (GST_START_TEST):
9997         * check/gst/gstghostpad.c: (GST_START_TEST):
9998         * check/pipelines/cleanup.c: (GST_START_TEST):
9999           wait on thread to die so we can check refcount correctly
10000
10001 2005-10-18  Wim Taymans  <wim@fluendo.com>
10002
10003         * check/pipelines/stress.c: (GST_START_TEST):
10004         Make check a little more time consuming.
10005
10006 2005-10-18  Wim Taymans  <wim@fluendo.com>
10007
10008         * check/Makefile.am:
10009         * check/pipelines/stress.c: (GST_START_TEST),
10010         (simple_launch_lines_suite), (main):
10011         Small state change torture test.
10012
10013         * docs/design/part-states.txt:
10014         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10015         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
10016         (gst_base_sink_change_state):
10017         Never take state lock from streaming thread, clean up ugly
10018         hacks. Unfortunatly core does not yet support nice ways to
10019         async commit state.
10020         
10021         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
10022         (bin_bus_handler):
10023         Start state recalc if a STATE_DIRTY message is posted, but only
10024         on the toplevel bin.
10025
10026         * gst/gstelement.c: (gst_element_sync_state_with_parent),
10027         (gst_element_get_state_func), (gst_element_abort_state),
10028         (gst_element_commit_state), (gst_element_lost_state),
10029         (gst_element_set_state_func), (gst_element_change_state):
10030         * gst/gstelement.h:
10031         State variables are now protected with the LOCK, the state
10032         lock is only used to serialize _set_state().
10033
10034 2005-10-18  Wim Taymans  <wim@fluendo.com>
10035
10036         * check/gst/gstbin.c: (GST_START_TEST):
10037         * check/gst/gstmessage.c: (GST_START_TEST):
10038         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10039         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
10040         (bin_bus_handler):
10041         * gst/gstelement.c: (gst_element_abort_state),
10042         (gst_element_commit_state), (gst_element_lost_state):
10043         * gst/gstmessage.c: (gst_message_new_state_changed),
10044         (gst_message_new_state_dirty), (gst_message_new_segment_start),
10045         (gst_message_new_segment_done), (gst_message_new_duration),
10046         (gst_message_parse_state_changed),
10047         (gst_message_parse_segment_start),
10048         (gst_message_parse_segment_done), (gst_message_parse_duration):
10049         * gst/gstmessage.h:
10050         * tools/gst-launch.c: (event_loop):
10051         Seriously, this is better than a previous commit as we only need
10052         to notify the fact that an element changed state in a streaming
10053         thread, marking the state of the parents dirty, hence the 
10054         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
10055         message.
10056
10057 2005-10-18  Wim Taymans  <wim@fluendo.com>
10058
10059         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
10060         (gst_bin_recalc_func):
10061         * gst/gstelement.c: (gst_element_set_clock),
10062         (gst_element_abort_state), (gst_element_lost_state):
10063         Cleanups, prepare for state change fixes.
10064
10065 2005-10-18  Wim Taymans  <wim@fluendo.com>
10066
10067         * gst/gstbin.h:
10068         * gst/gstelement.c: (gst_element_class_init),
10069         (gst_element_set_state), (gst_element_set_state_func):
10070         * gst/gstelement.h:
10071         Pending ABI changes.
10072         GThreadPool in GstBinClass to monitor async state changes.
10073         state_cookie in GstElement to detect concurrent gst/set state.
10074         set_state is now virtual too in case a very complicated element
10075         has to be constructed.
10076
10077 2005-10-18  Wim Taymans  <wim@fluendo.com>
10078
10079         * check/gst/gstbin.c: (GST_START_TEST):
10080         * check/gst/gstmessage.c: (GST_START_TEST):
10081         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10082         * gst/gstbin.c: (bin_bus_handler):
10083         * gst/gstelement.c: (gst_element_commit_state),
10084         (gst_element_lost_state):
10085         * gst/gstmessage.c: (gst_message_new_state_changed),
10086         (gst_message_new_segment_start), (gst_message_new_segment_done),
10087         (gst_message_new_duration), (gst_message_parse_state_changed),
10088         (gst_message_parse_segment_start),
10089         (gst_message_parse_segment_done), (gst_message_parse_duration):
10090         * gst/gstmessage.h:
10091         * tools/gst-launch.c: (event_loop):
10092         Make messages future proof.
10093         state-change gets a flag if it was a message comming from the
10094         streaming thread.
10095         segment-start/stop can also be specified in other formats.
10096         A message to notify an app that a pipeline changed playback 
10097         duration.
10098         Also fix a GstMessage leak in -launch
10099
10100 2005-10-18  Andy Wingo  <wingo@pobox.com>
10101
10102         * gst/gstelement.c (gst_element_dispose): More helpful message.
10103
10104 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10105
10106         reviewed by: <delete if not using a buddy>
10107
10108         * common/gtk-doc.mak:
10109
10110 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10111
10112         * gst/gstregistry.c: (gst_registry_scan_path_level):
10113           unref a plug-in we get that was already initialized
10114
10115 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
10116
10117         * docs/gst/gstreamer-sections.txt:
10118         * docs/libs/gstreamer-libs-sections.txt:
10119         * gst/gstelement.h:
10120           add new api entries
10121           hide internal macro
10122
10123 2005-10-17  Andy Wingo  <wingo@pobox.com>
10124
10125         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
10126         cleanup.
10127
10128         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
10129
10130         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
10131
10132         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
10133         (gst_element_get_state_func): Better debug message.
10134         (gst_element_commit_state): s/INFO/DEBUG/.
10135         (gst_element_lost_state, gst_element_change_state): 
10136
10137         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
10138         (gst_message_new_custom): s/INFO/LOG/.
10139
10140 2005-10-17  Michael Smith <msmith@fluendo.com>
10141
10142         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10143           Check if end time is valid using end time, not start time.
10144
10145 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
10146
10147         * check/gst-libs/controller.c: (GST_START_TEST),
10148         (gst_controller_suite):
10149         * libs/gst/controller/gstcontroller.c:
10150         (gst_controlled_property_set_interpolation_mode):
10151         * libs/gst/controller/gstcontroller.h:
10152         * libs/gst/controller/gstinterpolation.c:
10153         * testsuite/controller/.cvsignore:
10154         * testsuite/controller/Makefile.am:
10155         * testsuite/controller/interpolator.c:
10156           merge controller testsuites
10157           fix broken tests
10158           remove mem-chunk from docs
10159
10160 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10161
10162         * gst/gstmemchunk.c:
10163         * gst/gstmemchunk.h:
10164         * gst/gsttrashstack.c:
10165         * gst/gsttrashstack.h:
10166           out.  get out.  you're fired.  to the Attic !
10167
10168 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10169
10170         * gst/gstcaps.c: (gst_caps_intersect):
10171           fix signedness issues in a (hopefully) correct way
10172         * gst/gstelement.c: (gst_element_pads_activate):
10173           some debugging
10174         * gst/gstobject.c: (gst_object_set_parent):
10175           some debugging
10176
10177 2005-10-17  Julien MOUTTE  <julien@moutte.net>
10178
10179         * gst/gstvalue.h: Fix prototypes.
10180
10181 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10182
10183         * docs/gst/gstreamer-sections.txt:
10184         * gst/gst.c: (gst_version_string):
10185         * gst/gst.h:
10186         * gst/gstversion.h.in:
10187         * win32/common/libgstreamer.def:
10188           add gst_version_string ()
10189
10190 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10191
10192         * configure.ac:
10193           clean up further
10194         * gst/gst.c: (init_post):
10195         * win32/common/config.h.in:
10196           it's PLUGINDIR now
10197         * gst/gstcaps.c: (gst_caps_intersect):
10198           use gint64, the range could be bigger than a guint
10199
10200 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10201
10202         * gst/gstclock.h:
10203           document potential problem in 2038
10204
10205 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10206
10207         * gst/gstcaps.c: (gst_caps_intersect):
10208           Fix guint j diving under 0
10209
10210 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10211
10212         * configure.ac:
10213         * win32/common/config.h:
10214         * win32/common/config.h.in:
10215           check for process.h, declares getpid() on Windows
10216         * gst/gstinfo.c:
10217           include process.h if we have it
10218         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
10219         * gst/gstmemchunk.h:
10220           fix signedness issues
10221         * win32/common/libgstreamer.def:
10222           fix get_type's
10223
10224 2005-10-16  Julien MOUTTE  <julien@moutte.net>
10225
10226         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
10227         fix. Because of unsigned ints, caps intersection was going nuts and
10228         trying to access structures with G_MAXUINT index. That fixes
10229         videotestsrc ! ffmpegcolorspace ! fakesink
10230         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
10231         consistency.
10232
10233 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10234
10235         * configure.ac:
10236           use the gettext macro
10237         * gst/elements/gstelements.c:
10238         * gst/gst.c:
10239         * gst/indexers/gstindexers.c:
10240           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
10241         * win32/common/config.h:
10242           updated config.h
10243         * win32/common/config.h.in:
10244           add the template to generate config.h
10245         * win32/common/gstenumtypes.c:
10246         * win32/common/gstversion.h:
10247           updated copies
10248
10249 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10250
10251         * gst/gst.c: (gst_version):
10252         * gst/gstversion.h.in:
10253           add the nano
10254
10255 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
10256
10257         * gst/gstevent.h:
10258           Oops, add missing closing bracket.
10259
10260 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10261
10262         * configure.ac:
10263           use common m4's for argument checking
10264
10265 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
10266
10267         * docs/gst/gstreamer-sections.txt:
10268         * gst/gstevent.h:
10269           Add GST_EVENT_TYPE_NAME() macro.
10270
10271 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10272
10273         * gst/gstinfo.c:
10274         * gst/gstpluginfeature.c:
10275         * gst/gsttask.c:
10276           privatize more symbols
10277
10278 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10279
10280         * configure.ac:
10281           add srcdir, builddir includes to GST_ALL_CFLAGS, since
10282           everything that uses GStreamer API should have the includes
10283
10284 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10285
10286         * docs/gst/gstreamer-sections.txt:
10287         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10288         * gst/gstvalue.h:
10289           give each value a _get_type, removes the DATA exports
10290
10291 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10292
10293         * gst/gst.c:
10294         * gst/gst.h:
10295           remove _gst_registry_auto_load, not used anymore
10296         * gst/gstbin.c: (gst_bin_get_type):
10297         * gst/gstbin.h:
10298         * gst/gstelement.c: (gst_element_get_type):
10299         * gst/gstelement.h:
10300         * gst/gstobject.c: (gst_object_get_type):
10301         * gst/gstobject.h:
10302         * gst/gstpad.c: (gst_pad_get_type):
10303         * gst/gstpad.h:
10304           make _get_type functions similar, fixes data export from library
10305
10306 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10307
10308         * configure.ac:
10309           correctly make conditionals
10310         * gst/elements/Makefile.am:
10311         * gst/elements/gstelements.c:
10312           fix typo causing fdsrc not to build
10313
10314 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10315
10316         * testsuite/Makefile.am:
10317         * testsuite/bytestream/.cvsignore:
10318         * testsuite/bytestream/Makefile.am:
10319         * testsuite/bytestream/filepadsink.c:
10320         * testsuite/bytestream/gstbstest.c:
10321         * testsuite/bytestream/test1.c:
10322         * testsuite/bytestream/testfile1:
10323         * testsuite/caps/normalisation.c:
10324         * testsuite/caps/random.c: (main):
10325         * testsuite/cleanup/.cvsignore:
10326         * testsuite/cleanup/Makefile.am:
10327         * testsuite/cleanup/cleanup1.c:
10328         * testsuite/cleanup/cleanup2.c:
10329         * testsuite/cleanup/cleanup3.c:
10330         * testsuite/cleanup/cleanup4.c:
10331         * testsuite/cleanup/cleanup5.c:
10332         * testsuite/controller/interpolator.c:
10333         * testsuite/debug/printf_extension.c: (main):
10334         * testsuite/elements/tee.c:
10335         * testsuite/negotiation/.cvsignore:
10336         * testsuite/negotiation/Makefile.am:
10337         * testsuite/negotiation/pad_link.c:
10338         * testsuite/pad/Makefile.am:
10339         * testsuite/pad/chainnopull.c:
10340         * testsuite/pad/getnopush.c:
10341         * testsuite/pad/link.c:
10342         * testsuite/refcounting/sched.c: (create_pipeline):
10343         * testsuite/registry/Makefile.am:
10344         * testsuite/registry/gst-print-formats.c:
10345         * testsuite/schedulers/.cvsignore:
10346         * testsuite/schedulers/142183-2.c:
10347         * testsuite/schedulers/142183.c:
10348         * testsuite/schedulers/143777-2.c:
10349         * testsuite/schedulers/143777.c:
10350         * testsuite/schedulers/147713.c:
10351         * testsuite/schedulers/147819.c:
10352         * testsuite/schedulers/147894-2.c:
10353         * testsuite/schedulers/147894.c:
10354         * testsuite/schedulers/Makefile.am:
10355         * testsuite/schedulers/group_link.c:
10356         * testsuite/schedulers/queue_link.c:
10357         * testsuite/schedulers/relink.c:
10358         * testsuite/schedulers/unlink.c:
10359         * testsuite/schedulers/unref.c:
10360         * testsuite/schedulers/useless_iteration.c:
10361         * testsuite/states/bin.c:
10362           clean out/remove some stuff from the testsuite directories
10363
10364 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10365
10366         * configure.ac:
10367           check for some headers
10368         * gst/elements/Makefile.am:
10369         * gst/elements/gstelements.c:
10370           don't compile fdsrc without sys/socket.h
10371         * gst/indexers/Makefile.am:
10372         * gst/indexers/gstindexers.c: (plugin_init):
10373           don't compile fileindex without mmap
10374
10375 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10376
10377         * configure.ac:
10378           reorganize
10379           clean up
10380           document more
10381           remove cruft
10382         * check/Makefile.am:
10383         * docs/gst/Makefile.am:
10384         * examples/helloworld/Makefile.am:
10385         * gst/Makefile.am:
10386         * gst/base/Makefile.am:
10387         * gst/check/Makefile.am:
10388         * gst/elements/Makefile.am:
10389         * gst/indexers/Makefile.am:
10390         * gst/parse/Makefile.am:
10391         * libs/gst/controller/Makefile.am:
10392         * libs/gst/dataprotocol/Makefile.am:
10393         * examples/helloworld/helloworld.c: (event_loop):
10394           compile fixes, though it's not being compiled currently
10395
10396 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
10397
10398         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
10399           Add some simple tests for the new taglist date API.
10400
10401 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
10402
10403         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
10404         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
10405           Beautify 'last-message' output: print 'none' for buffer timestamps
10406           and durations if none is set; improve alignment with next messages.
10407
10408 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
10409
10410         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
10411         * gst/gstpluginfeature.h:
10412         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
10413         * gst/gstregistry.h:
10414         * docs/gst/gstreamer-sections.txt:
10415           Add new API to check plugin feature version requirements.
10416
10417         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
10418           Some basic tests for the above.         
10419
10420 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10421
10422         * gst/gststructure.c: (gst_structure_to_string):
10423           guard against NULL printf - happens when for example
10424           a message structure with GstClock gets serialized
10425
10426 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
10427
10428         * gst/base/gstcollectpads.c: (gst_collectpads_event):
10429           Fix presumable copy'n'pasto.
10430
10431 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10432
10433         * gst/elements/gstfakesrc.h:
10434         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
10435         * gst/elements/gsttypefindelement.c:
10436           fix some signedness
10437         * gst/elements/gstfilesink.c: (gst_file_sink_render):
10438           I wonder if this could actually write +2GB files before
10439
10440 2005-10-13  Andy Wingo  <wingo@pobox.com>
10441
10442         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
10443         Fix Timmeke Waymans bug.
10444         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
10445         string of the proper length to gst_caps_from_string. There's a
10446         potential for, before this fix, that this could cause someone
10447         connecting over the network to cause a segfault if the payload is
10448         not NUL-terminated.
10449
10450 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
10451
10452         * docs/design/draft-push-pull.txt:
10453         * docs/design/part-overview.txt:
10454         * docs/random/TODO-pre-0.9:
10455         * docs/random/old/ChangeLog.gstreamer:
10456         * gst/base/gstpushsrc.c:
10457         * gst/gstclock.c:
10458           fixed typos
10459
10460 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10461
10462         * gst/glib-compat.c: (gst_flags_get_first_value):
10463         * gst/glib-compat.h:
10464         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
10465         (gst_value_compare_double), (gst_value_serialize_flags):
10466           GLib 2.6 g_flags_get_first_value has a bug that triggers an
10467           infinite loop
10468
10469 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10470
10471         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10472         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10473           fix up debugging
10474         * tools/gst-launch.c: (event_loop):
10475           print out clock nicely
10476
10477 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
10478
10479         * docs/gst/gstreamer-sections.txt:
10480         * gst/gsttaglist.h:
10481         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
10482         (gst_tag_list_get_date_index):
10483           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
10484           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
10485
10486 2005-10-13  Julien MOUTTE  <julien@moutte.net>
10487
10488         * gst/base/gstcollectpads.c: (gst_collectpads_event),
10489         (gst_collectpads_chain):
10490         * gst/base/gstcollectpads.h: Handle newsegment and store informations
10491         in CollectData.
10492
10493 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
10494
10495         * docs/gst/gstreamer-sections.txt:
10496         * gst/gst.c:
10497         * gst/gsterror.h:
10498         * tools/gst-inspect.c: (main):
10499         * tools/gst-launch.c: (main):
10500         * tools/gst-run.c: (main):
10501         * tools/gst-xmlinspect.c: (main):
10502           fix GOption context leaks
10503           doc fixes
10504
10505 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10506
10507         * gst/gstbus.c:
10508           use HAVE_UNISTD_H
10509         * win32/common/config.h:
10510           update config
10511         * win32/vs6/grammar.dsp:
10512         * win32/vs6/libgstelements.dsp:
10513         * win32/vs6/libgstreamer.dsp:
10514           update vs6 files
10515
10516 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10517
10518         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10519         * gst/base/gstbasesrc.c: (gst_base_src_query):
10520           fix more guint64<->gdouble conversions
10521
10522 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10523
10524         * Makefile.am:
10525           add win32-update target
10526         * win32/common/gstconfig.h:
10527         * win32/common/gstenumtypes.c:
10528         * win32/common/gstenumtypes.h:
10529         * win32/common/gstversion.h:
10530           add files that visual studio can't generate
10531
10532 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10533
10534         * Makefile.am:
10535           add a win32-update target
10536         * configure.ac:
10537
10538 2005-10-12  Wim Taymans  <wim@fluendo.com>
10539
10540         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10541         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
10542         * gst/gstelement.c: (gst_element_commit_state),
10543         (gst_element_set_state):
10544         Protect flags with proper lock.
10545         unref provided cached clock in dispose.
10546
10547 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
10548
10549         * gst/gst.c:
10550         * gst/gstminiobject.h:
10551         * gst/gstpad.h:
10552         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
10553           removed unused flags from miniobject
10554           doc fixes
10555
10556 2005-10-12  Wim Taymans  <wim@fluendo.com>
10557
10558         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
10559         (gst_file_sink_event), (gst_file_sink_render):
10560         Flush before seeking.
10561
10562 2005-10-12  Andy Wingo  <wingo@pobox.com>
10563
10564         * gst/gst.c (gst_init_check): Ignore unknown options, as has
10565         always been the case.
10566
10567 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
10568
10569         * check/gst/gstbin.c: (GST_START_TEST):
10570         * docs/gst/gstreamer-sections.txt:
10571         * gst/base/gstbasesink.c: (gst_base_sink_init):
10572         * gst/base/gstbasesrc.c: (gst_base_src_init),
10573         (gst_base_src_get_range), (gst_base_src_check_get_range),
10574         (gst_base_src_start), (gst_base_src_stop):
10575         * gst/base/gstbasesrc.h:
10576         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
10577         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10578         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
10579         (bin_bus_handler):
10580         * gst/gstbin.h:
10581         * gst/gstbuffer.h:
10582         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
10583         * gst/gstbus.h:
10584         * gst/gstelement.c: (gst_element_is_locked_state),
10585         (gst_element_set_locked_state), (gst_element_commit_state),
10586         (gst_element_set_state):
10587         * gst/gstelement.h:
10588         * gst/gstindex.c: (gst_index_init):
10589         * gst/gstindex.h:
10590         * gst/gstminiobject.h:
10591         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
10592         (gst_object_set_parent):
10593         * gst/gstobject.h:
10594         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
10595         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
10596         * gst/gstpad.h:
10597         * gst/gstpadtemplate.h:
10598         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
10599         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10600         * gst/gstpipeline.h:
10601         * gst/indexers/gstfileindex.c: (gst_file_index_load),
10602         (gst_file_index_commit):
10603         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
10604         * testsuite/pad/link.c: (gst_test_src_init),
10605         (gst_test_filter_init), (gst_test_sink_init):
10606         * testsuite/states/locked.c: (main):
10607           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
10608           moved bitshift from macro to enum definition
10609
10610 2005-10-12  Wim Taymans  <wim@fluendo.com>
10611
10612         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
10613         * gst/elements/gstfilesink.c: (gst_file_sink_event),
10614         (gst_file_sink_render):
10615         Some more debugging info.
10616
10617 2005-10-12  Wim Taymans  <wim@fluendo.com>
10618
10619         * docs/design/part-states.txt:
10620         * tools/gst-launch.c: (main):
10621         Some doc updates.
10622         Revert non-intentional change.
10623
10624 2005-10-12  Wim Taymans  <wim@fluendo.com>
10625
10626         * check/gst/gstbin.c: (GST_START_TEST):
10627         * check/gst/gstelement.c: (GST_START_TEST):
10628         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
10629         * check/gst/gstghostpad.c: (GST_START_TEST):
10630         * check/gst/gstpipeline.c: (GST_START_TEST):
10631         * check/pipelines/simple_launch_lines.c: (run_pipeline):
10632         * check/states/sinks.c: (GST_START_TEST):
10633         * gst/elements/gsttypefindelement.c: (stop_typefinding):
10634         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
10635         (gst_bin_remove_func), (gst_bin_get_state_func),
10636         (gst_bin_recalc_state), (gst_bin_change_state_func),
10637         (bin_bus_handler):
10638         * gst/gstelement.c: (gst_element_get_state_func),
10639         (gst_element_get_state), (gst_element_abort_state),
10640         (gst_element_commit_state), (gst_element_set_state),
10641         (gst_element_change_state), (gst_element_change_state_func):
10642         * gst/gstelement.h:
10643         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
10644         (gst_pipeline_provide_clock_func):
10645         * gst/gstutils.c: (gst_element_link_pads_filtered):
10646         * tools/gst-launch.c: (main):
10647         * tools/gst-typefind.c: (main):
10648         Use GstClockTime in _get_state() instead of GTimeVal.
10649         Remove old code in gstutils.c
10650
10651 2005-10-12  Andy Wingo  <wingo@pobox.com>
10652
10653         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
10654         removed.
10655
10656         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
10657         there is no task. Shouldn't affect any code, as nothing in our
10658         plugins checks this return value.
10659         (gst_pad_stop_task): Also take the stream lock if the pad has no
10660         task. Docs updated.
10661
10662 2005-10-12  Wim Taymans  <wim@fluendo.com>
10663
10664         * gst/gstpad.c: (pre_activate), (post_activate),
10665         (gst_pad_activate_pull), (gst_pad_activate_push):
10666         Cleanup activation code. Reset old state if
10667         activation failed.
10668
10669 2005-10-12  Wim Taymans  <wim@fluendo.com>
10670
10671         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10672         (gst_base_sink_change_state):
10673         No need to prerol after receiving EOS.
10674
10675         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
10676         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
10677         * gst/elements/gstidentity.c: (gst_identity_event):
10678         Print events more verbosely.
10679
10680 2005-10-12  Wim Taymans  <wim@fluendo.com>
10681
10682         * check/Makefile.am:
10683         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
10684         * check/states/sinks2.c:
10685         Moved sinks2 testcode in sinks check.
10686
10687         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
10688         (gst_bin_remove_func), (gst_bin_recalc_state),
10689         (gst_bin_change_state_func), (bin_bus_handler):
10690         Fix potential race condition when _get_state() iterated over an
10691         ASYNC element right before it posted a state completion.
10692
10693         * gst/gstclock.h:
10694         Do proper cast here.
10695
10696         * gst/gstevent.c: (gst_event_new_newsegment),
10697         (gst_event_parse_newsegment):
10698         A playback rate of 0.0 is not allowed.
10699
10700 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10701
10702         * win32/common/config.h:
10703         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
10704         (_trewinddir), (_ttelldir), (_tseekdir):
10705         * win32/common/dirent.h:
10706         * win32/common/gtchar.h:
10707         * win32/common/libgstbase.def:
10708         * win32/common/libgstreamer.def:
10709         * win32/vs6/grammar.dsp:
10710         * win32/vs6/gst_inspect.dsp:
10711         * win32/vs6/gst_launch.dsp:
10712         * win32/vs6/gstreamer.dsw:
10713         * win32/vs6/libgstbase.dsp:
10714         * win32/vs6/libgstelements.dsp:
10715         * win32/vs6/libgstreamer.dsp:
10716           Visual Studio 6 project files, and a new common directory.
10717           Phear.
10718
10719 2005-10-11  Wim Taymans  <wim@fluendo.com>
10720
10721         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10722         (gst_base_sink_do_sync), (gst_base_sink_query),
10723         (gst_base_sink_change_state):
10724         * gst/base/gstbasesink.h:
10725         Correctly parse newsegment info.
10726
10727 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10728
10729         * gst/gst.c: (init_post):
10730           split plugin paths correctly
10731
10732 2005-10-11  Wim Taymans  <wim@fluendo.com>
10733
10734         * check/gst/gstevent.c: (GST_START_TEST):
10735         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10736         (gst_base_sink_change_state):
10737         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
10738         * gst/base/gstbasetransform.c: (gst_base_transform_event):
10739         * gst/elements/gstfilesink.c: (gst_file_sink_event):
10740         * gst/gstevent.c: (gst_event_new_newsegment),
10741         (gst_event_parse_newsegment):
10742         * gst/gstevent.h:
10743         Added extra flag to newsegment for future API freeze.
10744         Updated check and base elements.
10745
10746 2005-10-11  Julien MOUTTE  <julien@moutte.net>
10747
10748         * gst/base/gstcollectpads.c: (gst_collectpads_init),
10749         (gst_collectpads_add_pad), (gst_collectpads_pop),
10750         (gst_collectpads_event), (gst_collectpads_chain):
10751         * gst/base/gstcollectpads.h: Handle EOS correctly.
10752
10753 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10754
10755         * tools/gst-launch.c: (main):
10756           more null protecting
10757
10758 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10759
10760         * gst/gst-i18n-lib.h:
10761           check for ENABLE_NLS, not GETTEXT_PACKAGE
10762         * gst/gstregistry.c: (gst_registry_add_plugin),
10763         (gst_registry_scan_path_level),
10764         (_gst_registry_remove_cache_plugins):
10765           protect possibly NULL strings
10766         * gst/parse/types.h:
10767           config.h already included before
10768         * tools/gst-inspect.c: (main):
10769           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
10770           check for ENABLE_NLS, not GETTEXT_PACKAGE
10771         * tools/gst-launch.c: (main):
10772           check for ENABLE_NLS, not GETTEXT_PACKAGE
10773
10774 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10775
10776         * configure.ac:
10777           if we don't have glib, fail before testing 2.8
10778         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
10779           fix a leak, should fix plugins-base testsuite
10780
10781 2005-10-11  Andy Wingo  <wingo@pobox.com>
10782
10783         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
10784         take the mode we're going to as an arg. Go head and set the mode
10785         and flushing flags now, so that if the activate function starts a
10786         thread all the flags will be in the right state.
10787         (post_activate): Renamed also. Just handle making sure streaming
10788         finishes for the deactivation case, and setting the deactivated
10789         mode.
10790         (gst_pad_set_active): Complain loudly if deactivation fails.
10791         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
10792         (gst_pad_activate_push): Adapt to pre/post_activate changes,
10793         remove the terrible hack.
10794
10795 2005-10-11  Wim Taymans  <wim@fluendo.com>
10796
10797         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
10798         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
10799         (gst_bin_recalc_state), (gst_bin_change_state_func),
10800         (gst_bin_dispose), (bin_bus_handler):
10801         * gst/gstbin.h:
10802         Prepare to make current EOS message queue more generic.
10803         Fix some typos.
10804
10805         * gst/gstevent.c: (gst_event_new_newsegment),
10806         (gst_event_parse_newsegment):
10807         * gst/gstevent.h:
10808         Rename base to stream_time.
10809
10810         * gst/gstmessage.h:
10811         Fix typo in docs.
10812
10813 2005-10-11  Wim Taymans  <wim@fluendo.com>
10814
10815         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
10816         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
10817         (gst_bin_change_state_func), (bin_bus_handler):
10818         * gst/gstbin.h:
10819         Work on proper clock selection.
10820
10821 2005-10-11  Edward Hervey  <edward@fluendo.com>
10822
10823         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
10824         * libs/gst/controller/gstcontroller.h:
10825         Added GList* version of _remove_properties() in order to be able to wrap
10826         it in bindings.
10827
10828 2005-10-11  Wim Taymans  <wim@fluendo.com>
10829
10830         * docs/design/part-states.txt:
10831         Some more docs.
10832
10833         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
10834         (gst_bin_change_state_func), (bin_bus_handler):
10835         Doc updates. Don't distribute the same clock over and over again.
10836
10837         * gst/gstclock.c:
10838         * gst/gstclock.h:
10839         Doc updates.
10840
10841         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
10842         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
10843         (gst_pad_send_event):
10844         * gst/gstpad.h:
10845         Make probe emission threadsafe again.
10846         Register quarks and move _get_name() from utils.
10847         Doc updates.
10848
10849         * gst/gstpipeline.c: (gst_pipeline_class_init),
10850         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
10851         Only redistribute the clock of it changed.
10852
10853         * gst/gstsystemclock.h:
10854         Doc updates. 
10855
10856         * gst/gstutils.c:
10857         * gst/gstutils.h:
10858         Moved the _flow_get_name() to GstPad.
10859
10860 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10861
10862         * check/gst-libs/gdp.c: (GST_START_TEST):
10863         * check/gst/gstcaps.c: (GST_START_TEST):
10864         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
10865         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
10866         (gst_dp_packet_from_caps):
10867           fix more valgrind warnings before turning up the heat
10868
10869 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10870
10871         * gst/parse/grammar.y:
10872           some cleanup before the hacking
10873
10874 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10875
10876         * gst/base/gstbasesrc.c: (gst_base_src_query):
10877           use conversions
10878         * gst/gstutils.c: (gst_guint64_to_gdouble),
10879         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
10880         * gst/gstutils.h:
10881           externalize, basesrc uses it
10882           obviously the implementation needs testing
10883
10884 2005-10-10  Wim Taymans  <wim@fluendo.com>
10885
10886         * tests/sched/Makefile.am:
10887         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
10888         (make_pipeline3), (make_pipeline4), (print_elem), (main):
10889
10890 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10891
10892         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
10893           apparently converting from guint64 to double is not implemented
10894           on MSVC
10895
10896 2005-10-10  Wim Taymans  <wim@fluendo.com>
10897
10898         * check/Makefile.am:
10899         * check/generic/states.c: (GST_START_TEST):
10900         * check/gst/gstbin.c: (GST_START_TEST):
10901         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
10902         * check/states/sinks.c: (GST_START_TEST):
10903         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
10904         (main):
10905         Check fixes, use API as stated in design docs, remove hacks.
10906
10907         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10908         (gst_base_sink_change_state):
10909         Catch stopping our task while we're shutting down.
10910
10911         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
10912         (gst_bin_remove_func), (gst_bin_get_state_func),
10913         (gst_bin_recalc_state), (gst_bin_change_state_func),
10914         (bin_bus_handler):
10915         * gst/gstbin.h:
10916         * gst/gstelement.c: (gst_element_init),
10917         (gst_element_get_state_func), (gst_element_abort_state),
10918         (gst_element_commit_state), (gst_element_lost_state),
10919         (gst_element_set_state), (gst_element_change_state),
10920         (gst_element_change_state_func):
10921         * gst/gstelement.h:
10922         New state change algorithm (see #318116)
10923
10924         * gst/gstpipeline.c: (gst_pipeline_class_init),
10925         (gst_pipeline_init), (gst_pipeline_set_property),
10926         (gst_pipeline_get_property), (do_pipeline_seek),
10927         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
10928         * gst/gstpipeline.h:
10929         Remove crude state change hacks.
10930
10931         * gst/gstutils.h:
10932         Remove crude hacks.
10933
10934         * tools/gst-launch.c: (main):
10935         Fixes for state change. Needs some more work to fully use the
10936         new stuff.
10937
10938 2005-10-10  Andy Wingo  <wingo@pobox.com>
10939
10940         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
10941
10942         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
10943         this flag, but it's not even in GLib 2.6. Odd. Hack around the
10944         issue.
10945
10946 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
10947
10948         * gst/gstiterator.c: (gst_iterator_new):
10949           Fix my previous commit: GTypes passed to gst_iterator_new()
10950           can be fundamental types.
10951
10952 2005-10-10  Wim Taymans  <wim@fluendo.com>
10953
10954         * gst/gstelement.c: (gst_element_iterate_pad_list),
10955         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
10956         (gst_element_iterate_sink_pads):
10957         Use src/sink pads lists for the respective iterators instead
10958         of filtering.
10959
10960 2005-10-10  Andy Wingo  <wingo@pobox.com>
10961
10962         Merged in popt removal + GOption addition patch from Ronald, bug
10963         #169772.
10964
10965         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
10966         GstElement macros around, remove popt-related symbols, add goption
10967         stuff.
10968
10969         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
10970         
10971         * docs/gst/Makefile.am:
10972         * docs/libs/Makefile.am: No POPT_CFLAGS.
10973         
10974         * examples/manual/Makefile.am:
10975         * docs/manual/basics-init.xml: Doc updates with an example.
10976         
10977         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10978         (gst_init), (parse_one_option), (parse_goption_arg):
10979         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
10980         bit of hand merging and debugging to get the GOption stuff working
10981         tho.
10982         
10983         * tests/Makefile.am:
10984         * tools/Makefile.am:
10985         * tools/gst-inspect.c: (main):
10986         * tools/gst-launch.c: (main):
10987         * tools/gst-run.c: (main):
10988         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
10989
10990 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
10991
10992         * gst/gstiterator.c: (gst_iterator_new):
10993           Add assertions to make sure passed GType is likely to really
10994           be a GType (as the compiler won't catch it if the size and
10995           GType arguments get mixed up, see #318447).
10996
10997 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
10998
10999         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11000
11001         * gst/gstbin.c: (gst_bin_iterate_sorted):
11002           Pass GType and size arguments to gst_iterator_new() in the right
11003           order (maybe we should make _new() take the GType as first argument
11004           just like _new_list()?) (#318447).
11005           
11006
11007 2005-10-10  Wim Taymans  <wim@fluendo.com>
11008
11009         * gst/gstelement.c: (gst_element_finalize):
11010         And free the GStaticRecMutex too
11011
11012 2005-10-10  Andy Wingo  <wingo@pobox.com>
11013
11014         * gst/gstelement.c (gst_element_init, gst_element_finalize):
11015         Allocate and free the mutex properly.
11016
11017         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
11018         New macros.
11019         (GstElement): The state_lock is now recursive. Rebuild your
11020         plugins, suckers. Old macros adapted.
11021
11022         * docs/gst/gstreamer-sections.txt: Doc updates.
11023
11024         * gst/gstutils.h:
11025         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
11026         (g_static_rec_cond_wait): Ported from state changes patch, while
11027         we wait on bug #317802 to be solved in a well-distributed GLib.
11028
11029         * gst/gstelement.c (gst_element_change_state_func): Renamed from
11030         gst_element_change_state, variable name changes.
11031         (gst_element_change_state): Split out of gst_element_set_state in
11032         preparation for the state change merge. Doesn't pay attention to
11033         the 'transition' argument.
11034         (gst_element_set_state): Updates, hopefully purely cosmetic.
11035         (gst_element_sync_state_with_parent): MT-safety. Ported from the
11036         state change patch.
11037         (gst_element_get_state_func): Renamed from get_state, cosmetic
11038         changes.
11039
11040 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11041
11042         * gst/elements/gstelements.c:
11043         * win32/GStreamer.vcproj:
11044         * win32/config.h:
11045         * win32/dirent.c: (_tseekdir):
11046         * win32/gst-inspect.vcproj:
11047         * win32/gst-launch.vcproj:
11048         * win32/gstconfig.h:
11049         * win32/gstelements.vcproj:
11050         * win32/gstenumtypes.c: (gst_object_flags_get_type):
11051         * win32/gstreamer.def:
11052         * win32/msvc71.sln:
11053           updates for the win32 build (patch from Sebastien Moutte)
11054
11055 2005-10-10  Andy Wingo  <wingo@pobox.com>
11056
11057         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
11058         gst_bin_get_state, cleaned up (but no logic changes).
11059         (bin_element_is_sink): Comment updates.
11060         (sink_iterator_filter): Remove needless cast.
11061         (gst_bin_iterate_sinks): Doc update.
11062         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
11063         cleaned up (but no logic changes).
11064
11065         * check/states/sinks.c (test_src_sink): Cleanups from the state
11066         change patch.
11067         (test_livesrc_sink): Sync on the state.
11068
11069         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
11070         the state change patch.
11071
11072         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
11073         change patch.
11074
11075         * check/gst/gstbin.c: Merge in some style fixes and additional
11076         checks from Wim's state change patch.
11077
11078 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11079
11080         * gst/base/gsttypefindhelper.c: (helper_find_peek),
11081         (gst_type_find_helper):
11082           Check whether we have the requested data already in our list of
11083           cached buffers before pulling a new buffer; also make the buffer
11084           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
11085
11086 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11087
11088         * gst/gstcaps.c:
11089         * gst/gstevent.c:
11090           doc updates
11091         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11092           don't use long long, it's not portable.  Replacing with
11093           gint64 seems to work; let's hope no skeletons fall out of the closet.
11094
11095 2005-10-10  Andy Wingo  <wingo@pobox.com>
11096
11097         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
11098
11099 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
11100
11101         * docs/gst/gstreamer-sections.txt:
11102         * gst/gstevent.c:
11103         * gst/gstevent.h:
11104         * gst/gstinfo.c:
11105         * gst/gstinfo.h:
11106         * gst/gstmessage.c: (gst_message_parse_state_changed):
11107         * gst/gstpad.c:
11108         * gst/gstpad.h:
11109           more docs, fix compilation
11110
11111 2005-10-09  Philippe Khalaf <burger@speedy.org>
11112         * gst/gstmessage.c:
11113           Fixed a few forgotten variables on previous commit
11114
11115 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
11116
11117         * gst/base/gsttypefindhelper.c: (helper_find_peek):
11118           Fix evil typefind crasher: getrange() might return a short
11119           buffer at the end of a file, but gst_type_find_peek() must
11120           either return the full data as requested or NULL, but
11121           never a short buffer.
11122
11123 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11124
11125         * gst/gstmessage.c: (gst_message_new_state_changed),
11126         (gst_message_parse_state_changed):
11127         * gst/gstmessage.h:
11128           don't use "new", it's a C++ keyword
11129
11130 2005-10-08  Wim Taymans  <wim@fluendo.com>
11131
11132         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
11133         * gst/gstelement.c: (gst_element_post_message):
11134         * gst/gstpipeline.c: (gst_pipeline_change_state):
11135         Small docs and debug updates.
11136
11137 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
11138
11139         * docs/gst/gstreamer-sections.txt:
11140         * gst/gstelementfactory.c:
11141         * gst/gstevent.c:
11142         * gst/gsttaglist.c:
11143           more docs
11144
11145 2005-10-08  Wim Taymans  <wim@fluendo.com>
11146
11147         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
11148         (gst_bin_dispose), (bin_bus_handler):
11149         Fix typos, add comments.
11150         Clear EOS list when going to PAUSED from any direction and do it
11151         in a threadsafe way.
11152         Get base time in a threadsafe way too.
11153         Fix confusing debug in the change_state function.
11154         Various other small cleanups.
11155         
11156         * gst/gstelement.c: (gst_element_post_message):
11157         Fix very verbose bus posting code.
11158
11159         * gst/gstpipeline.c: (gst_pipeline_class_init),
11160         (gst_pipeline_set_property), (gst_pipeline_get_property),
11161         (gst_pipeline_change_state):
11162         Small ARG_ -> PROP_ cleanup
11163
11164 2005-10-08  Wim Taymans  <wim@fluendo.com>
11165
11166         * gst/gstbin.c: (is_eos), (bin_bus_handler):
11167         Do a less CPU demanding EOS check because we can.
11168
11169 2005-10-08  Wim Taymans  <wim@fluendo.com>
11170
11171         * libs/gst/dataprotocol/dataprotocol.c:
11172         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11173         (gst_dp_packet_from_event):
11174         * libs/gst/dataprotocol/dataprotocol.h:
11175         * libs/gst/dataprotocol/dp-private.h:
11176         It's about time we bump the version number.
11177         Since event types don't fit in the guint8 anymore describing
11178         the payload type, make payload type 16 bits wide.
11179
11180 2005-10-08  Wim Taymans  <wim@fluendo.com>
11181
11182         * docs/design/part-TODO.txt:
11183         * docs/design/part-clocks.txt:
11184         * docs/design/part-events.txt:
11185         * docs/design/part-gstbin.txt:
11186         * docs/design/part-gstelement.txt:
11187         * docs/design/part-gstpipeline.txt:
11188         * docs/design/part-live-source.txt:
11189         * docs/design/part-messages.txt:
11190         * docs/design/part-overview.txt:
11191         * docs/design/part-states.txt:
11192         Many doc updates.
11193
11194 2005-10-08  Wim Taymans  <wim@fluendo.com>
11195
11196         * gst/gstevent.c:
11197         * gst/gstevent.h:
11198         Fix event quark registration.
11199         Add some space between events so we can insert them in the
11200         right groups.
11201
11202 2005-10-08  Wim Taymans  <wim@fluendo.com>
11203
11204         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11205         (gst_base_sink_handle_buffer):
11206         Better log message.
11207
11208         * gst/gstbus.h:
11209         * gst/gstelement.h:
11210         More docs.
11211
11212         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11213         (gst_queue_set_property), (gst_queue_get_property):
11214         * gst/gstqueue.h:
11215         Remove old unused properties.
11216
11217 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
11218         * docs/gst/gstreamer-sections.txt:
11219         * gst/gstmessage.c:
11220         * gst/gstmessage.h:
11221         * gst/gstminiobject.c:
11222         * gst/gstminiobject.h:
11223         * gst/gstobject.h:
11224         * gst/gstpad.h:
11225         * gst/gstutils.h:
11226           lots of new docs and doc fixes
11227
11228 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11229
11230         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
11231         * gst/gstplugin.h:
11232         * gst/gstregistry.c: (gst_registry_lookup_locked),
11233         (gst_registry_scan_path_level):
11234         * gst/gstregistryxml.c: (load_plugin):
11235           Only ever load one plugin for a given plugin basename.
11236           This ensures correct overriding of GST_PLUGIN_PATH over
11237           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
11238           system installed plugins.
11239
11240 2005-10-08  Wim Taymans  <wim@fluendo.com>
11241
11242         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11243         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
11244         Prepare for doing QOS.
11245
11246 2005-10-08  Wim Taymans  <wim@fluendo.com>
11247
11248         * check/gst/gstbin.c: (GST_START_TEST):
11249         * check/pipelines/cleanup.c: (GST_START_TEST):
11250         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
11251         Allow new clock message too.
11252
11253 2005-10-08  Wim Taymans  <wim@fluendo.com>
11254
11255         * gst/gstmessage.c: (gst_message_new_error),
11256         (gst_message_new_warning), (gst_message_new_tag),
11257         (gst_message_new_state_changed), (gst_message_new_clock_provide),
11258         (gst_message_new_clock_lost), (gst_message_new_new_clock),
11259         (gst_message_new_segment_start), (gst_message_new_segment_done),
11260         (gst_message_parse_state_changed),
11261         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
11262         (gst_message_parse_new_clock):
11263         * gst/gstmessage.h:
11264         Also carry the clock in question.
11265
11266 2005-10-08  Wim Taymans  <wim@fluendo.com>
11267
11268         * gst/gstmessage.c: (gst_message_new_custom),
11269         (gst_message_new_eos), (gst_message_new_error),
11270         (gst_message_new_warning), (gst_message_new_tag),
11271         (gst_message_new_state_changed), (gst_message_new_clock_provide),
11272         (gst_message_new_new_clock), (gst_message_new_segment_start),
11273         (gst_message_new_segment_done), (gst_message_parse_state_changed),
11274         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
11275         * gst/gstmessage.h:
11276         Clean up.
11277         Added clock related messages.
11278
11279         * gst/gstpipeline.c: (gst_pipeline_change_state):
11280         Post message when the clock changed.
11281
11282         * tools/gst-launch.c: (event_loop):
11283         Print new clock.
11284
11285 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
11286
11287         * tools/gst-inspect.c: (print_element_properties_info):
11288           Can't pass NULL strings to g_print() on windows.
11289
11290 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11291
11292         * docs/Makefile.am:
11293         * docs/gst/Makefile.am:
11294         * docs/gst/gstreamer-docs.sgml:
11295         * docs/gst/running.xml:
11296         * docs/version.entities.in:
11297           add a chapter on running GStreamer.
11298           document GST_DEBUG and GST_PLUGIN* env vars
11299
11300 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11301
11302         * Makefile.am:
11303           remove include dir
11304         * configure.ac:
11305           remove PLUGINS_BUILDDIR stuff
11306         * gst/gst.c: (init_post):
11307           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
11308         * idiottest.mak:
11309           remove, it was condescending and not needed
11310
11311 2005-10-08  Wim Taymans  <wim@fluendo.com>
11312
11313         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
11314         (gst_base_sink_handle_object), (gst_base_sink_event),
11315         (gst_base_sink_wait), (gst_base_sink_handle_event),
11316         (gst_base_sink_change_state):
11317         * gst/base/gstbasesink.h:
11318         Repost EOS message while going to PLAYING if still EOS.
11319         Make sure that when receiving a FLUSH_START we don't attempt
11320         to sync on the clock anymore.
11321
11322 2005-10-08  Wim Taymans  <wim@fluendo.com>
11323
11324         * tools/gst-launch.c: (event_loop):
11325         Better message printout.
11326
11327 2005-10-08  Wim Taymans  <wim@fluendo.com>
11328
11329         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
11330         (gst_bin_child_proxy_get_children_count):
11331         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
11332         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
11333         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
11334         (gst_child_proxy_set_valist):
11335         * gst/parse/grammar.y:
11336         Make ChildProxy threadsafe and fix mem leaks.
11337
11338 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11339
11340         * gst/gst.c: (init_post):
11341           debug the GST_PLUGIN_ env vars
11342
11343 2005-10-08  Wim Taymans  <wim@fluendo.com>
11344
11345         * check/gst/gstbin.c: (GST_START_TEST):
11346         * check/gst/gstmessage.c: (GST_START_TEST):
11347         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
11348         * gst/gstelement.c: (gst_element_commit_state),
11349         (gst_element_lost_state):
11350         * gst/gstmessage.c: (gst_message_new_state_changed),
11351         (gst_message_parse_state_changed):
11352         * gst/gstmessage.h:
11353         * tools/gst-launch.c: (event_loop):
11354         Added extra field to STATE_CHANGE message with the pending
11355         state, which will be different from the new state soon.
11356
11357 2005-10-08  Wim Taymans  <wim@fluendo.com>
11358
11359         * gst/gstbus.c: (gst_bus_pop):
11360         * gst/gstclock.c:
11361         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
11362         Small cleanups and doc updates.
11363
11364 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11365
11366         * gst/gst.c: (init_pre):
11367         * gst/gstbin.c: (gst_bin_add_func):
11368           log distributing clocks and base time
11369         * gst/gstregistry.c: (gst_registry_add_plugin),
11370         (gst_registry_scan_path_level), (gst_registry_scan_path):
11371           clean up the debugging output a little
11372         * gst/gstutils.c: (gst_element_state_get_name):
11373           warn about a memleak (I've actually seen this be used, though
11374           it was probably a bug)
11375
11376 2005-10-07  Wim Taymans  <wim@fluendo.com>
11377
11378         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11379         (gst_base_src_init), (gst_base_src_default_newsegment),
11380         (gst_base_src_newsegment), (gst_base_src_do_seek),
11381         (gst_base_src_loop), (gst_base_src_start):
11382         * gst/base/gstbasesrc.h:
11383         Make the newsegment event customizable by subclasses.
11384
11385 2005-10-07  Wim Taymans  <wim@fluendo.com>
11386
11387         * gst/gstevent.c: (gst_event_new_buffersize),
11388         (gst_event_parse_buffersize):
11389         * gst/gstevent.h:
11390         New event for future idea.
11391
11392 2005-10-07  Andy Wingo  <wingo@pobox.com>
11393
11394         * gst/gstelement.c (gst_element_post_message): Doc update.
11395
11396         * docs/gst/gstreamer-sections.txt: Update.
11397
11398         * gst/gstmessage.c (gst_message_new_application): Made into a
11399         function like honest API calls.
11400         (gst_message_new_element): New message type.
11401
11402         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
11403
11404         * check/elements/fakesrc.c (test_no_preroll): New check, checks
11405         that setting a live fakesrc to PAUSED returns NO_PREROLL both
11406         times.
11407
11408         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
11409         NO_PREROLL from gst_element_change_state to fall through.
11410
11411 2005-10-07  Wim Taymans  <wim@fluendo.com>
11412
11413         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
11414         (gst_ghost_pad_do_activate_push):
11415         Activating a ghostpad with no internal pad in push mode
11416         is ok.
11417
11418 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
11419
11420         * gst/gstobject.h:
11421           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
11422           Fixes compilation on Windows.
11423
11424 2005-10-07  Michael Smith <msmith@fluendo.com>
11425
11426         * tools/gst-inspect.c:
11427           Print out feature and plugin count at the end when printing out
11428           all features.
11429
11430 2005-10-04  Michael Smith <msmith@fluendo.com>
11431
11432         * gst/gsterror.c: (_gst_stream_errors_init):
11433           Add another error string used in a few existing plugins.
11434
11435         * gst/gstplugin.c:
11436         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11437         * tools/gst-inspect.c: (print_element_info):
11438           When a feature disappears from a plugin (and the feature exists in
11439           the cached registry file), things went horribly wrong. This isn't a
11440           complete fix, we should actually be removing the 'missing' features
11441           from the features list when we load the actual plugin. That's not
11442           yet implemented. 
11443
11444 2005-10-04  Johan Dahlin  <johan@gnome.org>
11445
11446         * check/gst/gstiterator.c: (GST_START_TEST):
11447         * gst/gstbin.c: (gst_bin_iterate_elements),
11448         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
11449         * gst/gstelement.c: (gst_element_iterate_pads):
11450         * gst/gstformat.c: (gst_format_iterate_definitions):
11451         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11452         (gst_iterator_new_list), (gst_iterator_filter):
11453         * gst/gstiterator.h:
11454         * gst/gstquery.c: (gst_query_type_iterate_definitions):
11455         Add a GType to GstIterator, update callsites and tests.
11456
11457 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11458
11459         * gst/gstpad.c: (gst_pad_event_default_dispatch):
11460           give events a chance to be handled by event probes when the pad
11461           is not linked
11462
11463 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11464
11465         * gst/gstevent.c: (gst_event_type_get_name),
11466         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
11467         * gst/gstevent.h:
11468           add string representations for event types
11469
11470 2005-10-06  Wim Taymans  <wim@fluendo.com>
11471
11472         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
11473         Don't use NULL pointers.
11474
11475 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11476
11477         * gst/gst_private.h:
11478         * gst/gstbus.c:
11479         * gst/gstelement.c:
11480         * gst/gstinfo.c:
11481         * gst/gstpluginfeature.c:
11482           widen the debug category in output to fit the biggest one we have
11483           add a bus category and use it
11484           play with the colors
11485           fix up some categories
11486
11487 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11488
11489         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
11490           add push activation of sink ghost pads.
11491           Andye, please verify
11492
11493 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11494
11495         * gst/gstutils.c: (gst_element_link_pads):
11496           fix a bug in the case where neither element has a pad
11497         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
11498           add a test for that case
11499
11500 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11501
11502         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
11503           emit have-data before checking for peers.  This allows
11504           for probe handlers to connect elements.  This helps autopluggers.
11505         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
11506         (gst_pad_suite):
11507           add six checks, linked/unlinked with no/true/false probe
11508
11509 2005-10-04  Wim Taymans  <wim@fluendo.com>
11510
11511         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
11512         (gst_fake_sink_event), (gst_fake_sink_preroll),
11513         (gst_fake_sink_render), (gst_fake_sink_change_state):
11514         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
11515         (gst_fake_src_get_property), (gst_fake_src_create),
11516         (gst_fake_src_stop):
11517         * gst/elements/gstidentity.c: (gst_identity_stop):
11518         Protect last_message with lock.
11519
11520 2005-10-04  Edward Hervey  <edward@fluendo.com>
11521
11522         * gst/gstformat.h: 
11523         Added precision in the comments for GST_FORMAT_DEFAULT
11524
11525 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
11526
11527         * tools/gst-launch.c: (main):
11528           Don't try to run erroneous pipelines.
11529
11530 2005-10-04  Julien MOUTTE  <julien@moutte.net>
11531
11532         * gst/gstbus.c: We don't need this header.
11533
11534 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11535
11536         * configure.ac:
11537           back to development
11538
11539 === release 0.9.3 ===
11540
11541 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11542
11543         * README:
11544         * configure.ac:
11545           Releasing 0.9.3, "Unregistered"
11546
11547 2005-10-03  Andy Wingo  <wingo@pobox.com>
11548
11549         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
11550         whereby calling a pad's activatepush() function can start a thread
11551         that starts to push or pull before the pad gets the FLUSHING flag
11552         unset. Hack around it by holding the stream lock until the flag is
11553         set. Need to replace this with a proper solution. Together with
11554         the ghost pad fixes, this fixes mp3 playing/tagreading.
11555
11556         * docs/design/part-gstghostpad.txt: Add a note about activation of
11557         proxy pads outside of ghost pads.
11558
11559         * gst/gstghostpad.c: Implement the ghost pad activation design.
11560
11561 2005-10-02  Andy Wingo  <wingo@pobox.com>
11562
11563         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
11564         It is volatile, after all.
11565
11566         * docs/design/part-gstghostpad.txt: Flesh out activation with
11567         ghost pads.
11568
11569         * gst/base/gstbasesrc.c (gst_base_src_init): Use
11570         GST_DEBUG_FUNCPTR.
11571
11572 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
11573
11574         * configure.ac:
11575           Fix (unused) AM_CONDITIONAL tests.
11576
11577 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
11578
11579         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11580
11581         * gst/gstutils.c: (gst_pad_query_convert):
11582           Add assertion that makes sure src_val is >=0, just like
11583           gst_query_new_convert() has. (#315895)
11584
11585 2005-09-30  Edward Hervey  <edward@fluendo.com>
11586
11587         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
11588         Let's not iterate pads we're not interested in, it avoids getting 
11589         sky-high refcounts on sinkpad.
11590
11591 2005-09-30  Wim Taymans  <wim@fluendo.com>
11592
11593         * gst/gstelement.c: (gst_element_set_state),
11594         (gst_element_change_state):
11595         Small tweak, element in ASYNC remains ASYNC.
11596
11597 2005-09-30  Wim Taymans  <wim@fluendo.com>
11598
11599         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
11600         Only error is an error.
11601
11602         * gst/gstbin.c: (gst_bin_change_state):
11603         Better debugging.
11604
11605         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
11606         Also call pad_block in pad alloc.
11607
11608         * gst/gstutils.c: (gst_flow_get_name):
11609         Better debugging.
11610
11611 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
11612
11613         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11614         (gst_base_src_get_range):
11615           Fix documentation typos. Add some more debug info.
11616
11617 2005-09-29  David Schleef  <ds@schleef.org>
11618
11619         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
11620           more end-user friendly.
11621         * tools/gst-inspect.c: (main): Check if command-line argument is
11622           a file and attempt to load that file as a plugin.
11623
11624 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11625
11626         * check/gst/gstbin.c:
11627         * check/states/sinks.c:
11628           fix tests for the new warning
11629         * check/gst/gstpipeline.c:
11630           add a test for pipeline and bus interaction
11631         * gst/gstelement.c:
11632           elements should be NULL if they get disposed; add a warning if not
11633
11634 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11635
11636         * gst/gstobject.c:
11637           for 2.6 refcounting, make debug log more correct by printing
11638           the actual refcounts at the time of swap (Wim)
11639
11640 2005-09-29  Andy Wingo  <wingo@pobox.com>
11641
11642         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
11643         removes signal watches previously added via
11644         gst_bus_add_signal_watch.
11645         (gst_bus_add_signal_watch): Don't return the source id, just store
11646         it on the bus if there wasn't an id already.
11647
11648         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
11649         add_signal_watch and remove_signal_watch.
11650
11651 2005-09-29  Edward Hervey  <edward@fluendo.com>
11652
11653         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
11654         Better if we actually iterate the list :)
11655
11656 2005-09-29  Wim Taymans  <wim@fluendo.com>
11657
11658         * check/gst/gstbin.c: (GST_START_TEST):
11659         Change for new bus API.
11660
11661         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
11662         (send_messages), (GST_START_TEST), (gstbus_suite):
11663         Change for new bus signal API.
11664
11665         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
11666         (gst_bus_source_prepare), (gst_bus_source_check),
11667         (gst_bus_create_watch), (gst_bus_add_watch_full),
11668         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
11669         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
11670         * gst/gstbus.h:
11671         Remove support for multiple GSources operating on different
11672         message types as it is too complex and unneeded when using
11673         signals.
11674         Added support for receiving signals from the bus.
11675
11676 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11677
11678         * docs/libs/tmpl/gstdataprotocol.sgml:
11679         * docs/manual/advanced-dataaccess.xml:
11680         * gst/elements/gstcapsfilter.c:
11681         * gst/gstutils.c:
11682           rename filter-caps to caps property
11683
11684 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
11685
11686         * gst/gstvalue.c: (gst_value_deserialize_fraction):
11687           More robust fraction string parsing.
11688
11689         * docs/pwg/appendix-porting.xml:
11690           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
11691
11692 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
11693
11694         * gst/gstcaps.c: (gst_caps_do_simplify):
11695           Thou shalt not free a structure and then continue using it
11696           in the next loop iteration.
11697
11698         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
11699         (gst_caps_suite):
11700           Add test case for caps simplification.
11701
11702 2005-09-29  Wim Taymans  <wim@fluendo.com>
11703
11704         * check/gst/gstbin.c: (GST_START_TEST):
11705         Oops.
11706
11707 2005-09-29  Wim Taymans  <wim@fluendo.com>
11708
11709         * check/gst/gstbin.c: (GST_START_TEST):
11710         Add bus to bin.
11711
11712         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
11713         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
11714         (find_element), (gst_bin_sort_iterator_next),
11715         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11716         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11717         (gst_bin_change_state), (gst_bin_dispose):
11718         A bin does not have a bus, it gets the bus from the parent.
11719
11720         * gst/gstelement.c: (gst_element_requires_clock),
11721         (gst_element_provides_clock), (gst_element_is_indexable),
11722         (gst_element_is_locked_state), (gst_element_change_state),
11723         (gst_element_set_bus_func):
11724         Small cleanups.
11725
11726         * gst/gstpipeline.c: (gst_pipeline_class_init),
11727         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
11728         The pipeline provides a bus.
11729
11730 2005-09-28  Johan Dahlin  <johan@gnome.org>
11731
11732         * gst/gstmessage.c (gst_message_parse_state_changed): Use
11733         gst_structure_get_enum instead of gst_structure_get_int
11734
11735         * gst/gststructure.c (gst_structure_get_enum): Impl.
11736
11737         * gst/gststructure.h (gst_structure_get_enum): Add
11738
11739         * docs/gst/gstreamer-sections.txt: Ditto
11740
11741         * gst/gstmessage.c (gst_message_new_state_changed): Use
11742         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
11743         which does introspection.
11744         Reviewed by Christian Schaller
11745
11746 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
11747
11748         * gst/gstinfo.c: (gst_debug_log_default):
11749           don't do dummy g_strdup()s
11750         * libs/gst/controller/gstcontroller.c:
11751         (on_object_controlled_property_changed),
11752         (gst_controlled_property_new), (gst_controller_new_valist),
11753         (gst_controller_new_list),
11754         (gst_controller_remove_properties_valist), (gst_controller_set),
11755         (gst_controller_get), (gst_controller_sync_values),
11756         (gst_controller_get_value_array), (_gst_controller_class_init),
11757         (gst_controller_get_type):
11758         * libs/gst/controller/gstcontroller.h:
11759         * libs/gst/controller/gstinterpolation.c:
11760         (gst_controlled_property_find_timed_value_node):
11761           convert // to /**/ comments
11762
11763 2005-09-28  Wim Taymans  <wim@fluendo.com>
11764
11765         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
11766         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
11767         (gst_bus_sync_signal_handler):
11768         * gst/gstbus.h:
11769         Added async-message and sync-message signals to the bus.
11770         Added helper BusFunc to emit signals for all posted messages.
11771
11772         * gst/gstmessage.c: (gst_message_type_get_name),
11773         (gst_message_type_to_quark), (gst_message_get_type):
11774         * gst/gstmessage.h:
11775         Register quarks for message names.
11776
11777 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
11778
11779         * docs/libs/gstreamer-libs-sections.txt:
11780         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11781         (gst_controller_new_list):
11782         * libs/gst/controller/gstcontroller.h:
11783           added another constructor for language bindings
11784
11785 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
11786
11787         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11788           add another check
11789         * gst/gstbus.c:
11790           add some doc
11791         * gst/gstinfo.c: (_gst_debug_init):
11792           slightly more readable color for refcount debugging
11793
11794 2005-09-28  Wim Taymans  <wim@fluendo.com>
11795
11796         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
11797         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
11798         (find_element), (gst_bin_sort_iterator_next),
11799         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11800         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11801         (gst_bin_change_state), (gst_bin_dispose):
11802         Small doc fixes. get_clock -> provide_clock.
11803
11804         * gst/gstelement.c: (gst_element_class_init),
11805         (gst_element_provides_clock), (gst_element_provide_clock),
11806         (gst_element_get_clock), (gst_element_commit_state),
11807         (gst_element_lost_state):
11808         * gst/gstelement.h:
11809         Make get/set_clock() symetric. Add provide_clock vmethod since
11810         that is actually what this function does.
11811
11812         * gst/gstpipeline.c: (gst_pipeline_class_init),
11813         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
11814         (gst_pipeline_get_clock):
11815         get_clock -> provide_clock.
11816
11817 2005-09-28  Andy Wingo  <wingo@pobox.com>
11818
11819         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
11820         lieu of real docs...
11821
11822         * gst/elements/gstfdsrc.c: Cleaned up a bit.
11823
11824 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
11825
11826         * gst/elements/gstcapsfilter.c:
11827         * gst/elements/gstfakesink.c:
11828         * gst/elements/gstfakesrc.c:
11829         * gst/elements/gstfdsink.c:
11830         * gst/elements/gstfdsrc.c:
11831         * gst/elements/gstfilesink.c:
11832         * gst/elements/gstfilesrc.c:
11833         * gst/elements/gstidentity.c:
11834         * gst/elements/gsttee.c:
11835         * gst/elements/gsttypefindelement.c:
11836           Make element details static.
11837
11838 2005-09-28  Wim Taymans  <wim@fluendo.com>
11839
11840         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
11841         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
11842         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11843         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11844         (gst_bin_change_state), (gst_bin_dispose):
11845         Some documentation updates.
11846         Clean up dispose handlers.
11847
11848         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
11849         * gst/gstpad.c: (gst_pad_dispose):
11850         Clean up dispose handler.
11851
11852         * gst/gstpipeline.c: (gst_pipeline_change_state):
11853         Removed spurious UNLOCK.
11854
11855 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
11856
11857         * docs/gst/gstreamer-sections.txt:
11858         * gst/base/gstbasesrc.h:
11859         * gst/gstelement.h:
11860         * gst/gstevent.h:
11861         * gst/gstobject.h:
11862         * gst/gstpad.h:
11863         * gst/gstpipeline.c:
11864         * gst/gstpipeline.h:
11865         * gst/gstutils.h:
11866         * gst/gstxml.h:
11867           added two new functions to the docs
11868                 documents all undocumented GstXXXFlags
11869                 completed some incomplete docs 
11870
11871 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
11872
11873         * gst/gstbin.c: (gst_bin_dispose):
11874         * gst/gstelement.c: (gst_element_dispose):
11875           remove now useless and leaky resurrection code in dispose
11876         * gst/base/gstbasesrc.c: (gst_base_src_init):
11877         * gst/gstelementfactory.c: (gst_element_factory_create):
11878         * gst/gstobject.c: (gst_object_set_parent):
11879           add some debugging
11880
11881 2005-09-27  Wim Taymans  <wim@fluendo.com>
11882
11883         * docs/design/part-TODO.txt:
11884         Update TODO.
11885
11886         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
11887         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
11888         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11889         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11890         (gst_bin_change_state):
11891         * gst/gstelement.h:
11892         Remove element variable, we keep element info in the iterator now.
11893
11894 2005-09-27  Andy Wingo  <wingo@pobox.com>
11895
11896         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
11897         values.
11898
11899 2005-09-27  Wim Taymans  <wim@fluendo.com>
11900
11901         * check/gst/gstbin.c: (GST_START_TEST):
11902         Enable check that works now.
11903
11904         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
11905         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
11906         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11907         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11908         (gst_bin_change_state):
11909         * gst/gstbin.h:
11910         Redid the state change algorithm using a topological sort algo.
11911         Handles all cases correctly.
11912         Exposed iterator for state change order.
11913
11914         * gst/gstelement.h:
11915         Temp storage for state changes. Need to get rid of this soon.
11916
11917 2005-09-27  Wim Taymans  <wim@fluendo.com>
11918
11919         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
11920         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
11921         (link_fold_func), (gst_pad_proxy_setcaps):
11922         Leak fixes, the fold functions need to unref the passed object and
11923         _get_parent_*() returns ref to parent.
11924
11925 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
11926
11927         * check/gst/gstbuffer.c: (test_make_writable):
11928           Plug leak in test case and fix 'make check-valgrind'
11929
11930 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
11931
11932         * gst/gstbuffer.c: (gst_subbuffer_init):
11933           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
11934           works correctly in all circumstances (we could have just copied
11935           the parent buffer's readonly flag, but conceptually it seems
11936           cleaner to mark all subbuffers as read-only). (based on patch
11937           by Alessandro Decina, #314710).
11938         
11939         * check/gst/gstbuffer.c: (create_read_only_buffer),
11940         (test_make_writable), (test_subbuffer_make_writable),
11941         (gst_test_suite):
11942           Add some tests for gst_buffer_make_writable().
11943
11944 2005-09-27  Wim Taymans  <wim@fluendo.com>
11945
11946         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
11947         use gst_object_has_ancestor().
11948
11949         * gst/gstobject.c: (gst_object_has_ancestor):
11950         * gst/gstobject.h:
11951         gst_object_has_ancestor() copied from gstbin.c as it is a
11952         usefull function.
11953
11954         * tests/instantiate/create.c: (create_all_elements):
11955         * tests/lat.c: (handoff_src), (handoff_sink):
11956         * tests/sched/runxml.c: (main):
11957         * tests/seeking/seeking1.c: (main):
11958         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
11959         (main):
11960         Fix compilation of some tests.
11961
11962 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
11963
11964         * gst/gsterror.h:
11965           Remove comment. GST_TYPE_G_ERROR is here to stay,
11966           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
11967           (#316961, #300610).
11968
11969 2005-09-26  Wim Taymans  <wim@fluendo.com>
11970
11971         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
11972         Added check that shows error in state change order.
11973
11974 2005-09-26  Wim Taymans  <wim@fluendo.com>
11975
11976         * gst/gstbin.c: (gst_bin_change_state):
11977         Make state change function use 3 queues again, we were
11978         adding elements in the wrong order.
11979
11980         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
11981         Some debug info,
11982
11983         * gst/gstpad.c: (gst_pad_dispose):
11984         Added some debug info first.
11985
11986 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
11987
11988         * docs/design/draft-push-pull.txt:
11989         * docs/design/part-events.txt:
11990         * docs/design/part-overview.txt:
11991         * docs/design/part-scheduling.txt:
11992           Replace all _pull_region() with _pull_range()
11993           
11994 2005-09-26  Andy Wingo  <wingo@pobox.com>
11995
11996         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
11997
11998         * check/gst-libs/controller.c: Update for controller api change.
11999
12000         * configure.ac: 
12001         * tests/Makefile.am:
12002         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
12003         over by GLib bug 118439.
12004         
12005         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
12006         routines to a function.
12007
12008         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
12009
12010         * libs/gst/controller/gsthelper.c:
12011         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
12012         (gst_object_sync_values): Renamed from sink_values. Ugh.
12013
12014         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
12015
12016         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
12017         Renamed from controller_key, as it is exported.
12018
12019         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
12020
12021 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
12022
12023         * gst/Makefile.am:
12024         * gst/gst.h:
12025         * gst/gstpad.h:
12026         * gst/gstpadtemplate.h:
12027         * gst/gstquery.c:
12028         * gst/gstquery.h:
12029         * gst/gstqueryutils.c:
12030         * gst/gstqueryutils.h:
12031           remove queryutils headers after moving the two used functions
12032           to gstquery.  also fixes build problem for gstsiddec
12033
12034 2005-09-26  Michael Smith <msmith@fluendo.com>
12035
12036         * tools/gst-launch.1.in:
12037         Correct documentation in manpage of debug syntax
12038
12039 2005-09-26  Wim Taymans  <wim@fluendo.com>
12040
12041         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
12042         (gst_base_src_is_seekable), (gst_base_src_change_state):
12043         Some more debugging info.
12044
12045 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12046
12047         * docs/gst/gstreamer-sections.txt:
12048         * gst/base/gstbasetransform.h:
12049         * gst/gstindex.h:
12050           added more docs
12051
12052 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12053
12054         * docs/gst/.cvsignore:
12055         * docs/gst/tmpl/.cvsignore:
12056         * docs/gst/tmpl/gstpipeline.sgml:
12057         * docs/gst/tmpl/gstplugin.sgml:
12058         * gst/gstpipeline.c:
12059         * gst/gstplugin.c:
12060         * gst/gstplugin.h:
12061           inlined the last two docs files
12062           removed the tmpl directory from cvs (no more conflicts here!)
12063
12064 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12065
12066         * docs/gst/gstreamer-sections.txt:
12067         * docs/gst/tmpl/.cvsignore:
12068         * docs/gst/tmpl/gstpad.sgml:
12069         * docs/gst/tmpl/gstpadtemplate.sgml:
12070         * gst/Makefile.am:
12071         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12072         (gst_pad_finalize), (gst_pad_set_pad_template):
12073         * gst/gstpad.h:
12074         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12075         (gst_pad_template_class_init), (gst_pad_template_init),
12076         (gst_pad_template_dispose), (name_is_valid),
12077         (gst_static_pad_template_get), (gst_pad_template_new),
12078         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
12079         (gst_pad_template_pad_created):
12080         * gst/gstpadtemplate.h:
12081           inlined two more docs
12082           factored gstpadtemplate out of gstpad
12083
12084 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
12085
12086         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12087         (test_children_state_change_order_semi_sink):
12088           Fix test case: we can't rely on a fixed state change order when
12089           going from READY => PAUSED because the sink might commit its 
12090           new state first when the first buffer created by the source 
12091           reaches the sink before the source has finished its change state.
12092           (Test case still fails at times, see #316856, comment 5 onwards)
12093
12094 2005-09-24  Wim Taymans  <wim@fluendo.com>
12095
12096         * docs/design/part-events.txt:
12097         * docs/design/part-gstbus.txt:
12098         * docs/design/part-gstpipeline.txt:
12099         * docs/design/part-messages.txt:
12100         * docs/design/part-overview.txt:
12101         * docs/design/part-segments.txt:
12102         * gst/gstbin.c:
12103         * gst/gstbuffer.c:
12104         * gst/gstclock.c:
12105         * gst/gstelement.c:
12106         * gst/gstevent.c:
12107         * gst/gstfilter.c:
12108         * gst/gstiterator.c:
12109         Various documentation updates.
12110
12111 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12112
12113         * gst/gstclock.h:
12114           Well, that's embarassing.  Luckily we weren't using
12115           GST_CLOCK_DIFF anywhere.
12116
12117 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12118
12119         * common/gtk-doc.mak:
12120           don't fail on building XML, FC4 slave shows a bunch of doc
12121           missing bits that I don't get
12122         * gst/gstpad.c:
12123         * gst/gstpipeline.c:
12124         * gst/gststructure.c:
12125           some doc updates
12126
12127 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
12128
12129         * docs/design/part-gstbin.txt:
12130         * docs/design/part-gstbus.txt:
12131         * gst/gstbus.c:
12132           Add blurb about how the bus goes into flushing mode and
12133           drops all messages when its bin goes from READY into NULL 
12134           state.
12135
12136 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12137
12138         * docs/gst/gstreamer-sections.txt:
12139         * gst/gststructure.c: (gst_structure_get_clock_time):
12140         * gst/gststructure.h:
12141           add a method to get a GstClockTime out of a structure
12142
12143 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
12144
12145         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12146         (test_children_state_change_order_semi_sink), (gst_bin_suite):
12147           Added test to check state change order in bins (can still be made
12148           to fail here under heavy disk load; bails out with 'Push on pad
12149           fakesink:sink0, but it was not activated in push mode').
12150
12151         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
12152           Fix state change order when there is only a semi sink (#316856)
12153
12154         * gst/gstbus.c: (gst_bus_class_init):
12155           Use _class_peek_parent(), not _class_ref(); fix docs to say
12156           'default main context' instead of 'mainloop' where that is
12157           what's meant.
12158
12159         * gst/gstelement.c: (gst_element_commit_state),
12160         (gst_element_set_state):
12161           Fix typos in debug messages
12162
12163 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12164
12165         * docs/README:
12166         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
12167         * gst/gstpluginfeature.c:
12168         * gst/gstutils.c:
12169           various doc updates
12170         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12171           change an assert into an error until it gets fixed properly
12172
12173 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
12174
12175         * docs/gst/gstreamer-sections.txt:
12176         * docs/gst/tmpl/.cvsignore:
12177         * docs/gst/tmpl/gstelement.sgml:
12178         * docs/gst/tmpl/gstinfo.sgml:
12179         * docs/gst/tmpl/gstobject.sgml:
12180         * gst/gstelement.c:
12181         * gst/gstelement.h:
12182         * gst/gstinfo.c:
12183         * gst/gstinfo.h:
12184         * gst/gstobject.c: (gst_object_class_init):
12185         * gst/gstobject.h:
12186           inlined 3 more biiiig doc files and added some missing docs on the fly
12187
12188 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12189
12190         * check/gst/.cvsignore:
12191         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
12192         * gst/gstregistryxml.c: (load_plugin),
12193         (gst_registry_xml_save_plugin):
12194           put back source in registry.  add checks for find_plugin.
12195         * testsuite/states/bin.c: (assert_state), (empty_bin),
12196         (test_adding_one_element), (main):
12197         * testsuite/states/locked.c: (main):
12198           some compile/run fixes
12199
12200 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12201
12202         * check/gst/gstvalue.c: (GST_START_TEST):
12203           fix leaks in the test itself
12204
12205 2005-09-22  Wim Taymans  <wim@fluendo.com>
12206
12207         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12208         (gst_base_sink_send_event), (gst_base_sink_peer_query),
12209         (gst_base_sink_query):
12210         Prepare for more accurate position reporting and query
12211         handling.
12212
12213         * gst/gstelement.c: (gst_element_send_event),
12214         (gst_element_set_state):
12215         Add some comment.
12216
12217 2005-09-22  Wim Taymans  <wim@fluendo.com>
12218
12219         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
12220         (gst_query_parse_segment):
12221         * gst/gstquery.h:
12222         More documentation.
12223         Add segment query for future use.
12224
12225 2005-09-22  Wim Taymans  <wim@fluendo.com>
12226
12227         * gst/gstbin.c: (gst_bin_add_func):
12228         Some more debug info.
12229
12230         * gst/gstelement.c: (gst_element_send_event):
12231         Simplify send_event
12232
12233         * gst/gstelement.h:
12234         Don't know how flags got broken.
12235
12236         * gst/gstquery.h:
12237         Added new query.
12238
12239 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12240
12241         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
12242           Add simplistic test suite for GST_TYPE_DATE serialisation and
12243           deserialisation.
12244
12245 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12246
12247         * docs/gst/gstreamer-sections.txt:
12248         * gst/gststructure.c: (gst_structure_set_valist),
12249         (gst_structure_get_date):
12250         * gst/gststructure.h:
12251         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
12252         (gst_date_copy), (gst_value_compare_date),
12253         (gst_value_serialize_date), (gst_value_deserialize_date),
12254         (gst_value_transform_date_string),
12255         (gst_value_transform_string_date), (_gst_value_initialize):
12256         * gst/gstvalue.h:
12257           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
12258           bunch of utility functions along with a hack that checks that
12259           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
12260           is required. Part of the grand scheme in #170777.
12261
12262 2005-09-22  Andy Wingo  <wingo@pobox.com>
12263
12264         * gst/gstconfig.h.in: Psych out gtk-doc.
12265
12266         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
12267
12268         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
12269
12270         * tools/gst-inspect.c (print_element_list): Plug some
12271         inconsequential leaks.
12272
12273         * gst/gstregistry.c (gst_registry_get_default): Doc.
12274
12275         * check/gst/gstplugin.c: 
12276         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
12277         * gst/gstelementfactory.c (gst_element_factory_create): 
12278         * gst/gstindexfactory.c (gst_index_factory_create): Update for
12279         refcount changes.
12280
12281         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
12282         (gst_plugin_feature_load): Doc, don't eat refs.
12283
12284         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
12285         (gst_plugin_list_free): Doc.
12286         (gst_plugin_load_file): Doc updates.
12287
12288         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
12289         accessors returning refcounted objects, return a ref.
12290
12291         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
12292         accessor for caps. IDEMPOTENCE. Oh yes.
12293
12294 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
12295
12296         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12297
12298         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
12299         (_gst_debug_register_funcptr):
12300           Add mutex to serialise access to the hash table with
12301           the function pointer => function name string mapping;
12302           make that hash table static scope (#316809).
12303
12304         * gst/registries/.cvsignore:
12305           Remove left-over file.
12306
12307 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
12308
12309         * docs/pwg/appendix-porting.xml:
12310           And something about newsegment events and caps-on-buffers to
12311           the porting guide (feel free to improve).
12312
12313 2005-09-21  Andy Wingo  <wingo@pobox.com>
12314
12315         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
12316         data and event probes on the same pad.
12317         (test_buffer_probe_once): Test that removing probes from within
12318         the probe functions works.
12319
12320 2005-09-21  Andy Wingo  <wingo@pobox.com>
12321
12322         * check/gst/gstutils.c: New file.
12323         (test_buffer_probe_n_times): A simple buffer probe test. More to
12324         come, foolios.
12325
12326         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
12327         have-data::buffer, not have-data.
12328         (gst_pad_add_event_probe): Likewise for have-data::event.
12329         (gst_pad_add_data_probe): More docs. The part about 'resolving the
12330         peer' isn't quite right yet though.
12331         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
12332         (gst_pad_remove_data_probe): Change to take the guint handler_id
12333         as their arg, not the function+data, which is more glib-like.
12334
12335         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
12336         the signal emission to indicate if the data is a buffer or an
12337         event.
12338         (gst_pad_get_type): Initialize buffer and event quarks.
12339         (gst_pad_class_init): have-data is now a detailed signal, yes it
12340         is.
12341
12342 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
12343
12344         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
12345         * gst/gstutils.c: (gst_util_set_value_from_string),
12346         (gst_util_set_object_arg):
12347           Don't put functional code in g_return_if_fail() or
12348           g_return_val_if_fail() statements, otherwise things will 
12349           break when G_DISABLE_CHECKS is defined during compilation.
12350
12351 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12352
12353         * docs/gst/tmpl/.cvsignore:
12354         * docs/gst/tmpl/gstvalue.sgml:
12355         * gst/gstvalue.c:
12356         * gst/gstvalue.h:
12357           inlied another one and added  some obvious docs
12358
12359 2005-09-21  Wim Taymans  <wim@fluendo.com>
12360
12361         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
12362         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
12363         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
12364         (gst_fdsrc_get_property), (gst_fdsrc_create):
12365         * gst/elements/gstfdsrc.h:
12366         Properly implement fdsrc. Removed signal and timeout,
12367         better implemented somewhere else.
12368
12369 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12370
12371         * docs/gst/tmpl/.cvsignore:
12372         * docs/gst/tmpl/gstimplementsinterface.sgml:
12373         * gst/gstinterface.c:
12374           inlined more docs
12375
12376 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12377
12378         * docs/gst/gstreamer-sections.txt:
12379         * docs/gst/tmpl/.cvsignore:
12380         * docs/gst/tmpl/gstenumtypes.sgml:
12381           remove obsolete doc file
12382
12383 2005-09-21  David Schleef  <ds@schleef.org>
12384
12385         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
12386         little beer, fix a little leak.
12387
12388 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12389
12390         * docs/gst/gstreamer-docs.sgml:
12391         * docs/gst/gstreamer-sections.txt:
12392         * docs/gst/tmpl/.cvsignore:
12393         * gst/Makefile.am:
12394         * gst/gst.h:
12395         * gst/gstbin.c:
12396         * gst/gstelement.h:
12397         * gst/gstindex.c: (gst_index_class_init):
12398         * gst/gstindex.h:
12399         * gst/gstindexfactory.c: (gst_index_factory_get_type),
12400         (gst_index_factory_class_init), (gst_index_factory_init),
12401         (gst_index_factory_finalize), (gst_index_factory_new),
12402         (gst_index_factory_destroy), (gst_index_factory_find),
12403         (gst_index_factory_create), (gst_index_factory_make):
12404         * gst/gstindexfactory.h:
12405         * gst/gstpluginfeature.c:
12406         * gst/gstpluginfeature.h:
12407         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12408           more docs inlined, splitted gstindex.{c,h}
12409
12410 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12411
12412         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12413           fix a leak
12414
12415 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
12416
12417         * gst/elements/gstfilesink.c: (gst_file_sink_init):
12418           Set sync to FALSE by default.
12419
12420 2005-09-20  Wim Taymans  <wim@fluendo.com>
12421
12422         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12423         (gst_base_sink_init):
12424         Make sync property settable from subclass.
12425
12426         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
12427         (gst_fake_sink_change_state):
12428         Set sync to FALSE by default.
12429
12430 2005-09-20  Wim Taymans  <wim@fluendo.com>
12431
12432         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
12433         * tools/gst-launch.c: (main):
12434         The timeout handler should have lower priority than the source
12435         so we don't timeout before popping a message with 0 timeout.
12436         Dump error messages after failed state change.
12437
12438 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
12439
12440         * tools/gst-inspect.c: (print_element_properties_info):
12441           Fix two typos.
12442
12443 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12444
12445         * check/gst/gstevent.c:
12446         * gst/elements/gstfakesink.c:
12447         * gst/elements/gstfakesink.h:
12448           remove the sync property from fakesink.
12449           has the side effect of setting sync TRUE
12450           for fakesink, which is a change.  Anyone who knows how
12451           to fix this nicely in a GObject-y way, feel free.
12452
12453 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12454
12455         * docs/gst/gstreamer-docs.sgml:
12456           remove probe refsection
12457
12458 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12459
12460         * check/Makefile.am:
12461           disable valgrinding the controller test again
12462         * docs/gst/gstreamer-sections.txt:
12463           update for api-changes
12464
12465 2005-09-20  Wim Taymans  <wim@fluendo.com>
12466
12467         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12468         (gst_base_sink_set_property), (gst_base_sink_get_property),
12469         (gst_base_sink_do_sync):
12470         * gst/base/gstbasesink.h:
12471         Added sync property to basesink to disable clock sync.
12472
12473 2005-09-20  Andy Wingo  <wingo@pobox.com>
12474
12475         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
12476         eating the caller's refcount.
12477
12478         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
12479         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
12480         refcount.
12481
12482         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
12483         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
12484         of GLib 2.8 public, so we can know which refcount to check in
12485         tests.
12486
12487         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
12488         (gst_object_init): Only set the gst refcount if we're going ahead
12489         with the refcount hack.
12490
12491 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12492
12493         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12494         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12495           more leaks plumbed, added more debug-logging
12496         * gst/gstmacros.h:
12497           whitespace fix
12498
12499 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12500
12501         * gst/gstmessage.c:
12502           remove include of gstmemchunk.h
12503
12504 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12505
12506         * gst/gstclock.c: (_gst_clock_id_free):
12507           Commit from the Political Party For More Atomic CVS Commits,
12508           so that people don't waste too much of their day fishing
12509           out obvious leaks out of massive commits.
12510           Oh, and fix a pretty damn obvious leak in the memchunk
12511           removal code.
12512
12513 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12514
12515         * check/Makefile.am:
12516         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12517           plug mem-leak, re-add to valgrindable tests
12518
12519 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12520
12521         * gst/gstplugin.h:
12522           unbreak the build for those who have chronic arthritis
12523           and typing "make check" is just too taxing on the hands
12524
12525 2005-09-20  Andy Wingo  <wingo@pobox.com>
12526
12527         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
12528         really want it out, you should fix plugins at the same time.
12529
12530 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
12531
12532         * configure.ac:
12533         * docs/gst/gstreamer-sections.txt:
12534         * gst/gstobject.c:
12535           added missing symbols to api docs
12536           disable ref-count hack if we have glib >= 2.8
12537
12538 2005-09-19  David Schleef  <ds@schleef.org>
12539
12540         * docs/gst/Makefile.am: Ignore a few more internal headers
12541         * docs/gst/gstreamer-docs.sgml: Remove old sections
12542         * docs/gst/gstreamer-sections.txt: Remove old sections
12543         * docs/gst/tmpl/gstobject.sgml: update
12544         * docs/gst/tmpl/gstplugin.sgml: update
12545         * docs/gst/tmpl/gstpluginfeature.sgml: update
12546         * docs/random/ds/0.9-suggested-changes: update.
12547         * gst/Makefile.am: remove memchunk and trashstack, since they're
12548           not used.
12549         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
12550         * gst/gst.h: don't include some headers
12551         * gst/gstchildproxy.c: add gstmarshal.h
12552         * gst/gstclock.c: Don't use memchunks
12553         * gst/gstminiobject.c: Add some docs
12554         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
12555         * gst/gstobject.h: same
12556         * gst/gstplugin.c: include gstmacros.h
12557         * gst/gstplugin.h: don't include gstmacros.h, since it's private
12558         * gst/gstquery.c: don't use memchunks
12559         * gst/gstregistry.c: rename gst_registry_deinit()
12560         * gst/gstregistry.h: same
12561
12562 2005-09-19  David Schleef  <ds@schleef.org>
12563
12564         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
12565         * docs/libs/gstreamer-libs-sections.txt:
12566         * docs/libs/tmpl/gstgetbits.sgml:
12567         * docs/libs/tmpl/gstputbits.sgml:
12568
12569 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
12570
12571         * win32/gstenumtypes.c:
12572         * win32/gstenumtypes.h:
12573           Update.
12574
12575 2005-09-19  Wim Taymans  <wim@fluendo.com>
12576
12577         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
12578         Automatically PAUSE and RESUME a pipeline when a flushing seek
12579         is performed.
12580
12581 2005-09-19  Andy Wingo  <wingo@pobox.com>
12582
12583         * gst/gstregistry.h: Spacing fixen.
12584
12585 2005-09-19  Wim Taymans  <wim@fluendo.com>
12586
12587         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
12588         Handle state change failure more correctly.
12589
12590 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
12591
12592         * check/Makefile.am:
12593         * check/pipelines/cleanup.c: (run_pipeline):
12594         * check/pipelines/simple_launch_lines.c: (run_pipeline),
12595         (GST_START_TEST):
12596           enable cleanup again after fixing the leak
12597         * docs/README:
12598           some more info on docs
12599
12600 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
12601
12602         * check/Makefile.am:
12603           re-enable tests now that leaks are plugged
12604         * check/gst/gst.c:
12605         * check/gst/gstbin.c:
12606         * check/gst/gstpipeline.c:
12607           add some more tests while fixing leaks
12608         * common/check.mak:
12609           make sure binaries are uptodate when valgrinding/gdbing
12610         * gst/gst.c:
12611         * gst/gstelementfactory.c:
12612           remove a ref too many, and add a FIXME for when we get
12613           round to disposing of classes
12614         * gst/gstplugin.c:
12615           fix the refcounting when loading a plugin from a file and
12616           the code pretends that the pointer is the same even though
12617           of course it can change
12618         * gst/gstpluginfeature.c:
12619           unref plugins marked cached (a bit confusing as a name)
12620           as the docs state should be done
12621           various doc additions to explain refcounting
12622         * gst/gstregistry.c:
12623         * gst/gstregistryxml.c:
12624           debugging
12625
12626 2005-09-19  Wim Taymans  <wim@fluendo.com>
12627
12628         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
12629         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
12630         (send_messages), (GST_START_TEST), (gstbus_suite):
12631         * check/gst/gstpipeline.c: (GST_START_TEST):
12632         * check/pipelines/cleanup.c: (run_pipeline):
12633         * check/pipelines/simple_launch_lines.c: (run_pipeline),
12634         (GST_START_TEST):
12635         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
12636         (gst_bus_source_check), (gst_bus_source_dispatch),
12637         (gst_bus_create_watch), (gst_bus_add_watch_full),
12638         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
12639         * gst/gstbus.h:
12640         * tools/gst-launch.c: (event_loop):
12641         * tools/gst-md5sum.c: (event_loop):
12642         GstBusHandler -> GstBusFunc, return value has the same meaning as
12643         any other GSource (FALSE == remove source).
12644         _add_watch() and _add_watch_full() now take a MessageType mask to
12645         only handle specific types of messages.
12646         _poll() returns the GstMessage instead of the message type to avoid
12647         race conditions.
12648         _have_pending() takes a MessageType mask now too.
12649         Added testsuite for multiple bus watches.
12650         Fix testsuites and applications for new bus API.
12651
12652 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
12653
12654         * check/Makefile.am:
12655           mark a bunch of the tests as to fix until we fix them
12656
12657 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
12658
12659         * common/check.mak:
12660           use GST_PLUGIN settings for valgrind tests as well, so we're
12661           valgrinding the correct thing
12662         * gst/gst.c: (init_post):
12663           plug another leak
12664
12665 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
12666
12667         * gst/gst.c: (init_post), (gst_deinit):
12668         * gst/gstelementfactory.c: (gst_element_factory_class_init),
12669         (gst_element_factory_finalize), (gst_element_factory_cleanup):
12670         * gst/gstindex.c: (gst_index_factory_class_init),
12671         (gst_index_factory_finalize):
12672         * gst/gstobject.c: (gst_object_dispose):
12673         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
12674         (gst_plugin_load_file), (gst_plugin_desc_free):
12675         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
12676         (gst_plugin_feature_finalize):
12677         * gst/gstregistry.c: (gst_registry_class_init),
12678         (gst_registry_init), (gst_registry_finalize),
12679         (gst_registry_get_default), (gst_registry_deinit):
12680         * gst/gstregistry.h:
12681         * gst/gstregistryxml.c: (load_feature), (load_plugin):
12682           various cleanups and memleak plugging.  make valgrind is happy now.
12683
12684 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
12685
12686         * common/check.mak:
12687           add a check-valgrind target
12688
12689 2005-09-18  David Schleef  <ds@schleef.org>
12690
12691         * tools/gst-inspect.c: Revert the GOption code.
12692
12693 2005-09-17  David Schleef  <ds@schleef.org>
12694
12695         * check/Makefile.am: Fix environment variables.
12696         * check/gst/gstplugin.c: Fix for API changes.
12697         * tools/gst-inspect.c: Fix for API changes.
12698         * tools/gst-xmlinspect.c: Fix for API changes.
12699         * gst/gstelementfactory.c:
12700         * gst/gstplugin.c:
12701         * gst/gstplugin.h:
12702         * gst/gstpluginfeature.c:
12703         * gst/gstpluginfeature.h:
12704         * gst/gstregistry.c:
12705         * gst/gstregistry.h:
12706         * gst/gstregistryxml.c:
12707         * gst/gsttypefind.c:
12708         * gst/gsttypefindfactory.c:
12709         * gst/indexers/gstfileindex.c:
12710         * gst/indexers/gstmemindex.c:
12711         * gst/schedulers/Makefile.am:
12712           Change registry to keep track of both plugins and features,
12713           removing the feature tracking from plugins themselves.
12714
12715 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12716
12717         * check/Makefile.am:
12718         * tools/gst-register.1.in:
12719           remove gst-register
12720
12721 2005-09-15  David Schleef  <ds@schleef.org>
12722
12723         * check/gst/gstplugin.c:
12724         * gst/gstelementfactory.c:
12725         * gst/gstplugin.c:
12726         * gst/gstpluginfeature.c:
12727         * gst/gstregistry.c:
12728           Getting tired of debugging.  Disabled all the unreffing of
12729           plugins and features, which fixes the segfaults, but of
12730           course leaks like crazy.  At least playbin works.
12731
12732 2005-09-15  David Schleef  <ds@schleef.org>
12733
12734         * check/gst/gstplugin.c: (register_check_elements),
12735         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
12736         More testing
12737         * gst/elements/gsttypefindelement.c: Fix refcounting.
12738         * gst/gsttypefind.c:
12739         * gst/gsttypefindfactory.c:
12740         * gst/gsttypefindfactory.h:
12741
12742 2005-09-15  David Schleef  <ds@schleef.org>
12743
12744         * gst/gstindex.c: get refcounting correct.
12745         * gst/gstregistry.c: Handle the case where a feature/plugin is
12746           not found.
12747
12748 2005-09-15  David Schleef  <ds@schleef.org>
12749
12750         * check/Makefile.am:
12751         * check/gst/gstplugin.c: Add test
12752         * gst/gstplugin.c: Fix problems noticed by testsuite
12753         * gst/gstplugin.h:
12754         * gst/gstregistry.c: 
12755         * gst/gstregistry.h:
12756
12757 2005-09-15  David Schleef  <ds@schleef.org>
12758
12759         * gst/gstplugin.c: Implement semi-decent recounting and locking
12760           in plugins and plugin features.
12761         * gst/gstplugin.h:
12762         * gst/gstpluginfeature.c:
12763         * gst/gstpluginfeature.h:
12764         * gst/gstregistry.c:
12765
12766 2005-09-15  Michael Smith <msmith@fluendo.com>
12767
12768         * gst/gstregistry.c: (gst_registry_get_feature_list):
12769           Implement this. Makes oggdemux work; decodebin still broken.
12770
12771 2005-09-14  David Schleef  <ds@schleef.org>
12772
12773         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
12774           #316076)
12775         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
12776         * gst/check/Makefile.am:
12777         * libs/gst/controller/Makefile.am:
12778         * libs/gst/dataprotocol/Makefile.am:
12779
12780 2005-09-14  David Schleef  <ds@schleef.org>
12781
12782         * configure.ac: Remove getbits library.  Nothing uses it, and
12783           it should be in something like liboil if someone did want
12784           to use it.
12785         * libs/gst/Makefile.am:
12786         * libs/gst/getbits/Makefile.am:
12787         * libs/gst/getbits/gbtest.c:
12788         * libs/gst/getbits/getbits.c:
12789         * libs/gst/getbits/getbits.h:
12790         * libs/gst/getbits/gstgetbits_generic.c:
12791         * libs/gst/getbits/gstgetbits_i386.s:
12792         * libs/gst/getbits/gstgetbits_inl.h:
12793
12794 2005-09-14  David Schleef  <ds@schleef.org>
12795
12796         * gst/Makefile.am: Dist glib-compat.h
12797
12798 2005-09-14  David Schleef  <ds@schleef.org>
12799
12800         * configure.ac: Remove gst/registries, since it's no longer used.
12801         * gst/registries/Makefile.am:
12802         * gst/registries/gstlibxmlregistry.c:
12803         * gst/registries/gstlibxmlregistry.h:
12804         * gst/registries/gstxmlregistry.c:
12805         * gst/registries/gstxmlregistry.h:
12806         * gst/registries/registrytest.c:
12807
12808 2005-09-14  David Schleef  <ds@schleef.org>
12809
12810         * gst/glib-compat.h:
12811         * gst/gstregistryxml.c:
12812           Convergence is near.  Seriously.
12813
12814 2005-09-14  David Schleef  <ds@schleef.org>
12815
12816         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12817         * gst/glib-compat.h:
12818           Attempt #4 to appease the buildbots.
12819
12820 2005-09-14  David Schleef  <ds@schleef.org>
12821
12822         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12823           Attempt #3.
12824
12825 2005-09-14  David Schleef  <ds@schleef.org>
12826
12827         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12828         Attempt #2.
12829
12830 2005-09-14  David Schleef  <ds@schleef.org>
12831
12832         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
12833           the new functions.
12834
12835 2005-09-14  David Schleef  <ds@schleef.org>
12836
12837         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12838         * gst/glib-compat.h: Add some functions that are in newer versions
12839           of glib than we care to require.
12840         * gst/gstregistryxml.c: Use them.
12841
12842 2005-09-14  David Schleef  <ds@schleef.org>
12843
12844         * po/POTFILES.in: remove gst-register.c
12845
12846 2005-09-14  David Schleef  <ds@schleef.org>
12847
12848         * docs/gst/gstreamer-docs.sgml:
12849         * docs/gst/gstreamer-sections.txt:
12850         * docs/gst/gstreamer.types:
12851         * docs/gst/tmpl/gstelement.sgml:
12852         * docs/gst/tmpl/gstplugin.sgml:
12853         * docs/gst/tmpl/gstpluginfeature.sgml:
12854           Documentation updates for registry changes.
12855
12856 2005-09-14  David Schleef  <ds@schleef.org>
12857
12858         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
12859           because we don't require glib-2.8.
12860
12861 2005-09-14  David Schleef  <ds@schleef.org>
12862
12863         * gst/gstregistryxml.c: Added.  Essentially moved out of the
12864           registries directory.
12865
12866 2005-09-14  David Schleef  <ds@schleef.org>
12867
12868         * check/Makefile.am:
12869         * check/generic/states.c:
12870         * gst/Makefile.am:
12871         * gst/gst.c:
12872         * gst/gst.h:
12873         * gst/gst_private.h:
12874         * gst/gstelementfactory.c:
12875         * gst/gstindex.c:
12876         * gst/gstinfo.c:
12877         * gst/gstplugin.c:
12878         * gst/gstplugin.h:
12879         * gst/gstpluginfeature.c:
12880         * gst/gstpluginfeature.h:
12881         * gst/gstregistry.c:
12882         * gst/gstregistry.h:
12883         * gst/gstregistrypool.c: remove
12884         * gst/gstregistrypool.h: remove
12885         * gst/gsttypefind.c:
12886         * gst/gsttypefindfactory.c:
12887         * gst/gsturi.c:
12888         * tools/Makefile.am:
12889         * tools/gst-compprep.c:
12890         * tools/gst-inspect.c:
12891         * tools/gst-register.c: remove
12892         * tools/gst-xmlinspect.c:
12893           Registry rewrite.  Changes registry from being a file created
12894           by a tool into a simple cache file created automatically by 
12895           libgstreamer.  Removed gst-register (because it's no longer
12896           needed).  Remove registry pools, because we only have one
12897           registry implementation (XML).  Fix up other subsystems as
12898           necessary.
12899
12900 2005-09-13  Michael Smith <msmith@fluendo.com>
12901
12902         * gst/gstconfig.h.in:
12903           Don't Use windows linking attributes for MinGW. Fixes #316157
12904
12905 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12906
12907         * gst/gstutils.c: (set_state_async_thread_func),
12908         (gst_element_set_state_async):
12909           Apparently people think it's better if this function doesn't
12910           try to set the state to whatever state was asked for on the first
12911           call to this function for any object.  Seriously.
12912
12913 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12914
12915         * check/gst/gstpipeline.c: (GST_START_TEST):
12916         * docs/gst/gstreamer-sections.txt:
12917         * gst/gstutils.c: (set_state_async_thread_func),
12918         (gst_element_set_state_async):
12919         * gst/gstutils.h:
12920           add a "gst_element_set_state_async" method that
12921           sets the state and starts a thread to make sure the state
12922           change completes as best as it can
12923
12924 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12925
12926         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
12927           codify design+behaviour in testsuite after discussion
12928
12929 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12930
12931         * docs/gst/tmpl/gstelement.sgml:
12932         * docs/manual/appendix-quotes.xml:
12933           add a quote
12934         * gst/gstelement.c: (gst_element_set_state):
12935           add some debug
12936
12937 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
12938
12939         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12940         (gst_base_transform_prepare_output_buf),
12941         (gst_base_transform_handle_buffer):
12942         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
12943         (gst_capsfilter_prepare_buf):
12944           Remove the requirement for sub-classes to call the parent
12945           implementation of prepare_output_buffer with a wrapper function.
12946           
12947         * gst/gsttaglist.h:
12948         * gst/gsttagsetter.h:
12949           Fix #define wrapper
12950
12951 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
12952
12953         * docs/gst/gstreamer-sections.txt:
12954           more doc cleanups
12955
12956 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
12957
12958         * docs/gst/gstreamer-sections.txt:
12959         * docs/gst/tmpl/gstelement.sgml:
12960         * docs/gst/tmpl/gstplugin.sgml:
12961         * gst/gstminiobject.c:
12962         * gst/gstvalue.h:
12963           docs now stop throwing warnings
12964
12965 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
12966
12967         * docs/gst/gstreamer-sections.txt:
12968         * docs/gst/gstreamer.types:
12969         * docs/gst/tmpl/gstpad.sgml:
12970         * docs/gst/tmpl/gsttypes.sgml:
12971         * gst/base/gstadapter.h:
12972         * gst/base/gstbasesink.h:
12973         * gst/base/gstbasesrc.h:
12974         * gst/gstbin.h:
12975         * gst/gstbuffer.h:
12976         * gst/gstbus.h:
12977         * gst/gstcaps.h:
12978         * gst/gstclock.h:
12979         * gst/gstelement.h:
12980         * gst/gstevent.h:
12981         * gst/gstmessage.h:
12982         * gst/gstpad.h:
12983         * gst/gststructure.c:
12984         * gst/registries/gstlibxmlregistry.h:
12985           various documentation fixes
12986
12987 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
12988
12989         * docs/gst/gstreamer-sections.txt:
12990         * docs/gst/tmpl/gstvalue.sgml:
12991           rearrange gstvalue section
12992         * gst/gstutils.c: (gst_element_state_get_name):
12993           NONE -> VOID
12994         * gst/gstvalue.c: (_gst_value_initialize):
12995         * gst/gstvalue.h:
12996           doc updates
12997
12998 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
12999
13000         * check/gst-libs/controller.c:
13001           Header include fix.
13002         * gst/base/gstbasetransform.c:
13003         (gst_base_transform_default_prepare_buf),
13004         (gst_base_transform_handle_buffer):
13005         * gst/base/gstbasetransform.h:
13006           Some more basetransform changes and fixes to enable sub-classes
13007           that modify buffer metadata only.
13008         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
13009         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
13010         (gst_capsfilter_prepare_buf):
13011           If the output pad has fixed allowed caps and input buffers 
13012           don't have any, set the fixed caps on outgoing buffers.
13013
13014 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
13015         * check/elements/identity.c: (GST_START_TEST):
13016           Make the error a little clearer when the test fails because
13017           identity made a copy of the buffer.
13018         * docs/gst/gstreamer-sections.txt:
13019           New symbols in gstbasetransform.h
13020         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13021         (gst_base_transform_init), (gst_base_transform_transform_size),
13022         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13023         (gst_base_transform_default_prepare_buf),
13024         (gst_base_transform_get_unit_size),
13025         (gst_base_transform_buffer_alloc),
13026         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
13027         (gst_base_transform_change_state),
13028         (gst_base_transform_set_passthrough),
13029         (gst_base_transform_set_in_place),
13030         (gst_base_transform_is_in_place):
13031         * gst/base/gstbasetransform.h:
13032           Change BaseTransform to separate in_place operate from same_caps
13033           output. in_place implies that the element can perform the transform
13034           on incoming buffers in-place, even if the caps on the output are
13035           different.
13036           Sub-class elements can now implement special buffer allocation
13037           methods for outgoing buffers if they wish to.
13038           Big documentation addition.
13039         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
13040         * gst/elements/gstelements.c:
13041           Changes for basetransform modifications.
13042         * gst/elements/Makefile.am:
13043         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
13044           Compile fix. Extra debug output.
13045
13046 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13047
13048         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
13049         (gst_pad_suite):
13050           add tests for valid pad naming
13051         * gst/check/gstcheck.c: (gst_check_log_message_func),
13052         (gst_check_log_critical_func):
13053           add ASSERT_WARNING
13054           remove printing of code, it is fragile when the code contains
13055           % and the line number is enough info
13056         * gst/check/gstcheck.h:
13057         * gst/gstpad.c: (gst_pad_template_new):
13058           fix memleaks
13059
13060 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13061
13062         * configure.ac:
13063           say what CHECK flags we use
13064         * docs/libs/gstreamer-libs.types:
13065         * libs/gst/controller/Makefile.am:
13066         * libs/gst/controller/gst-controller.c:
13067         * libs/gst/controller/gst-controller.h:
13068         * libs/gst/controller/gst-helper.c:
13069         * libs/gst/controller/gst-interpolation.c:
13070         * libs/gst/controller/gstcontroller.c:
13071         * libs/gst/controller/gsthelper.c:
13072         * libs/gst/controller/gstinterpolation.c:
13073         * tools/gst-inspect.c: (print_plugin_info):
13074           we don't use dashes in header names
13075
13076 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13077
13078         * check/Makefile.am:
13079         * check/gst/.cvsignore:
13080         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
13081         (gst_pipeline_suite), (main):
13082           adding a test for pipelines and state changes
13083         * gst/gstutils.c: (get_state_func):
13084           add some debugging
13085         * gstreamer.spec.in:
13086           fix up spec file
13087
13088 2005-09-08  Michael Smith <msmith@fluendo.com>
13089
13090         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
13091         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
13092         (gst_file_src_is_seekable), (gst_file_src_get_size),
13093         (gst_file_src_start):
13094         * gst/elements/gstfilesrc.h:
13095           Various fixes for unseekable, unmmapable, and non-normal files, so
13096           that fallback to read() rather than mmap() works.
13097         * gst/gstevent.c: (gst_event_new_newsegment):
13098           Allow newsegment events with segment_start == segment_end, as will
13099           correctly happen if you use filesrc on a zero-size file, for
13100           example.
13101
13102 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
13103
13104         * gst/gstplugin.c: (gst_plugin_load_file):
13105           Call g_module_close when we don't load the module
13106
13107         * gst/registries/gstlibxmlregistry.c:
13108         (gst_xml_registry_get_property):
13109           Port leak fix from 0.8
13110
13111 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13112
13113         * docs/gst/gstreamer-docs.sgml:
13114         * docs/gst/tmpl/.cvsignore:
13115         * docs/gst/tmpl/gsttrace.sgml:
13116         * docs/gst/tmpl/gsttrashstack.sgml:
13117         * gst/Makefile.am:
13118         * gst/gst.h:
13119         * gst/gstelement.h:
13120         * gst/gstevent.h:
13121         * gst/gstmessage.c:
13122         * gst/gstmessage.h:
13123         * gst/gsttag.c:
13124         * gst/gsttag.h:
13125         * gst/gsttaginterface.c:
13126         * gst/gsttaginterface.h:
13127         * gst/gsttaglist.c:
13128         * gst/gsttaglist.h:
13129         * gst/gsttagsetter.c:
13130         * gst/gsttagsetter.h:
13131         * gst/gsttrace.c:
13132         * gst/gsttrace.h:
13133         * gst/gsttrashstack.c:
13134           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
13135           inlined docs for gsttrace, gsttrashstack
13136
13137 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13138
13139         * gst/Makefile.am:
13140         * gst/elements/gstbufferstore.h:
13141         * gst/elements/gsttypefindelement.c:
13142         * gst/elements/gsttypefindelement.h:
13143         * gst/gst.h:
13144         * gst/gsttypefind.c:
13145         * gst/gsttypefind.h:
13146         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
13147         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
13148         (gst_type_find_factory_dispose),
13149         (gst_type_find_factory_unload_thyself),
13150         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
13151         (gst_type_find_factory_get_caps),
13152         (gst_type_find_factory_get_extensions),
13153         (gst_type_find_factory_call_function):
13154         * gst/gsttypefindfactory.h:
13155         * gst/registries/gstlibxmlregistry.c:
13156         * gst/registries/gstxmlregistry.c:
13157           splitted gsttypefind into gsttypefind, gsttypefindfactory
13158
13159 2005-09-07  Andy Wingo  <wingo@pobox.com>
13160
13161         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
13162         condition whereby the pad's task function is entered before the
13163         pad_mode variable was set.
13164
13165 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
13166
13167         * gst/gstpad.c: (gst_pad_alloc_buffer):
13168           Catch misbehaving pad_alloc functions that don't
13169           set up caps and do it for them.
13170
13171 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13172
13173         * check/pipelines/simple_launch_lines.c: (run_pipeline):
13174           test for pipe!=NULL
13175         * docs/gst/tmpl/.cvsignore:
13176         * docs/gst/tmpl/gstmemchunk.sgml:
13177         * docs/gst/tmpl/gstparse.sgml:
13178         * docs/gst/tmpl/gsttaglist.sgml:
13179         * docs/gst/tmpl/gsttagsetter.sgml:
13180         * docs/gst/tmpl/gsttypefind.sgml:
13181         * docs/gst/tmpl/gsttypefindfactory.sgml:
13182         * gst/gstmemchunk.c:
13183         * gst/gstparse.c:
13184         * gst/gsttag.c:
13185         * gst/gsttaginterface.c:
13186         * gst/gsttypefind.c:
13187         * gst/gsttypefind.h:
13188           inlined more docs
13189
13190 === release 0.9.2 ===
13191
13192 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13193
13194         * NEWS:
13195         * RELEASE:
13196         * configure.ac:
13197           releasing 0.9.2, "South"
13198
13199 2005-09-05  Andy Wingo  <wingo@pobox.com>
13200
13201         * gst/registries/gstxmlregistry.h:
13202         * gst/registries/gstxmlregistry.c: Um... resurrect...
13203         
13204         * gst/registries/gstxmlregistry.h:
13205         * gst/registries/gstxmlregistry.c: and update to newer API.
13206         Incidentally they should be a bit faster now that they don't have
13207         to parse the caps.
13208         
13209 2005-09-05  Andy Wingo  <wingo@pobox.com>
13210
13211         * gst/registries/gstxmlregistry.h:
13212         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
13213         replaced by the libxml registry a while back
13214
13215 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13216
13217         * docs/gst/tmpl/gstplugin.sgml:
13218         * gst/elements/gstelements.c:
13219         * gst/gst.c:
13220         * gst/gstplugin.c: (gst_plugin_register_func),
13221         (gst_plugin_desc_copy), (gst_plugin_desc_free),
13222         (gst_plugin_get_source):
13223         * gst/gstplugin.h:
13224         * gst/registries/gstlibxmlregistry.c: (load_plugin),
13225         (gst_xml_registry_save_plugin):
13226         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
13227         (gst_xml_registry_save_plugin):
13228         * tools/gst-inspect.c: (print_plugin_info):
13229           add a "source" plugin description field, to represent the source
13230           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
13231           will set it to PACKAGE, which is automake's idea of the name of
13232           the source project.
13233
13234 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13235
13236         * Makefile.am:
13237         * autogen.sh:
13238         * configure.ac:
13239         * docs/Makefile.am:
13240         * docs/faq/Makefile.am:
13241         * docs/gst/tmpl/gstelement.sgml:
13242         * docs/gst/tmpl/gsttypes.sgml:
13243         * docs/htmlinstall.mak:
13244         * docs/manual/Makefile.am:
13245         * docs/pwg/Makefile.am:
13246           reorganize doc build a little
13247           split out docbook and gtk-doc stuff
13248           have two separate --enable's and enable them through autogen
13249           but disable by default in configure (to be similar to other
13250           projects)
13251         * gstreamer.spec.in:
13252           clean up docs install
13253         * po/af.po:
13254         * po/az.po:
13255         * po/ca.po:
13256         * po/cs.po:
13257         * po/de.po:
13258         * po/en_GB.po:
13259         * po/fr.po:
13260         * po/it.po:
13261         * po/nb.po:
13262         * po/nl.po:
13263         * po/ru.po:
13264         * po/sq.po:
13265         * po/sr.po:
13266         * po/sv.po:
13267         * po/tr.po:
13268         * po/uk.po:
13269         * po/vi.po:
13270           translation updates
13271
13272 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
13273
13274         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
13275           Add comment.
13276           
13277         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
13278         (gst_fake_sink_change_state):
13279           Make state change function thread-safe.
13280           
13281         * gst/gstpad.c: (gst_pad_alloc_buffer):
13282           Set offset on generic buffer allocated by fallback.
13283
13284 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
13285
13286         * docs/gst/gstreamer-sections.txt:
13287         * docs/gst/tmpl/gstelement.sgml:
13288         * gst/gstpad.c:
13289         * libs/gst/controller/gst-controller.c:
13290         (gst_controlled_property_set_interpolation_mode),
13291         (gst_controlled_property_new),
13292         (gst_controller_find_controlled_property):
13293          run the wingo-magic script against the docs
13294
13295 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
13296
13297         * docs/gst/gstreamer-docs.sgml:
13298         * docs/gst/gstreamer-sections.txt:
13299         * docs/gst/tmpl/.cvsignore:
13300         * docs/gst/tmpl/gstelementdetails.sgml:
13301         * docs/gst/tmpl/gstelementfactory.sgml:
13302         * gst/gst.c:
13303         * gst/gstbus.c:
13304         * gst/gstelementfactory.c:
13305         * gst/gstelementfactory.h:
13306           merged elementdetails docs into elementfactory docs
13307           inlined both
13308
13309 2005-09-02  Andy Wingo  <wingo@pobox.com>
13310
13311         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
13312         consider this enum an enum and not a flags.
13313
13314 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
13315
13316         * docs/gst/gstreamer-docs.sgml:
13317         * docs/gst/tmpl/.cvsignore:
13318         * docs/gst/tmpl/gstghostpad.sgml:
13319         * docs/gst/tmpl/gstiterator.sgml:
13320         * docs/gst/tmpl/gstmacros.sgml:
13321         * docs/gst/tmpl/gstrealpad.sgml:
13322         * docs/gst/tmpl/gstregistry.sgml:
13323         * docs/gst/tmpl/gstregistrypool.sgml:
13324         * docs/gst/tmpl/gststructure.sgml:
13325         * docs/gst/tmpl/gstsystemclock.sgml:
13326         * docs/gst/tmpl/gsttrace.sgml:
13327         * gst/gstghostpad.c:
13328         * gst/gstmacros.h:
13329         * gst/gstmemchunk.c:
13330         * gst/gstmemchunk.h:
13331         * gst/gstqueue.c:
13332         * gst/gstregistry.c:
13333         * gst/gstregistrypool.c:
13334         * gst/gststructure.c:
13335         * gst/gstsystemclock.c:
13336           more docs inlined
13337
13338 2005-09-02  Andy Wingo  <wingo@pobox.com>
13339
13340         * gst/gstelement.h (GstState): Renamed from GstElementState,
13341         changed to be a normal enum instead of flags.
13342         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
13343         munged to be GST_STATE_CHANGE_*.
13344         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
13345         work with the new state representation.
13346         (GstStateChange): New enumeration of possible state transitions.
13347         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
13348         (GstElementClass::change_state): Pass the GstStateChange along as
13349         an argument. Helps language bindings, so they don't have to use
13350         tricky lock-needing macros like GST_STATE_CHANGE ().
13351
13352         * scripts/update-states (file): New script. Run it on a file to
13353         update it for state naming and API changes. Updates files in
13354         place.
13355
13356         * All files updated for the new API.
13357
13358 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13359
13360         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
13361         * gst/gstutils.c: (gst_util_set_value_from_string),
13362         (gst_util_set_object_arg):
13363           fix a bunch of unchecked return values
13364         * tools/gst-complete.c: (main):
13365         * gstreamer.spec.in:
13366           clean up a little
13367
13368 2005-09-01  Wim Taymans  <wim@fluendo.com>
13369
13370         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13371         (gst_base_sink_event), (gst_base_sink_do_sync),
13372         (gst_base_sink_handle_event):
13373         * gst/base/gstbasesink.h:
13374         Handle newsegments more correctly.
13375
13376         * gst/gstbus.c:
13377         Fix docs.
13378
13379         * gst/gstevent.c: (gst_event_new_newsegment):
13380         A newsegment cannot have a start_time of -1
13381
13382 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
13383
13384         * win32/gstenumtypes.c:
13385         * win32/gstenumtypes.h:
13386           Update
13387
13388 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
13389
13390         * libs/gst/controller/gst-controller.c:
13391         (gst_controlled_property_set_interpolation_mode),
13392         (gst_controlled_property_new):
13393          fixed boolean again
13394
13395 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
13396
13397         * docs/faq/gst-uninstalled:
13398           add -good
13399         * gst/gstevent.c:
13400         * gst/gstevent.h:
13401           remove wrong docs
13402         * gst/gstutils.c: (gst_element_link_filtered):
13403         * gst/gstutils.h:
13404           add gst_element_link_filtered
13405
13406 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
13407
13408         * docs/gst/gstreamer-docs.sgml:
13409         * docs/gst/gstreamer-sections.txt:
13410         * docs/gst/tmpl/.cvsignore:
13411         * docs/gst/tmpl/gsterror.sgml:
13412         * docs/gst/tmpl/gstfilter.sgml:
13413         * docs/gst/tmpl/gsturihandler.sgml:
13414         * docs/gst/tmpl/gsturitype.sgml:
13415         * docs/gst/tmpl/gstutils.sgml:
13416         * docs/gst/tmpl/gstxml.sgml:
13417         * gst/gsterror.c:
13418         * gst/gsterror.h:
13419         * gst/gstfilter.c:
13420         * gst/gsturi.c:
13421         * gst/gsturitype.c:
13422         * gst/gstutils.c:
13423         * gst/gstxml.c:
13424           inlined more docs, fixed double id-ref
13425
13426 2005-08-31  Wim Taymans  <wim@fluendo.com>
13427
13428         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13429         (gst_base_transform_handle_buffer):
13430         Passthrough elements don't need the caps as they don't care.
13431
13432 2005-08-31  Wim Taymans  <wim@fluendo.com>
13433
13434         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13435         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
13436         Don't leak refcounts on buffers.
13437
13438 2005-08-31  Wim Taymans  <wim@fluendo.com>
13439
13440         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
13441         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
13442         (gst_base_transform_chain), (gst_base_transform_change_state):
13443         * gst/base/gstbasetransform.h:
13444         Handle the case where we are not negotiated more gracefully.
13445
13446 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
13447
13448         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
13449         (gst_file_src_map_region):
13450           Set READONLY flag on mmap'ed buffers, otherwise
13451           gst_buffer_make_writable() won't work properly (#314708).
13452
13453 2005-08-31  Wim Taymans  <wim@fluendo.com>
13454
13455         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
13456         passthrough elements can even do inplace on non writable
13457         buffers (as they don't touch them).
13458
13459 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
13460
13461         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
13462         (gst_test_mono_source_set_property),
13463         (gst_test_mono_source_class_init), (GST_START_TEST),
13464         (gst_controller_suite):
13465           more tests (hehe I have the most)
13466         * gst/gstbus.c:
13467           describe popping messages whenusing mulltiple sources
13468         * libs/gst/controller/gst-controller.c:
13469         (gst_controlled_property_set_interpolation_mode),
13470         (gst_controlled_property_new):
13471         * libs/gst/controller/gst-controller.h:
13472         * libs/gst/controller/gst-interpolation.c:
13473           implement boolean properties
13474
13475 2005-08-31  Wim Taymans  <wim@fluendo.com>
13476
13477         * gst/gstminiobject.c: (gst_mini_object_ref):
13478         Cannot assert that the refcount has to be positive
13479         since a disposed object can be resurrected.
13480
13481 2005-08-31  Wim Taymans  <wim@fluendo.com>
13482
13483         * gst/gstpad.c: (gst_pad_init):
13484         Revert change, need to first fix badly behaving 
13485         apps.
13486
13487 2005-08-30  Wim Taymans  <wim@fluendo.com>
13488
13489         * check/elements/fakesrc.c: (setup_fakesrc):
13490         * check/elements/identity.c: (setup_identity):
13491         Activate pads before using them.
13492
13493 2005-08-30  Wim Taymans  <wim@fluendo.com>
13494
13495         * gst/base/gstadapter.c: (gst_adapter_flush):
13496         Flushing out 0 bytes is ok for this function.
13497
13498         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13499         no newsegment gives a warning and sets the start/stop to 
13500         invalid.
13501
13502         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
13503         (gst_base_transform_set_passthrough):
13504         Some debug info.
13505
13506         * gst/gstminiobject.c: (gst_mini_object_ref):
13507         Check refcount here too.
13508
13509         * gst/gstpad.c: (gst_pad_init):
13510         Pads are initially flushing and refusing data.
13511
13512         * gst/gstutils.c: (gst_element_link_pads_filtered):
13513         When adding a capsfilter element make sure it has the
13514         same state as the parent bin.
13515
13516 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
13517
13518         * docs/gst/tmpl/.cvsignore:
13519         * docs/gst/tmpl/gstformat.sgml:
13520         * docs/gst/tmpl/gstversion.sgml:
13521         * gst/gstbus.h:
13522         * gst/gstformat.c:
13523         * gst/gstformat.h:
13524         * gst/gstversion.h.in:
13525           more docs and two more inlined
13526
13527 2005-08-30  Wim Taymans  <wim@fluendo.com>
13528
13529         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
13530         Don't sync to clock.
13531
13532 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
13533
13534         * docs/gst/gstreamer-sections.txt:
13535           ultral33t func10ns deserve to appear in the docs actually
13536         * docs/gst/tmpl/.cvsignore:
13537         * docs/gst/tmpl/gstcompat.sgml:
13538         * docs/gst/tmpl/gstconfig.sgml:
13539         * gst/check/gstcheck.c:
13540         * gst/gstcompat.h:
13541         * gst/gstconfig.h.in:
13542           inlined more docs
13543
13544 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
13545
13546         * docs/gst/tmpl/.cvsignore:
13547         * docs/gst/tmpl/gstquery.sgml:
13548         * docs/gst/tmpl/gstutils.sgml:
13549         * gst/gstquery.c:
13550         * gst/gstquery.h:
13551           inlined and extended docs
13552
13553 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
13554
13555         * check/gst-libs/controller.c: (GST_START_TEST),
13556         (gst_controller_suite):
13557           more tests
13558         * docs/gst/tmpl/gstutils.sgml:
13559         * docs/libs/gstreamer-libs-sections.txt:
13560         * docs/libs/tmpl/gstdataprotocol.sgml:
13561           include path fixes
13562         * examples/controller/audio-example.c: (main):
13563           controller example works now
13564         * gst/gstclock.h:
13565           doc fixes
13566         * tools/gst-inspect.c: (print_element_properties_info):
13567           show param spec flags
13568
13569 2005-08-29  Andy Wingo  <wingo@pobox.com>
13570
13571         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
13572
13573 2005-08-28  Andy Wingo  <wingo@pobox.com>
13574
13575         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
13576         as having two arguments instead of just one. Allows superclasses
13577         to access information on subclasses -- see the terrible for() loop
13578         in gtype.c:g_type_create_instance for the reason why. All callers
13579         changed.
13580
13581 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
13582
13583         * docs/design/part-messages.txt:
13584           update info
13585         * docs/gst/tmpl/.cvsignore:
13586         * docs/gst/tmpl/gstcaps.sgml:
13587         * docs/gst/tmpl/gstclock.sgml:
13588         * gst/gstbus.c:
13589         * gst/gstcaps.c:
13590         * gst/gstcaps.h:
13591         * gst/gstclock.c:
13592         * gst/gstclock.h:
13593         * gst/gstmessage.c:
13594           added descriptions for bus and message
13595           inline caps and clock docs
13596
13597 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
13598
13599         * gst/gstmessage.c:
13600         * gst/gstmessage.h:
13601           doc fixes
13602
13603 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
13604
13605         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
13606           fix div-by-zero
13607
13608 2005-08-26  Andy Wingo  <wingo@pobox.com>
13609
13610         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
13611         element_set_state's return val.
13612         (test_2_elements): Add test that's been disabled for months.
13613
13614         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
13615         can-activate-pull properties.
13616
13617         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
13618         can-activate-pull properties. Implement is_seekable so fakesrc can
13619         operate in pull mode.
13620
13621         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
13622         properties.
13623         (gst_base_sink_activate, gst_base_sink_activate_pull)
13624         (gst_base_sink_activate_push): Make activation mode choosing work.
13625         Cleanups.
13626         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
13627         is right. Make pull mode work. Post an eos before pausing in pull
13628         mode.
13629         (gst_base_sink_change_state): Pay attention to the core's
13630         change_state() return val.
13631         
13632         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
13633         has-getrange properties. Cleanups.
13634         
13635         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
13636         has_getrange and replace with can_activate_pull and
13637         can_activate_push.
13638
13639         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
13640         locking comments. Remove has_loop, has_chain and replace with
13641         can_activate_pull and can_activate_push.
13642
13643 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
13644
13645         * configure.ac:
13646         * examples/Makefile.am:
13647         * examples/metadata/Makefile.am:
13648         * examples/metadata/read-metadata.c: (message_loop),
13649         (have_pad_handler), (make_pipeline), (print_tag), (main):
13650           Add metadata reading example that loops over a list of filenames,
13651           dumping any tags found.
13652
13653         * gst/gstbus.c: (gst_bus_dispose):
13654         * gst/gstelement.c: (gst_element_dispose):
13655           Release a few potentially-held references in dispose.
13656
13657 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
13658
13659         * docs/gst/tmpl/gstminiobject.sgml:
13660           do *not* add tmpl/*.sgml files to CVS!
13661
13662 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
13663
13664         * libs/gst/bytestream/.cvsignore:
13665         * libs/gst/bytestream/Makefile.am:
13666         * libs/gst/bytestream/adapter.c:
13667         * libs/gst/bytestream/adapter.h:
13668         * libs/gst/bytestream/bytestream.c:
13669         * libs/gst/bytestream/bytestream.h:
13670         * libs/gst/bytestream/filepad.c:
13671         * libs/gst/bytestream/filepad.h:
13672           removing obsolete files
13673
13674 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
13675
13676         * docs/gst/gstreamer-docs.sgml:
13677         * docs/libs/gstreamer-libs-docs.sgml:
13678           disabed additional index entries again, as this makes docs-gen just
13679           slow and they aren't useful yet
13680         * docs/libs/gstreamer-libs-sections.txt:
13681           little -section.txt cleanup for libs
13682
13683 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
13684
13685         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13686         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
13687           fix up some debugging
13688         (gst_base_transform_get_unit_size),
13689         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
13690         (gst_base_transform_handle_buffer):
13691         * gst/base/gstbasetransform.h:
13692           handle and store timed NEWSEGMENT events so that subclasses that
13693           calculate time by counting samples have a segment_start time they
13694           need to add to their timestamps - see audioresample
13695
13696 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
13697
13698         * gst/gstbin.h:
13699           removed ';' from the end of macro defs
13700         * docs/gst/gstreamer-docs.sgml:
13701         * docs/gst/gstreamer-sections.txt:
13702         * docs/gst/tmpl/.cvsignore:
13703         * gst/gstbus.h:
13704         * gst/gstelement.c: (gst_element_class_init),
13705         (gst_element_set_state), (activate_pads),
13706         (gst_element_save_thyself):
13707         * gst/gstevent.c: (gst_event_new_newsegment):
13708         * gst/gstevent.h:
13709         * gst/gstiterator.c:
13710         * gst/gstiterator.h:
13711         * gst/gstpad.c:
13712         * gst/gstprobe.h:
13713         * gst/gstutils.c: (gst_pad_query_convert):
13714         * gst/gstutils.h:
13715           fixed parameter name mismatches between source, header and docs
13716           added some more docs, resolved the last batch of unused elements in
13717           docs (now someone needs to doc them)
13718
13719 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
13720
13721         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
13722         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
13723           don't walk through the plugins backwards.  Where is all this
13724           reversed logic coming from ?
13725
13726 2005-08-25  Wim Taymans  <wim@fluendo.com>
13727
13728         * gst/base/gstbasetransform.c: (gst_base_transform_init),
13729         (gst_base_transform_transform_size),
13730         (gst_base_transform_configure_caps),
13731         (gst_base_transform_get_unit_size),
13732         (gst_base_transform_buffer_alloc),
13733         (gst_base_transform_change_state):
13734         * gst/base/gstbasetransform.h:
13735         Cache caps unit_size.
13736         Make sure we cannot negotiate up and downstream at the
13737         same time.
13738
13739 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
13740
13741         * gst/gst.c: (init_pre), (init_post):
13742           register the installed plugin path after the env var
13743         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
13744         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
13745           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
13746           directories, so the tests can prefer uninstalled over installed
13747
13748 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
13749
13750         * gst/base/gstbasetransform.h:
13751           comment
13752         * gst/gstpad.c:
13753           add to docs
13754
13755 2005-08-25  Wim Taymans  <wim@fluendo.com>
13756
13757         * gst/gstbin.c: (bin_bus_handler):
13758         Be a bit more conservative about the posted message.
13759         
13760         * gst/gstbus.c: (gst_bus_post):
13761         Some cleanups, warn wrong return values.
13762
13763 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
13764
13765         * check/gst/gstbin.c: (GST_START_TEST):
13766         * gst/gstbin.c: (bin_bus_handler):
13767         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
13768         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
13769         (gst_message_new_warning), (gst_message_new_tag),
13770         (gst_message_new_state_changed), (gst_message_new_segment_start),
13771         (gst_message_new_segment_done), (gst_message_new_custom):
13772         * gst/gstmessage.h:
13773         * tools/gst-launch.c: (event_loop):
13774         * tools/gst-md5sum.c: (event_loop):
13775           Revert unpopular change for GST_MESSAGE_SRC to GObject.
13776
13777 2005-08-25  Wim Taymans  <wim@fluendo.com>
13778
13779         * check/generic/states.c: (GST_START_TEST):
13780         Cleanup can be done at the end.
13781
13782         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
13783         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
13784         (gst_task_get_state), (gst_task_start), (gst_task_pause):
13785         Oh boy.. Thanks for finding this, Thomas. 
13786
13787 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
13788
13789         * docs/gst/gstreamer.types:
13790           added missing types
13791
13792 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
13793
13794         * docs/gst/gstreamer-docs.sgml:
13795         * docs/gst/gstreamer-sections.txt:
13796         * docs/gst/tmpl/.cvsignore:
13797         * gst/gstbin.c:
13798         * gst/gstiterator.c:
13799         * gst/gstutils.c:
13800         * gst/registries/gstxmlregistry.h:
13801           added missing classes and symbols (123 more to go)
13802           removed removed symbols from section file
13803           fixed many doc-comments
13804
13805 2005-08-24  Wim Taymans  <wim@fluendo.com>
13806
13807         * check/generic/states.c: (GST_START_TEST):
13808         Make sure all tasks are stopped.
13809
13810         * check/gst/gstbin.c: (GST_START_TEST):
13811         Unref after usage for proper valgrinding.
13812
13813         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
13814         Really wait for the task to stop before destroying the
13815         mutex.
13816
13817         * gst/gstqueue.c: (gst_queue_sink_activate_push),
13818         (gst_queue_src_activate_push):
13819         Small cleanups. Don't stop the task when we did not start
13820         it.
13821
13822         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
13823         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
13824         (gst_task_get_state), (gst_task_start), (gst_task_pause),
13825         (gst_task_join):
13826         * gst/gsttask.h:
13827         Protect the stream lock with the object lock.
13828         Disallow setting the stream lock when running.
13829         Add cleanup_all to wait for the threadpool to finish.
13830         Remove code to autoallocate a mutex if none was provided.
13831         Add _join() to wait for a task to stop.
13832         Protect the thread pool with a global lock.
13833
13834 2005-08-24  Wim Taymans  <wim@fluendo.com>
13835
13836         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13837         (gst_base_sink_get_times), (gst_base_sink_do_sync),
13838         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
13839         * gst/base/gstbasesink.h:
13840         Handle newsegment events correctly.
13841         Drop buffers out of the segment range.
13842
13843 2005-08-22  Andy Wingo  <wingo@pobox.com>
13844
13845         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
13846         macro, implements an interface and gstimplementsinterface for a
13847         new type.
13848
13849 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13850
13851         * check/Makefile.am:
13852         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
13853           add a test that does a bunch of state changes on elements
13854           needs some fixing for valgrind
13855         * check/states/sinks.c: (gst_object_suite):
13856           whitespace
13857         * gst/gstcaps.h:
13858           add prototype for gst_caps_is_equal_fixed
13859         * gst/gstplugin.c:
13860         * gst/gstregistrypool.c:
13861           doc fixes
13862
13863 2005-08-24  Andy Wingo  <wingo@pobox.com>
13864
13865         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
13866         convert a negative value. Doesn't make much sense. Mostly this is
13867         here to force callers to ensure -1 maps to -1.
13868
13869 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
13870
13871         * docs/pwg/advanced-types.xml:
13872           Well done to Michael for catching my deliberate introduction
13873           of this spelling mistake. 
13874         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
13875         * gst/gstelement.h:
13876           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
13877           unlink pads before removing the element from the bin.
13878
13879 2005-08-24  Andy Wingo  <wingo@pobox.com>
13880
13881         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
13882         the same thing as GST_DEBUG=*:4.
13883         (parse_debug_level, parse_debug_category): New helper parsers.
13884
13885 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13886
13887         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
13888         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
13889         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
13890         (gst_base_transform_buffer_alloc),
13891         (gst_base_transform_handle_buffer):
13892           use gboolean return values and pointers to size so we can use the
13893           full GST_BUFFER_SIZE range (guint) for buffer sizes
13894           use GstPadDirection for transform_caps
13895         * gst/base/gstbasetransform.h:
13896           rename get_size to get_unit_size since that's what it is
13897         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
13898           use GstPadDirection for transform_caps
13899         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
13900         * gst/gstutils.h:
13901           cleanup and debugging
13902
13903 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
13904
13905         * gst/gstelement.c: (gst_element_class_init),
13906         (gst_element_set_state), (activate_pads),
13907         (gst_element_save_thyself):
13908         * tools/gst-compprep.c: (main):
13909         * tools/gst-inspect.c: (print_element_properties_info):
13910         * tools/gst-xmlinspect.c: (print_element_properties):
13911           Fixed long standing mem-leak
13912
13913 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
13914
13915         * check/gst/gstbin.c: (GST_START_TEST):
13916         * gst/gstbin.c: (bin_bus_handler):
13917         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
13918         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
13919         (gst_message_new_warning), (gst_message_new_tag),
13920         (gst_message_new_state_changed), (gst_message_new_segment_start),
13921         (gst_message_new_segment_done), (gst_message_new_custom):
13922         * gst/gstmessage.h:
13923         * tools/gst-launch.c: (event_loop):
13924         * tools/gst-md5sum.c: (event_loop):
13925           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
13926           that applications can sensibly post custom messages with references
13927           to their own objects.
13928
13929 2005-08-24  Andy Wingo  <wingo@pobox.com>
13930
13931         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
13932         already.
13933
13934 2005-08-24  Wim Taymans  <wim@fluendo.com>
13935
13936         * gst/base/gstbasetransform.c: (gst_base_transform_init),
13937         (gst_base_transform_transform_caps),
13938         (gst_base_transform_transform_size),
13939         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13940         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
13941         (gst_base_transform_handle_buffer):
13942         * gst/base/gstbasetransform.h:
13943         Many fixes and new features added by Thomas. Can now also do
13944         transforms with variable sizes and a custom fixate_caps function.
13945
13946 2005-08-24  Wim Taymans  <wim@fluendo.com>
13947
13948         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
13949         Some debugging.
13950
13951         * gst/gstclock.h:
13952         Cast to ClockTime before formatting to time.
13953
13954         * gst/gstutils.h:
13955         Cleanups.
13956
13957 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
13958
13959         * check/gst-libs/controller.c: (GST_START_TEST),
13960         (gst_controller_suite):
13961         * docs/gst/tmpl/gstcaps.sgml:
13962         * docs/gst/tmpl/gstghostpad.sgml:
13963         * docs/gst/tmpl/gstquery.sgml:
13964         * docs/gst/tmpl/gstutils.sgml:
13965         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
13966         (gst_object_sink_values), (gst_object_get_value_arrays),
13967         (gst_object_get_value_array):
13968           gracefully handle helper method calls to objects that are not beeing
13969           controlled, added test case for that          
13970
13971 2005-08-23  Wim Taymans  <wim@fluendo.com>
13972
13973         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
13974         (gst_event_new_newsegment), (gst_event_parse_newsegment),
13975         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
13976         (gst_event_parse_qos), (gst_event_new_seek),
13977         (gst_event_parse_seek):
13978         * gst/gstevent.h:
13979         Some more debugging output and doc cleanups.
13980
13981         * gst/gstqueue.c: (gst_queue_handle_sink_event):
13982         Fix possible deadlock.
13983
13984 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
13985
13986         * docs/gst/gstreamer-docs.sgml:
13987         * docs/gst/gstreamer-sections.txt:
13988         * docs/gst/gstreamer.types:
13989         * docs/gst/tmpl/.cvsignore:
13990         * gst/gstbin.h:
13991         * gst/gstbus.c:
13992         * gst/gstelement.c:
13993         * gst/gstevent.h:
13994           added 100 symbols from gstreamer-unused.txt to the right sections
13995           fixed more broken comments
13996           added GstBus to docs
13997
13998 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
13999
14000         * docs/gst/gstreamer-sections.txt:
14001         * docs/gst/tmpl/.cvsignore:
14002         * docs/gst/tmpl/gstbin.sgml:
14003         * docs/gst/tmpl/gstbuffer.sgml:
14004         * gst/base/gstbasesrc.c:
14005         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
14006         * gst/gstbuffer.c:
14007         * gst/gstbuffer.h:
14008         * tools/gst-launch.1.in:
14009           inlined more doc comments, added missing comments and fixed comments
14010           fixed typos
14011
14012 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14013
14014         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14015           some debugging
14016         * gst/gstcaps.h:
14017           whitespace fixes
14018         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
14019           more debugging
14020         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
14021         * gst/gststructure.h:
14022           add a fixate function for booleans; add a FIXME that these func
14023           names should probably be gst_structure_fixate_*
14024
14025 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14026
14027         * docs/gst/gstreamer-docs.sgml:
14028         * docs/gst/gstreamer-sections.txt:
14029         * gst/Makefile.am:
14030         * gst/gstbin.c: (gst_bin_get_type),
14031         (gst_bin_child_proxy_get_child_by_index),
14032         (gst_bin_child_proxy_get_children_count),
14033         (gst_bin_child_proxy_init):
14034         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14035         (gst_child_proxy_get_child_by_index),
14036         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
14037         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
14038         (gst_child_proxy_get), (gst_child_proxy_set_property),
14039         (gst_child_proxy_set_valist), (gst_child_proxy_set),
14040         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
14041         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
14042         * gst/gstchildproxy.h:
14043         * gst/parse/grammar.y:
14044         * tools/gst-inspect.c: (print_interfaces),
14045         (print_element_properties_info), (print_element_info):
14046           ported gstchildproxy over from 0.8
14047           ported gst-inspect fixes and enhancements over from 0.8
14048
14049 2005-08-22  Wim Taymans  <wim@fluendo.com>
14050
14051         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14052         (gst_base_transform_handle_buffer):
14053         Also call the transform function if we have ANY caps.
14054
14055         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
14056         Fix debug info.
14057
14058 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
14059
14060         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
14061           Don't pretend to handle seek events if the source is not seekable
14062
14063 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
14064
14065         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14066           Remove extra parameter to debug output
14067
14068         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14069         (gst_base_src_do_seek), (gst_base_src_activate_push):
14070           Fix seek event handling.
14071
14072         * gst/gstpipeline.c: (gst_pipeline_change_state):
14073         * gst/gstqueue.c: (gst_queue_handle_sink_event),
14074         (gst_queue_src_activate_push):
14075           Don't start the src pad task on FLUSH_STOP if the pad
14076           isn't linked.
14077           Debug changes.
14078
14079 2005-08-22  Wim Taymans  <wim@fluendo.com>
14080
14081         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14082         Added check for gst_static_caps_get() refcounting.
14083
14084 2005-08-22  Wim Taymans  <wim@fluendo.com>
14085
14086         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
14087         Make _static_caps_get() refcounting sane.
14088         
14089         * gst/gstelement.c: (gst_element_set_state):
14090         Add g_return_val_if_fail() to protect against segfaults.
14091
14092 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
14093
14094         * docs/gst/tmpl/gstevent.sgml:
14095         * gst/gstevent.c:
14096         * gst/gstevent.h:
14097           inlined remaining docs, added missing doc comments
14098
14099 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14100
14101         * check/gst/gstbin.c: (GST_START_TEST):
14102           since we don't know when preroll is done, use refcount range
14103           check for the sink
14104         * gst/check/gstcheck.h:
14105           add macro for checking refcount range
14106
14107 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14108
14109         * check/Makefile.am:
14110           clean up environment for when registry gets built versus
14111           when actual tests are run; valgrind seems to not report
14112           leaks if GST_PLUGIN_PATH is set to some specific values
14113         * check/gst/gstbin.c: (GST_START_TEST):
14114           add more refcounting checks; maybe this exposes a
14115           preroll lock bug ?
14116         * common/check.mak:
14117         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14118         * gst/check/gstcheck.h:
14119         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
14120         (gst_bin_change_state):
14121         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
14122           add/fix debugging/whitespace
14123
14124 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
14125
14126         * check/gst/gstevent.c: (event_probe), (test_event),
14127         (GST_START_TEST):
14128          Er, don't call gst_bin_watch_for_state_change you idiot.
14129
14130 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
14131
14132         * check/Makefile.am:
14133           Use CHECK_CFLAGS and CHECK_LIBS
14134         * check/gst/gstevent.c: (event_probe), (test_event),
14135         (GST_START_TEST):
14136           Don't leak events.
14137         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14138         (gst_base_src_start), (gst_base_src_stop),
14139         (gst_base_src_activate_push), (gst_base_src_activate_pull),
14140         (gst_base_src_change_state):
14141           Sprinkle gst_base_src_stop liberally around error paths to fix
14142           problems reusing a source after failed state changes.
14143         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14144         (helper_find_suggest), (gst_type_find_helper):
14145           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
14146         * gst/gstevent.h:
14147         * docs/gst/tmpl/gstevent.sgml:
14148           Migrate part of the docs from the SGML file. Wait for ensonic to
14149           tell me how I did it wrong ;)
14150         * tools/gst-typefind.c: (main):
14151           Extra robustness to state changes between files.
14152
14153 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14154
14155         * check/Makefile.am:
14156           don't valgrind the controller test - it's leaking - Stefan, HELP
14157         * gst/check/gstcheck.c: (gst_check_message_error),
14158         (gst_check_chain_func), (gst_check_setup_element),
14159         (gst_check_teardown_element), (gst_check_setup_src_pad),
14160         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
14161         (gst_check_teardown_sink_pad):
14162         * gst/check/gstcheck.h:
14163           add a bunch of methods to set up elements, and src and sink pads
14164         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
14165         * check/elements/identity.c: (setup_identity), (cleanup_identity),
14166         (GST_START_TEST):
14167           use them
14168         * gst/gstmessage.c:
14169         * gst/gsttag.h:
14170           whitespace/doc fixes
14171
14172 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14173
14174         * gst/gstelement.h:
14175           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
14176           be handled by the application and not always printed as well
14177
14178 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14179
14180         * check/Makefile.am:
14181           set GST_TOOLS_DIR
14182         * gst/check/gstcheck.c: (gst_check_message_error):
14183         * gst/check/gstcheck.h:
14184           add a fail_unless_equals_int
14185           add fail_unless for error messages
14186
14187 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14188
14189         * check/Makefile.am:
14190         * check/gst.supp:
14191         * common/Makefile.am:
14192         * common/check.mak:
14193         * common/gst.supp:
14194           factor out some of the common stuff so we can use it
14195
14196 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14197
14198         * check/Makefile.am:
14199         * check/gst/gstiterator.c: (GST_START_TEST):
14200         * check/gst/gstsystemclock.c: (GST_START_TEST),
14201         (gst_systemclock_suite):
14202         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14203         * gst/gstclock.c:
14204           valgrind more tests
14205
14206 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14207
14208         * check/elements/.cvsignore:
14209         * check/elements/gstfakesrc.c:
14210           rename to name of element
14211         * check/elements/identity.c: (chain_func), (event_func),
14212         (setup_identity), (cleanup_identity), (GST_START_TEST),
14213         (identity_suite), (main):
14214           add a test for identity
14215         * check/Makefile.am:
14216         * pkgconfig/Makefile.am:
14217         * pkgconfig/gstreamer-check.pc.in:
14218         * pkgconfig/gstreamer-check-uninstalled.pc.in:
14219         * gst/check:
14220         * gst/Makefile.am:
14221         * configure.ac:
14222           move the check stuff to a library that gets installed
14223         * check/gst-libs/controller.c: (GST_START_TEST):
14224         * check/gst-libs/gdp.c:
14225         * check/gst/gst.c: (GST_START_TEST):
14226         * check/gst/gstbin.c:
14227         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14228         * check/gst/gstbus.c:
14229         * check/gst/gstcaps.c: (GST_START_TEST):
14230         * check/gst/gstelement.c:
14231         * check/gst/gstghostpad.c:
14232         * check/gst/gstiterator.c:
14233         * check/gst/gstmessage.c:
14234         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
14235         * check/gst/gstobject.c:
14236         * check/gst/gstpad.c: (GST_START_TEST):
14237         * check/gst/gststructure.c: (GST_START_TEST):
14238         * check/gst/gstsystemclock.c: (GST_START_TEST),
14239         (gst_systemclock_suite):
14240         * check/gst/gsttag.c: (gst_tag_suite):
14241         * check/gst/gstvalue.c:
14242         * check/pipelines/cleanup.c:
14243         * check/pipelines/simple_launch_lines.c:
14244         * check/states/sinks.c:
14245           change include statement
14246
14247         * docs/gst/gstreamer-sections.txt:
14248         * docs/gst/tmpl/gstpad.sgml:
14249           document more pad stuff
14250         * gst/gstminiobject.c: (gst_mini_object_ref),
14251         (gst_mini_object_unref):
14252           debug refcounting
14253
14254 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
14255
14256         * docs/gst/tmpl/gst.sgml:
14257         * gst/gst.c:
14258           eliminate another tmpl file, fix spelling in the long-description
14259
14260 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14261
14262         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14263         (test_event), (timediff), (gstevents_suite):
14264           Should fix build on 64-bit arch's
14265
14266 2005-08-18  Andy Wingo  <wingo@pobox.com>
14267
14268         Make sure that when a pipeline goes to PLAYING, that data has
14269         actually hit the sink.
14270
14271         * check/states/sinks.c (test_sink): A sink that doesn't get any
14272         data shouldn't return SUCCESS for going to either PLAYING or
14273         PAUSED. Test also the return values on the way back down.
14274
14275         * gst/gstelement.c (gst_element_set_state): When changing the
14276         state of an element currently changing state asynchronously, go to
14277         lost-state after commiting the pending state. Makes future calls
14278         to get_state continue to return ASYNC.
14279
14280         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
14281         ASYNC when going to PLAYING if we still don't have preroll, as can
14282         happen with live sources.
14283
14284 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14285
14286         * docs/pwg/advanced-types.xml:
14287           Hack long paragraph into 2 chunks as a workaround for buggy
14288           jadetex version in sid and breezy that loops infinitely and
14289           eats all RAM.
14290
14291 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14292
14293         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14294         (test_event), (timediff), (gstevents_suite):
14295           Provide more error margin in clock measurements to allow for 
14296           g_get_current_time inaccuracies.
14297
14298 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14299
14300         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14301         (test_event), (timediff), (gstevents_suite):
14302            Fix error message output so I might be able to tell why the
14303            test works here but fails on the build farm.
14304
14305 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14306
14307         * check/Makefile.am:
14308         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14309         (test_event), (timediff), (gstevents_suite), (main):
14310           I wrote a test!
14311
14312         * docs/design/part-seeking.txt:
14313           Spelling correction
14314
14315         * docs/gst/tmpl/gstevent.sgml:
14316         * docs/gst/tmpl/gstfakesrc.sgml:
14317           Docs updates.
14318
14319         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14320           Treat a buffer-without-newsegment the same as a receiving 
14321           a newsegment not in time format, and disable syncing to the clock
14322           with a warning.
14323
14324         * gst/gstbus.c: (gst_bus_set_sync_handler):
14325           Assert if anyone tries to replace the existing sync_handler for bus, 
14326           as only the owner should be setting it.
14327
14328         * gst/gstevent.h:
14329           Have a fixed set of custom event enums with events identified by
14330           their structure name (as in 0.8), rather than a free-for-all
14331           allowing collisions between enum values from different plugins.
14332
14333         * gst/gstpad.c: (gst_pad_class_init):
14334           Docs change.
14335           
14336         * gst/gstqueue.c: (gst_queue_handle_sink_event):
14337           Handle out-of-band downstream events from the sending thread.
14338
14339 2005-08-17  Andy Wingo  <wingo@pobox.com>
14340
14341         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
14342         play-timeout==0 to mean no timeout at all. In that case, don't
14343         bother with a get_state or a warning, just return directly, even
14344         if it's ASYNC.
14345
14346         * gst/base/gstbasetransform.c: Debug changes.
14347
14348         * gst/gstutils.h:
14349         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
14350         ensure bins post state change messages. A bit of a hack but I can't
14351         think of a way to avoid it.
14352
14353         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
14354
14355 2005-08-16  Andy Wingo  <wingo@pobox.com>
14356
14357         * gst/base/gstadapter.h:
14358         * gst/base/gstadapter.c (gst_adapter_take): New function, like
14359         peek() but you own the data. Not terribly efficient atm.
14360
14361 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14362
14363         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
14364         (gst_element_found_tags):
14365         * gst/gstutils.h:
14366           Add two utility functions for tag handling.
14367
14368 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14369
14370         * docs/manual/advanced-dataaccess.xml:
14371         * docs/manual/basics-helloworld.xml:
14372           Fix docs to use _bin_add() before _link(), which fixes the examples
14373           with recent core versions (reported by Madhan Raj M
14374           <raj_madan@rediffmail.com>, #313199).
14375
14376 2005-08-16  Wim Taymans  <wim@fluendo.com>
14377
14378         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14379         Added subtract checks.
14380
14381         * docs/design/part-events.txt:
14382         Some more docs about newsegment
14383
14384         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
14385         Fix FIXME
14386
14387         * gst/gstcaps.c: (gst_caps_to_string):
14388         Add comments, cleanups.
14389         
14390         * gst/gstelement.c: (gst_element_save_thyself):
14391         cleanups
14392         
14393         * gst/gstvalue.c: (gst_value_collect_int_range),
14394         (gst_string_unwrap), (gst_value_union_int_int_range),
14395         (gst_value_union_int_range_int_range),
14396         (gst_value_intersect_int_int_range),
14397         (gst_value_intersect_int_range_int_range),
14398         (gst_value_intersect_double_double_range),
14399         (gst_value_intersect_double_range_double_range),
14400         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
14401         (gst_value_subtract_int_range_int),
14402         (gst_value_subtract_double_range_double),
14403         (gst_value_subtract_double_range_double_range),
14404         (gst_value_subtract_from_list), (gst_value_subtract_list),
14405         (gst_value_can_compare), (gst_value_compare_fraction):
14406         Cleanups, add comments, remove unneeded asserts.
14407
14408 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14409
14410         * tools/gst-launch.c: (event_loop):
14411           don't convert NULL structures to strings
14412
14413 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
14414
14415         * docs/gst/gstreamer-sections.txt:
14416           made some defines private
14417         * docs/gst/tmpl/gstconfig.sgml:
14418         * docs/gst/tmpl/gstqueue.sgml:
14419         * docs/gst/tmpl/gsttaglist.sgml:
14420         * docs/gst/tmpl/gsttypes.sgml:
14421         * docs/gst/tmpl/gstutils.sgml:
14422         * docs/pwg/appendix-porting.xml:
14423         * gst/base/gstbasesink.h:
14424         * gst/base/gstbasesrc.c:
14425         * gst/base/gstbasesrc.h:
14426         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
14427         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
14428         * gst/gstelement.c: (gst_element_class_init):
14429         * gst/gstpad.c: (gst_pad_class_init):
14430         * gst/gstqueue.c: (gst_queue_class_init):
14431         * gst/gstxml.c: (gst_xml_class_init):
14432           documented all undocumented signal inline
14433         * libs/gst/controller/gst-controller.h:
14434           added padding
14435
14436 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14437
14438         * docs/pwg/appendix-porting.xml:
14439           Document _set_link_function -> _set_setcaps_function.
14440
14441 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14442
14443         * check/Makefile.am:
14444           add a .check target for running the check
14445         * check/gst-libs/controller.c: (GST_START_TEST):
14446           cosmetic fixups
14447         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14448           complete checks for gstbuffer; would be nice if I could get the
14449           gcov stuff to work so I can see if I actually completed gstbuffer.c
14450         * check/gstcheck.h:
14451           add ASSERT_BUFFER_REFCOUNT
14452
14453 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
14454
14455         * docs/gst/gstreamer-sections.txt:
14456         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
14457         * gst/gsttag.h:
14458           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
14459           spew out a warning if a tag that is already registered
14460           is re-registered, unless it is re-registered with a 
14461           different type (#308438).
14462
14463 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
14464
14465         * docs/pwg/appendix-porting.xml:
14466         * docs/pwg/building-state.xml:
14467           Add some paragraphs about state changes in 0.9 to the PWG
14468           and the porting guide, in particular about the new meaning
14469           of GST_STATE_PAUSED and how to write state change functions
14470           with concurrent access by multiple threads in mind.
14471
14472 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
14473
14474         * docs/gst/gstreamer-docs.sgml:
14475         * docs/libs/gstreamer-libs-docs.sgml:
14476           added deprecation and since indexes
14477         * libs/gst/controller/gst-controller.c:
14478         * libs/gst/controller/gst-helper.c:
14479           added since tags
14480
14481
14482 2005-08-11  Wim Taymans  <wim@fluendo.com>
14483
14484         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
14485         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
14486         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
14487         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
14488         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
14489         (gst_ghost_pad_set_target):
14490         Actually implement (re)setting the target on a ghostpad
14491         as described in the docs.
14492
14493 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
14494
14495         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
14496           Check whether GST_DEBUG_NO_COLOR environment variable is
14497           set and disable coloured debug output if that is the case.
14498
14499 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
14500
14501         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14502         (gst_type_find_helper):
14503           The memory returned by gst_type_find_peek() needs to
14504           stay valid until the end of a typefind function, and
14505           typefind functions may keep results from different 
14506           offsets around, so we can't just unref the buffer from
14507           the previous _peek(), but have to save all buffers 
14508           returned by _peek() until typefinding is done and only
14509           free them then.
14510
14511 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
14512
14513         * docs/gst/gstreamer-sections.txt:
14514         * gst/gstutils.h:
14515           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
14516
14517 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14518
14519         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14520           Fix a pretty good memleak.
14521
14522 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
14523
14524         * gst/gstiterator.h:
14525           Fix wrong include and 'make distcheck'.
14526
14527 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14528
14529         * gst/gstbin.c: (bin_bus_handler):
14530           Use gst_element_post_message() instead.
14531
14532 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
14533
14534         * gst/base/gstadapter.h:
14535         * gst/base/gstbasesink.h:
14536         * gst/base/gstbasesrc.h:
14537         * gst/base/gstbasetransform.h:
14538         * gst/base/gstcollectpads.h:
14539         * gst/base/gstpushsrc.h:
14540         * gst/gstiterator.h:
14541           Add padding to our base elements' class and instance structs and
14542           to GstIterator (you will need to rebuild all plugins and apps!)
14543
14544 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14545
14546         * gst/gstbin.c: (bin_bus_handler):
14547           Make default message forwarding from child->bus to bin->bus
14548           threadsafe and make it not emit warnings if the parent has no bus.
14549
14550 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14551
14552         * gst/gstelement.c: (activate_pads):
14553           On paused->ready, set pad->caps to NULL, as is the documented
14554           behaviour in this state change. Fixes playback of series of
14555           media files when visualization is enabled in Totem.
14556
14557 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14558
14559         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
14560           Allow NULL as filter-caps (which means "any").
14561
14562 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
14563
14564         * docs/libs/gstreamer-libs-sections.txt:
14565         * libs/gst/controller/gst-controller.c:
14566         * libs/gst/controller/gst-controller.h:
14567         * libs/gst/controller/gst-helper.c:
14568           adding more entries to the docs and fix small doc-bugs
14569
14570 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
14571
14572         * docs/gst/gstreamer-docs.sgml:
14573         * docs/gst/gstreamer-sections.txt:
14574         * docs/gst/gstreamer.types:
14575         * docs/gst/tmpl/gstbasesink.sgml:
14576         * docs/gst/tmpl/gstbasesrc.sgml:
14577         * docs/gst/tmpl/gstbasetransform.sgml:
14578         * docs/gst/tmpl/gstfakesrc.sgml:
14579         * gst/base/gstcollectpads.c:
14580         * gst/base/gstcollectpads.h:
14581         * libs/gst/controller/gst-controller.c:
14582         * libs/gst/controller/gst-controller.h:
14583         * libs/gst/controller/gst-helper.c:
14584         * libs/gst/controller/gst-interpolation.c:
14585         * libs/gst/controller/lib.c:
14586           added long/short desc for controller docs
14587           added collectpads base class docs
14588           added correct includes to base-class docs
14589
14590 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
14591
14592         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
14593         (gst_test_mono_source_set_property),
14594         (gst_test_mono_source_class_init), (GST_START_TEST),
14595         (gst_controller_suite):
14596         * docs/gst/gstreamer-docs.sgml:
14597         * docs/gst/gstreamer-sections.txt:
14598         * docs/gst/gstreamer.types:
14599         * docs/libs/gstreamer-libs-docs.sgml:
14600         * docs/libs/gstreamer-libs-sections.txt:
14601         * gst/base/gstadapter.c:
14602         * libs/gst/controller/gst-controller.c:
14603         (gst_controlled_property_new), (gst_controlled_property_free),
14604         (gst_controller_new_valist),
14605         (gst_controller_remove_properties_valist),
14606         (gst_controller_sink_values), (_gst_controller_finalize):
14607         * libs/gst/controller/gst-controller.h:
14608         * libs/gst/controller/gst-helper.c:
14609         (gst_object_control_properties), (gst_object_uncontrol_properties),
14610         (gst_object_get_controller), (gst_object_set_controller),
14611         (gst_object_sink_values), (gst_object_get_value_arrays),
14612         (gst_object_get_value_array):
14613           more tests (and fixes) for the controller
14614           more docs for the controller
14615           integrated companies docs for the adapter 
14616
14617 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14618
14619         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
14620         (GST_START_TEST), (fakesrc_suite):
14621           add tests for sizetype
14622
14623 2005-08-04  Andy Wingo  <wingo@pobox.com>
14624
14625         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
14626         fixes buffer_alloc proxying among other things.
14627
14628         * gst/base/gstbasetransform.c:
14629         * gst/base/gstbasetransform.h:
14630         Revert patch to gstbasetransform from 7-28 removing
14631         delay_configure.
14632
14633         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
14634         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
14635         Semantics changed, should return not the size of the output buffer
14636         but the byte size of a buffer with a given caps.
14637
14638         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
14639         debug object.
14640         (gst_base_transform_configure_caps): Don't set out_size here: (in,
14641         out) are not the pad caps until setcaps finishes.
14642         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
14643         not-in-place case as well. Deal with changing from in-place to
14644         not-in-place within calling pad_alloc_buffer. Still a bit
14645         concerned about the overhead here...
14646
14647 2005-08-03  Andy Wingo  <wingo@pobox.com>
14648
14649         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
14650         fixating is an error.
14651
14652 2005-08-04  Edward Hervey  <edward@fluendo.com>
14653
14654         * gst/base/gstadapter.h: 
14655         Added gst_adapter_get_type() to the header
14656
14657 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
14658
14659         * check/Makefile.am:
14660         * check/gst-libs/controller.c:
14661         * libs/gst/controller/gst-controller.c:
14662         (gst_controller_new_valist):
14663           added check test suite for the controller
14664         * gst/base/gstpushsrc.c:
14665           fixed a doc typo
14666
14667 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
14668
14669         * docs/gst/Makefile.am:
14670         * docs/gst/gstreamer-docs.sgml:
14671         * docs/gst/gstreamer-sections.txt:
14672         * docs/gst/gstreamer.types:
14673         * docs/gst/tmpl/gstfakesrc.sgml:
14674         * gst/base/README:
14675         * gst/base/gstbasesink.c:
14676         * gst/base/gstbasesink.h:
14677         * gst/base/gstbasesrc.c:
14678         * gst/base/gstbasesrc.h:
14679         * gst/base/gstbasetransform.c:
14680         * gst/base/gstpushsrc.c:
14681         * gst/base/gstpushsrc.h:
14682           add short/long description docs to base classes
14683           add pushsrc to the docs
14684           remove consolidated doc fragments
14685
14686 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
14687
14688         * configure.ac:
14689         * docs/libs/Makefile.am:
14690         * docs/libs/gstreamer-libs-docs.sgml:
14691         * docs/libs/gstreamer-libs-sections.txt:
14692         * docs/libs/gstreamer-libs.types:
14693         * examples/Makefile.am:
14694         * examples/controller/.cvsignore:
14695         * examples/controller/Makefile.am:
14696         * examples/controller/audio-example.c: (main):
14697         * libs/gst/Makefile.am:
14698         * libs/gst/controller/.cvsignore:
14699         * libs/gst/controller/Makefile.am:
14700         * libs/gst/controller/gst-controller.c:
14701         (on_object_controlled_property_changed), (gst_timed_value_compare),
14702         (gst_timed_value_find),
14703         (gst_controlled_property_set_interpolation_mode),
14704         (gst_controlled_property_new), (gst_controlled_property_free),
14705         (gst_controller_find_controlled_property),
14706         (gst_controller_new_valist), (gst_controller_new),
14707         (gst_controller_remove_properties_valist),
14708         (gst_controller_remove_properties), (gst_controller_set),
14709         (gst_controller_set_from_list), (gst_controller_unset),
14710         (gst_controller_get), (gst_controller_get_all),
14711         (gst_controller_sink_values), (gst_controller_get_value_arrays),
14712         (gst_controller_get_value_array),
14713         (gst_controller_set_interpolation_mode),
14714         (_gst_controller_finalize), (_gst_controller_init),
14715         (_gst_controller_class_init), (gst_controller_get_type):
14716         * libs/gst/controller/gst-controller.h:
14717         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
14718         (g_object_uncontrol_properties), (g_object_get_controller),
14719         (g_object_set_controller), (g_object_sink_values),
14720         (g_object_get_value_arrays), (g_object_get_value_array):
14721         * libs/gst/controller/gst-interpolation.c:
14722         (gst_controlled_property_find_timed_value_node),
14723         (interpolate_none_get), (interpolate_trigger_get),
14724         (interpolate_trigger_get_value_array):
14725         * libs/gst/controller/lib.c: (gst_controller_init):
14726         * pkgconfig/Makefile.am:
14727         * pkgconfig/gstreamer-control-uninstalled.pc.in:
14728         * pkgconfig/gstreamer-control.pc.in:
14729         * testsuite/Makefile.am:
14730         * testsuite/controller/.cvsignore:
14731         * testsuite/controller/Makefile.am:
14732         * testsuite/controller/interpolator.c: (main):
14733           added controller code
14734           removed dparam pc files
14735
14736 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
14737         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
14738         (gst_collectpads_stop):
14739           Broadcast the condition when shutting down, to make sure we wake all
14740           threads up. Shut down pads on finalize, for safety.
14741
14742 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
14743         * gst/base/gstbasetransform.c: (gst_base_transform_init),
14744         (gst_base_transform_handle_buffer),
14745         (gst_base_transform_change_state):
14746           Handle PAUSED->READY->PAUSED transition after negotiation
14747           occurred already.
14748         * gst/gstmessage.c: (gst_message_init):
14749           Extra piece of debug for new messages.
14750
14751 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
14752
14753         * configure.ac:
14754         * docs/gst/tmpl/gstbasesrc.sgml:
14755         * docs/gst/tmpl/gstelement.sgml:
14756         * docs/gst/tmpl/gstevent.sgml:
14757         * docs/gst/tmpl/gstfakesrc.sgml:
14758         * docs/gst/tmpl/gstformat.sgml:
14759         * docs/gst/tmpl/gstghostpad.sgml:
14760         * docs/gst/tmpl/gstpad.sgml:
14761         * docs/gst/tmpl/gstquery.sgml:
14762         * docs/gst/tmpl/gststructure.sgml:
14763         * docs/gst/tmpl/gsttaglist.sgml:
14764         * docs/gst/tmpl/gstvalue.sgml:
14765         * docs/libs/gstreamer-libs-docs.sgml:
14766         * docs/libs/gstreamer-libs-sections.txt:
14767         * docs/libs/gstreamer-libs.types:
14768         * libs/gst/Makefile.am:
14769         * libs/gst/control/.cvsignore:
14770         * libs/gst/control/Makefile.am:
14771         * libs/gst/control/control.c:
14772         * libs/gst/control/control.h:
14773         * libs/gst/control/dparam.c:
14774         * libs/gst/control/dparam.h:
14775         * libs/gst/control/dparam_smooth.c:
14776         * libs/gst/control/dparam_smooth.h:
14777         * libs/gst/control/dparamcommon.h:
14778         * libs/gst/control/dparammanager.c:
14779         * libs/gst/control/dparammanager.h:
14780         * libs/gst/control/dplinearinterp.c:
14781         * libs/gst/control/dplinearinterp.h:
14782         * libs/gst/control/unitconvert.c:
14783         * libs/gst/control/unitconvert.h:
14784         * testsuite/Makefile.am:
14785         * testsuite/dynparams/.cvsignore:
14786         * testsuite/dynparams/Makefile.am:
14787         * testsuite/dynparams/dparamstest.c:
14788         * tools/Makefile.am:
14789         * tools/gst-inspect.c: (print_element_info), (main):
14790         * tools/gst-xmlinspect.c: (print_element_info), (main):
14791           deactivate and remove dparams (libgstcontrol)
14792
14793 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
14794
14795         * gst/elements/gsttypefindelement.c:
14796         (gst_type_find_element_have_type), (gst_type_find_element_init),
14797         (stop_typefinding), (gst_type_find_element_handle_event),
14798         (gst_type_find_element_chain), (gst_type_find_element_getrange):
14799         * gst/elements/gsttypefindelement.h:
14800           Set caps on all outgoing buffers, not just the first one.
14801
14802 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
14803
14804         * gst/elements/gsttypefindelement.c:
14805         (gst_type_find_element_have_type),
14806         (gst_type_find_element_check_set_buffer_caps),
14807         (gst_type_find_element_init), (stop_typefinding),
14808         (gst_type_find_element_handle_event),
14809         (gst_type_find_element_chain), (gst_type_find_element_getrange):
14810         * gst/elements/gsttypefindelement.h:
14811           Set caps on first outgoing buffer when we've found the type.
14812
14813 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
14814
14815         * docs/gst/gstreamer-docs.sgml:
14816         * docs/gst/gstreamer-sections.txt:
14817         * docs/gst/tmpl/gstscheduler.sgml:
14818         * docs/gst/tmpl/gstschedulerfactory.sgml:
14819           Remove some old cruft from docs.
14820
14821 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
14822
14823         * gst/gstpad.h:
14824           Fix inline docs for GstPadLinkReturn.
14825           
14826         * gst/gststructure.c: (gst_structure_has_name):
14827         * gst/gststructure.h:
14828         * docs/gst/gstreamer-sections.txt:
14829           New API: gst_structure_has_name().
14830
14831 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
14832
14833         * configure.ac:
14834           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
14835           and _LARGEFILE_SOURCE in config.h as required. Do not 
14836           export those flags in our .pc files any longer (#142209).
14837
14838           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
14839
14840         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
14841         (gst_file_sink_do_seek), (gst_file_sink_event),
14842         (gst_file_sink_get_current_offset), (gst_file_sink_render):
14843           Redo seek/tell calls with large file support in mind; add some
14844           debugging messages; add log message that tells us when large
14845           file support is unavailable or not enabled for some reason.
14846
14847         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
14848           Add log message that tells us when large file support 
14849           is unavailable or not enabled for some reason.
14850
14851 2005-07-29  Wim Taymans  <wim@fluendo.com>
14852
14853         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
14854         Added test for removing an element with ghostpad from a bin.
14855         Fixed test as current implementation does the right thing.
14856
14857         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
14858         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
14859         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
14860         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
14861         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
14862         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
14863         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
14864         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
14865         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
14866         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
14867         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
14868         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
14869         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
14870         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
14871         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
14872         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
14873         * gst/gstghostpad.h:
14874         Clean up ghostpads, remove properties for internal stuff.
14875         Make threadsafe.
14876         Fix refcounting.
14877         Prepare for switching targets, not all use cases work yet.
14878
14879 2005-07-29  Wim Taymans  <wim@fluendo.com>
14880
14881         * docs/design/part-gstghostpad.txt:
14882         Small update.
14883
14884         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
14885         (gst_bin_remove_func):
14886         Unlinking pads while holding the bin LOCK is not a good
14887         idea.
14888
14889         * gst/gstpad.c: (gst_pad_class_init),
14890         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
14891         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
14892         No prob setting template after creating the pad.
14893
14894 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
14895
14896         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
14897         (gst_bus_peek), (gst_bus_source_dispatch),
14898         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
14899         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
14900           gst_bus_poll may be called from other threads. Handle
14901           this nicely by not making poll_data disappear off the
14902           stack once gst_bus_poll returns.
14903           gst_bus_peek now increments the refcount on the returned
14904           message.
14905
14906 2005-07-29  Wim Taymans  <wim@fluendo.com>
14907
14908         * docs/design/part-gstghostpad.txt:
14909         Overview of current GhostPad datastructures and use
14910         cases for changing the target.
14911
14912 2005-07-28  Wim Taymans  <wim@fluendo.com>
14913
14914         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14915         Added checks for hierarchy consistency whan adding linked
14916         elements to bins.
14917
14918         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14919         Added check to test element scheduling without bin/pipeline.
14920
14921         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14922         First add elements to bin, then link.
14923         
14924         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
14925         (gst_bin_remove_func):
14926         Unlink pads from elements added/removed from bin to maintain
14927         hierarchy consistency.
14928
14929 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14930
14931         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
14932         (gst_base_transform_handle_buffer):
14933         * gst/base/gstbasetransform.h:
14934           Remove broken delay_configure (fixes renegotiation of software
14935           scaling pipelines); remove some leftover printf()s.
14936
14937 2005-07-28  Wim Taymans  <wim@fluendo.com>
14938
14939         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
14940         Added some more tests for wrong hierarchy
14941
14942         * docs/design/part-overview.txt:
14943         Some updates.
14944
14945         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
14946         Cleanups.
14947
14948         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
14949         (gst_element_dispose):
14950         Some more cleanups.
14951
14952         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
14953         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
14954         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
14955         (gst_pad_set_caps), (gst_pad_send_event):
14956         Check for correct hierarchy when linking pads. Moving to
14957         strict requirement for ghostpads when linking elements in
14958         different bins.
14959
14960         * gst/gstpad.h:
14961         Clean ups. Added WRONG_HIERARCHY return value.
14962
14963 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14964
14965         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
14966           Better debug if no transform is possible.
14967
14968 2005-07-27  Wim Taymans  <wim@fluendo.com>
14969
14970         * docs/random/wtay/network-transp:
14971         Some old doc I had.
14972
14973 2005-07-27  Wim Taymans  <wim@fluendo.com>
14974
14975         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
14976         (gst_dp_event_from_packet):
14977         Fix serialization of seek events.
14978
14979 2005-07-27  Wim Taymans  <wim@fluendo.com>
14980
14981         * check/gst-libs/gdp.c: (GST_START_TEST):
14982         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
14983         Fix compilation and fix event serialization.
14984
14985 2005-07-27  Wim Taymans  <wim@fluendo.com>
14986
14987         * CHANGES-0.9:
14988         * docs/design/part-TODO.txt:
14989         * docs/design/part-events.txt:
14990         Some docs updates
14991
14992         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14993         (gst_base_sink_event), (gst_base_sink_do_sync),
14994         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
14995         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14996         (gst_base_src_do_seek), (gst_base_src_event_handler),
14997         (gst_base_src_loop):
14998         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14999         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15000         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15001         (gst_base_transform_event), (gst_base_transform_handle_buffer),
15002         (gst_base_transform_set_passthrough),
15003         (gst_base_transform_is_passthrough):
15004         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15005         * gst/elements/gstfilesink.c: (gst_file_sink_event):
15006         Event updates.
15007
15008         * gst/gstbuffer.h:
15009         Use faster casts.
15010
15011         * gst/gstelement.c: (gst_element_seek):
15012         * gst/gstelement.h:
15013         Update gst_element_seek.
15014
15015         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
15016         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
15017         (gst_event_new_flush_start), (gst_event_new_flush_stop),
15018         (gst_event_new_eos), (gst_event_new_newsegment),
15019         (gst_event_parse_newsegment), (gst_event_new_tag),
15020         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
15021         (gst_event_parse_qos), (gst_event_new_seek),
15022         (gst_event_parse_seek), (gst_event_new_navigation):
15023         * gst/gstevent.h:
15024         Make GstEvent use GstStructure. Add parsing code, make sure the
15025         API is sufficiently generic.
15026         Mark possible directions of events and serialization.
15027
15028         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
15029         (_gst_message_copy), (gst_message_new_segment_start),
15030         (gst_message_new_segment_done), (gst_message_new_custom),
15031         (gst_message_parse_segment_start),
15032         (gst_message_parse_segment_done):
15033         Small cleanups.
15034
15035         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15036         (gst_pad_set_caps), (gst_pad_send_event):
15037         Update for new events. 
15038         Catch events sent in wrong directions.
15039
15040         * gst/gstqueue.c: (gst_queue_link_src),
15041         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15042         (gst_queue_handle_src_query):
15043         Event updates.
15044
15045         * gst/gsttag.c:
15046         * gst/gsttag.h:
15047         Remove event code from this file.
15048
15049         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15050         (gst_dp_event_from_packet):
15051         Event updates.
15052
15053 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15054
15055         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
15056         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15057         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
15058           Make debugging actually useful.
15059
15060 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15061
15062         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
15063         (gst_pad_fixate_caps):
15064           Implement default fixation once again, so that gst_pad_fixate()
15065           actually does anything at all. This probably needs to be some
15066           sort of a last resort, and use profile-based fixation first, but
15067           since that doesn't exist yet, this is the best we have. Fixes
15068           visualization in Totem.
15069
15070 2005-07-22  Wim Taymans  <wim@fluendo.com>
15071
15072         * docs/design/part-events.txt:
15073         Small update.
15074
15075         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15076         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
15077         (gst_base_sink_activate_pull):
15078         Some more comments.
15079
15080         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
15081         (gst_fake_src_create):
15082         Fix handoff marshall.
15083
15084         * gst/elements/gstidentity.c: (gst_identity_class_init),
15085         (gst_identity_transform_ip):
15086         We're a real inplace element.
15087
15088         * gst/gstbus.c: (gst_bus_post):
15089         Added some comments.
15090
15091         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
15092         * tests/muxing/case1.c: (main):
15093         * tests/sched/dynamic-pipeline.c: (main):
15094         * tests/sched/interrupt1.c: (main):
15095         * tests/sched/interrupt2.c: (main):
15096         * tests/sched/interrupt3.c: (main):
15097         * tests/sched/runxml.c: (main):
15098         * tests/sched/sched-stress.c: (main):
15099         * tests/seeking/seeking1.c: (event_received), (main):
15100         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15101         (main):
15102         * tests/threadstate/threadstate3.c: (main):
15103         * tests/threadstate/threadstate4.c: (main):
15104         * tests/threadstate/threadstate5.c: (main):
15105         Fix the tests.
15106
15107 2005-07-21  Wim Taymans  <wim@fluendo.com>
15108
15109         * docs/design/part-seeking.txt:
15110         Some small additions.
15111
15112         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15113         (gst_base_sink_get_times), (gst_base_sink_do_sync),
15114         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15115         * gst/base/gstbasesink.h:
15116         discont values are gint64, handle the math correctly.
15117
15118         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15119         Make the basesrc report error if the source pad is not linked.
15120
15121         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15122         (gst_queue_loop), (gst_queue_handle_src_query),
15123         (gst_queue_src_activate_push):
15124         Make queue collect data even if the srcpad is not linked.
15125         Start pushing out data as soon as it is linked.
15126
15127         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
15128         * gst/gstutils.h:
15129         Added gst_flow_get_name() to ease error reporting.
15130
15131 2005-07-20  Wim Taymans  <wim@fluendo.com>
15132
15133         * gst/gstmessage.c: (gst_message_new_segment_start),
15134         (gst_message_new_segment_done), (gst_message_parse_segment_start),
15135         (gst_message_parse_segment_done):
15136         * gst/gstmessage.h:
15137         Added a bunch of messages for advanced seeking.
15138
15139         * gst/parse/grammar.y:
15140         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
15141         (gst_dpman_state_changed):
15142         Fix some new-pad -> pad-added signals
15143
15144 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15145
15146         * docs/manual/appendix-porting.xml:
15147         * docs/pwg/appendix-porting.xml:
15148           Document new-pad/state-change signal renames and the FixedList
15149           type rename.
15150
15151 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15152
15153         * docs/manual/advanced-autoplugging.xml:
15154         * docs/manual/basics-helloworld.xml:
15155         * docs/manual/basics-pads.xml:
15156         * docs/random/ds/0.9-suggested-changes:
15157         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
15158         * gst/gstelement.h:
15159         * gst/gstevent.h:
15160         * gst/gstformat.h:
15161         * gst/gstquery.h:
15162         * gst/gststructure.c: (gst_structure_value_get_generic_type),
15163         (gst_structure_parse_array), (gst_structure_parse_value):
15164         * gst/gstvalue.c: (gst_type_is_fixed),
15165         (gst_value_list_prepend_value), (gst_value_list_append_value),
15166         (gst_value_list_get_size), (gst_value_list_get_value),
15167         (gst_value_transform_array_string), (gst_value_serialize_array),
15168         (gst_value_deserialize_array), (gst_value_intersect_array),
15169         (gst_value_is_fixed), (_gst_value_initialize):
15170         * gst/gstvalue.h:
15171           GstElement::new-pad -> pad-added, GstElement::state-change ->
15172           state-changed, GstValueFixedList -> GstValueArray, add format and
15173           flags as their own arguments in gst_element_seek() (should improve
15174           "bindeability"), remove function generators since they don't work
15175           under a whole bunch of compilers (they were deprecated already
15176           anyway).
15177
15178 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15179
15180         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15181         (_gst_debug_register_funcptr):
15182         * gst/gstinfo.h:
15183           Fix illegal cast on some platforms (#309253).
15184
15185 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15186
15187         * gst/gstmessage.c: (gst_message_new_custom):
15188         * gst/gstmessage.h:
15189           Add _new_custom, make _new_application a macro to _new_custom.
15190
15191 2005-07-20  Wim Taymans  <wim@fluendo.com>
15192
15193         * gst/base/gstbasesrc.c: (gst_base_src_init),
15194         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15195         * gst/base/gstbasesrc.h:
15196         Add a gboolean to decide when to push out a discont.
15197
15198         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15199         (gst_queue_loop), (gst_queue_handle_src_query),
15200         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
15201         (gst_queue_set_property), (gst_queue_get_property):
15202         Some cleanups.
15203
15204         * tests/threadstate/threadstate1.c: (main):
15205         Make a thread test compile and run... very silly..
15206
15207
15208 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15209
15210         * docs/manual/appendix-porting.xml:
15211           Mention removal of libgstgconf-0.9.la and existence of gconf
15212           elements.
15213
15214 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15215
15216         * docs/pwg/advanced-clock.xml:
15217         * docs/pwg/appendix-porting.xml:
15218         * docs/pwg/intro-preface.xml:
15219         * docs/pwg/other-base.xml:
15220         * docs/pwg/other-manager.xml:
15221         * docs/pwg/other-nton.xml:
15222         * docs/pwg/other-ntoone.xml:
15223         * docs/pwg/other-oneton.xml:
15224         * docs/pwg/pwg.xml:
15225           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
15226           demuxer), remove n-to-n (was never written), fix some code examples
15227           and links and update the porting section to include all this.
15228
15229 2005-07-19  Wim Taymans  <wim@fluendo.com>
15230
15231         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
15232         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
15233         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
15234         (gst_queue_src_activate_push), (gst_queue_change_state),
15235         (gst_queue_get_property):
15236         * gst/gstqueue.h:
15237         Propagate GstFlowReturn more intelligently upstream and output
15238         an ERROR/EOS when streaming stopped due to fatal error.
15239
15240 2005-07-19  Wim Taymans  <wim@fluendo.com>
15241
15242         * tools/gst-launch.c: (check_intr), (event_loop), (main):
15243         Don't block forever for the state change to complete, the
15244         pipeline already did with a sensible timeout.
15245
15246 2005-07-19  Wim Taymans  <wim@fluendo.com>
15247
15248         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15249         Make sure we never call the create function is we
15250         got deactivated.
15251
15252 2005-07-19  Andy Wingo  <wingo@pobox.com>
15253
15254         * gst/parse/parse.l: Attempt to solve bug #172815.
15255
15256 2005-07-19  Wim Taymans  <wim@fluendo.com>
15257
15258         * docs/design/part-clocks.txt:
15259         * docs/design/part-events.txt:
15260         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
15261         Small docs updates.
15262         Only update the seeking values when we are not
15263         busy streaming.
15264
15265 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
15266
15267         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15268           Oops, ignore the result of gst_pad_push_event here.
15269
15270 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
15271
15272         * gst/base/gstbasesrc.c: (gst_base_src_loop),
15273         (gst_base_src_activate_push):
15274           Send discont event from the loop function, as pads
15275           aren't activated yet in the activate_push handler.
15276
15277         * gst/gstbin.c: (bin_bus_handler):
15278           Don't leak element name.
15279
15280 2005-07-18  Andy Wingo  <wingo@pobox.com>
15281
15282         * configure.ac: Use AS_LIBTOOL_TAGS.
15283
15284 2005-07-18  Wim Taymans  <wim@fluendo.com>
15285
15286         * docs/gst/gstreamer.types:
15287         Remove deleted types.
15288
15289 2005-07-18  Wim Taymans  <wim@fluendo.com>
15290
15291         * check/elements/gstfakesrc.c: (GST_START_TEST):
15292         * configure.ac:
15293         * gst/Makefile.am:
15294         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
15295         (init_popt_callback):
15296         * gst/gst.h:
15297         * gst/gst_private.h:
15298         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
15299         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
15300         * gst/gstbin.h:
15301         * gst/gstbus.h:
15302         * gst/gstconfig.h.in:
15303         * gst/gstelement.c: (gst_element_class_init),
15304         (gst_element_set_base_time), (gst_element_get_base_time),
15305         (iterator_fold_with_resync), (gst_element_change_state),
15306         (gst_element_dispose), (gst_element_get_bus):
15307         * gst/gstelement.h:
15308         * gst/gstelementfactory.h:
15309         * gst/gsterror.c: (_gst_core_errors_init):
15310         * gst/gsterror.h:
15311         * gst/gstevent.h:
15312         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15313         * gst/gstindex.c:
15314         * gst/gstinfo.c: (_gst_debug_init):
15315         * gst/gstmessage.c: (_gst_message_copy):
15316         * gst/gstmessage.h:
15317         * gst/gstminiobject.h:
15318         * gst/gstobject.c:
15319         * gst/gstobject.h:
15320         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15321         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
15322         * gst/gstpad.h:
15323         * gst/gstparse.h:
15324         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
15325         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15326         (gst_pipeline_get_last_stream_time):
15327         * gst/gstpipeline.h:
15328         * gst/gstpluginfeature.h:
15329         * gst/gstquery.h:
15330         * gst/gstscheduler.c:
15331         * gst/gstscheduler.h:
15332         * gst/gststructure.h:
15333         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
15334         (gst_task_finalize), (gst_task_func), (gst_task_create),
15335         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
15336         (gst_task_stop), (gst_task_pause):
15337         * gst/gsttask.h:
15338         * gst/gsttypefind.h:
15339         * gst/gsttypes.h:
15340         * gst/registries/gstlibxmlregistry.c: (load_feature),
15341         (gst_xml_registry_load), (gst_xml_registry_save_feature):
15342         * gst/registries/gstxmlregistry.c:
15343         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
15344         * gst/schedulers/threadscheduler.c:
15345         * libs/gst/control/dparammanager.h:
15346         * tools/gst-inspect.c: (print_element_list),
15347         (print_plugin_features), (print_element_features):
15348         * tools/gst-xmlinspect.c: (print_element_list),
15349         (print_plugin_info), (main):
15350         Removed plugable schedulers.
15351         Removed Scheduler/Manager from elements.
15352         Removed gsttypes.h, rearranged includes.
15353         Removed dependency pad<->element, element<>pipeline, and
15354         various others,  fix includes.
15355         implement gst_pad_get_parent() with gst_object_get_parent()
15356         Make GstTask sefcontained.
15357         Fix _get_state() on GstBin, it did not return ASYNC with a 0
15358         timeout.
15359         Fix endless loop in iterator_fold_with_resync.
15360
15361
15362 2005-07-18  Wim Taymans  <wim@fluendo.com>
15363
15364         * gst/Makefile.am:
15365         * gst/gstarch.h:
15366         Remove old file.
15367
15368 2005-07-18  Wim Taymans  <wim@fluendo.com>
15369
15370         * gst/Makefile.am:
15371         No more cothreads.h
15372
15373 2005-07-18  Wim Taymans  <wim@fluendo.com>
15374
15375         * gst/cothreads.c:
15376         * gst/cothreads.h:
15377         Let's remove these.
15378
15379 2005-07-18  Wim Taymans  <wim@fluendo.com>
15380
15381         * docs/design/part-dynamic.txt:
15382         * docs/design/part-events.txt:
15383         * docs/design/part-seeking.txt:
15384         Some more docs in the works.
15385
15386         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15387         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
15388         (gst_base_transform_setcaps), (gst_base_transform_get_size),
15389         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
15390         (gst_base_transform_handle_buffer),
15391         (gst_base_transform_sink_activate_push),
15392         (gst_base_transform_src_activate_pull),
15393         (gst_base_transform_set_passthrough),
15394         (gst_base_transform_is_passthrough):
15395         Refcounting fixes.
15396
15397         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
15398         Cleanups.
15399
15400         * gst/gstevent.c: (gst_event_finalize):
15401         Set SRC to NULL.
15402
15403         * gst/gstutils.c: (gst_element_unlink),
15404         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
15405         (gst_pad_proxy_setcaps):
15406         * gst/gstutils.h:
15407         Add _get_parent_element() to get a pads parent as an element.
15408
15409 2005-07-18  Wim Taymans  <wim@fluendo.com>
15410
15411         * check/gst/gstbin.c: (GST_START_TEST):
15412         Remove bogus test.
15413
15414 2005-07-18  Wim Taymans  <wim@fluendo.com>
15415
15416         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
15417         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
15418         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
15419         (gst_base_sink_event), (gst_base_sink_do_sync),
15420         (gst_base_sink_chain), (gst_base_sink_loop),
15421         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
15422         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
15423         Refcounting fixes.
15424         Fix logic for returning ASYNC when not prerolled.
15425
15426 2005-07-18  Wim Taymans  <wim@fluendo.com>
15427
15428         * gst/gstqueue.c: (gst_queue_handle_sink_event):
15429         Fix nasty refcount bug.
15430
15431 2005-07-16 Philippe Khalaf <burger@speedy.org>
15432
15433         * gst/elements/gstfdsrc.c:
15434         * gst/elements/gstfdsrc.h:
15435         * gst/elements/gstelements.c:
15436         * gst/elements/Makefile.am:
15437         Ported fdsrc to 0.9.
15438
15439 2005-07-16  Wim Taymans  <wim@fluendo.com>
15440
15441         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15442         (gst_base_sink_do_sync):
15443         Fix compile error.
15444
15445 2005-07-16  Wim Taymans  <wim@fluendo.com>
15446
15447         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15448         (gst_base_sink_event), (gst_base_sink_get_times),
15449         (gst_base_sink_do_sync), (gst_base_sink_change_state):
15450         * gst/base/gstbasesink.h:
15451         Store and use discont values when syncing buffers as described
15452         in design docs.
15453         
15454         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15455         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
15456         (gst_base_src_activate_push):
15457         Push discont event when starting.
15458
15459         * gst/elements/gstidentity.c: (gst_identity_transform):
15460         Small cleanups.
15461
15462         * gst/gstbin.c: (gst_bin_change_state):
15463         Small cleanups in base_time  distribution.
15464
15465         * gst/gstelement.c: (gst_element_set_base_time),
15466         (gst_element_get_base_time), (gst_element_change_state):
15467         * gst/gstelement.h:
15468         Added methods for the base_time of the element.
15469         Some MT fixes.
15470
15471         * gst/gstpipeline.c: (gst_pipeline_send_event),
15472         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15473         (gst_pipeline_get_last_stream_time):
15474         * gst/gstpipeline.h:
15475         MT fixes.
15476         Handle seeking as described in design doc, remove stream_time
15477         hack.
15478         Cleanups clock and stream_time selection code. Added accessors
15479         for the stream_time.
15480         
15481
15482 2005-07-16  Andy Wingo  <wingo@pobox.com>
15483
15484         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
15485         (#305291).
15486
15487 2005-07-16  Wim Taymans  <wim@fluendo.com>
15488
15489         * check/gst/gstbin.c: (GST_START_TEST):
15490         Make elements silent as the deep_notify refs the
15491         parent, which might make the test fail.
15492
15493         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15494         Don't hold the lock for too long.
15495
15496 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
15497
15498         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15499           Don't unref the caps we passed to gst_caps_make_writable() after
15500           passing them. gst_caps_make_writable() will do that for us.
15501
15502 2005-07-15  Andy Wingo  <wingo@pobox.com>
15503
15504         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
15505         (#157311).
15506
15507         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
15508         own marshalling function for the handoff signal. Properly type the
15509         buffer as a buffer. Fixes some warnings. Should do a more general
15510         solution.
15511         (gst_identity_class_init): Plug into the right marshaller.
15512
15513 2005-07-15  Wim Taymans  <wim@fluendo.com>
15514
15515         * docs/design/part-TODO.txt:
15516         * docs/design/part-clocks.txt:
15517         * docs/design/part-element-sink.txt:
15518         * docs/design/part-events.txt:
15519         * docs/design/part-gstpipeline.txt:
15520         Updated docs, mostly DISCONT related.
15521
15522 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
15523
15524         * docs/pwg/building-pads.xml:
15525           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
15526
15527 2005-07-15  Andy Wingo  <wingo@pobox.com>
15528
15529         * tools/gst-typefind.c: Update, add copyright block.
15530
15531         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
15532         Normalize and truncate caps before fixation.
15533
15534         * gst/gstcaps.h:
15535         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
15536         discards all but the first structure from its argument.
15537
15538 2005-07-15  Wim Taymans  <wim@fluendo.com>
15539
15540         * gst/base/gstbasetransform.c: (gst_base_transform_init),
15541         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
15542         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15543         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15544         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
15545         (gst_base_transform_chain), (gst_base_transform_change_state),
15546         (gst_base_transform_set_passthrough),
15547         (gst_base_transform_is_passthrough):
15548         * gst/base/gstbasetransform.h:
15549         Make passthrough work using the bufferpools.
15550         Changed API a bit, subclasses have to write into a buffer
15551         provided by the base class.
15552         More debug info in nego functions.
15553         
15554         * gst/elements/gstidentity.c: (gst_identity_init),
15555         (gst_identity_transform):
15556         Port to new base class.
15557
15558 2005-07-15  Wim Taymans  <wim@fluendo.com>
15559
15560         * gst/gstmessage.c: (gst_message_new_state_changed):
15561         * tools/gst-launch.c: (event_loop), (main):
15562         Totally dump messages in -launch with the -m option.
15563         Fix message name for State messages,
15564
15565 2005-07-14  Wim Taymans  <wim@fluendo.com>
15566
15567         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15568         Post error messages on errors.
15569
15570 2005-07-14  Wim Taymans  <wim@fluendo.com>
15571
15572         * gst/gstcaps.c: (gst_caps_do_simplify):
15573         Remove debug info.
15574
15575         * gst/gsterror.h:
15576         Define error for stream stopped.
15577
15578         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15579         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
15580         Do proper return values.
15581
15582         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15583         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
15584         (gst_pad_get_range):
15585         Better return values.
15586
15587         * gst/gstpad.h:
15588         Reorganise return values, add macro to check for fatal errors.
15589
15590         * gst/gstqueue.c: (gst_queue_chain):
15591         Return proper GstFlowReturn values,
15592
15593 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
15594
15595         * docs/gst/gstreamer-sections.txt:
15596         * docs/gst/gstreamer.types:
15597         * docs/gst/tmpl/gst.sgml:
15598         * docs/gst/tmpl/gstbasesink.sgml:
15599         * docs/gst/tmpl/gstbasesrc.sgml:
15600         * docs/gst/tmpl/gstbasetransform.sgml:
15601         * docs/gst/tmpl/gstbin.sgml:
15602         * docs/gst/tmpl/gstbuffer.sgml:
15603         * docs/gst/tmpl/gstcaps.sgml:
15604         * docs/gst/tmpl/gstclock.sgml:
15605         * docs/gst/tmpl/gstcompat.sgml:
15606         * docs/gst/tmpl/gstconfig.sgml:
15607         * docs/gst/tmpl/gstelement.sgml:
15608         * docs/gst/tmpl/gstelementdetails.sgml:
15609         * docs/gst/tmpl/gstelementfactory.sgml:
15610         * docs/gst/tmpl/gstenumtypes.sgml:
15611         * docs/gst/tmpl/gsterror.sgml:
15612         * docs/gst/tmpl/gstevent.sgml:
15613         * docs/gst/tmpl/gstfakesink.sgml:
15614         * docs/gst/tmpl/gstfakesrc.sgml:
15615         * docs/gst/tmpl/gstfilesink.sgml:
15616         * docs/gst/tmpl/gstfilesrc.sgml:
15617         * docs/gst/tmpl/gstfilter.sgml:
15618         * docs/gst/tmpl/gstformat.sgml:
15619         * docs/gst/tmpl/gstghostpad.sgml:
15620         * docs/gst/tmpl/gstimplementsinterface.sgml:
15621         * docs/gst/tmpl/gstindex.sgml:
15622         * docs/gst/tmpl/gstindexfactory.sgml:
15623         * docs/gst/tmpl/gstinfo.sgml:
15624         * docs/gst/tmpl/gstiterator.sgml:
15625         * docs/gst/tmpl/gstmacros.sgml:
15626         * docs/gst/tmpl/gstmemchunk.sgml:
15627         * docs/gst/tmpl/gstminiobject.sgml:
15628         * docs/gst/tmpl/gstobject.sgml:
15629         * docs/gst/tmpl/gstpad.sgml:
15630         * docs/gst/tmpl/gstpadtemplate.sgml:
15631         * docs/gst/tmpl/gstparse.sgml:
15632         * docs/gst/tmpl/gstpipeline.sgml:
15633         * docs/gst/tmpl/gstplugin.sgml:
15634         * docs/gst/tmpl/gstpluginfeature.sgml:
15635         * docs/gst/tmpl/gstquery.sgml:
15636         * docs/gst/tmpl/gstqueue.sgml:
15637         * docs/gst/tmpl/gstregistry.sgml:
15638         * docs/gst/tmpl/gstregistrypool.sgml:
15639         * docs/gst/tmpl/gstscheduler.sgml:
15640         * docs/gst/tmpl/gstschedulerfactory.sgml:
15641         * docs/gst/tmpl/gststructure.sgml:
15642         * docs/gst/tmpl/gstsystemclock.sgml:
15643         * docs/gst/tmpl/gsttaglist.sgml:
15644         * docs/gst/tmpl/gsttagsetter.sgml:
15645         * docs/gst/tmpl/gsttrace.sgml:
15646         * docs/gst/tmpl/gsttrashstack.sgml:
15647         * docs/gst/tmpl/gsttypefind.sgml:
15648         * docs/gst/tmpl/gsttypefindfactory.sgml:
15649         * docs/gst/tmpl/gsttypes.sgml:
15650         * docs/gst/tmpl/gsturihandler.sgml:
15651         * docs/gst/tmpl/gsturitype.sgml:
15652         * docs/gst/tmpl/gstutils.sgml:
15653         * docs/gst/tmpl/gstvalue.sgml:
15654         * docs/gst/tmpl/gstversion.sgml:
15655         * docs/gst/tmpl/gstxml.sgml:
15656         * docs/libs/tmpl/gstcontrol.sgml:
15657         * docs/libs/tmpl/gstdataprotocol.sgml:
15658         * docs/libs/tmpl/gstdparam.sgml:
15659         * docs/libs/tmpl/gstdplinint.sgml:
15660         * docs/libs/tmpl/gstdpman.sgml:
15661         * docs/libs/tmpl/gstdpsmooth.sgml:
15662         * docs/libs/tmpl/gstgetbits.sgml:
15663         * docs/libs/tmpl/gstunitconvert.sgml:
15664         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
15665         (gst_push_src_base_init), (gst_push_src_class_init),
15666         (gst_push_src_init), (gst_push_src_create):
15667         * gst/base/gstpushsrc.h:
15668         * gst/elements/gstelements.c:
15669         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
15670         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
15671         (gst_fake_sink_init), (gst_fake_sink_set_property),
15672         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
15673         (gst_fake_sink_event), (gst_fake_sink_preroll),
15674         (gst_fake_sink_render), (gst_fake_sink_change_state):
15675         * gst/elements/gstfakesink.h:
15676         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15677         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
15678         (gst_fake_src_base_init), (gst_fake_src_class_init),
15679         (gst_fake_src_init), (gst_fake_src_event_handler),
15680         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
15681         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
15682         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
15683         (gst_fake_src_create_buffer), (gst_fake_src_create),
15684         (gst_fake_src_start), (gst_fake_src_stop):
15685         * gst/elements/gstfakesrc.h:
15686         * gst/elements/gstfilesink.c: (_do_init),
15687         (gst_file_sink_base_init), (gst_file_sink_class_init),
15688         (gst_file_sink_init), (gst_file_sink_dispose),
15689         (gst_file_sink_set_location), (gst_file_sink_set_property),
15690         (gst_file_sink_get_property), (gst_file_sink_open_file),
15691         (gst_file_sink_close_file), (gst_file_sink_query),
15692         (gst_file_sink_event), (gst_file_sink_render),
15693         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
15694         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
15695         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
15696         * gst/elements/gstfilesink.h:
15697         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
15698         (gst_file_src_class_init), (gst_file_src_init),
15699         (gst_file_src_finalize), (gst_file_src_set_location),
15700         (gst_file_src_set_property), (gst_file_src_get_property),
15701         (gst_file_src_map_region), (gst_file_src_map_small_region),
15702         (gst_file_src_create_mmap), (gst_file_src_create_read),
15703         (gst_file_src_create), (gst_file_src_is_seekable),
15704         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
15705         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
15706         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
15707         (gst_file_src_uri_handler_init):
15708         * gst/elements/gstfilesrc.h:
15709           more autistic cleanliness in functions/names/defines
15710
15711 2005-07-13  Andy Wingo  <wingo@pobox.com>
15712
15713         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
15714         source couldn't negotiate.
15715
15716         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
15717         connections again.
15718
15719         * gst/gstutils.h:
15720         * gst/gstutils.c (gst_element_link_pads_filtered): New old
15721         function. I am channeling Hades. Put your boots on suckers!!!
15722
15723 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15724
15725         * testsuite/caps/Makefile.am:
15726         * testsuite/caps/value_compare.c:
15727         * testsuite/caps/value_intersect.c:
15728         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15729           move two testsuite apps over to the check dir
15730
15731 2005-07-12  Wim Taymans  <wim@fluendo.com>
15732
15733         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15734         Added more debug info in the negotiate process.
15735
15736         * gst/gstmessage.h:
15737         Prepare for segment playback.
15738
15739         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
15740         Better debugging.
15741
15742         * gst/gstutils.c:
15743         Some more docs.
15744
15745         * tools/gst-launch.c: (main):
15746         NULL pipeline on errors.
15747
15748 2005-07-12  Andy Wingo  <wingo@pobox.com>
15749
15750         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
15751         not it comes from a malloc region. Make sure our copy gets freed.
15752
15753 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15754
15755         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15756         * check/gst/gstmessage.c: (GST_START_TEST):
15757         * check/gst/gststructure.c: (GST_START_TEST),
15758         (gst_structure_suite), (main):
15759           more testing
15760         * gst/gstelement.c: (gst_element_message_full):
15761           clean up GError and debug string now that they get copied
15762         * gst/gstmessage.c: (gst_message_new_error),
15763         (gst_message_new_warning), (gst_message_parse_error),
15764         (gst_message_parse_warning):
15765           use GST_TYPE_G_ERROR for structure_new, and take copies of
15766           arguments, so that we don't mess up refcounting
15767
15768 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15769
15770         * check/Makefile.am:
15771           add per-test valgrind targets
15772         * check/gst-libs/gdp.c: (GST_START_TEST),
15773         (gst_data_protocol_suite), (main):
15774           clean up
15775
15776 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15777
15778         * check/Makefile.am:
15779           instate more valgrindable tests
15780         * check/elements/gstfakesrc.c: (chain_func), (event_func),
15781         (GST_START_TEST), (fakesrc_suite):
15782         * check/gst/gstpad.c: (GST_START_TEST):
15783         * check/gst/gststructure.c: (GST_START_TEST):
15784           fix test leaks
15785         * docs/gst/tmpl/gstminiobject.sgml:
15786         * gst/gstpad.c: (gst_pad_finalize):
15787           fix the static mutex leak
15788
15789 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15790
15791         * check/Makefile.am:
15792           add two more tests for valgrinding
15793         * check/gst/gstvalue.c: (GST_START_TEST):
15794           test refcount of deserialized buffer, found a leak
15795         * docs/gst/gstreamer-docs.sgml:
15796         * docs/gst/gstreamer-sections.txt:
15797         * docs/gst/gstreamer.types:
15798         * docs/gst/tmpl/gstminiobject.sgml:
15799           add miniobject to docs
15800         * gst/gstminiobject.c:
15801           add some docs
15802         * gst/gstvalue.c: (gst_value_deserialize_buffer),
15803         (gst_string_unwrap):
15804           fix a hard-to-find invalid write for one of the tests
15805           fix a leak for deserialized buffers
15806
15807 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15808
15809         * docs/pwg/advanced-events.xml:
15810         * docs/pwg/advanced-request.xml:
15811         * docs/pwg/advanced-scheduling.xml:
15812         * docs/pwg/appendix-porting.xml:
15813         * docs/pwg/building-boiler.xml:
15814         * docs/pwg/intro-preface.xml:
15815         * docs/pwg/other-ntoone.xml:
15816           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
15817           of example code and explanation for pad activation, loop() and
15818           getrange() functions and a bit more. Remove old comments pointing
15819           to loop-functions.
15820         * examples/pwg/Makefile.am:
15821           Add loop/getrange examples.
15822
15823 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15824
15825         * configure.ac:
15826           check for valgrind binary + some fixes
15827         * check/gst.supp:
15828           valgrind suppressions for the tests
15829         * check/Makefile.am:
15830           add a valgrind: target that valgrinds the unit tests
15831         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
15832         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
15833         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15834         * check/gst/gstghostpad.c:
15835           added some cleanup
15836         * check/gst/gstdata.c:
15837           removed
15838         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
15839         (thread_unref), (gst_mini_object_suite), (main):
15840           added
15841         * gst/gst.c: (gst_deinit):
15842         * gst/gst.h:
15843           add a method to clean up.
15844         * gst/gstsystemclock.c: (gst_system_clock_dispose),
15845         (gst_system_clock_obtain):
15846           allow for disposing the system clock.
15847         * tools/gst-launch.c: (main):
15848           deinit
15849
15850 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15851
15852         * docs/gst/tmpl/gstbasesrc.sgml:
15853         * docs/gst/tmpl/gstfakesrc.sgml:
15854         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15855         (gst_base_src_init), (gst_base_src_set_property),
15856         (gst_base_src_get_property), (gst_base_src_get_range),
15857         (gst_base_src_start):
15858         * gst/base/gstbasesrc.h:
15859           add num-buffers property
15860         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
15861         (gst_fakesrc_init), (gst_fakesrc_set_property),
15862         (gst_fakesrc_get_property), (gst_fakesrc_create),
15863         (gst_fakesrc_start):
15864           remove num-buffers property
15865
15866 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15867
15868         * docs/gst/gstreamer-sections.txt:
15869         * docs/gst/tmpl/gstbasesink.sgml:
15870         * docs/gst/tmpl/gstbasesrc.sgml:
15871         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
15872         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
15873         (gst_base_sink_finalize), (gst_base_sink_set_clock),
15874         (gst_base_sink_set_property), (gst_base_sink_get_property),
15875         (gst_base_sink_handle_object), (gst_base_sink_event),
15876         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15877         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
15878         (gst_base_sink_loop), (gst_base_sink_deactivate),
15879         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
15880         (gst_base_sink_change_state):
15881         * gst/base/gstbasesink.h:
15882         * gst/base/gstbasesrc.h:
15883         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
15884         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
15885         (gst_filesink_init):
15886           more macro splitting
15887
15888 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15889
15890         * gst/gstelement.c: (gst_element_get_bus):
15891           add debug
15892         * tools/gst-launch.c: (check_intr), (event_loop):
15893           fix bus leaks
15894
15895 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15896
15897         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15898           fix a caps leak
15899
15900 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15901
15902         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15903         (gst_base_src_finalize):
15904           add finalize method and clean up properly
15905         * gst/gstpipeline.c: (gst_pipeline_dispose):
15906           add debug
15907
15908 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
15909
15910         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
15911         (gst_bin_suite):
15912           add more things to check
15913         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
15914         * gst/gstelement.c:
15915           more debug
15916
15917 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
15918
15919         * check/elements/gstfakesrc.c: (chain_func), (event_func),
15920         (GST_START_TEST), (fakesrc_suite):
15921         * check/gst-libs/gdp.c: (GST_START_TEST):
15922         * check/gst/gst.c: (GST_START_TEST):
15923         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15924         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15925         * check/gst/gstbus.c: (GST_START_TEST):
15926         * check/gst/gstcaps.c: (GST_START_TEST):
15927         * check/gst/gstdata.c: (GST_START_TEST):
15928         * check/gst/gstelement.c: (GST_START_TEST):
15929         * check/gst/gstghostpad.c: (GST_START_TEST):
15930         * check/gst/gstiterator.c: (GST_START_TEST):
15931         * check/gst/gstmessage.c: (GST_START_TEST):
15932         * check/gst/gstobject.c: (GST_START_TEST):
15933         * check/gst/gstpad.c: (GST_START_TEST):
15934         * check/gst/gststructure.c: (GST_START_TEST):
15935         * check/gst/gstsystemclock.c: (GST_START_TEST),
15936         (gst_systemclock_suite):
15937         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
15938         * check/gst/gstvalue.c: (GST_START_TEST):
15939         * check/pipelines/cleanup.c: (GST_START_TEST):
15940         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15941         * check/states/sinks.c: (GST_START_TEST):
15942         * check/gstcheck.c: (gst_check_init):
15943         * check/gstcheck.h:
15944           add debugging category
15945           use GST_START_TEST now, so we add a debug line
15946
15947 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
15948
15949         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
15950           add test for state change message on a bin
15951         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
15952           add another test
15953         * gst/gstbin.c: (gst_bin_init):
15954         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
15955         * gst/gstelement.c: (gst_element_post_message),
15956         (gst_element_set_state):
15957         * gst/gstelementfactory.c: (gst_element_factory_create):
15958         * gst/gstmessage.c: (gst_message_new):
15959         * gst/gstscheduler.c:
15960           various debugging additions and cleanups
15961
15962 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15963
15964         * check/Makefile.am:
15965         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
15966         (main):
15967           adding tests for elements
15968         * gst/gstelement.c: (gst_element_dispose):
15969
15970 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15971
15972         * gst/registries/gstlibxmlregistry.c: (load_feature):
15973           plug more leaks.  A simple gst_init() now is leakfree, yay.
15974
15975 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15976
15977         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
15978         (gst_xml_registry_load):
15979           plug another memleak
15980
15981 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15982
15983         * configure.ac:
15984           use GST_SET_ERROR_CFLAGS
15985         * docs/faq/cvs.xml:
15986           change to ERROR_CFLAGS
15987
15988 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15989
15990         * configure.ac:
15991           make GST_ERROR_CFLAGS overridable and re-enable Werror
15992         * docs/faq/cvs.xml:
15993           add a note about error CFLAGS
15994         * docs/gst/tmpl/gstfakesrc.sgml:
15995         * gst/elements/gstfakesrc.c:
15996           comment out some unused code
15997         * gst/gst.c: (split_and_iterate):
15998         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
15999         (load_feature):
16000           plug some memleaks
16001
16002 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16003
16004         * common/Makefile.am:
16005         * common/gtk-doc.mak:
16006         * docs/gst/Makefile.am:
16007           factor out gtk-doc.mak
16008
16009 2005-07-07  Wim Taymans  <wim@fluendo.com>
16010
16011         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
16012         (gst_thread_scheduler_dispose):
16013         Unlock the STREAM_LOCK completely.
16014
16015 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16016
16017         * check/Makefile.am:
16018         * check/elements/.cvsignore:
16019         * check/elements/gstfakesrc.c: (chain_func), (event_func),
16020         (START_TEST), (fakesrc_suite), (main):
16021         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16022         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16023         (gst_fakesrc_create), (gst_fakesrc_start):
16024         * gst/elements/gstfakesrc.h:
16025           adding a first element test
16026
16027 2005-07-07  Andy Wingo  <wingo@pobox.com>
16028
16029         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
16030         debug message.
16031
16032 2005-07-07  Wim Taymans  <wim@fluendo.com>
16033
16034         * gst/gstquery.c:
16035         * gst/gstquery.h:
16036         Remove old types
16037
16038 2005-07-07  Wim Taymans  <wim@fluendo.com>
16039
16040         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
16041         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
16042         Allow subclasses to implement their own negotiation.
16043
16044 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16045
16046         * docs/design/part-gstbin.txt:
16047         * docs/design/part-gstpipeline.txt:
16048           Update design notes to reflect the movement of
16049           responsibility for bus handling from GstPipeline to
16050           GstBin
16051
16052 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16053
16054         * configure.ac:
16055           Remove unnecessary queue2/3/4 examples.
16056
16057 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16058
16059         * examples/Makefile.am:
16060         * examples/helloworld/helloworld.c: (event_loop), (main):
16061         * examples/queue/queue.c: (event_loop), (main):
16062         * examples/queue2/queue2.c: (main):
16063           Update a couple of the examples to work again.
16064
16065         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16066         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
16067          Spelling corrections and extra debug.
16068         
16069         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
16070         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
16071         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
16072         * gst/gstbin.h:
16073         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16074         (gst_pipeline_change_state):
16075         * gst/gstpipeline.h:
16076           Move the bus handler for children to the GstBin, and create a
16077           separate bus for receiving messages from children to the one the
16078           bus sends 'upwards' on.
16079
16080 2005-07-06  Wim Taymans  <wim@fluendo.com>
16081
16082         * gst/base/README:
16083         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16084         (gst_base_sink_handle_object), (gst_base_sink_loop),
16085         (gst_base_sink_change_state):
16086         * gst/base/gstbasesink.h:
16087         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16088         (gst_base_src_init), (gst_base_src_setcaps),
16089         (gst_base_src_getcaps), (gst_base_src_loop),
16090         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
16091         (gst_base_src_start), (gst_base_src_change_state):
16092         * gst/base/gstbasesrc.h:
16093         Make basesrc negotiate.
16094         Handle the case where preroll fails in basesink.
16095         Update README.
16096
16097 2005-07-06  Wim Taymans  <wim@fluendo.com>
16098
16099         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
16100         Implement the fixate function.
16101         Clean up acceptcaps.
16102
16103 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16104
16105         * docs/pwg/building-filterfactory.xml:
16106         * docs/pwg/pwg.xml:
16107           Remove never-written filter-factory chapter; I'll add the various
16108           base classes to part 4 ("other element types") later on.
16109
16110 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16111
16112         * docs/pwg/advanced-negotiation.xml:
16113         * docs/pwg/building-boiler.xml:
16114         * docs/pwg/building-pads.xml:
16115         * docs/pwg/pwg.xml:
16116         * examples/pwg/Makefile.am:
16117           Add a chapter on caps negotiation, simplify the original code
16118           samples a bit w.r.t. caps negotiation, add link to the advanced
16119           section. Add a bunch of examples showing different use cases of
16120           different types of caps negotiation. Upstream renegotiation isn't
16121           fully documented yet since nobody knows how that works.
16122
16123 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16124
16125         * check/gst/gstpad.c:
16126         * check/gstcheck.c:
16127         * gst/gstpad.c: (gst_pad_get_internal_links_default):
16128           if pad has no parent, return NULL as list of internal links
16129
16130 2005-07-05  Andy Wingo  <wingo@pobox.com>
16131
16132         * gst/elements/gstfilesrc.c:
16133         * gst/elements/gstfakesrc.c: 
16134         * gst/base/gstpushsrc.c:
16135         * gst/base/gstbasesrc.h: 
16136         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
16137         
16138 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
16139
16140         * Makefile.am:
16141           better report generation target (lcov needs a patch)
16142
16143 2005-07-05  Andy Wingo  <wingo@pobox.com>
16144
16145         * gst/elements, testsuite: Null if we got it...
16146
16147 2005-07-05  Wim Taymans  <wim@fluendo.com>
16148
16149         * configure.ac:
16150         * libs/gst/dataprotocol/Makefile.am:
16151         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
16152         * libs/gst/dataprotocol/dataprotocol.h:
16153         * pkgconfig/Makefile.am:
16154         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
16155         * pkgconfig/gstreamer-dataprotocol.pc.in:
16156         Ported dataprotol to 0.9. 
16157         Added pkgconfig files.
16158
16159 2005-07-05  Andy Wingo  <wingo@pobox.com>
16160
16161         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
16162         Default to returning TRUE for the case when tranform_caps returns
16163         a fixed caps, like for identity or volume.
16164
16165         * check/gst/gstbus.c (pound_bus_with_messages): 
16166         * check/gst/gstmessage.c (START_TEST): 
16167         * check/pipelines/simple_launch_lines.c (got_handoff): Application
16168         message API change.
16169
16170         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
16171         logic weaks here: always run transform_caps, trying passthrough
16172         operation only if the original caps intersects with the transform.
16173
16174         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
16175         source and sink caps.
16176
16177         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
16178         Intersect the peer caps with the pad template before going into
16179         transform_caps.
16180         (gst_base_transform_transform_caps): More debugging.
16181
16182         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
16183         src argument.
16184
16185 2005-07-04  Edward Hervey  <edward@fluendo.com>
16186
16187         * gst/gstutils.c:
16188         * gst/gstutils.h:
16189         (gst_pad_add_*_probe): now returns the signal id for better wrapping
16190         in bindings.
16191
16192 2005-07-04  Andy Wingo  <wingo@pobox.com>
16193
16194         * check/gst/gstpad.c: Only set explicit caps on pads.
16195
16196 2005-07-01  Andy Wingo  <wingo@pobox.com>
16197
16198         * tests/network-clock.scm: Commentary update.
16199
16200         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
16201         Didn't really make sense, not implementable with basetransform,
16202         etc.
16203         (gst_identity_transform): Unref inbuf via make_writable. Feeble
16204         attempt at implementing the sync property, needs an unlock method.
16205
16206         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
16207         New func, by default returns the same caps (the identity
16208         transformation).
16209         (gst_base_transform_getcaps): Uses transform_caps to return
16210         something sensible.
16211         (gst_base_transform_setcaps): Complicated logic to get caps on
16212         both pads, even if they are different, and to call set_caps once
16213         for every time both pads get their caps set.
16214         (gst_base_transform_handle_buffer): Give the ref to the transform
16215         function. Allows in-place modification of the buffer.
16216
16217         * gst/base/gstbasetransform.h (transform_caps): New class method.
16218         Given caps on one side, what can I do on the other.
16219         (set_caps): Take two caps, one for each side of the element.
16220
16221         * gst/gstpad.h:
16222         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
16223         caps in place. This is safe because we can check the mutability of
16224         the caps, and a good idea because fixate functions are just called
16225         as a matter of last resort. (Not actually implemented.)
16226         (gst_pad_set_caps): If the caps we're setting is actually the same
16227         as the existing pad caps, just update the pointer without calling
16228         setcaps. Assert that caps is either NULL or fixed, as per the
16229         docs.
16230
16231         * gst/gstghostpad.c: Update for fixate changes.
16232
16233 2005-07-02  Andy Wingo  <wingo@pobox.com>
16234
16235         * gst/gstcaps.c:
16236         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
16237         two refcounts makes it immutable, which is enough. Doc more.
16238
16239 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
16240
16241         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
16242           Put the mini_object into GValue as a mini_object,
16243           not a gpointer, since that's how we declared
16244           the signal.
16245
16246 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16247
16248         * examples/pwg/Makefile.am:
16249           Fix buildbot again.
16250
16251 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16252
16253         * docs/pwg/building-testapp.xml:
16254           Add extra check.
16255         * examples/pwg/Makefile.am:
16256           Fix buildbot.
16257
16258 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16259
16260         * configure.ac:
16261         * examples/Makefile.am:
16262         * examples/pwg/Makefile.am:
16263         * examples/pwg/extract.pl:
16264           Enable building the PWG examples.
16265         * docs/pwg/advanced-interfaces.xml:
16266           Add URI interface stub.
16267         * docs/pwg/advanced-types.xml:
16268         * docs/pwg/other-autoplugger.xml:
16269         * docs/pwg/appendix-porting.xml:
16270         * docs/pwg/pwg.xml:
16271           Add porting guide (mostly stubs), remove autoplugging (see ADM).
16272         * docs/pwg/building-boiler.xml:
16273         * docs/pwg/building-chainfn.xml:
16274         * docs/pwg/building-pads.xml:
16275         * docs/pwg/building-props.xml:
16276         * docs/pwg/building-state.xml:
16277         * docs/pwg/building-testapp.xml:
16278           Update the building-*.xml parts for 0.9 changes. All examples
16279           code blocks compile in examples/pwg/*.
16280
16281 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16282
16283         * docs/manual/advanced-autoplugging.xml:
16284         * docs/manual/appendix-checklist.xml:
16285         * docs/manual/appendix-integration.xml:
16286         * docs/manual/highlevel-components.xml:
16287           Fix playbin/decodebin examples, update docs a bit, mention bus
16288           instead of signals in various places, mention kmplayer and
16289           kaffeine since they have a working GStreamer backend in the KDE
16290           section.
16291
16292 2005-06-30  Wim Taymans  <wim@fluendo.com>
16293
16294         * CHANGES-0.9:
16295         * docs/design/draft-ghostpads.txt:
16296         * docs/design/draft-push-pull.txt:
16297         * docs/design/draft-query.txt:
16298         * docs/design/part-TODO.txt:
16299         * docs/design/part-query.txt:
16300         Added CHANGES-0.9 doc, updated status of other docs.
16301         
16302         * gst/gstquery.h:
16303         Remove "hmm" macro
16304
16305 2005-06-30  Wim Taymans  <wim@fluendo.com>
16306
16307         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16308         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
16309         (gst_base_sink_change_state):
16310         * gst/base/gstbasesink.h:
16311         Some tweaks, only EOS and a buffer complete a preroll.
16312
16313 2005-06-30  Andy Wingo  <wingo@pobox.com>
16314
16315         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
16316         activate_push down to the internal pad as well.
16317
16318 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
16319
16320         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16321
16322         * gst/gsttaginterface.c:
16323           Some documentation fixes (#307394 and #307397).
16324
16325 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
16326
16327         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16328
16329         * gst/gstvalue.c: (gst_value_intersect_list):
16330           Fix memleak (#309125).
16331
16332 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16333
16334         * docs/manual/advanced-dataaccess.xml:
16335           Fix fakesrc example to compile; doesn't work, bug somewhere...?
16336         * docs/manual/basics-pads.xml:
16337           Add reference for filtered caps to above chapter.
16338
16339 2005-06-30  Wim Taymans  <wim@fluendo.com>
16340
16341         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
16342         (gst_bin_change_state):
16343         Probes are gone.
16344         Lame attempt at making the state change function a bit
16345         more readable.
16346
16347 2005-06-30  Wim Taymans  <wim@fluendo.com>
16348
16349         * docs/design/part-clocks.txt:
16350         * docs/design/part-element-sink.txt:
16351         * docs/design/part-events.txt:
16352         * docs/design/part-preroll.txt:
16353         * docs/design/part-states.txt:
16354         Some more tweeks and additions to the docs.
16355
16356 2005-06-30  Wim Taymans  <wim@fluendo.com>
16357
16358         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16359         (default_have_data), (gst_pad_class_init), (gst_pad_init),
16360         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16361         (gst_pad_check_pull_range), (gst_pad_get_range),
16362         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
16363         * gst/gstpad.h:
16364         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
16365         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16366         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16367         (gst_pad_remove_buffer_probe):
16368         Removed atomic operations, use existing LOCK.
16369         Move exception handling out of main code path.
16370
16371 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16372
16373         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16374         (silly_return_true_function), (gst_pad_class_init),
16375         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16376         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
16377         (gst_pad_send_event):
16378           Fix accumulator, add default value by using _emitv() instead
16379           of _emit() for signal emission.
16380
16381 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16382
16383         * docs/manual/advanced-dataaccess.xml:
16384         * examples/manual/Makefile.am:
16385           Add probe example.
16386         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
16387           Make work (??).
16388
16389 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
16390
16391         * gst/elements/gstfilesink.c: (gst_filesink_render):
16392           Simplify code so that we don't have to handle short
16393           writes and return GST_FLOW_ERROR if an error occured.
16394
16395 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16396
16397         * docs/gst/gstreamer-docs.sgml:
16398           Remove probes more.
16399
16400 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16401
16402         * docs/gst/gstreamer-sections.txt:
16403         * docs/gst/tmpl/gstpad.sgml:
16404         * docs/gst/tmpl/gstprobe.sgml:
16405         * gst/Makefile.am:
16406         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16407         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
16408         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
16409         (gst_pad_push_event), (gst_pad_send_event):
16410         * gst/gstpad.h:
16411         * gst/gstutils.c: (gst_pad_add_data_probe),
16412         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16413         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16414         (gst_pad_remove_buffer_probe):
16415         * gst/gstutils.h:
16416           Remove old probes, add new g-signal-based probes and some utility
16417           functions.
16418
16419 2005-06-29  Edward Hervey  <edward@fluendo.com>
16420
16421         * gst/gstelementfactory.c:
16422         * gst/gstutils.h:
16423         * gst/gstutils.c:
16424         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
16425         the definition to the header file.
16426
16427 2005-06-29  Andy Wingo  <wingo@pobox.com>
16428
16429         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
16430         plugins from the source directory.
16431
16432 2005-06-29  Wim Taymans  <wim@fluendo.com>
16433
16434         * docs/gst/tmpl/gstbuffer.sgml:
16435         * docs/gst/tmpl/gstclock.sgml:
16436         Some fixings for blantently wrong text.
16437
16438 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16439
16440         * check/Makefile.am:
16441         * gst/gst.c: (add_path_func), (init_pre):
16442         * gst/gstregistry.c: (gst_registry_add_path):
16443           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
16444           only scan the GST_PLUGIN_PATH locations, and not add
16445           system locations
16446
16447 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16448
16449         * docs/gst/gstreamer-sections.txt:
16450         * docs/gst/tmpl/gstbasesrc.sgml:
16451         * gst/gstelement.c:
16452         * gst/gstelement.h:
16453         * gst/gstevent.c:
16454         * gst/gstutils.c:
16455           doc fixes
16456
16457 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16458
16459         * docs/manual/advanced-autoplugging.xml:
16460           Fix autoplugging example.
16461
16462 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16463
16464         * docs/manual/advanced-autoplugging.xml:
16465         * docs/manual/mime-world.fig:
16466           Try to get autoplugging working, fix type detection. Fix text
16467           in hello-world image.
16468
16469 2005-06-29  Wim Taymans  <wim@fluendo.com>
16470
16471         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16472         (gst_base_sink_change_state):
16473         Small debug line.
16474
16475         * gst/gstclock.h:
16476         map SIGNAL and BROADCAST to the right function.
16477
16478         * gst/gstobject.h:
16479         Remove redundant braces.
16480
16481         * gst/gstpad.c: (gst_pad_set_caps):
16482         Don't call setcaps function when reseting caps to NULL.
16483
16484         * gst/gstsystemclock.c: (gst_system_clock_dispose),
16485         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
16486         (gst_system_clock_id_unschedule):
16487         Use BROADCAST as this is what we do.
16488
16489 2005-06-29  Wim Taymans  <wim@fluendo.com>
16490
16491         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16492         We are actually prerolling before commiting the state
16493         change. 
16494
16495 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16496
16497         * docs/manual/advanced-clocks.xml:
16498         * docs/manual/advanced-interfaces.xml:
16499         * docs/manual/advanced-metadata.xml:
16500         * docs/manual/advanced-position.xml:
16501         * docs/manual/advanced-schedulers.xml:
16502         * docs/manual/advanced-threads.xml:
16503         * docs/manual/appendix-porting.xml:
16504         * docs/manual/basics-bins.xml:
16505         * docs/manual/basics-bus.xml:
16506         * docs/manual/basics-elements.xml:
16507         * docs/manual/basics-helloworld.xml:
16508         * docs/manual/basics-pads.xml:
16509         * docs/manual/highlevel-components.xml:
16510         * docs/manual/manual.xml:
16511         * docs/manual/thread.fig:
16512           Update (until threads/scheduling) Application Development Manual;
16513           remove GstThread, add GstBus, add simple porting checklist, add
16514           documentation for tag writing, clocks, make all examples until this
16515           part compile and run.
16516         * examples/manual/Makefile.am:
16517           Update from changes to Application Development Manual; add bus
16518           example, remove thread example.
16519
16520 2005-06-28  Wim Taymans  <wim@fluendo.com>
16521
16522         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
16523         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
16524         (gst_bus_source_dispatch):
16525         Add debugging messages.
16526         Make internal methods static.
16527         Handle the case where the bus is flushed in the handler.
16528         
16529         * gst/gstelement.c: (gst_element_get_bus):
16530         Fix refcount in _get_bus();
16531
16532         * gst/gstpipeline.c: (gst_pipeline_change_state),
16533         (gst_pipeline_get_clock_func):
16534         Clock refcounting fixes.
16535         Handle the case where preroll timed out more gracefully.
16536         
16537         * gst/gstsystemclock.c: (gst_system_clock_dispose):
16538         Clean up the internal thread in dispose. This is needed
16539         for subclasses that actually get disposed.
16540         
16541         * gst/schedulers/threadscheduler.c:
16542         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
16543         (gst_thread_scheduler_dispose):
16544         Free thread pool in dispose.
16545
16546 2005-06-28  Andy Wingo  <wingo@pobox.com>
16547
16548         * tests/network-clock-utils.scm (debug, print-event): New utils.
16549
16550         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
16551         (*packet-loss*): Unified loss probability.
16552         (network-time): Report out-of-band events.
16553
16554         * tests/plot-data: Add support for out-of-band events. Hack it
16555         into this script instead of passing it down the pipe; should fix
16556         this later.
16557
16558 2005-06-28  Wim Taymans  <wim@fluendo.com>
16559
16560         * docs/gst/gstreamer.types:
16561         * docs/gst/tmpl/gstbasesrc.sgml:
16562         * docs/gst/tmpl/gstpad.sgml:
16563         Docs fixes.
16564
16565 2005-06-28  Wim Taymans  <wim@fluendo.com>
16566
16567         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16568         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
16569         (gst_proxy_pad_do_fixatecaps):
16570         Correctly proxy the check_pull_range function.
16571
16572 2005-06-28  Andy Wingo  <wingo@pobox.com>
16573
16574         * tests/network-clock.scm: Removed need for slib.
16575         
16576 2005-06-28  Wim Taymans  <wim@fluendo.com>
16577
16578         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
16579         (gst_basesink_preroll_queue_flush):
16580         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
16581         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
16582         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16583         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
16584         (gst_proxy_pad_set_property):
16585         * gst/gstpad.c:
16586         * gst/gstpad.h:
16587         * gst/gstqueue.c: (gst_queue_init):
16588         The deprecated pad loop function is removed now.
16589
16590 2005-06-28  Andy Wingo  <wingo@pobox.com>
16591
16592         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
16593         New parameters, simulate network packet loss.
16594
16595         * tests/network-clock-utils.scm: Initialize the RNG.
16596
16597 2005-06-28  Wim Taymans  <wim@fluendo.com>
16598
16599         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
16600         (gst_basesink_event), (gst_basesink_deactivate):
16601         Flushing the preroll queue always needs to unlock the waiters.
16602
16603 2005-06-28  Edward Hervey  <edward@fluendo.com>
16604
16605         * gst/gstpipeline.c: (gst_pipeline_send_event): 
16606         Wheen a seek was successful on a pipeline, set the stream_time to the
16607         seek offset in order to have a synchronized stream_time.
16608
16609 2005-06-28  Wim Taymans  <wim@fluendo.com>
16610
16611         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16612         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
16613         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
16614         (gst_proxy_pad_do_fixatecaps):
16615         Call wrapper function instead of just calling the function
16616         pointers. This takes care of any locking and whatmore.
16617
16618 2005-06-28  Wim Taymans  <wim@fluendo.com>
16619
16620         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
16621         (gst_pad_pull_range):
16622         * gst/gstpad.h:
16623         CONNECTED -> LINKED.
16624
16625 2005-06-28  Andy Wingo  <wingo@pobox.com>
16626
16627         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
16628         source-munging commit!!!
16629
16630         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
16631         (gst_object_sink): Take gpointer arguments, not GstObject --
16632         avoids casts. Like GLib.
16633
16634         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
16635         activate.
16636
16637 2005-06-27  Andy Wingo  <wingo@pobox.com>
16638
16639         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
16640         remaining buffer.
16641
16642         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
16643         returns a sorted copy of the trace list.
16644         (gst_alloc_trace_print_live): New API, only prints traces with
16645         live objects. Sort the list.
16646         (gst_alloc_trace_print_all): Sort the list.
16647         (gst_alloc_trace_print): Align columns.
16648
16649         * gst/elements/gstttypefindelement.c:
16650         * gst/elements/gsttee.c:
16651         * gst/base/gstbasesrc.c:
16652         * gst/base/gstbasesink.c:
16653         * gst/base/gstbasetransform.c:
16654         * gst/gstqueue.c: Adapt for pad activation changes.
16655
16656         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
16657         sched.
16658         (gst_pipeline_dispose): Drop ref on sched.
16659
16660         * gst/gstpad.c (gst_pad_init): Set the default activate func.
16661         (gst_pad_activate_default): Push mode by default.
16662         (pre_activate_switch, post_activate_switch): New stubs, things to
16663         do before and after switching activation modes on pads.
16664         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
16665         the pad's activate function to choose which mode to activate.
16666         Shortcut on deactivation and call the right function directly.
16667         (gst_pad_activate_pull): New API, (de)activates a pad in pull
16668         mode.
16669         (gst_pad_activate_push): New API, same for push mode.
16670         (gst_pad_set_activate_function) 
16671         (gst_pad_set_activatepull_function) 
16672         (gst_pad_set_activatepush_function): Setters for new API.
16673
16674         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
16675         Trace all miniobjects.
16676         (gst_mini_object_make_writable): Unref the arg if we copy, like
16677         gst_caps_make_writable.
16678
16679         * gst/gstmessage.c (_gst_message_initialize): No trace init.
16680
16681         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
16682         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
16683         Adapt for new pad API.
16684
16685         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
16686
16687         * gst/gstelement.h:
16688         * gst/gstelement.c (gst_element_iterate_src_pads) 
16689         (gst_element_iterate_sink_pads): New API functions.
16690         
16691         * gst/gstelement.c (iterator_fold_with_resync): New utility,
16692         should fold into gstiterator.c in some form.
16693         (gst_element_pads_activate): Simplified via use of fold and
16694         delegation of decisions to gstpad->activate.
16695
16696         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
16697         help in debugging.
16698
16699         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
16700         class once in init, like gstmessage. Didn't run into this issue
16701         but it seems correct. Don't initialize a trace, gstminiobject does
16702         that.
16703
16704         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
16705         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
16706         to the bus.
16707         (assert_live_count): New util function, uses alloc traces to check
16708         cleanup.
16709
16710         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
16711         To be modified when unlink drops the internal pad.
16712
16713 2005-06-27  Wim Taymans  <wim@fluendo.com>
16714
16715         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
16716         (gst_bin_change_state):
16717         Cleanup the get_state() function a little, make sure it
16718         iterates the same set of elements.
16719         Added stub iterate_state_order().
16720
16721 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
16722
16723         * docs/gst/gstreamer-docs.sgml:
16724         * docs/gst/gstreamer-sections.txt:
16725         * docs/gst/gstreamer.types:
16726         * docs/gst/tmpl/gstbasesink.sgml:
16727         * docs/gst/tmpl/gstbasesrc.sgml:
16728         * docs/gst/tmpl/gstbasetransform.sgml:
16729         * docs/gst/tmpl/gstelement.sgml:
16730         * docs/gst/tmpl/gstiterator.sgml:
16731         * gst/base/gstbasesrc.c:
16732         * gst/base/gstbasesrc.h:
16733         * gst/base/gstbasetransform.h:
16734         * gst/gstelement.c:
16735         * gst/gstiterator.h:
16736           adding basetransform and iterator docs
16737
16738 2005-06-27  Andy Wingo  <wingo@pobox.com>
16739
16740         * docs/design/part-activation.txt: Notes on how activation should
16741         work -- not quite implemented yet.
16742
16743 2005-06-25  Wim Taymans  <wim@fluendo.com>
16744
16745         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
16746         At least get the chain function correct, needs more
16747         fixing.
16748
16749 2005-06-25  Wim Taymans  <wim@fluendo.com>
16750
16751         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
16752         (gst_basesink_handle_object), (gst_basesink_event),
16753         (gst_basesink_do_sync), (gst_basesink_handle_event),
16754         (gst_basesink_change_state):
16755         * gst/gsttask.h:
16756         Right, two problems here: ghostpads don't take locks and
16757         glib _rec_mutex_lock_full() with depth==0 still locks.
16758         Catch illegal locking and g_warn them.
16759
16760 2005-06-25  Wim Taymans  <wim@fluendo.com>
16761
16762         * check/states/sinks.c: (START_TEST), (gst_object_suite):
16763         Have to check for completion now...
16764
16765 2005-06-25  Wim Taymans  <wim@fluendo.com>
16766
16767         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
16768         (gst_basesink_handle_object), (gst_basesink_event),
16769         (gst_basesink_do_sync), (gst_basesink_handle_event),
16770         (gst_basesink_change_state):
16771         * gst/gstpad.h:
16772         Unlock STREAM_LOCK whatever the recursion was.
16773
16774 2005-06-25  Wim Taymans  <wim@fluendo.com>
16775
16776         * gst/base/gstbasesink.c: (gst_basesink_set_property),
16777         (gst_basesink_preroll_queue_empty),
16778         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
16779         (gst_basesink_event), (gst_basesink_do_sync),
16780         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
16781         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
16782         (gst_basesink_change_state):
16783         Reworked the base sink, handle event and buffer serialisation
16784         correctly and removed possible deadlock.
16785         Handle EOS correctly.
16786
16787 2005-06-25  Wim Taymans  <wim@fluendo.com>
16788
16789         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
16790         (gst_pipeline_change_state):
16791         * tools/gst-launch.c: (check_intr), (event_loop), (main):
16792         Allow elements to post EOS in the state change function.
16793         Fix up -launch, make it exit the poll loop when the
16794         pipeline actually changed state.
16795         Fix up warning parsing in -launch.
16796
16797 2005-06-25  Wim Taymans  <wim@fluendo.com>
16798
16799         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
16800         (gst_tee_sink_activate):
16801         Core takes STREAM_LOCK for us now.
16802
16803 2005-06-25  Wim Taymans  <wim@fluendo.com>
16804
16805         * gst/gstelement.c: (gst_element_get_state_func),
16806         (gst_element_set_state):
16807         * gst/gstelement.h:
16808         * gst/gstmessage.c: (gst_message_parse_error),
16809         (gst_message_parse_warning):
16810         Keep track of current target state while performing a state
16811         change so that subclasses can do something interesting.
16812         Fix parsing of warning/error messages when GError is NULL.
16813
16814 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16815
16816         * docs/gst/Makefile.am:
16817         * docs/gst/gstreamer-docs.sgml:
16818         * docs/gst/gstreamer-sections.txt:
16819         * docs/gst/gstreamer.types:
16820         * docs/gst/tmpl/gstbasesink.sgml:
16821         * docs/gst/tmpl/gstbasesrc.sgml:
16822         * docs/gst/tmpl/gstbin.sgml:
16823         * docs/gst/tmpl/gstcompat.sgml:
16824         * docs/gst/tmpl/gstfakesink.sgml:
16825         * docs/gst/tmpl/gstfakesrc.sgml:
16826         * docs/gst/tmpl/gstfilesink.sgml:
16827         * docs/gst/tmpl/gstfilesrc.sgml:
16828         * docs/gst/tmpl/gstindex.sgml:
16829         * docs/manual/appendix-quotes.xml:
16830         * gst/base/gstbasesrc.h:
16831         * gst/elements/gstfakesrc.h:
16832         * gst/gstmessage.h:
16833           start pulling in base classes and elements in our docs
16834
16835 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
16836
16837         * docs/gst/Makefile.am:
16838         * docs/libs/Makefile.am:
16839           fixed make distcheck with gtk-doc 1.3
16840
16841 2005-06-23  Wim Taymans  <wim@fluendo.com>
16842
16843         * gst/gstelement.c: (gst_element_get_state_func),
16844         (gst_element_set_state), (gst_element_change_state):
16845         When the state did not change, also report NO_PREROLL
16846         when it matters.
16847
16848 2005-06-23  Wim Taymans  <wim@fluendo.com>
16849
16850         * gst/gstpad.c: (gst_pad_event_default):
16851         * gst/gstqueue.c: (gst_queue_loop):
16852         No unsafe task pausing please.
16853
16854 2005-06-23  Wim Taymans  <wim@fluendo.com>
16855
16856         * gst/schedulers/threadscheduler.c:
16857         (gst_thread_scheduler_task_start),
16858         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
16859         Ref the task before pushing it on the threadpool. This
16860         makes sure that we have a ref when the threadfunction is
16861         actually called.
16862
16863 2005-06-23  Andy Wingo  <wingo@pobox.com>
16864
16865         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
16866         offset is greater than the file's size.
16867
16868         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
16869         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
16870         * gst/gstobject.c (gst_object_class_init): Make the class lock
16871         recursive. Wim won't let me drop deep_notify. Decodebin works
16872         again, whoopdy doo.
16873
16874         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
16875         internal pad, and hacks accordingly. Doesn't do it on the target
16876         pad because we change its caps. Probably catches all cases of
16877         interest tho.
16878         (gst_ghost_pad_set_property): Connect to notify::caps as
16879         appropritate.
16880
16881         * tests/network-clock.scm (plot-simulation): Pipe data to the
16882         elite python skript.
16883
16884         * tests/network-clock-utils.scm (define-parameter): New macro,
16885         defines a parameter that can be set via the command line.
16886         (set-parameter!, parse-parameter-arguments): Command line args
16887         parser.
16888
16889         * tests/plot-data: Simple matplotlib-based plotter, takes input on
16890         stdin.
16891
16892 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
16893
16894         * gst/elements/gsttypefindelement.c:
16895         (gst_type_find_element_handle_event):
16896           Don't restart typefinding on a discont.
16897         * gst/gstelement.c: (gst_element_set_state):
16898           Debug spelling fix.
16899         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
16900           Allow changing mode of an active pad.
16901           Debug output fixes.
16902         * gst/registries/gstlibxmlregistry.c: (load_feature):
16903           Don't cast a static pad template to a normal pad template.
16904
16905 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16906
16907         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
16908         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
16909           remove gst_strtoll completely, since it didn't actually do
16910           anything more than what g_ascii_strtoull already does.
16911           check for range errors when deserializing
16912           do a cast for the unsigned cases; but further fixing needs
16913           a decision on what the interpretation of "(int)" and
16914           deserialization should be for values that fall outside the
16915           type's boundaries (ie, refuse, or interpret as casting)
16916
16917 2005-06-23  Wim Taymans  <wim@fluendo.com>
16918
16919         * check/Makefile.am:
16920         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
16921         * docs/design/part-live-source.txt:
16922         * docs/design/part-states.txt:
16923         * gst/base/gstbasesrc.c: (gst_basesrc_init),
16924         (gst_basesrc_set_live), (gst_basesrc_is_live),
16925         (gst_basesrc_get_range), (gst_basesrc_activate),
16926         (gst_basesrc_change_state):
16927         * gst/base/gstbasesrc.h:
16928         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16929         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
16930         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
16931         * gst/gstelement.c: (gst_element_get_state_func),
16932         (gst_element_set_state):
16933         * gst/gstelement.h:
16934         * gst/gsttypes.h:
16935         * tools/gst-launch.c: (event_loop), (main):
16936         Added support for live sources and other elements that
16937         cannot do preroll.
16938         Updated design docs, added live-source design doc.
16939         Implemented live source functionality in basesrc
16940         Fix error condition in _bin_get_state()
16941         Implement live source handling in -launch.
16942         Added check for live sources.
16943         Fixed case in GstBin where elements were changed state
16944         multiple times.
16945
16946
16947 2005-06-23  Andy Wingo  <wingo@pobox.com>
16948
16949         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
16950         borken refcounting.
16951
16952         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
16953         gst_caps_replace takes care of this for us.
16954
16955         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
16956         gst_pad_set_caps on the target, not just its setcaps() function.
16957
16958         * tests/network-clock.scm: 
16959         * tests/network-clock-utils.scm: A network clock simulator.
16960         Something of an algorithmic testbed before doing something in C.
16961
16962 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
16963
16964         * check/Makefile.am:
16965         * check/gst/capslist.h:
16966           copy over from 0.8, and add two with bitmasks specified with
16967           (int) 0xFF...
16968         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
16969           add test to parse everything from capslist.h
16970         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
16971         (main):
16972           add test for structure deserialization
16973         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
16974           add tests for deserialization of strings to int types
16975         * gst/gststructure.c: (gst_structure_nth_field_name):
16976         * gst/gststructure.h:
16977           add a way to get the name of a field referenced by index
16978         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
16979           instead of checking if the resulting long long lies between
16980           min and max, we check if the long long would fit into
16981           a number of bytes for the final type.
16982           This fixes cases where a string represents 2^32 - 1, which
16983           when cast to int would be the (valid) -1, but is bigger than
16984           G_MAXINT
16985
16986 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
16987
16988         * gst/parse/grammar.y:
16989           add a log line for type deserialization
16990
16991 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
16992
16993         * check/gst/gstvalue.c: (START_TEST):
16994         * gst/gstvalue.c: (gst_value_deserialize):
16995           return long long, not int, so gint64 deserialization actually
16996           works.  Is there any flag that makes the compiler check this ?
16997           Fixes #308559
16998
16999 2005-06-22  Wim Taymans  <wim@fluendo.com>
17000
17001         * gst/gstbuffer.h:
17002         Added convenience macros for setting buffers in GValue.
17003
17004 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17005
17006         * check/gst/.cvsignore:
17007         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17008           add a test deserializing int64, and comment part out because
17009           it fails, yay !
17010
17011 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17012
17013         * check/Makefile.am:
17014         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
17015         * testsuite/Makefile.am:
17016         * testsuite/caps/Makefile.am:
17017         * testsuite/caps/value_serialize.c:
17018         * testsuite/test_gst_init.c:
17019           move a value_serialize test over
17020
17021 2005-06-20  Wim Taymans  <wim@fluendo.com>
17022
17023         * gst/gstpad.c:
17024         Small doc updates.
17025         
17026         * gst/gstvalue.c: (gst_value_compare_buffer),
17027         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
17028         (gst_value_compare_flags), (gst_value_serialize_flags),
17029         (gst_value_deserialize_flags), (_gst_value_initialize):
17030         Fix serialisation of buffers, they are not boxed types anymore
17031
17032 2005-06-20  Wim Taymans  <wim@fluendo.com>
17033
17034         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17035         Testcase to show error in buffer-on-caps serialisation.
17036
17037 2005-06-20  Andy Wingo  <wingo@pobox.com>
17038
17039         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
17040         will be adding to later.
17041
17042         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
17043         if its socks fill with rocks.
17044         (gst_system_clock_obtain): Set the name on object construction.
17045         Avoid double-checked locking.
17046
17047 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
17048
17049         * gst/gsturi.c: (gst_element_make_from_uri):
17050           Fix potential endless loop.
17051
17052 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17053
17054         * check/Makefile.am:
17055           add gsttag
17056         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
17057         (main):
17058           move over from testsuite dir and clean up
17059         * configure.ac:
17060         * gst/gsttag.c:
17061         * testsuite/Makefile.am:
17062         * testsuite/tags/.cvsignore:
17063         * testsuite/tags/Makefile.am:
17064         * testsuite/tags/merge.c:
17065           remove testsuite/tags
17066
17067 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17068
17069         * docs/gst/gstreamer-sections.txt:
17070         * docs/gst/tmpl/gstenumtypes.sgml:
17071         * win32/gstenumtypes.c:
17072           clean up documentation build a little
17073
17074 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17075
17076         * check/gstcheck.h:
17077           add macros for checking refcounts on objects and caps
17078         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
17079           add some more unit tests
17080         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17081         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
17082           fix leaked refcounts (I hope :)) so unittest works
17083         * gst/gstpad.h:
17084           whitespace removal
17085
17086 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17087
17088         * configure.ac: back to HEAD
17089
17090 === release 0.9.1 ===
17091
17092 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17093
17094         * NEWS:
17095         * RELEASE:
17096           updated
17097
17098 2005-06-17  Andy Wingo  <wingo@pobox.com>
17099
17100         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
17101         assert; it's always possible that the pad gets deactivated in
17102         between the checks in gstpad.c and the implementation. Rely on
17103         finish_preroll() to return a FLUSHING or similar instead of on the
17104         assert.
17105         
17106         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
17107         clock and post an EOS message if we come out of finish_preroll in
17108         the playing state.
17109
17110 2005-06-16  David Schleef  <ds@schleef.org>
17111
17112         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
17113         (gst_capsfilter_set_property): Allow NULL as possible value
17114         for filter_caps property, indicating GST_CAPS_ANY.
17115
17116 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17117
17118         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
17119           fix debug output
17120         * gst/schedulers/Makefile.am:
17121           use libgst prefix
17122         * gstreamer.spec.in:
17123           fix spec for it
17124
17125 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17126
17127         * gstreamer.spec.in:
17128           clean up
17129
17130 2005-06-08  Andy Wingo  <wingo@pobox.com>
17131
17132         * gst/gstutils.c: RPAD fixes all around.
17133         (gst_element_link_pads): Refcounting fixes.
17134
17135         * tools/gst-inspect.c:
17136         * tools/gst-xmlinspect.c:
17137         * parse/grammar.y:
17138         * gst/base/gsttypefindhelper.c:
17139         * gst/base/gstbasesink.c:
17140         * gst/gstqueue.c: RPAD fixes.
17141
17142         * gst/gstghostpad.h:
17143         * gst/gstghostpad.c: New ghost pad implementation as full proxy
17144         pads. The tricky thing is they provide both source and sink
17145         interfaces, since they proxy the internal pad for the external
17146         pad, and vice versa. Implement with lower-level ProxyPad objects,
17147         with the interior proxy pad as a child of the exterior ghost pad.
17148         Should write a doc on this.
17149         
17150         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
17151         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
17152         gst_object API.
17153         
17154         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
17155         pads are real pads. No ghost pads in this file. Not documenting
17156         the myriad s/RPAD/PAD/ and REALIZE fixes.
17157         (gst_pad_class_init): Add properties for "direction" and
17158         "template". Both are construct-only, so they can't change during
17159         the life of the pad. Fixes properly deriving from GstPad.
17160         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
17161         derived objects, just set properties when creating the objects via
17162         g_object_new.
17163         (gst_pad_get_parent): Implement as a function, return NULL if the
17164         parent is not an element.
17165         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
17166         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
17167         
17168         * gst/gstobject.c (gst_object_class_init): Make name a construct
17169         property. Don't set it in the object init.
17170
17171         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
17172         with UNKNOWN direction.
17173         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
17174         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
17175         (gst_element_remove_pad): Remove ghost-pad special cases.
17176         (gst_element_pads_activate): Remove rpad cruft.
17177
17178         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
17179         catch the pad's-parent-not-an-element case.
17180
17181         * gst/gst.h: Include gstghostpad.h.
17182
17183         * gst/gst.c (init_post): No more real, ghost pads.
17184
17185         * gst/Makefile.am: Add gstghostpad.[ch].
17186
17187         * check/Makefile.am:
17188         * check/gst/gstbin.c:
17189         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
17190         into a bin creates ghost pads, and that the refcounts are right.
17191         Partly moved from gstbin.c.
17192
17193 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17194
17195         * check/gst-libs/.cvsignore:
17196         * check/gst/.cvsignore:
17197         * check/pipelines/.cvsignore:
17198           ignore more
17199         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
17200         (START_TEST), (cleanup_suite), (main):
17201           add some tests related to cleanup after running pipelines
17202
17203 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17204
17205         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
17206           add a testsuite for GstBuffer
17207
17208 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17209
17210         * gst/gstminiobject.h:
17211           add defines for accessing the refcount
17212
17213 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
17214
17215         * Makefile.am: added support for html unit test coverage reports
17216
17217 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
17218
17219         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17220           Free existing caps if the capsfilter changes. Add a FIXME about
17221           setting those caps on the pads.
17222
17223         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
17224           Before adding a ghost pad to a parent bin, check that there isn't
17225           already one for the element on the bin. Prevents infinite recursion
17226           when using decodebin in parse pipelines. Andy says he'll rewrite the
17227           way this works anyway, so ignore the hack.
17228
17229 2005-06-02  Andy Wingo  <wingo@pobox.com>
17230
17231         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
17232         file size, pass it on to the type find helper.
17233
17234         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
17235         segment_start and segment_end properly according to the seek
17236         method. Segment_end is still a bit flaky because offset can be
17237         negative for CUR and END cases, but it takes -1 as an "unset"
17238         value.
17239
17240 2005-06-02  Wim Taymans  <wim@fluendo.com>
17241
17242         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
17243         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
17244         (gst_basesink_activate):
17245         * gst/base/gstbasesink.h:
17246         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17247         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17248         (gst_pad_query), (gst_pad_start_task):
17249         * gst/gstpad.h:
17250         * gst/gstqueue.c: (gst_queue_bufferalloc),
17251         (gst_queue_handle_sink_event), (gst_queue_chain):
17252         Bufferalloc: return GstFlowReturn to more accuratly report
17253         why allocation failed.
17254
17255 2005-06-02  Wim Taymans  <wim@fluendo.com>
17256
17257         * gst/gstpipeline.c: (gst_pipeline_send_event):
17258         Take snapshot of state without blocking.
17259
17260 2005-06-02  Wim Taymans  <wim@fluendo.com>
17261
17262         * docs/design/part-TODO.txt:
17263         * docs/design/part-caps.txt:
17264         * docs/design/part-clocks.txt:
17265         * docs/design/part-negotiation.txt:
17266         * docs/design/part-preroll.txt:
17267         Small doc updates 
17268
17269 2005-05-30  Wim Taymans  <wim@fluendo.com>
17270
17271         * gst/elements/gstidentity.c: (gst_identity_event),
17272         (gst_identity_transform), (gst_identity_get_property):
17273         Protect last_message property as it is accessed from
17274         multiple threads.
17275
17276 2005-05-30  Wim Taymans  <wim@fluendo.com>
17277
17278         * gst/gstelement.c: (gst_element_init),
17279         (gst_element_pads_activate), (gst_element_change_state):
17280         Slicker pad activation code.
17281
17282 2005-05-30  Wim Taymans  <wim@fluendo.com>
17283
17284         * gst/Makefile.am:
17285         * gst/gstelement.h:
17286         * gst/gstelementfactory.h:
17287         * gst/gsttypes.h:
17288         Move elementfactory methods to separate .h file.
17289
17290 2005-05-30  Wim Taymans  <wim@fluendo.com>
17291
17292         * docs/design/part-overview.txt:
17293         * gst/gstsystemclock.h:
17294         Small typo fixes, doc updates.
17295
17296 2005-05-30  Wim Taymans  <wim@fluendo.com>
17297
17298         * gst/gst.c: (gst_init_get_popt_table), (init_post),
17299         (init_popt_callback):
17300         Remove cpu-opt flag.
17301
17302 2005-05-30  Wim Taymans  <wim@fluendo.com>
17303
17304         * gst/gstbuffer.c: (gst_subbuffer_finalize),
17305         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
17306         * gst/gstbuffer.h:
17307         Avoid typechecking in places where not needed.
17308         Added accessor for malloc_data.
17309
17310 2005-05-30  Wim Taymans  <wim@fluendo.com>
17311
17312         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
17313         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
17314         (gst_pad_configure_sink), (gst_pad_configure_src),
17315         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
17316         (gst_pad_start_task):
17317         Propagate errors from _set_caps() in configure_src/sink
17318         functions instead of returning TRUE.
17319         FLUSH events can travel up and downstream
17320
17321
17322 2005-05-30  Wim Taymans  <wim@fluendo.com>
17323
17324         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17325         (gst_basesink_activate):
17326         Handle EOS in preroll.
17327
17328 2005-05-30  Wim Taymans  <wim@fluendo.com>
17329
17330         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17331         (gst_queue_loop), (gst_queue_handle_src_event):
17332         Remove old pieces of code
17333         Flushing the queue in an upstream event is a very bad idea.
17334
17335 2005-05-26  Andy Wingo  <wingo@pobox.com>
17336
17337         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
17338         gst_value_set_mini_object so as to add a ref on the object (which
17339         will be removed when the value is unset).
17340
17341         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
17342         arg type in ::handoff.
17343
17344         * gst/gstelement.c (gst_element_change_state): Also deactivate
17345         pads in READY->NULL, just in case the element didn't make it to
17346         PAUSED. Wingo tested, Wim approved.
17347
17348 2005-05-26  Wim Taymans  <wim@fluendo.com>
17349
17350         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17351         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17352         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
17353         A flushing pad cannot be used to alloc_buffer from.
17354
17355 2005-05-26  Wim Taymans  <wim@fluendo.com>
17356
17357         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
17358         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
17359         (gst_bus_source_dispatch), (gst_bus_source_finalize),
17360         (gst_bus_create_watch), (gst_bus_add_watch_full):
17361         * gst/gstbus.h:
17362         Implement a real GSource and use g_main_context_wakeup() to
17363         signal new messages instead of the socketpair.
17364
17365 2005-05-25  Wim Taymans  <wim@fluendo.com>
17366
17367         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
17368         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
17369         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17370         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17371         (gst_pad_send_event), (gst_pad_start_task):
17372         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
17373         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
17374         (gst_queue_sink_activate), (gst_queue_src_activate),
17375         (gst_queue_change_state):
17376         * gst/gstqueue.h:
17377         Fix state changes for non sinks. We now change sinks, then elements
17378         with unconnected srcpads, then the rest.
17379         More efficient queue unlocking in flush and state changes.
17380         Set the pad activate mode even if it does not have an activate
17381         function.
17382
17383 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17384
17385         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
17386           Don't go in pull mode for non-seekable sources.
17387         * gst/elements/gsttypefindelement.h:
17388         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
17389         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
17390         (free_entry), (stop_typefinding),
17391         (gst_type_find_element_handle_event), (find_peek),
17392         (gst_type_find_element_chain), (do_pull_typefind),
17393         (gst_type_find_element_change_state):
17394           Allow typefinding (w/o seeking) in push-mode, simplified version
17395           of what was in 0.8.
17396         * gst/gstutils.c: (gst_buffer_join):
17397         * gst/gstutils.h:
17398           gst_buffer_join() from 0.8.
17399
17400 2005-05-25  Wim Taymans  <wim@fluendo.com>
17401
17402         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17403         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17404         (gst_pad_send_event), (gst_pad_start_task):
17405         Disable attempt at mode switching until it is figured out.
17406
17407 2005-05-25  Wim Taymans  <wim@fluendo.com>
17408
17409         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
17410         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17411         (gst_basesink_finish_preroll), (gst_basesink_chain),
17412         (gst_basesink_loop), (gst_basesink_activate),
17413         (gst_basesink_change_state):
17414         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
17415         (gst_basesrc_get_range), (gst_basesrc_loop),
17416         (gst_basesrc_activate):
17417         * gst/elements/gsttee.c: (gst_tee_sink_activate):
17418         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
17419         (gst_real_pad_init), (gst_real_pad_set_property),
17420         (gst_real_pad_get_property), (gst_pad_set_active),
17421         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
17422         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
17423         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
17424         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
17425         (gst_pad_event_default_dispatch), (gst_pad_event_default),
17426         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
17427         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
17428         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
17429         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
17430         (gst_pad_stop_task):
17431         * gst/gstpad.h:
17432         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17433         (gst_queue_loop), (gst_queue_src_activate):
17434         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
17435         (gst_task_get_state):
17436         * gst/gsttask.h:
17437         * gst/schedulers/threadscheduler.c:
17438         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
17439         Implement gst_pad_pause/start/stop_task(), take STREAM lock
17440         in task function.
17441         Remove ACTIVE pad flag, use FLUSHING everywhere
17442         Added _pad_chain(), _pad_get_range() to call chain/getrange 
17443         functions.
17444         Add locks around IS_FLUSHING when reading.
17445         Take STREAM lock in chain(), get_range() functions so plugins
17446         don't need to take it anymore.
17447         
17448
17449
17450 2005-05-25  Wim Taymans  <wim@fluendo.com>
17451
17452         * tools/gst-launch.c: (event_loop):
17453         Unref message after using its contents instead of
17454         before.
17455
17456 2005-05-24  Wim Taymans  <wim@fluendo.com>
17457
17458         * docs/design/draft-ghostpads.txt:
17459         * docs/design/draft-push-pull.txt:
17460         * docs/design/draft-query.txt:
17461         * docs/design/part-overview.txt:
17462         Docs updates, added general overview doc.
17463
17464 2005-05-21  David Schleef  <ds@schleef.org>
17465
17466         * docs/gst/tmpl/old/GstBin.sgml:
17467         * docs/gst/tmpl/old/GstBuffer.sgml:
17468         * docs/gst/tmpl/old/GstCaps.sgml:
17469         * docs/gst/tmpl/old/GstClock.sgml:
17470         * docs/gst/tmpl/old/GstCompat.sgml:
17471         * docs/gst/tmpl/old/GstData.sgml:
17472         * docs/gst/tmpl/old/GstElement.sgml:
17473         * docs/gst/tmpl/old/GstEvent.sgml:
17474         * docs/gst/tmpl/old/GstIndex.sgml:
17475         * docs/gst/tmpl/old/GstStructure.sgml:
17476         * docs/gst/tmpl/old/GstTag.sgml:
17477         * docs/gst/tmpl/old/cothreads.sgml:
17478         * docs/gst/tmpl/old/cothreads_compat.sgml:
17479         * docs/gst/tmpl/old/gettext.sgml:
17480         * docs/gst/tmpl/old/gobject2gtk.sgml:
17481         * docs/gst/tmpl/old/grammar.tab.sgml:
17482         * docs/gst/tmpl/old/gst-i18n-app.sgml:
17483         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
17484         * docs/gst/tmpl/old/gst_private.sgml:
17485         * docs/gst/tmpl/old/gstaggregator.sgml:
17486         * docs/gst/tmpl/old/gstarch.sgml:
17487         * docs/gst/tmpl/old/gstatomic_impl.sgml:
17488         * docs/gst/tmpl/old/gstbufferstore.sgml:
17489         * docs/gst/tmpl/old/gstdata_private.sgml:
17490         * docs/gst/tmpl/old/gstdisksink.sgml:
17491         * docs/gst/tmpl/old/gstdisksrc.sgml:
17492         * docs/gst/tmpl/old/gstelementfactory.sgml:
17493         * docs/gst/tmpl/old/gstextratypes.sgml:
17494         * docs/gst/tmpl/old/gstfakesink.sgml:
17495         * docs/gst/tmpl/old/gstfakesrc.sgml:
17496         * docs/gst/tmpl/old/gstfdsink.sgml:
17497         * docs/gst/tmpl/old/gstfdsrc.sgml:
17498         * docs/gst/tmpl/old/gstfilesink.sgml:
17499         * docs/gst/tmpl/old/gstfilesrc.sgml:
17500         * docs/gst/tmpl/old/gsthttpsrc.sgml:
17501         * docs/gst/tmpl/old/gstidentity.sgml:
17502         * docs/gst/tmpl/old/gstindexfactory.sgml:
17503         * docs/gst/tmpl/old/gstmarshal.sgml:
17504         * docs/gst/tmpl/old/gstmd5sink.sgml:
17505         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
17506         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
17507         * docs/gst/tmpl/old/gstpadtemplate.sgml:
17508         * docs/gst/tmpl/old/gstpipefilter.sgml:
17509         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
17510         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
17511         * docs/gst/tmpl/old/gstshaper.sgml:
17512         * docs/gst/tmpl/old/gstspider.sgml:
17513         * docs/gst/tmpl/old/gstspideridentity.sgml:
17514         * docs/gst/tmpl/old/gststatistics.sgml:
17515         * docs/gst/tmpl/old/gsttee.sgml:
17516         * docs/gst/tmpl/old/gsttimecache.sgml:
17517         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
17518         * docs/gst/tmpl/old/gstxmlregistry.sgml:
17519         * docs/gst/tmpl/old/gthread-cothreads.sgml:
17520         * docs/gst/tmpl/old/types.sgml:
17521           I didn't intend to add these or check them in.
17522
17523 2005-05-19  David Schleef  <ds@schleef.org>
17524
17525         * configure.ac: Use -no-common everywhere.  In a sane world, it
17526           would be the default in libtool, because without it, you can't
17527           build DLLs on Windows.
17528         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
17529         * docs/gst/gstreamer-sections.txt:
17530         * docs/gst/tmpl/gstcpu.sgml:
17531         * docs/gst/tmpl/gstdata.sgml:
17532         * docs/gst/tmpl/gstthread.sgml:
17533
17534 2005-05-19  David Schleef  <ds@schleef.org>
17535
17536         * gst/gstminiobject.c: (gst_value_set_mini_object),
17537         (gst_value_take_mini_object), (gst_value_get_mini_object):
17538         * gst/gstminiobject.h: Add GValue set/get functions.
17539
17540 2005-05-19  Wim Taymans  <wim@fluendo.com>
17541
17542         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
17543         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
17544         (gst_subbuffer_init), (gst_buffer_is_span_fast):
17545         * gst/gstbuffer.h:
17546         * gst/gstbus.c: (gst_bus_post):
17547         * gst/gstelement.c: (gst_element_get_random_pad):
17548         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
17549         Make subbufer unref the parent in finalize.
17550         some more debugging info.
17551
17552
17553 2005-05-19  Wim Taymans  <wim@fluendo.com>
17554
17555         * gst/base/gstbasesink.c: (gst_basesink_class_init),
17556         (gst_basesink_init), (gst_basesink_finalize),
17557         (gst_basesink_activate), (gst_basesink_change_state):
17558         Don't free preroll queue too early.
17559
17560 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17561
17562         * gst/Makefile.am:
17563         * gst/ROADMAP:
17564           Hi, I'm outdated. Please shoot me.
17565
17566 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17567
17568         * gst/gstpipeline.c: (gst_pipeline_send_event):
17569           Do not access variables after they have been deleted.
17570
17571 2005-05-19  Wim Taymans  <wim@fluendo.com>
17572
17573         * tools/gst-inspect.c: (print_plugin_features):
17574         A plugin feature does unfortunatly not use the
17575         object name yet...
17576
17577 2005-05-18  Wim Taymans  <wim@fluendo.com>
17578
17579         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
17580         Port _span() functions to new subbuffers.
17581
17582 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17583
17584         * gst/gstbin.c: (gst_bin_add_func):
17585           Fix clock settery in bins when adding kids after the clock has
17586           been selected.
17587
17588 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17589
17590         * gst/elements/gstidentity.c: (gst_identity_class_init):
17591           Workaround until signals support GstMiniObject.
17592
17593 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
17594
17595         * gst/gstbuffer.c:
17596         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
17597
17598 2005-05-18  Wim Taymans  <wim@fluendo.com>
17599
17600         * gst/base/Makefile.am:
17601         * gst/base/gstadapter.c: (gst_adapter_base_init),
17602         (gst_adapter_class_init), (gst_adapter_init),
17603         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
17604         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
17605         (gst_adapter_flush), (gst_adapter_available),
17606         (gst_adapter_available_fast):
17607         * gst/base/gstadapter.h:
17608         Ported and added adapter to the base classes.
17609
17610 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17611
17612         * gst/gst.c:
17613         * gst/gstmessage.c:
17614           Make sure the class is reffed/unreffed once before threads can be
17615           used.  Fixes #304551.
17616
17617 2005-05-17  Wim Taymans  <wim@fluendo.com>
17618
17619         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
17620         (gst_basesink_chain_unlocked), (gst_basesink_activate):
17621         * gst/gstminiobject.c: (gst_mini_object_get_type),
17622         (gst_mini_object_free):
17623         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
17624         (gst_pad_push), (gst_pad_push_event):
17625         * gst/gstqueue.c: (gst_queue_change_state):
17626         Don't queue buffers in basesink when we are flushing.
17627         Unref buffer when flushing in basesink.
17628         Flush queue when going to READY
17629         Unref buffer when _push() returns an error.
17630         Don't free MiniObject instance when refcount is incremented
17631         in _finalize() so that we can recover objects.
17632
17633 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17634
17635         * docs/manual/advanced-schedulers.xml:
17636         * docs/manual/appendix-checklist.xml:
17637         * docs/pwg/advanced-clock.xml:
17638         * docs/pwg/advanced-interfaces.xml:
17639         * docs/pwg/advanced-request.xml:
17640         * docs/pwg/advanced-types.xml:
17641         * docs/pwg/intro-preface.xml:
17642         * examples/plugins/example.c: (gst_example_get_type),
17643         (gst_example_class_init), (gst_example_chain),
17644         (gst_example_set_property), (gst_example_get_property),
17645         (gst_example_change_state), (plugin_init):
17646         * examples/plugins/example.h:
17647           small doc fixes
17648
17649 2005-05-17  Wim Taymans  <wim@fluendo.com>
17650
17651         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
17652         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
17653         * gst/gstqueue.c: (gst_queue_change_state):
17654         Clear queue when going to READY.
17655         Remove IN_SETCAPS flag too.
17656
17657 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
17658
17659         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
17660           Remove implicit cast from gboolean to GstElementStateReturn;
17661           make sure we still return failure in paused => ready case if
17662           the parent class fails to change state and our own stop 
17663           vfunc succeeds.
17664
17665 2005-05-17  Wim Taymans  <wim@fluendo.com>
17666
17667         * tools/gst-launch.c: (event_loop):
17668         Message was unreffed too soon.
17669
17670 2005-05-16  Andy Wingo  <wingo@pobox.com>
17671
17672         * gst/gstbin.c (sink_iterator_filter): Err... um...
17673
17674         * check/gst/gstbin.c (test_ghost_pads): New test for the
17675         ghosting-if-elements-not-in-same-bin behavior.
17676
17677 2005-05-16  David Schleef  <ds@schleef.org>
17678
17679         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
17680         accessing refcount directly.
17681
17682 2005-05-15  David Schleef  <ds@schleef.org>
17683
17684         * check/Makefile.am: remove GstData checks
17685         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
17686         * gst/Makefile.am: add miniobject, remove data
17687         * gst/gst.h: add miniobject, remove data
17688         * gst/gstdata.c: remove
17689         * gst/gstdata.h: remove
17690         * gst/gstdata_private.h: remove
17691         * gst/gsttypes.h: remove GstEvent and GstMessage
17692         * gst/gstelement.c: (gst_element_post_message): fix for API changes
17693         * gst/gstmarshal.list: change BOXED -> OBJECT
17694
17695         Implement GstMiniObject.
17696         * gst/gstminiobject.c:
17697         * gst/gstminiobject.h:
17698
17699         Modify to be subclasses of GstMiniObject.
17700         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
17701         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
17702         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
17703         (gst_subbuffer_get_type), (gst_subbuffer_init),
17704         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
17705         (gst_buffer_span):
17706         * gst/gstbuffer.h:
17707         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
17708         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
17709         (_gst_event_copy), (gst_event_new):
17710         * gst/gstevent.h:
17711         * gst/gstmessage.c: (_gst_message_initialize),
17712         (gst_message_get_type), (gst_message_class_init),
17713         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
17714         (gst_message_new), (gst_message_new_error),
17715         (gst_message_new_warning), (gst_message_new_tag),
17716         (gst_message_new_state_changed), (gst_message_new_application):
17717         * gst/gstmessage.h:
17718         * gst/gstprobe.c: (gst_probe_perform),
17719         (gst_probe_dispatcher_dispatch):
17720         * gst/gstprobe.h:
17721         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
17722         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
17723         (_gst_query_copy), (gst_query_new):
17724
17725         Update elements for GstData -> GstMiniObject changes
17726         * gst/gstquery.h:
17727         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
17728         (gst_queue_chain), (gst_queue_loop):
17729         * gst/elements/gstbufferstore.c:
17730         (gst_buffer_store_add_buffer_func),
17731         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
17732         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
17733         (gst_fakesink_render):
17734         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
17735         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
17736         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
17737         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
17738         (gst_filesrc_create_read):
17739         * gst/elements/gstidentity.c: (gst_identity_class_init):
17740         * gst/elements/gsttypefindelement.c:
17741         (gst_type_find_element_src_event), (free_entry_buffers),
17742         (gst_type_find_element_handle_event):
17743         * libs/gst/dataprotocol/dataprotocol.c:
17744         (gst_dp_header_from_buffer):
17745         * libs/gst/dataprotocol/dataprotocol.h:
17746         * libs/gst/dataprotocol/dp-private.h:
17747
17748 2005-05-15  David Schleef  <ds@schleef.org>
17749
17750         * gst/elements/gstelements.c: Don't include headers that were
17751         just removed.
17752
17753 2005-05-15  David Schleef  <ds@schleef.org>
17754
17755         * gst/elements/Makefile.am: Remove some elements that don't
17756         need to be in the core (or even exist at all).
17757         * gst/elements/gstaggregator.c:
17758         * gst/elements/gstaggregator.h:
17759         * gst/elements/gstmd5sink.c:
17760         * gst/elements/gstmd5sink.h:
17761         * gst/elements/gstmultifilesrc.c:
17762         * gst/elements/gstmultifilesrc.h:
17763         * gst/elements/gstpipefilter.c:
17764         * gst/elements/gstpipefilter.h:
17765         * gst/elements/gstshaper.c:
17766         * gst/elements/gstshaper.h:
17767         * gst/elements/gststatistics.c:
17768         * gst/elements/gststatistics.h:
17769         * po/POTFILES.in: Remove above files.
17770
17771 2005-05-14  Andy Wingo  <wingo@pobox.com>
17772
17773         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
17774         so as to get the refs right.
17775         (sink_iterator_filter): New function, wraps bin_element_is_sink,
17776         unreffing objects that don't pass the filter.
17777
17778         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
17779         gst_element_set_bus.
17780         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
17781         normal cases, this will destroy the bus.
17782
17783         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
17784         object.
17785
17786         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
17787         has no sinks.
17788
17789 2005-05-13  Andy Wingo  <wingo@pobox.com>
17790
17791         * gst/gstutils.c (gst_element_link_pads): Instead of calling
17792         gst_pad_link, call pad_link_maybe_ghosting,
17793         (pad_link_maybe_ghosting): Links pads, making sure that the
17794         elements being linked are in the same bin.
17795         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
17796         Helpers for pad_link_maybe_ghosting.
17797
17798 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
17799
17800         * configure.ac:
17801           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
17802
17803 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
17804
17805         * docs/design/part-element-source.txt:
17806           Mention GstPushSrc
17807
17808 2005-05-12  Wim Taymans  <wim@fluendo.com>
17809
17810         * gst/base/gstbasesink.c: (gst_basesink_init),
17811         (gst_basesink_activate):
17812         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
17813         (gst_basesrc_is_seekable):
17814         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17815         (bin_element_is_sink), (gst_bin_change_state):
17816         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
17817         * gst/gstelement.h:
17818         Identify sinks by their flag to avoid overly complicated
17819         checks (fow now).
17820         Do state changes even for elements not reachable from the
17821         sinks.
17822         BaseSink is a sink now :)
17823         Some more debugging info in the basesrc.
17824
17825
17826 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17827
17828         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
17829           Implement _query on a bin, similar to _send_event.
17830
17831 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
17832
17833         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
17834           Discont event offset format should be GST_FORMAT_BYTES,
17835           not GST_FORMAT_TIME.
17836
17837 2005-05-12  Wim Taymans  <wim@fluendo.com>
17838
17839         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
17840         Same fix as Ronald's but without the signal. 
17841
17842 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17843
17844         * gst/gstutils.c: (gst_element_query_position):
17845           No, an element is not a pad.
17846
17847 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17848
17849         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
17850         (gst_bin_get_state):
17851           If a child is removed from a bin while we remove the child from
17852           the bin and while we're retrieving its state, signal this to the
17853           get_state function so we abort the wait (instead of waiting for
17854           a timeout) and can immediately re-iterate over all other elements.
17855
17856 2005-05-12  Wim Taymans  <wim@fluendo.com>
17857
17858         * gst/base/Makefile.am:
17859         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
17860         (gst_basesrc_start):
17861         * gst/base/gstbasesrc.h:
17862         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
17863         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
17864         (gst_pushsrc_init), (gst_pushsrc_create):
17865         * gst/base/gstpushsrc.h:
17866         Added is_seekable to BaseSrc
17867         Added simple PushSrc.
17868
17869 2005-05-11  Wim Taymans  <wim@fluendo.com>
17870
17871         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
17872         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
17873         (gst_element_link_pads), (gst_element_query_position),
17874         (gst_element_query_convert), (intersect_caps_func),
17875         (gst_pad_query_position), (gst_pad_query_convert):
17876         Fix refcounting in utils function.
17877         No point in trying to activate a pad when it's added, it could
17878         be added from the state change function and then we deadlock, the
17879         element has to decide what to do.
17880
17881 2005-05-10  Andy Wingo  <wingo@pobox.com>
17882
17883         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
17884         *all* the arguments.
17885
17886         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
17887         stream lock if it's a FLUSH_DONE; normal flushes don't get the
17888         lock (according to the docs -- if this is wrong change the docs).
17889
17890         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
17891         flush messages in the NULL state.
17892
17893         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
17894         message immediately and return.
17895         (gst_bus_set_flushing): New function. If a bus is flushing, it
17896         flushes out any queued messages and immediately unrefs new
17897         messages. This is so when an element goes to NULL, all of the
17898         unhandled messages coming from it can be freed, and their
17899         references to the element dropped. In other words: message source
17900         ref considered harmful :P
17901
17902         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
17903         we're finished with it.
17904
17905         * gst/gstmessage.c (gst_message_new_state_changed): 
17906
17907 2005-05-10  Wim Taymans  <wim@fluendo.com>
17908
17909         * gst/gstvalue.c: (gst_value_compare_flags),
17910         (gst_value_serialize_flags), (gst_value_deserialize_flags),
17911         (_gst_value_initialize):
17912         Added flags serialize/deserialize/compare code.
17913
17914 2005-05-09  Andy Wingo  <wingo@pobox.com>
17915
17916         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
17917         Intersect the peer's caps with our caps.
17918
17919 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17920
17921         * gst/base/gsttypefindhelper.c: (helper_find_peek):
17922         * gst/elements/gsttypefindelement.c: (find_peek):
17923           Handle negative offsets better. Fixes decodebin.
17924
17925 2005-05-09  Wim Taymans  <wim@fluendo.com>
17926
17927         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
17928         (gst_base_transform_event):
17929         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
17930         Implement accept_caps.
17931         Fix silly lock/unlock mismatch in base class.
17932
17933 2005-05-09  Wim Taymans  <wim@fluendo.com>
17934
17935         * docs/design/draft-push-pull.txt:
17936         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
17937         * gst/elements/gstfilesink.c: (gst_filesink_init),
17938         (gst_filesink_query):
17939         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
17940         (gst_type_find_handle_src_query), (find_element_get_length):
17941         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
17942         * gst/gstelement.h:
17943         * gst/gstmessage.c:
17944         * gst/gstmessage.h:
17945         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
17946         (gst_real_pad_get_caps_unlocked),
17947         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
17948         (gst_pad_event_default_dispatch), (gst_pad_event_default),
17949         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
17950         (gst_real_pad_dispose), (gst_real_pad_finalize),
17951         (gst_pad_load_and_link), (gst_pad_save_thyself),
17952         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
17953         (gst_pad_check_pull_range), (gst_pad_pull_range),
17954         (gst_pad_template_get_type), (gst_pad_template_class_init),
17955         (gst_pad_template_init), (gst_pad_template_dispose),
17956         (name_is_valid), (gst_static_pad_template_get),
17957         (gst_pad_template_new), (gst_static_pad_template_get_caps),
17958         (gst_pad_template_get_caps), (gst_pad_set_element_private),
17959         (gst_pad_get_element_private), (gst_pad_start_task),
17960         (gst_pad_pause_task), (gst_pad_stop_task),
17961         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
17962         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
17963         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
17964         (gst_ghost_pad_new):
17965         * gst/gstpad.h:
17966         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
17967         (gst_query_new_position), (gst_query_set_position),
17968         (gst_query_parse_position), (gst_query_new_convert),
17969         (gst_query_set_convert), (gst_query_parse_convert):
17970         * gst/gstquery.h:
17971         * gst/gstqueryutils.c:
17972         * gst/gstqueryutils.h:
17973         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
17974         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
17975         (gst_queue_handle_src_query):
17976         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
17977         (gst_element_query_position), (gst_element_query_convert),
17978         (intersect_caps_func), (gst_pad_query_position),
17979         (gst_pad_query_convert):
17980         * gst/gstutils.h:
17981         * tools/gst-inspect.c: (print_pad_info):
17982         * tools/gst-xmlinspect.c: (print_element_info):
17983         Remove old query functions. Ported old code.
17984         Added position/convert helper functions to gstutils.
17985         Reordered gstpad.c code, grouping relevant things.
17986         Remove gst_message_new(), always need to speficy a specific
17987         message.
17988
17989
17990 2005-05-09  Andy Wingo  <wingo@pobox.com>
17991
17992         * gst/gstiterator.h: Add some includes.
17993
17994         * gst/gstqueryutils.h: Include more headers.
17995
17996         * gst/gstpad.h:
17997         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
17998         some uses of gst_pad_query.
17999
18000         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
18001         NULL out parameters.
18002         (gst_query_new_position): New proc, allocates a new position
18003         query.
18004
18005         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
18006         gstqueryutils.c to the build.
18007
18008         * gst/gststructure.c (gst_structure_set_valist): Implement with
18009         the generic G_VALUE_COLLECT.
18010         
18011 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
18012
18013         * gst/Makefile.am: (gst_headers):
18014         Added gstqueryutils.h to the list of headers to install, that was
18015         a 'nachty' move wingo :)
18016
18017 2005-05-06  Andy Wingo  <wingo@pobox.com>
18018
18019         * gst/gstquery.h
18020         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
18021         GstData, init a memchunk.
18022         (standard_definitions): Add a few query types, deprecate a few.
18023         (gst_query_get_type): New proc.
18024         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
18025         implementation.
18026         (gst_query_new_application, gst_query_get_structure): New public
18027         procs.
18028
18029         * docs/design/draft-query.txt: Removed LINKS from the query types,
18030         because all the rest can be dispatched to other pads -- seemed
18031         ugly to have a query that couldn't be dispatched. internal_links
18032         is fine as a pad method.
18033
18034         * gst/gstpad.h: Add query2 as a pad method, add the new functions
18035         in gstpad.c, but maintain binary compatibility for the moment.
18036         Will fix before 0.9 is out.
18037
18038         * gst/gstqueryutils.c: 
18039         * gst/gstqueryutils.h: New files, implement 3 methods for each
18040         query type: parse_query, parse_response, and set. Probably need an
18041         allocator as well.
18042
18043         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
18044
18045         * gst/elements/gstfilesink.c (gst_filesink_query2):
18046         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
18047         query_types, and formats methods.
18048
18049         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
18050         (gst_pad_set_query2_function): New functions.
18051         (gst_real_pad_init): Set query2_default as the default query2
18052         function. Basically just dispatches to internally linked pads.
18053
18054         Needs review!
18055         
18056         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
18057         without using the atomic operations. Only one thread can possibly
18058         be accessing the data at this point. Changed so as to avoid
18059         gst_atomic operations.
18060
18061 2005-05-06  Wim Taymans  <wim@fluendo.com>
18062
18063         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
18064         Also set caps if we use the fallback buffer alloc.
18065
18066 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
18067
18068         * docs/gst/Makefile.am:
18069         * docs/gst/gstreamer-docs.sgml:
18070         * docs/gst/gstreamer-sections.txt:
18071         * docs/gst/tmpl/gstatomic.sgml:
18072         * docs/gst/tmpl/gstmemchunk.sgml:
18073         * testsuite/elements/struct_i386.h:
18074         * win32/GStreamer.vcproj:
18075         * win32/Makefile:
18076           Purge GstAtomic stuff from docs and win32 makefiles as well
18077
18078 2005-05-06  Wim Taymans  <wim@fluendo.com>
18079
18080         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
18081         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
18082         * gst/gstpad.c: (gst_pad_peer_get_caps):
18083         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18084         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18085         (gst_queue_src_activate), (gst_queue_change_state):
18086         * gst/gstqueue.h:
18087         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18088         (intersect_caps_func):
18089         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
18090         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
18091         Some fixes for the peer_get_caps() change.
18092
18093 2005-05-06  Wim Taymans  <wim@fluendo.com>
18094
18095         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
18096         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
18097         (gst_basesink_activate):
18098         Actually do something with error codes returned from the push
18099         functions.
18100
18101 2005-05-06  Wim Taymans  <wim@fluendo.com>
18102
18103         * docs/design/part-element-sink.txt:
18104         * docs/design/part-element-source.txt:
18105         * gst/base/gstbasesink.c: (gst_basesink_class_init),
18106         (gst_basesink_event), (gst_basesink_activate):
18107         * gst/base/gstbasesink.h:
18108         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
18109         (gst_basesrc_activate):
18110         * gst/base/gstbasesrc.h:
18111         * gst/gstelement.c: (gst_element_pads_activate):
18112         Some more documentation.
18113         Fixed scheduling decision in _pads_activate().
18114
18115 2005-05-05  Andy Wingo  <wingo@pobox.com>
18116
18117         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
18118         the test suite.
18119
18120 2005-05-05  Wim Taymans  <wim@fluendo.com>
18121
18122         * gst/base/Makefile.am:
18123         * gst/base/gstbasesink.h:
18124         * gst/base/gstbasesrc.c: (gst_basesrc_init),
18125         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
18126         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
18127         (gst_collectpads_class_init), (gst_collectpads_init),
18128         (gst_collectpads_finalize), (gst_collectpads_new),
18129         (gst_collectpads_set_function), (gst_collectpads_add_pad),
18130         (find_pad), (gst_collectpads_remove_pad),
18131         (gst_collectpads_is_active), (gst_collectpads_collect),
18132         (gst_collectpads_collect_range), (gst_collectpads_start),
18133         (gst_collectpads_stop), (gst_collectpads_peek),
18134         (gst_collectpads_pop), (gst_collectpads_available),
18135         (gst_collectpads_read), (gst_collectpads_flush),
18136         (gst_collectpads_chain):
18137         * gst/base/gstcollectpads.h:
18138         * gst/elements/Makefile.am:
18139         * gst/elements/gstelements.c:
18140         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18141         (gst_fakesink_get_times), (gst_fakesink_event),
18142         (gst_fakesink_preroll), (gst_fakesink_render):
18143         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
18144         (gst_filesink_init), (gst_filesink_set_location),
18145         (gst_filesink_open_file), (gst_filesink_close_file),
18146         (gst_filesink_pad_query), (gst_filesink_event),
18147         (gst_filesink_render), (gst_filesink_change_state):
18148         * gst/elements/gstfilesink.h:
18149         Added object to help in making collect pad based elements.
18150         Ported filesink.
18151         Make event function in sink baseclass return gboolean.
18152
18153 2005-05-05  Wim Taymans  <wim@fluendo.com>
18154
18155         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
18156         (gst_bin_get_by_name):
18157         * gst/gstbuffer.h:
18158         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
18159         (gst_clock_finalize):
18160         * gst/gstdata.c: (gst_data_replace):
18161         * gst/gstdata.h:
18162         * gst/gstelement.c: (gst_element_request_pad),
18163         (gst_element_pads_activate):
18164         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
18165         (gst_object_unref):
18166         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18167         (gst_pad_set_checkgetrange_function),
18168         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
18169         (gst_pad_check_pull_range), (gst_pad_pull_range),
18170         (gst_static_pad_template_get_caps), (gst_pad_start_task),
18171         (gst_pad_pause_task), (gst_pad_stop_task):
18172         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18173         (gst_element_request_pad), (gst_pad_proxy_getcaps):
18174         Fix name lookup in GstBin.
18175         Added _data_replace() function and _buffer_replace()
18176         Use finalize method to clean up clock.
18177         Fix refcounting on request pads.
18178         Fix pad schedule mode error.
18179         Some more object refcounting debug info,
18180
18181
18182 2005-05-04  Andy Wingo <wingo@pobox.com>
18183
18184         * check/Makefile.am:
18185         * docs/gst/tmpl/gstatomic.sgml:
18186         * docs/gst/tmpl/gstplugin.sgml:
18187         * gst/base/gstbasesink.c: (gst_basesink_activate):
18188         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
18189         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
18190         (gst_basesrc_query), (gst_basesrc_set_property),
18191         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
18192         (gst_basesrc_activate):
18193         * gst/base/gstbasesrc.h:
18194         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
18195         (gst_base_transform_src_activate):
18196         * gst/elements/gstelements.c:
18197         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18198         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
18199         * gst/elements/gsttee.c: (gst_tee_sink_activate):
18200         * gst/elements/gsttypefindelement.c: (find_element_get_length),
18201         (gst_type_find_element_checkgetrange),
18202         (gst_type_find_element_activate):
18203         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
18204         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
18205         (gst_caps_load_thyself):
18206         * gst/gstelement.c: (gst_element_pads_activate),
18207         (gst_element_save_thyself), (gst_element_restore_thyself):
18208         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
18209         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
18210         * gst/gstpad.h:
18211         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
18212         (gst_xml_parse_file), (gst_xml_parse_memory),
18213         (gst_xml_get_element), (gst_xml_make_element):
18214         * gst/indexers/gstfileindex.c: (gst_file_index_load),
18215         (_file_index_id_save_xml), (gst_file_index_commit):
18216         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
18217         (read_enum), (load_pad_template), (load_feature), (load_plugin),
18218         (load_paths):
18219         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
18220         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
18221         * tools/gst-complete.c: (main):
18222         * tools/gst-compprep.c: (main):
18223         * tools/gst-inspect.c: (print_element_properties_info):
18224         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
18225         * tools/gst-xmlinspect.c: (print_element_properties):
18226         GCC 4 fixen.
18227         
18228 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18229
18230         * gst/gstplugin.c: (gst_plugin_check_module),
18231         (gst_plugin_check_file), (gst_plugin_load_file):
18232             apply patch from #172526 to make register work on MacOSX
18233
18234 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18235
18236         * docs/gst/tmpl/gstconfig.sgml:
18237         * gst/gstconfig.h.in:
18238           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
18239         * testsuite/debug/printf_extension.c: (main):
18240           Do not use GST_PTR_FORMAT on pointers to types with
18241           sizeof < sizeof(gpointer).  Fixes test on 64-bit
18242         * testsuite/elements/property.h:
18243           use correct printf format
18244
18245 2005-05-02  Wim Taymans  <wim@fluendo.com>
18246
18247         * docs/design/draft-push-pull.txt:
18248         * docs/design/draft-query.txt:
18249         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
18250         (gst_basesrc_start):
18251         Added draft for new query API.
18252         Added draft for better selecting scheduling methods.
18253         Make basesrc ignore length if the subclass does not support
18254         it.
18255
18256 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18257
18258         * gst/Makefile.am:
18259           possible fixes for automake-1.5 - _LIBADD is reserved
18260
18261 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18262
18263         * docs/faq/Makefile.am:
18264         * docs/manual/Makefile.am:
18265         * docs/manuals.mak:
18266         * docs/pwg/Makefile.am:
18267         * gst/Makefile.am:
18268           possible fixes for automake-1.5
18269
18270 2005-04-28  Wim Taymans  <wim@fluendo.com>
18271
18272         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18273         (gst_basesink_pad_getcaps), (gst_basesink_init),
18274         (gst_basesink_do_sync):
18275         * gst/gstclock.c: (gst_clock_entry_new):
18276         * gst/gstevent.c: (gst_event_discont_get_value):
18277         * gst/gstpipeline.c: (pipeline_bus_handler),
18278         (gst_pipeline_change_state):
18279         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18280         Better debugging of clocking info.
18281         Allow NULL values when getting discont values.
18282
18283 2005-04-27  Wim Taymans  <wim@fluendo.com>
18284
18285         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
18286         * check/gst/gstpad.c: (gst_pad_suite):
18287         Increase timeout for checks.
18288
18289 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18290
18291         * check/Makefile.am:
18292           fix the broken rule for cleanup.  Apparently this rule is
18293           only needed on FC2, so maybe this warrants further autotool
18294           inspection.
18295
18296 2005-04-26  Wim Taymans  <wim@fluendo.com>
18297
18298         * gst/gsttrashstack.h:
18299         Ooohh. a nasty one! After having a failed pop() from the stack,
18300         it's possible that the stack is empty. In that case, don't
18301         follow the NULL pointer.
18302
18303 2005-04-25  Wim Taymans  <wim@fluendo.com>
18304
18305         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18306         (gst_pad_set_checkgetrange_function),
18307         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
18308         (gst_pad_check_pull_range), (gst_pad_pull_range),
18309         (gst_static_pad_template_get_caps), (gst_pad_start_task),
18310         (gst_pad_pause_task), (gst_pad_stop_task):
18311         * gst/gstplugin.c: (gst_plugin_load):
18312         * gst/gstplugin.h:
18313         Remove gst_library_load as it does more harm than good with
18314         the new g_module flags.
18315         Revert bogus caps template check in pad linking, pad caps
18316         are important when linking not the template, which is more
18317         general than the current caps.
18318
18319 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18320
18321         * gst/autoplug/.cvsignore:
18322         * gst/autoplug/Makefile.am:
18323         * gst/autoplug/gstsearchfuncs.c:
18324         * gst/autoplug/gstsearchfuncs.h:
18325         * gst/autoplug/gstspider.c:
18326         * gst/autoplug/gstspider.h:
18327         * gst/autoplug/gstspideridentity.c:
18328         * gst/autoplug/gstspideridentity.h:
18329         * gst/autoplug/spidertest.c:
18330           Die, spider, die.
18331
18332 2005-04-25  Wim Taymans  <wim@fluendo.com>
18333
18334         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18335         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
18336         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
18337         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
18338         * gst/gstpad.h:
18339         Added stubs for unimplemented functions. 
18340
18341 2005-04-24  David Schleef  <ds@schleef.org>
18342
18343         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
18344         please fix.
18345
18346 2005-04-24  David Schleef  <ds@schleef.org>
18347
18348         Convert everything from GstAtomicInt to g_atomic_int_*, and
18349         remove gstatomic.
18350         * gst/Makefile.am:
18351         * gst/gstatomic.c:
18352         * gst/gstatomic.h:
18353         * gst/gstatomic_impl.h:
18354         * gst/gstbuffer.c:
18355         * gst/gstcaps.c:
18356         * gst/gstcaps.h:
18357         * gst/gstclock.c:
18358         * gst/gstclock.h:
18359         * gst/gstdata.c:
18360         * gst/gstdata.h:
18361         * gst/gstdata_private.h:
18362         * gst/gstevent.c:
18363         * gst/gstinfo.c:
18364         * gst/gstinfo.h:
18365         * gst/gstmessage.c:
18366         * gst/gstobject.c:
18367         * gst/gstobject.h:
18368         * gst/gststructure.c:
18369         * gst/gststructure.h:
18370         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
18371         * gst/gstutils.h:
18372
18373 2005-04-24  David Schleef  <ds@schleef.org>
18374
18375         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
18376         make the regressions tests work.  Remove some code that is no
18377         longer true.
18378         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
18379         Disable warning for pads without templates.
18380
18381 2005-04-24  David Schleef  <ds@schleef.org>
18382
18383         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
18384         functions that handle filtered links.
18385         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
18386         removed functions.
18387         * gst/gstutils.c: Fix/remove utility functions that handle
18388         filtered caps.
18389         * gst/gstutils.h:
18390         * gst/gstvalue.c: Add serialization/deserialization of caps
18391         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
18392         requires fixing so that the filter caps notation creates
18393         a capsfilter element and sets the filter_caps property.  I
18394         think everyone probably wants to keep the shorthand notation.
18395         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
18396         * docs/gst/tmpl/gstpad.sgml:
18397
18398         * gst/elements/gstelements.c: Register capsfilter element.
18399         * gst/Makefile.am: fix spacing
18400         * docs/random/ds/0.9-suggested-changes: random
18401
18402 2005-04-23  David Schleef  <ds@schleef.org>
18403
18404         * gst/elements/Makefile.am:
18405         * gst/elements/gstcapsfilter.c: New element that acts like an
18406         identity, but filters caps.  Will eventually replace filtered
18407         caps in pad linking.
18408         * gst/gstutils.c: (gst_element_create_all_pads): New function
18409         to create all the ALWAYS pads that are registered with an
18410         element class.  This functionality should eventually be
18411         merged in with GstElement initialization.
18412         * gst/gstutils.h:
18413         * testsuite/trigger/README: part of trigger test code that should
18414         have been checked in a long time ago.
18415
18416 2005-04-23  David Schleef  <ds@schleef.org>
18417
18418         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
18419         needed with new versions of libtool (nobody will confirm this),
18420         and hard to carry around.
18421         * gst/autoplug/Makefile.am:
18422         * gst/base/Makefile.am:
18423         * gst/elements/Makefile.am:
18424         * gst/indexers/Makefile.am:
18425         * gst/schedulers/Makefile.am:
18426         * libs/gst/bytestream/Makefile.am:
18427         * libs/gst/control/Makefile.am:
18428         * libs/gst/dataprotocol/Makefile.am:
18429         * libs/gst/getbits/Makefile.am:
18430
18431 2005-04-21  Wim Taymans  <wim@fluendo.com>
18432
18433         * docs/design/draft-push-pull.txt:
18434         * docs/design/part-MT-refcounting.txt:
18435         * docs/design/part-TODO.txt:
18436         * docs/design/part-caps.txt:
18437         * docs/design/part-events.txt:
18438         * docs/design/part-gstbus.txt:
18439         * docs/design/part-gstpipeline.txt:
18440         * docs/design/part-messages.txt:
18441         * docs/design/part-push-pull.txt:
18442         * docs/design/part-query.txt:
18443         Some more docs.
18444
18445 2005-04-21  Wim Taymans  <wim@fluendo.com>
18446
18447         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
18448         (gst_message_new), (gst_message_new_error),
18449         (gst_message_new_warning), (gst_message_new_tag),
18450         (gst_message_new_state_changed), (gst_message_new_application),
18451         (gst_message_get_structure):
18452         * gst/gstmessage.h:
18453         * gst/gststructure.c: (gst_structure_set_parent_refcount),
18454         (gst_structure_copy_conditional):
18455         Use parent refcount in GstMessage to ensure GstStructure
18456         consistency.
18457         Cleaned up headers a bit.
18458         
18459
18460 2005-04-20  Wim Taymans  <wim@fluendo.com>
18461
18462         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18463         (gst_basesink_pad_getcaps), (gst_basesink_init),
18464         (gst_basesink_chain_unlocked):
18465         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
18466         (gst_type_find_helper):
18467         * gst/elements/gsttypefindelement.c:
18468         (gst_type_find_element_have_type), (gst_type_find_element_init),
18469         (stop_typefinding), (gst_type_find_element_handle_event),
18470         (find_suggest), (gst_type_find_element_chain),
18471         (gst_type_find_element_checkgetrange),
18472         (gst_type_find_element_getrange), (do_typefind),
18473         (gst_type_find_element_activate):
18474         * gst/gstbuffer.c: (_gst_buffer_sub_free),
18475         (gst_buffer_default_free), (gst_buffer_default_copy),
18476         (gst_buffer_set_caps):
18477         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
18478         (gst_caps_replace):
18479         * gst/gstmessage.c: (gst_message_new),
18480         (gst_message_new_state_changed):
18481         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18482         (gst_pad_set_checkgetrange_function),
18483         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
18484         (gst_pad_set_caps), (gst_pad_check_pull_range),
18485         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
18486         * gst/gstpad.h:
18487         * gst/gsttypefind.c: (gst_type_find_register):
18488         Make gst_caps_replace() work like other _replace() functions.
18489         Use _caps_replace() where possible.
18490         Make sure _message_new() initialises its field.
18491         Add gst_static_pad_template_get_caps()
18492
18493
18494 2005-04-18  Andy Wingo  <wingo@pobox.com>
18495
18496         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
18497         on the peer, not the pad. I think that was a typo. Pass an extra
18498         arg to see if random access is possible. Activate the pads as
18499         PULL_RANGE if possible.
18500
18501         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
18502
18503         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
18504         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
18505         to PROP_....
18506
18507 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18508
18509         * docs/faq/using.xml:
18510           Add note on gstreamer-properties (#154996).
18511
18512 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18513
18514         * docs/random/bbb/optional-properties:
18515           Some analysis on optional properties.
18516
18517 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18518
18519         * docs/gst/tmpl/gstelementfactory.sgml:
18520         * gst/gstelement.h:
18521         * gst/gstelementfactory.c: (gst_element_factory_init),
18522         (gst_element_factory_cleanup), (gst_element_register),
18523         (__gst_element_factory_add_static_pad_template),
18524         (gst_element_factory_get_static_pad_templates),
18525         (gst_element_factory_can_src_caps),
18526         (gst_element_factory_can_sink_caps):
18527         * gst/registries/Makefile.am:
18528         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
18529         (gst_xml_registry_class_init), (gst_xml_registry_init),
18530         (gst_xml_registry_new), (gst_xml_registry_set_property),
18531         (gst_xml_registry_get_property), (get_time), (make_dir),
18532         (gst_xml_registry_get_perms_func),
18533         (plugin_times_older_than_recurse), (plugin_times_older_than),
18534         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
18535         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
18536         (add_to_char_array), (read_string), (read_uint), (read_enum),
18537         (load_pad_template), (load_feature), (load_plugin), (load_paths),
18538         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
18539         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
18540         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
18541         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
18542         (gst_xml_registry_rebuild):
18543         * gst/registries/gstlibxmlregistry.h:
18544         * tools/gst-compprep.c: (main):
18545         * tools/gst-inspect.c: (print_pad_templates_info):
18546         * tools/gst-xmlinspect.c: (print_element_info):
18547           Use libxml2 for registry parsing, use staticpadtemplates in
18548           elementfactories. Makes gst_init() +/- 10x faster.
18549
18550 2005-04-12  Wim Taymans  <wim@fluendo.com>
18551
18552         * gst/base/Makefile.am:
18553         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18554         (gst_basesink_pad_getcaps), (gst_basesink_init),
18555         (gst_basesink_event), (gst_basesink_change_state):
18556         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18557         (gst_basesrc_init), (gst_basesrc_query),
18558         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
18559         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
18560         (gst_basesrc_check_get_range), (gst_basesrc_loop),
18561         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
18562         (gst_basesrc_stop), (gst_basesrc_activate),
18563         (gst_basesrc_change_state):
18564         * gst/base/gsttypefindhelper.c: (helper_find_peek),
18565         (helper_find_suggest), (gst_type_find_helper):
18566         * gst/base/gsttypefindhelper.h:
18567         * gst/elements/Makefile.am:
18568         * gst/elements/gstelements.c:
18569         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18570         (gst_fakesink_get_times), (gst_fakesink_event),
18571         (gst_fakesink_preroll), (gst_fakesink_render):
18572         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18573         (gst_fakesrc_init), (gst_fakesrc_event_handler),
18574         (gst_fakesrc_get_property), (gst_fakesrc_create),
18575         (gst_fakesrc_start), (gst_fakesrc_stop):
18576         * gst/elements/gstfakesrc.h:
18577         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
18578         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
18579         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
18580         (gst_filesrc_create_read), (gst_filesrc_create),
18581         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
18582         (gst_filesrc_start):
18583         * gst/elements/gsttypefindelement.c:
18584         (gst_type_find_element_have_type), (gst_type_find_element_init),
18585         (start_typefinding), (stop_typefinding), (push_buffer_store),
18586         (gst_type_find_element_handle_event),
18587         (gst_type_find_element_chain),
18588         (gst_type_find_element_checkgetrange),
18589         (gst_type_find_element_getrange), (do_typefind),
18590         (gst_type_find_element_activate),
18591         (gst_type_find_element_change_state):
18592         * gst/elements/gsttypefindelement.h:
18593         * gst/gstpipeline.c: (pipeline_bus_handler):
18594         Added typefind helper.
18595         Small preroll fix in the base sink.
18596         Disable typefind code in basesrc.
18597         Crude port of typefindelement.
18598         Fakesrc cleanups.
18599
18600
18601 2005-04-11  Wim Taymans  <wim@fluendo.com>
18602
18603         * check/gst/gstbus.c: (gstbus_suite):
18604         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
18605         * check/gstcheck.h:
18606           Fix up the timeout so that the test does not fail.
18607
18608 2005-04-06  Wim Taymans  <wim@fluendo.com>
18609
18610         * gst/base/README:
18611         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18612         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
18613         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
18614         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
18615         (gst_basesrc_check_get_range), (gst_basesrc_loop),
18616         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
18617         (gst_basesrc_stop), (gst_basesrc_activate),
18618         (gst_basesrc_change_state), (basesrc_find_peek),
18619         (basesrc_find_suggest), (gst_basesrc_type_find):
18620         * gst/base/gstbasesrc.h:
18621         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
18622         (gst_filesrc_class_init), (gst_filesrc_init),
18623         (gst_filesrc_finalize), (gst_filesrc_set_location),
18624         (gst_filesrc_set_property), (gst_filesrc_get_property),
18625         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
18626         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
18627         (gst_filesrc_create_read), (gst_filesrc_create),
18628         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
18629         * gst/elements/gstfilesrc.h:
18630         * gst/gstelement.c: (gst_element_get_state_func),
18631         (gst_element_lost_state), (gst_element_pads_activate):
18632         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18633         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
18634         (gst_pad_pull_range):
18635         * gst/gstpad.h:
18636         More work on the generic source base class, implement seeking,
18637         query.
18638         Make filesrc extend the base source class.
18639         Added gst_pad_set_checkgetrange_function to GstPad.
18640
18641 2005-04-06  Andy Wingo  <wingo@pobox.com>
18642
18643         * pkgconfig/gstreamer-base.pc.in:
18644         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
18645
18646         * pkgconfig/Makefile.am:
18647         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
18648
18649 2005-04-04  Wim Taymans  <wim@fluendo.com>
18650
18651         * gst/base/Makefile.am:
18652         * gst/base/README:
18653         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18654         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
18655         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
18656         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
18657         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18658         (gst_basesrc_base_init), (gst_basesrc_class_init),
18659         (gst_basesrc_init), (gst_basesrc_get_formats),
18660         (gst_basesrc_get_query_types), (gst_basesrc_query),
18661         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
18662         (gst_basesrc_set_property), (gst_basesrc_get_property),
18663         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
18664         (gst_basesrc_loop), (gst_basesrc_activate),
18665         (gst_basesrc_change_state):
18666         * gst/base/gstbasesrc.h:
18667         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
18668         (gst_fakesrc_class_init), (gst_fakesrc_init),
18669         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
18670         (gst_fakesrc_get_property), (gst_fakesrc_create):
18671         * gst/elements/gstfakesrc.h:
18672         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
18673         (gst_filesrc_open_file), (gst_filesrc_loop),
18674         (gst_filesrc_activate), (filesrc_find_peek),
18675         (gst_filesrc_type_find):
18676         Made base source class, make fakesrc extend it.
18677         Add comments to basesink class.
18678         Some filesrc cleanup.
18679
18680 2005-03-31  David Schleef  <ds@schleef.org>
18681
18682         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
18683         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
18684         expected to link against libgstreamer.
18685         * gst/base/Makefile.am: link against libgstreamer
18686         * gst/elements/Makefile.am: same
18687
18688 2005-03-31  Andy Wingo  <wingo@pobox.com>
18689
18690         * tests/instantiate/Makefile.am:
18691         * tests/instantiate/caps.c: Add test to test speed of caps copy
18692         and free.
18693
18694         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
18695         GMemChunk to be fair.
18696
18697         * gst/gsttrashstack.h: Remove warning about using the fallback
18698         trash stack implementation, it's still faster than malloc.
18699
18700 2005-03-30  Andy Wingo  <wingo@pobox.com>
18701
18702         * tests/complexity.c: Add a copyright.
18703
18704 2005-03-31  Wim Taymans  <wim@fluendo.com>
18705
18706         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
18707         (gst_base_transform_class_init), (gst_base_transform_init),
18708         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
18709         (gst_base_transform_get_property),
18710         (gst_base_transform_sink_activate),
18711         (gst_base_transform_src_activate),
18712         (gst_base_transform_change_state):
18713         * gst/base/gstbasetransform.h:
18714         * gst/elements/gstidentity.c: (gst_identity_class_init),
18715         (gst_identity_event), (gst_identity_check_perfect),
18716         (gst_identity_transform), (gst_identity_start),
18717         (gst_identity_stop):
18718         Added start/stop methods to transform base class so subclasses 
18719         don't need to deal with state changes even.
18720
18721 2005-03-31  Wim Taymans  <wim@fluendo.com>
18722
18723         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
18724         (gst_event_new_discontinuous), (gst_event_discont_get_value):
18725         * gst/gstevent.h:
18726         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18727         (gst_pad_pull_range):
18728         Added rate to the discont event to prepare for variable speed
18729         and reverse playback.
18730
18731 2005-03-29  David Schleef  <ds@schleef.org>
18732
18733         * configure.ac:
18734         * testsuite/trigger/Makefile.am:
18735         * testsuite/trigger/trigger.c: A little example program to show
18736         how trigger-based elements can work.
18737
18738 2005-03-29  Wim Taymans  <wim@fluendo.com>
18739
18740         * gst/base/Makefile.am:
18741         * gst/base/README:
18742         * gst/base/gstbasesink.c: (gst_basesink_get_type),
18743         (gst_basesink_base_init), (gst_basesink_class_init),
18744         (gst_basesink_pad_getcaps), (gst_basesink_init),
18745         (gst_basesink_activate), (gst_basesink_change_state):
18746         * gst/base/gstbasesink.h:
18747         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
18748         (gst_base_transform_base_init), (gst_base_transform_finalize),
18749         (gst_base_transform_class_init), (gst_base_transform_init),
18750         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
18751         (gst_base_transform_event), (gst_base_transform_getrange),
18752         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
18753         (gst_base_transform_set_property),
18754         (gst_base_transform_get_property),
18755         (gst_base_transform_sink_activate),
18756         (gst_base_transform_src_activate),
18757         (gst_base_transform_change_state):
18758         * gst/base/gstbasetransform.h:
18759         * gst/elements/gstidentity.c: (gst_identity_finalize),
18760         (gst_identity_class_init), (gst_identity_init),
18761         (gst_identity_event), (gst_identity_check_perfect),
18762         (gst_identity_transform), (gst_identity_set_property),
18763         (gst_identity_get_property), (gst_identity_change_state):
18764         * gst/elements/gstidentity.h:
18765         * gst/gstelement.c: (gst_element_get_state_func),
18766         (gst_element_lost_state), (gst_element_pads_activate):
18767         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18768         (gst_pad_check_pull_range), (gst_pad_pull_range):
18769         * gst/gstpad.h:
18770         Simplify pad activation.
18771         Added function to check if pull_range can be performed.
18772         Error out when pulling inactive or flushing pads.
18773         Removed const from refcounted types as it does not make sense.
18774         Simplify pad templates in basesink
18775         Added base class for simple 1-to-1 transforms.
18776         Make identity subclass the base transform.
18777
18778 2005-03-29  Andy Wingo  <wingo@pobox.com>
18779
18780         * docs/libs/gstreamer-libs-overrides.txt: 
18781         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
18782         really don't understand what's going on, but like whatever. I want
18783         green buildbot!
18784
18785         * docs/gst/Makefile.am:
18786         * docs/libs/Makefile.am: Dist the overrides files.
18787
18788         * check/Makefile.am (clean-local): Remove .libs directories.
18789
18790         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
18791         elements to EXTRA_DIST, so po/ files are happy.
18792
18793         * po/POTFILES.in: Er, remove it here.
18794
18795         * po/POTFILES: Remove gstspider.c.
18796
18797         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
18798
18799         * docs/libs/gstreamer-libs-docs.sgml: 
18800         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
18801         bytestream.
18802
18803         * tests/complexity.c (main): Set the length of the preroll queue
18804         on the sinks to prevent a lockup.
18805
18806         * libs/gst/dataprotocol/Makefile.am: 
18807         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
18808         the same as the one in check/gst-libs/gdp.c.
18809
18810         * po/, docs/gst/: Commit automatic changes to docs and po files.
18811
18812         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
18813         the versioned libgstbase.
18814
18815         * check/Makefile.am: Depend on an unversioned gst-register, seems
18816         to make autoconf happier.
18817
18818         * gst/base/Makefile.am: Make libgstbase a versioned lib.
18819
18820 2005-03-28  Wim Taymans  <wim@fluendo.com>
18821
18822         * configure.ac:
18823         * docs/design/part-gstelement.txt:
18824         * docs/design/part-negotiation.txt:
18825         * docs/design/part-preroll.txt:
18826         * docs/design/part-scheduling.txt:
18827         * docs/design/part-states.txt:
18828         * gst/Makefile.am:
18829         * gst/base/Makefile.am:
18830         * gst/base/README:
18831         * gst/base/gstbasesink.c: (gst_basesink_get_template),
18832         (gst_basesink_base_init), (gst_basesink_class_init),
18833         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
18834         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
18835         (gst_basesink_set_pad_functions),
18836         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
18837         (gst_basesink_set_property), (gst_basesink_get_property),
18838         (gst_base_sink_get_template), (gst_base_sink_get_caps),
18839         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
18840         (gst_basesink_preroll_queue_push),
18841         (gst_basesink_preroll_queue_empty),
18842         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
18843         (gst_basesink_event), (gst_basesink_get_times),
18844         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
18845         (gst_basesink_chain_unlocked), (gst_basesink_chain),
18846         (gst_basesink_loop), (gst_basesink_activate),
18847         (gst_basesink_change_state):
18848         * gst/base/gstbasesink.h:
18849         * gst/elements/Makefile.am:
18850         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
18851         (gst_fakesink_class_init), (gst_fakesink_init),
18852         (gst_fakesink_set_property), (gst_fakesink_get_property),
18853         (gst_fakesink_get_times), (gst_fakesink_event),
18854         (gst_fakesink_preroll), (gst_fakesink_render),
18855         (gst_fakesink_change_state):
18856         * gst/elements/gstfakesink.h:
18857         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
18858         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
18859         * gst/gstelement.c: (gst_element_add_pad),
18860         (gst_element_get_state_func), (gst_element_abort_state),
18861         (gst_element_commit_state), (gst_element_lost_state),
18862         (gst_element_set_state), (gst_element_pads_activate):
18863         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
18864         * gst/gstpipeline.c: (gst_pipeline_send_event),
18865         (gst_pipeline_change_state):
18866         Added state change code.
18867         Added/updated docs.
18868         Added sink base class, make fakesink extend the base class.
18869         Small cleanups in GstPipeline.
18870
18871 2005-03-26  David Schleef  <ds@schleef.org>
18872
18873         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
18874         is broken and should be implemented in a different library.
18875         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
18876         * gst/gst.h: remove gstcpu.h
18877         * gst/gstcpu.c: remove
18878         * gst/gstcpu.h: remove
18879         * gst/Makefile.am.future: Remove this file.  It's ancient.
18880
18881 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18882
18883         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
18884         (gst_bin_send_event):
18885           Add default event/set_manager handlers. The set_manager handler
18886           takes care that the manager is distributed over kids that were
18887           already in the bin before the manager was set. The event handler
18888           is a utility virtual function that sends the event over all sinks,
18889           so that gst_element_send_event (bin, event); has the expected
18890           behaviour.
18891         * gst/gstpad.c: (gst_pad_event_default):
18892           Re-install default event handling for discontinuities, so that
18893           seeking works without requiring hacks in applications or extra
18894           code in sinks.
18895         * gst/gstpipeline.c: (gst_pipeline_class_init),
18896         (gst_pipeline_send_event):
18897           Half hack, half utility: set a pipeline to PAUSED for seek events,
18898           since that is the only way we can guarantee a/v sync. Means that
18899           you can do gst_element_seek (pipeline, method, pos); on a pipeline
18900           and it "just works".
18901
18902 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18903
18904         * gst/gstpipeline.c: (gst_pipeline_use_clock):
18905           Lock/unlock mismatch.
18906
18907 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
18908
18909         * docs/faq/gst-uninstalled:
18910           add gst-plugins-base
18911         * docs/gst/Makefile.am:
18912           don't error out until docs are fixed
18913         * docs/gst/gstreamer.types:
18914           remove thread
18915
18916 2005-03-22  Wim Taymans  <wim@fluendo.com>
18917
18918         * check/Makefile.am:
18919         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
18920         * gst/gststructure.c: (gst_structure_set_valist),
18921         (gst_structure_copy_conditional):
18922         Activated more tests.
18923         Added message test.
18924         Added G_TYPE_POINTER to GstStructure.
18925         
18926
18927 2005-03-22  Wim Taymans  <wim@fluendo.com>
18928
18929         * docs/design/part-TODO.txt:
18930         * docs/design/part-events.txt:
18931         * docs/design/part-gstbin.txt:
18932         * docs/design/part-gstbus.txt:
18933         * docs/design/part-gstpipeline.txt:
18934         * docs/design/part-messages.txt:
18935         * gst/gstbus.c:
18936         * gst/gstmessage.c:
18937         Docs updates
18938
18939 2005-03-21  Wim Taymans  <wim@fluendo.com>
18940
18941         * gst/gstbus.c: (gst_bus_post):
18942         Fix copy-and-paste error.
18943
18944 2005-03-21  Wim Taymans  <wim@fluendo.com>
18945
18946         * check/Makefile.am:
18947         * gst/Makefile.am:
18948         * gst/elements/Makefile.am:
18949         * gst/elements/gstelements.c:
18950         * gst/elements/gstfakesink.c: (gst_fakesink_init),
18951         (gst_fakesink_event), (gst_fakesink_chain):
18952         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18953         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
18954         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
18955         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
18956         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
18957         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
18958         (gst_fakesrc_loop), (gst_fakesrc_activate),
18959         (gst_fakesrc_change_state):
18960         * gst/elements/gstfakesrc.h:
18961         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
18962         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
18963         (gst_filesrc_open_file), (gst_filesrc_loop),
18964         (gst_filesrc_activate), (gst_filesrc_change_state),
18965         (filesrc_find_peek), (filesrc_find_suggest),
18966         (gst_filesrc_type_find):
18967         * gst/elements/gstidentity.c: (gst_identity_finalize),
18968         (gst_identity_class_init), (gst_identity_init),
18969         (gst_identity_proxy_getcaps), (identity_queue_push),
18970         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
18971         (gst_identity_getrange), (gst_identity_chain),
18972         (gst_identity_sink_loop), (gst_identity_src_loop),
18973         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
18974         (gst_identity_set_property), (gst_identity_get_property),
18975         (gst_identity_change_state):
18976         * gst/elements/gstidentity.h:
18977         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
18978         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
18979         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
18980         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
18981         (gst_tee_sink_activate):
18982         * gst/elements/gsttee.h:
18983         * gst/gst.c: (gst_register_core_elements), (init_post):
18984         * gst/gst.h:
18985         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
18986         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
18987         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
18988         (gst_bin_change_state):
18989         * gst/gstbin.h:
18990         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
18991         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
18992         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
18993         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
18994         (gst_bus_set_sync_handler), (gst_bus_create_watch),
18995         (bus_watch_callback), (bus_watch_destroy),
18996         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
18997         (poll_timeout), (gst_bus_poll):
18998         * gst/gstbus.h:
18999         * gst/gstcaps.h:
19000         * gst/gstdata.h:
19001         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19002         (gst_element_post_message), (gst_element_message_full),
19003         (gst_element_get_state_func), (gst_element_get_state),
19004         (gst_element_abort_state), (gst_element_commit_state),
19005         (gst_element_lost_state), (gst_element_set_state),
19006         (gst_element_pads_activate), (gst_element_change_state),
19007         (gst_element_dispose), (gst_element_set_manager_func),
19008         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
19009         (gst_element_set_manager), (gst_element_get_manager),
19010         (gst_element_set_bus), (gst_element_get_bus),
19011         (gst_element_set_scheduler), (gst_element_get_scheduler):
19012         * gst/gstelement.h:
19013         * gst/gstevent.c: (gst_event_new_segment_seek),
19014         (gst_event_new_flush):
19015         * gst/gstevent.h:
19016         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
19017         (_gst_message_free), (gst_message_get_type), (gst_message_new),
19018         (gst_message_new_eos), (gst_message_new_error),
19019         (gst_message_new_warning), (gst_message_new_tag),
19020         (gst_message_new_state_changed), (gst_message_new_application),
19021         (gst_message_get_structure), (gst_message_parse_tag),
19022         (gst_message_parse_state_changed), (gst_message_parse_error),
19023         (gst_message_parse_warning):
19024         * gst/gstmessage.h:
19025         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
19026         (gst_real_pad_set_property), (gst_pad_set_active),
19027         (gst_pad_is_active), (gst_pad_set_blocked_async),
19028         (gst_pad_set_blocked), (gst_pad_is_blocked),
19029         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
19030         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
19031         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
19032         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
19033         (gst_pad_link_filtered), (gst_pad_relink_filtered),
19034         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
19035         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
19036         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
19037         (gst_pad_set_caps), (gst_pad_configure_sink),
19038         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
19039         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
19040         (gst_real_pad_dispose), (gst_real_pad_finalize),
19041         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
19042         (gst_pad_event_default_dispatch), (gst_pad_event_default),
19043         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
19044         * gst/gstpad.h:
19045         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
19046         (pipeline_bus_handler), (gst_pipeline_change_state),
19047         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
19048         * gst/gstpipeline.h:
19049         * gst/gstprobe.h:
19050         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19051         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
19052         (gst_queue_link_src), (gst_queue_bufferalloc),
19053         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
19054         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
19055         (gst_queue_loop), (gst_queue_handle_src_event),
19056         (gst_queue_handle_src_query), (gst_queue_src_activate),
19057         (gst_queue_change_state):
19058         * gst/gstqueue.h:
19059         * gst/gstscheduler.c: (gst_scheduler_init),
19060         (gst_scheduler_dispose), (gst_scheduler_create_task),
19061         (gst_scheduler_factory_create):
19062         * gst/gstscheduler.h:
19063         * gst/gststructure.c: (gst_structure_get_type),
19064         (gst_structure_copy_conditional):
19065         * gst/gststructure.h:
19066         * gst/gsttaginterface.h:
19067         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19068         (gst_task_init), (gst_task_dispose), (gst_task_create),
19069         (gst_task_get_state), (gst_task_start), (gst_task_stop),
19070         (gst_task_pause):
19071         * gst/gsttask.h:
19072         * gst/gstthread.c:
19073         * gst/gstthread.h:
19074         * gst/gsttypes.h:
19075         * gst/schedulers/Makefile.am:
19076         * gst/schedulers/cothreads_compat.h:
19077         * gst/schedulers/entryscheduler.c:
19078         * gst/schedulers/faircothreads.c:
19079         * gst/schedulers/faircothreads.h:
19080         * gst/schedulers/fairscheduler.c:
19081         * gst/schedulers/gstbasicscheduler.c:
19082         * gst/schedulers/gstoptimalscheduler.c:
19083         * gst/schedulers/gthread-cothreads.h:
19084         * gst/schedulers/threadscheduler.c:
19085         (gst_thread_scheduler_task_get_type),
19086         (gst_thread_scheduler_task_class_init),
19087         (gst_thread_scheduler_task_init),
19088         (gst_thread_scheduler_task_start),
19089         (gst_thread_scheduler_task_stop),
19090         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
19091         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19092         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
19093         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
19094         (plugin_init):
19095         * libs/gst/Makefile.am:
19096         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
19097         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
19098         (gst_file_pad_parent_set):
19099         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19100         (gst_dp_event_from_packet):
19101         * tests/complexity.c: (main):
19102         * tests/mass_elements.c: (main):
19103         * testsuite/states/locked.c: (message_received), (main):
19104         * testsuite/states/parent.c: (main):
19105         * tools/gst-inspect.c: (print_element_flag_info),
19106         (print_implementation_info), (print_pad_info):
19107         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
19108         (main):
19109         * tools/gst-md5sum.c: (event_loop), (main):
19110         * tools/gst-typefind.c: (main):
19111         * tools/gst-xmlinspect.c: (print_element_info):
19112         Next big merge.
19113         Added GstBus for mainloop integration.
19114         Added GstMessage for sending notifications on the bus.
19115         Added GstTask as an abstraction for pipeline entry points.
19116         Removed GstThread.
19117         Removed Schedulers.
19118         Simplified GstQueue for multithreaded core.
19119         Made _link threadsafe, removed old capsnego.
19120         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
19121         Added pad blocking functions.
19122         Reworked scheduling functions in GstPad to prepare for
19123         scheduling updates soon.
19124         Moved events out of data stream.
19125         Simplified GstEvent types.
19126         Added return values to push/pull.
19127         Removed clocking from GstElement.
19128         Added prototypes for state change function for next merge.
19129         Removed iterate from bins and state change management.
19130         Fixed some elements, disabled others for now.
19131         Fixed -inspect and -launch.
19132         Added check for GstBus.
19133
19134 2005-03-10  Wim Taymans  <wim@fluendo.com>
19135
19136         * docs/design/part-MT-refcounting.txt:
19137         * docs/design/part-clocks.txt:
19138         * docs/design/part-gstelement.txt:
19139         * docs/design/part-gstobject.txt:
19140         * docs/design/part-standards.txt:
19141         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19142         (gst_bin_remove_func), (gst_bin_remove):
19143         * gst/gstbin.h:
19144         * gst/gstbuffer.c:
19145         * gst/gstcaps.h:
19146         * testsuite/clock/clock1.c: (main):
19147         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
19148         (main):
19149         * testsuite/dlopen/loadgst.c: (do_test):
19150         * testsuite/refcounting/bin.c: (add_remove_test1),
19151         (add_remove_test2), (main):
19152         * testsuite/refcounting/element.c: (main):
19153         * testsuite/refcounting/element_pad.c: (main):
19154         * testsuite/refcounting/pad.c: (main):
19155         * tools/gst-launch.c: (sigint_handler_sighandler):
19156         * tools/gst-typefind.c: (main):
19157         Doc updates.
19158         Added doc about clock.
19159         removed gst_bin_iterate_recurse_up(), marked methods
19160         for removal.
19161         Fix more testsuites.
19162
19163 2005-03-09  Wim Taymans  <wim@fluendo.com>
19164
19165         * gst/gstpad.c: (gst_pad_get_direction),
19166         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
19167         (gst_pad_collect_valist):
19168         * testsuite/bins/interface.c: (main):
19169         * testsuite/caps/audioscale.c: (test_caps):
19170         * testsuite/caps/caps.c: (test1), (test2), (test3):
19171         * testsuite/caps/deserialize.c: (main):
19172         * testsuite/caps/enumcaps.c: (main):
19173         * testsuite/caps/filtercaps.c: (main):
19174         * testsuite/caps/intersect2.c: (main):
19175         * testsuite/caps/random.c: (main):
19176         * testsuite/caps/renegotiate.c: (my_fixate), (main):
19177         * testsuite/caps/sets.c: (check_caps):
19178         * testsuite/caps/simplify.c: (check_caps), (main):
19179         * testsuite/caps/subtract.c: (check_caps):
19180         Fix _pad_get_direction wrt ghostpads.
19181         Fix caps testsuite.
19182
19183 2005-03-09  Wim Taymans  <wim@fluendo.com>
19184
19185         * check/Makefile.am:
19186         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
19187         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
19188         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
19189         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
19190         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
19191         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
19192         (gst_bin_remove), (gst_bin_iterate_recurse_up),
19193         (bin_element_is_sink), (gst_bin_iterate_sinks),
19194         (gst_bin_iterate_all_by_interface):
19195         * gst/gstbin.h:
19196         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
19197         (gst_element_change_state), (gst_element_dispose),
19198         (gst_element_finalize), (gst_element_set_loop_function):
19199         * gst/gstelement.h:
19200         * gst/gstiterator.c: (find_custom_fold_func):
19201         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19202         (gst_pad_collectv), (gst_pad_collect_valist),
19203         (gst_pad_template_new):
19204         * gst/gstpipeline.c: (gst_pipeline_class_init),
19205         (gst_pipeline_dispose), (gst_pipeline_set_property),
19206         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
19207         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
19208         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
19209         * gst/gstutils.h:
19210         * gst/schedulers/entryscheduler.c:
19211         * gst/schedulers/gstbasicscheduler.c:
19212         (gst_basic_scheduler_cothreaded_chain),
19213         (gst_basic_scheduler_chain_add_element):
19214         * testsuite/bins/interface.c: (main):
19215         Added GstBin test.
19216         Added GstSystemClock test.
19217         Implemented clock distribution code in GstBin.
19218         Implemented iterate sinks method for future use.
19219         Rearranged gstelement.h
19220         Fix GstIterator comparison bug.
19221         Moved some code to GstPipeline, mostly clocking related.
19222
19223 2005-03-09  Wim Taymans  <wim@fluendo.com>
19224
19225         * configure.ac:
19226         * gst/gst_private.h:
19227         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19228         (gst_bin_remove_func), (gst_bin_remove),
19229         (gst_bin_get_by_name_recurse_up):
19230         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
19231         (gst_clock_id_compare_func), (gst_clock_id_wait),
19232         (gst_clock_id_wait_async), (gst_clock_init),
19233         (gst_clock_adjust_unlocked), (gst_clock_get_time):
19234         * gst/gstelement.h:
19235         * gst/gstinfo.c: (_gst_debug_init):
19236         * gst/gstobject.h:
19237         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19238         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
19239         * gst/gstpad.h:
19240         Bump version number, we're now 0.9.0
19241         Add future debugging category.
19242         Fix NULL _unref() in _get_by_name_recurse_up
19243         Rearrange gstpad.h.
19244         Update some docs.
19245
19246 2005-03-08  Wim Taymans  <wim@fluendo.com>
19247
19248         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
19249         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
19250         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
19251         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
19252         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
19253         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
19254         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
19255         * gst/elements/gstidentity.c: (gst_identity_class_init):
19256         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
19257         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
19258         * gst/elements/gstshaper.c: (gst_shaper_class_init):
19259         * gst/elements/gststatistics.c: (gst_statistics_class_init):
19260         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
19261         (gst_tee_link):
19262         * gst/gstelement.c: (gst_element_class_init),
19263         (gst_element_base_class_init), (gst_element_init),
19264         (gst_element_get_random_pad), (gst_element_wait_state_change),
19265         (gst_element_change_state), (gst_element_dispose),
19266         (gst_element_finalize), (gst_element_set_loop_function):
19267         * gst/gstelement.h:
19268         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
19269         * gst/gstthread.c: (gst_thread_class_init),
19270         (gst_thread_release_children_locks), (gst_thread_change_state):
19271         * gst/schedulers/gstbasicscheduler.c:
19272         (gst_basic_scheduler_loopfunc_wrapper),
19273         (gst_basic_scheduler_chain_wrapper),
19274         (gst_basic_scheduler_src_wrapper),
19275         (gst_basic_scheduler_remove_element):
19276         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
19277         Remove threadsafe properties. Fix elements because GObject
19278         complains when installing a property before declaring a
19279         set/get_property handler.
19280         Rearrange gstelement.h file, use STATE macros for state locks.
19281         Free mutexes in the finalize method instead of dispose.
19282
19283 2005-03-08  Wim Taymans  <wim@fluendo.com>
19284
19285         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
19286         * gst/gstthread.c: (gst_thread_release_children_locks):
19287         Added parentage check.
19288         Fix build og GstThread again.
19289
19290 2005-03-08  Wim Taymans  <wim@fluendo.com>
19291
19292         * docs/design/part-MT-refcounting.txt:
19293         * docs/design/part-conventions.txt:
19294         * docs/design/part-gstobject.txt:
19295         * docs/design/part-relations.txt:
19296         * docs/design/part-standards.txt:
19297         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19298         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
19299         (gst_bin_get_by_name), (gst_bin_get_by_interface),
19300         (gst_bin_iterate_all_by_interface):
19301         * gst/gstbuffer.h:
19302         * gst/gstclock.h:
19303         * gst/gstelement.c: (gst_element_class_init),
19304         (gst_element_change_state), (gst_element_set_loop_function):
19305         * gst/gstelement.h:
19306         * gst/gstiterator.c:
19307         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
19308         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
19309         (gst_object_dispatch_properties_changed), (gst_object_set_name),
19310         (gst_object_set_parent), (gst_object_unparent),
19311         (gst_object_check_uniqueness):
19312         * gst/gstobject.h:
19313         Docs updates, clean up some headers.
19314
19315 2005-03-07  Wim Taymans  <wim@fluendo.com>
19316
19317         * check/.cvsignore:
19318         * check/Makefile.am:
19319         * check/gst-libs/.cvsignore:
19320         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
19321         * check/gst/.cvsignore:
19322         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
19323         (START_TEST), (gstbus_suite), (main):
19324         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
19325         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
19326         (gst_data_suite), (main):
19327         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
19328         (add_fold_func), (gstiterator_suite), (main):
19329         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
19330         (thread_name_object), (thread_name_object_default),
19331         (gst_object_name_compare), (gst_object_suite), (main):
19332         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
19333         (gst_pad_suite), (main):
19334         * check/gstcheck.c: (gst_check_log_message_func),
19335         (gst_check_log_critical_func), (gst_check_init):
19336         * check/gstcheck.h:
19337         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19338         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
19339         Added checks.
19340
19341 2005-03-07  Wim Taymans  <wim@fluendo.com>
19342
19343         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
19344         (gst_list_iterator_next), (gst_list_iterator_resync),
19345         (gst_list_iterator_free), (gst_iterator_new_list),
19346         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
19347         (gst_iterator_free), (gst_iterator_push), (filter_next),
19348         (filter_resync), (filter_uninit), (filter_free),
19349         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
19350         (gst_iterator_foreach), (find_custom_fold_func),
19351         (gst_iterator_find_custom):
19352         * gst/gstiterator.h:
19353         Added missing files.
19354
19355 2005-03-07  Wim Taymans  <wim@fluendo.com>
19356
19357         * Makefile.am:
19358         * configure.ac:
19359         * docs/design/part-MT-refcounting.txt:
19360         * docs/design/part-conventions.txt:
19361         * docs/design/part-gstobject.txt:
19362         * docs/design/part-relations.txt:
19363         * examples/mixer/mixer.c: (main):
19364         * examples/thread/thread.c: (eos), (main):
19365         * gst/Makefile.am:
19366         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
19367         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
19368         (gst_spider_plug_from_srcpad):
19369         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
19370         (gst_spider_identity_change_state),
19371         (gst_spider_identity_sink_loop_type_finding):
19372         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
19373         * gst/elements/gstidentity.c: (gst_identity_init):
19374         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
19375         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
19376         * gst/elements/gsttypefindelement.c: (free_entry):
19377         * gst/gst.c:
19378         * gst/gst.h:
19379         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
19380         (gst_bin_set_clock_func), (gst_bin_auto_clock),
19381         (gst_bin_set_index), (gst_bin_set_element_sched),
19382         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
19383         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
19384         (gst_bin_iterate_elements), (iterate_child_recurse),
19385         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
19386         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
19387         (compare_interface), (gst_bin_get_by_interface),
19388         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
19389         * gst/gstbin.h:
19390         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
19391         (gst_buffer_default_free), (gst_buffer_default_copy),
19392         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
19393         (gst_buffer_create_sub):
19394         * gst/gstbuffer.h:
19395         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
19396         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
19397         (gst_caps_unref), (gst_static_caps_get),
19398         (gst_caps_remove_and_get_structure), (gst_caps_append),
19399         (gst_caps_append_structure), (gst_caps_remove_structure),
19400         (gst_caps_copy_nth), (gst_caps_set_simple),
19401         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
19402         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
19403         (gst_caps_structure_intersect_field), (gst_caps_intersect),
19404         (gst_caps_structure_subtract_field), (gst_caps_subtract),
19405         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
19406         (gst_caps_structure_figure_out_union),
19407         (gst_caps_switch_structures), (gst_caps_do_simplify),
19408         (gst_caps_replace), (gst_caps_from_string),
19409         (gst_caps_copy_conditional):
19410         * gst/gstcaps.h:
19411         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
19412         (_gst_clock_id_free), (gst_clock_id_unref),
19413         (gst_clock_id_compare_func), (gst_clock_id_wait),
19414         (gst_clock_id_wait_async), (gst_clock_class_init),
19415         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
19416         (gst_clock_get_time), (gst_clock_set_time_adjust),
19417         (gst_clock_set_property), (gst_clock_get_property):
19418         * gst/gstclock.h:
19419         * gst/gstcompat.h:
19420         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
19421         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
19422         * gst/gstdata.h:
19423         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19424         (gst_element_requires_clock), (gst_element_provides_clock),
19425         (gst_element_set_clock), (gst_element_clock_wait),
19426         (gst_element_wait), (gst_element_set_time_delay),
19427         (gst_element_is_indexable), (gst_element_add_pad),
19428         (gst_element_add_ghost_pad), (gst_element_remove_pad),
19429         (pad_compare_name), (gst_element_get_static_pad),
19430         (gst_element_request_pad), (gst_element_get_request_pad),
19431         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
19432         (gst_element_class_get_pad_template_list),
19433         (gst_element_class_get_pad_template), (gst_element_error_func),
19434         (gst_element_get_random_pad), (gst_element_get_event_masks),
19435         (gst_element_send_event), (gst_element_seek),
19436         (gst_element_get_query_types), (gst_element_query),
19437         (gst_element_get_formats), (gst_element_convert),
19438         (gst_element_is_locked_state), (gst_element_set_locked_state),
19439         (gst_element_sync_state_with_parent), (gst_element_change_state),
19440         (gst_element_finalize), (gst_element_yield),
19441         (gst_element_interrupt), (gst_element_set_scheduler),
19442         (gst_element_get_scheduler), (gst_element_set_loop_function):
19443         * gst/gstelement.h:
19444         * gst/gstevent.h:
19445         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
19446         (gst_format_get_by_nick), (gst_format_get_details),
19447         (gst_format_iterate_definitions):
19448         * gst/gstformat.h:
19449         * gst/gstindex.c: (gst_index_gtype_resolver):
19450         * gst/gstinfo.c:
19451         * gst/gstinfo.h:
19452         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
19453         (gst_mem_chunk_free):
19454         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19455         (gst_object_ref), (gst_object_unref), (gst_object_sink),
19456         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
19457         (gst_object_dispatch_properties_changed),
19458         (gst_object_set_name_default), (gst_object_set_name),
19459         (gst_object_get_name), (gst_object_set_name_prefix),
19460         (gst_object_get_name_prefix), (gst_object_set_parent),
19461         (gst_object_get_parent), (gst_object_unparent),
19462         (gst_object_check_uniqueness), (gst_object_save_thyself),
19463         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
19464         (gst_object_set_property), (gst_object_get_property),
19465         (gst_object_get_path_string):
19466         * gst/gstobject.h:
19467         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
19468         (gst_real_pad_init), (gst_real_pad_get_property),
19469         (gst_pad_custom_new), (gst_pad_get_direction),
19470         (gst_pad_set_active), (gst_pad_is_active),
19471         (gst_pad_set_event_function), (gst_pad_is_linked),
19472         (gst_pad_link_free), (gst_pad_link_intersect),
19473         (gst_pad_link_fixate), (gst_pad_set_caps),
19474         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
19475         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
19476         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
19477         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
19478         (gst_pad_get_caps), (gst_pad_peer_get_caps),
19479         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
19480         (gst_pad_realize), (gst_pad_get_allowed_caps),
19481         (gst_real_pad_dispose), (gst_real_pad_finalize),
19482         (gst_pad_collectv), (gst_pad_collect_valist),
19483         (gst_pad_template_dispose), (gst_pad_template_new),
19484         (gst_pad_get_internal_links):
19485         * gst/gstpad.h:
19486         * gst/gstpipeline.c: (gst_pipeline_dispose),
19487         (gst_pipeline_change_state):
19488         * gst/gstpipeline.h:
19489         * gst/gstplugin.c:
19490         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
19491         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
19492         * gst/gstpluginfeature.h:
19493         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
19494         * gst/gstquery.c: (_gst_query_type_initialize),
19495         (gst_query_type_register), (gst_query_type_get_by_nick),
19496         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
19497         * gst/gstquery.h:
19498         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
19499         * gst/gstscheduler.c: (gst_scheduler_add_element),
19500         (gst_scheduler_factory_create):
19501         * gst/gststructure.c: (gst_structure_set_parent_refcount),
19502         (gst_structure_free), (gst_structure_set_name),
19503         (gst_structure_id_set_value), (gst_structure_set_value),
19504         (gst_structure_set_valist), (gst_structure_remove_field),
19505         (gst_structure_remove_fields),
19506         (gst_structure_remove_fields_valist),
19507         (gst_structure_remove_all_fields), (gst_structure_foreach),
19508         (gst_structure_map_in_place),
19509         (gst_caps_structure_fixate_field_nearest_int),
19510         (gst_caps_structure_fixate_field_nearest_double):
19511         * gst/gststructure.h:
19512         * gst/gstsystemclock.c: (gst_system_clock_class_init),
19513         (gst_system_clock_init), (gst_system_clock_dispose),
19514         (gst_system_clock_async_thread),
19515         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
19516         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
19517         * gst/gstsystemclock.h:
19518         * gst/gsttag.c: (gst_tag_list_add_value_internal),
19519         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
19520         * gst/gsttaginterface.c:
19521         * gst/gstthread.c: (gst_thread_dispose),
19522         (gst_thread_release_children_locks), (gst_thread_change_state),
19523         (gst_thread_main_loop):
19524         * gst/gsttrashstack.h:
19525         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
19526         * gst/gsttypes.h:
19527         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
19528         (gst_element_request_pad), (gst_element_get_pad_from_template),
19529         (gst_element_request_compatible_pad),
19530         (gst_element_get_compatible_pad_filtered),
19531         (gst_element_get_compatible_pad), (gst_element_state_get_name),
19532         (gst_element_link_pads_filtered), (gst_element_link_filtered),
19533         (gst_element_link_many), (gst_element_link),
19534         (gst_element_link_pads), (gst_element_unlink_pads),
19535         (gst_element_unlink_many), (gst_element_unlink),
19536         (gst_pad_can_link_filtered), (gst_pad_can_link),
19537         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
19538         (gst_object_default_error), (gst_bin_add_many),
19539         (gst_bin_remove_many), (gst_element_populate_std_props),
19540         (gst_element_class_install_std_props), (gst_buffer_merge),
19541         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
19542         (link_fold_func), (gst_pad_proxy_setcaps):
19543         * gst/gstutils.h:
19544         * gst/gstvalue.c: (gst_value_deserialize_string):
19545         * gst/parse/grammar.y:
19546         * gst/schedulers/gstbasicscheduler.c:
19547         (gst_basic_scheduler_cothreaded_chain),
19548         (gst_basic_scheduler_chain_recursive_add),
19549         (gst_basic_scheduler_pad_link):
19550         * gst/schedulers/gstoptimalscheduler.c:
19551         (get_group_schedule_function),
19552         (gst_opt_scheduler_state_transition),
19553         (gst_opt_scheduler_add_element), (element_get_reachables_func):
19554         * libs/gst/bytestream/bytestream.c:
19555         * libs/gst/dataprotocol/dataprotocol.c:
19556         (gst_dp_header_from_buffer):
19557         * po/nb.po:
19558         * po/ru.po:
19559         * tests/threadstate/threadstate2.c: (eos):
19560         * tools/gst-compprep.c: (main):
19561         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
19562         (print_pad_info), (print_children_info):
19563         * tools/gst-launch.c: (idle_func), (main):
19564         * tools/gst-md5sum.c: (idle_func), (main):
19565         * tools/gst-xmlinspect.c: (print_element_info):
19566         First THREADED backport attempt, focusing on adding locks and
19567         making sure the API is threadsafe. Needs more work. More docs
19568         follow this week.
19569
19570 2005-02-24  Andy Wingo  <wingo@pobox.com>
19571
19572         * tests/bench-complexity.scm:
19573         * tests/complexity.gnuplot: New files, good for running complexity
19574         benchmarks.
19575
19576         * tests/Makefile.am:
19577         * tests/complexity.c: New test, sets up N elements, at each level
19578         teeing into M streams per element. Eeeenteresting.
19579
19580         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
19581         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
19582         running bench-mass_elements.scm.
19583
19584         * tests/bench-mass_elements.scm: New script, runs mass_elements
19585         for various numbers of identities, outputting the results to a
19586         file. Requires guile 1.6. Just for testing.
19587
19588 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19589
19590         * gst/schedulers/fairscheduler.c:
19591           compile with debug disabled
19592
19593 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
19594
19595         * configure.ac:
19596           hunting season on 0.9 is now OPEN