Typo fixes; minor docs addition.
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
2
3         * docs/design/part-events.txt:
4         * docs/design/part-overview.txt:
5         * gst/gstevent.c:
6         * gst/gsturi.c:
7         * gst/gsturi.h:
8         * libs/gst/base/gstbasesink.c:
9           Typo fixes; minor docs addition.
10
11 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
12
13         * docs/gst/gstreamer-sections.txt:
14         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
15         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
16         * gst/gsturi.h:
17         API: Add gst_uri_protocol_is_supported(), which checks if an sink
18         or src that supports a given URI protocol exists.
19
20 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
21
22         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
23         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
24         Set the location to NULL if "file://" is set as URI. Otherwise
25         some random previous URI would still be set if "file://" is
26         set on an already used filesink/filesrc.
27
28 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
29
30         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
31         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
32         Special case the "file://" URI as as this is used by some
33         applications to test with gst_element_make_from_uri if there's
34         an element that supports the URI protocol.
35         Also move the g_path_is_absolute() check for the location part
36         of the URI to also check this for "file://localhost/bla" URIs.
37
38 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
39
40         * docs/gst/gstreamer-sections.txt:
41         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
42         * gst/gstbuffer.h:
43         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
44         (gst_buffer_suite):
45           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
46
47 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
48
49         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
50         (gst_registry_binary_load_pad_template),
51         (gst_registry_binary_load_plugin),
52         (gst_registry_binary_read_cache):
53         * gst/gstregistrybinary.h:
54           Implement no-mmap alternative for registry reading. Do code cleanups.
55           Add more comments about avoiding strdups for all text data. Comments
56           welcome.
57
58 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
59
60         * gst/gstregistrybinary.h (GstBinaryPluginElement,
61           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
62           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
63           Comment structs and reformat to fix the build (that stuff should go
64           into a priv. header).
65
66 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
67
68         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
69         (gst_registry_binary_load_feature):
70         * gst/gstregistrybinary.h:
71           Refactor so that we can implement multiple features. Add support for
72           TypeFindFactory features.
73
74 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
75
76         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
77
78         * configure.ac:
79           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
80
81 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
82
83         * gst/gstbin.c: (gst_bin_element_set_state),
84         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
85         (bin_handle_async_done), (gst_bin_handle_message_func):
86           Fix build with --gst-disable-gst-debug
87
88 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
89
90         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
91           Make sure streaming has finished before calling the ::stop() vfunc,
92           since that vfunc might clear state which is being used in the
93           streaming thread. This fixes a race that caused crashes in
94           audioresample when shutting down a pipeline (#420106).
95
96 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
97
98         * docs/gst/gstreamer-sections.txt:
99           That was one byte missing.
100
101 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
102
103         * configure.ac:
104         * docs/gst/gstreamer-sections.txt:
105         * gst/Makefile.am:
106         * gst/gstconfig.h.in:
107         * gst/gstobject.c: (gst_object_class_init),
108         (gst_signal_object_class_init):
109         * gst/gstobject.h:
110           2nd attempt to have a xml-less build as a joined effort of #413123
111           and #421480.
112
113 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
114
115         * docs/design/draft-tagreading.txt:
116           Added open issues/thoughts to draft.
117
118 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
119
120         * gst/parse/grammar.tab.pre.c:
121         * gst/parse/grammar.tab.pre.h:
122         * gst/parse/lex._gst_parse_yy.pre.c:
123         Update the prebuild parser sources.
124
125 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
126
127         * gst/parse/Makefile.am:
128         And now fix the building of the flex sources. Now everything should
129         work as expected.
130
131 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
132
133         * gst/parse/Makefile.am:
134         Now hopefully fix the build failures by setting proper rule
135         dependencies and moving instead of copying.
136
137 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
138
139         * tests/benchmarks/complexity.gnuplot:
140         * tests/benchmarks/complexity.scm:
141         * tests/benchmarks/mass-elements.gnuplot:
142         * tests/benchmarks/mass-elements.scm:
143           Total licensification.
144
145 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
146
147         * gst/parse/Makefile.am:
148           Fix the build by correcting the rule that gave wrong files to flex.
149
150 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
151
152         * tests/benchmarks/complexity.c:
153         * tests/benchmarks/mass-elements.c:
154           Change licence to LGPL as granted by Benjamin and Andy.
155
156 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
157
158         * gst/parse/Makefile.am:
159         Add correct grammar.tab.h dependency if compiling without new enough
160         flex. Fixes #431150.
161
162 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
163
164         * gst/parse/Makefile.am:
165         Fix typo and use outdated sources if the flex/bison sources are newer
166         than the pregenerated ones but flex is too old. Print a warning in
167         that case. This should fix the build on the build bot.
168
169 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
170
171         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
172         * gst/parse/Makefile.am:
173         * gst/parse/grammar.y:
174         * gst/parse/parse.l:
175         Make the parser reentrant and recursively callable. This requires flex
176         >= 2.5.31, for older versions pregenerated sources are used as we
177         can't bump the build dependency. Finally fixes #349180.
178
179         * gst/gstparse.c: (gst_parse_launch):
180         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
181         now anyway.
182
183         * docs/gst/Makefile.am:
184         * docs/gst/Makefile.am:
185         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
186         (__gst_parse_strfree), (__gst_parse_link_new),
187         (__gst_parse_link_free), (__gst_parse_chain_new),
188         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
189         (gst_parse_element_set), (gst_parse_free_link),
190         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
191         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
192         (_gst_parse_launch):
193         * gst/parse/grammar.tab.pre.h:
194         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
195         (yy_get_previous_state), (yy_try_NUL_trans), (input),
196         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
197         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
198         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
199         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
200         (_gst_parse_yypop_buffer_state),
201         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
202         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
203         (yy_fatal_error), (_gst_parse_yyget_extra),
204         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
205         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
206         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
207         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
208         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
209         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
210         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
211         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
212         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
213         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
214         (_gst_parse_yyfree):
215         If the installed flex version is too old use pre-generated parser
216         sources. These pre-generated parser sources are always updated when
217         the actual flex/bison sources change but require everybody who wants
218         to change something in the parser to have flex >= 2.5.31 installed.
219
220 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
221
222         * common/m4/gst-gettext.m4:
223         * gst/gst-i18n-lib.h:
224           Make --disable-nls to work
225
226 2007-04-17  Wim Taymans  <wim@fluendo.com>
227
228         * gst/gstconfig.h.in:
229         Revert previous change that broke the build.
230
231 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
232
233         * configure.ac:
234         * gst/Makefile.am:
235         * gst/gstconfig.h.in:
236           Drop libxml2 dependency when building with 
237           --enable-binary-registry --disable-loadsave
238
239 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
240
241         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
242         (gst_registry_binary_read_cache):
243         * gst/gstregistrybinary.h:
244           Remove unnecessary <sys/mman.h> include which broke the win32 build
245           with MingW; move includes from header file to .c file, even if the
246           header file isn't installed; use g_strerror() where UTF-8 strings
247           are expected, such as in GST_DEBUG messages.
248
249 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
250
251         * docs/libs/gstreamer-libs-sections.txt:
252         Remove bogus addition for API I didn't end up keeping.
253
254         * libs/gst/base/gstbasesrc.h:
255         Mention Since: 0.10.13 in the documentation.
256
257         Add the API keyword to the previous ChangeLog entry.
258
259 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
260
261         * docs/libs/gstreamer-libs-sections.txt:
262         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
263         (gst_base_src_default_prepare_seek_segment),
264         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
265         * libs/gst/base/gstbasesrc.h:
266         Allow basesrc derived classes to execute seeks in other formats
267         by providing a prepare_seek_segment vmethod. Sub-classes can choose
268         to prepare the GstSegment in any format that their perform_seek method
269         will be able to understand. The default implementation provides the
270         old behaviour of attempting to convert the seek offsets to the 
271         configured native format.
272
273         API: basesrc::prepare_seek_segment vmethod.
274
275 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
276
277         * gst/gstelement.c: (gst_element_get_state_func):
278         Don't output the same debug statement twice.
279
280         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
281         (gst_adapter_peek), (gst_adapter_take_buffer):
282         Optimise the case where we have buffers at the head of the queue that
283         can be joined quickly (because they're contiguous sub-buffers) by
284         merging them together rather than copying data out into new memory.
285
286         * gst/parse/grammar.y:
287         * tests/check/pipelines/parse-launch.c:
288         Fix a leak in an error path for parse_launch, and add a check 
289         for it to the testsuite.
290
291 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
292
293         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
294           Don't deadlock when releasing a pad - gst_pad_set_active may try
295           and take the multiqueue lock too.
296
297 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
298
299         * gst/gsterror.c: (_gst_core_errors_init):
300         * gst/gsterror.h:
301           API: add GST_CORE_ERROR_DISABLED (#392804).
302
303 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
304
305         * docs/faq/gst-uninstalled:
306           don't get empty paths on the PATH variables
307         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
308           Don't format for the uncommon terminal width of 84 characters.
309
310 2007-04-06  Wim Taymans  <wim@fluendo.com>
311
312         * gst/gstpipeline.c: (reset_stream_time),
313         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
314         Only try to select a different pipeline clock when we went back to
315         PAUSED and not when we merely got flushed.
316
317 2007-04-05  Michael Smith  <msmith@fluendo.com>
318
319         * tools/gst-launch.1.in:
320           fractions are better supported in gstreamer than ractions, so
321           suggest using those.
322
323 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
324
325         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
326
327         * po/LINGUAS:
328         * po/da.po:
329           Added Danish translation.
330
331 2007-04-05  Wim Taymans  <wim@fluendo.com>
332
333         * libs/gst/base/gstbasesink.c:
334         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
335         Fix leak caused when refusing newsegment after EOS.
336
337         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
338         (gst_fake_sink_init), (gst_fake_sink_set_property),
339         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
340         (gst_fake_sink_render), (gst_fake_sink_change_state):
341         * plugins/elements/gstfakesink.h:
342         Add num-buffers property to make the element generate EOS after a
343         configurable amount of buffers.
344         API: fakesink::num-buffers property.
345
346         * tests/check/elements/fakesink.c: (GST_START_TEST),
347         (fakesink_suite):
348         Fix GstBus leak in test.
349         Test for fakesink num-buffers.
350
351 2007-04-05  Wim Taymans  <wim@fluendo.com>
352
353         * libs/gst/base/gstbasesink.c:
354         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
355         (gst_base_sink_change_state):
356         Don't accept anything after an EOS, return UNEXPECTED instead.
357
358         * tests/check/elements/fakesink.c: (GST_START_TEST),
359         (fakesink_suite):
360         Unit test for new EOS behaviour.
361
362 2007-04-05  Wim Taymans  <wim@fluendo.com>
363
364         * gst/gstelement.c: (gst_element_get_request_pad):
365         Make padtemplates also work when they don't contain %s or %d.
366
367 2007-04-05  Wim Taymans  <wim@fluendo.com>
368
369         * docs/gst/gstreamer-sections.txt:
370         * gst/gstclock.c: (gst_clock_adjust_unlocked),
371         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
372         * gst/gstclock.h:
373         Improve _adjust_unlocked() so that it overflows less.
374         Add gst_clock_unadjust_unlocked to convert from external time to
375         internal time based on calibration.
376         Add some more debug.
377         API: GstClock::gst_clock_unadjust_unlocked()
378
379 2007-04-03  Wim Taymans  <wim@fluendo.com>
380
381         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
382
383         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
384         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
385         when releasing sink pad. Fixes #425400.
386
387 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
388
389         * docs/random/ensonic/dynlink.txt:
390           More work on proposal for new core api.
391
392         * docs/libs/gstreamer-libs-sections.txt:
393         * libs/gst/base/gstbasetransform.h:
394           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
395           
396         * libs/gst/controller/gstcontroller.c:
397         (on_object_controlled_property_changed),
398         (gst_controller_sync_values),
399         (gst_controller_set_interpolation_mode):
400         * libs/gst/controller/gstcontroller.h:
401           Less verbose logging add docs for unimplemented parts and correctly
402           return when using unavailable parts.
403
404 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
405
406         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
407         Move all the debug to the CLOCK category, and associate it with
408         the clock object.
409
410 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
411
412         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
413         Make take_buffer a bit quicker by removing redundant checks
414         caused by calling gst_adapter_take.
415
416 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
417
418         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
419           Don't leak GCond.
420
421         * tests/check/Makefile.am:
422         * tests/check/elements/.cvsignore:
423         * tests/check/elements/multiqueue.c: (setup_multiqueue),
424         (GST_START_TEST), (multiqueue_suite):
425           Add some dead simple unit tests for the 'multiqueue' element
426           (some bits don't work yet and are disabled for now).
427
428 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
429
430         * gst/gstelement.c: (gst_element_get_request_pad),
431         (gst_element_class_get_request_pad_template):
432           Make gst_element_get_request_pad() create request pads only for
433           request pad templates and not for, say, sometimes pad templates.
434
435 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
436
437         * docs/design/draft-klass.txt:
438           Add example that needs more thinking.
439         
440         * docs/design/draft-missing-plugins.txt:
441           More thoughts about wrapper plugins.
442         
443         * docs/random/ensonic/embedded.txt:
444         * docs/random/ensonic/profiling.txt:
445           More design work.
446
447 2007-03-25  Wim Taymans  <wim@fluendo.com>
448
449         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
450         (gst_base_src_loop):
451         Only push the segment events in the PLAYING state for live sources.
452
453 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
454
455         * gst/gstpipeline.c: (gst_pipeline_change_state):
456         Modify the clock distribution path in PAUSED->PLAYING so that we 
457         never attempt to choose a new clock unless we're actually leaving
458         the PAUSED state for the first time. This prevents choosing a
459         different clock when the state_change gets called for a 2nd time due
460         to some element doing an async state change.
461
462 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
463
464         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
465         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
466         (gst_pad_chain_unchecked), (gst_pad_push):
467         Revert last commit. This needs some more thoughts.
468
469 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
470
471         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
472         (gst_pad_chain_unchecked), (gst_pad_push):
473         Check in set_caps if the caps are compatible with the pad and remove
474         two functions that are redundant now. Fixes #421543.
475
476 2007-03-22  Wim Taymans  <wim@fluendo.com>
477
478         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
479         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
480         Unref some more to make valgrind happy.
481
482 2007-03-22  Wim Taymans  <wim@fluendo.com>
483
484         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
485         (gst_system_clock_id_wait_jitter),
486         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
487         Fix anoying regression that survived a few releases. When adding an
488         async entry while blocking on a sync entry, the sync entry will unblock
489         but still be busy, so it should continue to wait instead of returning
490         _BUSY to the app.
491         Add some comments here and there.
492
493         * tests/check/gst/gstsystemclock.c: (mixed_thread),
494         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
495         Add testcase for this.
496
497 2007-03-22  Wim Taymans  <wim@fluendo.com>
498
499         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
500         Handle errors from the clock sync better, only UNSCHEDULED indicates a
501         WRONG_STATE and can silently pause the task. All other cases should
502         error out.
503
504 2007-03-22  Wim Taymans  <wim@fluendo.com>
505
506         Patch by: <syrjala at sci dot fi>
507
508         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
509         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
510         Improve debugging.
511
512 2007-03-21  Michael Smith  <msmith@fluendo.com>
513
514         * docs/pwg/advanced-types.xml:
515           Fix some errors in the typefinding docs pointed out on irc.
516
517 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
518
519         * libs/gst/base/gstbasesrc.c:
520         Clarify FIXME comment in the face of having added unlock_stop()
521
522 2007-03-21  Wim Taymans  <wim@fluendo.com>
523
524         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
525         Prepare for release where we warn against possible app breakage in the
526         case of live pipelines along with an env var to enable/disable live
527         preroll mode (GST_COMPAT=[no-]live-preroll).
528
529 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
530
531         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
532         So we should use correct constants for checking for None offset.
533
534 2007-03-20  Wim Taymans  <wim@fluendo.com>
535
536         * docs/design/part-block.txt:
537         Mention the fact that the newly switched element should be set to at
538         least PAUSED.
539
540 2007-03-20  Wim Taymans  <wim@fluendo.com>
541
542         * gst/gst.c:
543         Fix compilation with registry disabled as spotted by Saur.
544
545 2007-03-20  Wim Taymans  <wim@fluendo.com>
546
547         Patch by: Olivier Crete <tester at tester dot ca>
548
549         * gst/gstelement.c: (gst_element_sync_state_with_parent):
550         Look at the pending state too when syncing the element state to the
551         parent. Fixes #420133.
552
553 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
554
555         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
556         (gst_base_sink_change_state):
557         * libs/gst/base/gstbasesink.h:
558         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
559         (gst_base_src_default_event), (gst_base_src_unlock_stop),
560         (gst_base_src_deactivate):
561         * libs/gst/base/gstbasesrc.h:
562         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
563         for sub-classes to correctly clear any state they set trying to
564         unlock, such as clearing out unlock commands from a command fd.
565
566         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
567         (gst_fd_sink_render), (gst_fd_sink_unlock),
568         (gst_fd_sink_unlock_stop):
569         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
570         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
571         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
572
573         Implement unlock_stop in fdsrc and fdsink.
574         Implement seeking in fdsrc when a seekable fd is passed, as in
575         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
576
577 2007-03-19  Wim Taymans  <wim@fluendo.com>
578
579         Patch by: Evan Nemerson <evan at coeus dash group dot com>
580
581         * gst/gstelement.c: (gst_element_class_init):
582         Fix pad-added and pad-removed signal signatures so that the pad type is
583         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
584
585 2007-03-19  Wim Taymans  <wim@fluendo.com>
586
587         * docs/gst/gstreamer-sections.txt:
588         Add new element field and method.
589
590         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
591         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
592         (gst_bin_recalc_state), (gst_bin_get_state_func),
593         (gst_bin_element_set_state), (gst_bin_change_state_func),
594         (gst_bin_continue_func), (bin_bus_handler),
595         (bin_push_state_continue), (bin_handle_async_start),
596         (bin_handle_async_done), (gst_bin_handle_message_func):
597         Make async state changes a bit smarter by using new ASYNC_START and
598         ASYNC_DONE messages. This reduces the number of times we run the state
599         recalculation thread.
600         Don't change state of element with a pending ASYNC_START message.
601         Deprecate STATE_DIRTY messages.
602         
603         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
604         (gst_element_get_state_func), (gst_element_continue_state),
605         (gst_element_lost_state), (gst_element_set_state_func),
606         (gst_element_change_state):
607         * gst/gstelement.h:
608         Keep the state that was last set by the app in a new element field.
609         Don't allow state changes when handling an element event.
610         Post ASYNC_START and ASYNC_DONE messages.
611         Change lost_state so that we go to PAUSED and wait for the parent to set
612         us to PLAYING again (so latency calculation can be performed)
613         Export gst_element_change_state() method so that subclasses can use it.
614         API: gst_element_change_state()
615         API: GST_STATE_TARGET
616
617         * gst/gstpipeline.c: (gst_pipeline_class_init),
618         (reset_stream_time), (gst_pipeline_change_state),
619         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
620         Using the new ASYNC_START message we can reset the base_time when
621         needed. This can then be used to implement base_time redistribution in
622         flushing seeks so that we can remove the explicit seek handling.
623         Perform latency query and configuration when going to PLAYING.
624
625         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
626         (gst_base_sink_query), (gst_base_sink_change_state):
627         Post new ASYNC_START/ASYNC_DONE messages.
628
629         * tests/check/generic/sinks.c: (GST_START_TEST):
630         Fix test because the bin will not set the async element to PLAYING right
631         away.
632
633         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
634         Make the message check a little stronger.
635         Handle ASYNC messages.
636
637         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
638         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
639         Expect ASYNC_DONE messages.
640
641 2007-03-19  Wim Taymans  <wim@fluendo.com>
642
643         * docs/gst/gstreamer-sections.txt:
644         * gst/gstmessage.c: (gst_message_new_async_start),
645         (gst_message_new_async_done), (gst_message_parse_info),
646         (gst_message_parse_async_start):
647         * gst/gstmessage.h:
648         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
649         support.
650
651 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
652
653         * tools/gst-inspect.c:
654         (print_plugin_automatic_install_info_codecs):
655           Now that we don't check for the 'Codec' keyword any longer in the
656           klass, we shouldn't spew a warning if the klass isn't a decoder or
657           encoder (since it might be a Source/Network, for example).
658
659 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
660
661         * tools/gst-inspect.c:
662         (print_plugin_automatic_install_info_codecs):
663           Don't require decoder/demuxer/depayloader elements or
664           encoder/muxer/paylader elements to have 'Codec' as part of their
665           factory class string when introspecting a plugin's capabilities.
666           draft-klass.txt mentions that it might be removed in future, and
667           flump3dec doesn't have it as part of its class string, so chances
668           are others might also not have it.
669
670 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
671
672         * po/af.po:
673         * po/az.po:
674         * po/bg.po:
675         * po/ca.po:
676         * po/cs.po:
677         * po/de.po:
678         * po/en_GB.po:
679         * po/fr.po:
680         * po/it.po:
681         * po/nb.po:
682         * po/nl.po:
683         * po/ru.po:
684         * po/sq.po:
685         * po/sr.po:
686         * po/sv.po:
687         * po/tr.po:
688         * po/uk.po:
689         * po/vi.po:
690         * po/zh_CN.po:
691         * po/zh_TW.po:
692           Update translations from translation project
693
694 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
695
696         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
697         (gst_child_proxy_set_property):
698           Invert precondition check to be alike the ones in the mimiced gobject
699           api.
700
701 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
702
703         * docs/design/draft-tagreading.txt:
704         * docs/random/ensonic/audiobaseclasses.txt:
705           Do some Architect work.
706
707         * gst/gstobject.c: (gst_object_set_name):
708           Add a WARNING.
709
710         * gst/gstpad.c:
711           Add docs that point from gst_pad_get_range to gst_pad_pull_range
712
713 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
714
715         * gst/gstsystemclock.c: (gst_system_clock_init),
716         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
717         Defer starting the async system clock thread until the first async
718         wait is scheduled. Fixes #414986.
719
720 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
721
722         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
723         (gst_single_queue_free):
724           Fix small leak (free GstSingleQueue structure too, not only contents).
725
726 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
727
728         * gst/gstbin.c:(gst_bin_add):
729         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
730         * win32/common/libgstbase.def:
731         * win32/common/libgstreamer.def:
732         Add new exported functions.
733
734 2007-03-09  Wim Taymans  <wim@fluendo.com>
735
736         * docs/plugins/gstreamer-plugins-sections.txt:
737         Fix GstTee docs.
738
739 2007-03-09  Wim Taymans  <wim@fluendo.com>
740
741         * docs/gst/gstreamer-sections.txt:
742         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
743         * gst/gstbuffer.h:
744         Add metadata copy functions. Fixes #393099.
745
746         * gst/gstutils.c: (gst_buffer_stamp):
747         * libs/gst/base/gstbasetransform.c:
748         (gst_base_transform_prepare_output_buffer):
749         Use new metadata copy functions.
750
751 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
752
753         * plugins/elements/gstidentity.c: (gst_identity_class_init),
754         (gst_identity_init), (gst_identity_check_perfect),
755         (gst_identity_check_imperfect_timestamp),
756         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
757         (gst_identity_set_property), (gst_identity_get_property):
758         * plugins/elements/gstidentity.h:
759         Separate out check-imperfect-timestamp and check-imperfect-offset.
760         Put back check-perfect as it was to keep compatibility.
761
762 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
763
764         * gst/gstelement.c: (gst_element_dispose):
765         There's no need to warn if VOID_PENDING is not NONE here, as
766         long as the state is NULL it's ok, and that's checked immediately
767         above.
768
769 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
770
771         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
772         Fix check for perfect stream to ignore buffers with -1 
773         offsets/offset ends when checking data contiguity.
774
775 2007-03-08  Wim Taymans  <wim@fluendo.com>
776
777         * tools/gst-launch.c: (event_loop):
778         Print INFO messages.
779
780 2007-03-08  Wim Taymans  <wim@fluendo.com>
781
782         * libs/gst/base/gstbasetransform.c:
783         (gst_base_transform_sink_eventfunc),
784         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
785         (gst_base_transform_activate):
786         * libs/gst/base/gstbasetransform.h:
787         Add support for dropping buffers with custom GstFlowReturn.
788         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
789         buffers or dropped buffers.
790
791         * docs/libs/gstreamer-libs-sections.txt:
792         docs for new custom return code.
793
794         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
795         Use drop support in base class to implement drop-probability.
796
797 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
798
799         * gst/gst.c: (load_plugin_func):
800         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
801         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
802         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
803           Remove newlines at end of debug log strings.
804
805 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
806
807         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
808         Only post bus message at max, once per buffer received.
809
810 2007-03-07  Wim Taymans  <wim@fluendo.com>
811
812         * docs/design/Makefile.am:
813         * docs/design/part-synchronisation.txt:
814         Add doc about synchronisation
815
816         * docs/design/draft-latency.txt:
817         * docs/design/part-TODO.txt:
818         * docs/design/part-clocks.txt:
819         * docs/design/part-events.txt:
820         * docs/design/part-gstbus.txt:
821         * docs/design/part-gstpipeline.txt:
822         * docs/design/part-live-source.txt:
823         * docs/design/part-messages.txt:
824         * docs/design/part-overview.txt:
825         * docs/design/part-streams.txt:
826         * docs/design/part-trickmodes.txt:
827         Documentation updates.
828
829 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
830
831         * gstreamer.doap:
832         Update the doap file.
833
834 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
835
836         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
837         Rename non-perfect to imperfect for Mike and for the sanctity of the
838         language.
839         Also make sure bus message gets emitted for data-incontiguities.
840
841 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
842
843         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
844         (gst_identity_start):
845         * plugins/elements/gstidentity.h:
846         Emit bus message if check-perfect is true and we encounter a
847         non-perfect stream between 2 consecutive buffers.
848         Fixes #415394.
849
850 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
851
852         * configure.ac:
853         Back to CVS
854
855 === release 0.10.12 ===
856
857 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
858
859         * configure.ac:
860           releasing 0.10.12, "Inevitable Demise"
861
862 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
863
864         * configure.ac:
865          Version 0.10.11.2 (0.10.12 pre-release)
866          Bump libtool versioning.
867
868 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
869
870         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
871           Log flow-names and not numbers.
872
873 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
874
875         * configure.ac:
876           Convert to new AG_GST style.
877
878 2007-02-28  Wim Taymans  <wim@fluendo.com>
879
880         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
881         Don't unref query twice.
882
883 2007-02-28  Wim Taymans  <wim@fluendo.com>
884
885         * gst/gstvalue.c: (gst_value_transform_object_string),
886         (_gst_value_initialize):
887         Implement GstObject -> string transform so we print object names
888         when serializing GValues containing GstObjects.
889
890 2007-02-28  Wim Taymans  <wim@fluendo.com>
891
892         * docs/gst/gstreamer-sections.txt:
893         Add new stuff to docs.
894
895 2007-02-28  Wim Taymans  <wim@fluendo.com>
896
897         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
898         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
899         (gst_base_sink_change_state):
900         Improve latency query code.
901         Don't leak latency events.
902
903         * tests/check/gst/gstbin.c: (GST_START_TEST):
904         Improve debugging.
905
906 2007-02-28  Wim Taymans  <wim@fluendo.com>
907
908         * gst/gstelement.c: (gst_element_message_full),
909         (gst_element_get_state_func):
910         * gst/gstelement.h:
911         Improve docs a little. Added Since: for new macro.
912
913         * gst/gstobject.c: (gst_object_sink):
914         * gst/gstpipeline.c: (gst_pipeline_change_state),
915         (gst_pipeline_set_new_stream_time):
916         * gst/gstpipeline.h:
917         Improve debugging and docs.
918
919         * gst/gstutils.c: (gst_element_state_change_return_get_name):
920         Improve debugging.
921
922 2007-02-28  Wim Taymans  <wim@fluendo.com>
923
924         * gst/gstelement.c: (gst_element_message_full),
925         (gst_element_set_locked_state), (gst_element_get_state_func),
926         (gst_element_change_state):
927         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
928         Documentation updates.
929         Small code cleanups.
930
931         * gst/gstmessage.c: (gst_message_new_info),
932         (gst_message_parse_info):
933         * gst/gstmessage.h:
934         API: gst_message_new_info()
935         API: gst_message_parse_info()
936         Add INFO message create and parse code.
937
938 2007-02-28  Wim Taymans  <wim@fluendo.com>
939
940         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
941         (bin_query_latency_done):
942         Also report the live parameter of a latency query.
943
944 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
945
946         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
947           Copy the current generic/states example from -base and adapt so
948           we can use the exact same code everywhere.
949           Check a STATES_IGNORE_ELEMENTS env var which can be used
950           to ignore certain element factories for this test, which is
951           what is being done in -base
952         * tests/check/Makefile.am:
953           Mention this environment variable.
954
955 2007-02-27  Wim Taymans  <wim@fluendo.com>
956
957         * docs/gst/gstreamer-sections.txt:
958         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
959         (gst_bus_timed_pop), (gst_bus_pop):
960         * gst/gstbus.h:
961         API: gst_bus_timed_pop()
962         Implement gst_bus_timed_pop() to do a blocking timed wait for a
963         message to arrive on the bus.
964
965         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
966         (gst_bus_suite):
967         Two unit tests for new _timed_pop() function.
968
969 2007-02-23  Wim Taymans  <wim@fluendo.com>
970
971         * gst/gstpipeline.c: (gst_pipeline_change_state),
972         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
973         Don't ref a NULL clock in _provide_clock_func().
974         Don't allow an INVALID delay.
975         Don't try to calculate base_time with an invalid start_time.
976         Also distribute and notify a NULL clock when it was selected.
977
978         * tools/gst-launch.c: (event_loop):
979         Don't crash when a NULL clock was selected in the pipeline.
980
981 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
982
983         * docs/design/Makefile.am:
984         * docs/design/draft-missing-plugins.txt:
985         * docs/random/draft-missing-plugins.txt:
986           Some small updates: update plugin system identifier prefix
987           ('gstreamer.net' to 'gstreamer'), mention our new install
988           API in libgstbaseutils rather than libgimme-codec, add
989           reference to the online docs.
990
991 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
992
993         * win32/common/config.h:
994           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
995           use moap cl ci to only check in what is mentioned in the ChangeLog.
996
997 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
998
999         * docs/gst/gstreamer-sections.txt:
1000         * gst/gstelement.h:
1001           Fix up documentation to link to the correct GstGError section.
1002           Add GST_ELEMENT_INFO macro since someone else added a Info message.
1003
1004 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
1005
1006         * tools/gst-launch.c: (event_loop):
1007           Make sure that we actually show the important message part of a
1008           warning message.
1009           No need to check if the gerror is not NULL to free; first of all
1010           g_free accepts NULL; and second the default error handler would
1011           segfault if gerror was NULL.
1012
1013 2007-02-21  Wim Taymans  <wim@fluendo.com>
1014
1015         * docs/gst/gstreamer-sections.txt:
1016         Removed docs as well.
1017
1018 2007-02-21  Wim Taymans  <wim@fluendo.com>
1019
1020         * gst/gstmessage.c: (gst_message_parse_duration):
1021         * gst/gstmessage.h:
1022         Remove new messages for release.
1023
1024 2007-02-20  Wim Taymans  <wim@fluendo.com>
1025
1026         * docs/design/part-gstghostpad.txt:
1027         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
1028         (gst_ghost_pad_new_full):
1029         Make the ghostpad a parent of the internal pad again for better backward
1030         compatibility. Don't write code that relies on this however.
1031
1032         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
1033         (gst_pad_link_check_hierarchy):
1034         Require that parents should be GstElements in the hierarchy check.
1035
1036 2007-02-20  Wim Taymans  <wim@fluendo.com>
1037
1038         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
1039         (gst_bin_change_state_func), (bin_query_min_max_init),
1040         (bin_query_latency_fold), (bin_query_latency_done),
1041         (gst_bin_query):
1042         Improve debug info.
1043         Implement latency query.
1044
1045 2007-02-20  Wim Taymans  <wim@fluendo.com>
1046
1047         * docs/design/part-gstghostpad.txt:
1048         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
1049         (gst_ghost_pad_internal_do_activate_push),
1050         (gst_ghost_pad_internal_do_activate_pull),
1051         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1052         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
1053         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
1054         Do not set the internal pad as a parent anymore so we can avoid
1055         hierarchy linking errors when the ghostpad has no parent yet. This also
1056         fixes failed activation because of unlinked internal pads, which in
1057         turn fixes the impossible case where you have to activate a pad before
1058         you can add it to a running element.
1059         Also fix the docs.
1060
1061         * gst/gstpad.c: (pre_activate), (post_activate),
1062         (gst_pad_set_active), (gst_pad_activate_pull),
1063         (gst_pad_activate_push), (gst_pad_check_pull_range):
1064         Add some more debug info.
1065         Mark activation mode in pre_activate so that we don't try to activate in
1066         endless loops. Fixes #385084.
1067
1068 2007-02-19  Wim Taymans  <wim@fluendo.com>
1069
1070         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
1071         (gst_base_transform_check_get_range):
1072         Implement a checkgetrange function instead of relying on the default
1073         core behaviour that assumes we can operate in pull mode if we have a
1074         getrange function. First step at fixing #385084.
1075
1076 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
1077
1078         * gst/gstchildproxy.h:
1079         * libs/gst/base/gstbasesink.h:
1080         * libs/gst/base/gstbasesrc.h:
1081         * libs/gst/base/gstbasetransform.h:
1082         More docs coverage and some ChangeLog surgery (add missing names)
1083
1084 2007-02-15  Wim Taymans  <wim@fluendo.com>
1085
1086         * docs/design/part-TODO.txt:
1087         * docs/design/part-activation.txt:
1088         * docs/design/part-block.txt:
1089         * docs/design/part-buffering.txt:
1090         * docs/design/part-clocks.txt:
1091         * docs/design/part-element-source.txt:
1092         * docs/design/part-events.txt:
1093         * docs/design/part-gstbin.txt:
1094         * docs/design/part-gstbus.txt:
1095         * docs/design/part-gstpipeline.txt:
1096         * docs/design/part-live-source.txt:
1097         * docs/design/part-messages.txt:
1098         * docs/design/part-overview.txt:
1099         * docs/design/part-qos.txt:
1100         * docs/design/part-query.txt:
1101         * docs/design/part-states.txt:
1102         * docs/design/part-trickmodes.txt:
1103         Some doc updates. Start renaming from stream_time to running_time where
1104         it was used wrongly.
1105
1106 2007-02-15  Wim Taymans  <wim@fluendo.com>
1107
1108         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1109         Answer LATENCY query.
1110
1111 2007-02-15  Wim Taymans  <wim@fluendo.com>
1112
1113         * tests/check/gst/gstevent.c: (event_probe), (test_event),
1114         (GST_START_TEST):
1115         Improve debugging.
1116
1117 2007-02-15  Wim Taymans  <wim@fluendo.com>
1118
1119         * gst/gstpad.c: (gst_pad_get_internal_links_default),
1120         (gst_pad_dispatcher):
1121         Improve debugging of default pad dispatcher and query functions.
1122
1123 2007-02-15  Wim Taymans  <wim@fluendo.com>
1124
1125         * docs/gst/gstreamer-sections.txt:
1126         Remove old unused method.
1127
1128 2007-02-13  Wim Taymans  <wim@fluendo.com>
1129
1130         * tests/check/gst/gstsegment.c: (GST_START_TEST):
1131         Fix check
1132
1133 2007-02-13  Wim Taymans  <wim@fluendo.com>
1134
1135         * docs/design/part-seeking.txt:
1136         Some small update.
1137
1138         * gst/gstsegment.c: (gst_segment_set_seek):
1139         Revert old bogus change that should make seeking work again.
1140
1141 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
1142
1143         * docs/random/ensonic/dynlink.txt:
1144         * docs/random/ensonic/interfaces.txt:
1145         * docs/random/ensonic/receipies.txt:
1146           Possible dynamic reconnection api, plus some type fixes the other two
1147           docs.
1148
1149 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
1150
1151         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1152         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1153         Also check for an absolute path following file:// in the filesrc
1154         element. Remove redundant check and call g_path_is_absolute() on the
1155         unescaped location.
1156
1157 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
1158
1159         * docs/design/draft-klass.txt:
1160           Add existing category analysis.
1161           
1162         * gst/gstcaps.c:
1163           Fix doc example, framerate is a fraction.
1164
1165 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
1166
1167         * configure.ac:
1168         * docs/gst/Makefile.am:
1169         * docs/libs/Makefile.am:
1170         * docs/plugins/Makefile.am:
1171           Add crossreferences to glib/gobject docs.
1172
1173 2007-02-12  Wim Taymans  <wim@fluendo.com>
1174
1175         * docs/design/draft-latency.txt:
1176         Small update.
1177
1178         * docs/libs/gstreamer-libs-sections.txt:
1179         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1180         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
1181         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
1182         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
1183         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
1184         (gst_base_sink_get_position), (gst_base_sink_query),
1185         (gst_base_sink_change_state):
1186         * libs/gst/base/gstbasesink.h:
1187         API: gst_base_sink_query_latency() to let subclasses query the upstream
1188         latency.
1189         API: gst_base_sink_get_latency() to let subclasses query the configured
1190         latency in the sink.
1191         Implement query and set latency.
1192         Update some docs.
1193         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
1194         don't continue preroll when we are flushing. Fixes #405284.
1195
1196         * tests/check/pipelines/stress.c: (change_state_timeout),
1197         (quit_timeout), (GST_START_TEST), (stress_suite):
1198         Test for #405284.
1199
1200 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
1201
1202         Patch by: René Stadler <mail at renestadler de>
1203
1204         * docs/gst/gstreamer-sections.txt:
1205         * gst/gsttaglist.c: (_gst_tag_initialize):
1206         * gst/gsttaglist.h:
1207           API: add GST_TAG_REFERENCE_LEVEL (#403597).
1208
1209 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
1210
1211         * docs/libs/Makefile.am:
1212           Fix path to core docs.
1213
1214         * gst/gstbin.c: (gst_bin_get_by_interface),
1215         (gst_bin_iterate_all_by_interface):
1216           Refix docs by also renaming 'interface' to 'iface' in implementation.
1217
1218         * docs/gst/gstreamer-sections.txt:
1219         * gst/gstcaps.c:
1220         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1221         * gst/gstchildproxy.h:
1222         * gst/gstelementfactory.c:
1223         * gst/gstpadtemplate.h:
1224         * libs/gst/controller/gstcontroller.c:
1225         (gst_controlled_property_new):
1226           Document more.
1227
1228 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
1229
1230         * gst/gstbin.h:(gst_bin_get_by_interface),
1231         (gst_bin_iterate_all_by_interface):
1232         Replace interface parameter name by iface as interface is 
1233         a reserved keyword in Visual Studio for C++ projects so it removes
1234         a build error for application developpers using VS.
1235         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
1236         Fix a bug on Windows in uri format check. Now the prefix checked
1237         is file:// and next we check if the path after file:// is absolute.
1238         * win32/common/libgstbase.def:
1239         * win32/common/libgstdataprotocol.def:
1240         * win32/common/libgstgstreamer.def:
1241         Add new exported functions.
1242
1243 2007-02-09  Andy Wingo  <wingo@pobox.com>
1244
1245         * tests/check/pipelines/simple-launch-lines.c
1246         (simple_launch_lines_suite, test_tee): Disable tee test until I
1247         have time to fix it :-(
1248
1249         * tests/check/Makefile.am (noinst_HEADERS): 
1250         * tests/check/libs/libsabi.c: 
1251         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
1252         * tests/check/gst/gstabi.c: 
1253         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
1254
1255         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
1256         tests for push and pull tee behavior.
1257
1258         * plugins/elements/gsttee.h: 
1259         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
1260         mark as deprecated as well as unimplemented. It was a crack idea.
1261         Add support for tee operating in pull mode, off by default.
1262
1263         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
1264         normal-case logs down to LOG, raise errors to WARNING.
1265         (gst_registry_xml_read_cache): Don't log before calling a function
1266         that logs.
1267
1268         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
1269         exit (registry finalize).
1270         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
1271         DEBUG log when we emit signals that people don't even have the
1272         chance to connect to.
1273         (gst_registry_scan_path_level): Less logging in the normal case.
1274
1275 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
1276
1277         Patch by: Michal Benes <michal dot benes at itonis dot tv>
1278
1279         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1280         Correctly generate EOS for non-seekable files. We don't have a total
1281         length for them and would get an unexpected end of file if we only
1282         special-cased for regular files. (Fixes: #404569)
1283
1284 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
1285
1286         * tests/check/elements/filesrc.c: (GST_START_TEST),
1287         (filesrc_suite):
1288         Add unit test for the GstURIHandler interface in filesrc. This also
1289         tests the newly added file://localhost/foo/bar support.
1290
1291 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
1292
1293         * gst/gstelementfactory.h:
1294           The klass string is not a hierarchy. Add reference to the design doc
1295           for more information and common types.
1296
1297 2007-02-02  Wim Taymans  <wim@fluendo.com>
1298
1299         * gst/gstquery.c: (gst_query_new_latency):
1300         Remove old structure field.
1301
1302 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
1303
1304         * tools/gst-launch.1.in:
1305           Give example for network streaming (#351998)
1306
1307 2007-02-02  Wim Taymans  <wim@fluendo.com>
1308
1309         * docs/gst/gstreamer-sections.txt:
1310         Add docs for new methods.
1311
1312         * gst/gstevent.c: (gst_event_new_latency),
1313         (gst_event_parse_latency):
1314         * gst/gstevent.h:
1315         Add new LATENCY event to configure latency in a pipeline.
1316         API: gst_event_new_latency
1317         API: gst_event_parse_latency
1318
1319         * gst/gstmessage.c: (gst_message_new_buffering),
1320         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
1321         (gst_message_new_latency), (gst_message_parse_buffering),
1322         (gst_message_parse_lost_preroll):
1323         * gst/gstmessage.h:
1324         Added messages used in draft-latency.
1325         API: gst_message_new_lost_preroll
1326         API: gst_message_parse_lost_preroll
1327         API: gst_message_new_prerolled
1328         API: gst_message_new_latency
1329
1330         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1331         (gst_query_parse_latency):
1332         * gst/gstquery.h:
1333         Implemented new latency query as in design doc.
1334         API: gst_query_new_latency
1335         API: gst_query_set_latency
1336         API: gst_query_parse_latency
1337
1338 2007-02-02  Wim Taymans  <wim@fluendo.com>
1339
1340         * docs/design/draft-latency.txt:
1341         Slight redesign to allow for dynamic latency adjustments.
1342
1343         * docs/design/part-negotiation.txt:
1344         Fix some typos.
1345
1346 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
1347
1348         reviewed by: Wim Taymans <wim@fluendo.com>
1349
1350         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1351         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1352         Allow file://localhost/foo/bar URLs and correctly fail for every other
1353         hostname that one sets. This was gnomevfssrc is linked for those if
1354         installed as it can handle it (#403172)
1355
1356 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
1357
1358         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1359
1360         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1361         (unref_data), (gst_collect_pads_add_pad_full):
1362         * libs/gst/base/gstcollectpads.h:
1363         Don't put the previously added destroy notify in the GstCollectData
1364         struct as all it's padding is already used and we don't want to break
1365         ABI. Instead put in the pad's GObject data for now. This should be
1366         cleaned up for 0.11 (#402393).
1367
1368 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
1369
1370         reviewed by: Wim Taymans <wim@fluendo.com>
1371
1372         * docs/libs/gstreamer-libs-sections.txt:
1373         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1374         (unref_data), (gst_collect_pads_add_pad),
1375         (gst_collect_pads_add_pad_full):
1376         * libs/gst/base/gstcollectpads.h:
1377         API: Add function to specify a destroy notification for custom
1378         GstCollectData when adding new pads in GstCollectPads (#402393).
1379
1380 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
1381
1382         * po/sv.po:
1383           Update Swedish translation (#378255).
1384
1385 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
1386
1387         * docs/design/draft-klass.txt:
1388           Fix the previous change, this is a list of categories and not a hierarchy.
1389
1390 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
1391
1392         * docs/design/draft-klass.txt:
1393           Add info about how to get a list of used classes.
1394
1395 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
1396
1397         * plugins/elements/gsttypefindelement.c:
1398         (gst_type_find_element_chain_do_typefinding),
1399         (gst_type_find_element_change_state):
1400           Don't leak found caps in chain function (no idea why that never
1401           showed up as a leak anywhere).
1402
1403 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
1404
1405         * gst/gstplugin.h:
1406           Fix and expand GstPluginDesc API docs.
1407
1408 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
1409
1410         * gst/gstcaps.c:
1411         * gst/gstelementfactory.c:
1412         * gst/gstpadtemplate.h:
1413           api doc fixes
1414
1415         * libs/gst/controller/gstcontroller.c:
1416         (gst_controlled_property_new):
1417         * tests/examples/controller/audio-example.c:
1418           comment fixes
1419
1420 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
1421
1422         * configure.ac:
1423           comment about refining the xml deps
1424
1425         * docs/manuals.mak:
1426           comments about moving away from jade for docs
1427         
1428         * gst/gst.c:
1429           recommit the ifdefs to use the binary registry
1430         
1431         * gst/gstbin.c: (gst_bin_change_state_func):
1432           this break is obsolete
1433
1434         * gst/gstelementfactory.h:
1435           better GST_ELEMENT_DETAILS docs, add comment about translation
1436
1437         * gst/gstinfo.h:
1438           remove eol slash
1439
1440         * gst/gstobject.c: (gst_signal_object_get_type):
1441           add G_UNLIKELY as usual
1442
1443         * gst/gstpad.c: (gst_pad_event_default):
1444           add fall trhu comment
1445
1446         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1447         (gst_registry_binary_initialize_magic),
1448         (gst_registry_binary_save_string),
1449         (gst_registry_binary_save_pad_template),
1450         (gst_registry_binary_save_feature),
1451         (gst_registry_binary_save_plugin),
1452         (gst_registry_binary_write_cache),
1453         (gst_registry_binary_check_magic),
1454         (gst_registry_binary_load_pad_template),
1455         (gst_registry_binary_load_feature),
1456         (gst_registry_binary_load_plugin),
1457         (gst_registry_binary_read_cache):
1458           comment typo and formatting
1459
1460         * gst/gstutils.c: (gst_element_state_get_name),
1461         (gst_element_state_change_return_get_name):
1462           remove obsolete breaks
1463
1464         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1465           add FIXME 0.11 and remove cpp comment
1466
1467 2007-01-29  Edward Hervey  <edward@fluendo.com>
1468
1469         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1470         Fix print statement in an even more portable way.
1471
1472 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
1473
1474         * docs/gst/gstreamer-sections.txt:
1475         * gst/gstutils.h:
1476           API: add GST_ROUND_DOWN_* macros (#401781).
1477
1478 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
1479
1480         * docs/gst/gstreamer.types.in:
1481         * gst/gstregistry.c: (gst_registry_class_init):
1482           Document registry signals and make gtk-doc pick them up (#401381).
1483
1484 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
1485
1486         * docs/pwg/building-testapp.xml:
1487           Add some audioconverts and audioresample to the pipeline, and some
1488           more comments and error handling.
1489
1490 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
1491
1492         * docs/manual/manual.xml:
1493         * docs/pwg/pwg.xml:
1494           Fix typo (#400987).
1495
1496 2007-01-26  Wim Taymans  <wim@fluendo.com>
1497
1498         * gst/gstcaps.c: (gst_static_caps_get):
1499         Init caps flags too.
1500
1501 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
1502
1503         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
1504
1505         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1506         If not using mmap'ed files try to seek to the end instead of the
1507         start to determine whether we can seek at all. This fixes the case
1508         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
1509         seeks for everything afterwards fail. Fixes #400656
1510
1511 2007-01-25  Wim Taymans  <wim@fluendo.com>
1512
1513         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
1514         Add some refcount debugging.
1515         Make gst_static_caps_get threadsafe, which is needed when autoplugging
1516         in multiple streaming threads.
1517
1518 2007-01-25  Wim Taymans  <wim@fluendo.com>
1519
1520         Patch by: David Schleef <ds at schleef dot org>
1521
1522         * docs/libs/gstreamer-libs-sections.txt:
1523         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
1524         * libs/gst/base/gstadapter.h:
1525         API: gst_adapter_copy() that can reduce the amount of memcpy when
1526         getting data from the adapter. Fixes #388201.
1527
1528 2007-01-25  Edward Hervey  <edward@fluendo.com>
1529
1530         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1531         In print statements, "%x" is for guint. Fixes build on macosx.
1532
1533 2007-01-24  Edward Hervey  <edward@fluendo.com>
1534
1535         * plugins/elements/gstmultiqueue.c:
1536         (gst_multi_queue_loop):
1537         Small fix.
1538         (single_queue_overrun_cb), (single_queue_underrun_cb),
1539         (single_queue_check_full), (gst_single_queue_new):
1540         Implement single queue growth system.
1541         This uses the extra-size properties, and will grow single queues by
1542         that much if one goes full whereas there are others empty. This is
1543         called extra-mode in the code.
1544         When a single queue's levels go back below the initial max-size
1545         limits, it is no longer in extra-mode. This is to ensure we don't
1546         consume too much memory.
1547         Fixes #399875
1548
1549 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
1550
1551         * gst/gst.c: (gst_init_get_option_group):
1552           Make warning about late g_thread_init() calls a bit more explicit,
1553           so that it's more obvious to application developers what they need
1554           to do if a user files a bug against their application.
1555
1556 2007-01-22  Edward Hervey  <edward@fluendo.com>
1557
1558         * plugins/elements/gstmultiqueue.c:
1559         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
1560         Remove previous hack of unsetting the flushing flag for the source pad
1561         instead of activating it. Instead, fix the source pad activate function
1562         so that it no longer depends on having a parent set or not.
1563
1564 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
1565
1566         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
1567
1568         * docs/manual/basics-bus.xml:
1569           Fix example code, gst_element_unref() doesn't exist any longer.
1570
1571 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
1572
1573         Patch by: Mark Nauwelaerts <manauw at skynet be>
1574
1575         * gst/gstpad.c:
1576           Fix two docs typoes (#399094).
1577
1578 2007-01-19  Edward Hervey  <edward@fluendo.com>
1579
1580         * docs/faq/gst-uninstalled:
1581         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
1582         depending on libgstbaseutils can work in uninstalled environment.
1583
1584 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
1585
1586         * gst/gsttaglist.h:
1587         * gst/gsttagsetter.c:
1588         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
1589         statement for new tag.
1590
1591 2007-01-17  Edward Hervey  <edward@fluendo.com>
1592
1593         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
1594         When dynamically creating single queues, activate sinkpad before adding
1595         it.
1596         We should be doing the same thing for the source pad, but we can't
1597         since it would call a method which needs the parent to be set in order
1598         to work propertly. Instead of activating the source pad, we just unset
1599         the flushing flag, which is the minimal requirement for adding a pad
1600         to an element in a state greater than READY.
1601
1602 2007-01-17  Edward Hervey  <edward@fluendo.com>
1603
1604         * docs/faq/gst-uninstalled:
1605         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
1606         Mac OS X.
1607
1608 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
1609
1610         * tests/check/gst/gstabi.c:
1611         * tests/check/gst/struct_hppa.h:
1612         * tests/check/libs/libsabi.c:
1613         * tests/check/libs/struct_hppa.h:
1614           Add ABI structs for HPPA (see #393796).
1615
1616 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
1617
1618         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
1619           Actually write ABI structs to the file specified in the GST_ABI
1620           environment variable, as the message we print claims we would.
1621
1622 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1623
1624         * tests/check/gst/gsttask.c:
1625           Fix header comment.
1626
1627 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1628
1629         * gst/gsttaglist.c: (_gst_tag_initialize):
1630           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
1631           previous two entries.
1632
1633 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1634
1635         * docs/gst/gstreamer-sections.txt:
1636         * gst/gsttaglist.c: (_gst_tag_initialize):
1637         * gst/gsttaglist.h:
1638           Add tag support for beat-per-minute.
1639
1640 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1641
1642         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1643         (gst_registry_binary_initialize_magic),
1644         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
1645         (gst_registry_binary_save_pad_template),
1646         (gst_registry_binary_save_feature),
1647         (gst_registry_binary_save_plugin),
1648         (gst_registry_binary_write_cache),
1649         (gst_registry_binary_check_magic),
1650         (gst_registry_binary_load_pad_template),
1651         (gst_registry_binary_load_feature),
1652         (gst_registry_binary_load_plugin),
1653         (gst_registry_binary_read_cache):
1654         * gst/gstregistrybinary.h:
1655           Use glib types, cleanup comments, impement interfaces and uri-types.
1656
1657 2007-01-13  Andy Wingo  <wingo@pobox.com>
1658
1659         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
1660         getrange() to return buffers with other caps, while we fix
1661         demuxers and typefind, or otherwise change part-negotiation.txt.
1662
1663 2007-01-12  Andy Wingo  <wingo@pobox.com>
1664
1665         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
1666         Factor start/stop into this private function instead of partially
1667         in activate functions and partially in the change_state function.
1668         Fixes setup before the element has changed from READY->PAUSED, as
1669         is the case in pull-mode pipelines.
1670         (gst_base_transform_sink_activate_push)
1671         (gst_base_transform_src_activate_pull): Refactor to use
1672         gst_base_transform_activate().
1673         (gst_base_transform_change_state): Removed, not needed any more.
1674
1675         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1676         Truncate before fixating.
1677         
1678         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1679         Don't set_caps() if the result of fixating is ANY, as it's not
1680         supported, and not necessary in the case of a link with no
1681         template caps on either side. Fixes tests/check/libs/basesrc in
1682         some pull-mode tests.
1683
1684         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
1685         (gst_base_transform_init, gst_base_transform_sink_activate_push)
1686         (gst_base_transform_src_activate_pull): 
1687         Track the activation mode.
1688         (gst_base_transform_setcaps): In pull mode, when activating the
1689         src pad, after activating the sink pad, activate the sink pad's
1690         peer, as discussed in part-negotiation.txt.
1691
1692         * libs/gst/base/gstbasesrc.h: 
1693         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
1694         vmethod, as in basesink.
1695
1696         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
1697
1698         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
1699         mode, first proxy the setcaps to the peer pad.
1700         (gst_base_sink_pad_fixate): Add a fixate function that calls the
1701         new fixate vmethod.
1702         (gst_base_sink_default_activate_pull): Rename from
1703         gst_base_sink_activate_pull.
1704         (gst_base_sink_negotiate_pull): New function, performs negotiation
1705         in pull mode before calling ::activate_pull().
1706         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
1707         vmethod instead of the default implementation. I have no idea how
1708         this worked before. Negotiate before calling activate_pull.
1709
1710         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
1711         sink pads in pull mode. In addition to being correct, fixes
1712         filesrc ! decodebin ! identity ! fakesink.
1713         (gst_pad_get_range, gst_pad_pull_range): Don't call
1714         gst_pad_set_caps() if the caps changes; instead error out with
1715         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
1716
1717 2007-01-12  Andy Wingo  <wingo@pobox.com>
1718
1719         * docs/design/part-negotiation.txt: Update with more policy.
1720
1721 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
1722
1723         * libs/gst/check/gstbufferstraw.h:
1724         * libs/gst/check/gstcheck.h:
1725           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
1726           belongs.
1727
1728 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
1729
1730         * tests/check/Makefile.am:
1731         * tests/check/gst/.cvsignore:
1732         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
1733         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
1734         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
1735         (GST_START_TEST), (gst_tag_setter_suite):
1736           Add minimal unit test for beforementioned GstTagSetter bug.
1737
1738 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
1739
1740         Patch by: René Stadler <mail at renestadler dot de>
1741
1742         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1743           gst_tag_list_merge() returns a new list, so it's not the best idea
1744           to ingore its return value. Effectively meant that tags could only
1745           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
1746           Also add function guard to require a non-NULL taglist as input (has
1747           always been so due to gst_tag_list_copy(), just making it explicit).
1748
1749 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
1750
1751         * docs/random/draft-missing-plugins.txt:
1752           Some additions: mention new API that is supposed to be used at the
1753           various stages; short blob about new gst-inspect introspection
1754           option; mention potential future problem with plugins that have
1755           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
1756
1757 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
1758
1759         * tools/gst-inspect.c:
1760         (print_plugin_automatic_install_info_codecs),
1761         (print_plugin_automatic_install_info_protocols),
1762         (print_plugin_automatic_install_info), (main):
1763         Add --print-plugin-auto-install-info option to gst-inspect, so we can
1764         introspect plugin files and get machine-parsable output that corresponds
1765         to the last bit of the missing-plugin installer string (small gotcha:
1766         doesn't take into account ranks).
1767
1768 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
1769
1770         * configure.ac:
1771         * docs/gst/gstreamer-sections.txt:
1772         * gst/Makefile.am:
1773         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
1774         (gst_registry_lookup_locked):
1775         * gst/gstregistry.h:
1776         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1777         (gst_registry_binary_initialize_magic),
1778         (gst_registry_binary_save_string),
1779         (gst_registry_binary_save_pad_template),
1780         (gst_registry_binary_save_feature),
1781         (gst_registry_binary_save_plugin),
1782         (gst_registry_binary_write_cache),
1783         (gst_registry_binary_check_magic),
1784         (gst_registry_binary_load_pad_template),
1785         (gst_registry_binary_load_feature),
1786         (gst_registry_binary_load_plugin),
1787         (gst_registry_binary_read_cache):
1788         * gst/gstregistrybinary.h:
1789         * gst/gstregistryxml.c: (load_feature),
1790         (gst_registry_xml_read_cache):
1791           commit binary registry (disabled by default, see #359653)
1792
1793 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
1794
1795         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
1796           Fix 'make check' too.
1797
1798 2007-01-10  Andy Wingo  <wingo@pobox.com>
1799
1800         * docs/design/part-negotiation.txt: Fix a typo, add a couple
1801         notes.
1802         
1803         * docs/design/part-negotiation.txt: Update with, um, one way that
1804         pull-mode negotiation might work?
1805
1806         * gst/gstpad.h: 
1807         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
1808         that the pad must be a src pad; makes sense to call it the other
1809         way in pull mode, and the logic is symmetric anyway.
1810
1811 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
1812
1813         * plugins/elements/gstfilesink.c:
1814           Include <stdio.h> for fseeko().
1815
1816 2007-01-10  Wim Taymans  <wim@fluendo.com>
1817
1818         * gst/gstevent.c:
1819         * gst/gstevent.h:
1820         Reserve LATENCY event.
1821
1822 2007-01-09  Wim Taymans  <wim@fluendo.com>
1823
1824         * docs/design/draft-latency.txt:
1825         Updates.
1826
1827 2007-01-09  Wim Taymans  <wim@fluendo.com>
1828
1829         * docs/design/draft-latency.txt:
1830         Updates.
1831
1832         * gst/gstelement.h:
1833         * gst/gststructure.c:
1834         * gst/gsttrace.c:
1835         Small typo fixes.
1836
1837 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
1838
1839         * tests/check/.cvsignore:
1840           Ignore test-registry.xml as well.
1841
1842 2007-01-09  Wim Taymans  <wim@fluendo.com>
1843
1844         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
1845         unref data at the end when we are done with the pad.
1846
1847 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
1848
1849         * docs/gst/gstreamer-sections.txt:
1850         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
1851         (init_post), (gst_deinit), (gst_update_registry):
1852         * gst/gst.h:
1853           API: add gst_update_registry() (#391296).
1854
1855         * tests/check/Makefile.am:
1856         * tests/check/gst/gstregistry.c:
1857         * tests/check/gst/.cvsignore:
1858           Simple unit test for the above.
1859
1860 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
1861
1862         * gst/gstregistry.c: (gst_registry_scan_path_level):
1863           Plugin extension on HP-UX is .sl, add that to the list of approved
1864           plugin extensions (see #393796).
1865
1866         * tests/check/gst/gstpad.c: (GST_START_TEST):
1867           ulong => gulong. Fixes compilation with HP-UX compiler.
1868
1869         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1870           Fix compilation if valgrind headers are not available.
1871
1872 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
1873
1874         * win32/common/libgstreamer.def: 
1875           Add new exported function.
1876         * win32/vs6/libgstbase.dsp: 
1877           Add gstdataqueue.c to the build.
1878         * win32/vs6/libgstcoreelements.dsp:
1879           Add gstmultiqueue.c to the build.
1880         
1881 2007-01-06  Andy Wingo  <wingo@pobox.com>
1882
1883         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
1884         activate_pull(), providing for a way to specialize the process of
1885         spawning a thread to pull on the sink pad. There is a default
1886         implementation.
1887
1888         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
1889         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
1890         (gst_base_sink_init): Renamed pad activation functions (inserting
1891         "_pad" in their names). Refactor to use the new activate_pull
1892         vmethod, as appropriate.
1893         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
1894         default activate_pull function to start a task pulling from the
1895         sink pad, as before.
1896
1897         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
1898         on the pads if necessary, as in push()/chain(). Update docs.
1899         Shouldn't affect existing pull() usage as it is currently only
1900         being used on buffers without caps.
1901
1902 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1903
1904         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1905         (init_pre):
1906           Call g_thread_init() first thing in gst_init() / gst_check_init().
1907           When initialisation is done via gst_init_get_option_group() and
1908           GOption parsing, issue a warning if the GLib thread system has not
1909           been initialised yet by the time gst_init_get_option_group() is
1910           called, as it's quite likely other GLib functions such as
1911           g_option_context_new() have been called already then, and
1912           g_thread_init() must be called before any other GLib function. The
1913           application in question must be fixed in that case, since memory
1914           corruption might happen otherwise.
1915           We issue the warning because even if the GLib folks decide to work
1916           around the problem on their end in future, this is still an issue
1917           with all GLib versions >= 2.10.0, so we should warn until we depend
1918           on a GLib version we know to be safe.
1919           Update documentation as well.
1920           Closes bug #391278.
1921
1922 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1923
1924         * tools/gst-inspect.c: (main):
1925         * tools/gst-launch.c: (main):
1926         * tools/gst-typefind.c: (main):
1927         * tools/gst-xmlinspect.c: (main):
1928           Call g_thread_init() really really early, before any other GLib
1929           function (see #342564 and recent discussion on gtk-devel-list).
1930
1931 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1932
1933         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
1934
1935         * gst/gst_private.h:
1936         * gst/gstconfig.h.in:
1937         * gst/gstinfo.h:
1938           On win32, all the __declspec stuff for symbol exporting is
1939           apparently only needed with MSVC, but doesn't work with MingW.
1940           Fixes compilation with MingW and #391909.
1941
1942 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1943
1944         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
1945           Change some GST_ERROR_OBJECT that aren't really errors to
1946           GST_WARNING_OBJECT in order to reduce terminal spam.
1947
1948 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
1949
1950         * tests/check/Makefile.am:
1951           disable test again, as there seem to be still race problems
1952
1953 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
1954
1955         * tests/check/Makefile.am:
1956         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1957         (GST_START_TEST), (queue_suite):
1958           enable queue test again, add tests for the leaky behaviour
1959
1960 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
1961
1962         * configure.ac:
1963         * tests/examples/Makefile.am:
1964           Compile adapter test/example only if the required headers are
1965           available (fixes #391915).
1966
1967 2007-01-01  David Schleef  <ds@schleef.org>
1968
1969         * gst/gstplugin.c:
1970           Restore the previous signal handler for SIGSEGV instead of
1971           setting to default, since we may have stolen it away from
1972           someone.  (i.e., Mono)
1973
1974 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
1975
1976         * docs/random/draft-missing-plugins.txt:
1977           Some small additions and clarifications.
1978
1979 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
1980
1981         * gst/gstregistryxml.c: (gst_registry_save_escaped):
1982           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
1983           since that can lead to random memory corruptions and crashes
1984           (may or may not be related to #383244, #386711, and #386711).
1985
1986 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1987
1988         * tests/check/.cvsignore:
1989         * tests/check/Makefile.am:
1990           sync .cvsignome and CLEANFILES
1991
1992 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1993
1994         * tests/check/Makefile.am:
1995           fix distcheck
1996
1997 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1998
1999         * docs/design/part-states.txt:
2000           two tiny additional comments
2001         
2002         * gst/gststructure.c:
2003           doc fixing
2004
2005         * tests/check/Makefile.am:
2006         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2007         (GST_START_TEST):
2008           disable test for now, unless it gets fixed
2009
2010 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
2011
2012         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2013         (GST_START_TEST):
2014           fix race in underrun test
2015
2016 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
2017
2018         * tests/check/elements/.cvsignore:
2019           ignore more
2020
2021         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2022         (GST_START_TEST):
2023           try to narrow test failure
2024
2025 2006-12-21  David Schleef  <ds@schleef.org>
2026
2027         * plugins/elements/gstfakesrc.c:
2028           Use g_random_int_range(), since it produces better random
2029           numbers in a range than almost-correct floating point code.
2030
2031 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
2032
2033         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2034         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2035         (gst_check_teardown_sink_pad):
2036           do not automatically (de)activate pads
2037
2038         * tests/check/Makefile.am:
2039         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2040         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
2041           add new, yet simple tests for queue
2042
2043         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
2044         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
2045         * tests/check/elements/filesrc.c: (cleanup_filesrc),
2046         (GST_START_TEST):
2047         * tests/check/elements/identity.c: (cleanup_identity):
2048           consistent pad (de)activation
2049
2050 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
2051
2052         Patch by: Sebastian Dröge  <slomo ubuntu com>
2053
2054         * libs/gst/base/gstcollectpads.c:
2055           Fix two doc typos (#387866).
2056
2057 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
2058
2059         * docs/manual/advanced-dparams.xml:
2060           Fix typo (g_object_control_properties() doesn't exist).
2061
2062 2006-12-19  Edward Hervey  <edward@fluendo.com>
2063
2064         * gst/gstsegment.c: (gst_segment_set_seek):
2065         Fine tune the cases where the segment start/stop values are really
2066         updated.
2067         * tests/check/gst/gstsegment.c: (GST_START_TEST):
2068         Add tests for the return values of gst_segment_set_seek().
2069
2070 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
2071
2072         * gst/gst.c:
2073           Docs typo fix.
2074
2075         * plugins/elements/gstqueue.c: (gst_queue_class_init),
2076         (gst_queue_init):
2077           Fix incorrect documentation and flesh it out a bit more.
2078           Set default values for the max properties on the GParamSpec as well,
2079           so it shows up correctly in gst-inspect.
2080
2081 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
2082
2083         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
2084           Correct docs of queue, add more detail and crosslink it more.
2085
2086 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
2087
2088         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2089           Print additional debug info when the stream isn't perfectly
2090           timestamped; don't try to use invalid durations.
2091
2092 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
2093
2094         * docs/design/Makefile.am:
2095           Dist new design docs.
2096
2097 2006-12-16  Wim Taymans  <wim@fluendo.com>
2098
2099         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2100
2101         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
2102         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
2103         (gst_collect_pads_stop), (gst_collect_pads_event),
2104         (gst_collect_pads_chain):
2105         * libs/gst/base/gstcollectpads.h:
2106         Add refcounting to the collectpads data so we can track when it's safe
2107         to free the data. Fixes #383382.
2108
2109 2006-12-15  Wim Taymans  <wim@fluendo.com>
2110
2111         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
2112         (gst_collect_pads_remove_pad):
2113         Automatically activate/deactivate pads when they are added to a
2114         started/stoped collectpads.
2115
2116 2006-12-15  Wim Taymans  <wim@fluendo.com>
2117
2118         * gst/gstelement.c: (gst_element_add_pad):
2119         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
2120         * gst/gstpad.c: (gst_pad_init):
2121         Set pads to FLUSHING when they are created. Check, warn and fix when a
2122         demuxer adds an inactive pad to itself when running. Fixes #339326.
2123
2124 2006-12-15  Wim Taymans  <wim@fluendo.com>
2125
2126         * gst/gstelement.c: (gst_element_class_init),
2127         (gst_element_default_send_event), (gst_element_send_event),
2128         (gst_element_default_query), (gst_element_query):
2129         Expose default element send_event and query handling as vmethods that
2130         subclasses can chain up to.
2131
2132 2006-12-15  Wim Taymans  <wim@fluendo.com>
2133
2134         * gst/gstelement.c: (gst_element_set_state_func):
2135         Small documentation fixes.
2136
2137 2006-12-15  Wim Taymans  <wim@fluendo.com>
2138
2139         * docs/design/draft-latency.txt:
2140         Checked in draft for handling latency in pipelines.
2141
2142 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2143
2144         * Makefile.am:
2145         * gstreamer.doap:
2146         * gstreamer.spec.in:
2147           adding .doap file
2148
2149 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
2150
2151         * gst/gst.c: (init_pre), (init_post):
2152           init_pre() and init_post() might be called via our GOptionGroup or
2153           from gst_init(), and we should skip both of them if we've already
2154           been initialised, otherwise we will init some things twice or add
2155           two default log functions.
2156
2157 2006-12-13  Edward Hervey  <edward@fluendo.com>
2158
2159         * docs/manual/basics-bus.xml:
2160         No, gst_main_loop does not exist. Its g_main_loop.
2161         Discovered by somebody who abused the copy-paste technique of coding :)
2162
2163 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
2164
2165         * gst/gstghostpad.c:
2166           Log ghostpad debug stuff to the GST_PADS category as well rather
2167           than just to the default category.
2168
2169 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
2170
2171         * configure.ac:
2172         * gst/gst.c: (init_pre):
2173           Add some basic system details such as OS and architecture
2174           to the debug output if possible, courtesy of uname().
2175
2176 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
2177
2178         * docs/gst/running.xml:
2179           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
2180           environment variables.
2181
2182 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
2183
2184         * tests/check/gst/gstbin.c: (GST_START_TEST):
2185         It is acceptable to have a refcount of 2 or 3 at this point in the
2186         test, because the pipeline might be just posting its state_change
2187         message. The next line then waits for that message to appear using
2188         bus_poll, so that should be fine too.
2189
2190 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
2191
2192         * gst/gst.c: (ensure_current_registry_forking):
2193         Ignore EINTR when reading from the child registry pipe.
2194         Explicitly ignore the return value from close, since it makes no
2195         difference.
2196
2197         * gst/gstminiobject.c: (gst_mini_object_ref),
2198         (gst_mini_object_unref):
2199         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
2200
2201         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
2202         When removing cached plugins, remove their features too, so they're
2203         not visible after they've disappeared.
2204
2205         * gst/gstutils.c: (prepare_link_maybe_ghosting):
2206         In the unlikely case that we are linking pads with no parents, don't
2207         crash trying to get the non-existent parent bin.
2208
2209         * gst/parse/grammar.y:
2210         Output debug in the PIPELINE category
2211
2212 2005-03-08  Wim Taymans  <wim@fluendo.com>
2213
2214         Patch by: René Stadler <mail at renestadler dot de>
2215
2216         * gst/gstclock.c: (gst_clock_new_periodic_id):
2217         Reject invalid clock times for interval of periodic ids.
2218         Fixes ##383506.
2219
2220 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
2221
2222         * gst/gstelementfactory.c: (gst_element_factory_create):
2223         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2224         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
2225         * tools/gst-inspect.c: (print_element_info):
2226         Fix refcounting of gst_plugin_feature_load to match the docs. 
2227         Fixes: #380129
2228
2229 2006-12-07  Wim Taymans  <wim@fluendo.com>
2230
2231         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
2232         (gst_base_sink_get_position):
2233         Improve debugging of events.
2234
2235 2006-12-07  Wim Taymans  <wim@fluendo.com>
2236
2237         Patch by: René Stadler <mail at renestadler dot de>
2238
2239         * gst/gstclock.c: (gst_clock_id_wait):
2240         Make period ids add the interval to the origial requested time instead
2241         of the possibly updated time which can be wrong when there are multiple
2242         waiters for the same id. Fixes #382592.
2243
2244         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
2245         (gst_system_clock_id_wait_jitter_unlocked),
2246         (gst_system_clock_id_wait_jitter):
2247         Fix restart in the async notify thread when an async entry is added to
2248         the front of the list. Fixes #381492. 
2249
2250         * tests/check/gst/gstsystemclock.c: (store_callback),
2251         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
2252         Added test for multiple async waits.
2253         Added test for async wait order.
2254
2255 2006-12-07  Wim Taymans  <wim@fluendo.com>
2256
2257         * gst/gstbin.c: (gst_bin_query):
2258         Add some more docs about the POSITION query.
2259
2260 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
2261
2262         * configure.ac:
2263         Bump version nano - back to CVS.
2264
2265 === release 0.10.11 ===
2266
2267 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
2268
2269         * configure.ac:
2270           releasing 0.10.11, "Love never runs on time"
2271
2272 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
2273
2274         * win32/common/libgstbase.def:
2275         * win32/common/libgstreamer.def:
2276         * win32/vs8/libgstbase.vcproj:
2277         * win32/vs8/libgstcoreelements.vcproj:
2278         * win32/vs8/libgstreamer.vcproj:
2279         Fix compilation on win32 under VS8
2280         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2281         Partially fixes #381175
2282
2283 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
2284
2285         * gst/gstvalue.c: (gst_value_compare_fraction):
2286         If someone is foolish enough to compare 2 fractions with denominator =
2287         0, return UNORDERED rather than aborting.
2288
2289 2006-11-28  Edward Hervey  <edward@fluendo.com>
2290
2291         * libs/gst/base/Makefile.am:
2292         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
2293         (gst_data_queue_base_init), (gst_data_queue_class_init),
2294         (gst_data_queue_init), (gst_data_queue_new),
2295         (gst_data_queue_cleanup), (gst_data_queue_finalize),
2296         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
2297         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
2298         (gst_data_queue_is_empty), (gst_data_queue_is_full),
2299         (gst_data_queue_set_flushing), (gst_data_queue_push),
2300         (gst_data_queue_pop), (gst_data_queue_drop_head),
2301         (gst_data_queue_set_property), (gst_data_queue_get_property):
2302         * libs/gst/base/gstdataqueue.h:
2303         New GstDataQueue object for threadsafe queueing. Most useful for
2304         elements that need some queueing functionnality.
2305         * docs/libs/gstreamer-libs-docs.sgml:
2306         * docs/libs/gstreamer-libs-sections.txt:
2307         Insert documentation for GstDataQueue
2308         * plugins/elements/Makefile.am:
2309         * plugins/elements/gstelements.c:
2310         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2311         (gst_multi_queue_class_init), (gst_multi_queue_init),
2312         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2313         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
2314         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
2315         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2316         (gst_multi_queue_loop), (gst_multi_queue_chain),
2317         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2318         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
2319         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
2320         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
2321         (wake_up_next_non_linked), (compute_next_non_linked),
2322         (single_queue_overrun_cb), (single_queue_underrun_cb),
2323         (single_queue_check_full), (gst_single_queue_new):
2324         * plugins/elements/gstmultiqueue.h:
2325         New multiqueue element, using GstDataQueue. Used for queuing multiple
2326         streams.
2327         Closes #344639 and #347785
2328
2329 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
2330
2331         * docs/pwg/advanced-types.xml:
2332           add more missing type details
2333
2334         * tools/gst-run.c: (main):
2335           remove unused variable
2336
2337 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
2338
2339         * docs/libs/Makefile.am:
2340         * docs/libs/gstreamer-libs.types:
2341           add types of base classes to enable gobject specific stuff in the docs
2342
2343         * docs/random/ensonic/embedded.txt:
2344           more ideas about isolating platform specific things
2345
2346 2006-11-20  Wim Taymans  <wim@fluendo.com>
2347
2348         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
2349
2350         * libs/gst/check/gstcheck.h:
2351         Fix compilation and running against 0.9.4. Fixes #377332.
2352
2353 2006-11-20  Wim Taymans  <wim@fluendo.com>
2354
2355         * gst/gstsegment.c: (gst_segment_set_seek),
2356         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2357         (gst_segment_to_running_time):
2358         Fix boundary checking in to_running_time() and to_stream_time().
2359         Fixes #377183.
2360
2361         * tests/check/gst/gstsegment.c: (GST_START_TEST):
2362         stream and running time can now be calculated for the complete
2363         clipped segment.
2364
2365 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
2366
2367         * gst/gstpad.c: (gst_pad_push_event):
2368           Can't access event structure after giving away ownership of
2369           the event.
2370
2371 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
2372
2373         * docs/random/ensonic/embedded.txt:
2374         * docs/random/ensonic/profiling.txt:
2375         * docs/random/ensonic/receipies.txt:
2376           more thinking
2377
2378 2006-11-13  Wim Taymans  <wim@fluendo.com>
2379
2380         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2381
2382         * gst/gstpad.c:
2383         Fix documentation for gst_pad_dispatcher. Fixes #374475.
2384
2385 2006-11-13  Wim Taymans  <wim@fluendo.com>
2386
2387         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
2388
2389         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
2390         Store new length in segment duration so we don't keep on calling the
2391         potentially expensize get_size() call. Fixes #370865.
2392
2393 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
2394
2395         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
2396
2397         * win32/common/libgstreamer.def:
2398           Add two missing symbols (#366492).
2399
2400 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
2401
2402         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
2403         (gst_adapter_take_buffer):
2404         Fix format string to use all its arguments.
2405         Remove useless >= check on a guint
2406
2407 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
2408
2409         * tests/examples/adapter/.cvsignore:
2410         Ignore build file as commanded by the build-bot
2411
2412 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
2413
2414         * tests/examples/adapter/Makefile.am:
2415         * tests/examples/adapter/adapter_test.c: (run_test_take),
2416         (run_test_take_buffer), (run_tests), (main):
2417
2418         Add new files from the previous commit
2419
2420 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
2421
2422         * Makefile.am:
2423         * configure.ac:
2424         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
2425         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
2426         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
2427         * libs/gst/base/gstadapter.h:
2428         * tests/check/libs/adapter.c: (create_and_fill_adapter),
2429         (GST_START_TEST), (gst_adapter_suite):
2430         * tests/examples/Makefile.am:
2431         Do some optimisation work in GstAdapter to avoid copies in more cases.
2432         It could still do slightly better by merging buffers when
2433         gst_buffer_is_span_fast is true, but is already faster. 
2434
2435         Also, avoid traversing a single-linked list to append each incoming 
2436         buffer inside the adapter.
2437
2438         Add simple test app that times the adapter behaviour in different
2439         situations, and extend the unit test to check that bytes enter and
2440         exit the adapter in their original order.
2441
2442 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
2443
2444         * docs/random/draft-missing-plugins.txt:
2445           Update: use element message instead of adding a new message
2446           type to the core; don't provide GStreamer API to initiate the
2447           plugin download, just provide API to compose the strings needed
2448           and let an external libgimmestuff handle the rest.
2449
2450 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
2451
2452         * tools/gst-inspect.c: (print_element_properties_info):
2453         Print a string instead of 'unknown type' for GValueArray properties
2454
2455 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
2456
2457         * docs/random/draft-missing-plugins.txt:
2458         More small fixes.
2459
2460 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2461
2462         * tests/examples/typefind/typefind.c: (type_found), (main):
2463           Make typefind element example work again (#371894); add a
2464           license header.
2465
2466 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2467
2468         * docs/random/draft-missing-plugins.txt:
2469           Commit initial draft about how to deal with missing plugins,
2470           needs work (API too).
2471
2472 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
2473
2474         * docs/pwg/advanced-types.xml:
2475           documents the new caps elements (see #363118)
2476
2477 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2478
2479         * gst/gstplugin.c: (gst_plugin_load_file):
2480         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
2481         (gst_file_src_map_region), (gst_file_src_start):
2482         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
2483         (gst_file_index_commit):
2484           Use g_strerror() instead of strerror() - we want UTF-8.
2485
2486 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2487
2488         Patch by: Peter Kjellerstedt <pkj at axis com>
2489
2490         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2491           Another printf fix (#371493).
2492
2493 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2494
2495         * tests/check/gst/gsttag.c:
2496           relicence (okay with author=company)
2497
2498 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2499
2500         * gst/gstpad.c: (gst_pad_event_default_dispatch),
2501         (gst_pad_push_event):
2502           Enhance debug and improve docs
2503         
2504         * gst/gsturi.c:
2505           Fix docs
2506
2507 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2508
2509         * docs/random/ensonic/distributed.txt:
2510         * docs/random/ensonic/profiling.txt:
2511           more ideas
2512
2513 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2514
2515         * docs/gst/gstreamer-sections.txt:
2516           add new API and fix the build
2517           
2518         * gst/gstbin.c: (gst_bin_recalc_state):
2519         * gst/gstelement.c: (gst_element_message_full),
2520         (gst_element_get_state_func), (gst_element_set_state_func):
2521           use new API and improve logging
2522         
2523         * gst/gstutils.c: (gst_element_state_change_return_get_name):
2524         * gst/gstutils.h:
2525           API: add function to get StateChangereturn names to improve logs 
2526
2527 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
2528
2529         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2530           I'm considering shooting the next person to put strerror stuff
2531           in the translateable part of the message.
2532
2533 2006-11-03  Wim Taymans  <wim@fluendo.com>
2534
2535         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2536         Get the type and printf conversion specifiers right.
2537
2538 2006-11-03  Wim Taymans  <wim@fluendo.com>
2539
2540         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2541
2542         * gst/gstpad.c: (gst_pad_init), (pre_activate),
2543         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
2544         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
2545         Some small cleanups. Improve debugging.
2546         * gst/gstpad.h:
2547         Signal all waiting threads with a broadcast instead of just one.
2548         Fixes #369942.
2549
2550 2006-11-03  Wim Taymans  <wim@fluendo.com>
2551
2552         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2553         (gst_fd_src_create):
2554         Add some debugging. 
2555         Only update fd when it's different from the old.
2556
2557 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2558
2559         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
2560           Printf fixes for PPC/OSX, take two (#369366).
2561
2562 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2563
2564         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
2565
2566         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2567         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2568         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2569           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
2570           don't cast to long long for portability reasons, but use
2571           GLib's types instead.
2572
2573 2006-10-30  Michael Smith  <msmith@fluendo.com>
2574
2575         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2576           Get the arguments to lseek() the right way around.
2577           Fixes 367677.
2578
2579 2006-10-30  Wim Taymans  <wim@fluendo.com>
2580
2581         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
2582
2583         * gst/gstinfo.h:
2584         _declspec should be __declspec (two underscores, not one). Fixes 366572.
2585
2586 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
2587
2588         Patch by: Kjartan Maraas  <kmaraas at gnome org>
2589
2590         * docs/design/part-MT-refcounting.txt:
2591         * docs/random/wtay/capsnego2-docs:
2592         * gst/gstclock.c:
2593         * gst/gstxml.c:
2594           Typo fixes (#366212).
2595
2596 2006-10-28  Wim Taymans  <wim@fluendo.com>
2597
2598         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2599
2600         * gst/gst.c:
2601         * win32/common/libgstbase.def:
2602         * win32/common/libgstreamer.def:
2603         * win32/vs8/libgstbase.vcproj:
2604         * win32/vs8/libgstcontroller.vcproj:
2605         Add needed entries in .def files.
2606         Use HAVE_UNISTD_H.
2607         Rearrange def files in vs8 solutions. Fixes #366286.
2608
2609 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
2610
2611         * win32/common/gstconfig.h:
2612           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
2613           hand-made win32 gstconfig.h. Fixes #366321.
2614
2615 2006-10-27  Wim Taymans  <wim@fluendo.com>
2616
2617         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
2618         (gst_ghost_pad_new_full):
2619         Make acceptcaps return TRUE when we don't have a target, just like
2620         setcaps does.
2621
2622 2006-10-27  Wim Taymans  <wim@fluendo.com>
2623
2624         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2625         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
2626
2627 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
2628
2629         * gst/gststructure.c: (gst_structure_id_set_value):
2630           If someone tries to set a non-UTF8 string field on a structure,
2631           don't just print a warning, but also ignore the request and do
2632           not change/add that field to the structure.
2633
2634         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2635           Test for the above.
2636
2637 2006-10-25  David Schleef  <ds@schleef.org>
2638
2639         * gst/gstinfo.c:
2640           g_hash_table_insert() needs a cast to a non-const pointer duh.
2641
2642 2006-10-25  David Schleef  <ds@schleef.org>
2643
2644         * gst/gstinfo.c:
2645         * gst/gstinfo.h:
2646           Change name parameter of _gst_debug_register_funcptr to const
2647           to reflect the constness of its use in the function as well
2648           as to quiet a gcc warning.
2649
2650 2006-10-25  Edward Hervey  <edward@fluendo.com>
2651
2652         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2653         Don't push the buffer if it's empty.
2654         Closes #363095
2655
2656 2006-10-24  Wim Taymans  <wim@fluendo.com>
2657
2658         * gst/gstevent.h:
2659         Add small comment.
2660
2661         * libs/gst/base/gstbasetransform.c:
2662         (gst_base_transform_sink_eventfunc):
2663         Debug segment values *after* updating them as this is more
2664         interesting.
2665
2666 2006-10-23  Wim Taymans  <wim@fluendo.com>
2667
2668         * docs/design/part-events.txt:
2669         Update some docs.
2670
2671         * docs/design/part-block.txt:
2672         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
2673         (gst_pad_push_event):
2674         Revert BLOCKING patch, it tries to be smart without really having a
2675         clear idea what or how. So, now we discard all FLUSHING events again on
2676         a blocking pad. Should fix gnonlin again.
2677
2678 2006-10-23  Wim Taymans  <wim@fluendo.com>
2679
2680         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2681
2682         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2683         (gst_base_src_start), (gst_base_src_activate_push):
2684         Make sure size is always initialized. Fixes #364388.
2685
2686 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
2687
2688         * docs/random/ensonic/distributed.txt:
2689           add some ideas about doing distributed processing
2690
2691         * docs/random/ensonic/profiling.txt:
2692           get_rusage look promising
2693
2694 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
2695
2696         * docs/manual/basics-helloworld.xml:
2697           Add a cast in example to fix compile warning
2698
2699 2006-10-18  Wim Taymans  <wim@fluendo.com>
2700
2701         * gst/gstsegment.c: (gst_segment_set_last_stop),
2702         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2703         Relax arg checking again, -1 is allowed.
2704
2705 2006-10-18  Wim Taymans  <wim@fluendo.com>
2706
2707         * gst/gstsegment.c: (gst_segment_set_last_stop),
2708         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2709         _set_last_stop() must be with a value != -1
2710         A _TYPE_SET to -1 means seek to 0.
2711         Calc last_stop correctly for negative rates.
2712         Make sure we work with positive durations when updating a segment.
2713
2714 2006-10-18  Wim Taymans  <wim@fluendo.com>
2715
2716         * docs/design/part-live-source.txt:
2717         * gst/gstclock.h:
2718         Small docs fixes.
2719
2720 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
2721
2722         * gst/gstbuffer.h:
2723           Add an explicit cast to GstBuffer** to keep old code that added an
2724           explicit cast to GstMiniObject** for gst_mini_object_replace()
2725           compiling without warning.
2726
2727 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
2728
2729         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
2730           check for validity of dates
2731
2732 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
2733
2734         * docs/gst/gstreamer-sections.txt:
2735           Forgot this one, makes gtk-doc shut up.
2736
2737 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
2738
2739         Patch by: Peter Kjellerstedt <pkj at axis com>
2740
2741         * gst/gstobject.h:
2742           Don't define xmlNodePtr to gpointer if the core was built with
2743           --disable-loadsave and --disable-registry, this will break
2744           applications that want to use libxml2 but are buildling against a
2745           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
2746           instead so we don't have to mess with the libxml2 namespace
2747           (#361675).
2748
2749 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
2750
2751         * gst/gstbuffer.h:
2752           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
2753           type-punned pointer warnings.
2754
2755 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2756
2757         * gst/gstelement.h:
2758           Add casts to the correct return type to state <=> state transition
2759           macros.
2760
2761 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
2762
2763         * docs/design/part-live-source.txt:
2764           describe howto handle latency
2765         
2766         * docs/random/ensonic/profiling.txt:
2767           more ideas
2768
2769         * tools/gst-plot-timeline.py:
2770           fix log parsing for solaris, remove unused function
2771
2772 2006-10-16  Wim Taymans  <wim@fluendo.com>
2773
2774         * docs/design/part-trickmodes.txt:
2775         * gst/gstevent.c:
2776         Update some docs regarding reverse playback.
2777
2778 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2779
2780         Patch by: Marcus Granado  <mrc dot gran at gmail com>
2781
2782         * win32/vs8/grammar.vcproj:
2783           Error out with a warning if glib-genmarshal.exe is not in path,
2784           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
2785
2786 2006-10-13  Wim Taymans  <wim@fluendo.com>
2787
2788         * gst/gstsegment.c: (gst_segment_set_seek):
2789         When seeking to stop -1, set last_stop (current position) to the
2790         duration of the segment.
2791
2792 2006-10-13  Wim Taymans  <wim@fluendo.com>
2793
2794         * gst/gstelement.h:
2795         Clarify _NO_PREROLL a bit more.
2796
2797         * gst/gstevent.c:
2798         Fix docs.
2799
2800         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
2801         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
2802         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
2803         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
2804         due to wrong locking order. Fixes #361769.
2805         Remove some redundant/misplaced checks in pad_block.
2806
2807         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2808         For negative rates, count backwards from the duration.
2809
2810 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
2811
2812         * gst/gsterror.c: (_gst_library_errors_init):
2813           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
2814           up with something better).
2815
2816 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
2817
2818         * win32/vs6/libgstreamer.dsp:
2819         * win32/vs7/libgstreamer.vcproj:
2820         * win32/vs8/libgstreamer.vcproj:
2821           Don't reference glib-compat.c which is currently not used and not
2822           disted; add gstquark.c which was recently added. Fixes #361730.
2823
2824 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
2825
2826         * win32/common/libgstbase.def:
2827         * win32/common/libgstcontroller.def:
2828         * win32/common/libgstreamer.def:
2829           Add gst_caps_merge() and a bunch of other recently-added functions.
2830           Fixes #361732.
2831
2832 2006-10-11  Wim Taymans  <wim@fluendo.com>
2833
2834         * docs/plugins/gstreamer-plugins.args:
2835         * docs/plugins/inspect/plugin-coreelements.xml:
2836         * docs/plugins/inspect/plugin-coreindexers.xml:
2837         Update element args.
2838
2839         * gst/gstsystemclock.c:
2840         Small comment update.
2841
2842         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
2843         (gst_tee_request_new_pad), (gst_tee_release_pad),
2844         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
2845         (gst_tee_sink_activate_pull):
2846         * plugins/elements/gsttee.h:
2847         Some tee loving:
2848         Add default property defines.
2849         Implement release pad function.
2850         Give properties better blubs etc.
2851         Activate pads before adding them to a running tee.
2852         Do simple buffer_alloc on the first requested pad.
2853         Post error when activation fails.
2854
2855 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
2856
2857         * gst/gst.c: (ensure_current_registry_forking):
2858           Check return value of write() to make compiler happy.
2859
2860 2006-10-11  Wim Taymans  <wim@fluendo.com>
2861
2862         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2863
2864         * plugins/elements/gstqueue.c: (gst_queue_chain):
2865         Recheck queue filledness after signalling the overrun when we're about
2866         to leak downstream because we released the lock when emitting the signal
2867         and the queue could be empty again. Fixes #352345.
2868
2869 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
2870
2871         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2872           Fix refcounting here too, just like we did for _new_valist() a few
2873           days ago (#357180) (thanks to René Stadler). Also remove all those
2874           'Since: 0.9' from the gtk-doc blobs.
2875
2876         * tests/check/libs/controller.c: (controller_refcount_new_list),
2877         (gst_controller_suite):
2878           Unit test for the above.
2879
2880 2006-10-10  Wim Taymans  <wim@fluendo.com>
2881
2882         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
2883
2884         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2885         (gst_pad_save_thyself):
2886         Update some docs.
2887         Write pad direction in XML output. Fixes #345496.
2888
2889 2006-10-10  Wim Taymans  <wim@fluendo.com>
2890
2891         Patch by: René Stadler <mail at renestadler dot de>
2892
2893         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2894         (gst_controller_new_list), (_gst_controller_dispose),
2895         (_gst_controller_finalize), (_gst_controller_class_init):
2896         Take ref to controlled object so that it cannot disappear. 
2897         Fixes #357432.
2898
2899 2006-10-10  Wim Taymans  <wim@fluendo.com>
2900
2901         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2902         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2903         (gst_check_teardown_sink_pad):
2904         Activate/deactivate pads in setup/teardown respectively.
2905
2906 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2907
2908         Patch by: Josep Torre Valles <josep@fluendo.com>
2909
2910         * gst/Makefile.am:
2911         Cast values when making gstenumtypes.h.  This pacifies Forte
2912         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
2913         in the enumeration.
2914
2915 2006-10-09  Wim Taymans  <wim@fluendo.com>
2916
2917         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
2918         Rename some more @cur to @start to fix docs. 
2919
2920         * gst/gstsegment.c: (gst_segment_set_seek):
2921         Fix typo.
2922         time and start must always stay in sync as defined in design doc.
2923
2924         * gst/gsttaglist.c: (gst_tag_list_is_empty):
2925         Rename param to fix docs.
2926
2927         * tests/check/gst/gstsegment.c: (GST_START_TEST):
2928         Check that start and time are in sync.
2929
2930         * tests/check/pipelines/parse-launch.c:
2931         (gst_parse_test_element_change_state):
2932         Activate pad before adding to the element.
2933
2934 2006-10-09  Wim Taymans  <wim@fluendo.com>
2935
2936         * docs/design/part-qos.txt:
2937         Fix typo.
2938
2939         * gst/gstevent.c:
2940         * gst/gstevent.h:
2941         Update seek event docs regarding negative rates.
2942         Rename @cur to @start. 
2943
2944         * gst/gstsegment.c: (gst_segment_set_seek):
2945         * gst/gstsegment.h:
2946         Update set_seek docs regarding negative rates.
2947         Correctly update last_stop to @stop when dealing with negative
2948         rates.
2949         Rename @cur to @start. 
2950
2951         * tests/check/gst/gstpad.c: (GST_START_TEST):
2952         Activate pads before trying to use them.
2953
2954         * tests/check/gst/gstsegment.c: (GST_START_TEST),
2955         (gst_segment_suite):
2956         Add simple check for segments and negative rates.
2957
2958 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
2959
2960         * gst/gsttaglist.c: (gst_tag_list_is_empty):
2961         * gst/gsttaglist.h:
2962         * docs/gst/gstreamer-sections.txt:
2963           API: add gst_tag_list_is_empty() (#360467).
2964
2965         * tests/check/gst/gsttag.c: (GST_START_TEST):
2966           And a test case.
2967
2968 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2969
2970         * gst/gstmessage.h:
2971         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
2972         a value that doesn't fit on enumeration.
2973
2974 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2975
2976         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2977         Remove local debugging system and use Gstreamer's instead.
2978
2979 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2980
2981         Patch by: Josep Torre Valles <josep@fluendo.com>
2982
2983         * common/m4/gst-error.m4:
2984         Disable warning of statement not reached on Forte.
2985         * gst/gstmessage.h:
2986         Fix warning on Forte (value doesn't fit on enumeration).
2987         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
2988         Fix warning on Forte (value doesn't fit on enumeration).
2989         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2990         DEBUG macro says it takes minimum of 2 args and so Forte
2991         complains about the use with just 1 arg.
2992         * plugins/elements/gstfdsink.c:
2993         * plugins/elements/gstfdsrc.c:
2994         * plugins/elements/gstfilesink.c:
2995         * plugins/elements/gstfilesrc.c:
2996         Use correct return type for the uri handler implementations.
2997
2998         All these fix warnings in Forte.  Fixes bug #360860.
2999
3000 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
3001
3002         * gst/gstelement.h:
3003           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
3004           format string, so don't use G_GNUC_PRINTF for those versions.
3005
3006 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
3007
3008         * gst/gsttaglist.c: (gst_is_tag_list):
3009         * gst/gsttaglist.h:
3010           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
3011
3012         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
3013           Small test for the above.
3014
3015 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
3016
3017         * gst/gsttaglist.h:
3018           Less tabs, more spaces.
3019
3020 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
3021
3022         * gst/gstinfo.h:
3023           Those two function declarations do actually belong there, revert
3024           commit from yesterday that turned them intro macros.
3025
3026 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3027
3028         Patch by: Josep Torre Valles <josep@fluendo.com>
3029
3030         * gst/gst.c: (gst_init_get_option_group):
3031         Fix empty declaration and type mismatch.
3032         * gst/gstbin.c: (gst_bin_change_state_func):
3033         Fix type mismatch.
3034         * gst/gstelement.c: (gst_element_continue_state),
3035         (gst_element_set_state_func), (gst_element_change_state),
3036         (gst_element_change_state_func):
3037         Fix type mismatches.
3038         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
3039         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
3040         Cast as appropriate.
3041         * gst/gstobject.c: (gst_class_signal_connect):
3042         Cast as appropriate.  The function pointer parameter really
3043         has the wrong type but would break API if we change it.
3044         * gst/gstquery.c:
3045         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
3046         order of including string.h.
3047         * gst/gstutils.c: (gst_element_state_get_name):
3048         Remove unreachable line.
3049         * gst/gstxml.c: (gst_xml_parse_doc):
3050         Fix type mismatch.
3051         All these caught by Forte.
3052
3053 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3054
3055         Patch by: Josep Torre Valles <josep@fluendo.com>
3056
3057         * common/m4/gst-error.m4:
3058         Fixed bug #360151.
3059         We need to disable warnings on Forte for empty declarations
3060         due to gst-indent adding ;s to lines that just use macros
3061         where the macro actually doesn't need a ; at end to end
3062         statement.
3063
3064 2006-10-06  Wim Taymans  <wim@fluendo.com>
3065
3066         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
3067         (gst_file_sink_close_file), (gst_file_sink_event),
3068         (gst_file_sink_render):
3069         Add some FIXME for the NEWSEGMENT handling.
3070
3071 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3072
3073         * gst/parse/grammar.y:
3074         Remove static function gst_parse_element_lock as all it does
3075         is return.  Looks like cruft from 0.8.
3076
3077 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3078
3079         Patch by: Josep Torre Valles <josep@fluendo.com>
3080
3081         * common/m4/gst-error.m4:
3082         * configure.ac:
3083         * libs/gst/net/Makefile.am:
3084         Fix a compilation issue with Forte on Solaris.  inet_aton is in
3085         libresolv.
3086
3087 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
3088
3089         * gst/gstpad.c: (pre_activate):
3090         * gst/gstregistry.c: (gst_registry_scan_path_level):
3091         * gst/gstregistryxml.c: (load_plugin):
3092         * libs/gst/controller/gstcontroller.c:
3093         (gst_controlled_property_set_interpolation_mode):
3094         * libs/gst/dataprotocol/dataprotocol.c:
3095         (gst_dp_packet_from_event_1_0):
3096         * libs/gst/net/gstnetclientclock.c:
3097         (gst_net_client_clock_observe_times):
3098         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3099           Printf fixes.
3100
3101 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
3102
3103         * configure.ac:
3104         * docs/gst/gstreamer-sections.txt:
3105         * gst/gstconfig.h.in:
3106         * gst/gstelement.h:
3107         * gst/gstinfo.h:
3108           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
3109           whether we can use G_GNUC_PRINTF in other header files and at
3110           least check the printf format/arguments of debug messages and
3111           GST_ELEMENT_ERROR messages when the printf extension is not
3112           being used.
3113           Replace more tabs with spaces in gstinfo.h and remove two spurious
3114           function declarations in GST_DISABLE_DEBUG part with macros.
3115
3116 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
3117
3118         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
3119           More docs for the sync-message signal (mention that it is not
3120           emitted by default); log message structures of messages posted on
3121           the bus as well.
3122
3123 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
3124
3125         * gst/gst.c: (ensure_current_registry_forking):
3126         Use a pipe pair to receive status results from the forked child, and
3127         ignore the result from waitpid. Fixes #355499
3128
3129 2006-10-02  Wim Taymans  <wim@fluendo.com>
3130
3131         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3132         (gst_ghost_pad_suite):
3133         Fix leak in check.
3134
3135 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
3136
3137         * gst/gstpad.c:
3138           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
3139
3140 2006-10-02  Edward Hervey  <edward@fluendo.com>
3141
3142         * docs/design/part-block.txt:
3143         Further explain the use of flushing on blocked pads.
3144         * docs/gst/gstreamer-sections.txt:
3145         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
3146         (gst_pad_push_event):
3147         * gst/gstpad.h:
3148         Added new GstPadFlag : GST_PAD_BLOCKING.
3149         Adds the notion of pads really blocking, which enables to properly
3150         handle FLUSH_START/FLUSH_STOP events on blocked pads.
3151         Fixes #358999
3152         API: gst_pad_is_blocking()
3153         API: GST_PAD_IS_BLOCKING() macro
3154         API: GST_PAD_BLOCKING GstPadFlag
3155         
3156 2006-10-02  Wim Taymans  <wim@fluendo.com>
3157
3158         Patch by: mrcgran <mrc.gran at gmail dot com>
3159
3160         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
3161         Filter the proxied caps against the padtemplate if we have one.
3162
3163         * gst/gstquery.c: (gst_query_new_segment):
3164         Add include for gstinfo.h so that compilation with
3165         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
3166
3167 2006-10-02  Wim Taymans  <wim@fluendo.com>
3168
3169         Patch by: Alessandro Decina  <alessandro at nnva org>
3170
3171         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
3172         (gst_file_sink_set_location), (gst_file_sink_open_file),
3173         (gst_file_sink_close_file), (gst_file_sink_event),
3174         (gst_file_sink_render):
3175         Set file to NULL when closing filesink so that we can set a new filename
3176         in READY. Fixes #358613.
3177
3178 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
3179
3180         Patch by: Alessandro Decina  <alessandro at nnva org>
3181
3182         * gst/gstevent.c: (_gst_event_copy):
3183           Fix gst_mini_object_make_writable() and gst_event_copy() for events
3184           with event structures by setting the parent refcount address of the
3185           copied structure to the address of the refcount member of the newly
3186           copied event rather than the address of the refcount member of the
3187           original event. Fixes #358737.
3188
3189         * tests/check/gst/gstevent.c: (GST_START_TEST):
3190           Unit test for the above.
3191
3192 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
3193
3194         * docs/design/Makefile.am:
3195           Dist some more files.
3196
3197 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
3198
3199         * tests/check/libs/controller.c: (GST_START_TEST),
3200         (gst_controller_suite):
3201           Add test for the previous fix; add some more tests
3202           for correct refcounting behaviour; fix a few leaks
3203           in test cases; call gst_controller_init() at start
3204           of all tests.
3205
3206 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
3207
3208         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3209         (gst_controller_set_from_list):
3210           Don't g_return_val_if_fail() on timed values with invalid timestamps
3211           inside a critical section without unlocking the mutex. Spotted by
3212           René Stadler. (#357617)
3213           Also, fix up refcounting properly: when returning an existing
3214           controller, we should increase the reference only once and not
3215           once per property and when trying to control a property again
3216           we should also increase the refcount.
3217
3218 2006-09-29  Wim Taymans  <wim@fluendo.com>
3219
3220         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3221         * libs/gst/net/gstnettimeprovider.c:
3222         (gst_net_time_provider_thread):
3223         Stop reading commands when EOF as well.
3224
3225         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3226         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3227         * plugins/elements/gstidentity.c: (gst_identity_class_init):
3228         Unify description of the dump property.
3229
3230 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
3231
3232         * tests/examples/manual/.cvsignore:
3233         OK, so it's actually cvsignore that needs changing. Stop laughing.
3234
3235 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
3236
3237         * tests/examples/manual/Makefile.am:
3238         Gah, declare vars *before* using them
3239
3240 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
3241
3242         * gst/gst.c: (init_pre), (scan_and_update_registry),
3243         (ensure_current_registry_nonforking),
3244         (ensure_current_registry_forking), (ensure_current_registry),
3245         (init_post), (gst_debug_help), (gst_deinit):
3246         * gst/gst_private.h:
3247         * gst/gstregistry.c: (gst_registry_finalize),
3248         (gst_registry_remove_features_for_plugin_unlocked),
3249         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3250         (gst_registry_scan_path),
3251         (_priv_gst_registry_remove_cache_plugins),
3252         (_priv_gst_registry_cleanup):
3253         * gst/gstregistry.h:
3254         Re-commit the registry changes, along with an extra fix:
3255           When a cached plugin is encountered at a different file path,
3256           update the stored path in the registry cache so that the parent
3257           process knows where it actually is now when it re-reads the registry
3258           cache. Fixes the thing that broke distcheck with the previous commit.
3259
3260         * tests/check/Makefile.am:
3261         Clean up files named 'core' too when running make clean.
3262
3263         * tests/examples/manual/Makefile.am:
3264         Set up a registry path for running these tests, and clean it properly
3265         for distcheck.
3266
3267 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
3268
3269         * configure.ac:
3270         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
3271         want gmodule-no-export-2.0.pc instead so that we don't drag in
3272         --export-dynamic on every project that links to GStreamer.
3273
3274         Also, make our export regex only match the start of symbols, rather 
3275         than any symbol that contains '_gst' somewhere.
3276
3277         * libs/gst/check/Makefile.am:
3278         The libgstcheck we build does however need export-dynamic, as it
3279         produces some symbols that don't match our _gst... style regex.
3280         Fixes: #318031
3281
3282 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
3283
3284         * gst/gst.c: (init_pre), (scan_and_update_registry),
3285         (ensure_current_registry_nonforking),
3286         (ensure_current_registry_forking), (ensure_current_registry),
3287         (init_post), (gst_debug_help), (gst_deinit):
3288         * gst/gst_private.h:
3289         * gst/gstregistry.c: (gst_registry_finalize),
3290         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3291         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
3292         (_gst_registry_cleanup):
3293         * gst/gstregistry.h:
3294           Revert previous change until I figure out why it breaks distcheck.
3295
3296 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
3297
3298         * gst/gst.c: (init_pre), (scan_and_update_registry),
3299         (ensure_current_registry_nonforking),
3300         (ensure_current_registry_forking), (ensure_current_registry),
3301         (init_post), (gst_debug_help), (gst_deinit):
3302
3303           Make init_pre and init_post take the full complement of GOptionFunc
3304           args so they can return useful GErrors. Make the registry updating
3305           functions do so.
3306
3307           Call _priv_gst_registry_remove_cache_plugins after scanning files to
3308           ensure that the registry we're about to write out doesn't contain
3309           stale information about old-deleted plugin files.
3310
3311           Make _priv_gst_registry_remove_cache_plugins return a boolean so
3312           that deletion of plugin files is considered a registry change.
3313
3314         * gst/gst_private.h:
3315         * gst/gstregistry.c: (gst_registry_finalize),
3316         (gst_registry_remove_features_for_plugin_unlocked),
3317         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3318         (gst_registry_scan_path),
3319         (_priv_gst_registry_remove_cache_plugins),
3320         (_priv_gst_registry_cleanup):
3321         * gst/gstregistry.h:
3322         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
3323         by adding _priv prefix, so that they won't appear in the global
3324         symbol table. They still do atm though because of #318031. Move the
3325         prototypes to gst_private.h
3326
3327         When removing a plugin, remove all features for that plugin too. 
3328         Fixes #340878.
3329
3330 2006-09-27  Wim Taymans  <wim@fluendo.com>
3331
3332         * docs/random/moving-plugins:
3333         Make it clear that the "compiled-in descriptions" really mean
3334         the element details.
3335
3336         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3337         (gst_base_sink_wait_preroll):
3338         Update docs.
3339
3340         * docs/libs/gstreamer-libs-sections.txt:
3341         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3342         (gst_base_src_get_range), (gst_base_src_activate_push):
3343         * libs/gst/base/gstbasesrc.h:
3344         Added function to block while waiting for PLAYING, this function
3345         is used by live sources that block on the clock.
3346         API: gst_base_src_wait_playing()
3347
3348 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
3349
3350         Patch by: Peter Kjellerstedt <pkj at axis com>
3351
3352         * Makefile.am:
3353           gst-element-check.m4 is generated and should therefore be
3354           copied from the build dir rather than the source dir (#357593).
3355           'make distcheck' hasn't noticed this because we were disting
3356           the file as well, so stop doing that.
3357
3358 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
3359
3360         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3361           Add some tests for gst_caps_intersect().
3362
3363         * tools/gst-launch.c: (event_loop):
3364           Print all buffering percentages we get, even the 100% one.
3365
3366 2006-09-26  Wim Taymans  <wim@fluendo.com>
3367
3368         * tools/gst-inspect.c: (print_element_properties_info),
3369         (print_signal_info):
3370         Fix printing of flags to match the look of enums.
3371
3372 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3373
3374         * gst/gstelementfactory.c:
3375           Fix typo in docs blurb.
3376
3377 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3378
3379         * gst/gsturi.c: (search_by_entry):
3380           Don't assert/crash here if a uri handler doesn't return any
3381           supported protocols. The list of protocols could be generated
3382           dynamically at runtime or at plugin registration, and an error
3383           in the underlying library shouldn't be fatal (#353301).
3384
3385 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3386
3387         * gst/gstinfo.c:
3388           Fix warning if HAVE_PRINTF_EXTENSION is undefined
3389           (spotted by Peter Kjellerstedt).
3390
3391 2006-09-23  Wim Taymans  <wim@fluendo.com>
3392
3393         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
3394
3395         * libs/gst/base/gstbasesrc.c:
3396         (gst_base_src_default_check_get_range), (gst_base_src_start),
3397         (gst_base_src_activate_push), (gst_base_src_activate_pull),
3398         (gst_base_src_change_state):
3399         Match _start/_stop calls in the activate functions. Remove redundant
3400         _stop call from the state change function. Fixes #356910.
3401         Turn failure DEBUG into ERROR. 
3402
3403 2006-09-22  Wim Taymans  <wim@fluendo.com>
3404
3405         * docs/design/part-buffering.txt:
3406         * gst/gstmessage.c: (gst_message_new_buffering),
3407         (gst_message_parse_buffering):
3408         Update docs about buffering.
3409
3410         * docs/design/part-trickmodes.txt:
3411         Fix typo.
3412
3413 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
3414
3415         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3416         (gst_controller_new_list):
3417           Ref instances when returning them again (fixes #357180)
3418
3419 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
3420
3421         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
3422           Don't forget to release proxy lock when there's an error.
3423
3424 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
3425
3426         * gst/gstcaps.h:
3427           Add extra initialisers for Caps things, to fix some plugin warnings
3428           when using -Wextra
3429
3430 2006-09-18  Wim Taymans  <wim@fluendo.com>
3431
3432         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3433           Also set template on the internal pad so that a getcaps from the 
3434           target pad returns the template caps.
3435
3436 2006-09-18  Wim Taymans  <wim@fluendo.com>
3437
3438         * gst/gstelement.c: (gst_element_post_message),
3439         (gst_element_dispose):
3440         Use _DEBUG_OBJECT some more.
3441
3442         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3443         Avoid typechecks.
3444
3445         * tools/gst-launch.c: (main):
3446         If the toplevel element is not a GstPipeline, it must be put in a
3447         pipeline so that a bus and clock is selected.
3448
3449 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
3450
3451         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3452           JITTER, RATE, and LATENCY query should be handled by the
3453           default case and not by the CONVERT query code.
3454
3455 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
3456
3457         * gst/gstformat.c: (gst_format_register):
3458           Fix locking order (must take lock before using n_values).
3459
3460         * gst/gstvalue.c: (gst_value_serialize_enum),
3461         (gst_value_deserialize_enum_iter_cmp),
3462         (gst_value_deserialize_enum):
3463           Fix serialisation/deserialisation of custom registered GstFormats.
3464
3465         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3466           Unit test for custom format serialisation/deserialisation.
3467
3468 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
3469
3470         * docs/pwg/building-boiler.xml:
3471         * plugins/elements/gstcapsfilter.c:
3472         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
3473         section.
3474
3475 2006-09-16  Edward Hervey  <edward@fluendo.com>
3476
3477         * libs/gst/base/gstbasetransform.c:
3478         (gst_base_transform_buffer_alloc):
3479         Check if requested caps are the same as the sinks caps IF
3480         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
3481         is FALSE.
3482         This fixes the renegotiation issues stated in #352827.
3483
3484 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3485
3486         * configure.ac:
3487         * docs/manual/advanced-autoplugging.xml:
3488         * tests/examples/Makefile.am:
3489         * tests/examples/manual/.cvsignore:
3490         * tests/examples/manual/Makefile.am:
3491         * tests/examples/manual/extract.pl:
3492           Extract the manual examples again like we used to do.
3493           Fix one of them.
3494
3495 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3496
3497         * win32/common/config.h:
3498           update for version
3499
3500 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
3501
3502         * gst/gsterror.c:
3503           Documents how to receive errors.
3504
3505 2006-09-15  Wim Taymans  <wim@fluendo.com>
3506
3507         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
3508         (event_loop), (main):
3509         Added some comments here and there.
3510         Post an application message when an interrupt is caught instead of doing
3511         an uncontrolled state change.
3512         Clean up the event loop.
3513         Handle buffering messages, pause/resume the pipeline.
3514         Make shutdown because of an interrupt more reliable.
3515
3516 2006-09-15  Wim Taymans  <wim@fluendo.com>
3517
3518         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3519         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
3520         (gst_base_sink_preroll_object):
3521         Make sure that our internal state is correct when we commit our state
3522         asynchronously. This solves a race where a state change to PLAYING
3523         could cause the sink to remain blocked in preroll in some situations.
3524
3525 2006-09-15  Wim Taymans  <wim@fluendo.com>
3526
3527         * tools/gst-inspect.c: (print_element_properties_info),
3528         (print_signal_info):
3529         List flags as hex so it's easier to deal with.
3530
3531 2006-09-15  Wim Taymans  <wim@fluendo.com>
3532
3533         * docs/libs/gstreamer-libs-sections.txt:
3534         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
3535         (gst_base_sink_do_sync):
3536         * libs/gst/base/gstbasesink.h:
3537         Expose logic to wait for preroll so that subclasses such as audiosink
3538         can also use this method.
3539         API: gst_base_sink_wait_preroll()
3540
3541 2006-09-15  Wim Taymans  <wim@fluendo.com>
3542
3543         * gst/gstobject.c: (gst_object_set_parent):
3544         * gst/gstpipeline.c: (do_pipeline_seek):
3545         Small cleanups in docs and code.
3546
3547         * gst/gstsegment.c: (gst_segment_clip):
3548         * tests/check/gst/gstsegment.c: (GST_START_TEST):
3549         if stop == start and start is in the segment, no clipping should be
3550         done. Also add a test for this.
3551
3552 2006-09-15  Wim Taymans  <wim@fluendo.com>
3553
3554         * docs/design/part-buffering.txt:
3555         * docs/gst/gstreamer-sections.txt:
3556         * gst/gstmessage.c: (gst_message_new_buffering),
3557         (gst_message_parse_buffering):
3558         * gst/gstmessage.h:
3559         Added methods to create and parse BUFFERING messages.
3560         Added preliminary docs about buffering.
3561         API: gst_message_new_buffering
3562         API: gst_message_parse_buffering
3563
3564 2006-09-06  Wim Taymans  <wim@fluendo.com>
3565
3566         * gst/gstbin.c:
3567         Update documentation.
3568
3569         * gst/gstelement.c: (gst_element_class_init),
3570         (gst_element_release_request_pad), (gst_element_set_clock),
3571         (gst_element_get_index), (gst_element_add_pad),
3572         (gst_element_remove_pad), (gst_element_get_random_pad),
3573         (gst_element_send_event), (gst_element_get_query_types),
3574         (gst_element_query), (gst_element_post_message),
3575         (gst_element_message_full), (gst_element_continue_state),
3576         (gst_element_lost_state), (gst_element_save_thyself),
3577         (gst_element_restore_thyself):
3578         Documentation updates.
3579         Rename last bit of the new-pad -> pad-added signal rename.
3580         Fix the case where an element query would only work if the source
3581         pad was linked.
3582         Avoid some useless type checking in message handling.
3583
3584         * gst/gstevent.c:
3585         * gst/gstevent.h:
3586         * gst/gstutils.c:
3587         Documentation updates.
3588
3589 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3590
3591         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3592           add an INFO line for when we actually update the fd
3593
3594 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3595
3596         * configure.ac:
3597           back to TRUNK
3598
3599 === release 0.10.10 ===
3600
3601 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
3602
3603         * configure.ac:
3604           releasing 0.10.10, "Pais"
3605
3606 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
3607
3608         * docs/manual/advanced-position.xml:
3609           Fix typo in sample code.
3610
3611 2006-09-05  Wim Taymans  <wim@fluendo.com>
3612
3613         * libs/gst/net/gstnetclientclock.c: (inet_aton),
3614         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
3615         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
3616         * libs/gst/net/gstnetclientclock.h:
3617         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3618         * libs/gst/net/gstnettimepacket.h:
3619         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
3620         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
3621         (gst_net_time_provider_thread), (gst_net_time_provider_new):
3622         * libs/gst/net/gstnettimeprovider.h:
3623         Make stuff compile on windows. Fixes #345295.
3624
3625 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
3626
3627         * gst/gst.c: (ensure_current_registry_forking):
3628           Print better details when child was terminated by signal.
3629
3630 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
3631
3632         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
3633           Print a warning rather than g_assert() if a plugin feature
3634           is a URI handler but returns no protocols (#353976).
3635
3636 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
3637
3638         * docs/random/moving-plugins:
3639         Fix two typos.         
3640
3641 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
3642
3643         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
3644           Fix locking order, handle NULL function values properly.
3645
3646         * gst/gstinfo.h:
3647           Fix docs.
3648
3649         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3650           Initialise variable before using it and fix debug statement to
3651           print the address of the function rather than the address of the
3652           variable on the stack holding the address of the function.
3653
3654 2006-09-01  Wim Taymans  <wim@fluendo.com>
3655
3656         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
3657         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
3658         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
3659         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
3660         (gst_ghost_pad_parent_unset),
3661         (gst_ghost_pad_internal_do_activate_push),
3662         (gst_ghost_pad_internal_do_activate_pull),
3663         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3664         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3665         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
3666         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
3667         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
3668         (gst_ghost_pad_new_no_target_from_template),
3669         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3670         More cleanups.
3671         Avoid needless typechecking in macros.
3672         Since the internal pad is always present and never changes, there is
3673         no need to locking or ref when retrieving it.
3674         Improve debugging a bit.
3675         Handle link errors when setting the target. Fixes #341029.
3676
3677 2006-09-01  Wim Taymans  <wim@fluendo.com>
3678
3679         * docs/libs/gstreamer-libs-sections.txt:
3680         * docs/plugins/gstreamer-plugins-sections.txt:
3681         Fix docs some more.
3682
3683         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3684         (gst_collect_pads_event):
3685         * libs/gst/base/gstcollectpads.h:
3686         Documentation updates.
3687         Free queued buffer when removing a pad.
3688
3689 2006-08-31  Michael Smith  <msmith@fluendo.com>
3690
3691         * gst/gstutils.c: (gst_element_link_pads),
3692         (gst_element_link_pads_filtered):
3693           Ensure that we set a capsfilter to NULL if we failed to link it
3694           when doing filtered linking, to avoid criticals.
3695
3696           No need to check for unreffing srcpad, which is explicly NULLed
3697           above (a trivial code cleanup).
3698
3699 2006-08-31  Wim Taymans  <wim@fluendo.com>
3700
3701         * docs/design/part-gstghostpad.txt:
3702         Update ascii art in documentation.
3703
3704         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
3705         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
3706         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
3707         (gst_ghost_pad_internal_do_activate_push),
3708         (gst_ghost_pad_internal_do_activate_pull),
3709         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3710         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3711         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
3712         (gst_ghost_pad_set_target):
3713         Small cleanups and leak fixes.
3714         Remove some checks now that the internal pad is never NULL.
3715         Fix the case where linking pads without a target would create nasty
3716         criticals. Fixes #341029.
3717         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
3718         value of _set_target().
3719
3720         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3721         (gst_ghost_pad_suite):
3722         Some more tests for creating and linking untargeted ghostpads.
3723
3724 2006-08-31  Edward Hervey  <edward@fluendo.com>
3725
3726         * docs/gst/gstreamer-sections.txt:
3727         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
3728         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
3729         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
3730         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
3731         (gst_ghost_pad_new_from_template),
3732         (gst_ghost_pad_new_no_target_from_template):
3733         * gst/gstghostpad.h:
3734         Refactored *_new() functions.
3735         Templates are now used as a g_object_new() parameter.
3736         Use template in _do_getcaps() if we don't have a target.
3737         Small documentation cleanups.
3738         Added two new constructors:
3739         gst_ghost_pad_new_from_template()
3740         gst_ghost_pad_new_no_target_from_template()
3741         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3742         (gst_ghost_pad_suite):
3743         Added tests for new ghostpad instanciation functions.
3744
3745         API additions: gst_ghost_pad_new_from_template,
3746         gst_ghost_pad_new_no_target_from_template
3747
3748 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
3749
3750         * docs/random/ensonic/profiling.txt:
3751           Ideas about qos profiling.
3752
3753 2006-08-29  Wim Taymans  <wim@fluendo.com>
3754
3755         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
3756         Code cleanups.
3757         Fix memleak.
3758
3759 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
3760
3761         * gst/gstxml.c:
3762           Improve and detypofy docs.
3763
3764         * tests/check/Makefile.am:
3765         * tests/check/gst/.cvsignore:
3766         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
3767           Add a basic test suite for GstXML.
3768
3769 2006-08-29  Wim Taymans  <wim@fluendo.com>
3770
3771         * gst/gstelement.c: (activate_pads), (clear_caps),
3772         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
3773         Clear the pad caps when the element shut down all of the pads and
3774         is not streaming data that could modify the caps. 
3775         Fixes #352958.
3776
3777 2006-08-28  Michael Smith  <msmith@fluendo.com>
3778
3779         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3780           Revert previous change; I misunderstood single-segment mode.
3781
3782 2006-08-28  Michael Smith  <msmith@fluendo.com>
3783
3784         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3785           Unset DISCONT on buffers when using single-segment mode.
3786
3787 2006-08-28  Wim Taymans  <wim@fluendo.com>
3788
3789         * gst/gstcaps.c: (gst_caps_merge_structure):
3790         * gst/gstcaps.h:
3791         Fix docs and indentation again.
3792
3793         * tests/check/gst/gstquery.c: (GST_START_TEST):
3794         Fix leak in tests and add some more tests.
3795
3796 2006-08-28  Edward Hervey  <edward@fluendo.com>
3797
3798         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3799         Inform GstSegment of the last stop position in order for the current
3800         segment to have a proper duration if it doesn't have a specific stop
3801         position from which a duration could be calculated.
3802         This bug was noticeable when a non-flushing, non-update new segment was
3803         followed by another segment (all buffers from the new segment were being
3804         dropped).
3805
3806 2006-08-28  Wim Taymans  <wim@fluendo.com>
3807
3808         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3809         Small comment update.
3810
3811         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3812         (gst_identity_transform_ip):
3813         Drop-probability is broken, mention this in the code with a 
3814         FIXME and also in the property description.
3815         Make silent also be silent about the drop messages.
3816
3817 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
3818
3819         * docs/manual/appendix-win32.xml:
3820           Remove mention of popt, we don't depend on that any
3821           longer (#353136). Add some comments pointing out that
3822           this section is slightly outdated.
3823
3824 2006-08-28  Wim Taymans  <wim@fluendo.com>
3825
3826         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3827
3828         * gst/gstquery.c: (gst_query_new_segment):
3829         * tests/check/gst/gstquery.c: (GST_START_TEST):
3830         Initialize variables when creating a new segment query.
3831         Fixes #353121.
3832
3833 2006-08-28  Wim Taymans  <wim@fluendo.com>
3834
3835         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3836
3837         * gst/gstelement.c: (gst_element_get_bus):
3838         * tests/check/gst/gstelement.c: (GST_START_TEST):
3839         Check for NULL before _reffing the bus. Fixes #353122.
3840
3841 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
3842
3843         * docs/manual/basics-bus.xml:
3844           Docs update: fix wrong callback return value explanation; add
3845           some lines about the implicit relationship between main loop
3846           and main context; remove duplicate main loop variable declaration.
3847
3848 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
3849
3850         * tests/check/gst/gstcaps.c: (GST_START_TEST):
3851           Don't leak caps in unit test; add a few more simple
3852           checks. 
3853
3854 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
3855
3856         * docs/gst/gstreamer-sections.txt:
3857         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
3858         (gst_caps_structure_is_subset), (gst_caps_merge),
3859         (gst_caps_merge_structure):
3860         * gst/gstcaps.h:
3861         * libs/gst/base/gstbasetransform.c:
3862         (gst_base_transform_transform_caps):
3863         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3864           implement caps merging (fixes #352580)
3865
3866 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
3867
3868         * tools/Makefile.am:
3869         * tools/gst-plot-timeline.py:
3870           add debug-log plotting developer tool (#340674)
3871
3872 2006-08-23  Wim Taymans  <wim@fluendo.com>
3873
3874         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
3875         (gst_pad_stop_task):
3876         Improve debugging for task functions.
3877
3878         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
3879         (gst_task_start), (gst_task_pause), (gst_task_join):
3880         Make sure that the task function started and finished after a 
3881         join(). 
3882         Don't try to push the task function on the threadpool multiple
3883         times.
3884         Improve the g_warning message with some useful suggestions
3885         about how to fix the problem. 
3886
3887 2006-08-23  Wim Taymans  <wim@fluendo.com>
3888
3889         * gst/gstutils.c: (gst_pad_proxy_getcaps):
3890         Handle RESYNC correctly in _proxy_getcaps.
3891
3892 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
3893
3894         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
3895         (gst_xml_parse_memory), (gst_xml_get_element):
3896           Chain up to parent class in dispose function and also
3897           unref the elements in the toplevel_elements GList.
3898           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
3899           Always return a reference in gst_xml_get_element() rather
3900           than only sometimes.
3901
3902         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
3903           Don't leak GstXml object.
3904
3905 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
3906
3907         * docs/gst/gstreamer-sections.txt:
3908         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
3909         (gst_caps_merge):
3910         * gst/gstcaps.h:
3911         * libs/gst/base/gstbasetransform.c:
3912         (gst_base_transform_transform_caps):
3913           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
3914           in a better way
3915
3916 2006-08-21  Edward Hervey  <edward@fluendo.com>
3917
3918         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
3919         Implement GObject::dispose virtual method in GstXML so we can free the
3920         top_elements GList.
3921
3922 2006-08-21  Wim Taymans  <wim@fluendo.com>
3923
3924         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
3925         (gst_buffer_create_sub):
3926         Copy duration/offset_end/caps when creating a subbuffer of the
3927         complete parent.
3928         Make the subbuffer read-only when we make the metadata writable for
3929         now. Fixes #351768.
3930
3931         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3932         Added check for metadata copy when creating subbuffers.
3933
3934 2006-08-21  Edward Hervey  <edward@fluendo.com>
3935
3936         * libs/gst/base/gstbasetransform.c:
3937         (gst_base_transform_buffer_alloc):
3938         Only call downstream buffer_alloc if transform element is passthrough
3939         or always_in_place. Closes #350449.
3940
3941 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3942
3943         * ChangeLog:
3944           ChangeLog surgery to add comments to previous changes
3945
3946 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3947
3948         * gst/gst.c:
3949           Add comments
3950
3951         * gst/gstpad.c: (gst_pad_set_active):
3952           Be more verbose in the log
3953
3954         * libs/gst/base/gstbasetransform.c:
3955         (gst_base_transform_transform_caps):
3956           Simplify caps to get rid of duplicates, fixes #345444
3957
3958 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3959
3960         * gst/gstvalue.c:
3961         * gst/gstvalue.h:
3962           Use these optimizations only internally.
3963
3964 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3965
3966         * gst/gstvalue.c: (gst_value_compare_list),
3967         (gst_value_compare_fraction_range),
3968         (gst_value_intersect_fraction_fraction_range),
3969         (gst_value_intersect_fraction_range_fraction_range),
3970         (gst_value_subtract_fraction_fraction_range),
3971         (gst_value_subtract_fraction_range_fraction_range),
3972         (gst_value_get_compare_func), (gst_value_compare),
3973         (gst_value_compare_with_func):
3974         * gst/gstvalue.h:
3975           Saves the expensive lookup of the compare function in many cases
3976          (#345444)
3977
3978 2006-08-18  Edward Hervey  <edward@fluendo.com>
3979
3980         * tests/check/gst/gstinfo.c: (gst_info_suite):
3981         Disable test that require gstdebug if it wasn't built in core.
3982
3983 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
3984
3985         * docs/random/ensonic/logging.txt:
3986           update ideas
3987           
3988         * gst/gstinfo.c: (gst_debug_log_default):
3989           reorder fields, save some columns, add optional color codes for log
3990           levels
3991
3992 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
3993
3994         * docs/random/ensonic/logging.txt:
3995           add ideas about making the logs a bit more useful
3996
3997 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
3998
3999         * docs/pwg/advanced-events.xml:
4000         * docs/pwg/titlepage.xml:
4001           Update for 0.10 API (#340627). Add myself
4002           to authors list.
4003
4004 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
4005
4006         * docs/libs/gstreamer-libs-docs.sgml:
4007         * docs/libs/gstreamer-libs-sections.txt:
4008         * libs/gst/check/gstbufferstraw.c:
4009           Make gstcheck stuff show up in docs (still needs to
4010           be documented properly though).
4011
4012 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
4013
4014         * docs/gst/gstreamer-sections.txt:
4015         * gst/Makefile.am:
4016         * gst/gst.c: (init_post):
4017         * gst/gst_private.h:
4018         * gst/gstquark.c: (_priv_gst_quarks_initialize):
4019         * gst/gstquark.h:
4020         * gst/gstquery.c: (gst_query_new_position),
4021         (gst_query_set_position), (gst_query_parse_position),
4022         (gst_query_new_duration), (gst_query_set_duration),
4023         (gst_query_parse_duration), (gst_query_new_convert),
4024         (gst_query_set_convert), (gst_query_parse_convert),
4025         (gst_query_new_segment), (gst_query_set_segment),
4026         (gst_query_parse_segment), (gst_query_new_seeking),
4027         (gst_query_set_seeking), (gst_query_parse_seeking):
4028         Add internal helpers for pre-registering quarks from static strings
4029         and using the quark values directly instead of looking them up when
4030         creating and parsing queries. Can be used for event construction too.
4031         Closes #350432.
4032
4033 2006-08-16  Wim Taymans  <wim@fluendo.com>
4034
4035         * gst/gstbin.c:
4036         Fix bogus docs.
4037
4038 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
4039
4040         * gst/gstutils.c: (gst_util_set_value_from_string):
4041           Fix memleak (#351502).
4042
4043         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4044           Add unit test for most of gst_util_set_value_from_string()
4045           (not that one would want to encourage use of this function).
4046
4047 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
4048
4049         * libs/gst/check/gstcheck.h:
4050           Use const gchar * variables in fail_unless_equals_string
4051           macro to avoid compiler warnings (and don't use tabs for
4052           indenting).
4053
4054 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
4055
4056         * tools/gst-launch.c: (print_tag):
4057           More space on the left for the tag names, to cater
4058           for the 'extended comment' tag (not touching the
4059           string for the first line since it's translated).
4060
4061 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
4062
4063         * libs/gst/check/gstcheck.h:
4064           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
4065           print something when they fail.
4066
4067 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
4068
4069         * docs/gst/gstreamer-sections.txt:
4070         * gst/gsttaglist.c: (_gst_tag_initialize):
4071         * gst/gsttaglist.h:
4072           API: add GST_TAG_EXTENDED_COMMENT (#350935).
4073           Also change merge function for GST_TAG_COMMENT to
4074           use_first.
4075
4076 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
4077
4078         * gst/gstinfo.c: (gst_debug_print_object):
4079           Make GST_PTR_FORMAT print messages as well.
4080
4081         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
4082         (GST_START_TEST), (gst_info_suite):
4083           More tests.
4084
4085 2006-08-14  Edward Hervey  <edward@fluendo.com>
4086
4087         * gst/gstelementfactory.c: (gst_element_register):
4088         If the GstElementClass doesn't have a GstElementDetails with all fields
4089         filled up correctly (longname, description AND author), then error out
4090         nicely instead of crashing.
4091
4092 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
4093
4094         * gst/gststructure.c:
4095           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
4096
4097         * gst/gstvalue.h:
4098           Expand on the difference between arrays and lists as we use them.
4099           
4100 2006-08-14  Wim Taymans  <wim@fluendo.com>
4101
4102         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4103         If the parent state change function failed, don't assume we can safely
4104         stop the source, this will be done when the pads are deactivated.
4105
4106 2006-08-14  Wim Taymans  <wim@fluendo.com>
4107
4108         * gst/gstbuffer.c:
4109         * gst/gsttask.c: (gst_task_join):
4110         Small doc updates.
4111
4112         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4113         (gst_pad_stop_task):
4114         When pad (de)activation failed for some reason, restore the old
4115         activation mode and set the pad to flushing instead of assuming the
4116         pad is deactivated.
4117         If the _task_join() failed, reinstall the task on the pad so that it can
4118         be stopped later and return an error.
4119
4120 2006-08-11  Andy Wingo  <wingo@pobox.com>
4121
4122         * configure.ac:
4123         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
4124         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
4125         is only for users of API that don't want to see deprecated
4126         functions in the headers; people that want to compile out
4127         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
4128         CFLAGS. Fixes the build of multifdsink, or will soon..
4129
4130 2006-08-11  Wim Taymans  <wim@fluendo.com>
4131
4132         * docs/gst/gstreamer-sections.txt:
4133         Add GstClockClass vmethod docs.
4134
4135         * gst/gstcaps.h:
4136         Mark #endif with comment for associated #if
4137
4138         * gst/gstclock.c: (gst_clock_id_wait):
4139         * gst/gstclock.h:
4140         Add vmethod wait_jitter to avoid an unneeded _get_time() for
4141         most clock implementations.
4142         Document vmethods.
4143         Flesh out docs about resolution methods.
4144         API: GstClockClass::wait_jitter
4145
4146         * gst/gstsystemclock.c: (gst_system_clock_class_init),
4147         (gst_system_clock_async_thread),
4148         (gst_system_clock_id_wait_jitter_unlocked),
4149         (gst_system_clock_id_wait_jitter):
4150         Use base class wait_jitter variant for improved performance
4151         due to less clock polling.
4152
4153 2006-08-11  Edward Hervey  <edward@fluendo.com>
4154
4155         * gst/gst.c: (gst_init_check), (init_post):
4156         Set gst as being initialized before scanning/updating the registry,
4157         since there might be my python plugin loader that calls gst_init() and
4158         we don't want to loop back in.
4159         Closes #350879
4160
4161 2006-08-11  Wim Taymans  <wim@fluendo.com>
4162
4163         * docs/design/part-qos.txt:
4164         Bring docs in line with the code. Mostly the sign of the jitter was
4165         wrong in the docs. Fixes #349943.
4166
4167         * gst/gstclock.c:
4168         Fix the docs for the jitter.
4169
4170         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
4171         (gst_event_parse_tag), (gst_event_new_buffer_size),
4172         (gst_event_parse_buffer_size), (gst_event_parse_qos),
4173         (gst_event_new_seek), (gst_event_parse_seek),
4174         (gst_event_new_navigation):
4175         Make sure the GstStructure has no parent when creating custom
4176         events.
4177         Add some more argument checking so that we avoid 0.0 rates.
4178         Flesh out the docs for the QoS event some more.
4179
4180 2006-08-11  Wim Taymans  <wim@fluendo.com>
4181
4182         * docs/gst/gstreamer-sections.txt:
4183         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4184         (ensure_current_registry_forking), (ensure_current_registry),
4185         (parse_one_option), (parse_goption_arg), (gst_deinit),
4186         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
4187         * gst/gst.h:
4188         Doc updates.
4189         Added API and command line option to disable registry forking in
4190         addition to the environment variable.
4191         Constify some static arrays.
4192         Added some more debug.
4193         Don't deinit twice.
4194         API: gst_registry_fork_is_enabled()
4195         API: gst_registry_fork_set_enabled()
4196         API: --gst-disable-registry-fork command line option
4197         Fixes #348918.
4198
4199 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
4200
4201         * gst/gst.c: (gst_init):
4202           Fix typo in error message.
4203
4204 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
4205
4206         * libs/gst/controller/gstcontroller.h:
4207           fix ABI size-correction
4208
4209         * tests/check/libs/gdp.c: (gst_dp_suite):
4210           make tests that use deprecated API conditional
4211
4212 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
4213
4214         * docs/libs/gstreamer-libs-sections.txt:
4215         * libs/gst/controller/gstcontroller.c:
4216         (_gst_controller_get_property), (_gst_controller_set_property),
4217         (_gst_controller_init), (_gst_controller_class_init):
4218         * libs/gst/controller/gstcontroller.h:
4219         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
4220         (gst_object_set_control_rate):
4221           API: add gst_object_{s,g}et_control_rate(), add private data section,
4222           fix docs
4223
4224         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
4225         * libs/gst/dataprotocol/dataprotocol.h:
4226           add deprecation guards to make gtk-doc happy and allow disabling cruft
4227
4228 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
4229
4230         * tests/check/Makefile.am:
4231         * tests/check/gst/.cvsignore:
4232           Let's enable the new unit test as well.
4233
4234 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
4235
4236         * configure.ac:
4237         * docs/gst/gstreamer-sections.txt:
4238         * gst/gstconfig.h.in:
4239         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
4240         (_gst_info_printf_extension_ptr),
4241         (_gst_info_printf_extension_segment):
4242           API: add GST_SEGMENT_FORMAT, which is a printf extension we
4243           register that lets us easily dump GstSegments into debug
4244           logs (#350419).
4245
4246         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
4247         (info_segment_format_printf_extension), (gst_info_suite):
4248           Add simple unit test that logs a bunch of different segments (not
4249           valgrinded at the moment because of leaks in
4250           gst_debug_add_log_function).
4251
4252 2006-08-09  Edward Hervey  <edward@fluendo.com>
4253
4254         * libs/gst/base/gstbasetransform.c:
4255         (gst_base_transform_buffer_alloc):
4256         Even if we can't figure out the proper format to request downstream,
4257         call buffer_alloc() downstream with the input parameters without setting
4258         the caps on the srcpad. This will force negotiation in the chain
4259         function.
4260         Closes #350449
4261
4262 2006-08-08  Edward Hervey  <edward@fluendo.com>
4263
4264         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4265         Unlinking from a pad without a target is now a perfectly valid case
4266         which should NOT raise an assertion.
4267         This case would happen if a linked ghostpad its target set to NULL after
4268         it was previously linked.
4269
4270 2006-08-08  Edward Hervey  <edward@fluendo.com>
4271
4272         * tests/check/libs/gdp.c:
4273         Also comment out the test (see below).
4274
4275 2006-08-08  Edward Hervey  <edward@fluendo.com>
4276
4277         * tests/check/libs/gdp.c: (gst_dp_suite):
4278         Use the architecture information from config.h and not gcc macros
4279         in order to properly disable a test that fails on PPC64.
4280
4281 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
4282
4283         * gst/gstelement.c: (gst_element_remove_pad):
4284           Don't crash printing the warning if the pad has no parent.
4285
4286 2006-08-02  Wim Taymans  <wim@fluendo.com>
4287
4288         * libs/gst/dataprotocol/dataprotocol.c:
4289         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
4290         (gst_dp_crc), (gst_dp_header_payload_length),
4291         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
4292         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
4293         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
4294         (gst_dp_event_from_packet), (gst_dp_validate_header),
4295         (gst_dp_validate_payload):
4296         Make debug category static
4297         Constify the crc table.
4298         Do some more arg checking in public functions.
4299         Fix some docs and do some small cleanups.
4300
4301         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
4302         Add some more checks to see if GDP deals with bogus input.
4303
4304 2006-07-31  Wim Taymans  <wim@fluendo.com>
4305
4306         * gst/gstvalue.c: (gst_value_compare_list):
4307         Fix GstValueList comparison code. Fixes #347293.
4308
4309         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4310         Check to test GstValueList comparison.
4311
4312 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
4313
4314         * gst/gstelementfactory.c: (gst_element_factory_create):
4315         Remove unnecessary ref/unref pair
4316
4317         * gst/parse/grammar.y:
4318         Make sure to free the parse buffer on all code paths.
4319         Move a g_free up to the error handler where it's easier to see.
4320
4321         * tests/check/gst/gstevent.c: (test_event):
4322         Extending timeout for downstream travelling events to 10 seconds to
4323         hopefully avoid intermittent failure on the buildbots.
4324
4325         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
4326         Don't manually set the state of the src element - it will happen as a
4327         natural consequence of the pipeline changing state, and that way it
4328         will do it in the right order too.
4329
4330 2006-07-31  Wim Taymans  <wim@fluendo.com>
4331
4332         * libs/gst/base/gstbasetransform.c:
4333         (gst_base_transform_buffer_alloc):
4334         Use OBJECT_LOCK and refcounting to get the pad caps in the
4335         buffer_alloc function because the caps could change while we are
4336         busy with them. Fixes #349105
4337
4338 2006-07-31  Wim Taymans  <wim@fluendo.com>
4339
4340         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
4341         Protect _PAD_CAPS with OBJECT_LOCK.
4342
4343 2006-07-31  Wim Taymans  <wim@fluendo.com>
4344
4345         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4346         (gst_pad_get_property), (gst_pad_activate_pull),
4347         (gst_pad_activate_push), (gst_pad_set_blocked_async),
4348         (gst_pad_set_activate_function),
4349         (gst_pad_set_activatepull_function),
4350         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
4351         (gst_pad_set_getrange_function),
4352         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
4353         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4354         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
4355         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
4356         (gst_pad_set_acceptcaps_function),
4357         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
4358         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
4359         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
4360         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
4361         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
4362         (gst_pad_configure_sink), (gst_pad_configure_src),
4363         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
4364         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
4365         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
4366         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
4367         (gst_pad_send_event):
4368         Use _DEBUG_OBJECT when it makes sense.
4369         Protect GST_PAD_CAPS with the OBJECT_LOCK.
4370         Small cleanups and code reflows.
4371         Avoid caps refcounting in _accept_caps.
4372         Refactor alloc_buffer so that the code performed on the peer is in a
4373         separate function. Also if the pad does not implement a buffer alloc
4374         function, we should still check if the pad is flushing before falling
4375         back to the default allocator.
4376
4377 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
4378
4379         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4380         Make all uses of identity and fakesink have silent=true to avoid
4381         serialising every passing data structure, which is breaking tests
4382         on FC4 for some unknown reason.
4383
4384 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
4385
4386         * gst/parse/Makefile.am:
4387         * gst/parse/grammar.y:
4388         * gst/parse/parse.l:
4389           Reverted previous patch as it required to bump the flex dependency to
4390           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
4391
4392 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
4393
4394         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
4395
4396         * gst/parse/Makefile.am:
4397         * gst/parse/grammar.y:
4398         * gst/parse/parse.l:
4399           push & pop the state of the lexer for reentrant use case
4400           Fixes #349180
4401
4402 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
4403
4404         * libs/gst/base/gstbasesrc.h:
4405           Note in the docs that the ::newsegment vfunc is not actually used by
4406           GstBaseSrc.
4407
4408 2006-07-28  Wim Taymans  <wim@fluendo.com>
4409
4410         * libs/gst/base/gstcollectpads.c:
4411         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
4412         (gst_collect_pads_clear), (gst_collect_pads_flush),
4413         (gst_collect_pads_event), (gst_collect_pads_chain):
4414         When flushing a pad, also clear the queued buffer so that we don't
4415         accidentally use it when we shouldn't.
4416         Fix leaks by inreffing incomming buffer.
4417         Flush out queued buffers in case of errors.
4418         Fixes #347452.
4419
4420 2006-07-28  Wim Taymans  <wim@fluendo.com>
4421
4422         * docs/random/phonon-gst:
4423         Random notes about a Phonon backend.
4424
4425 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
4426
4427         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4428         Extra debug output
4429         * tests/check/libs/gdp.c: (gst_dp_suite):
4430         Take a whack at fixing the ppc compile using a different define to
4431         disable the broken test.
4432
4433         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4434         Remove excess g_print()
4435
4436 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
4437
4438         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4439         Oops, meant to uncomment this line too to dampen the noise a bit.
4440
4441 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
4442
4443         * gst/parse/grammar.y:
4444         * gst/parse/parse.l:
4445         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4446         (GST_START_TEST), (parse_suite):
4447         Fix some of the leaks exposed by extending the parse-launch testsuite,
4448         and move the 3 I can't figure out into a separate test that won't run
4449         the pipelines unless the appropriate line is uncommented.
4450
4451 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
4452
4453         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4454           Requesting 0 bytes before the end of the file should result in
4455           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
4456           unit test.
4457
4458 2006-07-27  Wim Taymans  <wim@fluendo.com>
4459
4460         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
4461         Fix useless assert, a uint is always positive.
4462
4463         * gst/gststructure.c: (gst_structure_nth_field_name),
4464         (gst_structure_foreach), (gst_structure_map_in_place):
4465         Check input arguments for public functions to avoid obvious crashes.
4466
4467         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
4468         * plugins/elements/gstfakesink.h:
4469         Do less useless typechecking.
4470
4471 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
4472
4473         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4474           Do not use mmap() by default since there are a number of error
4475           conditions that we would like to handle in a non-fatal way that
4476           will result in a SIGBUS if we use mmap(). Examples: external
4477           devices (USB harddrive, portable music player) being unplugged
4478           while in use; file on mounted CD/DVD that can't be read because
4479           the medium is partly damaged. Fixes #348455 and #348475.
4480
4481 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
4482
4483         * gst/gstquery.h:
4484         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
4485         rates are a gdouble
4486
4487 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
4488
4489         * gst/gstregistry.c:
4490           Move big documentation comment into class section header, so that it
4491           appears in the API docs.
4492
4493 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4494
4495         * docs/gst/gstreamer-sections.txt:
4496         Oops. Commit the docs additions too for new API.
4497         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
4498
4499 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4500
4501         * gst/gststructure.c: (gst_structure_id_set),
4502         (gst_structure_id_set_valist):
4503         * gst/gststructure.h:
4504         Add API for setting values into structures without performing
4505         a quark lookup, if the appropriate quark is already known.
4506
4507         API: gst_structure_id_set
4508         API: gst_structure_id_set_valist
4509
4510         * gst/parse/grammar.y:
4511         * gst/parse/parse.l:
4512         Remove some dead code shown by the coverage information.
4513         Don't throw a critical g_warning when encountering a syntax error,
4514         just warn and let the normal error path handle it.
4515
4516         * plugins/elements/gstelements.c:
4517         Bump the rank of filesink up to PRIMARY so that it is preferred over
4518         gnomevfssink for file:// sink uri's
4519
4520         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4521         (GST_START_TEST), (run_delayed_test),
4522         (gst_parse_test_element_base_init),
4523         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
4524         (gst_parse_test_element_change_state),
4525         (gst_register_parse_element), (parse_suite):
4526         Beef up the tests for parse syntax to check that more error cases
4527         fail as they are supposed to. Increases the test coverage a bit.
4528
4529 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
4530
4531         * docs/manual/basics-elements.xml:
4532           Fix gst_element_link() example.
4533
4534         * gst/gstutils.c:
4535           Mention in API docs that one should usually gst_bin_add()
4536           elements to a bin or pipeline before doing the linking.
4537           
4538 2006-07-26  Wim Taymans  <wim@fluendo.com>
4539
4540         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
4541         (gst_subbuffer_get_type), (gst_buffer_create_sub):
4542         Avoid function call for known types by keeping the buffer and
4543         subbuffer GType global.
4544
4545         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4546         Random silly optimisations in read() path.
4547
4548 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4549
4550         * tools/gst-launch.c: (main):
4551           If the top-level of the parse is a normal bin, it doesn't do the
4552           right logic to run as a top-level element, so place it inside a
4553           pipeline.
4554
4555 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
4556
4557         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
4558           Remove superfluous g_object_notify() calls, GObject does
4559           that for us automatically.
4560
4561 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
4562
4563         * gst/gstinfo.h:
4564           on Win32, use dllspec to export the debug category symbols
4565
4566 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
4567
4568         * gst/gsttaglist.c: (_gst_tag_initialize):
4569           Allow more than one GST_TAG_IMAGE per taglist.
4570
4571 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
4572
4573         * gst/gstminiobject.c:
4574           update docs
4575         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
4576         (gst_fd_src_create):
4577           log recurring events at LOG level
4578           add more debug for when the fd gets set
4579
4580 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
4581
4582         * gst/gstparse.c: (gst_parse_launch):
4583           Also remove reentrance checks if flex is MT safe (#348179)
4584          Fix my empty ChangeLog entry below
4585
4586 2006-07-21  Andy Wingo  <wingo@pobox.com>
4587
4588         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
4589
4590         * libs/gst/check/Makefile.am
4591         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
4592         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
4593         * libs/gst/check/gstbufferstraw.h:
4594         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
4595         functions, thus proving I am still a GStreamer haxor. OK I wrote
4596         them a long time ago, but anyways.
4597
4598 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
4599
4600         * configure.ac:
4601         * gst/gstparse.c: (gst_parse_launch):
4602           Check for flex version and omit mutex if we have a MT save flex
4603           (fixes #348179)
4604
4605 2006-07-21  Wim Taymans  <wim@fluendo.com>
4606
4607         * gst/gstparse.c: (gst_parse_launch):
4608         Protect recursive calls to _parse with a recursive mutex
4609         and busy flag.
4610
4611 2006-07-21  Wim Taymans  <wim@fluendo.com>
4612
4613         * tests/check/gst/gstpad.c: (GST_START_TEST):
4614         Fix leak in test.
4615
4616 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
4617
4618         * gst/gstparse.c: (gst_parse_launch):
4619           Do not hang on recursive usage of gst_parse_launch()
4620
4621 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
4622
4623         * gst/gsttaglist.c:
4624           Add some more docs, comments and FIXME 0.11s here and there
4625           and also fix some typos.
4626
4627 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
4628
4629         * gst/gstsegment.h:
4630           Convert tabs to spaces for better readability. 
4631
4632 2006-07-20  Edward Hervey  <edward@fluendo.com>
4633
4634         * tests/check/libs/gdp.c: (gst_dp_suite):
4635         the test_buffer test fails at line 140 on ppc64 at the following
4636         check:
4637         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
4638                 GST_BUFFER_FLAG_IN_CAPS),
4639                 "GST_BUFFER_IN_CAPS flag should have been copied !");
4640         See bug #348114 for more details.
4641
4642 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
4643
4644         * docs/pwg/advanced-scheduling.xml:
4645         * gst/gstpad.c:
4646           Fix typos (#348000).
4647
4648 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
4649
4650         * docs/pwg/intro-basics.xml:
4651           Fix wrong links (#347927).
4652
4653 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
4654
4655         * gst/gstregistry.h:
4656         * gst/gstregistryxml.c: (load_feature),
4657         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
4658         * win32/common/config.h:
4659           make --disable-index work (#342564)
4660
4661 2006-07-18  Wim Taymans  <wim@fluendo.com>
4662
4663         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4664
4665         * gst/Makefile.am:
4666         * gst/gsttrace.h:
4667         The attached patch adds two missing defines to gsttrace.h when tracing
4668         is disabled.  It also corrects one existing define.
4669         Fixes #347756.
4670
4671 2006-07-17  Wim Taymans  <wim@fluendo.com>
4672
4673         * docs/gst/gstreamer-sections.txt:
4674         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
4675         * gst/gst.h:
4676         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
4677         Add two functions to check and change the SIGSEGV behaviour
4678         when loading plugins.
4679         Don't mess with the SIGSEGV handler when we were told not to.
4680         Fixes #347794.
4681         API: gst_segtrap_is_enabled
4682         API: gst_segtrap_set_enabled
4683
4684 2006-07-14  Wim Taymans  <wim@fluendo.com>
4685
4686         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4687         * tests/check/elements/filesrc.c: (GST_START_TEST):
4688         Revert fix for regression in #347408 after release.
4689
4690 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
4691
4692         Patch by: Antoine Tremblay <hexa00 at gmail com>
4693
4694         * gst/gstutils.c: (gst_element_unlink):
4695           Free iterator when done (#347311).
4696
4697         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4698           And add a test case for this.
4699
4700 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
4701
4702         * configure.ac:
4703         Bump nano back to CVS
4704
4705 === release 0.10.9 ===
4706
4707 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
4708
4709         * configure.ac:
4710           releasing 0.10.9, "On the road again"
4711
4712 2006-07-13  Wim Taymans  <wim@fluendo.com>
4713
4714         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4715         * tests/check/elements/filesrc.c: (GST_START_TEST):
4716         Revert pull-0 fix for release. Disable check. Fixes #347408.
4717
4718 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4719
4720         * libs/gst/dataprotocol/dataprotocol.c:
4721         (gst_dp_event_from_packet_1_0):
4722           Fixes #347337: failure to deserialize event packets with
4723           empty payload (only event type)
4724
4725 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4726
4727         * gst/Makefile.am:
4728           do not install a .c file in the header directory
4729
4730 2006-07-13  Edward Hervey  <edward@fluendo.com>
4731
4732         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
4733         GhostPad no longer implicitely use the padtemplates of the targets.
4734         Fixes #347384
4735
4736 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
4737
4738         * gst/gstvalue.c: (gst_value_compare_list),
4739         (gst_value_compare_array), (_gst_value_initialize):
4740         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4741         Make GstValueArray comparison be order dependent as designed.
4742         Add checks for value lists and value array comparisons.
4743         Fixes #347221
4744
4745 2006-07-11  Edward Hervey  <edward@fluendo.com>
4746
4747         * gst/gstbin.c: (activate_pads),
4748         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
4749         (gst_bin_change_state_func):
4750         (de)activate src pads before calling state_change on the childs.
4751         This is to avoid the case where a src ghostpad is blocked (holding the
4752         stream lock), which would block the deactivation of the ghostpad's
4753         target pad.
4754         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
4755         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
4756         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
4757         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
4758         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
4759         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4760         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
4761         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
4762         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
4763         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
4764         (gst_ghost_pad_class_init),
4765         (gst_ghost_pad_internal_do_activate_push),
4766         (gst_ghost_pad_internal_do_activate_pull),
4767         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4768         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4769         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
4770         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
4771         GhostPads now create their internal GstProxyPad at creation (and not
4772         when they're linked, as it was being done previously).
4773         The internal and target pads are linked straight away.
4774         The data will also travel through the other pad in order to make
4775         pad blocking and probes non-hackish (the probe/block now really happens
4776         on the GhostPad and not on the target).
4777         * gst/gstpad.c: (gst_pad_set_blocked_async),
4778         (gst_pad_link_prepare), (gst_pad_push_event):
4779         Remove previous ghostpad cruft.
4780         * gst/gstutils.c: (gst_pad_add_data_probe),
4781         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4782         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4783         (gst_pad_remove_buffer_probe):
4784         Remove previous ghost pad cruft.
4785         Added more detailed debug statements.
4786         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4787         Fix the testsuite for refcounting changes.
4788         The comments about who has references were correct, but the refcount
4789         being checked wasn't the same (!?!).
4790
4791         Fixes #341029
4792
4793 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
4794
4795         * docs/gst/gstreamer-sections.txt:
4796         * gst/gstconfig.h.in:
4797         More docs for configuration options, add docs to gtk-doc.
4798
4799 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
4800
4801         * gst/Makefile.am:
4802         * gst/gstconfig.h.in:
4803         * win32/common/config.h:
4804         Fix build when disabling tracing (fixes #344016). Also start to document
4805         the defines that disable the sub-systems.
4806
4807 2006-07-10  Edward Hervey  <edward@fluendo.com>
4808
4809         * gst/gst.c: (ensure_current_registry_forking):
4810         let's make valgrind happy...
4811
4812 2006-07-09  Wim Taymans  <wim@fluendo.com>
4813
4814         * gst/gstelement.c: (activate_pads),
4815         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
4816         Better pad activation code: Reset the collect value too on resync.
4817         Add some comments.
4818
4819 2006-07-09  Wim Taymans  <wim@fluendo.com>
4820
4821         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
4822         (gst_pad_activate_push):
4823         Use some more macros where it makes sense.
4824         Allow pad mode switching instead of asserting. When a pad
4825         is activated in one mode and we activate it in another, 
4826         deactivate it first before activating it in a different mode.
4827         Fixes #329198.
4828
4829 2006-07-08  Andy Wingo  <wingo@pobox.com>
4830
4831         * tools/gst-launch.c (main): Handle err == NULL.
4832
4833         * gst/gst.c (init_post, ensure_current_registry)
4834         (ensure_current_registry_forking)
4835         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
4836         factoring out the registry scanning into separate functions. Don't
4837         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
4838         Better environment var name/interface suggestions accepted.
4839
4840 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4841
4842         * gst/gstobject.c: (gst_object_set_name_default),
4843         (gst_object_set_name):
4844           Random micro-optimisation: don't use a hash table
4845           with strings as keys and the usual strdup/strcmp
4846           involved, but rather just use the GQuark of the
4847           type name as key, since it needs to be looked up
4848           anyway to get the type name string.
4849
4850         * tests/check/gst/gstobject.c: (GST_START_TEST):
4851           Fix various leaks.
4852
4853 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4854
4855         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
4856         (gst_bin_iterate_all_by_interface):
4857           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
4858           GTypes are gulongs and thus the top 4 bytes might be cut
4859           off on some platforms when doing GPOINTER_TO_INT, leading
4860           to invalid GTypes and bad things happening (see RH bug #179654).
4861           Also add a check to make sure the type passed in is really
4862           an interface type.
4863
4864 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4865
4866         * .cvsignore:
4867           Ignore more.
4868
4869 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4870
4871         * Makefile.am:
4872         * configure.ac:
4873         * gst-element-check.m4:
4874         * gst-element-check.m4.in:
4875           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
4876           instead of the unversioned gst-inspect (#324176, #168659).
4877
4878 2006-07-06  Wim Taymans  <wim@fluendo.com>
4879
4880         * gst/gstmessage.h:
4881         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
4882         warnings.
4883
4884 2006-07-06  Wim Taymans  <wim@fluendo.com>
4885
4886         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4887         (gst_base_src_wait), (gst_base_src_update_length),
4888         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
4889         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
4890         (gst_base_src_loop), (gst_base_src_start),
4891         (gst_base_src_activate_pull):
4892         Update docs.
4893         blocksize == 0 now means the default blocksize when working in push
4894         based mode.
4895         Remove some pointless asserts in _wait function.
4896         Fix offset/length calculations and EOS handling. We can now pull 0
4897         bytes as well, which is allowed.
4898         use _check_get_range() to decide if we can operate in _pull based
4899         mode.
4900         Fix refcounting leak when check_get_range function was not 
4901         implemented.
4902         API GstBaseSrc::blocksize range can be 0 too now (default)
4903
4904         * tests/check/elements/filesrc.c: (GST_START_TEST),
4905         (filesrc_suite):
4906         Added check to test _get_range() behaviour.
4907
4908 2006-07-06  Wim Taymans  <wim@fluendo.com>
4909
4910         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
4911         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
4912         (gst_pad_pull_range):
4913         * gst/gstpad.h:
4914         Lots of comments and docs added to the pad functions.
4915         Flesh out the expected behaviour of the get_range() functions.
4916
4917 2006-07-06  Wim Taymans  <wim@fluendo.com>
4918
4919         * gst/gstbus.h:
4920         * gst/gstclock.h:
4921         * gst/gstevent.h:
4922         * gst/gstiterator.h:
4923         * gst/gstpad.h:
4924         * gst/gstplugin.h:
4925         * gst/gsttask.h:
4926         Remove comma at end of enumerator list. 
4927
4928 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
4929
4930         * win32/common/libgstbase.def:
4931         * win32/common/libgstdataprotocol.def:
4932         * win32/common/libsgtreamer.def:
4933         Add new exported functions.
4934
4935 2006-07-05  Wim Taymans  <wim@fluendo.com>
4936
4937         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
4938         Add some more docs here and there.
4939
4940 2006-07-05  Wim Taymans  <wim@fluendo.com>
4941
4942         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
4943         (gst_base_sink_loop), (gst_base_sink_get_position):
4944         When operating in pull mode update the offset so that we
4945         read sequentially.
4946
4947 2006-07-05  Wim Taymans  <wim@fluendo.com>
4948
4949         * gst/gstregistryxml.c: (read_string):
4950         Avoid strdup. (will happen in libxml, but hey!)
4951
4952         * gst/gsturi.c:
4953         Add some more docs.
4954
4955 2006-07-05  Wim Taymans  <wim@fluendo.com>
4956
4957         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
4958         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
4959         (gst_buffer_suite):
4960         No point in checking if the size of the subbuffer > 0, the
4961         code handles it correclty as demonstrated by unit test.
4962         Also add a unit test for the zero sized _new_and_alloc and
4963         _copy. Fixes #346663.
4964
4965 2006-07-05  Wim Taymans  <wim@fluendo.com>
4966
4967         * libs/gst/base/gstbasetransform.c:
4968         (gst_base_transform_prepare_output_buffer),
4969         (gst_base_transform_buffer_alloc),
4970         (gst_base_transform_handle_buffer):
4971         Make sure the buffer we pass to transform_ip has a refcount of
4972         1 and thus is writable. Fixes #343196
4973
4974 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
4975
4976         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4977         (gst_file_src_init), (gst_file_src_set_property),
4978         (gst_file_src_get_property), (gst_file_src_map_region):
4979         * plugins/elements/gstfilesrc.h:
4980         Add "sequential" property, off by default, to use madvise and hint
4981         to the kernel that sequential access is desired.
4982         Touch all retrieved pages by default to ensure they are pulled
4983         into memory. (Closes #345720)
4984
4985 2006-07-03  Wim Taymans  <wim@fluendo.com>
4986
4987         * docs/design/part-block.txt:
4988         * docs/design/part-dynamic.txt:
4989         Small docs updates.
4990
4991 2006-07-03  Wim Taymans  <wim@fluendo.com>
4992
4993         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
4994         (gst_caps_unref), (gst_static_caps_get),
4995         (gst_caps_append_structure):
4996         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4997         Use GSlice when the glib we build against is >= 2.10
4998
4999 2006-07-03  Wim Taymans  <wim@fluendo.com>
5000
5001         * gst/gstelement.c: (gst_element_pads_activate):
5002         Small cleanup in pad activation code.
5003
5004 2006-07-03  Wim Taymans  <wim@fluendo.com>
5005
5006         Patch by: Peter Kjellerstedt <pkj at axis dot com>
5007
5008         * gst/gst-i18n-app.h:
5009         * gst/gst-i18n-lib.h:
5010         * tools/gst-inspect.c: (print_signal_info):
5011         The attached patch will make the inclusion of gettext.h unconditional in
5012         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
5013         libintl.h in tools/gst-inspect.c.
5014         This allows use of --disable-nls again and fixes #344642.
5015
5016 2006-07-03  Edward Hervey  <edward@fluendo.com>
5017
5018         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
5019         Implement pad blocking on events according to part-block.txt.
5020         More comments on behaviour.
5021         * tests/check/gst/gstevent.c: (test_event):
5022         Send event to peer pad of blocked pad (else it will block).
5023
5024 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5025
5026         * libs/gst/check/gstcheck.c: (gst_check_message_error),
5027         (gst_check_run_suite):
5028           if we get the wrong message, give us the types as string
5029         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5030           Fix a translatable
5031         * tests/check/elements/filesrc.c: (GST_START_TEST):
5032           add a test for trying to open a non-existing file
5033
5034 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5035
5036         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5037           add a test for adding self
5038
5039 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5040
5041         * libs/gst/check/gstcheck.h:
5042           add some assert_ as alias for fail_unless_*
5043         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
5044           increase test coverage
5045
5046 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5047
5048         * Makefile.am:
5049           include lcov.mak for lcov coverage generation
5050         * tools/Makefile.am:
5051           add to CLEANFILES
5052
5053 2006-07-02  Edward Hervey  <edward@fluendo.com>
5054
5055         * tests/check/elements/.cvsignore:
5056         moaping
5057
5058 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5059
5060         * configure.ac:
5061           don't set CFLAGS and friends for gcov, done from GST_GCOV now
5062         * tests/check/Makefile.am:
5063           clean up gcov files
5064
5065 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5066
5067         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
5068           remove gst_caps_simplify; it was not declared and not used
5069           and deprecated in 0.8
5070
5071 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5072
5073         * docs/faq/gst-uninstalled:
5074           don't put empty paths on PYTHONPATH
5075         * docs/gst/gstreamer-sections.txt:
5076           remove some symbols that are not there
5077
5078 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5079
5080         * gst/gstcaps.c: (gst_caps_compare_structures):
5081           whitespace fixes
5082         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5083         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5084           add more tests
5085
5086 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5087
5088         * libs/gst/dataprotocol/Makefile.am:
5089           build dataprotocol test by linking to the lib, instead of
5090           compiling the source, so we get coverage
5091         * tests/check/Makefile.am:
5092         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
5093         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
5094           add a test for filesrc
5095
5096 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5097
5098         * tests/check/gst/gststructure.c: (GST_START_TEST),
5099         (gst_structure_suite):
5100           Push coverage from 59.04% to 70.00%
5101
5102 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5103
5104         * tests/check/Makefile.am:
5105           gst-inspect every element; this makes sure that we also get
5106           coverage on element's get/set functions
5107
5108 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5109
5110         * configure.ac:
5111           set CFLAGS and friends to -O0 if gcov is being used
5112           add GCOV LIBS
5113         * gst/Makefile.am:
5114         * libs/gst/base/Makefile.am:
5115         * libs/gst/check/Makefile.am:
5116         * libs/gst/controller/Makefile.am:
5117         * libs/gst/dataprotocol/Makefile.am:
5118         * libs/gst/net/Makefile.am:
5119         * plugins/elements/Makefile.am:
5120         * plugins/indexers/Makefile.am:
5121           add makefile rules to generate gcov data and clean up
5122         * tests/check/Makefile.am:
5123           add a coverage target that generates an html overview
5124           of coverage data
5125
5126 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5127
5128         * tests/check/elements/fakesink.c:
5129         * tests/check/elements/fakesrc.c:
5130         * tests/check/elements/fdsrc.c:
5131         * tests/check/elements/identity.c:
5132         * tests/check/generic/sinks.c: (gst_sinks_suite):
5133         * tests/check/generic/states.c:
5134         * tests/check/gst/gst.c:
5135         * tests/check/gst/gstabi.c:
5136         * tests/check/gst/gstbin.c:
5137         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
5138         * tests/check/gst/gstbus.c: (gst_bus_suite):
5139         * tests/check/gst/gstcaps.c: (GST_START_TEST):
5140         * tests/check/gst/gstelement.c:
5141         * tests/check/gst/gstevent.c: (gst_event_suite):
5142         * tests/check/gst/gstghostpad.c:
5143         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
5144         * tests/check/gst/gstmessage.c: (gst_message_suite):
5145         * tests/check/gst/gstminiobject.c:
5146         * tests/check/gst/gstobject.c:
5147         * tests/check/gst/gstpad.c:
5148         * tests/check/gst/gstpipeline.c:
5149         * tests/check/gst/gstplugin.c:
5150         * tests/check/gst/gstquery.c: (gst_query_suite):
5151         * tests/check/gst/gstsegment.c: (gst_segment_suite):
5152         * tests/check/gst/gststructure.c:
5153         * tests/check/gst/gstsystemclock.c:
5154         * tests/check/gst/gsttag.c:
5155         * tests/check/gst/gsttask.c: (gst_task_suite):
5156         * tests/check/gst/gstutils.c:
5157         * tests/check/gst/gstvalue.c:
5158         * tests/check/libs/adapter.c:
5159         * tests/check/libs/basesrc.c:
5160         * tests/check/libs/collectpads.c:
5161         * tests/check/libs/controller.c:
5162         * tests/check/libs/gdp.c: (gst_dp_suite):
5163         * tests/check/libs/gstnetclientclock.c:
5164         * tests/check/libs/gstnettimeprovider.c:
5165         * tests/check/libs/libsabi.c: (libsabi_suite):
5166         * tests/check/libs/typefindhelper.c:
5167         * tests/check/pipelines/cleanup.c:
5168         * tests/check/pipelines/parse-launch.c:
5169         * tests/check/pipelines/simple-launch-lines.c:
5170         * tests/check/pipelines/stress.c: (stress_suite):
5171           use the new macro
5172
5173 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5174
5175         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
5176         * libs/gst/check/gstcheck.h:
5177           create a macro and function so that the simple unit test
5178           case can be just one macro to create main()
5179
5180 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
5181
5182         * gst/gstbin.c: (gst_bin_restore_thyself):
5183         * gst/gstxml.c: (gst_xml_make_element):
5184           Fix deserialisation from XML. Set parent manually
5185           instead of using gst_bin_add(), since gst_bin_add()
5186           will unlink all pads of the element being added.
5187           Fixes #341667.
5188
5189 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
5190
5191         Patch by: Peter Kjellerstedt <pkj at axis com>
5192
5193         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
5194           Fix missing g_strdup() and double free when using the
5195           --gst-plugin-load command line option (#346097).
5196
5197 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
5198
5199         * gst/gstinfo.c:
5200           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
5201
5202         * libs/gst/net/gstnetclientclock.c:
5203         * libs/gst/net/gstnettimeprovider.c:
5204           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
5205
5206 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
5207
5208         * docs/manual/advanced-dataaccess.xml:
5209           Fix buffer probe example compilation in
5210           ADM (#345708).
5211         
5212 2006-06-22  Edward Hervey  <edward@fluendo.com>
5213
5214         * gst/gstelement.c: (gst_element_pads_activate):
5215         We need to deactivate src pads first and then sink pads.
5216         The reason is the src pads might be blocking while holding the streaming
5217         lock, so we need to deactivate them first so that deactivating the sink
5218         pads doesn't block (since it will require the streaming lock).
5219
5220 2006-06-22  Wim Taymans  <wim@fluendo.com>
5221
5222         * libs/gst/base/gstbasetransform.c:
5223         (gst_base_transform_buffer_alloc):
5224         Forgot to remove two unneeded unrefs.
5225         Simplify a check _is_equal allready checks the obvious case.
5226
5227 2006-06-22  Wim Taymans  <wim@fluendo.com>
5228
5229         * docs/design/part-block.txt:
5230         Some docs about what pad_block should do.
5231
5232 2006-06-22  Wim Taymans  <wim@fluendo.com>
5233
5234         * gst/gstcaps.c: (gst_caps_replace):
5235         Fix crasher when passed NULL. Doc clarification.
5236         Optimize for the trivial case.
5237
5238         * gst/gstpipeline.c: (gst_pipeline_change_state):
5239         Small cleanups.
5240
5241         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5242         Small documentation cleanup.
5243
5244         * libs/gst/base/gstbasetransform.c:
5245         (gst_base_transform_buffer_alloc):
5246         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
5247         is what we need and it avoids a whole lot of redundant 
5248         refcount operations.
5249
5250 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
5251
5252         Patch by: Philip Jägenstedt  <philip at lysator liu se>
5253
5254         * docs/manual/advanced-dataaccess.xml:
5255           Fix 'Embedding static elements' section to use
5256           GST_PLUGIN_DEFINE_STATIC (#345607).
5257
5258 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5259
5260         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
5261           Attempt to 'fix' spuriously failing test case: it seems like the
5262           timeout of half a second is simply too small when the system is under
5263           load otherwise, and the timeout doesn't really seem to serve any
5264           particular purpose here. Give the pipeline a few seconds to preroll
5265           first, and then give it another half a second to go from PAUSED to
5266           PLAYING and marshal the message into the main thread.
5267
5268 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5269
5270         * tools/gst-feedback-m.m:
5271           Don't only use unversioned tools, try versioned tools as well
5272           (#345086).
5273
5274 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5275
5276         * gst/gstbus.c: (gst_bus_class_init):
5277           Fix some typos, make docs more explicit.
5278
5279 2006-06-20  Wim Taymans  <wim@fluendo.com>
5280
5281         * tests/check/gst/gstghostpad.c: (block_callback),
5282         (GST_START_TEST), (gst_ghost_pad_suite):
5283         Added some more ghostpad tests, mainly blocking
5284         and probes.
5285
5286 2006-06-16  Wim Taymans  <wim@fluendo.com>
5287
5288         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
5289         (gst_file_sink_close_file), (gst_file_sink_do_seek),
5290         (gst_file_sink_event), (gst_file_sink_render):
5291         * plugins/elements/gstfilesink.h:
5292         Check if we can seek in the file instead of assuming
5293         we always can. Post an error when we are asked to seek in a
5294         non-seekable file (like a fifo). Fixes #343312.
5295         Some cleanups.
5296
5297 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
5298
5299         * tools/gst-launch.1.in:
5300           Un-garble (fourcc) bit in filtered caps section.
5301
5302 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
5303
5304         * docs/manual/advanced-autoplugging.xml:
5305         * docs/manual/basics-helloworld.xml:
5306         * docs/manual/highlevel-components.xml:
5307           Don't leak bus reference in sample code.
5308
5309 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
5310
5311         * autogen.sh:
5312           Add default for new --enable-plugin-docs switch.
5313
5314         * configure.ac:
5315           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
5316           Fixes #344039.
5317
5318         * docs/Makefile.am:
5319           Use new ENABLE_PLUGIN_DOCS conditional.
5320
5321 2006-06-14  Wim Taymans  <wim@fluendo.com>
5322
5323         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
5324         Make it clear with a FIXME and a real define what the #if 0
5325         previously disabled.
5326
5327 2006-06-14  Wim Taymans  <wim@fluendo.com>
5328
5329         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
5330         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5331         * libs/gst/base/gstbasetransform.c:
5332         (gst_base_transform_sink_eventfunc):
5333         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
5334         Don't randomly and silently reset a segment when the format 
5335         changes as this is a bug somewhere upstream. Fixes #330379.
5336
5337 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5338
5339         Patch by: Wouter Paesen  <wouter at kangaroot net>
5340
5341         * libs/gst/controller/gstcontroller.c:
5342         (gst_controlled_property_new):
5343           Fix controlling of float properties (#344849).
5344
5345         * tests/check/libs/controller.c:
5346         (gst_test_mono_source_get_property),
5347         (gst_test_mono_source_set_property),
5348         (gst_test_mono_source_class_init), (GST_START_TEST):
5349           While we're at it, add some float stuff to unit test.
5350
5351 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5352
5353         * docs/README:
5354         * docs/images/gdp-header.svg:
5355           add a gdp image
5356         * docs/libs/Makefile.am:
5357         * docs/libs/gdp-header.png:
5358         * libs/gst/dataprotocol/dataprotocol.c:
5359           add it to the API docs
5360         * docs/manual/intro-motivation.xml:
5361           fix typo
5362
5363 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
5364
5365         * gst/gst.c: (scan_and_update_registry), (init_post):
5366           If the fork()'ed child process can't write the updated registry cache
5367           file to disk for some reason, make it exit with a failure exit code,
5368           so that the parent can then re-scan the plugins itself and update the
5369           registry structures in memory and work with that (rather than failing
5370           when creating elements because seemingly no plugins are available).
5371           Refactor registry scanning code into separate function for this and
5372           also separate fork() and non-fork() code paths. Fixes #344748.
5373
5374 2006-06-13  Wim Taymans  <wim@fluendo.com>
5375
5376         * docs/manual/advanced-dataaccess.xml:
5377         Fix wrong PluginDesc. Fixes #344755.
5378
5379 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
5380
5381         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5382           Fix silly bug that prevented us from creating
5383           ~/.gstreamer-0.10 and writing the registry in one
5384           go (the first call to g_mkstemp() would overwrite the
5385           placeholder in the template string, so the second call
5386           to g_mkstemp() after creating the missing directory
5387           would then error out with 'invalid argument').
5388
5389 2006-06-13  Edward Hervey  <edward@fluendo.com>
5390
5391         * gst/gst.c: (init_post):
5392         Free string.
5393
5394 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5395
5396         * gst/glib-compat-private.h:
5397         * gst/glib-compat.c:
5398         * gst/glib-compat.h:
5399         * gst/gstvalue.c: (gst_value_serialize_flags):
5400           remove GLib 2.6 compatibility code
5401
5402 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
5403
5404         * gst/parse/Makefile.am:
5405           Fix build with 'make -j N' even more (#340016).
5406
5407 2006-06-12  Wim Taymans  <wim@fluendo.com>
5408
5409         * docs/gst/gstreamer-sections.txt:
5410         Fix docs.
5411
5412 2006-06-12  Wim Taymans  <wim@fluendo.com>
5413
5414         * gst/gstsegment.c: (gst_segment_set_duration),
5415         (gst_segment_set_last_stop), (gst_segment_set_seek),
5416         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5417         (gst_segment_to_running_time), (gst_segment_clip):
5418         Use G_UNLIKELY to help the compiler a bit.
5419
5420 2006-06-12  Wim Taymans  <wim@fluendo.com>
5421
5422         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
5423
5424         * gst/gstevent.c: (gst_event_get_type):
5425         * gst/gstmessage.c:
5426         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
5427         (gst_pad_push):
5428         constify quark registration strings. Fixes #344115
5429         Avoid unneeded type checking is _pad_push() by internally
5430         calling gst_pad_chain_unchecked().
5431
5432 2006-06-12  Wim Taymans  <wim@fluendo.com>
5433
5434         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
5435         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
5436         (gst_subbuffer_finalize), (gst_buffer_create_sub),
5437         (gst_buffer_is_span_fast), (gst_buffer_span):
5438         Init _type for consistency.
5439         Use _FLAGS macro to avoid type check.
5440         Avoid unneeded type checks in subbufer code.
5441
5442 2006-06-12  Wim Taymans  <wim@fluendo.com>
5443
5444         * gst/gst.c: (gst_debug_help):
5445         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
5446         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5447         (gst_plugin_feature_list_free):
5448         * gst/gstregistry.c: (gst_registry_add_plugin),
5449         (gst_registry_add_feature), (gst_registry_plugin_filter),
5450         (gst_registry_feature_filter), (gst_registry_find_plugin),
5451         (gst_registry_find_feature), (gst_registry_get_plugin_list),
5452         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
5453         * gst/gstregistryxml.c: (load_feature),
5454         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
5455         * gst/gstminiobject.c: (gst_mini_object_unref),
5456         (gst_mini_object_replace), (gst_value_mini_object_free),
5457         (gst_value_mini_object_copy):
5458         Use _CAST macros to avoid unneeded type checking.
5459         Added some more G_UNLIKELY.
5460
5461 2006-06-12  Wim Taymans  <wim@fluendo.com>
5462
5463         * gst/gstbuffer.h:
5464         Avoid unneeded type checking.
5465         API: GST_BUFFER_IS_DISCONT
5466
5467         * gst/gstminiobject.h:
5468         Avoid type check in flag accessor.
5469
5470         * gst/gstelementfactory.h:
5471         * gst/gstplugin.h:
5472         * gst/gstpluginfeature.h:
5473         Add _CAST macros.
5474         API: GST_ELEMENT_FACTORY_CAST
5475         API: GST_PLUGIN_CAST
5476         API: GST_PLUGIN_FEATURE_CAST
5477
5478 2006-06-12  Wim Taymans  <wim@fluendo.com>
5479
5480         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
5481         (gst_object_unref):
5482         Add G_UNLIKELY in type registration.
5483         Avoid type check in _ref/_unref since that is also
5484         done in glib.
5485
5486 2006-06-12  Wim Taymans  <wim@fluendo.com>
5487
5488         * gst/gsterror.c: (gst_g_error_get_type):
5489         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5490         (gst_static_pad_template_get_type):
5491         * gst/gsttaglist.c: (gst_tag_list_get_type):
5492         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
5493         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
5494         * gst/gsturi.c: (gst_uri_handler_get_type):
5495         * gst/gstvalue.c: (gst_date_get_type):
5496         * gst/gstxml.c: (gst_xml_get_type):
5497         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5498         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5499         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
5500         Add G_UNLIKELY in type registration.
5501
5502 2006-06-12  Wim Taymans  <wim@fluendo.com>
5503
5504         * tools/gst-inspect.c: (print_signal_info):
5505         Properly print enum values.
5506
5507 2006-06-12  Wim Taymans  <wim@fluendo.com>
5508
5509         * gst/gstinfo.c: (gst_debug_set_active),
5510         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
5511         * gst/gstinfo.h:
5512         Add some G_[UN]LIKELY.
5513         Maintain __gst_debug_min to avoid formatting the arguments of
5514         debug messages that will be dropped anyway to avoid a lot of 
5515         overhead from the debugging system.
5516
5517 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5518
5519         * po/POTFILES.in:
5520         * po/POTFILES.skip:
5521           add missing files containing translatable strings, tell intltool about
5522           one exception
5523
5524 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5525
5526         * tests/check/libs/.cvsignore:
5527         add test-binary to ignore list
5528
5529 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5530
5531         * docs/libs/gstreamer-libs-docs.sgml:
5532         reorder (put dp into a chapter) and indent
5533
5534 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5535
5536         * configure.ac:
5537           back to HEAD
5538
5539 === release 0.10.8 ===
5540
5541 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
5542
5543         * configure.ac:
5544           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
5545
5546 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5547
5548         * gst/gst.c: (init_post):
5549           move pid declaration to declaration block
5550
5551 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5552
5553         * gst/gst.c: (init_post):
5554           use _exit() instead of exit() in our forked child; this ensures
5555           that none of the registered exit handlers from whatever is using
5556           GStreamer get executed.  This fixes gnome-mixer-applet failing
5557           to load, because ORBit would shut down.
5558           Spotted by: Edward Hervey  <edward@fluendo.com>
5559           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
5560           Fixes #344474
5561
5562 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5563
5564         * configure.ac:
5565           back to TRUNK
5566
5567 === release 0.10.7 ===
5568
5569 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
5570
5571         * configure.ac:
5572           releasing 0.10.7, "Soepeke, ik zie ou"
5573
5574 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
5575
5576         * configure.ac:
5577         * po/af.po:
5578         * po/az.po:
5579         * po/bg.po:
5580         * po/ca.po:
5581         * po/cs.po:
5582         * po/de.po:
5583         * po/en_GB.po:
5584         * po/fr.po:
5585         * po/it.po:
5586         * po/nb.po:
5587         * po/nl.po:
5588         * po/ru.po:
5589         * po/sq.po:
5590         * po/sr.po:
5591         * po/sv.po:
5592         * po/tr.po:
5593         * po/uk.po:
5594         * po/vi.po:
5595         * po/zh_CN.po:
5596         * po/zh_TW.po:
5597         * win32/common/config.h:
5598           0.10.6.2 prerelease
5599
5600 2006-06-07  Wim Taymans  <wim@fluendo.com>
5601
5602         * gst/gstindex.c: (gst_index_gtype_resolver):
5603         * tools/gst-xmlinspect.c: (print_plugin_info):
5604         Fix leak spotted by coverity checker. Fixes #343827
5605         Fix another other leak found by paolo borelli.
5606
5607 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5608
5609         * libs/gst/dataprotocol/dataprotocol.c:
5610         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5611         (gst_dp_version_get_type), (gst_dp_init),
5612         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
5613         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
5614         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
5615         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
5616         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
5617         (gst_dp_packetizer_free):
5618         * libs/gst/dataprotocol/dataprotocol.h:
5619           API: add a GstDPPacketizer object, and create/free functions
5620           API: add GstDPVersion enum
5621           Add 1.0 event function that uses the string serialization
5622           Serialize more useful buffer flags
5623           Fixes #343988
5624
5625 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5626
5627         * tests/check/Makefile.am:
5628         * tests/check/gst/gstabi.c:
5629         * tests/check/gst/struct_ppc64.h:
5630         * tests/check/libs/libsabi.c:
5631         * tests/check/libs/struct_ppc64.h:
5632           add ppc64 structure sizes
5633
5634 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5635
5636         * tests/check/Makefile.am:
5637         * tests/check/gst/gstabi.c:
5638         * tests/check/gst/struct_x86_64.h:
5639         * tests/check/libs/libsabi.c:
5640         * tests/check/libs/struct_x86_64.h:
5641           generate and add structure size lists for x86_64
5642
5643 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5644
5645         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5646         * libs/gst/check/gstcheck.h:
5647           factor out the method from tests that checks size of structures,
5648           and add code to generate the header containing these sizes
5649         * tests/check/gst/gstabi.c: (GST_START_TEST):
5650         * tests/check/gst/struct_i386.h:
5651         * tests/check/libs/libsabi.c: (GST_START_TEST):
5652         * tests/check/libs/struct_i386.h:
5653           use it
5654
5655 2006-06-06  Michael Smith  <msmith@fluendo.com>
5656
5657         * gst/gstsegment.h:
5658           Don't use c++-style comments, fixes #343929
5659
5660 2006-06-05  Edward Hervey  <edward@fluendo.com>
5661
5662         * gst/gst.c:
5663         plugin_paths is not used if we build without registry support.
5664
5665         * gst/gstsegment.c: (gst_segment_copy): 
5666         _copy() was always returning NULL...
5667
5668 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5669
5670         * libs/gst/dataprotocol/dataprotocol.c:
5671         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5672         (gst_dp_packet_from_event):
5673           factor out CRC code
5674
5675 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5676
5677         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
5678           make sure we unset caps
5679
5680 2006-06-02  Michael Smith  <msmith@fluendo.com>
5681
5682         * libs/gst/check/gstcheck.c: (gst_check_init),
5683         (gst_check_chain_func):
5684         * libs/gst/check/gstcheck.h:
5685           Add a cond/mutex to the check support lib, signal this whenever we
5686           add to the buffers list. This will allow tests to not busy-wait on
5687           the buffer-list.
5688
5689 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5690
5691         * libs/gst/dataprotocol/dataprotocol.c:
5692         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5693         (gst_dp_packet_from_event):
5694           factor out some common header init code
5695
5696 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5697
5698         * docs/libs/gstreamer-libs-sections.txt:
5699         * docs/libs/tmpl/gstdataprotocol.sgml:
5700         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
5701         * libs/gst/dataprotocol/dataprotocol.h:
5702           API: make gst_dp_crc() public
5703
5704 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
5705
5706         * plugins/indexers/gstindexers.c: (plugin_init):
5707         conditionally register fileindexer (fixes #343598)
5708
5709 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
5710
5711         * gst/gsttagsetter.h:
5712         Can't cast ifaces to a class
5713
5714         * libs/gst/net/gstnetclientclock.h:
5715         * libs/gst/net/gstnettimeprovider.h:
5716         * plugins/elements/gstfakesink.h:
5717         * plugins/elements/gstfakesrc.h:
5718         * plugins/elements/gstfdsink.h:
5719         * plugins/elements/gstfdsrc.h:
5720         * plugins/elements/gstfilesink.h:
5721         * plugins/elements/gstfilesrc.h:
5722         * plugins/elements/gstidentity.h:
5723         * plugins/elements/gstqueue.h:
5724         * plugins/elements/gsttee.h:
5725         * plugins/indexers/gstfileindex.c:
5726         * plugins/indexers/gstmemindex.c:
5727         * tests/old/examples/plugins/example.h:
5728         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
5729
5730 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5731
5732         * libs/gst/dataprotocol/dataprotocol.c:
5733         (gst_dp_header_from_buffer):
5734           make sure we zero the whole ABI-compatible area
5735
5736 2006-06-01  Wim Taymans  <wim@fluendo.com>
5737
5738         Patch by: Alessandro Decina <alessandro at nnva dot org>
5739
5740         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
5741         Make sure the EOS flag is cleared from pads after a flush
5742         or stop. Fixes #343538.
5743
5744         * tests/check/libs/collectpads.c: (GST_START_TEST),
5745         (gst_collect_pads_suite):
5746         Added test for collectpads reusage after EOS.
5747
5748 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
5749
5750         * gst/gst.c:
5751          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
5752         * win32/common/libgstbase.def:
5753          export gst_collect_pads_set_flushing
5754         * win32/common/libgstreamer.def:
5755          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
5756          gst_value_fraction_multiply
5757         * win32/vs6/gst_inspect.dsp:
5758          add a link to intl.lib
5759
5760 2006-05-30  Wim Taymans  <wim@fluendo.com>
5761
5762         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5763         (gst_collect_pads_chain):
5764         Handle the case where a pad is removed from the collection
5765         that could cause the other pads to become collectable.
5766
5767 2006-05-30  Wim Taymans  <wim@fluendo.com>
5768
5769         * gst/gstelement.c:
5770         Clarify the use of _release_request_pad() and
5771         _get_request_pad() a bit better.
5772
5773         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
5774         (gst_adapter_take_buffer):
5775         Fix some doc and comment typos.
5776
5777 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5778
5779         * docs/gst/gstreamer-sections.txt:
5780         * docs/libs/gstreamer-libs-sections.txt:
5781           add declared symbols
5782
5783 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
5784
5785         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5786         Add debug that can be enabled using a #define at the top of the file,
5787         for dumping stats about how late/early we were when waking up from
5788         waiting on the clock.
5789
5790 2006-05-30  Wim Taymans  <wim@fluendo.com>
5791
5792         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
5793         When rebuilding the pad list, don't leak the previous list.
5794
5795 2006-05-30  Wim Taymans  <wim@fluendo.com>
5796
5797         Patch by: Lutz Mueller <lutz at topfrose dot de>
5798
5799         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5800         (gst_base_src_get_query_types), (gst_base_src_update_length):
5801         Publish supported query types.
5802         Update last_stop field in get_range mode so the position
5803         query works. Fixes #342321.
5804
5805 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
5806
5807         * docs/gst/gstreamer-sections.txt:
5808         * gst/gsttaglist.c: (_gst_tag_initialize):
5809         * gst/gsttaglist.h:
5810           API: add GST_TAG_PREVIEW_IMAGE (#343341).
5811
5812 2006-05-30  Wim Taymans  <wim@fluendo.com>
5813
5814         Patch by: Alessandro Decina <alessandro at nnva dot org>
5815
5816         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5817         Unlock mutex when removing an unknown pad.
5818         Fixes #343334.
5819
5820         * tests/check/Makefile.am:
5821         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
5822         (push_event), (setup), (teardown), (GST_START_TEST),
5823         (gst_collect_pads_suite), (main):
5824         Added collecpads check, disabled for now as check crashes for
5825         some reason.
5826
5827 2006-05-29  Wim Taymans  <wim@fluendo.com>
5828
5829         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
5830         Don't leak pads lists.
5831
5832 2006-05-29  Wim Taymans  <wim@fluendo.com>
5833
5834         * docs/libs/gstreamer-libs-sections.txt:
5835         * libs/gst/base/gstcollectpads.c:
5836         (gst_collect_pads_set_flushing_unlocked),
5837         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
5838         (gst_collect_pads_stop):
5839         * libs/gst/base/gstcollectpads.h:
5840         API: gst_collect_pads_set_flushing()
5841         Added api to set the pads to flushing, useful for seeking
5842         code in elements using collectpads.
5843         Clear segment when receiving a flush.
5844
5845 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
5846
5847         * gst/gst.c: (add_path_func), (init_post):
5848           Don't scan registry paths passed via --gst-plugin-path immediately
5849           (will crash, because absolutely nothing is set up and no types are
5850           registered etc.); do this later in init_post(). Fixes #343057.
5851
5852 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5853
5854         * gst/gst.c: (init_post):
5855           if we have fork, fork while reading/rebuilding the registry
5856           so the parent doesn't take the hit of having all plugins loaded
5857           in memory.  Fixes #342777.
5858         * configure.ac:
5859           Check if we have fork()
5860         * win32/common/config.h.in:
5861           no fork() on win32
5862
5863 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
5864
5865         * plugins/elements/gstelements.c:
5866         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5867         (gst_file_src_init), (gst_file_src_set_property),
5868         (gst_file_src_get_property), (gst_file_src_start):
5869         * plugins/elements/gstfilesrc.h:
5870           API: GstFileSrc::use-mmap
5871
5872         Add a use-mmap property to enable easier testing of all code paths.
5873         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
5874         in the absence of gnomevfssrc. (Closes #340501)
5875
5876 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5877
5878         * tools/gst-inspect.c:
5879         Add missing include, removes warning of ngettext not being defined on
5880         some arches.
5881
5882 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
5883
5884         * gst/gstvalue.c: (gst_value_deserialize_fraction):
5885         Handle NULL input and output pointers silently as a failed conversion,
5886         rather than g_warnings.
5887
5888 2006-05-25  Wim Taymans  <wim@fluendo.com>
5889
5890         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
5891         Initialize variable before using. Fixes #342820.
5892
5893 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
5894
5895         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
5896           Fix off-by-one bug that would only allow peeks of N-1 bytes
5897           from the start even if the buffer to typefind on contains
5898           in fact N bytes of data (makes vorbis typefinding from a
5899           vorbis identification header buffer work).
5900
5901         * tests/check/Makefile.am:
5902         * tests/check/libs/.cvsignore:
5903         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
5904         (gst_typefindhelper_suite), (main), (foobar_typefind),
5905         (plugin_init):
5906           Add very basic unit test for gst_type_find_helper_for_buffer()
5907           that checks for the problem fixed above.
5908
5909 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5910
5911         * tools/gst-inspect.c: (print_interfaces),
5912         (print_element_properties_info), (print_element_list), (main):
5913           add more translatable strings
5914
5915 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
5916
5917         Patch by: Julien Moutte  <julien at moutte net>
5918
5919         * docs/gst/gstreamer-sections.txt:
5920           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
5921           
5922         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
5923         (gst_fake_sink_preroll):
5924         * plugins/elements/gstfakesink.h:
5925           API: Add new GstFakeSink::preroll-handoff signal (#337100).
5926
5927 2006-05-23  Wim Taymans  <wim@fluendo.com>
5928
5929         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
5930         * gst/gstpad.h:
5931         Added _CUSTOM error and success GstFlowReturn that can be
5932         used be elements internally. 
5933         Added macro to check for SUCCESS flowreturns.
5934         API: GST_FLOW_CUSTOM_SUCCESS
5935         API: GST_FLOW_CUSTOM_ERROR
5936         API: GST_FLOW_IS_SUCCESS
5937
5938         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5939         Added check for GstFlowReturn sanity.
5940
5941 2006-05-23  Wim Taymans  <wim@fluendo.com>
5942
5943         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5944
5945         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5946         (gst_collect_pads_event):
5947         clear/reset segment info in FLUSH_STOP.
5948         Fixes #336929.
5949
5950 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
5951
5952         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
5953         (gst_collect_pads_check_collected):
5954         Flush queued buffer on _stop(), fixes playing again (#342454)
5955
5956 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5957
5958         * tests/check/gst/gststructure.c: (GST_START_TEST),
5959         (gst_structure_suite):
5960           add a test for a complete structure
5961
5962 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
5963
5964         * docs/faq/developing.xml:
5965         * docs/faq/faq.xml:
5966         * docs/faq/troubleshooting.xml:
5967         * docs/faq/using.xml:
5968           Some minor FAQ updates that won't change the fact that
5969           our FAQ is badly structured, full of information hardly
5970           anyone new to GStreamer needs to know and lacking lots
5971           of information people constantly ask for.
5972           
5973 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
5974
5975         * gst/gstpad.c: (gst_pad_set_caps):
5976           Short-circuit gst_pad_set_caps if setting the existing
5977           caps pointer again, and avoid printing debug and 
5978           reffing/unreffing the caps.
5979
5980         * plugins/elements/gstqueue.c: (gst_queue_push_one):
5981           There's actually no need to set the caps before pushing -
5982           the acceptcaps method will handle it anyway.
5983
5984 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
5985
5986         * docs/gst/gstreamer-sections.txt:
5987         * win32/common/libgstreamer.def:
5988         * gst/gstutils.c: (gst_element_seek_simple):
5989         * gst/gstutils.h:
5990           API: add gst_element_seek_simple() (#342238).
5991
5992 2006-05-18  Edward Hervey  <edward@fluendo.com>
5993
5994         * gst/gsttypefind.c: (gst_type_find_get_type):
5995         * gst/gsttypefind.h:
5996         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
5997         registered for GstTypeFind pointers. This allows wrapping the structure
5998         in bindings (i.e. gst-python).
5999
6000 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
6001
6002         * gst/gsttagsetter.c:
6003           Docs additions and fixes (see #339918).
6004
6005 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
6006
6007         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6008         The caps intersection algorithm can produce multiple copies of the
6009         caps. Until that is fixed, we need to simplify the result to be
6010         sure whether the allowed caps are fixed or not.
6011
6012         * plugins/elements/gstqueue.c: (gst_queue_init),
6013         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
6014         (gst_queue_push_one):
6015         Proxied buffer alloc should not set the caps on the source pad.
6016         When pushing buffers, we always accept the caps change that triggers.
6017         This prevents negotiation errors caused by caps changing mid-stream 
6018         and then being refused on our source pad (because upstream is now
6019         refusing those caps).
6020
6021 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
6022
6023         * tests/examples/helloworld/helloworld.c: (main):
6024           Must plug audioconvert and audioresample between decoder
6025           and audio sink.
6026
6027 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
6028
6029         * gst/gstregistryxml.c: (read_string), (load_pad_template),
6030         (load_feature), (load_plugin):
6031         Allow empty strings for some of the plugin fields so we don't 
6032         drop valid plugin entries that were written out correctly
6033         (Fixes #341479)
6034
6035 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
6036         
6037         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
6038           Use g_remove and g_rename instead of remove and rename that don't 
6039           handle utf8 characters. rename was failing for users who had specific
6040           characters in their name then the registry was built at each 
6041           gstreamer init.
6042         * win32/vs6/gst_inspect.dsp:
6043         * win32/vs6/gst_launch.dsp:
6044         * win32/vs6/libgstbase.dsp:
6045         * win32/vs6/libgstcoreelements.dsp:
6046         * win32/vs6/libgstreamer.dsp:
6047           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
6048           build of libgstreamer and clean unused libraries in projects link 
6049           settings.
6050
6051 2006-05-17  Edward Hervey  <edward@fluendo.com>
6052
6053         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6054         The queue is not responsible for pushing an EOS when receiving a fatal
6055         flow error. It's up to the real element driving the pipeline to do that.
6056
6057 2006-05-16  Edward Hervey  <edward@fluendo.com>
6058
6059         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6060         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
6061         buffer returned a fatal error. It should just send an EOS and stop
6062         its task.
6063         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
6064         when pushing buffers on the queue and will be able to handle the event.
6065
6066 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
6067
6068         * docs/manual/basics-bins.xml:
6069         * docs/manual/basics-init.xml:
6070           Fix typos and minor errors in sample code (#341856).
6071
6072 2006-05-16  Wim Taymans  <wim@fluendo.com>
6073
6074         * docs/design/part-qos.txt:
6075         Fix indexes in formulas to make more sense.
6076
6077 2006-05-15  Wim Taymans  <wim@fluendo.com>
6078
6079         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6080         Don't report POSITION based on clock time if sync is
6081         disabled in a sink.
6082
6083 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
6084
6085         * gst/gstobject.h:
6086           Add cast to make compiler happy - refcount variable was a gint
6087           in GstObject but is a guint in GObject and g_atomic_int_get()
6088           wants a gint *.
6089
6090 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
6091
6092         * gst/parse/Makefile.am:
6093           chain commands using &&, which also makes parallel make work
6094
6095 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
6096
6097         * docs/gst/gstreamer-sections.txt:
6098         * gst/gstevent.c:
6099         * gst/gstevent.h:
6100         * gst/gstmessage.h:
6101           Minor docs fixes.
6102
6103 === release 0.10.6 ===
6104
6105 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
6106
6107         * configure.ac:
6108           releasing 0.10.6, "Take the cannoli"
6109
6110 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
6111
6112         * tools/gst-launch.c: (print_tag):
6113           Fix use of uninitialized variable in the hypothetical
6114           case that some broken plugin creates a GST_TAG_IMAGE
6115           tag containing a NULL buffer (#341667).
6116
6117 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
6118
6119         * tools/gst-launch.c: (print_tag):
6120           Print something more intelligible for image tags when
6121           using the -t switch (#341556).
6122
6123 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6124
6125         * Makefile.am:
6126           updates for win32
6127         * configure.ac:
6128           define GST_MAJORMINOR so we have it available in win32/common/config.h
6129           Possibly remove it from our Makefile.am files later
6130         * win32/common/config.h:
6131         * win32/common/config.h.in:
6132           added GST_MAJORMINOR
6133         * win32/common/gstenumtypes.c: (register_gst_resource_error):
6134         * win32/common/gstversion.h:
6135           updated
6136
6137 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
6138
6139         * win32/MANIFEST:
6140           Update win32 files listing.
6141         * win32/common/gstversion.h:
6142           Add GST_MAJORMINOR definition.
6143         * win32/common/libgstreamer.def:
6144           Add new exported functions.
6145           
6146 2006-05-12  Michael Smith  <msmith@fluendo.com>
6147
6148         * gst/gstplugin.c: (gst_plugin_load_file):
6149           If an so file has no plugin entry point, unload the module.
6150
6151 2006-05-11  Wim Taymans  <wim@fluendo.com>
6152
6153         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
6154         (gst_queue_set_property):
6155         Don't forget to signal the _chain or _loop function 
6156         when the queue size or thresholds change since that might
6157         cause them to make progres again.
6158
6159 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
6160
6161         * gst/gstclock.c: (gst_clock_class_init):
6162         * gst/gstindex.c: (gst_index_class_init):
6163         * gst/gstobject.c: (gst_object_class_init):
6164         * gst/gstpad.c: (gst_pad_class_init):
6165         * gst/gstpipeline.c: (gst_pipeline_class_init):
6166         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6167         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
6168         * libs/gst/base/gstbasetransform.c:
6169         (gst_base_transform_class_init):
6170         * libs/gst/net/gstnetclientclock.c:
6171         (gst_net_client_clock_class_init):
6172         * libs/gst/net/gstnettimeprovider.c:
6173         (gst_net_time_provider_class_init):
6174         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
6175         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6176         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6177         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
6178         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6179         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
6180         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
6181         * plugins/elements/gstidentity.c: (gst_identity_class_init):
6182         * plugins/elements/gsttee.c: (gst_tee_class_init):
6183         * tests/old/examples/plugins/example.c: (gst_example_class_init):
6184         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6185           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
6186
6187 2006-05-11  Wim Taymans  <wim@fluendo.com>
6188
6189         * gst/gstbuffer.c: (_gst_buffer_initialize):
6190         Register subbufer along with the buffer type so that
6191         it does not accidentally gets registered from N
6192         different streaming threads in a non threadsafe way.
6193
6194 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
6195
6196         * gst/gstbuffer.h:
6197         * gst/gstevent.h:
6198         * gst/gstmessage.h:
6199           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
6200           gst_event_ref() and gst_message_ref() functions again
6201           (ugly hack, please do fix if there's a better way besides
6202           overrides.txt, which doesn't seem to work).
6203
6204 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6205
6206         * libs/gst/check/gstcheck.h:
6207           add an assert for setting state to avoid lots of repetitive code
6208           in the future
6209
6210 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6211
6212         * gst/gstvalue.c: (gst_value_serialize_flags):
6213           fix a leak if no flags are set
6214         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6215           fix leak in tests
6216
6217 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
6218
6219         * docs/manual/basics-pads.xml:
6220           Expand a bit on caps and filtered links and update
6221           examples that were still using the no longer existing
6222           gst_pad_link_filtered() (#338206).
6223
6224 2006-05-10  Wim Taymans  <wim@fluendo.com>
6225
6226         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6227         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
6228         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
6229         (gst_collect_pads_stop):
6230         * libs/gst/base/gstcollectpads.h:
6231         No need to call _stop in _finalize.
6232         Iterate the main pad list in _finalize.
6233         Added some more debug.
6234         Free lists and data in the right order.
6235         Also free data whem doing _remove_pad when stopped for
6236         backward compatibility protect ::started with PAD_LOCK as
6237         well.
6238
6239 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6240
6241         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
6242         (gst_structure_parse_value):
6243           add some comments
6244           rename a method so that it actually says what it does better
6245
6246 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6247
6248         * gst/gstevent.c: (_gst_event_initialize):
6249         * gst/gstformat.c: (_gst_format_initialize):
6250           make sure some essential types used by events are registered
6251           as part of gst_init()
6252         * gst/gstvalue.c: (gst_value_serialize_flags):
6253           if no flags are set, serialize them to a value that represents NONE
6254           so that deserializing them works
6255         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6256           add tests for serialization and deserialization of flags
6257
6258 2006-05-10  Wim Taymans  <wim@fluendo.com>
6259
6260         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
6261         (gst_collect_pads_collect_range), (gst_collect_pads_available),
6262         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
6263         (gst_collect_pads_event), (gst_collect_pads_chain):
6264         Update docs.
6265         Better debug info.
6266         Catch and return errors from the collect function
6267         Refuse data on eos pads.
6268
6269 2006-05-10  Edward Hervey  <edward@fluendo.com>
6270
6271         * gst/gstinterface.h:
6272         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
6273         GInterface type checking.
6274         They were previously using non-defined macros.
6275
6276 2006-05-09  Wim Taymans  <wim@fluendo.com>
6277
6278         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
6279         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
6280         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
6281         (gst_collect_pads_start), (gst_collect_pads_stop),
6282         (gst_collect_pads_peek), (gst_collect_pads_pop),
6283         (gst_collect_pads_available), (gst_collect_pads_read),
6284         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
6285         (gst_collect_pads_is_collected), (gst_collect_pads_event),
6286         (gst_collect_pads_chain):
6287         * libs/gst/base/gstcollectpads.h:
6288         Clean up the mess that is collectpads, add comments and
6289         FIXMEs where needed.
6290         Maintain a separate pad list so we can add pads while
6291         collecting the other ones. For this we need a new separate 
6292         lock (see comics).
6293         Fix memory leak in finalize.
6294         Refactor some weird code to set/unset pad flushing flags, mark
6295         with comments.
6296         Don't crash in _available, _read, _flush when we're EOS.
6297
6298         * tests/check/libs/.cvsignore:
6299         Ignore adapter check binary.
6300
6301 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6302
6303         * gst/gstindex.c: (gst_index_resolver_get_type):
6304         * plugins/elements/gstfakesink.c:
6305         (gst_fake_sink_state_error_get_type):
6306         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6307         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
6308         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
6309           Const-ify GEnumValue arrays.
6310
6311 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6312
6313         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6314           Add test case for flags + gst_buffer_make_metadata_writable().
6315
6316 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6317
6318         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
6319           gst_buffer_make_metadata_writable() should maintain the
6320           buffer flags (those that make sense at least) (see #340859).
6321
6322 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6323
6324         * tools/gst-inspect.c:
6325         * tools/gst-launch.c:
6326         * tools/gst-typefind.c:
6327         * tools/gst-xmlinspect.c:
6328         * tools/tools.h:
6329           Fix up includes: need to include stdlib.h in tools.h for exit().
6330
6331 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6332
6333         * gst/gsttaglist.c: (_gst_tag_initialize):
6334         * gst/gsttaglist.h:
6335           API: add GST_TAG_IMAGE tag (#340721).
6336
6337 2006-05-08  Wim Taymans  <wim@fluendo.com>
6338
6339         * gst/gstquery.c:
6340         Added some docs for the segment query.
6341
6342 2006-05-08  Wim Taymans  <wim@fluendo.com>
6343
6344         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6345         (gst_base_src_loop), (gst_base_src_change_state):
6346         Always push non-flushing serialized events in the streaming 
6347         thread.
6348
6349 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
6350
6351         * gst/gsterror.c: (_gst_stream_errors_init):
6352           Add a missing error string.
6353
6354 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
6355
6356         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
6357         Add applied_rate to the debug
6358
6359         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6360         Copy applied_rate into the outgoing NEWSEGMENT event
6361
6362 2006-05-08  Wim Taymans  <wim@fluendo.com>
6363
6364         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
6365
6366         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
6367         (gst_base_sink_change_state):
6368         call ::unlock before taking the PREROLL_LOCK so we can safely
6369         handle elements that lock in ::render.
6370         Fixes #340174.
6371
6372 2006-05-08  Edward Hervey  <edward@fluendo.com>
6373
6374         * autogen.sh: (CONFIGURE_DEF_OPT): 
6375         Darwin's libtoolize is in fact called glibtoolize.
6376         Adding glibtoolize to the list of accepted names for libtoolize.
6377
6378 2006-05-08  Wim Taymans  <wim@fluendo.com>
6379
6380         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6381         Unify error handling, don't post an error message
6382         when a push() returns EOS but perform our normal EOS
6383         handling code. Fixes #340772.
6384
6385 2006-05-08  Wim Taymans  <wim@fluendo.com>
6386
6387         * docs/design/part-overview.txt:
6388         Make upsteam/downstream concepts more clear.
6389         Give an example of serialized/non-serialized events.
6390
6391         * docs/design/part-events.txt:
6392         * docs/design/part-streams.txt:
6393         Mention applied_rate.
6394
6395         * docs/design/part-trickmodes.txt:
6396         Mention applied rate, flesh out some more use cases.
6397
6398         * gst/gstevent.c: (gst_event_new_new_segment),
6399         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
6400         (gst_event_parse_new_segment_full), (gst_event_new_tag),
6401         (gst_event_parse_tag), (gst_event_new_buffer_size),
6402         (gst_event_parse_buffer_size), (gst_event_new_qos),
6403         (gst_event_parse_qos), (gst_event_parse_seek),
6404         (gst_event_new_navigation):
6405         * gst/gstevent.h:
6406         Add applied_rate field to NEWSEGMENT event.
6407         API: gst_event_new_new_segment_full()
6408         API: gst_event_parse_new_segment_full()
6409
6410         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
6411         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
6412         (gst_segment_to_stream_time), (gst_segment_to_running_time):
6413         * gst/gstsegment.h:
6414         Add applied_rate to GstSegment structure.
6415         Make calculation of stream_time and running_time more correct
6416         wrt rate/applied_rate.
6417         Add some more docs.
6418         API: GstSegment::applied_rate field
6419         API: gst_segment_set_newsegment_full();
6420
6421         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6422         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
6423         * libs/gst/base/gstbasetransform.c:
6424         (gst_base_transform_sink_eventfunc),
6425         (gst_base_transform_handle_buffer):
6426         Parse and use applied_rate in the GstSegment field.
6427
6428         * tests/check/gst/gstevent.c: (GST_START_TEST):
6429         Add check for applied_rate field.
6430
6431         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6432         (gstsegments_suite):
6433         Add more checks for various GstSegment operations.
6434
6435 2006-05-08  Wim Taymans  <wim@fluendo.com>
6436
6437         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6438         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
6439         (gst_base_sink_get_position), (gst_base_sink_change_state):
6440         Store the sync time of the buffer end position separatly in a
6441         new variable eos_rtime so we can properly sync the EOS event.
6442         Fixes #340697.
6443         Fix the docs for gst_base_sink_set_qos_enabled().
6444         Don't set segment start to invalid value when we receive a 
6445         non TIME newsegment.
6446         get closer to handling position reporting for negative rates 
6447         correctly.
6448
6449 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
6450
6451         * gst/gstcaps.c:
6452         Docs about how to print caps for debug purposes.
6453
6454         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
6455         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
6456
6457 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
6458
6459         * gst/gstelement.c:
6460           use full enum names and preprend a '%' in docs strings to make recent 
6461           gtk-doc turn that into a link
6462
6463 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6464
6465         * docs/manual/basics-bins.xml:
6466         * docs/manual/basics-bus.xml:
6467         * docs/manual/basics-pads.xml:
6468           Some typo fixes, some additions, some clarifications. 
6469
6470 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6471
6472         * tools/gst-inspect.c: (main):
6473         * tools/gst-launch.c: (main):
6474         * tools/gst-run.c: (main):
6475         * tools/gst-typefind.c: (main):
6476         * tools/gst-xmlinspect.c: (main):
6477           Use the string passed to g_option_context_new() for
6478           what it's intended for - the program name is already
6479           printed elsewhere.
6480
6481 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6482
6483         * tools/Makefile.am:
6484         * tools/gst-inspect.c: (main):
6485         * tools/gst-launch.c: (main):
6486         * tools/gst-xmlinspect.c: (main):
6487         * tools/tools.h:
6488           Add back --version command line option (#340460).
6489
6490         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
6491           Add --version option and use GOption for argument parsing; refactor a
6492           bit; accept directories as arguments and recurse into them; lastly,
6493           print a decent error message when things go wrong.
6494
6495 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6496
6497         * docs/manual/basics-bins.xml:
6498         Don't mention GstThread (#340611)
6499         * docs/manual/basics-elements.xml:
6500         Update link to GObject tutorial (#340607)
6501         
6502 2006-05-05  Wim Taymans  <wim@fluendo.com>
6503
6504         * gst/gstbuffer.h:
6505         * gst/gstminiobject.c:
6506         Add note about refcounting and miniobject/buffer writeability
6507         to docs. Fixes #340604
6508
6509         * gst/gstelementfactory.h:
6510         Added some explanation about @klass.
6511
6512 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6513
6514         * docs/manual/intro-motivation.xml:
6515         * docs/manual/manual.xml:
6516         Avoid CORBA & Bonobo references (#340598)
6517
6518 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6519
6520         * docs/manual/basics-bus.xml:
6521         * docs/manual/basics-pads.xml:
6522         Fix up some inaccuracies and omissions (#340609)
6523         
6524 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6525
6526         * gst/gstghostpad.c:
6527           Small typo in docs (#340625)
6528
6529 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6530
6531         * gst/parse/Makefile.am:
6532           Make 'make -j' proof (see #340698).
6533
6534 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6535
6536         * configure.ac:
6537           Require GLib-2.8 here as well.
6538
6539 2006-05-05  Wim Taymans  <wim@fluendo.com>
6540
6541         * gst/glib-compat.c:
6542         * gst/gst.c: (init_pre):
6543         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6544         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
6545         (gst_object_dispatch_properties_changed):
6546         * gst/gstobject.h:
6547         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
6548         * gst/gststructure.c: (gst_structure_set_valist):
6549         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6550         Remove pre glib2.8 compatibility, fixes #340508
6551
6552 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6553
6554         * gst/gsttaglist.h:
6555           Mention type of tags in doc blurbs.
6556
6557 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
6558
6559         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6560         (gst_pad_configure_src), (gst_pad_push):
6561         Restore acceptcaps checking behaviour now that good plugins have
6562         been released.
6563
6564 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6565
6566         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
6567
6568         * gst/gst.c:
6569         * gst/gstbus.c:
6570         * gst/gstclock.c:
6571         * gst/gstevent.c:
6572         * gst/gstformat.c:
6573         * gst/gstmessage.c:
6574         * gst/gstparse.c:
6575         * gst/gstquery.c:
6576         * gst/gstutils.c:
6577         * gst/parse/Makefile.am:
6578         * libs/gst/base/gstadapter.c:
6579         * libs/gst/base/gstbasesrc.c:
6580         * libs/gst/base/gstpushsrc.c:
6581         * libs/gst/base/gsttypefindhelper.c:
6582         * plugins/elements/gstfakesrc.c:
6583         * plugins/elements/gstidentity.c:
6584           Make sure gstprivate.h and/or config.h are
6585           always included first, otherwise some of our
6586           defines (like _FILE_OFFSET_BITS) might be
6587           redefined in the system headers. Fixes build
6588           on opensolaris (#340016).
6589
6590 2006-05-04  Wim Taymans  <wim@fluendo.com>
6591
6592         * docs/libs/gstreamer-libs-sections.txt:
6593         API: addition: gst_adapter_take_buffer()
6594         
6595         * libs/gst/base/gstadapter.c: (gst_adapter_push),
6596         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
6597         (gst_adapter_available_fast):
6598         * libs/gst/base/gstadapter.h:
6599         Prepare for optimizing the hell out of this hugely inefficient
6600         piece of code. 
6601         Added gst_adapter_take_buffer() so we can at least start thinking
6602         about subbuffering and merging.
6603         Added some comments.
6604
6605         * tests/check/Makefile.am:
6606         * tests/check/libs/adapter.c: (GST_START_TEST),
6607         (gst_adapter_suite), (main):
6608         Added GstAdapter check.
6609
6610 2006-05-04  Wim Taymans  <wim@fluendo.com>
6611
6612         * docs/design/part-overview.txt:
6613         Fix some typos, add blurb about buffer flags.
6614
6615 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6616
6617         * docs/libs/gstreamer-libs-sections.txt:
6618           make sure GstBaseTransformClass shows up in the docs
6619         * libs/gst/base/gstbasetransform.c:
6620         * libs/gst/base/gstbasetransform.h:
6621           move docs so gtk-doc picks it up now
6622
6623 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
6624
6625         * docs/libs/gstreamer-libs-sections.txt:
6626           add missing symbols to docs
6627
6628 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
6629
6630         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6631           back out the newsegment handling change, see #340060 for ongoing
6632           discussion
6633
6634 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
6635
6636         * tools/gst-run.c: (get_candidates), (main):
6637           Fix wrong g_file_test() usage (see glib docs for why it doesn't
6638           work); fix typo in error message. Fixes #340079.
6639
6640 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
6641
6642         * common/Makefile.am:
6643         * docs/Makefile.am:
6644         * docs/faq/Makefile.am:
6645         * docs/gst/Makefile.am:
6646         * docs/libs/Makefile.am:
6647         * docs/manual/Makefile.am:
6648         * docs/plugins/Makefile.am:
6649         * docs/pwg/Makefile.am:
6650         * docs/slides/Makefile.am:
6651         * docs/upload.mak:
6652         * common/upload.mak:
6653           move upload.mak to common
6654
6655 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
6656
6657         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6658           add more asserts on refcounts
6659           do more cleanup at end of tests
6660           fix test leaks showing in FC5
6661
6662 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
6663
6664         * plugins/elements/gsttypefindelement.c:
6665         (gst_type_find_element_handle_event):
6666         reverted wrong change and reflowed code to avoid others falling into
6667         this trap
6668
6669 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6670
6671         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6672           fix changelog entry about last collectpads change,
6673           add notes about proper fix
6674
6675 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6676
6677         * gst/gst.c:
6678         * gst/gstregistry.c: (gst_registry_scan_path_level),
6679         (gst_registry_scan_path):
6680         * gst/gstregistry.h:
6681           only write out registry if it has changed, fixes #338339
6682
6683 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6684
6685         * gst/gstbin.c:
6686         * gst/gstpipeline.c:
6687         * plugins/elements/gstcapsfilter.c:
6688         * plugins/elements/gstfakesink.c:
6689         * plugins/elements/gstfakesrc.c:
6690         * plugins/elements/gstfdsink.c:
6691         * plugins/elements/gstfdsrc.c:
6692         * plugins/elements/gstfilesink.c:
6693         * plugins/elements/gstfilesrc.c:
6694         * plugins/elements/gstidentity.c:
6695         * plugins/elements/gstqueue.c:
6696         * plugins/elements/gsttee.c:
6697         * plugins/elements/gsttypefindelement.c:
6698         (gst_type_find_element_handle_event):
6699           make GstElementDetails const
6700
6701 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6702
6703         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6704         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6705         (gst_collect_pads_is_collected), (gst_collect_pads_event):
6706           more detailed debug and formatting cleanup,
6707           forward newsegments to src-pad (so that e.g. adder not eats them)
6708
6709 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6710
6711         * gst/gstutils.c: (gst_element_link_pads):
6712           cleanup double code
6713
6714 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6715
6716         * libs/gst/controller/gstcontroller.c:
6717         (gst_controller_sync_values):
6718           some little tuning
6719         * tests/check/libs/controller.c: (GST_START_TEST),
6720         (gst_controller_suite):
6721           a new test for live value handling
6722
6723 2006-04-28  Wim Taymans  <wim@fluendo.com>
6724
6725         * gst/gstutils.c: (push_and_ref):
6726         Added some more docs.
6727         Fix refcount issue whith gst_element_found_tags() helper 
6728         function. Fixes #338335
6729
6730         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6731         Added testsuite for gst_element_found_tags().
6732
6733 2006-04-28  Michael Smith  <msmith@fluendo.com>
6734
6735         * gst/gstvalue.c: (gst_value_serialize_flags):
6736           Avoid NULL dereference when trying to serialize flags containing
6737           invalid values.
6738
6739 2006-04-28  Michael Smith  <msmith@fluendo.com>
6740
6741         * plugins/elements/gsttypefindelement.c:
6742         (gst_type_find_element_handle_event):
6743           If we get EOS before any data is accumulated, don't use
6744           uninitialised local variables.
6745
6746 2006-04-28  Michael Smith  <msmith@fluendo.com>
6747
6748         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6749         (gst_dp_event_from_packet):
6750           Fixes in reading/writing events over GDP (not currently used?) - 
6751           dereferencing NULL events for unknown/invalid event types, memory
6752           leak, and change g_warning to GST_WARNING.
6753
6754 2006-04-28  Wim Taymans  <wim@fluendo.com>
6755
6756         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
6757         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6758         (gst_base_sink_get_position), (gst_base_sink_change_state):
6759         When frame dropping is enabled, we should not ignore frames
6760         without a duration.
6761         Update some documentation.
6762
6763 2006-04-28  Wim Taymans  <wim@fluendo.com>
6764
6765         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6766         (gst_base_src_send_event), (gst_base_src_change_state):
6767         Documentation updates.
6768
6769 2006-04-28  Wim Taymans  <wim@fluendo.com>
6770
6771         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
6772         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
6773         handle EAGAIN, EINTR and short writes correctly. Also clean
6774         up some error cases, avoid a deadlock on bad file descriptors and
6775         use GST_DEBUG_OBJECT.
6776         Fixes #339843
6777
6778 2006-04-28  Wim Taymans  <wim@fluendo.com>
6779
6780         * gst/gstvalue.c: (gst_value_serialize_buffer),
6781         (gst_value_deserialize_buffer):
6782         Don't try to serialize a GValue with a NULL buffer. 
6783         Fixes #339821.
6784
6785         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6786         Added check for serialisation of NULL buffers.
6787
6788 2006-04-28  Wim Taymans  <wim@fluendo.com>
6789
6790         * gst/gstminiobject.c: (gst_value_take_mini_object):
6791         Taking a NULL miniobject is valid, fix the case where
6792         we try to unref the NULL miniobject.
6793
6794 2006-04-28  Wim Taymans  <wim@fluendo.com>
6795
6796         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
6797
6798         * gst/gstbin.c: (gst_bin_handle_message_func):
6799         Update docs.
6800         Don't leak bin refcount when a state recalc is
6801         in progress and we delay another one #339808.
6802
6803 2006-04-28  Wim Taymans  <wim@fluendo.com>
6804
6805         * docs/design/part-TODO.txt:
6806         Mention QoS as an ongoing work item.
6807
6808         * docs/design/part-buffering.txt:
6809         New doc about buffering that needs to be fleshed out
6810         at some point.
6811
6812         * docs/design/part-qos.txt:
6813         More QoS policy for decoders/demuxers/transforms
6814
6815         * docs/design/part-trickmodes.txt:
6816         Small update.
6817
6818 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
6819
6820         * configure.ac:
6821           back to HEAD
6822
6823 === release 0.10.5 ===
6824
6825 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
6826
6827         * configure.ac:
6828           releasing 0.10.5, "Fogo"
6829
6830 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6831
6832         patch by: Wim Taymans
6833
6834         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6835         (gst_pad_configure_src), (gst_pad_push):
6836         * gst/gstpipeline.c: (gst_pipeline_init):
6837           Fix internal data flow errors.  Fixes #338711.
6838
6839 2006-04-12  Wim Taymans  <wim@fluendo.com>
6840
6841         * tests/check/gst/gstelement.c: (GST_START_TEST):
6842         Don't leak the factory.
6843
6844 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6845
6846         * configure.ac:
6847         * win32/common/config.h:
6848           prerelease
6849
6850 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
6851
6852         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6853         (gst_controller_unset_all):
6854           Free allocated GstTimedValues when freeing list nodes.
6855           Should fix leaks 'make check-valgrind' complains about.
6856
6857         * win32/common/libgstcontroller.def:
6858           Add gst_controller_unset_all.
6859
6860 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
6861
6862         * docs/libs/gstreamer-libs-sections.txt:
6863         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6864         (gst_controller_unset_all):
6865         * libs/gst/controller/gstcontroller.h:
6866         API: Added new method gst_controller_unset_all()
6867         fixed gst_controller_unset()
6868         * tests/check/libs/controller.c: (GST_START_TEST),
6869         (gst_controller_suite):
6870         Added two testcases for new and fixed method
6871
6872 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
6873
6874         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6875           MSG_DONTWAIT is not defined on Cygwin, so work
6876           around that (fixes #317048).
6877           
6878 2006-04-11  Wim Taymans  <wim@fluendo.com>
6879
6880         * gst/gstelementfactory.c: (gst_element_register),
6881         (gst_element_factory_create), (gst_element_factory_make):
6882         Some cleanups.
6883         Fixed a FIXME.
6884         Updated docs (Fixes #131079)
6885
6886         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6887         Small cleanups.
6888
6889         * tests/check/gst/gstelement.c: (GST_START_TEST),
6890         (gst_element_suite):
6891         Added testcase for elementfactory class field.
6892
6893 2006-04-10  Wim Taymans  <wim@fluendo.com>
6894
6895         * gst/gstsegment.c:
6896         Added some more docs.
6897
6898         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
6899         (gst_base_sink_reset_qos):
6900         Calculate more accurate rate values.
6901
6902 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
6903
6904         * gst/gst_private.h:
6905           add a new #ifdef to use __declspec(dllimport) only for
6906           other modules and not for gstreamer core
6907         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
6908           use gst_guint64_to_gdouble for conversion
6909         * win32/common/libgstreamer.def:
6910           add new exported functions
6911         * win32/vs6/gst_inspect.dsp:
6912         * win32/vs6/gst_launch.dsp:
6913         * win32/vs6/libgstbase.dsp:
6914         * win32/vs6/libgstcontroller.dsp:
6915         * win32/vs6/libgstcoreelements.dsp:
6916         * win32/vs6/libgstdataprotocol.dsp:
6917         * win32/vs6/libgstnet.dsp:
6918           update project files
6919
6920 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
6921
6922         * gst/gstbuffer.c: (gst_subbuffer_class_init):
6923         * gst/gstclock.c: (gst_clock_class_init):
6924         * gst/gstelement.c: (gst_element_class_init):
6925         * gst/gstindex.c: (gst_index_class_init):
6926         * gst/gstindexfactory.c: (gst_index_factory_class_init):
6927         * gst/gstobject.c: (gst_object_class_init),
6928         (gst_signal_object_class_init):
6929         * gst/gstpad.c: (gst_pad_class_init):
6930         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
6931         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
6932         * gst/gstregistry.c: (gst_registry_class_init):
6933         * gst/gstsystemclock.c: (gst_system_clock_class_init):
6934         * gst/gsttask.c: (gst_task_class_init):
6935         * gst/gstxml.c: (gst_xml_class_init):
6936         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6937         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6938         (gst_base_src_loop):
6939         * libs/gst/controller/gstcontroller.c:/
6940         (_gst_controller_class_init):
6941         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6942         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
6943         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
6944         * tests/old/examples/plugins/example.c: (gst_example_class_init):
6945         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6946         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
6947
6948 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
6949
6950         * gst/gstpad.c: (gst_pad_link):
6951           Must set peer pads before calling the link function, otherwise
6952           a task started from a link function might get a flow-not-linked
6953           result when trying to push because the other thread where the
6954           linking happens hasn't had a chance to set the peers yet. This
6955           might happen for example when a queue gets linked to a downstream
6956           element, as queue starts a streaming task when its source pad
6957           gets linked. Happens in real life when playing back flac/musepack
6958           files in playbin (#332390).
6959           
6960 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
6961
6962         * gst/gstindex.h:
6963         * gst/gstxml.h:
6964         * libs/gst/base/gstadapter.h:
6965         * libs/gst/base/gstbasesink.h:
6966         * libs/gst/base/gstbasesrc.h:
6967         * libs/gst/base/gstbasetransform.h:
6968         * libs/gst/base/gstcollectpads.h:
6969         * libs/gst/base/gstpushsrc.h:
6970         Fix broken GObject macros
6971
6972 2006-04-07  Wim Taymans  <wim@fluendo.com>
6973
6974         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6975         Initialize start and stop times, thanks valgrind.
6976
6977 2006-04-07  Wim Taymans  <wim@fluendo.com>
6978
6979         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6980         Be a bit nicer to badly behaving upstream elements that expect
6981         us to deal with non TIME segments and timestamps (such as fakesrc
6982         in the testsuite).
6983
6984 2006-04-07  Wim Taymans  <wim@fluendo.com>
6985
6986         * gst/gstbus.c:
6987         Small documentation clarification about the signal watch.
6988
6989         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6990         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
6991         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6992         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6993         (gst_base_sink_get_position_last),
6994         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
6995         Convert and store timestamps in stream time and running time, the
6996         raw timestamps are not useful, also document this better.
6997         Use different window sizes for good and bad QoS observations so
6998         we react to badness a little quicker.
6999         Keep track of the amount of rendered and dropped buffers.
7000         Send QoS timestamps in running time.
7001
7002         * libs/gst/base/gstbasetransform.c:
7003         (gst_base_transform_sink_eventfunc),
7004         (gst_base_transform_handle_buffer):
7005         Compare QoS timestamps against running time.
7006
7007 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
7008
7009         * gst/gstpad.c:
7010           Typo fixes in docs.
7011
7012 2006-04-06  Michael Smith  <msmith@fluendo.com>
7013
7014         * gst/gstpad.c: (gst_pad_set_property):
7015           Use g_value_get_object() instead of g_value_dup_gst_object(),
7016           to avoid double-reffing the pad template (which we then sink,
7017           so this worked previously if (and only if) the pad template
7018           was floating.
7019
7020         * gst/gstpadtemplate.c: (gst_pad_template_init),
7021         (gst_pad_template_pad_created):
7022           Never return floating references to pad templates, create
7023           them as initially-sunken.
7024
7025           Document an extra function (and make this stop sinking our
7026           pad template, since that is now guaranteed to do nothing,
7027           since we created it sunken).
7028
7029         * gst/gstghostpad.c:
7030           Fix docs typo.
7031
7032 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
7033
7034         * gst/gstinfo.c: (__gst_in_valgrind):
7035           Add some newlines.
7036
7037         * plugins/elements/gsttypefindelement.c:
7038         (gst_type_find_element_chain):
7039           Don't leak buffer caps.
7040
7041 2006-04-06  Michael Smith  <msmith@fluendo.com>
7042
7043         * gst/parse/grammar.y:
7044           Fix a leak in parse-launch for any source-or-sink named element 
7045           references used.
7046
7047         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7048           Unref the pipeline if it exists after we've failed parsing.
7049
7050 2006-04-05  Michael Smith  <msmith@fluendo.com>
7051
7052         * gst/gstpipeline.c: (gst_pipeline_init):
7053           When we create a pipeline bus, initially create it in flushing mode.
7054           Fixes leaks in at least one test, and makes a new pipeline work the
7055           same as one that has gone to READY and then back to NULL.
7056
7057         * gst/gstelement.c:
7058           Typo fix in docs.
7059
7060 2006-04-05  Michael Smith  <msmith@fluendo.com>
7061
7062         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7063           Unref a pad we reffed.
7064         * tests/check/gst/gstutils.c: (GST_START_TEST):
7065           Unref bins
7066
7067 2006-04-05  Michael Smith  <msmith@fluendo.com>
7068
7069         * gst/gstquery.c: (gst_query_set_formats),
7070         (gst_query_set_formatsv):
7071           Fix leaking GValues in queries, as shown by valgrind/testsuite.
7072
7073 2006-04-05  Michael Smith  <msmith@fluendo.com>
7074
7075         * tests/check/generic/sinks.c: (GST_START_TEST):
7076           Fix a variety of memleaks in sinks check, which are only sometimes 
7077           shown by running the tests under valgrind (weird?).
7078
7079 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
7080
7081         * docs/version.entities.in:
7082           Fix the substituted entity name after thomas' changes on the
7083           weekend.
7084
7085 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7086
7087         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
7088         VALGRIND_PRINTF
7089         
7090 2006-04-05  Andy Wingo  <wingo@pobox.com>
7091
7092         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
7093
7094         * libs/gst/base/gstbasetransform.c
7095         (gst_base_transform_sink_eventfunc): When resetting our segment on
7096         FLUSH_STOP, also update the flag saying we haven't seen a
7097         newsegment.
7098
7099 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
7100
7101         Patch by: Paolo Borelli  <pborelli at katamail dot com>
7102
7103         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
7104         (gst_plugin_check_license):
7105           minor clean-ups: G_DEFINE_TYPE already takes care of the
7106           parent_class stuff, no need to do it twice. Mark array of
7107           license strings as constant. (#337103)
7108           
7109 2006-04-04  Michael Smith  <msmith@fluendo.com>
7110
7111         * tools/gst-inspect.c: (print_element_list):
7112           Free the right plugin list; fixes a memory leak.
7113
7114 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
7115
7116         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
7117
7118         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
7119           Don't error out on empty buffers (#336945).
7120           
7121 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
7122
7123         * docs/libs/gstreamer-libs-sections.txt:
7124         * gst/gsttaglist.c:
7125         * libs/gst/base/gstbasesink.c:
7126         * libs/gst/base/gstbasesink.h:
7127         * libs/gst/base/gstbasesrc.c:
7128         * libs/gst/base/gstbasesrc.h:
7129           Documentation updates. Make BaseSink and BaseSrc docs contain the
7130           class structure so that people can actually see the prototypes for
7131           virtual functions they're supposed to be overriding.
7132
7133 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
7134
7135         * plugins/elements/gsttypefindelement.c:
7136         (gst_type_find_element_chain):
7137           More debug info; when skipping typefinding, send cached
7138           events in all cases.
7139
7140 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7141
7142         * configure.ac:
7143           use new AS_VERSION and AS_NANO macros
7144         * gst/gst-i18n-lib.h:
7145         * gst/gst.c:
7146         * gst/gsterror.c:
7147         * gst/gstversion.h.in:
7148         * win32/common/config.h:
7149         * win32/common/config.h.in:
7150           update accordingly
7151
7152 2006-03-31  Michael Smith  <msmith@fluendo.com>
7153
7154         * plugins/elements/gsttypefindelement.c:
7155         (gst_type_find_element_chain):
7156           Do not typefind content if the buffers already have caps.
7157           Neccesary for icydemux (#333657), and the right thing to do anyway.
7158
7159 2006-03-30  Wim Taymans  <wim@fluendo.com>
7160
7161         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7162         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
7163         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
7164         (gst_base_sink_record_qos_observation),
7165         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7166         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
7167         (gst_base_sink_change_state):
7168         More QoS measurements as described in the design doc.
7169         Get rid of ringbuffer with observations, running average is
7170         more simple and equally good.
7171         Calculates valid proportion now.
7172         Added beginning of flood measurement.
7173
7174 2006-03-29  Wim Taymans  <wim@fluendo.com>
7175
7176         * docs/design/part-qos.txt:
7177         * gst/gstclock.c:
7178         Small documentation updates and additions.
7179
7180 2006-03-29  Wim Taymans  <wim@fluendo.com>
7181
7182         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
7183         (gst_base_src_send_event), (gst_base_src_loop),
7184         (gst_base_src_change_state):
7185         Perform the EOS logic when we reach the segment stop position.
7186         Fix compilation on gcc4.1
7187
7188 2006-03-29  Wim Taymans  <wim@fluendo.com>
7189
7190         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7191
7192         * plugins/elements/gstqueue.c: (gst_queue_init),
7193         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
7194         (gst_queue_set_property):
7195         * plugins/elements/gstqueue.h:
7196         In queue, when EOS is received, if minimum threshold > max_size -
7197         current_level, there is chance that queue blocks forever in conditional
7198         item del wait. This is because the queue is not emptied completely due
7199         to minimum threshold.  Here is another approach. Instead of setting
7200         cur_levels to max in EOS, just zero all minimum threshold levels. This
7201         should make sure that queue gives out all data. When going to READY
7202         (stop) state, just reset the original minimum threshold levels.
7203         Fixes #336336.
7204
7205 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
7206
7207         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
7208         (gst_type_find_element_handle_event),
7209         (gst_type_find_element_send_cached_events),
7210         (gst_type_find_element_change_state):
7211         * plugins/elements/gsttypefindelement.h:
7212           When typefinding is done in push mode, we should cache
7213           events we receive during typefinding instead of just
7214           dropping them (e.g. newsegment, custom events from
7215           dvdreadsrc etc.) and then send them out once we've
7216           determined the type of the stream (and decodebin
7217           has had a chance to plug in a decoder/demuxer).
7218           
7219 2006-03-27  Wim Taymans  <wim@fluendo.com>
7220
7221         * docs/design/part-qos.txt:
7222         First QoS ideas.
7223
7224 2006-03-27  Wim Taymans  <wim@fluendo.com>
7225
7226         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
7227
7228         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
7229         (gst_base_src_send_event), (gst_base_src_change_state):
7230         Handle element seek correctly when we are streaming.
7231         Fixes #326998.
7232
7233 2006-03-24  Michael Smith  <msmith@fluendo.com>
7234
7235         * docs/faq/gst-uninstalled:
7236           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
7237           allow you to correctly run intalled applications built against old 
7238           core, using plugins that require updated core (e.g. running
7239           installed totem against a full uninstalled gstreamer stack)
7240
7241 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
7242
7243         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
7244         more debug details
7245
7246 2006-03-24  Wim Taymans  <wim@fluendo.com>
7247
7248         * docs/gst/gstreamer-sections.txt:
7249         Rearrange the order of the methods so that related methods
7250         are grouped together in sections.
7251
7252 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
7253
7254         * gst/gstelement.c:
7255           Little clarification in the docs
7256
7257 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
7258
7259         * docs/README:
7260         formatting fix
7261         * plugins/elements/gstidentity.c:
7262         * plugins/elements/gstqueue.c:
7263         * plugins/elements/gsttee.c:
7264         * plugins/elements/gsttypefindelement.c:
7265         GST_ELEMENT_DETAILS formatting
7266
7267 2006-03-24  Wim Taymans  <wim@fluendo.com>
7268
7269         * libs/gst/base/gstbasesink.h:
7270         Only add fields, not insert or we break ABI.
7271
7272 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
7273
7274         * win32/common/libgstbase.def:
7275         * win32/common/libgstreamer.def:
7276           Update, add recently added functions.
7277
7278 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
7279
7280         * docs/gst/gstreamer-sections.txt:
7281         * gst/gstutils.c: (gst_pad_query_peer_position),
7282         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
7283         * gst/gstutils.h:
7284           API: add some new utility functions:
7285            - gst_pad_query_peer_position()
7286            - gst_pad_query_peer_duration()
7287            - gst_pad_query_peer_convert()
7288           
7289 2006-03-23  Wim Taymans  <wim@fluendo.com>
7290
7291         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7292         (gst_base_sink_init), (gst_base_sink_finalize),
7293         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
7294         (gst_base_sink_set_property), (gst_base_sink_get_property),
7295         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
7296         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
7297         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
7298         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7299         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
7300         (gst_base_sink_preroll_object), (gst_base_sink_event),
7301         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
7302         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
7303         (gst_base_sink_query), (gst_base_sink_change_state):
7304         Decouple max-lateness and the fact that QoS messages are generated
7305         with a new property (qos).
7306         added API: GstBaseSink::async_play()
7307         Add vmethod so subclasses can be notified of ASYNC playing
7308         state changes.
7309         Collect timestamp start and stop to report better current
7310         position in EOS/PLAYING/PAUSED/READY/NULL.
7311         Refactor QoS/frame dropping and other measurements.
7312         API: GstBaseSrc::qos
7313         Fixes #326311
7314
7315         * libs/gst/base/gstbasesink.h:
7316         Added Private struct.
7317         API: gst_base_sink_set_qos_enabled()
7318         API: gst_base_sink_is_qos_enabled()
7319
7320 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
7321
7322         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
7323           If compiling against GLib-2.8 or newer, try to read the
7324           registry file using GMappedFile first before falling back
7325           to fopen() + fread() (#332151).
7326
7327 2006-03-22  Wim Taymans  <wim@fluendo.com>
7328
7329         * gst/gstinfo.c: (gst_debug_set_active),
7330         (gst_debug_category_set_threshold):
7331         Disable debugging unless explicitly activated.
7332         Fixes #335480.
7333
7334 2006-03-22  Wim Taymans  <wim@fluendo.com>
7335
7336         * gst/gstelement.c: (gst_element_set_locked_state),
7337         (gst_element_dispose):
7338         Cleanup the error case.
7339
7340         * gst/gstobject.c: (gst_object_dispose):
7341         print a critical when some object was disposed with
7342         a parent, also revive the object since it might
7343         crash the parent.
7344
7345 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
7346
7347         * tools/gst-launch.1.in:
7348           Fix another typo.
7349
7350 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7351
7352         * configure.ac:
7353         * tests/check/Makefile.am:
7354           disable some tests when we don't have a registry
7355         * tests/check/gst/gstutils.c: (gst_utils_suite):
7356           don't build the part that needs parsing
7357
7358 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7359
7360         * gst/Makefile.am
7361         * tests/examples/Makefile.am:
7362           fix --disable-parse build
7363
7364 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7365
7366         * tools/gst-feedback.1.in:
7367           Fix typo: s/feeback/feedback/ (#133494).
7368
7369 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7370
7371         * tools/Makefile.am:
7372         * tools/gst-launch.1.in:
7373           Add FILES section and correct entry about GST_REGISTRY_PATH
7374           environment variable (#133495; #133494).
7375
7376 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7377
7378         * tools/Makefile.am:
7379         * tools/gst-md5sum.1.in:
7380         * tools/gst-md5sum.c:
7381           Remove gst-md5sum and man page (the md5sink element
7382           required was removed ages ago)
7383
7384 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7385
7386         * gst/gststructure.c: (gst_structure_id_set_value):
7387           Make sure that string fields in structures/taglists
7388           contain valid UTF-8 - we don't want to pass rubbish to
7389           applications because of a buggy plugin (cp. #334167).
7390
7391 2006-03-21  Edward Hervey  <edward@fluendo.com>
7392
7393         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
7394         (gst_bin_handle_message_func):
7395         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
7396         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
7397         (gst_element_set_bus_func):
7398         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
7399         * gst/gstminiobject.c: (gst_value_set_mini_object),
7400         (gst_value_take_mini_object):
7401         * gst/gstpad.c: (gst_pad_set_pad_template):
7402         * gst/gstpipeline.c: (gst_pipeline_dispose),
7403         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
7404         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
7405         (gst_collect_pads_chain):
7406         * libs/gst/net/gstnettimeprovider.c:
7407         (gst_net_time_provider_set_property):
7408         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
7409         It's in fact all issues with gst_*object_replace().
7410
7411 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7412
7413         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
7414         
7415         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7416         * pkgconfig/gstreamer-check.pc.in:
7417           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
7418
7419 2006-03-21  Edward Hervey  <edward@fluendo.com>
7420
7421         * gst/gstbuffer.h:
7422         * gst/gstevent.h:
7423         * gst/gstmessage.h:
7424         gst_[buffer|event|message]_ref() macros are replaced by a static
7425         inline functions because gcc-4.1 will about if the return value
7426         isn't used.
7427         * tests/check/gst/gstevent.c: (event_probe):
7428         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
7429
7430 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
7431
7432         * gst/gstutils.h:
7433         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
7434         the type' case. (Closes: #335195 for now). In the future, when we
7435         depend on GLib 2.10, we could also intern the type name using
7436         g_intern_static_string()
7437
7438 2006-03-20  Wim Taymans  <wim@fluendo.com>
7439
7440         * gst/gstbin.c: (gst_bin_handle_message_func),
7441         (bin_query_max_init), (bin_query_position_fold),
7442         (bin_query_position_done), (gst_bin_query):
7443         Position query should also take max of all streams.
7444
7445 2006-03-20  Wim Taymans  <wim@fluendo.com>
7446
7447         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7448         (gst_fake_src_finalize):
7449         Fix leaks in fakesrc.
7450
7451         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7452         Fix leaks in the testcase.
7453
7454 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
7455
7456         * gst/gst_private.h:
7457           add win32 specific import decoration(__declspec(dllimport)) 
7458           for all extern GstDebugCategory * variables
7459         * win32/common/libgstbase.def:
7460         * win32/common/libgstcontroller.def:
7461         * win32/common/libgstreamer.def:
7462           Add some exports, remove empty lines
7463         * win32/common/libgstdataprotocol.def:
7464         * win32/common/libgstdataprotocol.dsp:
7465         * win32/common/libgstnet.def:
7466         * win32/common/libgstnet.dsp:
7467           new project files and exportation files added
7468         
7469 2006-03-19  Wim Taymans  <wim@fluendo.com>
7470
7471         * tests/check/libs/basesrc.c: (eos_event_counter):
7472         Use proper return value for probe.
7473
7474 2006-03-17  Wim Taymans  <wim@fluendo.com>
7475
7476         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7477         (gst_pad_push):
7478         Don't leak buffers, caps and pads on negotiation errors.
7479
7480 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
7481
7482         * docs/faq/cvs.xml:
7483         * docs/faq/dependencies.xml:
7484         * docs/faq/developing.xml:
7485         * docs/faq/faq.xml:
7486         * docs/faq/general.xml:
7487         * docs/faq/getting.xml:
7488         * docs/faq/legal.xml:
7489         * docs/faq/troubleshooting.xml:
7490         * docs/faq/using.xml:
7491         Faq review and update.
7492
7493 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
7494
7495         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7496         (gst_pad_push):
7497         Don't pound the cpu to pieces by checking get_caps when accept_caps
7498         is called with the same caps as the pad already has.
7499         Use GST_DEBUG_OBJECT when outputting caps change information.
7500
7501 2006-03-15  Wim Taymans  <wim@fluendo.com>
7502
7503         * gst/gstclock.c: (gst_clock_class_init):
7504         Fix docs.
7505
7506 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
7507
7508         * gst/gstbuffer.h:
7509         Documentation fix.
7510
7511         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
7512         (gst_pad_accept_caps), (gst_pad_configure_sink),
7513         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
7514         Make the default acceptcaps behaviour be to check the requested 
7515         caps against the gst_pad_get_caps output. 
7516
7517         Ensure that gst_pad_accept_caps is used to check caps when a pad
7518         doesn't have a setcaps function, so that pads automatically refuse 
7519         caps that they don't allow in their pad template. (Fixes #332986)
7520
7521         When a buffer with attached caps is pushed, ensure that the source 
7522         pad receives those caps even if the element didn't call
7523         gst_pad_set_caps first.
7524
7525 2006-03-15  Wim Taymans  <wim@fluendo.com>
7526
7527         * libs/gst/base/gstadapter.c:
7528         Add some docs.
7529
7530 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
7531
7532         * win32/common/libgstbase.def:
7533         * win32/common/libgstcontroller.def:
7534         * win32/common/libgstreamer.def:
7535           Add a whole bunch of missing functions (#334434).
7536
7537 2006-03-14  Wim Taymans  <wim@fluendo.com>
7538
7539         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7540         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
7541         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
7542         Better debug info when we receive a segment event.
7543         Reorganize a bit so we can pass the get_times() results around.
7544         Use the segment format when calculating the running time.
7545         Don't do QoS is sync is disabled or we have no clock or the
7546         element does not want us to sync to the clock.
7547         Don't drop buffers if QoS is disabled for now.
7548
7549 2006-03-14  Wim Taymans  <wim@fluendo.com>
7550
7551         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
7552         Marked the stats property as unimplemented so people don't get
7553         wild ideas.
7554         Add debug message when regression goes wrong.
7555         Added some more docs.
7556
7557 2006-03-14  Wim Taymans  <wim@fluendo.com>
7558
7559         * gst/gstsegment.c: (gst_segment_to_stream_time):
7560         Return correct return type in case of errors.
7561
7562 2006-03-14  Wim Taymans  <wim@fluendo.com>
7563
7564         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
7565           Don't segfault on invalid formats.
7566
7567 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7568
7569         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7570           Can't use gst_segment_to_running_time() when the segment
7571           is not in GST_TIME_FORMAT (like with filesink, for example).
7572           Stops flac encoding pipelines from spewing critical warnings
7573           at EOS (#331248).
7574           
7575 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7576
7577         * gst/gstpipeline.c: (gst_pipeline_class_init):
7578           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
7579
7580         * plugins/elements/gsttypefindelement.c:
7581         (gst_type_find_element_handle_event):
7582           Don't try to typefind empty streams.
7583
7584 2006-03-14  Wim Taymans  <wim@fluendo.com>
7585
7586         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
7587         (gst_base_sink_do_qos):
7588         Separate QoS calculation.
7589         Only drop buffers when lateness is bigger than the 
7590         duration of the buffer.
7591
7592 2006-03-13  Wim Taymans  <wim@fluendo.com>
7593
7594         * gst/gstpipeline.c: (gst_pipeline_set_property),
7595         (gst_pipeline_get_property), (do_pipeline_seek),
7596         (gst_pipeline_change_state), (gst_pipeline_set_delay),
7597         (gst_pipeline_get_delay):
7598         Don't deadlock when reading properties.
7599
7600 2006-03-13  Wim Taymans  <wim@fluendo.com>
7601
7602         * libs/gst/base/gstbasetransform.c:
7603         (gst_base_transform_class_init), (gst_base_transform_init),
7604         (gst_base_transform_sink_event),
7605         (gst_base_transform_sink_eventfunc),
7606         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
7607         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7608         (gst_base_transform_set_property),
7609         (gst_base_transform_get_property),
7610         (gst_base_transform_change_state), (gst_base_transform_update_qos),
7611         (gst_base_transform_set_qos_enabled),
7612         (gst_base_transform_is_qos_enabled):
7613         * libs/gst/base/gstbasetransform.h:
7614         Make basetransform virtual method for src events too.
7615         Handle QOS in basetransform.
7616         API: gst_base_transform_update_qos()
7617         API: gst_base_transform_set_qos_enabled()
7618         API: gst_base_transform_is_qos_enabled()
7619
7620 2006-03-13  Wim Taymans  <wim@fluendo.com>
7621
7622         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7623         (gst_base_sink_do_sync):
7624         Small cleanups.
7625         Use QOS debug category.
7626
7627 2006-03-13  Wim Taymans  <wim@fluendo.com>
7628
7629         * plugins/elements/gstqueue.c:
7630         Very small doc update.
7631
7632 2006-03-13  Wim Taymans  <wim@fluendo.com>
7633
7634         * gst/gst_private.h:
7635         * gst/gstinfo.c: (_gst_debug_init):
7636         Added QOS debug category
7637
7638 2006-03-13  Wim Taymans  <wim@fluendo.com>
7639
7640         * docs/gst/gstreamer-sections.txt:
7641         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
7642         * gst/gstbin.h:
7643         * gst/gstbus.c: (gst_bus_class_init):
7644         * gst/gstbus.h:
7645         * gst/gstclock.c:
7646         * gst/gstelement.c: (gst_element_set_locked_state):
7647         * gst/gstsegment.c:
7648         Documentation updates.
7649
7650         * gst/gstpipeline.c: (gst_pipeline_get_type),
7651         (gst_pipeline_class_init), (gst_pipeline_init),
7652         (gst_pipeline_dispose), (gst_pipeline_set_property),
7653         (gst_pipeline_get_property), (do_pipeline_seek),
7654         (gst_pipeline_send_event), (gst_pipeline_change_state),
7655         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
7656         (gst_pipeline_get_delay):
7657         * gst/gstpipeline.h:
7658         Added methods for setting the delay.
7659         API: gst_pipeline_set_delay()
7660         API: gst_pipeline_get_delay()
7661         Add pipeline debug category
7662         Various cleanups.
7663         Updated docs.
7664         Don't reset stream time when seek failed.
7665
7666 2006-03-13  Wim Taymans  <wim@fluendo.com>
7667
7668         * docs/design/draft-klass.txt:
7669         * docs/design/part-clocks.txt:
7670         * docs/design/part-events.txt:
7671         * docs/design/part-gstbin.txt:
7672         * docs/design/part-gstpipeline.txt:
7673         * docs/design/part-messages.txt:
7674         * docs/design/part-negotiation.txt:
7675         * docs/design/part-overview.txt:
7676         * docs/design/part-preroll.txt:
7677         * docs/design/part-seeking.txt:
7678         * docs/design/part-states.txt:
7679         * docs/design/part-streams.txt:
7680         Documentation updates.
7681
7682 2006-03-12  Julien MOUTTE  <julien@moutte.net>
7683
7684         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
7685         us to leak strings...
7686
7687 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7688
7689         * libs/gst/net/gstnettimeprovider.c:
7690           fix docs
7691         * win32/common/config.h:
7692           update
7693
7694 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
7695
7696         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
7697
7698         * configure.ac:
7699           Don't check for libgnomeui (leftover from old examples
7700           that aren't built or disted any longer) (#334303).
7701           
7702 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
7703
7704         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
7705         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
7706           Emit RESOURCE_NO_SPACE_LEFT error here as well when
7707           there's no space left on the device.
7708
7709 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
7710
7711         * gst/gstclock.h:
7712           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
7713           to cast the input to GstClockTime before comparing with
7714           another GstClockTime value.
7715
7716 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7717
7718         * configure.ac:
7719           back to trunk
7720
7721 === release 0.10.4 ===
7722
7723 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
7724
7725         * configure.ac:
7726           releasing 0.10.4, "Light"
7727
7728 2006-03-10  Michael Smith  <msmith@fluendo.com>
7729
7730         * libs/gst/dataprotocol/dataprotocol.c:
7731           Fix docs for dataprocotol to not get the return types completely
7732           wrong for a few functions.
7733
7734 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
7735
7736         * docs/gst/gstreamer-sections.txt:
7737         * gst/gstpipeline.c: (gst_pipeline_class_init),
7738         (gst_pipeline_init), (gst_pipeline_set_property),
7739         (gst_pipeline_get_property), (gst_pipeline_change_state),
7740         (gst_pipeline_set_auto_flush_bus),
7741         (gst_pipeline_get_auto_flush_bus):
7742         * gst/gstpipeline.h:
7743           Add new API: gst_pipeline_set_auto_flush_bus() and
7744           gst_pipeline_get_auto_flush_bus() to disable automatic
7745           flushing of the pipeline's GstBus when going from READY
7746           to NULL state (#332045).
7747
7748 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
7749
7750         * docs/gst/gstreamer-sections.txt:
7751         * gst/gsturi.c: (gst_uri_has_protocol):
7752         * gst/gsturi.h:
7753            Add new API: gst_uri_has_protocol() (#333779).
7754
7755 2006-03-09  Wim Taymans  <wim@fluendo.com>
7756
7757         * gst/gstclock.c: (gst_clock_entry_new),
7758         (gst_clock_id_compare_func), (gst_clock_id_wait),
7759         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
7760         (gst_clock_init), (gst_clock_get_internal_time),
7761         (gst_clock_set_master), (do_linear_regression),
7762         (gst_clock_add_observation), (gst_clock_set_property):
7763         * gst/gstclock.h:
7764         Review docs.
7765         Small cleanups.
7766         Fix a possible segfault when the window-size is made smaller.
7767         Calculate jitter before performing the clock wait. Ideally
7768         the clock implementation should calculate jitter but we need
7769         API breakage for that.
7770
7771         * gst/gstsystemclock.c: (gst_system_clock_init):
7772         Docs review.
7773         
7774         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7775         Remove leftover else
7776
7777         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7778         (gst_systemclock_suite):
7779         Added check to test GST_CLOCK_DIFF.
7780
7781 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
7782
7783         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
7784         (gst_type_find_helper_get_range):
7785           If we are provided with the size, we should implement
7786           GstTypeFind::get_length, so that typefind functions who
7787           want to can actually peek at the middle of a file.
7788
7789 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
7790
7791         * docs/manual/advanced-dataaccess.xml:
7792           Add some very very basic error checking.
7793
7794         * docs/pwg/appendix-checklist.xml:
7795           Some updates to the list of things to check when writing an element.
7796
7797 2006-03-08  Wim Taymans  <wim@fluendo.com>
7798
7799         * docs/design/part-element-transform.txt:
7800         Added some docs about the design of tranform elements.
7801
7802         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7803         (gst_base_src_loop), (gst_base_src_change_state):
7804         Mark buffers with the DISCONT flag.
7805
7806 2006-03-08  Michael Smith  <msmith@fluendo.com>
7807
7808         * gst/gstregistry.h:
7809         * gst/gstregistryxml.c: (gst_registry_save),
7810         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
7811         (gst_registry_xml_save_pad_template),
7812         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
7813         (gst_registry_xml_write_cache):
7814           Rewrite registry-saving to avoid race conditions and check for
7815           failed writes.
7816
7817 2006-03-08  Wim Taymans  <wim@fluendo.com>
7818
7819         * libs/gst/base/gstbasetransform.c:
7820         (gst_base_transform_transform_caps),
7821         (gst_base_transform_transform_size),
7822         (gst_base_transform_prepare_output_buffer),
7823         (gst_base_transform_get_unit_size),
7824         (gst_base_transform_buffer_alloc),
7825         (gst_base_transform_handle_buffer),
7826         (gst_base_transform_change_state):
7827         Cleanups, separate normal flow from errors, add sensible
7828         DEBUG lines.
7829         Don't try to renegotiate when allocating an output buffer.
7830         Also copy DISCONT buffer flag when copying a buffer.
7831         Reset the transform after we finish streaming, not during.
7832
7833 2006-03-08  Wim Taymans  <wim@fluendo.com>
7834
7835         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7836         Use last buffer timestamp in qos message.
7837
7838 2006-03-07  Wim Taymans  <wim@fluendo.com>
7839
7840         Patch by: Christophe Fergeau
7841
7842         * docs/pwg/advanced-tagging.xml:
7843         * docs/pwg/building-pads.xml:
7844           fixes #333416
7845
7846 2006-03-07  Wim Taymans  <wim@fluendo.com>
7847
7848         * docs/libs/gstreamer-libs-sections.txt:
7849         Added basesink new methods.
7850
7851         * gst/gstevent.c:
7852         * gst/gstevent.h:
7853         Docs updates. Flesh out the QoS docs.
7854
7855         * libs/gst/base/gstadapter.c:
7856         Small doc clarification about ownership and flushing.
7857
7858         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
7859         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7860         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
7861         (gst_base_sink_get_property), (gst_base_sink_do_sync):
7862         * libs/gst/base/gstbasesink.h:
7863         API additions: 
7864         Added new methods to allow subclass to control max-lateness 
7865         and sync.
7866         Generate very basic QoS events based on last sync observation.
7867         Updated docs, fix typo, added some QoS blurb.
7868
7869         * libs/gst/base/gstbasesrc.c:
7870         Remove obsolete _get_state() calls from docs.
7871
7872 2006-03-07  Wim Taymans  <wim@fluendo.com>
7873
7874         * docs/libs/gstreamer-libs-sections.txt:
7875         * libs/gst/base/gstbasetransform.h:
7876         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
7877         Fix docs for GstBaseSrc.
7878
7879 2006-03-07  Wim Taymans  <wim@fluendo.com>
7880
7881         * docs/gst/gstreamer-sections.txt:
7882         * gst/gstbuffer.h:
7883         * gst/gstvalue.c:
7884         * libs/gst/base/gstbasetransform.h:
7885         Small documentation fixes.
7886
7887 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7888
7889         * gst/gstvalue.c:
7890           Document thread-unsafety of gst_value_register_foo_func()
7891           when used at the same time as gst_value_foo() (#322628).
7892
7893 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7894
7895         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
7896         (gst_push_src_check_get_range):
7897           Push sources don't support pull mode by default.
7898
7899 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
7900
7901         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7902         (gst_base_src_init), (gst_base_src_pad_check_get_range),
7903         (gst_base_src_default_check_get_range):
7904         * libs/gst/base/gstbasesrc.h:
7905           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
7906           provide default implementation, and rename
7907           gst_base_src_check_get_range() to
7908           gst_base_src_pad_check_get_range() for clarity.
7909
7910 2006-03-06  Wim Taymans  <wim@fluendo.com>
7911
7912         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7913         Make property overridable.
7914
7915 2006-03-06  Wim Taymans  <wim@fluendo.com>
7916
7917         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7918         (gst_base_sink_init), (gst_base_sink_set_property),
7919         (gst_base_sink_get_property), (gst_base_sink_do_sync):
7920         * libs/gst/base/gstbasesink.h:
7921         API addition: Make max-lateness a property.
7922
7923 2006-03-06  Wim Taymans  <wim@fluendo.com>
7924
7925         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
7926         (gst_base_sink_do_sync), (gst_base_sink_render_object):
7927         Don't ever draw a frame that is >10ms late.
7928
7929 2006-03-06  Michael Smith  <msmith@fluendo.com>
7930
7931         * gst/gstmessage.c: (_gst_message_copy):
7932           When copying a message, set the parent_refcount of the enclosed
7933           structure to point at the copy, not the original message.
7934
7935 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
7936
7937         Patch by: Christophe Fergeau
7938
7939         * gst/gstutils.h:
7940           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
7941           usable in c++ code (#333417)
7942
7943 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7944
7945         * gst/gstclock.h:
7946           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
7947
7948 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
7949
7950         * libs/gst/base/gstbasetransform.c:
7951         (gst_base_transform_transform_caps):
7952           Make sure caps are writable before passing them to
7953           gst_caps_append().
7954
7955 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
7956
7957         * gst/gsterror.h:
7958           Fix some minor docs errors.
7959
7960 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
7961
7962           Patch by: Ross Burton <ross at burtonini dot com>
7963
7964         * gst/gsterror.c: (_gst_resource_errors_init):
7965         * gst/gsterror.h:
7966           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
7967
7968 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
7969
7970         * gst/gst.c:
7971         Add a check and output a g_warning when GStreamer is built
7972         against GLib 2.6 but running against 2.8 or higher, and vice 
7973         versa. (Closes: #323542)
7974
7975 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
7976
7977         * gst/parse/parse.l:
7978           Commit patch for parse_launch syntax from #331255. Removes 
7979           support for quoted strings and mimetypes when writing filtered 
7980           caps. See the bug report for more details - I'm pretty sure this
7981           obscure feature is not in use by _anyone_ anywhere.
7982
7983           With this simple change, the size of the gstreamer.so here 
7984           drops from 2193KB to 1565KB.
7985
7986 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
7987
7988         * plugins/elements/gsttypefindelement.h:
7989         * plugins/elements/gsttypefindelement.c:
7990         (gst_type_find_element_src_event), (start_typefinding),
7991         (stop_typefinding), (gst_type_find_element_handle_event),
7992         (gst_type_find_element_chain),
7993         (gst_type_find_element_chain_do_typefinding):
7994           Use gst_type_find_helper_for_buffer() for chain-based
7995           typefinding.
7996
7997 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
7998
7999         * plugins/elements/gsttypefindelement.c:
8000         (gst_type_find_element_class_init),
8001         (gst_type_find_element_set_property),
8002         (gst_type_find_element_get_property):
8003           Deprecate "maximum" property (not only was it only taken into
8004           account for typefinding in push-mode anyway, it also was never
8005           actually possible to set it in the first place because the
8006           property was registered with the numeric property ID for the
8007           "minimum" property). Register "maximum" property correctly,
8008           for the sake of future copy'n'pasters. Remove some cruft
8009           from property get/set functions.
8010
8011 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
8012
8013         * plugins/elements/gsttypefindelement.c:
8014         (gst_type_find_element_activate):
8015           Use gst_type_find_helper_get_range() here, so we
8016           can honour the "minimum" property and also emit
8017           the signal with the correct probability of the found caps.
8018
8019 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
8020
8021         * docs/libs/gstreamer-libs-sections.txt:
8022         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
8023         (helper_find_suggest), (gst_type_find_helper_get_range),
8024         (gst_type_find_helper):
8025         * libs/gst/base/gsttypefindhelper.h:
8026           New API: gst_type_find_helper_get_range() (#333042).
8027
8028 2006-03-02  Michael Smith  <msmith@fluendo.com>
8029
8030         * gst/gstregistryxml.c: (load_feature):
8031           Asserting on a failure to read part of the registry is Not Cool.
8032           Just log a warning and return NULL (which is already handled)
8033
8034 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
8035
8036         * win32/common/libgstbase.def:
8037           added export of gst_type_find_helper_for_buffer
8038         * win32/common/libgstbase.def:
8039           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
8040           gst_ghost_pad_get_target
8041
8042 2006-02-28  Wim Taymans  <wim@fluendo.com>
8043
8044         * docs/design/draft-klass.txt:
8045         We use Filter now.
8046         Added Connector to mark elements that are only used to
8047         allow pipeline connections.
8048         Moved Debug to extra feature since most of them are 
8049         functionally something else.
8050
8051 2006-02-28  Wim Taymans  <wim@fluendo.com>
8052
8053         * docs/design/draft-klass.txt:
8054         Some updates and clarifications.
8055
8056 2006-02-28  Wim Taymans  <wim@fluendo.com>
8057
8058         * docs/design/draft-klass.txt:
8059         Proposal for klass field values.
8060
8061         * docs/design/part-streams.txt:
8062         Start of a doc describing stream anatomy.
8063
8064 2006-02-28  Wim Taymans  <wim@fluendo.com>
8065
8066         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
8067         Help the compiler a bit with type registration.
8068         Use existing forward cod path instead of duplicating it when 
8069         handling a message.
8070         
8071         * gst/gstbus.c: (gst_bus_get_type):
8072         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
8073         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
8074         * gst/gstclock.c: (gst_clock_get_type):
8075         * gst/gstelement.c: (gst_element_get_type),
8076         * gst/gstelementfactory.c: (gst_element_factory_get_type):
8077         * gst/gstindexfactory.c: (gst_index_factory_get_type):
8078         * gst/gstminiobject.c: (gst_mini_object_get_type):
8079         * gst/gstpad.c: (gst_pad_get_type):
8080         * gst/gstsegment.c: (gst_segment_get_type):
8081         * gst/gststructure.c: (gst_structure_get_type):
8082         * gst/gstsystemclock.c: (gst_system_clock_get_type):
8083         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
8084         * gst/gstvalue.c:
8085         Help compiler with type registration.
8086
8087         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8088         Small doc update.
8089
8090 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
8091
8092         * plugins/elements/gsttypefindelement.c:
8093         (gst_type_find_element_handle_event):
8094           When we get an EOS event and have not found a type yet
8095           (most likely because we had not yet accumulated
8096           TYPE_FIND_MIN_SIZE of data yet), try to determine the
8097           type given the data we have so far. Fixes typefinding
8098           for very short streams again, most notably quicktime
8099           redirections as used on Apple's trailer site (#331701).
8100
8101 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
8102
8103         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
8104         (gst_type_find_helper):
8105           Try typefinding factories with the highest rank first.
8106
8107 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
8108
8109         * docs/libs/gstreamer-libs-docs.sgml:
8110         * docs/libs/gstreamer-libs-sections.txt:
8111         * libs/gst/base/gsttypefindhelper.c:
8112           Add section for typefind helper and add documentation
8113           for the old and the new function.
8114
8115 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
8116
8117         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
8118         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
8119         (gst_type_find_helper_for_buffer):
8120         * libs/gst/base/gsttypefindhelper.h:
8121           New API: gst_type_find_helper_for_buffer() (#332723).
8122           
8123 2006-02-27  Michael Smith  <msmith@fluendo.com>
8124
8125         Patch by: Loïc Minier
8126
8127         * configure.ac:
8128         * docs/Makefile.am:
8129         * docs/slides/Makefile.am:
8130           prevent CVS directories getting disted.
8131
8132 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
8133
8134         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
8135           Use the REFCOUNTING category for caps refcounting.
8136           
8137 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
8138
8139         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
8140           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
8141
8142 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
8143
8144         * plugins/elements/gsttypefindelement.c:
8145         (gst_type_find_element_activate):
8146           Use gst_pad_check_pull_range() before _activate_pull()
8147           to avoid unnecessary open/close (see #331690).
8148
8149 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
8150
8151         * gst/gstutils.c:
8152           Docs enhancement: make it crystal clear what the
8153           gst_pad_add_*_probe() callbacks should look like.
8154
8155 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
8156
8157         * libs/gst/base/gstbasesrc.c:
8158           Document how applications can stop recording from
8159           live sources (see #330996).
8160
8161 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8162
8163         * tests/check/Makefile.am:
8164         * tests/check/libs/basesrc.c: (eos_event_counter),
8165         (basesrc_eos_events_pull), (basesrc_eos_events_push),
8166         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
8167         (gst_basesrc_suite), (main):
8168           ... and add some tests for the base source EOS stuff.
8169
8170 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8171
8172         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
8173           Test case originally showed the problem fixed below,
8174           but was then amended. Add checks back at the place
8175           where they used to be.
8176
8177 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8178
8179         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8180         (gst_base_src_init), (gst_base_src_loop),
8181         (gst_base_src_activate_push), (gst_base_src_activate_pull),
8182         (gst_base_src_change_state):
8183         * libs/gst/base/gstbasesrc.h:
8184           Don't unconditionally send EOS when going from PAUSED to
8185           READY state, esp. make sure we don't send two EOS events
8186           in some cases (e.g. one when reaching EOS and one when
8187           going from PAUSED to READY). Also, we don't want to send
8188           EOS events when operating in pull mode. However, we do
8189           want to send an EOS event when shutting down a live
8190           source explicitly, for example (fixes #330996).
8191           
8192 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8193
8194         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8195           Update src->read_position after a seek when not using mmap.
8196           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
8197
8198 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
8199
8200         * gst/Makefile.am:
8201         * gst/gstparse.h:
8202         * gst/gstutils.c:
8203         * gst/gstutils.h:
8204         Make things work with --disable-parse as they do with 
8205         --disable-load-save - the symbols involved disappear, but the
8206         header is still installed and GST_DISABLE_PARSE is included via
8207         gstconfig.h
8208
8209 2006-02-20  Julien MOUTTE  <julien@moutte.net>
8210
8211         * libs/gst/base/gstbasetransform.c:
8212         (gst_base_transform_change_state): Fix a stupid bug. I was 
8213         sure I compiled that.
8214
8215 2006-02-20  Julien MOUTTE  <julien@moutte.net>
8216
8217         * gst/gstpad.c: (gst_pad_set_blocked_async):
8218         * gst/gstutils.c: (gst_pad_add_data_probe),
8219         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8220         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8221         (gst_pad_remove_buffer_probe): Make those function act on the
8222         ghostpad target when it's a ghostpad. (Closes #331727)
8223
8224 2006-02-20  Julien MOUTTE  <julien@moutte.net>
8225
8226         * libs/gst/base/gstbasetransform.c:
8227         (gst_base_transform_change_state): Make basetransform reusable.
8228         (Closes #331898)
8229
8230 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
8231
8232         * docs/random/release:
8233         Move the current documentation of how to do a release to the top
8234         of the file.
8235
8236         * gst/gstbin.c: (gst_bin_class_init),
8237         (gst_bin_handle_message_func):
8238         Allow multiple state-recalculation threads. (Closes #328873)
8239
8240 2006-02-19  Julien MOUTTE  <julien@moutte.net>
8241
8242         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
8243         * gst/gstpad.c: (gst_pad_set_event_function),
8244         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8245         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
8246         2 strings. You can't use the STR_NULL macro on that.
8247
8248 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
8249
8250         * gst/gstpad.c: (gst_pad_set_event_function),
8251         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8252         (gst_pad_set_getcaps_function)
8253         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
8254           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
8255           So now, we can use --gst-debug-level=5 on Windows
8256         * win32/common/libgstcontroller.def:
8257           Added export of gst_controller_init
8258         * win32/vs6/libgstcontroller.dsp:
8259           Fixed Release post build configuration
8260
8261 2006-02-17  Wim Taymans  <wim@fluendo.com>
8262
8263         * tests/check/gst/gstquery.c: (GST_START_TEST):
8264         Added another check.
8265
8266 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
8267
8268         * plugins/elements/gsttypefindelement.c: (find_peek):
8269           We can do peeks at non-zero offsets, as long as they
8270           fall within the buffer we have.
8271
8272 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
8273
8274         * tests/check/Makefile.am:
8275         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
8276         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
8277         (parse_suite), (main):
8278           Add testsuite for parse launch syntax
8279
8280 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
8281
8282         * plugins/elements/gsttypefindelement.c:
8283         (gst_type_find_element_chain):
8284           When typefinding is unsuccessful in the chain function, don't
8285           error out immediately. Only error out with NO_CAPS_FOUND if
8286           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
8287           otherwise simply wait for more data so we can try typefinding
8288           again with more data later. Also, don't attempt to typefind
8289           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
8290           this should improve typefinding from network sources where the
8291           size of the first buffer can be somewhat random.
8292
8293 2006-02-14  Wim Taymans  <wim@fluendo.com>
8294
8295         * docs/gst/gstreamer-sections.txt:
8296         * gst/gstpadtemplate.c:
8297         * gst/gstpadtemplate.h:
8298         Fix padtemplate docs, fixes #328805.
8299
8300 2006-02-14  Wim Taymans  <wim@fluendo.com>
8301
8302         * tools/gst-launch.c: (main):
8303         NO_PREROLL is not an ERROR so don't send confusing messages
8304         to the user.
8305
8306 2006-02-14  Wim Taymans  <wim@fluendo.com>
8307
8308         Patch by: Torsten Schoenfeld
8309
8310         * gst/gstregistry.c: (gst_registry_get_default),
8311         (_gst_registry_cleanup):
8312         Protect default registry with lock and ref/sink it.
8313         Fixes #324818
8314
8315 2006-02-14  Wim Taymans  <wim@fluendo.com>
8316
8317         * gst/gstbuffer.c:
8318         * gst/gstquery.c: (gst_query_list_add_format),
8319         (gst_query_set_formatsv), (gst_query_parse_formats_length),
8320         (gst_query_parse_formats_nth):
8321         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8322         Docs fixes.
8323
8324 2006-02-14  Wim Taymans  <wim@fluendo.com>
8325
8326         * docs/gst/gstreamer-sections.txt:
8327         Reworked query docs.
8328
8329         * gst/gstquery.c: (gst_query_new_formats),
8330         (gst_query_list_add_format), (gst_query_set_formats),
8331         (gst_query_set_formatsv), (gst_query_parse_formats_length),
8332         (gst_query_parse_formats_nth):
8333         * gst/gstquery.h:
8334         Flesh out formats query, added some new methods.
8335         Fix part of #324398.
8336
8337         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
8338         Added query creation tests.
8339
8340 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
8341
8342         * gst/gstpad.c: (fixate_value):
8343         Add a default fixation for fraction lists.
8344
8345 2006-02-13  Wim Taymans  <wim@fluendo.com>
8346
8347         * gst/gsttask.c: (gst_task_init), (gst_task_func),
8348         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
8349         (gst_task_join):
8350         * gst/gsttask.h:
8351         Detect and warn for obvious deadlocks. fixes #320340
8352         Fix error case where lock was not released.
8353
8354         * tests/check/Makefile.am:
8355         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
8356         (task_func), (gst_element_suite), (main):
8357         Add task check.
8358
8359 2006-02-13  Wim Taymans  <wim@fluendo.com>
8360
8361         * docs/gst/gstreamer-sections.txt:
8362         * gst/gstbus.c:
8363         Add new functions to docs.
8364
8365 2006-02-13  Wim Taymans  <wim@fluendo.com>
8366
8367         * docs/design/part-TODO.txt:
8368         Updated TODO list, basesrc supports seeking to non-bytes
8369         formats.
8370
8371         * docs/design/part-element-sink.txt:
8372         Update docs.
8373
8374         * gst/gstbin.c: (bin_replace_message),
8375         (gst_bin_handle_message_func):
8376         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
8377         * gst/gstevent.c: (gst_event_finalize):
8378         * gst/gstpad.c: (gst_pad_event_default_dispatch),
8379         (gst_pad_send_event):
8380         Use shiny new _TYPE_NAME macros.
8381
8382         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8383         Move debug statement up.
8384
8385         * gst/gstelement.c: (gst_element_set_locked_state):
8386         Add some debugging.
8387
8388 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
8389
8390         * docs/gst/gstreamer-sections.txt:
8391         * gst/gstmessage.h:
8392         * gst/gstquery.h:
8393           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
8394           macros (#330906). Also, document the already existing
8395           GST_QUERY_TYPE macro.
8396
8397 2006-02-13  Wim Taymans  <wim@fluendo.com>
8398
8399         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
8400         (event_probe), (GST_START_TEST):
8401         Only events up to the pipeline EOS are counted, there are
8402         some more when going to NULL currently which we don't care
8403         about for now.
8404
8405 2006-02-13  Wim Taymans  <wim@fluendo.com>
8406
8407         * gst/gstpad.c: (gst_pad_send_event):
8408         Correctly check flushing and emit probes. fixes #330125
8409
8410 2006-02-10  Andy Wingo  <wingo@pobox.com>
8411
8412         * gst/gstbus.c (gst_bus_class_init): Declare our private data
8413         structure.
8414         (gst_bus_init): Cache the location of the private data in the
8415         instance structure.
8416         (gst_bus_enable_sync_message_emission) 
8417         (gst_bus_disable_sync_message_emission): Implement new public
8418         functions.
8419         (gst_bus_post): Emit the sync-message signal if the user asked for
8420         it. Fixes #330684.
8421
8422         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
8423         location of the bus-private structure.
8424         (gst_bus_enable_sync_message_emission)
8425         (gst_bus_disable_sync_message_emission): API addition
8426
8427 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
8428
8429         Patch by: Vincent Torri
8430
8431         * docs/pwg/building-boiler.xml:
8432         PWG patch from #326800
8433
8434 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
8435
8436         * configure.ac:
8437         * docs/Makefile.am:
8438         * docs/design/Makefile.am:
8439           Dist design docs.
8440
8441 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
8442
8443         * configure.ac:
8444           back to CVS
8445
8446 === release 0.10.3 ===
8447
8448 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
8449
8450         * configure.ac:
8451           releasing 0.10.3, "Like a virgin"
8452
8453 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
8454
8455         * configure.ac:
8456           2nd prerelease of 0.10.3
8457           Bump libtool versioning.
8458
8459 2006-02-07  Andy Wingo  <wingo@pobox.com>
8460
8461         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
8462         update last_stop if we're in TIME format and the timestamp is
8463         valid.
8464
8465         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
8466         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
8467         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
8468         If we get a new newsegment with a different format, adapt
8469         accordingly.
8470
8471         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
8472         of 0. Not a problem, really.
8473
8474         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
8475         warn if sync=true.
8476
8477 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
8478
8479         * configure.ac:
8480           Prelease of 0.10.3
8481
8482 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
8483
8484         * win32/vs7:
8485           project files updated to the default vs7 configuration
8486         * win32/common/libgstbase.def:
8487         * win32/common/libgstreamer.def:
8488           added new symbols,
8489           removed empty lines,
8490           sorted all exported symbols alphabetically
8491         * win32/common/dirent.c:
8492         * win32/common/dirent.h:
8493         * win32/common/gchar.h:
8494           use windows line end.
8495           
8496 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
8497
8498         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8499           Send EOS event when stopping.
8500
8501 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
8502
8503         * docs/README:
8504           Tell folks what to do if the plugin-foobar.xml file
8505           hasn't been generated for a newly-added plugin.
8506
8507 2006-02-05  Julien MOUTTE  <julien@moutte.net>
8508
8509         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8510         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8511         (gst_collect_pads_start), (gst_collect_pads_stop),
8512         (gst_collect_pads_event): Collectpads now holds a reference
8513         to the GstPad that was added. Indeed we don't want to look
8514         at pads that might just go away with no warning...
8515
8516 2006-02-05  Julien MOUTTE  <julien@moutte.net>
8517
8518         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8519         (gst_collect_pads_start), (gst_collect_pads_stop),
8520         (gst_collect_pads_event), (gst_collect_pads_chain):
8521         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
8522         Mark Nauwelaerts's patch on bug #328491.
8523
8524 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8525
8526         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
8527         (gst_utils_suite):
8528           Add some simple tests for gst_parse_bin_from_description() and
8529           gst_bin_find_unconnected_pad() (#329069).
8530
8531 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8532
8533         * tools/gst-launch.c: (event_loop), (main):
8534           Catch errors during preroll (#320084).
8535
8536 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
8537
8538         * plugins/elements/gsttypefindelement.c:
8539         (gst_type_find_element_activate):
8540           Post TYPE_NOT_FOUND error message when typefinding
8541           is unsuccessful in the activate function as well.
8542
8543 2006-02-02  Wim Taymans  <wim@fluendo.com>
8544
8545         * docs/design/part-element-sink.txt:
8546         Updated doc.
8547
8548 2006-02-02  Wim Taymans  <wim@fluendo.com>
8549
8550         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
8551         (gst_base_sink_render_object),
8552         (gst_base_sink_queue_object_unlocked):
8553         Only keep track of prerollable items when we are 
8554         prerolling.
8555         Before rendering after preroll, always check if we
8556         have queued items.
8557         Added some more debugging.
8558
8559 2006-02-02  Wim Taymans  <wim@fluendo.com>
8560
8561         * gst/gstelement.c: (gst_element_continue_state),
8562         (gst_element_set_state_func), (gst_element_change_state):
8563         Fixed #326576, been running this for quite some time with
8564         no regressions at all.
8565
8566 2006-02-02  Wim Taymans  <wim@fluendo.com>
8567
8568         * common/gst.supp:
8569         Added more suppressions
8570
8571 2006-02-02  Wim Taymans  <wim@fluendo.com>
8572
8573         * docs/design/part-element-sink.txt:
8574         Updated document.
8575
8576         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8577         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
8578         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
8579         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
8580         (gst_base_sink_do_sync), (gst_base_sink_render_object),
8581         (gst_base_sink_preroll_object),
8582         (gst_base_sink_queue_object_unlocked),
8583         (gst_base_sink_queue_object), (gst_base_sink_event),
8584         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
8585         (gst_base_sink_loop), (gst_base_sink_activate_pull),
8586         (gst_base_sink_get_position), (gst_base_sink_change_state):
8587         * libs/gst/base/gstbasesink.h:
8588         Totally refactored matching the design doc.
8589         Use two segments, one to clip incomming buffers and another to
8590         perform sync.
8591         Handle queueing correctly, bypass the queue when playing.
8592         Make EOS cancelable.
8593         Handle errors correctly when operating in pull based mode.
8594
8595         * tests/check/elements/fakesink.c: (GST_START_TEST),
8596         (fakesink_suite):
8597         Added new check for sinks.
8598
8599 2006-02-02  Wim Taymans  <wim@fluendo.com>
8600
8601         * gst/gstsegment.c: (gst_segment_clip):
8602         No reason to refuse to clip when start == -1
8603
8604 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
8605
8606         * docs/README:
8607         * docs/manual/intro-basics.xml:
8608         * docs/manual/intro-preface.xml:
8609         * docs/manual/manual.xml:
8610         * docs/pwg/advanced-dparams.xml:
8611         * docs/pwg/intro-basics.xml:
8612         * docs/pwg/intro-preface.xml:
8613         * docs/pwg/pwg.xml:
8614           describe dparams (controller) for plugins
8615           unify docs a little more
8616
8617 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
8618
8619         * docs/gst/gstreamer-sections.txt:
8620         * gst/gstutils.c: (element_find_unconnected_pad),
8621         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
8622         * gst/gstutils.h:
8623           Add new API: gst_parse_bin_from_description() and
8624           gst_bin_find_unconnected_pad() (#329069).
8625
8626 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
8627
8628         * docs/manual/README:
8629           uncover a nasty detail of the docs build
8630
8631 2006-01-31  Wim Taymans  <wim@fluendo.com>
8632
8633         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
8634         Don't cache duration messages if we're not going to use or
8635         free them.
8636
8637 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
8638
8639         * docs/manual/advanced-dparams.xml:
8640         * docs/pwg/advanced-dparams.xml:
8641           more dparam docs
8642         * gst/gstindex.c:
8643           fix docs
8644         * libs/gst/controller/lib.c: (gst_controller_init):
8645           init just once
8646
8647 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
8648
8649         * gst/gstelement.c: (gst_element_message_full):
8650           also show file/line/func if no additional debug was given
8651
8652 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
8653         
8654         * win32/vs7/grammar.vcproj:
8655           activate copy of autogenerated files for Release mode
8656
8657 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
8658         
8659         * win32/common/libgstreamer.def:
8660           export gst_value_compare
8661
8662 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
8663
8664         * plugins/elements/Makefile.am:
8665         * plugins/elements/gstelements.c:
8666         * plugins/elements/gstfdsink.c: (_do_init),
8667         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
8668         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
8669         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
8670         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
8671         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
8672         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
8673         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
8674         * plugins/elements/gstfdsink.h:
8675         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
8676
8677 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
8678
8679         * docs/manual/advanced-dparams.xml:
8680           describe controller
8681         * docs/manual/advanced-position.xml:
8682         * docs/manual/basics-init.xml:
8683         * docs/manual/manual.xml:
8684         * docs/manual/titlepage.xml:
8685         * docs/pwg/pwg.xml:
8686         * docs/pwg/titlepage.xml:
8687           cleanup xml (more to come)
8688         * libs/gst/controller/gstcontroller.c:
8689           fix typo
8690
8691 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
8692         
8693         * win32/vs6/grammar.dsp:
8694           add autogen of gstmarshal.c,h for Release mode
8695                 
8696 2006-01-30  Wim Taymans  <wim@fluendo.com>
8697
8698         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8699         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
8700         (gst_base_sink_handle_object), (gst_base_sink_event),
8701         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
8702         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8703         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
8704         (gst_base_sink_deactivate), (gst_base_sink_activate),
8705         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8706         (gst_base_sink_query), (gst_base_sink_change_state):
8707         Basesink cleanups, remove some old code.
8708         Handle the case where a subclass can preroll in the render
8709         method (mostly audiosinks).
8710         Handle more events.
8711         Remove some locks around variables that are now protected
8712         with the PREROLL_LOCK (clock_id, flushing, ..).
8713         Optimize position query some more, do correct locking.
8714         Remove old code to push queue in state change, this is not
8715         needed anymore since preroll blocks on all prerollable items 
8716         now.
8717         Almost implemented as described in design doc.
8718
8719 2006-01-30  Wim Taymans  <wim@fluendo.com>
8720
8721         * tests/check/gst/gstbin.c: (GST_START_TEST):
8722         Wait for refcount to settle down before checking.
8723
8724 2006-01-30  Wim Taymans  <wim@fluendo.com>
8725
8726         * docs/design/part-element-sink.txt:
8727         Pseudo code overview of desired sink behaviour regarding
8728         preroll.
8729
8730 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
8731         * win32/vs6/grammar.dsp:
8732           fix some bugs in Release mode for autogenerated files
8733                 
8734 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
8735         * win32/common/libgstbase.def:
8736         * win32/common/libgstreamer.def:
8737           export some new symbols: gst_base_src_set_format,
8738           gst_iterator_next, gst_structure_set_valist
8739
8740 2006-01-29  Julien MOUTTE  <julien@moutte.net>
8741
8742         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8743         Set pad functions unconditionally. Fixes #329105.
8744
8745 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
8746         * win32/vs8:
8747           add vs8 project files created by Sergey Scobich
8748
8749 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
8750
8751         * gst/gstutils.c: (gst_element_unlink_pads):
8752         Don't leak pad references.
8753
8754         * tests/check/elements/fakesink.c: (GST_START_TEST):
8755         * tests/check/generic/sinks.c: (GST_START_TEST):
8756         * tests/check/generic/states.c: (GST_START_TEST):
8757         * tests/check/gst/gstbin.c: (GST_START_TEST):
8758         * tests/check/gst/gstcaps.c: (GST_START_TEST):
8759         * tests/check/gst/gstelement.c: (GST_START_TEST):
8760         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8761         * tests/check/gst/gstiterator.c: (GST_START_TEST):
8762         * tests/check/gst/gstvalue.c: (GST_START_TEST):
8763         Fix a bunch of leaks. Make generic/sinks.c
8764         use a bit less cpu by slowing the buffer rate
8765         between fakesrc and fakesink.
8766         
8767 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
8768         * gst/gstcaps.c:
8769         * gst/gstelement.c: (gst_element_send_event):
8770         * gst/gstevent.c:
8771         * gst/gstinfo.c:
8772         * gst/gstiterator.c:
8773         * gst/gstiterator.h:
8774         * gst/gstpad.c: (gst_pad_send_event):
8775         * gst/gststructure.c:
8776         * gst/gsturi.c:
8777         * gst/gstutils.c:
8778         * gst/gstvalue.c:
8779         * libs/gst/base/gstadapter.c:
8780           doc fixes, to link to function, just write gst_cool_function(), don't
8781           prefix with '#'
8782
8783 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
8784
8785         * plugins/elements/gsttee.c: (gst_tee_do_push),
8786         (gst_tee_handle_buffer):
8787         Always prefer an actual return value from a src
8788         pad in place of NOT_LINKED. This means we return
8789         WRONG_STATE when all src pads are WRONG_STATE
8790         instead of NOT_LINKED.
8791
8792         Lock when replacing the last message to prevent
8793         racing with the get_property method.
8794
8795         Add debug output
8796
8797 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
8798
8799         * tests/check/Makefile.am:
8800         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
8801         (main):
8802         Add a very simple check that should have caught the memleak I fixed
8803         last night (if not for the slice allocator hiding it)
8804
8805 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
8806
8807         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8808         (gst_bin_remove_func), (gst_bin_handle_message_func),
8809         (bin_query_duration_fold), (bin_query_generic_fold):
8810         Clean up references to the clock provider when disposed or when
8811         handling a clock-lost message from it.
8812
8813         Unref sinks when performing a query via gst_iterator_fold, as the
8814         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
8815
8816         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
8817         (gst_clock_set_master):
8818         Drop our reference to the master clock, if any, when we are disposed.
8819
8820         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
8821         Chain up in dispose. 
8822
8823 2006-01-26  Wim Taymans  <wim@fluendo.com>
8824
8825         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8826         Add some debugging.
8827
8828 2006-01-26  Julien MOUTTE  <julien@moutte.net>
8829
8830         * plugins/elements/gsttee.c: (gst_tee_do_push),
8831         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
8832         handles pad being NOT_LINKED or in WRONG_STATE.
8833
8834 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
8835
8836         * win32/MANIFEST:
8837           more updating
8838
8839 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
8840
8841         * win32/MANIFEST:
8842           remove obsolete entry
8843
8844 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
8845
8846         * docs/gst/gstreamer-sections.txt:
8847         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
8848         (gst_bin_iterate_sources), (gst_bin_send_event):
8849         * gst/gstbin.h:
8850         * gst/gstelement.c: (gst_element_send_event):
8851         * gst/gstevent.c:
8852         * gst/gstpad.c: (gst_pad_send_event):
8853           added code for downstream events, reviewed docs in gstevent.c
8854
8855 2006-01-25  Julien MOUTTE  <julien@moutte.net>
8856
8857         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8858         We only query position using the clock in the playing state.
8859         Query peer in the other cases.
8860         * win32/common/config.h: Updates.
8861
8862 2006-01-24  Wim Taymans  <wim@fluendo.com>
8863
8864         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8865         A clock entry that is scheduled for the exact time of the
8866         clock is still in time.
8867
8868         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8869         (gst_base_sink_do_sync):
8870         Add some more debug info.
8871
8872 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
8873
8874         * win32/vs7:
8875           Add new vs7 project files and solution.
8876
8877 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
8878
8879         * win32/vs7:
8880           all files removed as they were out-dated.
8881
8882 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8883
8884         * docs/random/release:
8885           update notes
8886         * gst/gstbin.c: (gst_bin_init):
8887         * gst/gstbus.c: (gst_bus_new):
8888         * gst/gstbus.h:
8889         * gst/gstpipeline.c: (gst_pipeline_init):
8890           use gst_bus_new(), improve logging, fix docs
8891         * win32/common/config.h:
8892           update for cvs build
8893
8894 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8895
8896         * autogen.sh:
8897           up required version of automake to 1.7
8898
8899 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
8900
8901         * win32/common/libgstreamer.def:
8902           export gst_buffer_is_metadata_writable
8903
8904 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
8905
8906         * docs/gst/gstreamer-sections.txt:
8907         * gst/gstevent.h:
8908           Add gst_event_replace() (#327001)
8909
8910 2006-01-20  Wim Taymans  <wim@fluendo.com>
8911
8912         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8913         Make it actually compile too..
8914
8915 2006-01-20  Wim Taymans  <wim@fluendo.com>
8916
8917         * gst/gstcaps.c:
8918         Clarify behaviour of _is_equal() when passing NULL parameters.
8919
8920         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8921         (gst_pad_set_caps):
8922         Cleanups. Don't unref NULL caps.
8923         When setting the same caps, protect caps of the pad with
8924         proper lock.
8925         Use full functionality of _is_equal() when comparing caps.
8926
8927 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
8928
8929         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
8930         Don't loop infinitely if there are no buffers to present. Partially
8931         fixes #327197, but collectpads is just broken for reusing elements
8932         to do multiple encodes atm.
8933
8934 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
8935
8936         * tools/gst-inspect.c: (print_element_features):
8937         * tools/gst-xmlinspect.c: (main):
8938         URL_HANDLER is not a plugin feature we can search for in
8939         the registry.
8940
8941 2006-01-19  Edward Hervey  <edward@fluendo.com>
8942
8943         * gst/gstelement.c: (gst_element_pads_activate): 
8944         When activating, do src pads first, then sink pads.
8945         When de-activating, do sink pads first, then src pads.
8946
8947 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8948
8949         * docs/gst/gstreamer-sections.txt:
8950         Add gst_index_add_associationv to the docs
8951
8952 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8953
8954         * gst/gstevent.c:
8955           Fix docs typo
8956
8957         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
8958         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
8959           Do some refactoring. Doesn't actually change functionality,
8960           but makes landing the DRAIN event easier later.
8961
8962 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
8963
8964         * docs/pwg/advanced-scheduling.xml:
8965           Update from 0.9.x to 0.10 API and make example a bit
8966           clearer.
8967
8968 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8969
8970         * docs/gst/gstreamer-sections.txt:
8971         Add gst_buffer_(is|make)_metadata_writable methods.
8972
8973 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8974
8975         * docs/design/part-sparsestreams.txt:
8976         Update sparse streams doc, hopefully for greater clarity
8977
8978 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
8979
8980         * docs/design/part-events.txt:
8981         Remove mention of FILLER events.
8982         Add DRAIN event.
8983
8984         * docs/design/part-sparsestreams.txt:
8985         Write some things about using NEWSEGMENT to keep sparse streams
8986         flowing.
8987
8988 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
8989
8990         * gst/gstbin.c: (gst_bin_dispose):
8991           Guard gst_object_unref call against a NULL object (dispose
8992           can theoretically be called multiple times).
8993           
8994 2006-01-18  Wim Taymans  <wim@fluendo.com>
8995
8996         * gst/gstbin.c: (gst_bin_element_set_state):
8997         * gst/gstclock.c: (gst_clock_id_wait):
8998         Added some more debug info.
8999
9000         * libs/gst/base/gstadapter.c:
9001         Added more docs.
9002
9003         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9004         (gst_base_sink_do_sync), (gst_base_sink_chain):
9005         Added some comments.
9006
9007 2006-01-18  Wim Taymans  <wim@fluendo.com>
9008
9009         * tests/check/Makefile.am:
9010         * tests/check/elements/fakesink.c: (chain_async_buffer),
9011         (chain_async), (chain_async_return), (GST_START_TEST),
9012         (fakesink_suite), (main):
9013         Added fakesink test that checks prerolling and clipping
9014         behaviour.
9015
9016         * tests/check/gst/gstutils.c: (GST_START_TEST):
9017         Make check run faster so that buildbots don't timeout.
9018
9019 2006-01-18  Wim Taymans  <wim@fluendo.com>
9020
9021         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9022         (gst_base_sink_do_sync):
9023         Some cleanups.
9024         When the sink finishes blocking on the preroll buffer, it can
9025         immediatly render it instead of rendering when the next buffer
9026         arrives.
9027
9028 2006-01-18  Wim Taymans  <wim@fluendo.com>
9029
9030         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
9031         (gst_base_sink_get_property), (gst_base_sink_do_sync),
9032         (gst_base_sink_chain):
9033         Small cleanups.
9034         GST_ELEMENT_CLOCK and sync are protected with LOCK.
9035         Don't store _last_stop if the buffer is dropped.
9036
9037 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
9038
9039         * plugins/elements/gsttypefindelement.c:
9040         (gst_type_find_element_class_init):
9041           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
9042           object method handler that sets the caps on the pad and we want
9043           that to happen before we emit the signal (fixes e.g. feeding a
9044           plain text file to decodebin).
9045
9046 2006-01-18  Christian Schaller  <Christian@fluendo.com>
9047
9048         * gst/gstplugin.c: Add MPL and Proprietary as license options
9049
9050 2006-01-18  Andy Wingo  <wingo@pobox.com>
9051
9052         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
9053         symbol was exported before, it appears this was just an oversight.
9054         Fixes #168703.
9055         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
9056
9057         * gst/gstindex.c (gst_index_add_associationv): Changed int in
9058         prototype to gint. OK since this prototype was not in the header.
9059
9060 2006-01-17  Andy Wingo  <wingo@pobox.com>
9061
9062         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
9063         registry while we remove plugins.
9064
9065         * tools/gst-inspect.c (print_element_info): Don't unref the
9066         factory arg, that should be the responsibility of whatever code
9067         received the ref. Fixes a double-free when called from
9068         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
9069         (main): Unref the factory if we have one.
9070         (print_element_list): No change -- relies on the
9071         plugin_feature_list_free to free the list of features.
9072
9073 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
9074
9075         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
9076         (gst_buffer_make_metadata_writable):
9077         * gst/gstbuffer.h:
9078         * libs/gst/base/gstbasetransform.c:
9079         (gst_base_transform_prepare_output_buf):
9080         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9081         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9082           Replace gst_buffer_(make|is)_metadata_writable patch now
9083           that the release is out.
9084
9085 2006-01-17  Andy Wingo  <wingo@pobox.com>
9086
9087         * gst/gstregistry.c: Reflow design comment. Update so as to speak
9088         in the present tense without reference to versions.
9089
9090         * gst/gstregistry.c (gst_registry_add_plugin)
9091         (gst_registry_remove_plugin, gst_registry_remove_feature)
9092         (gst_registry_find_feature, gst_registry_get_feature_list)
9093         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
9094         (gst_registry_lookup, gst_registry_scan_path)
9095         (_gst_registry_remove_cache_plugins)
9096         (gst_registry_get_feature_list_by_plugin): Add argument
9097         validation.
9098
9099 === release 0.10.2 ===
9100
9101 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
9102
9103         * configure.ac:
9104           releasing 0.10.2, "If man is five"
9105
9106 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
9107
9108         * gst/gstbuffer.c:
9109         * gst/gstbuffer.h:
9110         * libs/gst/base/gstbasetransform.c:
9111         (gst_base_transform_prepare_output_buf):
9112         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9113         * tests/check/gst/gstbuffer.c: (gst_test_suite):
9114           Back out patch until after the release.
9115
9116 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
9117
9118         * gst/gstminiobject.c:
9119           Spelling fix in docs.
9120         * ChangeLog - remove conflict indicator
9121
9122 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
9123
9124         Reviewed By: Andy Wingo
9125
9126         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
9127         (gst_buffer_make_metadata_writable):
9128         * gst/gstbuffer.h:
9129           Add gst_buffer_(is|make)_metadata_writable as analogues of
9130           gst_buffer_(is|make)_writable.
9131
9132         * libs/gst/base/gstbasetransform.c:
9133         (gst_base_transform_prepare_output_buf):
9134         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9135           Use name gst_buffer_(is|make)_metadata_writable functions.
9136
9137         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9138           Test gst_buffer_(is|make)_metadata_writable
9139         
9140           (Closes: #324162)
9141
9142 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9143
9144         * docs/manual/Makefile.am:
9145           don't do parallel make
9146         * configure.ac:
9147           AC_SUBST HOST_CPU
9148         * win32/common/config.h.in:
9149           add generations for HOST_CPU and GST_MAJORMINOR
9150         * win32/common/config.h:
9151           commit generated result
9152
9153 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
9154
9155         * docs/manual/appendix-integration.xml:
9156           Update GNOME integration section to use gst_init_get_option_group()
9157           instead of the old popt stuff (#322911). Also, GNOME applications
9158           should  now use gconf*sink and gconf*src instead of the old gconf
9159           helper lib we had.
9160
9161 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
9162
9163
9164         * docs/gst/gstreamer-docs.sgml:
9165         * docs/gst/gstreamer-sections.txt:
9166         * docs/libs/gstreamer-libs-sections.txt:
9167           add new API entries to the docs
9168         * libs/gst/controller/Makefile.am:
9169         * libs/gst/controller/gstcontroller.c:
9170         * libs/gst/controller/gstcontroller.h:
9171         * libs/gst/controller/gstcontrollerprivate.h:
9172         * libs/gst/controller/gsthelper.c:
9173         * libs/gst/controller/gstinterpolation.c:
9174           move private structs to private header
9175         * po/README:
9176           gstreamer-0.7 -> gstreamer-0.10
9177         * tests/check/libs/struct_i386.h:
9178           remove private structs
9179
9180 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9181
9182         * plugins/indexers/Makefile.am:
9183           Fixes as part of #317048
9184
9185 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9186
9187         * plugins/indexers/Makefile.am:
9188           fix #316086 - compilation when mmap is missing
9189
9190 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
9191
9192         * libs/gst/base/gstbasesink.c:
9193           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
9194           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
9195         * win32/common/config.h:
9196           added some defines GST_MAJORMINOR and HOST_CPU
9197         * win32/common/libgstbase.def:
9198         * win32/common/libgstreamer.def:
9199           added some exported functions.
9200
9201 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
9202
9203         * libs/gst/controller/gstcontroller.c:
9204         (gst_controlled_property_set_interpolation_mode),
9205         (gst_controlled_property_new):
9206         * libs/gst/controller/gstcontroller.h:
9207         * libs/gst/controller/gstinterpolation.c:
9208         (interpolate_none_get_string_value_array):
9209           make G_TYPE_STRING controlable
9210
9211 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
9212
9213         * tools/README:
9214         * tools/gst-feedback.1.in:
9215         * tools/gst-inspect.1.in:
9216         * tools/gst-launch.1.in:
9217         * tools/gst-md5sum.1.in:
9218         * tools/gst-typefind.1.in:
9219         * tools/gst-xmlinspect.1.in:
9220         * tools/gst-xmllaunch.1.in:
9221           cleanup man-pages, remove reference to gst-register, document env-vars
9222
9223 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
9224
9225         * gst/gstbuffer.c: (gst_buffer_span):
9226           gst_buffer_span should copy the timestamp of the first buffer
9227           if they were both originally overlapping subbuffers of the 
9228           same parent, using the same logic as the 'slow copy' case.
9229
9230 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
9231
9232         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
9233           Need to awaken ALL the pads when we pop a buffer, otherwise
9234           collectpads only works when there is 2 input streams.
9235
9236 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
9237
9238         * docs/random/ensonic/media-device-daemon.txt:
9239           more ideas (dbus)
9240         * gst/gstbuffer.c:
9241           fix doc example, add clarification
9242         * tools/gst-launch.1.in:
9243           add initial info about GST_PLUGIN_PATH, needs more work
9244
9245 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
9246
9247         * docs/manual/basics-bins.xml:
9248         * docs/manual/basics-elements.xml:
9249         * docs/manual/intro-basics.xml:
9250           Some more minor docs additions and updates.
9251
9252 2006-01-11  Wim Taymans  <wim@fluendo.com>
9253
9254         * docs/manual/basics-bins.xml:
9255         * docs/manual/basics-elements.xml:
9256         Some small fixes as pointed out by Ser-ver on IRC.
9257
9258 2006-01-10  Edward Hervey  <edward@fluendo.com>
9259
9260         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9261         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
9262         the single-segment mode.
9263
9264 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
9265
9266         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9267
9268         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
9269         (gst_base_src_perform_seek), (gst_base_src_send_event),
9270         (gst_base_src_set_property), (gst_base_src_get_property),
9271         (gst_base_src_loop), (gst_base_src_start),
9272         (gst_base_src_activate_push):
9273         * libs/gst/base/gstbasesrc.h:
9274           Name (private) union; makes Sun's Forte compiler happy (#324900).
9275
9276 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
9277
9278         * README:
9279           gst-register is gone.
9280
9281 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9282
9283         * gst/gstvalue.c: (_gst_value_initialize):
9284           make the G_TYPE_DATE instantiation work if debug is disabled
9285
9286 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
9287
9288         * gst/gstmessage.c: (gst_message_parse_tag),
9289         (gst_message_parse_error), (gst_message_parse_warning):
9290           Don't crash when return location for error/warning debug
9291           string is NULL; add fact that return locations can be
9292           NULL to docs where appropriate.
9293
9294 2006-01-05  Wim Taymans  <wim@fluendo.com>
9295
9296         * gst/gstplugin.c: (gst_plugin_load_file):
9297         Replace strdup by g_strdup.
9298
9299 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9300
9301         * docs/pwg/advanced-types.xml:
9302           fix doc borkage
9303
9304 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9305
9306         submitted by: Abel Cheung
9307
9308         * po/LINGUAS:
9309         * po/zh_TW.po:
9310           Added Chinese (traditional) translation
9311
9312 2006-01-04  Wim Taymans  <wim@fluendo.com>
9313
9314         * docs/manual/basics-pads.xml:
9315         * docs/plugins/Makefile.am:
9316         * docs/plugins/gstreamer-plugins-docs.sgml:
9317         * docs/plugins/gstreamer-plugins-sections.txt:
9318         * docs/pwg/advanced-clock.xml:
9319         * docs/pwg/advanced-scheduling.xml:
9320         * docs/pwg/advanced-types.xml:
9321         * plugins/elements/gstfdsink.c:
9322         * plugins/elements/gstfdsrc.c:
9323         * plugins/elements/gstfdsrc.h:
9324         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9325         * plugins/elements/gstidentity.h:
9326         * plugins/elements/gstqueue.h:
9327         * plugins/elements/gsttee.c:
9328         * plugins/elements/gsttee.h:
9329         * plugins/elements/gsttypefindelement.c:
9330         (gst_type_find_element_class_init):
9331         * plugins/elements/gsttypefindelement.h:
9332         Small updates to various docs.
9333         Added core plugins to docs.
9334
9335 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9336
9337         * common/gst.supp:
9338           add a suppression for liboil's uninitialized variable
9339
9340 2006-01-02  James Livingston  <jrl at ids dot org dot au>
9341
9342         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9343
9344         * gst/gstutils.h:
9345           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
9346           macro, so that gcc doesn't complain if the -Wmissing-prototypes
9347           compiler switch is being used (#325429).
9348
9349 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
9350
9351         * gst/gstbin.c: (gst_bin_query):
9352           Disable duration query caching in bins until it gets
9353           fixed (see #324807).
9354
9355 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
9356
9357         * tools/gst-inspect.c: (print_element_properties_info):
9358           Handle properties of POINTER and BOXED type.
9359
9360 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
9361
9362         * gst/gst.c: (init_post):
9363           Init tags stuff and some other things before loading
9364           any static plugins (there may be other static plugins
9365           than just the GStreamer ones, and they may want to
9366           register their own tags or formats or whatever, and
9367           preferably without segfaulting).
9368
9369         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
9370           Print at least a warning in the debug logs if we drop a
9371           query just because we don't know how to adjust the value
9372           in the particular format.
9373
9374 2005-12-24  David Schleef  <ds@schleef.org>
9375
9376         * tools/gstreamer-completion:
9377           Replacement for gst-complete written in sh and sed.  Only
9378           completes names of features, but that's 90% of what I want
9379           it for.  Properties are not available in registry.xml.  (Maybe
9380           they should be...)
9381
9382 === release 0.10.1 ===
9383
9384 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
9385
9386         * configure.ac:
9387           releasing 0.10.1, "Nollaig chridheil"
9388
9389 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
9390
9391         * docs/faq/cvs.xml:
9392           Add missing quote, should be make ERROR_CFLAGS="".
9393
9394 2005-12-20  Wim Taymans  <wim@fluendo.com>
9395
9396         * docs/design/part-trickmodes.txt:
9397         More documentation on trickmodes.
9398
9399 2005-12-20  Edward Hervey  <edward@fluendo.com>
9400
9401         * gst/gstcaps.c: (gst_static_caps_get_type):
9402         * gst/gstcaps.h:
9403           API addition: GST_TYPE_STATIC_CAPS
9404         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
9405         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
9406         * gst/gstpadtemplate.h:
9407           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
9408         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
9409         bindings.
9410
9411 2005-12-18  Wim Taymans  <wim@fluendo.com>
9412
9413         * libs/gst/base/gstadapter.c:
9414         * libs/gst/base/gstadapter.h:
9415         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9416         (gst_base_sink_get_position):
9417         * libs/gst/base/gstbasesink.h:
9418         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9419         (gst_base_src_default_query), (gst_base_src_default_do_seek),
9420         (gst_base_src_do_seek), (gst_base_src_perform_seek),
9421         (gst_base_src_send_event), (gst_base_src_update_length),
9422         (gst_base_src_get_range), (gst_base_src_loop),
9423         (gst_base_src_start):
9424         * libs/gst/base/gstbasesrc.h:
9425         * libs/gst/base/gstbasetransform.h:
9426         * libs/gst/base/gstcollectpads.h:
9427         * libs/gst/base/gstpushsrc.c:
9428         * libs/gst/base/gstpushsrc.h:
9429         * libs/gst/dataprotocol/dataprotocol.c:
9430         * libs/gst/dataprotocol/dataprotocol.h:
9431         * libs/gst/net/gstnetclientclock.h:
9432         * libs/gst/net/gstnettimeprovider.h:
9433         Documentation updates.
9434
9435 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
9436
9437         * docs/manual/basics-helloworld.xml:
9438           Remove superfluous closing bracket in helloworld example.
9439
9440 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
9441
9442         * tools/gst-launch.1.in:
9443           Update gst-launch man page; add a section with useful
9444           environment variables. Fixes #323882.
9445
9446 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
9447
9448         * gst/gst.c:
9449         * gst/gst_private.h:
9450           change some char* into char[]
9451
9452 2005-12-16  Wim Taymans  <wim@fluendo.com>
9453
9454         * gst/gstregistryxml.c: (load_feature):
9455         Cleanups.
9456         Don't use g_object_unref on GstObjects so that we avoid
9457         leaks on unsafe glibs.
9458
9459 2005-12-16  Wim Taymans  <wim@fluendo.com>
9460
9461         * gst/gstbin.c: (gst_bin_recalc_state):
9462         Small doc updates.
9463
9464 2005-12-16  Wim Taymans  <wim@fluendo.com>
9465
9466         * common/check.mak:
9467         Added make forever target for check.
9468
9469 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9470
9471         * gst/gst.c: (init_post):
9472           make the registry cache file HOST_CPU-dependent
9473
9474 2005-12-16  Andy Wingo  <wingo@pobox.com>
9475
9476         * plugins/elements/gstbufferstore.c
9477         (gst_buffer_store_cleared_func): Pay attention to g_list_append
9478         return value.
9479
9480         * tests/check/gst/gstobject.c
9481         (test_fake_object_name_threaded_unique): Pay attention to
9482         g_list_sort return value.
9483
9484 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9485
9486         * tools/gst-feedback-m.m:
9487           Update for 0.9/0.10 (fixes #323870).
9488
9489 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
9490
9491         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
9492           Fix lcopy for mini objects, the mini object needs to be ref'ed.
9493           
9494         * tests/check/gst/gstminiobject.c: (my_foo_init),
9495         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
9496         (test_value_collection), (gst_mini_object_suite):
9497           Add test to ensure refcounts end up as expected when passing
9498           GstMiniObjects through g_object_get() and g_object_set().
9499
9500 2005-12-14  Julien MOUTTE  <julien@moutte.net>
9501
9502         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9503         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
9504         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
9505         of collectpads. This version removes a lot of races without
9506         touching API/ABI. Yay !
9507
9508 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
9509
9510         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
9511           Don't allow activation of a srcpad in pull_range if it has no
9512           getrange function.
9513           Change some debug statements to be a little clearer
9514
9515         * plugins/elements/gsttypefindelement.c:
9516         (gst_type_find_handle_src_query):
9517           Check that we have a peer before executing queries thereupon.
9518
9519         * tests/examples/metadata/read-metadata.c: (message_loop):
9520           Use gst_bus_pop instead of gst_bus_poll when we just want it to
9521           immediately return us any available message with 0 timeout.
9522
9523 2005-12-12  Michael Smith  <msmith@fluendo.com>
9524
9525         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9526           Don't unref factories after calling them.
9527         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
9528         * plugins/elements/gsttypefindelement.c:
9529         (gst_type_find_element_chain):
9530           Free lists of factories after using them. Fixing typefinding memory
9531           leaks.
9532
9533 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9534
9535         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
9536         (gst_plugin_feature_load):
9537           more meaningful debug output
9538         * configure.ac:
9539         * tests/Makefile.am:
9540         * tests/old/examples/Makefile.am:
9541           make make distcheck happy again
9542
9543 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9544
9545         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9546           Catch the special case where we are operating chain-based,
9547           but the downstream peer pad has no chain function. Emit a
9548           custom error message in this case instead of letting the
9549           core generate one implying that this is some sort of core
9550           bug. It's not, it just means that whatever got plugged
9551           into the pipeline downstream when we announced the type
9552           can only operate pull-based, while our source can only
9553           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
9554           Error string has not been marked for translation yet, as
9555           it probably needs some more work first.
9556
9557         (gst_type_find_element_get_best_possibility):
9558           Add helper function to find the best of all available
9559           found possibilities that qualify given the min. threshold.
9560
9561         (gst_type_find_element_handle_event):
9562           Fix the case where we get an EOS while still in TYPEFIND
9563           mode (we want to chose the best of all possible types,
9564           not just the first type that happens to be in our unsorted
9565           list of possible types).
9566
9567         (gst_type_find_element_chain):
9568           Make sure we return GST_FLOW_ERROR when we errored out
9569           in stop_typefinding(); also, don't just find the best of
9570           all found type entries and then use the last examined
9571           type entry, but actually use the best entry.
9572
9573 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9574
9575         * tests/examples/typefind/typefind.c: (type_found):
9576         * tests/examples/xml/runxml.c: (xml_loaded):
9577           More gcc4 fixes and a mem leak fix.
9578
9579 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9580
9581         * tests/examples/xml/createxml.c: (object_saved):
9582           gcc 4 fixes
9583
9584 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9585
9586         * tests/Makefile.am:
9587           enable the examples even more
9588
9589 2005-12-12  Andy Wingo  <wingo@pobox.com>
9590
9591         * libs/gst/net/gstnettimeprovider.c
9592         (gst_net_time_provider_class_init, gst_net_time_provider_init)
9593         (gst_net_time_provider_set_property)
9594         (gst_net_time_provider_get_property):
9595         API addition: Export "active" as a GObject property.
9596         (gst_net_time_provider_thread): Only respond to time queries if
9597         the time provider is active.
9598
9599         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
9600         NetTimeProvider, preserving binary compat.
9601
9602 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9603
9604         * tests/examples/controller/audio-example.c: (main):
9605         * tests/examples/launch/Makefile.am:
9606           convert comments again
9607
9608 2005-12-12  Wim Taymans  <wim@fluendo.com>
9609
9610         * libs/gst/base/gstpushsrc.c:
9611         Fix typo.
9612
9613 2005-12-12  Wim Taymans  <wim@fluendo.com>
9614
9615         * docs/libs/gstreamer-libs-sections.txt:
9616         Added new symbol to docs.
9617
9618         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9619         (gst_base_src_init), (gst_base_src_set_format),
9620         (gst_base_src_default_query), (gst_base_src_query),
9621         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
9622         (gst_base_src_perform_seek), (gst_base_src_send_event),
9623         (gst_base_src_default_event), (gst_base_src_event_handler),
9624         (gst_base_src_set_property), (gst_base_src_get_property),
9625         (gst_base_src_wait), (gst_base_src_do_sync),
9626         (gst_base_src_update_length), (gst_base_src_get_range),
9627         (gst_base_src_check_get_range), (gst_base_src_loop),
9628         (gst_base_src_default_negotiate), (gst_base_src_start),
9629         (gst_base_src_activate_push), (gst_base_src_activate_pull),
9630         (gst_base_src_change_state):
9631         * libs/gst/base/gstbasesrc.h:
9632         Implement seeking to other formats than _BYTES.
9633         Implement more seeking methods correctly.
9634         Doc updates.
9635         Added query vmethod.
9636         Added do_seek vmethod to make life easier for subclasses
9637         when seeking.
9638         API addition: gst_base_src_set_format()
9639
9640 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9641
9642         * tests/examples/Makefile.am:
9643           added that too
9644
9645 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9646
9647         * configure.ac:
9648         * docs/random/ensonic/media-device-daemon.txt:
9649         * tests/examples/controller/.cvsignore:
9650         * tests/examples/controller/Makefile.am:
9651         * tests/examples/controller/audio-example.c: (main):
9652         * tests/examples/helloworld/.cvsignore:
9653         * tests/examples/helloworld/Makefile.am:
9654         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
9655         * tests/examples/launch/.cvsignore:
9656         * tests/examples/launch/Makefile.am:
9657         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
9658         * tests/examples/metadata/.cvsignore:
9659         * tests/examples/metadata/Makefile.am:
9660         * tests/examples/metadata/read-metadata.c: (message_loop),
9661         (make_pipeline), (print_tag), (main):
9662         * tests/examples/queue/.cvsignore:
9663         * tests/examples/queue/Makefile.am:
9664         * tests/examples/queue/queue.c: (event_loop), (main):
9665         * tests/examples/typefind/.cvsignore:
9666         * tests/examples/typefind/Makefile.am:
9667         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
9668         (main):
9669         * tests/examples/xml/.cvsignore:
9670         * tests/examples/xml/Makefile.am:
9671         * tests/examples/xml/createxml.c: (object_saved), (main):
9672         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
9673         * tests/old/examples/Makefile.am:
9674         * tests/old/examples/TODO:
9675         * tests/old/examples/controller/.cvsignore:
9676         * tests/old/examples/controller/Makefile.am:
9677         * tests/old/examples/controller/audio-example.c:
9678         * tests/old/examples/helloworld/.cvsignore:
9679         * tests/old/examples/helloworld/Makefile.am:
9680         * tests/old/examples/helloworld/helloworld.c:
9681         * tests/old/examples/launch/.cvsignore:
9682         * tests/old/examples/launch/Makefile.am:
9683         * tests/old/examples/launch/mp3parselaunch.c:
9684         * tests/old/examples/launch/mp3play:
9685         * tests/old/examples/manual/Makefile.am:
9686         * tests/old/examples/metadata/Makefile.am:
9687         * tests/old/examples/metadata/read-metadata.c:
9688         * tests/old/examples/queue/.cvsignore:
9689         * tests/old/examples/queue/Makefile.am:
9690         * tests/old/examples/queue/queue.c:
9691         * tests/old/examples/typefind/.cvsignore:
9692         * tests/old/examples/typefind/Makefile.am:
9693         * tests/old/examples/typefind/typefind.c:
9694         * tests/old/examples/xml/.cvsignore:
9695         * tests/old/examples/xml/Makefile.am:
9696         * tests/old/examples/xml/createxml.c:
9697         * tests/old/examples/xml/runxml.c:
9698           applied some simple fixing to some examples
9699           re-enabled the working examples
9700
9701 2005-12-12  Wim Taymans  <wim@fluendo.com>
9702
9703         * gst/gstsegment.c: (gst_segment_init),
9704         (gst_segment_set_last_stop), (gst_segment_set_seek),
9705         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
9706         (gst_segment_to_running_time):
9707         Added more documentation.
9708         Make sure the last_pos value is updated properly.
9709         Make sure to_stream_time and to_running_time don't
9710         operate on wrong values.
9711
9712         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9713         Update check.
9714
9715 2005-12-12  Michael Smith  <msmith@fluendo.com>
9716
9717         * plugins/elements/gsttypefindelement.c: (free_entry),
9718         (gst_type_find_element_chain):
9719           Now that we're not leaking factories, make sure we keep references
9720           to them while we need them.
9721
9722 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9723
9724         * tests/check/gst/struct_i386.h:
9725           ifdef out the XML structs
9726
9727 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9728
9729         * gst/gstvalue.c: (gst_value_transform_double_fraction):
9730           floor is not needed, F is always positive; this obviates the
9731           need for adding -lm when building without libxml
9732
9733 2005-12-12  Wim Taymans  <wim@fluendo.com>
9734
9735         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9736         Take current playback rate into account when reporting
9737         the position.
9738
9739 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9740
9741         * docs/manual/mime-world.fig:
9742           Let's try this again, this time with a file that is
9743           actually in XFig format.
9744
9745 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9746
9747         * docs/manual/mime-world.fig:
9748           Add audioconvert element to diagram so that it
9749           matches the text and the code (fixes #319526).
9750
9751 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9752
9753         * docs/pwg/building-chainfn.xml:
9754         * docs/pwg/building-pads.xml:
9755         * docs/pwg/building-state.xml:
9756         * docs/pwg/other-source.xml:
9757           Update state change stuff for 0.10 (fixes #322969).
9758
9759 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9760
9761         * docs/manual/advanced-dataaccess.xml:
9762         * docs/manual/appendix-checklist.xml:
9763         * docs/manual/appendix-programs.xml:
9764         * docs/manual/basics-pads.xml:
9765         * docs/manual/highlevel-components.xml:
9766         * docs/manual/manual.xml:
9767           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
9768           add converters in front of pipelines; remove curly
9769           brackets for threads stuff, they no longer exist; use
9770           GST_TYPE_FRACTION for framerates; update some pieces of
9771           code to 0.10, but there's plenty more to do.
9772
9773         * docs/manual/appendix-porting.xml:
9774           Expand on asynchroneous state changes; s/0.9/0.10/;
9775           mention disappearance of gst_init_get_popt_table()
9776           (fixes #322916).
9777
9778 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9779
9780         * docs/faq/using.xml:
9781           Spider no longer exists, and neither does gst-launch-ext.
9782           Update examples to use decodebin and playbin and put
9783           converters in front of sinks (fixes #323726).
9784
9785 2005-12-09  Michael Smith  <msmith@fluendo.com>
9786
9787         * plugins/elements/gsttypefindelement.c: (find_peek),
9788         (gst_type_find_element_chain):
9789           Fix leaking element factories in typefinding.
9790           Fix problem where we forgot about a probable type on non-seekable
9791           files, and thus later mis-typefound it.
9792
9793 2005-12-09  Michael Smith  <msmith@fluendo.com>
9794
9795         * common/m4/gst-makecontext.m4:
9796         * common/m4/gst-mcsc.m4:
9797         * configure.ac:
9798         * win32/common/config.h:
9799         * win32/common/config.h.in:
9800           Remove makecontext stuff; not used in 0.10 and causes problems on
9801           HPUX according to bug #322441
9802
9803 2005-12-07  Wim Taymans  <wim@fluendo.com>
9804
9805         * tests/check/Makefile.am:
9806         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
9807         (main):
9808         * tests/check/libs/struct_i386.h:
9809         Added ABI check for libs
9810
9811 2005-12-07  Wim Taymans  <wim@fluendo.com>
9812
9813         * tests/check/Makefile.am:
9814         And add the struct_i386.h to dist.
9815
9816 2005-12-07  Wim Taymans  <wim@fluendo.com>
9817
9818         * tests/check/Makefile.am:
9819         * tests/check/gst/.cvsignore:
9820         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
9821         (main):
9822         * tests/check/gst/struct_i386.h:
9823         Added check for ABI compatibility.
9824
9825 2005-12-07  Wim Taymans  <wim@fluendo.com>
9826
9827         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9828         (gst_fake_src_get_times), (gst_fake_src_create):
9829         Fix broken sync option, fixes #323259
9830
9831 2005-12-07  Wim Taymans  <wim@fluendo.com>
9832
9833         * gst/gstbuffer.c:
9834         Small docs update.
9835
9836         * gst/gstcaps.c: (gst_caps_is_equal):
9837         Don't assert on NULL <--> X. Fixes #323260
9838
9839         * gst/gstminiobject.c: (gst_mini_object_replace):
9840         If we're doing atomic operations, we might just as well use
9841         the proper way to get an atomic pointer.
9842
9843         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9844         Clean up debugging.
9845
9846 2005-12-07  Michael Smith  <msmith@fluendo.com>
9847
9848         * gst/parse/grammar.y:
9849           Remove handling of { } for threads.
9850
9851 2005-12-06  David Schleef  <ds@schleef.org>
9852
9853         * libs/gst/base/gstbasetransform.c: speling fix.
9854
9855 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9856
9857         * docs/libs/tmpl/gstdataprotocol.sgml:
9858         * docs/random/omega/testing/gstobject.c:
9859         * gst/gst.c:
9860         * gst/gstclock.c:
9861         * gst/gstelement.c:
9862         * gst/gstelementfactory.c:
9863         * gst/gsterror.c:
9864         * gst/gstevent.c:
9865         * gst/gstghostpad.c:
9866         * gst/gstinfo.c:
9867         * gst/gstpadtemplate.c:
9868         * gst/gstregistryxml.c:
9869         * gst/gsttaglist.c:
9870         * gst/gsttagsetter.c:
9871         * gst/gsttypefind.c:
9872         * gst/gstvalue.c:
9873         * libs/gst/base/gstbasesrc.c:
9874         * libs/gst/net/gstnetclientclock.c:
9875         * libs/gst/net/gstnettimeprovider.c:
9876         * plugins/elements/gstfakesrc.c:
9877         * plugins/elements/gstfdsrc.c:
9878         * plugins/elements/gstfilesrc.c:
9879         * plugins/elements/gstidentity.c:
9880         * plugins/elements/gstqueue.c:
9881         * plugins/elements/gsttypefindelement.c:
9882         * plugins/indexers/gstfileindex.c:
9883         * plugins/indexers/gstmemindex.c:
9884         * tests/check/gst/gsttag.c:
9885         * tests/old/examples/cutter/cutter.c:
9886         * tests/old/examples/mixer/mixer.c:
9887         * tests/old/examples/xml/runxml.c: (main):
9888         * tests/old/testsuite/caps/normalisation.c:
9889         * tests/old/testsuite/debug/global.c:
9890         * tests/old/testsuite/parse/parse1.c:
9891         * tools/gst-xmlinspect.c:
9892         * win32/common/dirent.c:
9893           expand tabs
9894
9895 === release 0.10.0 ===
9896
9897 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9898
9899         * configure.ac:
9900           releasing 0.10.0, "Maroilles"
9901
9902 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9903
9904         submitted by: Funda Wang <fundawang@linux.net.cn>
9905
9906         * po/LINGUAS:
9907         * po/zh_CN.po:
9908           added Chinese (Traditional) translation
9909
9910 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9911
9912         * docs/gst/gstreamer-sections.txt:
9913         * docs/libs/tmpl/gstdataprotocol.sgml:
9914         * docs/random/thomasvs/TODO:
9915         * gst/gstutils.c:
9916         * gst/gstutils.h:
9917           fix docs
9918
9919 2005-12-05  Andy Wingo  <wingo@pobox.com>
9920
9921         patch by: Wim Taymans <wim@fluendo.com>
9922
9923         * libs/gst/base/gstbasetransform.c
9924         (gst_base_transform_prepare_output_buf)
9925         (gst_base_transform_buffer_alloc):
9926         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
9927         alloc_buffer_and_set_caps.
9928
9929         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
9930         set_caps on the source pad.
9931         (gst_pad_alloc_buffer_and_set_caps): New function, does what
9932         alloc_buffer used to do. Fixes #322874.
9933
9934         * docs/gst/gstreamer-sections.txt: 
9935         * docs/design/part-negotiation.txt: 
9936         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
9937         changes.
9938
9939 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9940
9941         patch by: Sebastien Moutte
9942
9943         * win32/MANIFEST:
9944         * win32/common/config.h.in:
9945         * win32/vs6/libgstcontroller.dsp:
9946           win32 build fixes
9947
9948 2005-12-05  Wim Taymans  <wim@fluendo.com>
9949
9950         * gst/gstcaps.c: (gst_caps_is_equal):
9951         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9952         (gst_fake_src_create):
9953         Back out previous code changes, leave doc updates, file bugs 
9954         instead. 
9955
9956 2005-12-05  Wim Taymans  <wim@fluendo.com>
9957
9958         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9959         (gst_fake_src_get_times), (gst_fake_src_create):
9960         * plugins/elements/gstfakesrc.h:
9961         Fix broken sync code.
9962
9963 2005-12-05  Wim Taymans  <wim@fluendo.com>
9964
9965         * gst/gstcaps.c: (gst_caps_is_equal):
9966         Comparing NULL against !NULL yields different caps, not a
9967         failure.
9968
9969 2005-12-05  Wim Taymans  <wim@fluendo.com>
9970
9971         * gst/gstpipeline.c:
9972         Fix small typo in docs.
9973
9974 2005-12-05  Andy Wingo  <wingo@pobox.com>
9975
9976         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
9977
9978         * gst/gst.c (init_post): remove hard-coded 0.9 location for
9979         registries/plugins with a MAJORMINOR one.
9980         (plugin_desc): Rename library from gstcoreleements to
9981         staticelements. Fixes #323222.
9982
9983 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
9984
9985         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
9986           Change debug category to 'collectpads' from 'collect_pads'
9987           (fixes #323250).
9988
9989 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9990
9991         patch by: Sebastien Moutte
9992
9993         * libs/gst/controller/gstinterpolation.c:
9994           use convert function for uint64/double
9995         * win32/vs6/libgstcontroller.dsp:
9996           link to GLib
9997
9998 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9999
10000         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
10001         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
10002         * gst/gstutils.h:
10003         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10004           add tests that seem to show that the guint64/gdouble conversions
10005           are correct.
10006
10007 2005-12-02  Wim Taymans  <wim@fluendo.com>
10008
10009         * gst/gstregistry.c: (gst_registry_add_path):
10010         * gst/gstregistry.h:
10011         * gst/gstregistryxml.c:
10012         Fix docs again.
10013
10014 2005-12-02  Wim Taymans  <wim@fluendo.com>
10015
10016         * gst/gstutils.c: (gst_util_uint64_scale_int64),
10017         (gst_util_uint64_scale_int):
10018         Small cleanup.
10019
10020         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10021         Add debug log line.
10022
10023         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
10024         Add FIXME.
10025
10026 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10027
10028         * win32/MANIFEST:
10029         * win32/common/config.h:
10030         * win32/vs6/gstreamer.dsw:
10031         * win32/vs6/libgstcoreelements.dsp:
10032         * win32/vs6/libgstelements.dsp:
10033           renamed core elements plugin
10034
10035 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10036
10037         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
10038         (get_candidates):
10039           do piece-wise major/minor comparison so 0.9 < 0.10
10040           also allow .exe extensions for tools
10041
10042 2005-12-02  Michael Smith  <msmith@fluendo.com>
10043
10044         * gst/gst.c:
10045           Escape a % to make gtkdoc happier; bug 322958.
10046
10047 === release 0.9.7 ===
10048
10049 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10050
10051         * configure.ac:
10052           releasing 0.9.7, "My Dog Has No Nose"
10053
10054 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10055
10056         * common/gst-xmlinspect.py:
10057         * configure.ac:
10058         * docs/libs/tmpl/gstdataprotocol.sgml:
10059         * docs/random/release:
10060         * po/af.po:
10061         * po/az.po:
10062         * po/bg.po:
10063         * po/ca.po:
10064         * po/cs.po:
10065         * po/de.po:
10066         * po/en_GB.po:
10067         * po/fr.po:
10068         * po/it.po:
10069         * po/nb.po:
10070         * po/nl.po:
10071         * po/ru.po:
10072         * po/sq.po:
10073         * po/sr.po:
10074         * po/sv.po:
10075         * po/tr.po:
10076         * po/uk.po:
10077         * po/vi.po:
10078         * win32/common/config.h:
10079         * win32/common/config.h.in:
10080         * win32/vs6/gst_inspect.dsp:
10081         * win32/vs6/gst_launch.dsp:
10082         * win32/vs6/libgstbase.dsp:
10083         * win32/vs6/libgstelements.dsp:
10084         * win32/vs6/libgstreamer.dsp:
10085         * win32/vs7/GStreamer.vcproj:
10086         * win32/vs7/gst-inspect.vcproj:
10087         * win32/vs7/gst-launch.vcproj:
10088         * win32/vs7/libgstbase.vcproj:
10089           bump GST_MAJORMINOR to 0.10
10090           reset libtool version
10091
10092 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10093
10094         * po/LINGUAS:
10095         * po/bg.po:
10096           Added Bulgarian translation by (Alexander Shopov)
10097
10098 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10099
10100         * tests/check/gst/gstplugin.c:
10101           fix test
10102
10103 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10104
10105         * common/gst-xmlinspect.py:
10106         * common/gtk-doc-plugins.mak:
10107         * configure.ac:
10108         * docs/Makefile.am:
10109         * docs/gst/Makefile.am:
10110         * docs/gst/gstreamer-docs.sgml:
10111         * docs/gst/gstreamer-sections.txt:
10112         * docs/gst/gstreamer.types:
10113         * docs/gst/gstreamer.types.in:
10114         * docs/plugins/Makefile.am:
10115         * docs/plugins/gstreamer-plugins-docs.sgml:
10116         * docs/plugins/gstreamer-plugins-sections.txt:
10117         * docs/plugins/gstreamer-plugins.types:
10118         * docs/plugins/inspect.stamp:
10119         * docs/plugins/inspect/plugin-coreelements.xml:
10120         * docs/plugins/inspect/plugin-coreindexers.xml:
10121         * docs/plugins/scanobj-build.stamp:
10122         * gstreamer.spec.in:
10123         * plugins/elements/Makefile.am:
10124         * plugins/elements/gstelements.c:
10125         * plugins/elements/gstfakesink.c:
10126         * plugins/elements/gstfakesrc.c:
10127         * plugins/elements/gstfilesink.c:
10128         * plugins/elements/gstfilesrc.c:
10129         * plugins/elements/gstqueue.c:
10130         * plugins/indexers/Makefile.am:
10131         * plugins/indexers/gstindexers.c:
10132           document core plugins in a separate document just like all the
10133           others
10134           rename these plugins to something starting with core
10135
10136 2005-12-01  Andy Wingo  <wingo@pobox.com>
10137
10138         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
10139         padding here before, but it missed the commit.
10140
10141 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10142
10143         * libs/gst/controller/gstinterpolation.c:
10144           whitespace prices have crashed, we should feel free to use some now
10145           use gst_guint64_to_gdouble
10146
10147 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10148
10149         * libs/gst/controller/gstcontroller.c:
10150         * libs/gst/controller/gsthelper.c:
10151         * libs/gst/controller/gstinterpolation.c:
10152         * libs/gst/controller/lib.c:
10153           wrap config.h include
10154
10155 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10156
10157         * docs/gst/gstreamer-sections.txt:
10158           update docs
10159
10160 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10161
10162         * plugins/elements/gstelements.c:
10163         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
10164         (gst_fd_sink__class_init), (gst_fd_sink__init),
10165         (gst_fd_sink__chain), (gst_fd_sink__set_property),
10166         (gst_fd_sink__get_property):
10167         * plugins/elements/gstfdsink.h:
10168         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
10169         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
10170         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
10171         (gst_fd_src_unlock), (gst_fd_src_set_property),
10172         (gst_fd_src_get_property), (gst_fd_src_create),
10173         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
10174         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
10175         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
10176         (gst_fd_src_uri_handler_init):
10177         * plugins/elements/gstfdsrc.h:
10178         * plugins/elements/gstqueue.c: (gst_queue_get_type):
10179           more anal cleanup
10180
10181 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10182
10183         * docs/gst/Makefile.am:
10184         * docs/gst/gstreamer.types.in:
10185         * gst/Makefile.am:
10186           fix the docs build
10187
10188 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10189
10190         * configure.ac:
10191         * gst/Makefile.am:
10192         * gst/gst.c:
10193         * gst/gstplugin.h:
10194         * gst/gstregistry.h:
10195         * tests/benchmarks/complexity.c:
10196         * tests/benchmarks/mass-elements.c:
10197         * tests/check/Makefile.am:
10198         * tools/Makefile.am:
10199         * tools/gst-inspect.c:
10200         * tools/gst-xmlinspect.c:
10201           various fixes to make
10202           --disable-nls --disable-registry --disable-loadsave
10203           --disable-parse --disable-gst-debug
10204           work and get the core .so down to 360444 bytes after stripping
10205
10206 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10207
10208         * Makefile.am:
10209         * configure.ac:
10210           descend into tests
10211         * docs/random/thomasvs/TODO:
10212         * tests/Makefile.am:
10213         * tests/README:
10214           add a README
10215
10216 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10217
10218         * win32/GStreamer.vcproj:
10219         * win32/MANIFEST:
10220         * win32/Makefile:
10221         * win32/Makefile.inspect:
10222         * win32/Makefile.launch:
10223         * win32/Makefile.register:
10224         * win32/README.txt:
10225         * win32/gst-inspect.vcproj:
10226         * win32/gst-launch.vcproj:
10227         * win32/gst-register.vcproj:
10228         * win32/gstelements.vcproj:
10229         * win32/gstgetbits.def:
10230         * win32/gstgetbits.vcproj:
10231         * win32/gstreamer-dbg.def:
10232         * win32/gstreamer.def:
10233         * win32/libgstbase.def:
10234         * win32/libgstbase.vcproj:
10235         * win32/link_oldruntime.c:
10236         * win32/mman.c:
10237         * win32/mman.h:
10238         * win32/mman.inl:
10239         * win32/msvc71.sln:
10240           move even more stuff, win32/ is nice and clean now
10241
10242 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10243
10244         * libs/gst/control/.cvsignore:
10245         * win32/MANIFEST:
10246         * win32/config.h:
10247         * win32/dirent.c:
10248         * win32/dirent.h:
10249         * win32/gstbytestream.def:
10250         * win32/gstbytestream.vcproj:
10251         * win32/gstconfig.h:
10252         * win32/gstenumtypes.c:
10253         * win32/gstenumtypes.h:
10254         * win32/gstoptimalscheduler.vcproj:
10255         * win32/gstversion.h:
10256         * win32/gtchar.h:
10257         * win32/testsuite/bins.vcproj:
10258         * win32/testsuite/bytestream.vcproj:
10259         * win32/testsuite/caps.vcproj:
10260         * win32/testsuite/cleanup.vcproj:
10261         * win32/testsuite/clock.vcproj:
10262         * win32/testsuite/debug.vcproj:
10263         * win32/testsuite/dlopen.vcproj:
10264         * win32/testsuite/dynparams.vcproj:
10265         * win32/testsuite/elements.vcproj:
10266         * win32/testsuite/ghostpads.vcproj:
10267         * win32/testsuite/indexers.vcproj:
10268         * win32/testsuite/negotiation.vcproj:
10269         * win32/testsuite/parse.vcproj:
10270         * win32/testsuite/plugin.vcproj:
10271         * win32/testsuite/refcounting.vcproj:
10272         * win32/testsuite/schedulers.vcproj:
10273         * win32/testsuite/states.vcproj:
10274         * win32/testsuite/tags.vcproj:
10275         * win32/testsuite/threads.vcproj:
10276           remove old win32 stuff that isn't maintained and should be
10277           reorganized
10278
10279 2005-11-30  Andy Wingo  <wingo@pobox.com>
10280
10281         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
10282         loading the gst.interfaces python module bork.
10283
10284         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
10285         available since GLib 2.2. Fixes #318031.
10286
10287 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10288
10289         * Makefile.am:
10290         * check/.cvsignore:
10291         * check/Makefile.am:
10292         * check/elements/.cvsignore:
10293         * check/elements/fakesrc.c:
10294         * check/elements/fdsrc.c:
10295         * check/elements/identity.c:
10296         * check/generic/.cvsignore:
10297         * check/generic/states.c:
10298         * check/gst-libs/.cvsignore:
10299         * check/gst-libs/controller.c:
10300         * check/gst-libs/gdp.c:
10301         * check/gst/.cvsignore:
10302         * check/gst/capslist.h:
10303         * check/gst/gst.c:
10304         * check/gst/gstbin.c:
10305         * check/gst/gstbuffer.c:
10306         * check/gst/gstbus.c:
10307         * check/gst/gstcaps.c:
10308         * check/gst/gstelement.c:
10309         * check/gst/gstevent.c:
10310         * check/gst/gstghostpad.c:
10311         * check/gst/gstiterator.c:
10312         * check/gst/gstmessage.c:
10313         * check/gst/gstminiobject.c:
10314         * check/gst/gstobject.c:
10315         * check/gst/gstpad.c:
10316         * check/gst/gstpipeline.c:
10317         * check/gst/gstplugin.c:
10318         * check/gst/gstsegment.c:
10319         * check/gst/gststructure.c:
10320         * check/gst/gstsystemclock.c:
10321         * check/gst/gsttag.c:
10322         * check/gst/gstutils.c:
10323         * check/gst/gstvalue.c:
10324         * check/net/.cvsignore:
10325         * check/net/gstnetclientclock.c:
10326         * check/net/gstnettimeprovider.c:
10327         * check/pipelines/.cvsignore:
10328         * check/pipelines/cleanup.c:
10329         * check/pipelines/simple_launch_lines.c:
10330         * check/pipelines/stress.c:
10331         * check/states/.cvsignore:
10332         * check/states/sinks.c:
10333         * configure.ac:
10334         * examples/Makefile.am:
10335         * examples/appreader/.cvsignore:
10336         * examples/appreader/Makefile.am:
10337         * examples/appreader/appreader.c:
10338         * examples/controller/.cvsignore:
10339         * examples/controller/Makefile.am:
10340         * examples/controller/audio-example.c:
10341         * examples/cutter/.cvsignore:
10342         * examples/cutter/Makefile.am:
10343         * examples/cutter/cutter.c:
10344         * examples/cutter/cutter.h:
10345         * examples/events/Makefile.am:
10346         * examples/events/seek.c:
10347         * examples/helloworld/.cvsignore:
10348         * examples/helloworld/Makefile.am:
10349         * examples/helloworld/helloworld.c:
10350         * examples/helloworld2/.cvsignore:
10351         * examples/helloworld2/Makefile.am:
10352         * examples/helloworld2/helloworld2.c:
10353         * examples/launch/.cvsignore:
10354         * examples/launch/Makefile.am:
10355         * examples/launch/mp3parselaunch.c:
10356         * examples/launch/mp3play:
10357         * examples/manual/.cvsignore:
10358         * examples/manual/Makefile.am:
10359         * examples/manual/extract.pl:
10360         * examples/metadata/Makefile.am:
10361         * examples/metadata/read-metadata.c:
10362         * examples/mixer/.cvsignore:
10363         * examples/mixer/Makefile.am:
10364         * examples/mixer/mixer.c:
10365         * examples/mixer/mixer.h:
10366         * examples/pingpong/.cvsignore:
10367         * examples/pingpong/Makefile.am:
10368         * examples/pingpong/pingpong.c:
10369         * examples/plugins/.cvsignore:
10370         * examples/plugins/Makefile.am:
10371         * examples/plugins/example.c:
10372         * examples/plugins/example.h:
10373         * examples/pwg/.cvsignore:
10374         * examples/pwg/Makefile.am:
10375         * examples/pwg/extract.pl:
10376         * examples/queue/.cvsignore:
10377         * examples/queue/Makefile.am:
10378         * examples/queue/queue.c:
10379         * examples/queue2/.cvsignore:
10380         * examples/queue2/Makefile.am:
10381         * examples/queue2/queue2.c:
10382         * examples/queue3/.cvsignore:
10383         * examples/queue3/Makefile.am:
10384         * examples/queue3/queue3.c:
10385         * examples/queue4/.cvsignore:
10386         * examples/queue4/Makefile.am:
10387         * examples/queue4/queue4.c:
10388         * examples/retag/.cvsignore:
10389         * examples/retag/Makefile.am:
10390         * examples/retag/retag.c:
10391         * examples/retag/transcode.c:
10392         * examples/thread/.cvsignore:
10393         * examples/thread/Makefile.am:
10394         * examples/thread/thread.c:
10395         * examples/typefind/.cvsignore:
10396         * examples/typefind/Makefile.am:
10397         * examples/typefind/typefind.c:
10398         * examples/xml/.cvsignore:
10399         * examples/xml/Makefile.am:
10400         * examples/xml/createxml.c:
10401         * examples/xml/runxml.c:
10402         * tests/Makefile.am:
10403         * tests/check/Makefile.am:
10404         * testsuite/.cvsignore:
10405         * testsuite/Makefile.am:
10406         * testsuite/Rules:
10407         * testsuite/caps/.cvsignore:
10408         * testsuite/caps/Makefile.am:
10409         * testsuite/caps/app_fixate.c:
10410         * testsuite/caps/audioscale.c:
10411         * testsuite/caps/caps.c:
10412         * testsuite/caps/caps.h:
10413         * testsuite/caps/caps_strings:
10414         * testsuite/caps/compatibility.c:
10415         * testsuite/caps/deserialize.c:
10416         * testsuite/caps/enumcaps.c:
10417         * testsuite/caps/eratosthenes.c:
10418         * testsuite/caps/filtercaps.c:
10419         * testsuite/caps/fixed.c:
10420         * testsuite/caps/fraction-convert.c:
10421         * testsuite/caps/fraction-multiply-and-zero.c:
10422         * testsuite/caps/intersect2.c:
10423         * testsuite/caps/intersection.c:
10424         * testsuite/caps/normalisation.c:
10425         * testsuite/caps/random.c:
10426         * testsuite/caps/renegotiate.c:
10427         * testsuite/caps/sets.c:
10428         * testsuite/caps/simplify.c:
10429         * testsuite/caps/string-conversions.c:
10430         * testsuite/caps/structure.c:
10431         * testsuite/caps/subtract.c:
10432         * testsuite/caps/union.c:
10433         * testsuite/debug/.cvsignore:
10434         * testsuite/debug/Makefile.am:
10435         * testsuite/debug/category.c:
10436         * testsuite/debug/commandline.c:
10437         * testsuite/debug/global.c:
10438         * testsuite/debug/output.c:
10439         * testsuite/debug/printf_extension.c:
10440         * testsuite/dlopen/.cvsignore:
10441         * testsuite/dlopen/Makefile.am:
10442         * testsuite/dlopen/dlopen_gst.c:
10443         * testsuite/dlopen/loadgst.c:
10444         * testsuite/elements/.cvsignore:
10445         * testsuite/elements/Makefile.am:
10446         * testsuite/elements/gst-inspect-check.in:
10447         * testsuite/elements/struct_i386.h:
10448         * testsuite/elements/struct_size.c:
10449         * testsuite/indexers/.cvsignore:
10450         * testsuite/indexers/Makefile.am:
10451         * testsuite/indexers/cache1.c:
10452         * testsuite/indexers/indexdump.c:
10453         * testsuite/parse/.cvsignore:
10454         * testsuite/parse/Makefile.am:
10455         * testsuite/parse/parse1.c:
10456         * testsuite/parse/parse2.c:
10457         * testsuite/plugin/.cvsignore:
10458         * testsuite/plugin/Makefile.am:
10459         * testsuite/plugin/README:
10460         * testsuite/plugin/dynamic.c:
10461         * testsuite/plugin/linked.c:
10462         * testsuite/plugin/loading.c:
10463         * testsuite/plugin/registry.c:
10464         * testsuite/plugin/static.c:
10465         * testsuite/plugin/static2.c:
10466         * testsuite/plugin/testplugin.c:
10467         * testsuite/plugin/testplugin2.c:
10468         * testsuite/plugin/testplugin2_s.c:
10469         * testsuite/plugin/testplugin_s.c:
10470         * testsuite/refcounting/.cvsignore:
10471         * testsuite/refcounting/Makefile.am:
10472         * testsuite/refcounting/bin.c:
10473         * testsuite/refcounting/element.c:
10474         * testsuite/refcounting/element_pad.c:
10475         * testsuite/refcounting/mainloop.c:
10476         * testsuite/refcounting/mem.c:
10477         * testsuite/refcounting/mem.h:
10478         * testsuite/refcounting/object.c:
10479         * testsuite/refcounting/pad.c:
10480         * testsuite/refcounting/sched.c:
10481         * testsuite/refcounting/thread.c:
10482         * testsuite/states/.cvsignore:
10483         * testsuite/states/Makefile.am:
10484         * testsuite/states/bin.c:
10485         * testsuite/states/locked.c:
10486         * testsuite/states/parent.c:
10487         * testsuite/threads/.cvsignore:
10488         * testsuite/threads/159566.c:
10489         * testsuite/threads/159852.c:
10490         * testsuite/threads/Makefile.am:
10491         * testsuite/threads/queue.c:
10492         * testsuite/threads/signals.c:
10493         * testsuite/threads/staticrec.c:
10494         * testsuite/threads/thread.c:
10495         * testsuite/threads/threadb.c:
10496         * testsuite/threads/threadc.c:
10497         * testsuite/threads/threadd.c:
10498         * testsuite/threads/threade.c:
10499         * testsuite/threads/threadf.c:
10500         * testsuite/threads/threadg.c:
10501         * testsuite/threads/threadh.c:
10502         * testsuite/threads/threadi.c:
10503           move all of these under tests
10504
10505 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10506
10507         * configure.ac:
10508         * tests/Makefile.am:
10509           fix distcheck
10510
10511 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10512
10513         * docs/gst/gstreamer-sections.txt:
10514         * tests/sched/.cvsignore:
10515         * tests/sched/Makefile.am:
10516         * tests/sched/cases/(fs-fs).xml:
10517         * tests/sched/cases/(fs-i-fs).xml:
10518         * tests/sched/cases/(fs-i-i-fs).xml:
10519         * tests/sched/cases/(fs-i-q[i-fs]).xml:
10520         * tests/sched/dynamic-pipeline.c:
10521         * tests/sched/interrupt1.c:
10522         * tests/sched/interrupt2.c:
10523         * tests/sched/interrupt3.c:
10524         * tests/sched/runtestcases:
10525         * tests/sched/runxml.c:
10526         * tests/sched/sched-stress.c:
10527         * tests/sched/sort.c:
10528         * tests/sched/testcases:
10529         * tests/sched/testcases1.tc:
10530         * tests/seeking/.cvsignore:
10531         * tests/seeking/Makefile.am:
10532         * tests/seeking/seeking1.c:
10533         * tests/threadstate/.cvsignore:
10534         * tests/threadstate/Makefile.am:
10535         * tests/threadstate/test1.c:
10536         * tests/threadstate/test2.c:
10537         * tests/threadstate/threadstate1.c:
10538         * tests/threadstate/threadstate2.c:
10539         * tests/threadstate/threadstate3.c:
10540         * tests/threadstate/threadstate4.c:
10541         * tests/threadstate/threadstate5.c:
10542           remove obsolete tests
10543         * configure.ac:
10544         * tests/bench-complexity.scm:
10545         * tests/bench-mass_elements.scm:
10546         * tests/complexity.c:
10547         * tests/complexity.gnuplot:
10548         * tests/instantiate/.cvsignore:
10549         * tests/instantiate/Makefile.am:
10550         * tests/instantiate/caps.c:
10551         * tests/mass_elements.c:
10552         * tests/network-clock-utils.scm:
10553         * tests/network-clock.scm:
10554         * tests/plot-data:
10555         First pass at cleaning up tests/ dir before moving the rest
10556         Combined with CVS surgery
10557
10558 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10559
10560         * po/POTFILES.in:
10561           queue has moved, update
10562
10563 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10564
10565         * docs/gst/gstreamer-sections.txt:
10566           remove double entries from the docs
10567         * gst/gst_private.h:
10568         * gst/gstinfo.c: (_gst_debug_init):
10569           remove the THREAD debug category
10570         * gst/Makefile.am:
10571         * gst/gstqueue.c:
10572         * gst/gstqueue.h:
10573         * docs/gst/gstreamer.types:
10574         * plugins/elements/gstqueue.c: (gst_queue_get_type),
10575         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
10576           completely move queue and fix up debugging categories
10577
10578 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10579
10580         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10581           make initialization portable, using LL is not
10582
10583 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10584
10585         * win32/common/gstconfig.h:
10586           add large padding
10587
10588 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10589
10590         * win32/common/libgstreamer.def:
10591           rename symbols; sort base section
10592
10593 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10594
10595         * gst/gstclock.c: (do_linear_regression):
10596           remove crack non-portable handrolled DEBUG macro
10597
10598 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10599
10600         * docs/random/release:
10601           update notes
10602         * win32/common/gstenumtypes.c: (register_gst_object_flags),
10603         (gst_object_flags_get_type), (register_gst_bin_flags),
10604         (gst_bin_flags_get_type), (register_gst_buffer_flag),
10605         (gst_buffer_flag_get_type), (register_gst_bus_flags),
10606         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10607         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
10608         (gst_caps_flags_get_type), (register_gst_clock_return),
10609         (gst_clock_return_get_type), (register_gst_clock_entry_type),
10610         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10611         (gst_clock_flags_get_type), (register_gst_state),
10612         (gst_state_get_type), (register_gst_state_change_return),
10613         (gst_state_change_return_get_type), (register_gst_state_change),
10614         (gst_state_change_get_type), (register_gst_element_flags),
10615         (gst_element_flags_get_type), (register_gst_core_error),
10616         (gst_core_error_get_type), (register_gst_library_error),
10617         (gst_library_error_get_type), (register_gst_resource_error),
10618         (gst_resource_error_get_type), (register_gst_stream_error),
10619         (gst_stream_error_get_type), (register_gst_event_type_flags),
10620         (gst_event_type_flags_get_type), (register_gst_event_type),
10621         (gst_event_type_get_type), (register_gst_seek_type),
10622         (gst_seek_type_get_type), (register_gst_seek_flags),
10623         (gst_seek_flags_get_type), (register_gst_format),
10624         (gst_format_get_type), (register_gst_index_certainty),
10625         (gst_index_certainty_get_type), (register_gst_index_entry_type),
10626         (gst_index_entry_type_get_type),
10627         (register_gst_index_lookup_method),
10628         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10629         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10630         (gst_index_resolver_method_get_type), (register_gst_index_flags),
10631         (gst_index_flags_get_type), (register_gst_debug_level),
10632         (gst_debug_level_get_type), (register_gst_debug_color_flags),
10633         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10634         (gst_iterator_result_get_type), (register_gst_iterator_item),
10635         (gst_iterator_item_get_type), (register_gst_message_type),
10636         (gst_message_type_get_type), (register_gst_mini_object_flags),
10637         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10638         (gst_pad_link_return_get_type), (register_gst_flow_return),
10639         (gst_flow_return_get_type), (register_gst_activate_mode),
10640         (gst_activate_mode_get_type), (register_gst_pad_direction),
10641         (gst_pad_direction_get_type), (register_gst_pad_flags),
10642         (gst_pad_flags_get_type), (register_gst_pad_presence),
10643         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10644         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10645         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10646         (gst_plugin_error_get_type), (register_gst_plugin_flags),
10647         (gst_plugin_flags_get_type), (register_gst_rank),
10648         (gst_rank_get_type), (register_gst_query_type),
10649         (gst_query_type_get_type), (register_gst_tag_merge_mode),
10650         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10651         (gst_tag_flag_get_type), (register_gst_task_state),
10652         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10653         (gst_alloc_trace_flags_get_type),
10654         (register_gst_type_find_probability),
10655         (gst_type_find_probability_get_type), (register_gst_uri_type),
10656         (gst_uri_type_get_type), (register_gst_parse_error),
10657         (gst_parse_error_get_type):
10658         * win32/common/gstenumtypes.h:
10659         * win32/common/gstversion.h:
10660           update visual studio generated files
10661
10662 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10663
10664         * win32/vs6/libgstbase.dsp:
10665         * win32/vs6/libgstelements.dsp:
10666           update project files for new locations
10667
10668 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10669
10670         * Makefile.am:
10671           remove some files
10672         * README:
10673           reinstate and update
10674         * DEVEL:
10675         * REQUIREMENTS:
10676           removed
10677         * LICENSE:
10678         * docs/random/LICENSE:
10679           moved to random
10680
10681 2005-11-30  Edward Hervey  <edward@fluendo.com>
10682
10683         * gst/gsttypefind.c: (gst_type_find_register):
10684         * gst/gsttypefind.h:
10685         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
10686         (gst_type_find_factory_dispose):
10687         * gst/gsttypefindfactory.h:
10688         Fix memory leak in GstTypeFindFactory.
10689
10690 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10691
10692         * gst/gst.c:
10693         * plugins/elements/Makefile.am:
10694         * plugins/elements/gstelements.c:
10695         * plugins/elements/gstqueue.c:
10696           move queue from core to the elements plugin
10697
10698 2005-11-29  Andy Wingo  <wingo@pobox.com>
10699
10700         * libs/gst/base/gstbasetransform.h: 
10701         * libs/gst/base/gstbasesrc.h: 
10702         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
10703
10704         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
10705         of pointers by which to pad very extensible base classes (like the
10706         ones in libs/gst/base).
10707
10708 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10709
10710         * docs/gst/gstreamer-docs.sgml:
10711         * docs/gst/gstreamer-sections.txt:
10712         * docs/libs/gstreamer-libs-docs.sgml:
10713         * docs/libs/gstreamer-libs-sections.txt:
10714           moving documentation from core to lib
10715
10716 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10717
10718         * check/Makefile.am:
10719         * configure.ac:
10720         * docs/gst/Makefile.am:
10721         * gst/Makefile.am:
10722         * gst/base/.cvsignore:
10723         * gst/base/Makefile.am:
10724         * gst/base/README:
10725         * gst/base/gstadapter.c:
10726         * gst/base/gstadapter.h:
10727         * gst/base/gstbasesink.c:
10728         * gst/base/gstbasesink.h:
10729         * gst/base/gstbasesrc.c:
10730         * gst/base/gstbasesrc.h:
10731         * gst/base/gstbasetransform.c:
10732         * gst/base/gstbasetransform.h:
10733         * gst/base/gstcollectpads.c:
10734         * gst/base/gstcollectpads.h:
10735         * gst/base/gstpushsrc.c:
10736         * gst/base/gstpushsrc.h:
10737         * gst/base/gsttypefindhelper.c:
10738         * gst/base/gsttypefindhelper.h:
10739         * gst/check/Makefile.am:
10740         * gst/check/gstcheck.c:
10741         * gst/check/gstcheck.h:
10742         * gst/net/Makefile.am:
10743         * gst/net/gstnet.h:
10744         * gst/net/gstnetclientclock.c:
10745         * gst/net/gstnetclientclock.h:
10746         * gst/net/gstnettimepacket.c:
10747         * gst/net/gstnettimepacket.h:
10748         * gst/net/gstnettimeprovider.c:
10749         * gst/net/gstnettimeprovider.h:
10750         * libs/gst/Makefile.am:
10751         * libs/gst/base/Makefile.am:
10752         * libs/gst/base/gstbasetransform.c:
10753         * libs/gst/check/Makefile.am:
10754         * plugins/elements/Makefile.am:
10755         * po/POTFILES.in:
10756           CVS surgery + support to move base, check, and net out of gst
10757           and into libs/gst
10758
10759 2005-11-29  Andy Wingo  <wingo@pobox.com>
10760
10761         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
10762
10763         * gst/gststructure.h (struct _GstStructure): Only one pointer of
10764         padding.
10765
10766         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
10767
10768         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
10769
10770         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
10771
10772         * gst/gstobject.h: (struct _GstObject): Only one pointer of
10773         padding; reduces object size by about 30%. We don't expect
10774         anything else to go into gstobject.
10775
10776         * gst/gstminiobject.h (struct _GstMiniObject)
10777         (struct _GstMiniObjectClass): Only one pointer of padding; the
10778         payload is only a pointer and two ints anyway. For the class there
10779         are only two methods as well.
10780         
10781         * gst/gstelement.h (struct _GstElementClass): Removed
10782         the state_changed signal callback, it is not used.
10783
10784 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10785
10786         * docs/gst/gstreamer.types:
10787           fix includes, though they are a little dinky
10788
10789 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10790
10791         * check/Makefile.am:
10792           look in the right place for elements, a lot more chance of
10793           success
10794         * gst/Makefile.am:
10795           remove indexers and elements subdirs
10796         * plugins/Makefile.am:
10797           make indexers conditional
10798
10799 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10800
10801         * Makefile.am:
10802         * configure.ac:
10803         * plugins/elements/Makefile.am:
10804         * plugins/elements/gstcapsfilter.c:
10805         * plugins/elements/gstfilesink.c:
10806         * plugins/elements/gstfilesrc.c:
10807         * plugins/elements/gstidentity.c:
10808         * plugins/indexers/Makefile.am:
10809           do CVS surgery and related build fixery to move elements
10810           and indexers in a new gstreamer/plugins directory, out of the
10811           gst/ directory
10812
10813 2005-11-29  Andy Wingo  <wingo@pobox.com>
10814
10815         * check/Makefile.am:
10816         * pkgconfig/gstreamer-net-uninstalled.pc.in:
10817         * pkgconfig/gstreamer-net.pc.in:
10818         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
10819         #322257.
10820
10821 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10822
10823         * tools/Makefile.am:
10824         * tools/gst-complete.1.in:
10825         * tools/gst-complete.c:
10826         * tools/gst-compprep.1.in:
10827         * tools/gst-compprep.c:
10828           removing -compprep and -complete
10829
10830 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10831
10832         * gst/gstevent.c: (gst_event_new_new_segment),
10833         (gst_event_parse_new_segment):
10834         * gst/gstevent.h:
10835           fix #320529 - clean up new_segment API and structure.
10836           Let's hope everyone was using the methods, and not the structure.
10837
10838 2005-11-29  Edward Hervey  <edward@fluendo.com>
10839
10840         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10841         (gst_base_sink_event), (gst_base_sink_do_sync),
10842         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
10843         Properly handle non GST_FORMAT_TIME segment
10844         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
10845         Properly handle non GST_FORMAT_TIME segment
10846         * gst/gstsegment.c:
10847         This function is valid if the accumulator is 0 and the format
10848         is different from the requested format.
10849         
10850 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
10851
10852         * docs/gst/gstreamer-sections.txt:
10853         Add gst_query_new_seeking and gst_query_parse_seeking to the
10854         docs.
10855
10856 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
10857
10858         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
10859           Treat a pad alloc with new caps the same as if we were not
10860           negotiated, in order to allow a changing upstream output
10861           to produce a new format of data.
10862
10863 2005-11-29  Edward Hervey  <edward@fluendo.com>
10864
10865         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10866         (gst_base_transform_event), (gst_base_transform_eventfunc):
10867         The event virtual method is now properly implemented, with a default
10868         handler
10869         Sub classes should call the parent_class event method. They should
10870         return FALSE if they had a problem handling the given event, or don't
10871         want GstBaseTransform to send that even downstream
10872         * gst/elements/gstidentity.c: (gst_identity_class_init),
10873         (gst_identity_init), (gst_identity_event),
10874         (gst_identity_transform_ip), (gst_identity_set_property),
10875         (gst_identity_get_property):
10876         * gst/elements/gstidentity.h:
10877         Added the single-segment boolean property.
10878         If set to TRUE, it will output a single segment of data, starting from
10879         0, will eat up all incoming newsegment, and modify the timestamp of the
10880         buffers accordingly
10881
10882 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
10883
10884         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
10885           Don't ref NULL target pad (#322751). Improve docs.
10886
10887 2005-11-29  Michael Smith  <msmith@fluendo.com>
10888
10889         * gst/gstregistryxml.c: (load_plugin):
10890           Don't crash if we failed to load a feature from a plugin. 
10891
10892 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10893
10894         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10895         (GST_START_TEST):
10896           use more check API and less GLib API
10897
10898 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10899
10900         * Makefile.am:
10901           don't run checks if we don't have check
10902         * common/check.mak:
10903           remove the registry when running make torture
10904         * docs/gst/gstreamer-sections.txt:
10905           remove second multiply
10906         * gst/gstqueue.c: (gst_queue_loop):
10907           fix a compile warning when disabling debug
10908
10909 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
10910
10911         * gst/gstinfo.h:
10912         Hey! Let's print the pad name if the pointer != NULL instead
10913         of when it == NULL :-)
10914
10915 2005-11-28  Wim Taymans  <wim@fluendo.com>
10916
10917         * check/gst/gstutils.c: (GST_START_TEST):
10918         Updated check, add some scaling accuracy checking code.
10919
10920         * gst/gstutils.c: (gst_util_div128_64),
10921         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
10922         (gst_util_uint64_scale_int):
10923         Fix 6 times faster division code. Optimize for common 
10924         1/1 and less common X/1 cases.
10925
10926 2005-11-28  Wim Taymans  <wim@fluendo.com>
10927
10928         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10929         More checks.
10930
10931         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
10932         (do_linear_regression), (gst_clock_add_observation):
10933         Cleanups.
10934         Release lock when the clock cannot be slaved.
10935         Catch the case where the regression returned an invalid denominator.
10936
10937         * gst/gstutils.c: (gst_util_div128_64_iterate),
10938         (gst_util_div128_64), (gst_util_uint64_scale_int64),
10939         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10940         Add protentially more performant non-iterative 128/64 divide function
10941         that unfortunatly does not work yet.
10942         Shortcut the trivial 0/X = 0 case.
10943         Remove the warnings on overflow.
10944
10945 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10946
10947         * gst/gstplugin.c: (gst_plugin_register_func):
10948           everything causing a plugin not to load should be at least a WARNING
10949
10950 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
10951
10952         * docs/random/ensonic/dparams.txt:
10953           some TODOs for the next dev cycle
10954         * libs/gst/controller/gstcontroller.c:
10955         (gst_controlled_property_set_interpolation_mode),
10956         (gst_controlled_property_new):
10957         * libs/gst/controller/gstcontroller.h:
10958           use base type to assign acccessor functions
10959
10960 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
10961
10962         * check/Makefile.am:
10963         Oops, that should have been top_srcdir
10964
10965 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
10966
10967         * check/Makefile.am:
10968         * check/elements/fdsrc.c: (GST_START_TEST):
10969         Use a cmdline define to specify the location of a file to use for
10970         testing, to avoid breaking distcheck.
10971
10972 2005-11-28  Andy Wingo  <wingo@pobox.com>
10973
10974         * gst/gstpad.c (fixate_value): Use array functions for arrays.
10975
10976 2005-11-28  Edward Hervey  <edward@fluendo.com>
10977
10978         * tools/gst-launch.c: (main):
10979         Clarify the output strings, makes it easier to translate.
10980         Fixes #322626
10981
10982 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10983
10984         * gst/Makefile.am:
10985           don't try and build net if we don't even have <sys/socket.h>
10986
10987 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
10988
10989         * check/Makefile.am:
10990         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
10991         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
10992           Add tests for fdsrc seekability
10993
10994         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
10995         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
10996         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
10997         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
10998         * gst/elements/gstfdsrc.h:
10999           fdsrc should not be a 'live' source.
11000           Implement seeking on seekable fd's.
11001
11002         * gst/gstquery.c: (gst_query_new_seeking),
11003         (gst_query_parse_seeking):
11004         * gst/gstquery.h:
11005           Implement SEEKING query functions: 
11006             *_new_seeking and *_parse_seeking
11007
11008 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
11009
11010         * gst/gstelement.c: (gst_element_dispose):
11011           don't loop forever
11012
11013         * gst/gstiterator.c:
11014         * gst/gststructure.c:
11015           doc fixes
11016
11017         * libs/gst/controller/gstcontroller.c:
11018         (gst_controlled_property_set_interpolation_mode):
11019         * libs/gst/controller/gstcontroller.h:
11020         * libs/gst/controller/gstinterpolation.c:
11021         (interpolate_none_get_enum_value_array):
11022           support controlling enums
11023
11024 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
11025
11026         * gst/gstvalue.c:
11027           Improve documentation for gst_value_union().
11028
11029         * gst/gstvalue.h:
11030           Change return value for union, intersect and subtract functions
11031           from gint to gboolean.
11032
11033 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
11034
11035         * gst/gstvalue.c: (gst_value_serialize_any_list),
11036         (gst_value_transform_any_list_string),
11037         (gst_value_deserialize_list), (gst_value_deserialize_array),
11038         (gst_value_set_int_range), (gst_value_deserialize_int_range),
11039         (gst_value_set_double_range), (gst_value_deserialize_double_range),
11040         (gst_value_set_fraction_range_full),
11041         (gst_value_deserialize_fraction_range),
11042         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
11043         (gst_value_deserialize_boolean),
11044         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
11045         (gst_value_serialize_float), (gst_value_deserialize_float),
11046         (gst_string_wrap), (gst_value_deserialize_string),
11047         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
11048         (gst_value_union_int_range_int_range),
11049         (gst_value_intersect_int_range_int_range),
11050         (gst_value_intersect_double_range_double_range),
11051         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
11052         (gst_value_subtract_int_range_int_range),
11053         (gst_value_subtract_double_double_range),
11054         (gst_value_subtract_double_range_double_range),
11055         (gst_value_deserialize_fraction):
11056         * gst/gstvalue.h:
11057           Use gint, gdouble and gchar in our API instead of int, double and
11058           char (and make usage in gstvalue.c more consistent).
11059
11060 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
11061
11062         * check/Makefile.am:
11063         * libs/gst/controller/Makefile.am:
11064         * libs/gst/dataprotocol/Makefile.am:
11065           fix up Makefile.am and remove GST_ENABLE_NEW
11066
11067 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
11068
11069         * configure.ac:
11070         * gst/Makefile.am:
11071         * gst/base/Makefile.am:
11072         * gst/check/Makefile.am:
11073         * gst/elements/Makefile.am:
11074         * gst/net/Makefile.am:
11075           update LDFLAGS use some more
11076
11077 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
11078
11079         * common/m4/gst-doc.m4:
11080           Fixes #312589
11081
11082 2005-11-26  Edward Hervey  <edward@fluendo.com>
11083
11084         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11085         This shouldn't issue a g_warning since it returns NULL if it
11086         couldn't find the plugin, and all functions using this behave
11087         properly on a NULL return. Switching to a GST_WARNING.
11088
11089 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
11090
11091         * gst/gstbin.c: (gst_bin_handle_message_func):
11092         Don't leak clock messages.
11093
11094 2005-11-25  Wim Taymans  <wim@fluendo.com>
11095
11096         * gst/gstutils.c: (gst_util_uint64_scale_int64),
11097         (gst_util_uint64_scale_int):
11098         Optimisations, remove unneeded vars.
11099
11100 2005-11-25  Wim Taymans  <wim@fluendo.com>
11101
11102         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11103         Added more checks for the high precision uint64 cases.
11104
11105         * gst/gstutils.c: (gst_util_uint64_scale_int64),
11106         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
11107         Implement high precision (guint64 * guint64) / guint64.
11108
11109 2005-11-24  Wim Taymans  <wim@fluendo.com>
11110
11111         * gst/base/gstbasesrc.c: (gst_base_src_query):
11112         Fix wrong percentage query.
11113
11114         * gst/gstutils.c: (gst_util_uint64_scale),
11115         (gst_util_uint64_scale_int):
11116         Add some more common cases that can be handled 
11117         efficiently to _scale.
11118
11119 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11120
11121         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
11122         (gst_mini_object_suite):
11123           don't use check calls from threads; check probably isn't
11124           threadsafe and using a lock to make it threadsafe would
11125           defeat the purpose of this check
11126         * gst/check/gstcheck.c:
11127         * gst/check/gstcheck.h:
11128           use GST_DEBUG some more
11129
11130 2005-11-24  Wim Taymans  <wim@fluendo.com>
11131
11132         * gst/gstutils.c: (gst_util_uint64_scale),
11133         (gst_util_uint64_scale_int):
11134         Chain trivial case to _scale_int.
11135
11136 2005-11-24  Wim Taymans  <wim@fluendo.com>
11137
11138         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11139         Added test for scaling.
11140
11141         * gst/gstclock.h:
11142         Small doc fix.
11143
11144         * gst/gstutils.c: (gst_util_uint64_scale_int):
11145         Implemented high precision scaling code.
11146
11147 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
11148
11149         * gst/gstinfo.h:
11150           do not crash on pad==NULL
11151
11152 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11153
11154         Patch by: Stefan Kost
11155
11156         * common/gtk-doc.mak:
11157         * docs/gst/Makefile.am:
11158         * docs/libs/Makefile.am:
11159           Fix distcheck issues for the libraries docs build
11160           Closes #319599.
11161
11162 2005-11-24  Michael Smith <msmith@fluendo.com>
11163
11164         * docs/manual/basics-helloworld.xml:
11165           Fix bug #315027: memory leak in example code in docs.
11166
11167 2005-11-24  Michael Smith <msmith@fluendo.com>
11168
11169         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11170           Unlock the PREROLL_LOCK in a failure case.
11171
11172 2005-11-24  Wim Taymans  <wim@fluendo.com>
11173
11174         * docs/gst/gstreamer-sections.txt:
11175         * gst/base/gstadapter.h:
11176         * gst/base/gstbasesink.h:
11177         * gst/base/gstbasesrc.h:
11178         * gst/base/gstbasetransform.h:
11179         * gst/base/gstpushsrc.h:
11180         * gst/elements/gstfakesink.h:
11181         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
11182         * gst/elements/gstfakesrc.h:
11183         * gst/elements/gstfilesink.h:
11184         * gst/elements/gstfilesrc.h:
11185         * gst/gst.c:
11186         * gst/gstbin.c:
11187         * gst/gstbuffer.c: (_gst_buffer_copy):
11188         * gst/gstbus.h:
11189         * gst/gstcaps.c:
11190         * gst/gstchildproxy.c:
11191         * gst/gstclock.c:
11192         * gst/gstelement.c:
11193         * gst/gstelementfactory.c:
11194         * gst/gstelementfactory.h:
11195         * gst/gstevent.c:
11196         * gst/gstghostpad.h:
11197         * gst/gstindex.h:
11198         * gst/gstinterface.h:
11199         * gst/gstminiobject.c:
11200         * gst/gstminiobject.h:
11201         * gst/gstpad.c:
11202         * gst/gstpad.h:
11203         * gst/gstpadtemplate.h:
11204         * gst/gstpipeline.h:
11205         * gst/gstpluginfeature.h:
11206         * gst/gstquery.h:
11207         * gst/gstqueue.h:
11208         * gst/gsttaglist.c:
11209         * gst/gsttaglist.h:
11210         * gst/gsttagsetter.c:
11211         * gst/gsttagsetter.h:
11212         * gst/gsttrace.c:
11213         * gst/gsttrace.h:
11214         * gst/gsttypefind.h:
11215         * gst/gsturi.h:
11216         * gst/gstvalue.c:
11217         * gst/net/gstnetclientclock.c:
11218         * gst/net/gstnetclientclock.h:
11219         * gst/net/gstnettimepacket.c:
11220         * gst/net/gstnettimeprovider.c:
11221         * gst/net/gstnettimeprovider.h:
11222         Doc fixes.
11223
11224 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
11225
11226         * configure.ac: back to HEAD
11227
11228 === release 0.9.6 ===
11229
11230 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
11231
11232         * configure.ac:
11233           releasing 0.9.6, "Always On Time"
11234
11235 2005-11-23  Wim Taymans  <wim@fluendo.com>
11236
11237         * docs/gst/gstreamer-sections.txt:
11238         * gst/glib-compat.c:
11239         * gst/gsttagsetter.c:
11240         * gst/gstvalue.c:
11241         * gst/net/gstnetclientclock.c:
11242         * gst/net/gstnettimepacket.h:
11243         Doc updates.
11244
11245 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
11246
11247         * docs/faq/using.xml:
11248         * docs/libs/tmpl/gstcontrol.sgml:
11249         * docs/manual/advanced-dparams.xml:
11250         * docs/manual/appendix-checklist.xml:
11251         * docs/manual/basics-elements.xml:
11252         * docs/pwg/other-source.xml:
11253         * docs/random/moving-plugins:
11254         * gst/gstpad.c:
11255         * tools/gst-launch.1.in:
11256           remove mentions of sinesrc
11257
11258 2005-11-23  Michael Smith <msmith@fluendo.com>
11259
11260         * docs/gst/gstreamer-sections.txt:
11261           Update for new API and API changes.
11262         * gst/gstobject.h:
11263           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
11264         * gst/gstvalue.c:
11265           Documentation typo fix.
11266         * gst/net/gstnettimepacket.c:
11267           Documentation fixes for arguments.
11268
11269 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
11270
11271         * gst/gststructure.c: (gst_structure_get_fraction),
11272         (gst_structure_parse_value),
11273         (gst_structure_fixate_field_nearest_fraction):
11274         * gst/gststructure.h:
11275         * gst/gstutils.c: (gst_util_uint64_scale_int):
11276         * gst/gstutils.h:
11277         * scripts/update-funcnames:
11278         API Changes. 
11279         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
11280         Make gst_structure_fixate_field_nearest_fraction take a numerator
11281         and denominator argument instead of a GValue
11282         add gst_structure_get_fraction helper function.
11283
11284 2005-11-23  Wim Taymans  <wim@fluendo.com>
11285
11286         * docs/design/part-TODO.txt:
11287         Update TODO.
11288
11289         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11290         * gst/net/gstnetclientclock.h:
11291         Use parent fields for timeout and window_size.
11292
11293 2005-11-23  Andy Wingo  <wingo@pobox.com>
11294
11295         * check/net/gstnetclientclock.c (test_functioning): Adjust to
11296         rate_num/rate_denom change.
11297
11298         * gst/net/gstnetclientclock.c
11299         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
11300         OBJECT_LOCK. Don't call add_observation with the lock.
11301
11302         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
11303         fraction.
11304         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
11305         rate fraction.
11306         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
11307         deal with rate as a fraction whose numerator and denominator are
11308         GstClockTime values.
11309         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
11310         master; the other fields are protected by the SLAVE_LOCK.
11311         (do_linear_regression): Note that this must be called with the
11312         SLAVE_LOCK.
11313         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
11314         OBJECT_LOCK. Call set_calibration instead of touching the
11315         variables directly.
11316         (gst_clock_set_property, gst_clock_get_property): Protect
11317         master/slave parameters with the SLAVE_LOCK.
11318
11319         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
11320         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
11321         note that all of the instance variables that add_observation and
11322         the set_master functions use are protected by that lock and not
11323         the OBJECT_LOCK.
11324         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
11325
11326         * gst/gstclock.c (gst_clock_add_observation): No longer requires
11327         the caller to take the object lock.
11328
11329 2005-11-23  Wim Taymans  <wim@fluendo.com>
11330
11331         * gst/gsterror.c: (_gst_core_errors_init):
11332         * gst/gsterror.h:
11333         Add error for clock stuff.
11334
11335         * gst/gstpipeline.c: (gst_pipeline_change_state),
11336         (gst_pipeline_set_clock):
11337         Post clock error when clock cannot be used in a pipeline.
11338
11339 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
11340
11341         * docs/gst/gstreamer-sections.txt:
11342           make two symbols from gstinfo private for the docs
11343         * gst/base/gstcollectpads.h:
11344         * gst/gstutils.c:
11345           fix doc typos, update docs
11346
11347 2005-11-22  Wim Taymans  <wim@fluendo.com>
11348
11349         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11350         (gst_base_sink_wait), (gst_base_sink_do_sync),
11351         (gst_base_sink_handle_event):
11352         * gst/base/gstbasesink.h:
11353         No need to store the clock, the parent element class already
11354         has it.
11355
11356         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
11357         Updates for clock_set returning a gboolean
11358
11359         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
11360         (gst_clock_id_wait_async), (gst_clock_class_init),
11361         (gst_clock_init), (gst_clock_finalize),
11362         (gst_clock_get_internal_time), (gst_clock_get_time),
11363         (gst_clock_slave_callback), (gst_clock_set_master),
11364         (gst_clock_get_master), (do_linear_regression),
11365         (gst_clock_add_observation), (gst_clock_set_property),
11366         (gst_clock_get_property):
11367         * gst/gstclock.h:
11368         Implement master/slave. When setting a clock as a slave, a
11369         periodic timeout is scheduled to sample master and slave times.
11370         Then the slave clock is recalibrated to match offset and rate
11371         of the master clock.
11372         Update logging a bit.
11373         Add flag so that a clock can state that is cannot be slaved to
11374         another clock.
11375
11376         * gst/gstelement.c: (gst_element_set_clock):
11377         * gst/gstelement.h:
11378         The set clock returns a gboolean for when an element cannot
11379         deal with the selected clock in the pipeline. 
11380
11381         * gst/gstpipeline.c: (gst_pipeline_change_state),
11382         (gst_pipeline_set_clock):
11383         * gst/gstpipeline.h:
11384         Handle the case where the selected clock cannot be set on
11385         the pipeline.
11386
11387         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
11388         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
11389         (gst_net_client_clock_set_property),
11390         (gst_net_client_clock_get_property),
11391         (gst_net_client_clock_observe_times):
11392         * gst/net/gstnetclientclock.h:
11393         Use regression code in GstClock parent, remove duplicated
11394         functionality.
11395
11396 2005-11-22  Michael Smith <msmith@fluendo.com>
11397
11398         * gst/gstutils.c: (gst_util_clock_time_scale):
11399         * gst/gstutils.h:
11400         * docs/gst/gstreamer-sections.txt:
11401           Rename method to have extra underscore.
11402
11403 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11404
11405         * gst/elements/Makefile.am:
11406         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
11407         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11408         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
11409         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
11410         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
11411         * gst/elements/gstfakesrc.h:
11412         * gst/gstqueue.c: (queue_leaky_get_type):
11413           correctly fix GEnumValues so that nick is the short lowercase
11414           dashed tag
11415         * tools/gst-inspect.c: (print_element_properties_info):
11416           also show the nick, since it's useful to use from parse_launch
11417           syntax
11418           Fixes #322139
11419
11420 2005-11-22  Michael Smith <msmith@fluendo.com>
11421
11422         * gst/gstutils.c: (gst_util_clocktime_scale):
11423         * gst/gstutils.h:
11424         * docs/gst/gstreamer-sections.txt:
11425           Add util method for scaling a clocktime by a fraction. Useful 
11426           implementation is left as an exercise for the reader.
11427
11428 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11429
11430         * gst/gstvalue.c: (gst_value_collect_fraction_range):
11431         If needed, allocate storage in the destination value during
11432         collection.
11433
11434 2005-11-22  Edward Hervey  <edward@fluendo.com>
11435
11436         * docs/gst/gstreamer-sections.txt:
11437         * gst/Makefile.am:
11438         * gst/gst.h:
11439         * gst/gsturitype.c:
11440         * gst/gsturitype.h:
11441         * gst/gstutils.c: (gst_util_set_object_arg):
11442         * tools/gst-compprep.c: (main):
11443         * tools/gst-inspect.c: (print_element_properties_info):
11444         Removed GstURI, closes bug #321061
11445
11446 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11447
11448         * check/gst/gststructure.c: (GST_START_TEST):
11449         * gst/gststructure.c: (gst_structure_parse_value):
11450           Oops, broke automatic string type parsing.
11451           Add a test to catch it in future.
11452
11453 2005-11-22  Andy Wingo  <wingo@pobox.com>
11454
11455         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
11456         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
11457         Actually rename the function implementations. Grr.
11458
11459 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11460
11461         * check/gst/capslist.h:
11462           Comment test cases
11463         * check/gst/gststructure.c: (GST_START_TEST),
11464         (gst_structure_suite):
11465           Test automatic value type detection in gst_structure_from_string.
11466         * gst/gststructure.c: (gst_structure_parse_value):
11467           Add fraction as a type we try and guess automatically in
11468           caps/structure strings.
11469
11470 2005-11-22  Andy Wingo  <wingo@pobox.com>
11471
11472         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
11473
11474         * gst/gsttagsetter.h:
11475         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
11476         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
11477         (gst_tag_setter_add_tag_valist)
11478         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
11479         _add_values, _add_valist, and _add_valist_values. Since this is an
11480         interface the function suffixes should be more explicit so
11481         language binding don't end up with element.add_valist ->
11482         gst_tag_setter_add_valist, for example. Fixes #322069.
11483
11484 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11485
11486         * check/gst/gstcaps.c: (GST_START_TEST):
11487           Extend caps string tests to check that a caps to string
11488           conversion is reversible and produces the same caps.
11489
11490         * gst/gststructure.c: (gst_structure_value_get_generic_type):
11491           Output "fraction" as the generic type fraction range, so caps
11492           serialisation and deserialisation works.
11493         * check/gst/capslist.h:
11494         * gst/gstvalue.c: (gst_value_deserialize_fraction):
11495           Support 'MIN' and 'MAX' for deserialising fractions.
11496
11497 2005-11-22  Andy Wingo  <wingo@pobox.com>
11498
11499         * gst/gstevent.h (gst_event_new_new_segment)
11500         (gst_event_parse_new_segment, gst_event_new_buffer_size)
11501         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
11502         Renamed from *_newsegment, *_buffersize, *_notarget.
11503
11504         * scripts/update-funcnames: New script, performs the changes
11505         listed above.
11506
11507 2005-11-22  Wim Taymans  <wim@fluendo.com>
11508
11509         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11510         Make sure the GstFlowReturn is returned.
11511
11512         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
11513         (gst_bus_add_signal_watch):
11514         * gst/gstbus.h:
11515         add gst_bus_add_signal_watch_full.
11516
11517         * gst/gstplugin.c: (gst_plugin_load_file):
11518         Small style cleanup.
11519
11520 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11521
11522         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
11523           Block the fakesrc srcpad when we send an event, to avoid
11524           contention on the stream_lock causing random test failures.
11525
11526 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11527
11528         * check/gst/gstvalue.c: (GST_START_TEST):
11529         * gst/gstvalue.c: (gst_value_fraction_subtract):
11530           Fix subtraction.
11531
11532 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
11533
11534         * gst/gst.h:
11535           include "gstchildproxy.h"
11536         * gst/gstchildproxy.h:
11537         * libs/gst/controller/gstcontroller.h:
11538           use G_GNUC_NULL_TERMINATED
11539
11540 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11541
11542         * check/gst/capslist.h:
11543         * check/gst/gstcaps.c: (GST_START_TEST):
11544         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11545         * gst/gststructure.c: (gst_structure_parse_range),
11546         (gst_structure_fixate_field_nearest_fraction):
11547         * gst/gststructure.h:
11548         * gst/gstvalue.c: (gst_value_init_fraction_range),
11549         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
11550         (gst_value_collect_fraction_range),
11551         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
11552         (gst_value_set_fraction_range_full),
11553         (gst_value_get_fraction_range_min),
11554         (gst_value_get_fraction_range_max),
11555         (gst_value_serialize_fraction_range),
11556         (gst_value_transform_fraction_range_string),
11557         (gst_value_compare_fraction_range),
11558         (gst_value_deserialize_fraction_range),
11559         (gst_value_intersect_fraction_fraction_range),
11560         (gst_value_intersect_fraction_range_fraction_range),
11561         (gst_value_subtract_fraction_fraction_range),
11562         (gst_value_subtract_fraction_range_fraction),
11563         (gst_value_subtract_fraction_range_fraction_range),
11564         (gst_value_collect_fraction), (gst_value_fraction_multiply),
11565         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
11566         (gst_value_transform_string_fraction), (_gst_value_initialize):
11567         * gst/gstvalue.h:
11568           Implement fraction ranges and extend GstFraction to support
11569           arithmetic subtraction, as well as deserialization from integer
11570           strings such as "100"
11571           Add a testsuite as for int and double range set operations
11572
11573 2005-11-21  Andy Wingo  <wingo@pobox.com>
11574
11575         * gst/gsttaglist.h: 
11576         * gst/gstcaps.h: 
11577         * gst/gststructure.h: Add glib-compat.h.
11578
11579 2005-11-21  Wim Taymans  <wim@fluendo.com>
11580
11581         * gst/gstbin.c: (gst_bin_change_state_func):
11582         Fix for #321595
11583
11584 2005-11-21  Wim Taymans  <wim@fluendo.com>
11585
11586         * gst/gstsegment.h:
11587         And add a nice define too.
11588
11589 2005-11-21  Wim Taymans  <wim@fluendo.com>
11590
11591         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
11592         (gst_segment_new), (gst_segment_free), (gst_segment_init),
11593         (gst_segment_set_duration), (gst_segment_set_last_stop),
11594         (gst_segment_set_seek), (gst_segment_set_newsegment),
11595         (gst_segment_to_stream_time), (gst_segment_to_running_time),
11596         (gst_segment_clip):
11597         * gst/gstsegment.h:
11598         Make binding friendly.
11599
11600 2005-11-21  Andy Wingo  <wingo@pobox.com>
11601
11602         * gst/gsttagsetter.h: 
11603         * gst/gsttaglist.h: 
11604         * gst/gststructure.h: 
11605         * gst/gstcaps.h: 
11606         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
11607         #319940.
11608
11609         * gst/gsterror.c (_gst_core_errors_init):
11610         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
11611         category.
11612
11613         * gst/Makefile.am (gst_headers): Add glib-compat.h.
11614         (noinst_HEADERS): noinst the -private.
11615
11616 2005-11-21  Michael Smith <msmith@fluendo.com>
11617
11618         * gst/gstplugin.h:
11619         * gst/gstregistry.h:
11620           Remove unimplemented declarations for which we can see no sensible
11621           use.
11622
11623 2005-11-21  Andy Wingo  <wingo@pobox.com>
11624
11625         * gst/gst.h: Include glib-compat.h.
11626
11627         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
11628
11629         * gst/glib-compat.c: Include the public and the private header.
11630
11631         * gst/glib-compat-private.h: Copied here from glib-compat.h.
11632
11633         * gst/gstvalue.c: 
11634         * gst/gstpad.c: 
11635         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
11636
11637         * check/gst/gstevent.c (create_custom_events): Check that
11638         FLUSH_STOP is serialized.
11639
11640         * check/elements/identity.c (event_func): 
11641         * check/elements/fakesrc.c (event_func): No stream lock, the core
11642         takes it.
11643
11644         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
11645         stream lock taking, yay.
11646
11647         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
11648         ensure that core takes the stream lock.
11649
11650         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
11651         lock name change.
11652
11653         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
11654         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
11655         it already. For the flush start we do take it though so we get the
11656         right preroll state change messages.
11657
11658         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
11659         the stream lock here, the core does it for us.
11660
11661         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
11662         GST_STREAM_GET_LOCK.
11663         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
11664         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
11665         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
11666         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
11667         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
11668         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
11669
11670         * gst/gstpad.c: Update for stream lock name change.
11671
11672         * gst/base/gstbasesink.c: Update for preroll lock name change.
11673
11674 2005-11-21  Wim Taymans  <wim@fluendo.com>
11675
11676         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
11677         (gst_clock_get_master):
11678         * gst/gstclock.h:
11679         * gst/gstsystemclock.c: (gst_system_clock_init):
11680         Convert Clock flags to object flags.
11681         Added methods to manage master/slave clocks.
11682
11683 2005-11-21  Wim Taymans  <wim@fluendo.com>
11684
11685         * check/gst/gstsegment.c: (GST_START_TEST):
11686         * docs/design/part-TODO.txt:
11687         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11688         (gst_base_sink_event), (gst_base_sink_do_sync),
11689         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11690         (gst_base_sink_query), (gst_base_sink_change_state):
11691         * gst/base/gstbasesink.h:
11692         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
11693         (gst_base_src_default_newsegment),
11694         (gst_base_src_configure_segment), (gst_base_src_do_seek),
11695         (gst_base_src_get_range), (gst_base_src_loop),
11696         (gst_base_src_change_state):
11697         * gst/base/gstbasesrc.h:
11698         * gst/base/gstbasetransform.c:
11699         (gst_base_transform_prepare_output_buf),
11700         (gst_base_transform_event), (gst_base_transform_change_state):
11701         * gst/base/gstbasetransform.h:
11702         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11703         (gst_collect_pads_event):
11704         * gst/base/gstcollectpads.h:
11705         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
11706         (gst_fake_src_create):
11707         * gst/elements/gstfakesrc.h:
11708         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
11709         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11710         (gst_segment_set_last_stop), (gst_segment_set_seek),
11711         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11712         (gst_segment_to_running_time), (gst_segment_clip):
11713         * gst/gstsegment.h:
11714         More segment updates, replace code in plugins with segment
11715         helper functions.
11716
11717 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
11718
11719         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
11720         Don't ignore sscanf results
11721
11722 2005-11-21  Andy Wingo  <wingo@pobox.com>
11723
11724         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
11725
11726         * *.h:
11727         * *.c: Ran scripts/update-macros. Oh yes.
11728
11729         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
11730         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
11731         GST_GET_LOCK, etc.
11732
11733         * scripts/update-macros: New script. Run it on your files to
11734         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
11735         well.
11736
11737 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
11738
11739         * docs/gst/Makefile.am:
11740         * docs/gst/gstreamer-docs.sgml:
11741         * docs/gst/gstreamer-sections.txt:
11742         * docs/gst/gstreamer.types:
11743         * gst/gstinfo.h:
11744           more docs fixes, add new api to the docs
11745
11746 2005-11-21  Andy Wingo  <wingo@pobox.com>
11747
11748         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
11749         state_broadcast call.
11750
11751         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
11752
11753 2005-11-21  Julien MOUTTE  <julien@moutte.net>
11754
11755         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
11756         function calls for arrays.
11757
11758 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
11759
11760         * docs/random/ensonic/media-device-daemon.txt:
11761           wild idea, can this be done?
11762         * docs/gst/gstreamer-sections.txt:
11763         * gst/gsterror.h:
11764         * gst/gstfilter.c:
11765         * gst/gstfilter.h:
11766         * gst/gstplugin.h:
11767         * gst/gstpluginfeature.c:
11768         * gst/gsttrace.c:
11769         * gst/gstvalue.c:
11770         * gst/gstvalue.h:
11771           doc fixes and additions
11772
11773 2005-11-21  Andy Wingo  <wingo@pobox.com>
11774
11775         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
11776         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
11777         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
11778         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
11779         private to the basesrc implementation.
11780
11781         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
11782         behalf of event function if necessary. It should no longer be
11783         necessary to take the stream lock in pad's event functions. Fixes
11784         #320299.
11785
11786 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
11787         * docs/gst/gstreamer-sections.txt:
11788         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
11789         (gst_structure_fixate_field_nearest_double),
11790         (gst_structure_fixate_field_boolean):
11791         * gst/gststructure.h:
11792         * win32/common/libgstreamer.def:
11793         * win32/gstreamer.def:
11794
11795         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
11796         (#322027)
11797
11798 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
11799
11800         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
11801         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
11802         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
11803         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
11804         (gst_fdsrc_uri_handler_init):
11805         * gst/elements/gstfdsrc.h:
11806           Port fd:// URI handler from 0.8 to fdsrc
11807
11808 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11809
11810         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
11811         (gst_value_serialize_fourcc):
11812         * gst/gstvalue.h:
11813           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
11814           consistent with our other format defines (#320324).
11815
11816 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11817
11818         * gst/gstvalue.c: (gst_value_is_fixed):
11819           Revert previous commit. Value lists are by definition
11820           not fixed, as they are a list of possible values.
11821
11822 2005-11-21  Andy Wingo  <wingo@pobox.com>
11823
11824         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
11825         during the stable series if we need it. Fixes #319178.
11826
11827         * gst/gstevent.c (gst_event_new_filler): Removed.
11828
11829         * check/gst/gstevent.c: Update comment about filler events.
11830
11831 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11832
11833         * gst/gstvalue.c: (gst_value_is_fixed):
11834           Should handle both value arrays and value lists.
11835
11836 2005-11-21  Andy Wingo  <wingo@pobox.com>
11837
11838         patch by: Alessandro Dessina <alessandro nnva org>
11839
11840         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
11841         functions to access arrays. Fixes #321962.
11842
11843 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11844
11845         * docs/gst/gstreamer.types:
11846           gst_collectpads_get_type => gst_collect_pads_get_type.
11847           
11848         * gst/base/gstbasetransform.c:
11849           Remove unused SIGNAL_HANDOFF enum.
11850
11851 2005-11-21  Andy Wingo  <wingo@pobox.com>
11852
11853         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
11854         the event type (upstream, downstream, serialized). Renamed
11855         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
11856         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
11857         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
11858
11859         * gst/gstevent.c: Update for new CUSTOM event names.
11860
11861         * check/gst/gstevent.c: Update check for new CUSTOM event names.
11862
11863         * gst/gstevent.h:
11864         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
11865         bug #319392.
11866
11867 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11868
11869         * docs/gst/gstreamer-sections.txt:
11870         * win32/common/libgstbase.def:
11871         * win32/libgstbase.def:
11872         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11873         (gst_collect_pads_class_init), (gst_collect_pads_init),
11874         (gst_collect_pads_finalize), (gst_collect_pads_new),
11875         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
11876         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
11877         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
11878         (gst_collect_pads_start), (gst_collect_pads_stop),
11879         (gst_collect_pads_peek), (gst_collect_pads_pop),
11880         (gst_collect_pads_available), (gst_collect_pads_read),
11881         (gst_collect_pads_flush), (gst_collect_pads_event),
11882         (gst_collect_pads_chain):
11883         * gst/base/gstcollectpads.h:
11884           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
11885           unimplemented functions as unimplemented. Add padding to
11886           GstCollectData. (#320766, #320423)
11887
11888 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11889
11890         * gst/gstmessage.c:
11891           Improve docs for DURATION message (usage of duration parameter)
11892           (#320113)
11893
11894 2005-11-20  Wim Taymans  <wim@fluendo.com>
11895
11896         * check/Makefile.am:
11897         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
11898         (main):
11899         * gst/Makefile.am:
11900         * gst/gst.h:
11901         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11902         (gst_segment_set_seek), (gst_segment_set_newsegment),
11903         (gst_segment_to_stream_time), (gst_segment_to_running_time),
11904         (gst_segment_clip):
11905         * gst/gstsegment.h:
11906         Added segment helper structure and methods. Not fully implemented
11907         yet.
11908         Added segment check.
11909
11910 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
11911
11912         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11913           Add a deserialisation test for fractions
11914         * examples/metadata/read-metadata.c: (message_loop),
11915         (make_pipeline), (main):
11916           Fix up metadata reading sample.
11917         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11918           Debug format fix
11919         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
11920           Don't try and fixate empty caps
11921         * gst/gst_private.h:
11922           Wrap in G_BEGIN_DECLS/G_END_DECLS
11923         * gst/gstvalue.c: (gst_value_collect_fraction),
11924         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
11925         (gst_value_transform_string_fraction),
11926         (gst_value_compare_fraction):
11927           Add some extra guards to ensure that we don't end up 
11928           with an invalid denominator of 0 in a gstfraction and
11929           that fractions always get reduced.
11930
11931 2005-11-20  Wim Taymans  <wim@fluendo.com>
11932
11933         * docs/gst/gstreamer-sections.txt:
11934         * gst/gstbuffer.h:
11935         * gst/gstelement.c:
11936         * gst/gstformat.c:
11937         * gst/gstformat.h:
11938         * gst/gstindex.h:
11939         * gst/gstquery.c:
11940         * gst/gstquery.h:
11941         * gst/gstvalue.c:
11942         Doc fixes.
11943
11944 2005-11-20  Wim Taymans  <wim@fluendo.com>
11945
11946         * docs/design/part-TODO.txt:
11947         * gst/gstcaps.h:
11948         Make a proper enum of the flag.
11949
11950 2005-11-19  Wim Taymans  <wim@fluendo.com>
11951
11952         * docs/design/part-TODO.txt:
11953         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
11954         (gst_format_to_quark), (gst_format_register):
11955         * gst/gstformat.h:
11956         * gst/gstquery.c: (_gst_query_initialize),
11957         (gst_query_type_get_name), (gst_query_type_to_quark),
11958         (gst_query_type_register):
11959         * gst/gstquery.h:
11960         Add type to quark and type to string conversions.
11961
11962 2005-11-19  Andy Wingo  <wingo@pobox.com>
11963
11964         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
11965         #320097.
11966
11967 2005-11-19  Wim Taymans  <wim@fluendo.com>
11968
11969         * docs/design/part-TODO.txt:
11970         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
11971         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
11972         (gst_bin_handle_message_func):
11973         * gst/gstbin.h:
11974         Make message handling overridable.
11975
11976 2005-11-19  Andy Wingo  <wingo@pobox.com>
11977
11978         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
11979
11980         * gst/gstclock.h:
11981         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
11982         be a GstClockTime.
11983         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
11984         is a GstClockTime. Fixes #321710.
11985
11986         * gst/gstclock.h (GstClock): Remove offset property. Add
11987         internal_calibration and external_calibration. Fix padding. Pad
11988         also by GstClockTime so we don't run into problems.
11989
11990         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
11991         (gst_clock_get_rate_offset): Remove.
11992         (gst_clock_set_time_adjust): Remove. Fixes #321712.
11993
11994         * gst/gstutils.h:
11995         * gst/gstutils.c (g_static_rec_cond_wait)
11996         (g_static_rec_cond_timed_wait): Removed, no longer needed.
11997
11998         * gst/gstbin.c: Remove terrible continue_state prototype.
11999
12000         * gst/gstelement.h (gst_element_continue_state): Make public.
12001
12002         * gst/gstelement.h:
12003         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
12004         by continue_state. Fixes #319389.
12005
12006         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
12007         Really fixes #168438. However I don't see anywhere where the
12008         filter function is called... stupid GStreamer...
12009         
12010         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
12011         don't have a dispose function, so it won't get called when the
12012         object is unreffed, but oh well!
12013
12014         * gst/gstindex.c (gst_index_set_filter_full): New API function,
12015         allows a destroy function to be set so user_data can be freed.
12016         Fixes #168438.
12017         (gst_index_set_filter): Call gst_index_set_filter_full.
12018
12019         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
12020
12021         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
12022         string should produce an error, given the lack of a way to
12023         represent NULL strings. Fixes #165650.
12024         
12025         * gst/gstvalue.h: 
12026         * gst/gstvalue.c (gst_value_array_append_value) 
12027         (gst_value_array_prepend_value, gst_value_array_get_size) 
12028         (gst_value_array_get_value): New API, copied from
12029         gst_value_list_*, only operates on arrays.
12030         (gst_value_list_append_value, gst_value_list_prepend_value) 
12031         (gst_value_list_concat, gst_value_list_get_size) 
12032         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
12033
12034         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
12035         init_list, because it works on both.
12036         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
12037         (gst_value_copy_list_or_array): Renamed from copy_list.
12038         (gst_value_free_list_or_array): Renamed from free_list.
12039         (gst_value_collect_list_or_array): Renamed from collect_list.
12040         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
12041         (gst_value_list_or_array_peek_pointer): Renamed from
12042         list_peek_pointer.
12043         (_gst_value_array_value_table, _gst_value_list_value_table):
12044         Update value table functions.
12045         (gst_value_compare_list_or_array): Renamed from compare_list.
12046
12047         * gsttaglist.h: Whoops, foreach function returns void. Also fix
12048         some constness.
12049
12050         * gst/gsttaglist.c:
12051         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
12052         GstTagList*. Fixes #143472.
12053
12054         * gst/gststructure.h: Clarify what the foreach/map functions can
12055         or can't do to their arguments.
12056
12057 2005-11-18  Wim Taymans  <wim@fluendo.com>
12058
12059         * gst/gstclock.c: (gst_clock_set_calibration),
12060         (gst_clock_get_calibration):
12061         Doc and API fixes.
12062         Calibration can be set with internal time equal to current
12063         internal time too.
12064
12065 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
12066
12067         * gst/gsterror.c:
12068         * gst/gsterror.h:
12069           document
12070
12071 2005-11-18  Andy Wingo  <wingo@pobox.com>
12072
12073         * configure.ac: 
12074         * pkgconfig/gstreamer-net.pc.in:
12075         * pkgconfig/gstreamer-net-uninstalled.pc.in:
12076         * pkgconfig/Makefile.am: Add net pkgconfig files.
12077
12078 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
12079
12080         * gst/gstcaps.c:
12081         * gst/gstghostpad.c:
12082         * gst/gsttrace.c:
12083         * gst/gstvalue.c:
12084         * gst/gstvalue.h:
12085           docs fixes
12086
12087 2005-11-18  Andy Wingo  <wingo@pobox.com>
12088
12089         * gst/net/gstnetclientclock.c: Turn off debugging.
12090
12091         * check/net/gstnetclientclock.c (test_functioning): Assert that the
12092         times connverge somewhat. Can't make a real test.
12093
12094         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
12095         integer arithmetic. Return the minimum of the domain, which can be
12096         set as "internal" for gst_clock_set_calibration.
12097         (gst_net_client_clock_observe_times): Call _set_calibration.
12098         (gst_net_client_clock_new): Call _set_calibration instead of
12099         rate_offset.
12100
12101         * check/net/gstnetclientclock.c (test_functioning): Use the right
12102         adjustment api.
12103
12104         * gst/gstclock.h:
12105         * gst/gstclock.c (gst_clock_get_calibration) 
12106         (gst_clock_set_calibration): New functions, obsolete the ones I
12107         added yesterday. Doh. Precision issues mean we have to extrapolate
12108         from a point in the more recent past than 1970.
12109         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
12110         obsolete.
12111         (gst_clock_adjust_unlocked): Use the right calibration data.
12112
12113 2005-11-18  Edward Hervey  <edward@fluendo.com>
12114
12115         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
12116         Also reset the ->current_* values in READY->PAUSED
12117
12118 2005-11-18  Andy Wingo  <wingo@pobox.com>
12119
12120         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
12121         Whoops, check the right fd. Also add some debugging.
12122         (gst_net_client_clock_observe_times): Adjust for int64 offset.
12123         (do_linear_regression): Add a crapload of debugging. Subtract off
12124         the minimum values from the input series to discard unneeded bits.
12125         Use only int arithmetic. There is still double arithmetic when
12126         calculating the intercept that needs fixing. Return boolean to
12127         indicate success; FALSE would mean the domain or range is too
12128         great. Still needs fixes.
12129
12130 2005-11-18  Wim Taymans  <wim@fluendo.com>
12131
12132         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
12133         For the current position in stream time, we need to subtract
12134         accumulated time.
12135         
12136         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
12137         Release lock before calling the callback function of async
12138         entries.
12139
12140 2005-11-18  Andy Wingo  <wingo@pobox.com>
12141
12142         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
12143         Port goes all the way to MAXUINT16.
12144
12145         * gst/net/gstnettimeprovider.c: Make the port range the same as
12146         for the kernel: 0 assigns, otherwise ports are less than
12147         MAXUINT16.
12148
12149         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
12150         port change.
12151
12152         * check/net/gstnetclientclock.c (test_functioning): Add the start
12153         of another test. 
12154
12155 2005-11-18  Wim Taymans  <wim@fluendo.com>
12156
12157         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
12158         (gst_bin_remove_func), (bin_bus_handler):
12159         * gst/gstbin.h:
12160         Removing a clock provider from a bin, triggers a clock lost message
12161         so that a new clock will be selected.
12162         Adding a clock to a bin triggers a clock provider message.
12163         Make sure we reselect a clock when we received a clock lost message.
12164         Keep a reference to the element that provided the clock.
12165
12166 2005-11-18  Andy Wingo  <wingo@pobox.com>
12167
12168         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
12169         the clock initially so it produces values around the base time.
12170         (gst_net_client_clock_class_init): Typo fix.
12171         (gst_net_client_clock_thread): Add note on when the socket gets
12172         closed.
12173
12174 2005-11-17  Wim Taymans  <wim@fluendo.com>
12175
12176         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
12177         Free remote and local time arrays.
12178
12179 2005-11-17  Wim Taymans  <wim@fluendo.com>
12180
12181         * gst/net/gstnetclientclock.c: (do_linear_regression),
12182         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
12183         Fix compilation, uninitialized vars and a forgotten continue.
12184
12185 2005-11-17  Andy Wingo  <wingo@pobox.com>
12186
12187         * check/Makefile.am (check_PROGRAMS): 
12188         * check/net/gstnetclientclock.c: Add a most minimal test for the
12189         net client clock. More to come later.
12190
12191         * gst/net/gstnet.h: 
12192         * gst/net/Makefile.am: Add netclientclock.
12193
12194         * gst/net/gstnetclientclock.h:
12195         * gst/net/gstnetclientclock.c: New files, implement an untested
12196         GstClock that takes its time from a network time provider.
12197         Implements the algorithm in network-clock.scm.
12198
12199         * tests/network-clock.scm (*window-size*): Rename from
12200         *queue-length*.
12201         * tests/network-clock.scm (network-time): 
12202         * tests/network-clock-utils.scm (q-push): Update callers.
12203
12204 2005-11-17  Wim Taymans  <wim@fluendo.com>
12205
12206         * gst/gstbin.c: (gst_bin_provide_clock_func),
12207         (gst_bin_sort_iterator_new):
12208         And unref the child too..
12209
12210 2005-11-17  Wim Taymans  <wim@fluendo.com>
12211
12212         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12213         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
12214         Refactor the sort iterator so it can be used while holding the
12215         LOCK too.
12216         Make clock selection select a clock closest to the source.
12217
12218 2005-11-17  Michael Smith <msmith@fluendo.com>
12219
12220         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
12221         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
12222         * gst/gstclock.h:
12223           Anonymous structs are a gcc (and some other compilers) extension, so
12224           don't use them. Since this is only for ABI-compatibility, and our
12225           API/ABI freeze is over in a few days, this whole thing will only
12226           last a few days, so don't bother trying to think up a meaningful
12227           name for the struct.
12228
12229 2005-11-17  Andy Wingo  <wingo@pobox.com>
12230
12231         * gst/gstclock.h (GstClock): Add rate and offset properties,
12232         preserving ABI stability. Add rate/offset accessors. Will file bug
12233         for the freeze break.
12234
12235         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
12236         and offset, trying to keep precision and avoiding
12237         underflow/overflow.
12238         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
12239         functions. Make gst_clock_set_time_adjust obsolete.
12240         (gst_clock_set_time_adjust): Note that this function is obsolete.
12241         Will file bug soon.
12242
12243         * gst/base/gstbasetransform.h: Make the ABI-stability hack
12244         greppable by using GST_PADDING-1+1.
12245
12246 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
12247
12248         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12249
12250         * gst/gstmessage.c: (gst_message_parse_clock_lost):
12251           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
12252
12253         * gst/gstpadtemplate.h:
12254         * gst/gstpluginfeature.h:
12255           Don't use c++ style comments in headers (#321638).
12256
12257 2005-11-16  Andy Wingo  <wingo@pobox.com>
12258
12259         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
12260         buffer.
12261
12262         * check/net/gstnettimeprovider.c: Check to see that the time
12263         provider actually provides times. Works, yo!
12264
12265 2005-11-16  Wim Taymans  <wim@fluendo.com>
12266
12267         * check/Makefile.am:
12268         Enable more tests.
12269
12270         * check/elements/fakesrc.c: (GST_START_TEST):
12271         Set element to NULL before disposing it.
12272
12273 2005-11-16  Andy Wingo  <wingo@pobox.com>
12274
12275         * gst/net/Makefile.am:
12276         * gst/net/gstnet.h:
12277         * gst/net/gstnettimeprovider.c: 
12278         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
12279         provider, include it from gstnet.h, and add it to the build.
12280
12281         * gst/net/gstnettimepacket.h: 
12282         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
12283         sending and receiving.
12284
12285 2005-11-16  Wim Taymans  <wim@fluendo.com>
12286
12287         * check/Makefile.am:
12288         Enable valgrind check.
12289
12290         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
12291         (gst_fake_src_alloc_buffer):
12292         Fix memleak.
12293
12294 2005-11-16  Wim Taymans  <wim@fluendo.com>
12295
12296         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
12297         Call parent finalize too.
12298
12299 2005-11-16  Wim Taymans  <wim@fluendo.com>
12300
12301         * check/Makefile.am:
12302         Enable valgrind check that should work fine now.
12303
12304         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12305         * gst/gstqueue.c: (gst_queue_init):
12306         Fix memleaks in pad allocation.
12307
12308 2005-11-16  Andy Wingo  <wingo@pobox.com>
12309
12310         * gst/net/Makefile.am:
12311         * gst/net/gstnet.h: New part of core to hold network elements and
12312         objects. Put in core because it exposes API that applications want
12313         to use. The library is named libgstnet-tempname right now because
12314         of the existing libgstnet in gst-plugins-base. Solution is
12315         probably to rename the one in plugins-base; will file a bug for
12316         the freeze break.
12317
12318         * gst/net/gstnettimeprovider.c: 
12319         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
12320         get_time call over the network.
12321
12322         * configure.ac: 
12323         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
12324
12325         * check/Makefile.am:
12326         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
12327         get additions shortly.
12328
12329 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12330
12331         * gst/gstpad.c: (gst_pad_new_from_static_template):
12332         * gst/gstpad.h:
12333           add gst_pad_new_from_static_template functions
12334         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
12335         (gst_check_setup_sink_pad):
12336         * gst/elements/gsttee.c: (gst_tee_init):
12337           and use them
12338
12339 2005-11-16  Wim Taymans  <wim@fluendo.com>
12340
12341         * gst/gstpad.c: (gst_pad_pause_task):
12342         Removed warning, it's not really an error either.
12343
12344 2005-11-16  Wim Taymans  <wim@fluendo.com>
12345
12346         * gst/base/gstbasetransform.c:
12347         (gst_base_transform_prepare_output_buf),
12348         (gst_base_transform_event):
12349         Check if the caps are NULL, this can happen if the element
12350         is shutting down and the pad caps are set to NULL.
12351
12352 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12353
12354         * gst/elements/gsttee.c: (gst_tee_init):
12355           fix pad template leak in tee
12356
12357 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12358
12359         * gst/glib-compat.c: (g_value_dup_gst_object):
12360         * gst/glib-compat.h:
12361         * gst/gstpad.c: (gst_pad_set_property):
12362           use gst_object_ref when setting the pad template; this will
12363           trigger the pad template leaks on GLib 2.6 and the slaves
12364
12365 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12366
12367         * gst/glib-compat.c: (gst_flags_get_first_value):
12368         * gst/glib-compat.h:
12369         * gst/gstregistryxml.c:
12370           remove functions copied from GLib 2.6
12371
12372 2005-11-16  Michael Smith <msmith@fluendo.com>
12373
12374         * gst/Makefile.am:
12375           Don't link against VALGRIND_LIBS. That was always the wrong thing to
12376           do, but only breaks with newer valgrind versions. We're not a
12377           valgrind tool, we have no link-time dependencies on libcoregrind.
12378
12379 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12380
12381         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12382           some debug changes
12383         * gst/gstmessage.h:
12384           typo fixes
12385
12386 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12387
12388         * gst/base/gstbasesrc.c: (gst_base_src_init):
12389         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12390         * gst/gstqueue.c: (gst_queue_init):
12391         * gst/gstregistryxml.c: (load_feature):
12392           Revert all these unrefs, they don't even pass make check !
12393
12394 2005-11-15  Johan Dahlin  <johan@gnome.org>
12395
12396         * gst/base/gstbasesrc.c: (gst_base_src_init):
12397         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12398         * gst/gstqueue.c: (gst_queue_init): 
12399         Free pad templates, fixes a couple of leaks.
12400
12401 2005-11-15  Daniel Fischer  <dan at f3c dot com>
12402
12403         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12404
12405         * gst/gstpad.c: (gst_pad_get_property):
12406           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
12407           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
12408           (#321452)
12409
12410 2005-11-15  Wim Taymans  <wim@fluendo.com>
12411
12412         * gst/gstevent.c:
12413         Small doc update.
12414
12415 2005-11-15  Andy Wingo  <wingo@pobox.com>
12416
12417         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
12418
12419         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
12420         using GST_CLOCK_TIME_NONE to disable base time management.
12421         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
12422         time if it was NONE before.
12423         (gst_pipeline_change_state): Only munge the base time if
12424         stream_time != GST_CLOCK_TIME_NONE.
12425
12426         * check/gst/gstpipeline.c (test_base_time): Punt around the
12427         problem of the probe not being called, because that's not the
12428         issue I'm looking at. Add a check that setting stream_time to NONE
12429         disables base time management.
12430         
12431 2005-11-15  Wim Taymans  <wim@fluendo.com>
12432
12433         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12434         segment_stop == -1 at startup.
12435
12436         * gst/base/gstbasetransform.c: (gst_base_transform_event),
12437         (gst_base_transform_change_state):
12438         Init segment values at start.
12439
12440 2005-11-15  Wim Taymans  <wim@fluendo.com>
12441
12442         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12443         0 segment values are 0 in any format.
12444
12445         * gst/base/gstbasetransform.c: (gst_base_transform_event):
12446         * gst/base/gstbasetransform.h:
12447         Parse newsegment correctly in basetransform
12448
12449         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12450         Sync to clock using updated segment values.
12451
12452 2005-11-15  Andy Wingo  <wingo@pobox.com>
12453
12454         * check/gst/gstpipeline.c (test_base_time): Add check that the
12455         base time and stream time are reset correctly.
12456
12457 2005-11-15  Wim Taymans  <wim@fluendo.com>
12458
12459         * docs/design/part-TODO.txt:
12460         Some more TODO items.
12461
12462 2005-11-15  Andy Wingo  <wingo@pobox.com>
12463
12464         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
12465         error if the user selected "no clock" as the clocking method.
12466
12467         * check/gst/gstpipeline.c (test_base_time): New test for buffer
12468         timestamps with live capture.
12469
12470         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
12471         is 0 but we are a live source, timestamp the buffers using the
12472         element's clock.
12473
12474 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
12475
12476         * docs/gst/gstreamer-sections.txt:
12477         * gst/gsterror.c:
12478         * gst/gstghostpad.c:
12479         * gst/gstobject.h:
12480         * gst/gstxml.c:
12481           more section docs
12482
12483 2005-11-14  Wim Taymans  <wim@fluendo.com>
12484
12485         * common/gst.supp:
12486           add suppressions from Wim's Debian machine
12487
12488 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12489
12490         * common/gst.supp:
12491           add suppressions from Andy's AMD64 Ubuntu machine
12492
12493 2005-11-14  Andy Wingo  <wingo@pobox.com>
12494
12495         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
12496         STATE_LOCK not necessary. Fixes #311489.
12497
12498         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
12499         #305291.
12500
12501         * gst/gstindex.c (gst_index_add_object): Note in the docs that
12502         this function is not implemented.
12503
12504 2005-11-14  Julien MOUTTE  <julien@moutte.net>
12505
12506         * gst/base/gstbasetransform.c:
12507         (gst_base_transform_prepare_output_buf):
12508         Ref the source pad caps while we need them.
12509         Fixes (#321386)
12510
12511 2005-11-11  Wim Taymans  <wim@fluendo.com>
12512
12513         * docs/gst/gstreamer-sections.txt:
12514         Added some docs for GstCollectData.
12515
12516         * gst/base/gstadapter.c:
12517         Some small code example fix.
12518
12519         * gst/base/gstcollectpads.c:
12520         * gst/base/gstcollectpads.h:
12521         Document some more.
12522
12523 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
12524
12525         * configure.ac: back to HEAD
12526
12527 === release 0.9.5 ===
12528
12529 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
12530
12531         * configure.ac:
12532           releasing 0.9.5, "Bike Lunch Day"
12533
12534 2005-11-11  Wim Taymans  <wim@fluendo.com>
12535
12536         * gst/gstbuffer.c: (_gst_buffer_copy):
12537         Copy more flags.
12538
12539         * gst/gstcaps.c: (gst_caps_is_equal):
12540         Fix some docs.
12541         Make _is_equal fast in the trivial cases.
12542
12543         * gst/gstminiobject.c:
12544         * gst/gstminiobject.h:
12545         More docs. Spifify .h file.
12546
12547         * gst/gstutils.c:
12548         Small doc update.
12549
12550 2005-11-11  Wim Taymans  <wim@fluendo.com>
12551
12552         * gst/base/gstbasetransform.c:
12553         (gst_base_transform_prepare_output_buf),
12554         (gst_base_transform_handle_buffer):
12555         Small cleanups.
12556         If we're processing a buffer and need to allocate an output
12557         buffer, we cannot accept a format change. If we did get a 
12558         format change, we have to alloc a buffer ourselves of the 
12559         right size.
12560
12561 2005-11-11  Wim Taymans  <wim@fluendo.com>
12562
12563         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
12564         While checking the flag for reentrancy in the gstcaps function
12565         is nice to detect recursive invocations, it also makes it 
12566         impossible to call getcaps from multiple threads, which must be
12567         possible. So, checking for recursive calls has to go.
12568
12569 2005-11-11  Michael Smith <msmith@fluendo.com>
12570
12571         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12572           Don't sync on buffers that fall partially outside our current
12573           segment. Prevents an assertion failure/abort playing some files.
12574
12575 2005-11-10  Andy Wingo  <wingo@pobox.com>
12576
12577         * check/gst/gstbin.c (test_message_state_changed_children): Style
12578         fix..
12579
12580         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
12581         gst_bus_poll with the signal watch. Ensures that poll and a signal
12582         watch see the same messages.
12583
12584         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
12585         a poll and a watch at the same time get the same messages.
12586
12587 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12588
12589         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
12590         * gst/gstcaps.c: (gst_caps_intersect):
12591           Don't call gst_caps_do_simplify - it doesn't respect order of caps
12592           and it's not needed.
12593
12594 2005-11-10  Wim Taymans  <wim@fluendo.com>
12595
12596         * docs/design/part-TODO.txt:
12597         Updated todo.
12598
12599 2005-11-10  Wim Taymans  <wim@fluendo.com>
12600
12601         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12602         * gst/base/gstbasesrc.c: (gst_base_src_wait),
12603         (gst_base_src_do_sync), (gst_base_src_get_range):
12604         Implement clock sync in base class.
12605
12606 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12607
12608         patch by: Tim-Philipp Müller <tim at centricular dot net>
12609
12610         * gst/gststructure.c: (gst_structure_parse_field),
12611         (gst_structure_from_string):
12612           Forward-port a 0.8 patch to handle escaped spaces in structure string,
12613           so that gst_parse_launch() can deal with spaces in filtered link
12614           caps (fixes #164479)
12615         * check/gst/capslist.h:
12616         * check/gst/gststructure.c: (GST_START_TEST):
12617           add unit tests for this change
12618
12619 2005-11-10  Wim Taymans  <wim@fluendo.com>
12620
12621         * docs/gst/gstreamer-sections.txt:
12622         * gst/gstelement.c:
12623         * gst/gstelement.h:
12624         Fix docs, move some STATE macros to private.
12625
12626 2005-11-10  Wim Taymans  <wim@fluendo.com>
12627
12628         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12629         Added check for bug #317341
12630
12631         * gst/gstbuffer.c:
12632         * gst/gstbuffer.h:
12633         Some more spiffifying.
12634
12635         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
12636         Call peer linkfunction if we are a source pad. Totally fixes
12637         #317341
12638
12639         * gst/gstpad.c:
12640         Update docs, source pads should call the peer linkfunction
12641         so they can atomically perform the pad link.
12642
12643 2005-11-09  Wim Taymans  <wim@fluendo.com>
12644
12645         * gst/gstbuffer.c:
12646         * gst/gstbuffer.h:
12647         Uber-spiffy-spiffify some more.
12648
12649 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
12650
12651         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
12652         * gst/elements/gstfilesink.c: (gst_file_sink_init):
12653         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12654         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
12655         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
12656         * gst/gstpad.c: (gst_pad_init):
12657           Use GST_DEBUG_FUNCPTR() more extensively.
12658
12659 2005-11-09  Wim Taymans  <wim@fluendo.com>
12660
12661         * gst/gstobject.c: (gst_object_class_init):
12662         * gst/gstobject.h:
12663         Documentation fixes.
12664
12665 2005-11-09  Edward Hervey  <edward@fluendo.com>
12666
12667         * gst/gsttypefindfactory.c:
12668         Fix docs.
12669         
12670 2005-11-09  Edward Hervey  <edward@fluendo.com>
12671
12672         * gst/base/gsttypefindhelper.c:
12673         * gst/gsttypefind.c:
12674         * gst/gsttypefind.h:
12675         Fix docs.
12676
12677 2005-11-09  Wim Taymans  <wim@fluendo.com>
12678
12679         * gst/gstiterator.c:
12680         Fix revision data.
12681
12682         * gst/gsttask.c:
12683         * gst/gsttask.h:
12684         Fix docs.
12685
12686 2005-11-09  Wim Taymans  <wim@fluendo.com>
12687
12688         * gst/gstevent.h:
12689         * gst/gsturi.h:
12690         Fix docs.
12691
12692 2005-11-09  Wim Taymans  <wim@fluendo.com>
12693
12694         * docs/gst/gstreamer-sections.txt:
12695         Moved the message async delivery private lock and cond
12696         to the private section.
12697
12698         * gst/gstmessage.c:
12699         * gst/gstmessage.h:
12700         Fixed docs.
12701
12702 2005-11-09  Edward Hervey  <edward@fluendo.com>
12703
12704         * docs/gst/gstreamer-sections.txt:
12705         * gst/gsturi.c:
12706         * gst/gsturi.h:
12707         Document GstURIHandler
12708
12709 2005-11-09  Wim Taymans  <wim@fluendo.com>
12710
12711         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
12712         (gst_iterator_find_custom):
12713         * gst/gstiterator.h:
12714         Fix iterator docs.
12715
12716 2005-11-09  Wim Taymans  <wim@fluendo.com>
12717
12718         * gst/gstbin.h:
12719         Document another field.
12720
12721         * gst/gststructure.c:
12722         * gst/gststructure.h:
12723         Document.
12724
12725 2005-11-09  Wim Taymans  <wim@fluendo.com>
12726
12727         * gst/gstbin.h:
12728         Documented structs.
12729
12730 2005-11-09  Wim Taymans  <wim@fluendo.com>
12731
12732         * docs/gst/gstreamer-sections.txt:
12733         Added some new macros.
12734
12735         * gst/gstclock.c:
12736         * gst/gstclock.h:
12737         * gst/gstobject.h:
12738         Docs updates.
12739
12740 2005-11-09  Wim Taymans  <wim@fluendo.com>
12741
12742         * docs/design/part-TODO.txt:
12743         Some more items for the TODO
12744
12745         * gst/gstcaps.c:
12746         * gst/gstcaps.h:
12747         Document GstCaps.
12748
12749 2005-11-09  Andy Wingo  <wingo@pobox.com>
12750
12751         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
12752         to work on something else now tho...
12753
12754         * gst/base/gstadapter.c: More adapter docs.
12755
12756         * gst/elements/gstfilesink.c (gst_file_sink_start) 
12757         (gst_file_sink_stop): New functions, replace the state change
12758         handler.
12759         (gst_file_sink_class_init): Hook up the start and stop functions.
12760         (gst_file_sink_base_init): Don't set the state change handler any
12761         more. It was a bit ugly too, being set from here...
12762         (gst_file_sink_get_property, gst_file_sink_set_property):
12763         Cleanups...
12764         (gst_file_sink_set_location): More robust check that doesn't call
12765         GST_STATE. Ugggggg.
12766
12767 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
12768
12769         * gst/base/gstbasetransform.c: (gst_base_transform_event):
12770           Hold STREAM_LOCK while pushing newsegment or tag events as well.
12771
12772 2005-11-08  Wim Taymans  <wim@fluendo.com>
12773
12774         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
12775         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12776         (gst_base_sink_chain), (gst_base_sink_change_state):
12777         * gst/base/gstbasesink.h:
12778         * gst/base/gstbasesrc.h:
12779         * gst/gstelement.h:
12780         * gst/gstevent.h:
12781         Avoid excessive typechecking in macros.
12782
12783         * gst/gstminiobject.c: (gst_mini_object_get_type),
12784         (gst_mini_object_init), (gst_mini_object_new),
12785         (gst_mini_object_free):
12786         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12787         (gst_object_finalize):
12788         Remove cruft code, optimize alloc_trace.
12789
12790 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12791
12792         * docs/faq/gst-uninstalled:
12793           fix up PS1 for systems that try to reset it
12794
12795 2005-11-07  Wim Taymans  <wim@fluendo.com>
12796
12797         * gst/base/gstbasesrc.c: (gst_base_src_init),
12798         (gst_base_src_get_range):
12799         Set the segment_end to -1 initially. Fixed typefind.
12800
12801 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
12802
12803         * gst/base/gstadapter.c:
12804           Debug category should be 'adapter', not 'GstAdapter'.
12805           
12806         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
12807         (gst_collectpads_class_init), (gst_collectpads_init),
12808         (gst_collectpads_peek), (gst_collectpads_pop),
12809         (gst_collectpads_event), (gst_collectpads_chain):
12810           Add debug category and some debugging output. Use boilerplate
12811           macros. Remove some extraneous words from docs.
12812
12813 2005-11-05  Andy Wingo  <wingo@pobox.com>
12814
12815         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
12816         macro.
12817
12818 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
12819
12820         * docs/gst/gstreamer-sections.txt:
12821         * gst/gstcaps.h:
12822         * gst/gstinfo.c:
12823         * gst/gstminiobject.h:
12824         * gst/gstobject.h:
12825         * gst/gstutils.h:
12826           more docs added
12827
12828 2005-11-04  Wim Taymans  <wim@fluendo.com>
12829
12830         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12831         Small update to stop at the configured segment_end
12832         position.
12833
12834 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
12835
12836         * gst/gstregistry.c:
12837         * gst/gstregistry.h:
12838           added missing docs
12839
12840 2005-11-04  Edward Hervey  <edward@fluendo.com>
12841
12842         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12843         Check if we are doing a segment seek and have arrived at the
12844         end of that segment.
12845
12846 2005-11-04  Wim Taymans  <wim@fluendo.com>
12847
12848         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
12849         Don't leak a mutex unlock in case of an error.
12850
12851         * gst/gstbus.h:
12852         Doc fixes.
12853
12854 2005-11-04  Wim Taymans  <wim@fluendo.com>
12855
12856         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
12857         (gst_bus_post):
12858         Get the context to wake up only once.
12859
12860 2005-11-03  Wim Taymans  <wim@fluendo.com>
12861
12862         * check/states/sinks.c: (GST_START_TEST):
12863         Uncomment fixed check.
12864
12865         * docs/design/part-TODO.txt:
12866         Updated TODO.
12867
12868         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12869         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12870         (gst_base_sink_get_position):
12871         If we are going to PLAYING, post the right pending state
12872         when we post the intermediate paused message.
12873
12874         * gst/gstelement.c: (gst_element_continue_state),
12875         (gst_element_set_state_func), (gst_element_change_state):
12876         Don't post state changes that were between the same state
12877         and were not ASYNC.
12878
12879 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
12880
12881         * docs/gst/gstreamer-sections.txt:
12882         * gst/gstcaps.h:
12883         * gst/gstinfo.c:
12884         * gst/gstminiobject.h:
12885         * gst/gstobject.h:
12886         * gst/gstutils.h:
12887           more docs and doc style fixes
12888
12889 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
12890
12891         * docs/gst/gstreamer-sections.txt:
12892         * gst/gstelement.c:
12893         * gst/gstminiobject.c:
12894         doc fixes
12895
12896 2005-11-03  Andy Wingo  <wingo@pobox.com>
12897
12898         * check/states/sinks.c (test_livesrc_sink): Add checks that the
12899         state-changed messages actually have the right order and the right
12900         values.
12901
12902 2005-11-03  Wim Taymans  <wim@fluendo.com>
12903
12904         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
12905         Added some more checks. Specifically the case where NO_PREROLL
12906         elements are in the pipeline.
12907
12908         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12909         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12910         (gst_base_sink_get_position):
12911         Post READY->PAUSED state change messages too.
12912         Fix bug where VOID was posted as pending state...
12913
12914         * gst/gstbin.c: (gst_bin_recalc_state):
12915         use _element_continue_state() to continue the state change.
12916
12917         * gst/gstelement.c: (gst_element_continue_state),
12918         (gst_element_commit_state), (gst_element_set_state_func),
12919         (gst_element_change_state), (gst_element_change_state_func):
12920         Lots of state change cleanups, assign the STATE_RETURN in
12921         a new continue_state() function that also propagates the
12922         last return value from a state change to the app.
12923         Update some debug statements with proper category.
12924
12925 2005-11-03  Wim Taymans  <wim@fluendo.com>
12926
12927         * docs/design/part-events.txt:
12928         * docs/design/part-gstpipeline.txt:
12929         * docs/design/part-messages.txt:
12930         * docs/design/part-overview.txt:
12931         * docs/design/part-seeking.txt:
12932         * docs/design/part-states.txt:
12933         * docs/design/part-trickmodes.txt:
12934         * docs/manual/advanced-position.xml:
12935         Small docs updates.
12936
12937         * gst/gstobject.h:
12938         People think !! is ugly, this looks better.
12939
12940         * gst/gstpad.c: (gst_pad_set_blocked_async):
12941         Remove !! since it's fixed elsewhere now.
12942
12943 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
12944
12945         * gst/gstminiobject.h:
12946         * gst/gstobject.h:
12947           Add !! to _FLAG_IS_SET macros to make the result boolean.
12948
12949 2005-11-03  Edward Hervey  <edward@fluendo.com>
12950
12951         * gst/gstpad.c: (gst_pad_set_blocked_async):
12952         comparing a flag and a gboolean rarely returns coherent results...
12953         Added two characters (!!) to make that work correctly.
12954         
12955 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
12956
12957         * gst/gstbus.c: (gst_bus_class_init):
12958           Fix some typos.
12959           
12960         * gst/gstqueue.c: (gst_queue_loop):
12961           Don't assume a miniobject that isn't a buffer is an
12962           event (it could be that there is a refcounting
12963           problem somewhere and the pointer is stale and
12964           refers to an already destroyed miniobject).
12965
12966 2005-11-03  Julien MOUTTE  <julien@moutte.net>
12967
12968         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
12969
12970 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
12971
12972         * docs/manual/advanced-position.xml:
12973           Update seek example and explanations to current 0.9 API.
12974
12975         * gst/elements/gsttypefindelement.c:
12976         (gst_type_find_element_activate):
12977           Remove FIXME comment now that the found caps
12978           are unreffed.
12979
12980 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12981
12982         * gst/gstregistryxml.c: (load_feature):
12983           Add another GST_STR_NULL instance
12984
12985 2005-11-02  Edward Hervey  <edward@fluendo.com>
12986
12987         * gst/gstpad.c: (handle_pad_block):
12988         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
12989         
12990 2005-11-02  Wim Taymans  <wim@fluendo.com>
12991
12992         * gst/gstbin.c:
12993         Fix typo in docs.
12994
12995         * gst/gstelement.c: (gst_element_commit_state):
12996         Remove unused value.
12997
12998         * gst/gstiterator.c:
12999         Mention that the returned element is reffed in the docs.
13000
13001 2005-11-02  Wim Taymans  <wim@fluendo.com>
13002
13003         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
13004         (gst_pad_push), (gst_pad_push_event):
13005         Unlock blocked pads when they are flushed.
13006
13007 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13008
13009         * docs/README:
13010         * docs/gst/gstreamer-sections.txt:
13011         * gst/gstbin.c:
13012           doc updates
13013         * gst/gstregistry.c: (gst_registry_scan_path_level):
13014           fix for a nasty little missed situation where an installed plug-in
13015           which was in the cache did not get overridden by an uninstalled one
13016           which was earlier in the plugin path because the newly created plugin
13017           for the uninstalled one (not in the registry) didn't get its
13018           ->registered set to TRUE
13019
13020 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
13021
13022         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
13023         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
13024         (gst_collectpads_is_active), (gst_collectpads_collect),
13025         (gst_collectpads_collect_range), (gst_collectpads_start),
13026         (gst_collectpads_stop), (gst_collectpads_peek),
13027         (gst_collectpads_pop), (gst_collectpads_available),
13028         (gst_collectpads_read), (gst_collectpads_flush):
13029           Guard public API with assertions.
13030         
13031         * gst/gstpad.c:
13032           Fix docs for gst_pad_set_link_function().
13033
13034 2005-11-02  Johan Dahlin  <johan@gnome.org>
13035
13036         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
13037         Unref found_caps after we used it.
13038
13039 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
13040
13041         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
13042           Don't try to ref NULL.
13043
13044 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13045
13046         * win32/common/config.h.in:
13047           provide a GST_FUNCTION that just gives a string for now
13048
13049 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13050
13051         * win32/common/gstenumtypes.c: (register_gst_object_flags),
13052         (gst_object_flags_get_type), (register_gst_bin_flags),
13053         (gst_bin_flags_get_type), (register_gst_buffer_flag),
13054         (gst_buffer_flag_get_type), (register_gst_bus_flags),
13055         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
13056         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
13057         (gst_clock_return_get_type), (register_gst_clock_entry_type),
13058         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
13059         (gst_clock_flags_get_type), (register_gst_state),
13060         (gst_state_get_type), (register_gst_state_change_return),
13061         (gst_state_change_return_get_type), (register_gst_state_change),
13062         (gst_state_change_get_type), (register_gst_element_flags),
13063         (gst_element_flags_get_type), (register_gst_core_error),
13064         (gst_core_error_get_type), (register_gst_library_error),
13065         (gst_library_error_get_type), (register_gst_resource_error),
13066         (gst_resource_error_get_type), (register_gst_stream_error),
13067         (gst_stream_error_get_type), (register_gst_event_type),
13068         (gst_event_type_get_type), (register_gst_seek_type),
13069         (gst_seek_type_get_type), (register_gst_seek_flags),
13070         (gst_seek_flags_get_type), (register_gst_format),
13071         (gst_format_get_type), (register_gst_index_certainty),
13072         (gst_index_certainty_get_type), (register_gst_index_entry_type),
13073         (gst_index_entry_type_get_type),
13074         (register_gst_index_lookup_method),
13075         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
13076         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
13077         (gst_index_resolver_method_get_type), (register_gst_index_flags),
13078         (gst_index_flags_get_type), (register_gst_debug_level),
13079         (gst_debug_level_get_type), (register_gst_debug_color_flags),
13080         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
13081         (gst_iterator_result_get_type), (register_gst_iterator_item),
13082         (gst_iterator_item_get_type), (register_gst_message_type),
13083         (gst_message_type_get_type), (register_gst_mini_object_flags),
13084         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
13085         (gst_pad_link_return_get_type), (register_gst_flow_return),
13086         (gst_flow_return_get_type), (register_gst_activate_mode),
13087         (gst_activate_mode_get_type), (register_gst_pad_direction),
13088         (gst_pad_direction_get_type), (register_gst_pad_flags),
13089         (gst_pad_flags_get_type), (register_gst_pad_presence),
13090         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
13091         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
13092         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
13093         (gst_plugin_error_get_type), (register_gst_plugin_flags),
13094         (gst_plugin_flags_get_type), (register_gst_rank),
13095         (gst_rank_get_type), (register_gst_query_type),
13096         (gst_query_type_get_type), (register_gst_tag_merge_mode),
13097         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
13098         (gst_tag_flag_get_type), (register_gst_task_state),
13099         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
13100         (gst_alloc_trace_flags_get_type),
13101         (register_gst_type_find_probability),
13102         (gst_type_find_probability_get_type), (register_gst_uri_type),
13103         (gst_uri_type_get_type), (register_gst_parse_error),
13104         (gst_parse_error_get_type):
13105         * win32/common/gstversion.h:
13106           update win32 copies
13107
13108 2005-11-01  Luca Ognibene  <luogni@tin.it>
13109
13110         * gst/gst.c:
13111           fix docs. popt is dead, long live GOption.
13112
13113 2005-10-31  Wim Taymans  <wim@fluendo.com>
13114
13115         * gst/gstbuffer.h:
13116         Small doc fix.
13117
13118 2005-10-31  Andy Wingo  <wingo@pobox.com>
13119
13120         * Boo!
13121
13122         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
13123
13124         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
13125         need to serialize property notifications on GLib 2.8. GLib 2.6 has
13126         the possibility of deadlocks here if code calling notify() or
13127         set() has a lock that can be taken in another notify handler (ABBA
13128         with class lock and e.g. python GIL state lock).
13129
13130 2005-10-28  Julien MOUTTE  <julien@moutte.net>
13131
13132         * gst/gstbus.c: Doc updates.
13133
13134 2005-10-28  Wim Taymans  <wim@fluendo.com>
13135
13136         * docs/design/part-TODO.txt:
13137         * gst/gstiterator.c:
13138         * gst/gstsystemclock.c:
13139         * gst/gstsystemclock.h:
13140         Doc updates.
13141
13142 2005-10-28  Edward Hervey  <edward@fluendo.com>
13143
13144         * docs/gst/gstreamer-docs.sgml:
13145         * docs/gst/gstreamer-sections.txt:
13146         the GstURIType documentation page is private, it only defines GstURIType
13147         which should be defined in the GstURIHandler page
13148         
13149 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13150
13151         * gst/gstbin.c: (gst_bin_class_init):
13152         * gst/gstbin.h:
13153         * gst/gstutils.c:
13154         Documentation updates.
13155
13156 2005-10-28  Wim Taymans  <wim@fluendo.com>
13157
13158         * docs/gst/gstreamer-sections.txt:
13159         * gst/gstclock.c:
13160         * gst/gstclock.h:
13161         Documented the clocks.
13162
13163 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
13164
13165         * docs/gst/gstreamer-sections.txt:
13166           move some macros to private sections
13167         * gst/gstminiobject.c:
13168         * gst/gstminiobject.h:
13169           add descriptions provided by ds and some more
13170         * gst/gstpad.h:
13171           mark macro as to be removed
13172
13173 2005-10-28  Wim Taymans  <wim@fluendo.com>
13174
13175         * docs/design/part-TODO.txt:
13176         Add an item to TODO.
13177
13178         * gst/gstiterator.c: (gst_iterator_fold),
13179         (gst_iterator_find_custom):
13180         * gst/gstiterator.h:
13181         Add iterator docs.
13182
13183 2005-10-28  Wim Taymans  <wim@fluendo.com>
13184
13185         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13186         (gst_base_transform_init):
13187         Don't leak class.
13188
13189         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
13190         An EOS event marks the queue as completely filled.
13191
13192 2005-10-27  Wim Taymans  <wim@fluendo.com>
13193
13194         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13195         (gst_base_sink_do_sync), (gst_base_sink_get_position):
13196         Some more debugging.
13197
13198         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
13199         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
13200         (gst_base_transform_event), (gst_base_transform_getrange),
13201         (gst_base_transform_chain):
13202         * gst/base/gstbasetransform.h:
13203         Fix debugging,
13204         Protect transform and concurrent buffer alloc with a new lock.
13205         Try not to break ABI/API.
13206
13207 2005-10-27  Wim Taymans  <wim@fluendo.com>
13208
13209         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
13210         (gst_base_src_init), (gst_base_src_query),
13211         (gst_base_src_default_newsegment),
13212         (gst_base_src_configure_segment), (gst_base_src_do_seek),
13213         (gst_base_src_send_event), (gst_base_src_event_handler),
13214         (gst_base_src_pad_get_range), (gst_base_src_loop),
13215         (gst_base_src_unlock), (gst_base_src_default_negotiate),
13216         (gst_base_src_start), (gst_base_src_deactivate),
13217         (gst_base_src_activate_push), (gst_base_src_change_state):
13218         Move some stuff around and cleanup things.
13219
13220 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
13221
13222         * gst/base/gstbasesrc.c: (gst_base_src_query):
13223           Add missing break statements.
13224
13225 2005-10-27  Wim Taymans  <wim@fluendo.com>
13226
13227         * check/gst/gstbin.c: (GST_START_TEST):
13228         An extra refcount is taken in basesrc.
13229
13230         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
13231         (gst_base_src_get_range), (gst_base_src_pad_get_range),
13232         (gst_base_src_loop):
13233         Small cleanups, check for flushing after being unlocked from the 
13234         LIVE_LOCK. take refcounts correctly (not yet everywhere).
13235         Don't send out EOS when going to READY.
13236
13237 2005-10-27  Wim Taymans  <wim@fluendo.com>
13238
13239         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13240         (gst_base_sink_get_position):
13241         Some more debug.
13242
13243         * gst/gstbin.c: (message_check), (bin_replace_message),
13244         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13245         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13246         (bin_query_duration_init), (bin_query_duration_fold),
13247         (bin_query_duration_done), (bin_query_generic_fold),
13248         (gst_bin_query):
13249         * tools/gst-launch.c: (main):
13250         Remove old option.
13251
13252 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
13253
13254         * examples/controller/audio-example.c: (main):
13255         * examples/queue/queue.c: (event_loop):
13256         * gst/base/gstbasetransform.h:
13257         * gst/gstelement.c: (gst_element_send_event):
13258         * gst/gstevent.h:
13259         * gst/gstpad.c: (gst_pad_send_event):
13260           fixing examples
13261           fixing docs typos
13262           changing log priority in error situations
13263
13264 2005-10-25  Wim Taymans  <wim@fluendo.com>
13265
13266         * gst/gstbin.c: (message_check), (bin_replace_message),
13267         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13268         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13269         (bin_query_duration_init), (bin_query_duration_fold),
13270         (bin_query_duration_done), (bin_query_generic_fold),
13271         (gst_bin_query):
13272         Some doc and debug updates.
13273         Cache previously requested query DURATION for speed. invalidate
13274         cached duration if element posts a DURATION message.
13275
13276 2005-10-25  Wim Taymans  <wim@fluendo.com>
13277
13278         * docs/design/part-TODO.txt:
13279         Update TODO.
13280
13281         * gst/gstbin.c: (message_check), (bin_replace_message),
13282         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13283         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13284         (bin_query_duration_init), (bin_query_duration_fold),
13285         (bin_query_duration_done), (bin_query_generic_fold),
13286         (gst_bin_query):
13287         Handle SEGMENT_START/DONE messages correctly.
13288         More evolved query algorithm that handles duration queries
13289         correctly.
13290
13291         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
13292         (gst_element_get_state_func), (gst_element_abort_state),
13293         (gst_element_commit_state), (gst_element_lost_state):
13294         Some more debugging.
13295
13296         * gst/gstmessage.h:
13297         Added doc.
13298
13299 2005-10-25  Wim Taymans  <wim@fluendo.com>
13300
13301         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13302         Don't use invalid stream_time.
13303
13304         * gst/gstevent.c: (gst_event_new_newsegment):
13305         stream_time in newsegment cannot be undefined.
13306
13307 2005-10-24  Wim Taymans  <wim@fluendo.com>
13308
13309         * gst/gstbus.c:
13310         Doc fix.
13311
13312         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
13313         (gst_queue_loop):
13314         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
13315
13316 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
13317
13318         * docs/libs/tmpl/gstdparam.sgml:
13319         * docs/libs/tmpl/gstdplinint.sgml:
13320         * docs/libs/tmpl/gstdpman.sgml:
13321         * docs/libs/tmpl/gstdpsmooth.sgml:
13322         * docs/libs/tmpl/gstunitconvert.sgml:
13323           these are obsolete
13324
13325 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13326
13327         * configure.ac:
13328           back to HEAD
13329
13330 === release 0.9.4 ===
13331
13332 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13333
13334         * configure.ac:
13335           releasing 0.9.4, "Tyrannosaurus Rex"
13336
13337 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
13338
13339         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13340         (gst_file_sink_get_current_offset):
13341           Use fseeko() and ftello() if available. When falling back on
13342           lseek() to get the current offset, fflush() first to make sure
13343           everything is up-to-date and we get the right offset.
13344
13345 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13346
13347         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13348         * gst/base/gstbasesrc.c: (gst_base_src_loop):
13349         * gst/gsterror.c: (_gst_stream_errors_init):
13350         * gst/gsterror.h:
13351         * gst/gstqueue.c: (gst_queue_loop):
13352         * po/POTFILES.in:
13353           remove prematurely added error category and clean up the instances
13354
13355 2005-10-21  Wim Taymans  <wim@fluendo.com>
13356
13357         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13358         (gst_base_sink_get_position), (gst_base_sink_query),
13359         (gst_base_sink_change_state):
13360         Simply set the right flag when going to playing, that's all
13361         we need to do instead of calling a function inside the object
13362         lock (that could take the lock as well and deadlock)
13363
13364 2005-10-21  Wim Taymans  <wim@fluendo.com>
13365
13366         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
13367         (gst_base_src_loop):
13368         Don't warn, the peer element knows what to do best when
13369         the seek failed, it might try something else.
13370
13371 2005-10-21  Wim Taymans  <wim@fluendo.com>
13372
13373         * gst/base/gstbasesrc.c: (gst_base_src_init),
13374         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
13375         Fix seeking.
13376
13377 2005-10-21  Wim Taymans  <wim@fluendo.com>
13378
13379         * docs/design/part-segments.txt:
13380         More docs.
13381
13382         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13383         Correctly set caps, even on the subbufer.
13384
13385 2005-10-21  Wim Taymans  <wim@fluendo.com>
13386
13387         * docs/gst/gstreamer-docs.sgml:
13388         * docs/gst/gstreamer-sections.txt:
13389         * gst/gstelement.h:
13390         * gst/gstevent.c:
13391         * gst/gstevent.h:
13392         * gst/gstmessage.h:
13393         * gst/gstpad.h:
13394         * gst/gstparse.h:
13395         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
13396         * gst/gsttask.h:
13397         * gst/gstutils.c:
13398         * gst/gstutils.h:
13399         And 2% more doc coverage.
13400
13401 2005-10-21  Andy Wingo  <wingo@pobox.com>
13402
13403         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
13404         position reporting.
13405
13406 2005-10-20  Wim Taymans  <wim@fluendo.com>
13407
13408         * gst/gsterror.c: (gst_error_get_message):
13409         * gst/gstparse.h:
13410         * gst/gstquery.h:
13411         * gst/gststructure.c:
13412         * gst/gsttrace.c:
13413         * gst/gstutils.c:
13414         More docs.
13415
13416 2005-10-20  Wim Taymans  <wim@fluendo.com>
13417
13418         * gst/gstbuffer.h:
13419         * gst/gstpad.c:
13420         * gst/gstparse.c:
13421         Another 1% more coverage.
13422
13423 2005-10-20  Wim Taymans  <wim@fluendo.com>
13424
13425         * docs/gst/gstreamer-sections.txt:
13426         * gst/gstelement.c: (gst_element_get_state_func),
13427         (gst_element_abort_state), (gst_element_commit_state),
13428         (gst_element_lost_state):
13429         * gst/gstevent.h:
13430         * gst/gstquery.c: (gst_query_set_position),
13431         (gst_query_parse_position), (gst_query_set_duration),
13432         (gst_query_parse_duration), (gst_query_new_convert):
13433         * gst/gstutils.c:
13434         Yay! 1% more docs coverage.
13435
13436 2005-10-20  Wim Taymans  <wim@fluendo.com>
13437
13438         * gst/gstpad.h:
13439         * gst/gstquery.c: (gst_query_set_position),
13440         (gst_query_parse_position), (gst_query_set_duration),
13441         (gst_query_parse_duration), (gst_query_new_convert):
13442         * gst/gstquery.h:
13443         * gst/gstutils.c: (gst_element_query_convert):
13444         * gst/gstutils.h:
13445         Docs and consistency fixes.
13446
13447 2005-10-20  Wim Taymans  <wim@fluendo.com>
13448
13449         * gst/gsttask.c:
13450         * gst/gsttask.h:
13451         More docs.
13452
13453 2005-10-20  Wim Taymans  <wim@fluendo.com>
13454
13455         * gst/gstbin.c: (message_check), (bin_replace_message),
13456         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13457         (update_degree), (gst_bin_sort_iterator_next),
13458         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
13459         Reworked the message handling a bit, cache the messages instead of
13460         only the senders. alows us to do more in the future.
13461
13462 2005-10-20  Wim Taymans  <wim@fluendo.com>
13463
13464         * docs/design/part-TODO.txt:
13465         Update TODO
13466
13467         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13468         (gst_base_sink_query):
13469         Don't use clock time to report position when in EOS.
13470
13471 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
13472
13473         * tools/gst-inspect.c: (print_interfaces),
13474         (print_element_properties_info), (print_element_info):
13475           Fix interface output with gst-inspect -a; don't print
13476           newlines after double/float properties.
13477
13478 2005-10-20  Wim Taymans  <wim@fluendo.com>
13479
13480         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13481         (gst_base_sink_query):
13482         Speed up current position calculation.
13483
13484         * gst/base/gstbasesrc.c: (gst_base_src_query),
13485         (gst_base_src_default_newsegment):
13486         Correctly set stream position in newsegment.
13487
13488         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
13489         (update_degree), (gst_bin_sort_iterator_next),
13490         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
13491         * gst/gstmessage.c: (gst_message_new_custom):
13492         Clean up debugging info
13493
13494         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13495         (gst_queue_loop), (gst_queue_handle_src_query):
13496         Pause task faster.
13497
13498 2005-10-19  Wim Taymans  <wim@fluendo.com>
13499
13500         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13501         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13502         Fix query handling again.
13503
13504 2005-10-19  Wim Taymans  <wim@fluendo.com>
13505
13506         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13507         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13508         * gst/base/gstbasesrc.c: (gst_base_src_query):
13509         * gst/elements/gstfilesink.c: (gst_file_sink_query):
13510         * gst/elements/gsttypefindelement.c:
13511         (gst_type_find_handle_src_query), (find_element_get_length),
13512         (gst_type_find_element_activate):
13513         API change fix.
13514
13515         * gst/gstquery.c: (gst_query_new_position),
13516         (gst_query_set_position), (gst_query_parse_position),
13517         (gst_query_new_duration), (gst_query_set_duration),
13518         (gst_query_parse_duration), (gst_query_set_segment),
13519         (gst_query_parse_segment):
13520         * gst/gstquery.h:
13521         Bundling query position/duration is not a good idea since duration
13522         does not change much and we don't want to recalculate it for every
13523         position query, so they are separated again..
13524         Base value in segment query is not needed.
13525
13526         * gst/gstqueue.c: (gst_queue_handle_src_query):
13527         * gst/gstutils.c: (gst_element_query_position),
13528         (gst_element_query_duration), (gst_pad_query_position),
13529         (gst_pad_query_duration):
13530         * gst/gstutils.h:
13531         Updates for query API change.
13532         Added some docs here and there.
13533
13534 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
13535
13536         * check/gst/gstbin.c: (GST_START_TEST):
13537         * check/gst/gstghostpad.c: (GST_START_TEST):
13538         * check/pipelines/cleanup.c: (GST_START_TEST):
13539           wait on thread to die so we can check refcount correctly
13540
13541 2005-10-18  Wim Taymans  <wim@fluendo.com>
13542
13543         * check/pipelines/stress.c: (GST_START_TEST):
13544         Make check a little more time consuming.
13545
13546 2005-10-18  Wim Taymans  <wim@fluendo.com>
13547
13548         * check/Makefile.am:
13549         * check/pipelines/stress.c: (GST_START_TEST),
13550         (simple_launch_lines_suite), (main):
13551         Small state change torture test.
13552
13553         * docs/design/part-states.txt:
13554         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13555         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
13556         (gst_base_sink_change_state):
13557         Never take state lock from streaming thread, clean up ugly
13558         hacks. Unfortunatly core does not yet support nice ways to
13559         async commit state.
13560         
13561         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
13562         (bin_bus_handler):
13563         Start state recalc if a STATE_DIRTY message is posted, but only
13564         on the toplevel bin.
13565
13566         * gst/gstelement.c: (gst_element_sync_state_with_parent),
13567         (gst_element_get_state_func), (gst_element_abort_state),
13568         (gst_element_commit_state), (gst_element_lost_state),
13569         (gst_element_set_state_func), (gst_element_change_state):
13570         * gst/gstelement.h:
13571         State variables are now protected with the LOCK, the state
13572         lock is only used to serialize _set_state().
13573
13574 2005-10-18  Wim Taymans  <wim@fluendo.com>
13575
13576         * check/gst/gstbin.c: (GST_START_TEST):
13577         * check/gst/gstmessage.c: (GST_START_TEST):
13578         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13579         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
13580         (bin_bus_handler):
13581         * gst/gstelement.c: (gst_element_abort_state),
13582         (gst_element_commit_state), (gst_element_lost_state):
13583         * gst/gstmessage.c: (gst_message_new_state_changed),
13584         (gst_message_new_state_dirty), (gst_message_new_segment_start),
13585         (gst_message_new_segment_done), (gst_message_new_duration),
13586         (gst_message_parse_state_changed),
13587         (gst_message_parse_segment_start),
13588         (gst_message_parse_segment_done), (gst_message_parse_duration):
13589         * gst/gstmessage.h:
13590         * tools/gst-launch.c: (event_loop):
13591         Seriously, this is better than a previous commit as we only need
13592         to notify the fact that an element changed state in a streaming
13593         thread, marking the state of the parents dirty, hence the 
13594         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
13595         message.
13596
13597 2005-10-18  Wim Taymans  <wim@fluendo.com>
13598
13599         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
13600         (gst_bin_recalc_func):
13601         * gst/gstelement.c: (gst_element_set_clock),
13602         (gst_element_abort_state), (gst_element_lost_state):
13603         Cleanups, prepare for state change fixes.
13604
13605 2005-10-18  Wim Taymans  <wim@fluendo.com>
13606
13607         * gst/gstbin.h:
13608         * gst/gstelement.c: (gst_element_class_init),
13609         (gst_element_set_state), (gst_element_set_state_func):
13610         * gst/gstelement.h:
13611         Pending ABI changes.
13612         GThreadPool in GstBinClass to monitor async state changes.
13613         state_cookie in GstElement to detect concurrent gst/set state.
13614         set_state is now virtual too in case a very complicated element
13615         has to be constructed.
13616
13617 2005-10-18  Wim Taymans  <wim@fluendo.com>
13618
13619         * check/gst/gstbin.c: (GST_START_TEST):
13620         * check/gst/gstmessage.c: (GST_START_TEST):
13621         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13622         * gst/gstbin.c: (bin_bus_handler):
13623         * gst/gstelement.c: (gst_element_commit_state),
13624         (gst_element_lost_state):
13625         * gst/gstmessage.c: (gst_message_new_state_changed),
13626         (gst_message_new_segment_start), (gst_message_new_segment_done),
13627         (gst_message_new_duration), (gst_message_parse_state_changed),
13628         (gst_message_parse_segment_start),
13629         (gst_message_parse_segment_done), (gst_message_parse_duration):
13630         * gst/gstmessage.h:
13631         * tools/gst-launch.c: (event_loop):
13632         Make messages future proof.
13633         state-change gets a flag if it was a message comming from the
13634         streaming thread.
13635         segment-start/stop can also be specified in other formats.
13636         A message to notify an app that a pipeline changed playback 
13637         duration.
13638         Also fix a GstMessage leak in -launch
13639
13640 2005-10-18  Andy Wingo  <wingo@pobox.com>
13641
13642         * gst/gstelement.c (gst_element_dispose): More helpful message.
13643
13644 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13645
13646         reviewed by: <delete if not using a buddy>
13647
13648         * common/gtk-doc.mak:
13649
13650 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13651
13652         * gst/gstregistry.c: (gst_registry_scan_path_level):
13653           unref a plug-in we get that was already initialized
13654
13655 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
13656
13657         * docs/gst/gstreamer-sections.txt:
13658         * docs/libs/gstreamer-libs-sections.txt:
13659         * gst/gstelement.h:
13660           add new api entries
13661           hide internal macro
13662
13663 2005-10-17  Andy Wingo  <wingo@pobox.com>
13664
13665         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
13666         cleanup.
13667
13668         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
13669
13670         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
13671
13672         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
13673         (gst_element_get_state_func): Better debug message.
13674         (gst_element_commit_state): s/INFO/DEBUG/.
13675         (gst_element_lost_state, gst_element_change_state): 
13676
13677         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
13678         (gst_message_new_custom): s/INFO/LOG/.
13679
13680 2005-10-17  Michael Smith <msmith@fluendo.com>
13681
13682         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13683           Check if end time is valid using end time, not start time.
13684
13685 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
13686
13687         * check/gst-libs/controller.c: (GST_START_TEST),
13688         (gst_controller_suite):
13689         * libs/gst/controller/gstcontroller.c:
13690         (gst_controlled_property_set_interpolation_mode):
13691         * libs/gst/controller/gstcontroller.h:
13692         * libs/gst/controller/gstinterpolation.c:
13693         * testsuite/controller/.cvsignore:
13694         * testsuite/controller/Makefile.am:
13695         * testsuite/controller/interpolator.c:
13696           merge controller testsuites
13697           fix broken tests
13698           remove mem-chunk from docs
13699
13700 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
13701
13702         * gst/gstmemchunk.c:
13703         * gst/gstmemchunk.h:
13704         * gst/gsttrashstack.c:
13705         * gst/gsttrashstack.h:
13706           out.  get out.  you're fired.  to the Attic !
13707
13708 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
13709
13710         * gst/gstcaps.c: (gst_caps_intersect):
13711           fix signedness issues in a (hopefully) correct way
13712         * gst/gstelement.c: (gst_element_pads_activate):
13713           some debugging
13714         * gst/gstobject.c: (gst_object_set_parent):
13715           some debugging
13716
13717 2005-10-17  Julien MOUTTE  <julien@moutte.net>
13718
13719         * gst/gstvalue.h: Fix prototypes.
13720
13721 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13722
13723         * docs/gst/gstreamer-sections.txt:
13724         * gst/gst.c: (gst_version_string):
13725         * gst/gst.h:
13726         * gst/gstversion.h.in:
13727         * win32/common/libgstreamer.def:
13728           add gst_version_string ()
13729
13730 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13731
13732         * configure.ac:
13733           clean up further
13734         * gst/gst.c: (init_post):
13735         * win32/common/config.h.in:
13736           it's PLUGINDIR now
13737         * gst/gstcaps.c: (gst_caps_intersect):
13738           use gint64, the range could be bigger than a guint
13739
13740 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13741
13742         * gst/gstclock.h:
13743           document potential problem in 2038
13744
13745 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13746
13747         * gst/gstcaps.c: (gst_caps_intersect):
13748           Fix guint j diving under 0
13749
13750 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13751
13752         * configure.ac:
13753         * win32/common/config.h:
13754         * win32/common/config.h.in:
13755           check for process.h, declares getpid() on Windows
13756         * gst/gstinfo.c:
13757           include process.h if we have it
13758         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
13759         * gst/gstmemchunk.h:
13760           fix signedness issues
13761         * win32/common/libgstreamer.def:
13762           fix get_type's
13763
13764 2005-10-16  Julien MOUTTE  <julien@moutte.net>
13765
13766         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
13767         fix. Because of unsigned ints, caps intersection was going nuts and
13768         trying to access structures with G_MAXUINT index. That fixes
13769         videotestsrc ! ffmpegcolorspace ! fakesink
13770         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
13771         consistency.
13772
13773 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13774
13775         * configure.ac:
13776           use the gettext macro
13777         * gst/elements/gstelements.c:
13778         * gst/gst.c:
13779         * gst/indexers/gstindexers.c:
13780           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
13781         * win32/common/config.h:
13782           updated config.h
13783         * win32/common/config.h.in:
13784           add the template to generate config.h
13785         * win32/common/gstenumtypes.c:
13786         * win32/common/gstversion.h:
13787           updated copies
13788
13789 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13790
13791         * gst/gst.c: (gst_version):
13792         * gst/gstversion.h.in:
13793           add the nano
13794
13795 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
13796
13797         * gst/gstevent.h:
13798           Oops, add missing closing bracket.
13799
13800 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13801
13802         * configure.ac:
13803           use common m4's for argument checking
13804
13805 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
13806
13807         * docs/gst/gstreamer-sections.txt:
13808         * gst/gstevent.h:
13809           Add GST_EVENT_TYPE_NAME() macro.
13810
13811 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13812
13813         * gst/gstinfo.c:
13814         * gst/gstpluginfeature.c:
13815         * gst/gsttask.c:
13816           privatize more symbols
13817
13818 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13819
13820         * configure.ac:
13821           add srcdir, builddir includes to GST_ALL_CFLAGS, since
13822           everything that uses GStreamer API should have the includes
13823
13824 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13825
13826         * docs/gst/gstreamer-sections.txt:
13827         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13828         * gst/gstvalue.h:
13829           give each value a _get_type, removes the DATA exports
13830
13831 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13832
13833         * gst/gst.c:
13834         * gst/gst.h:
13835           remove _gst_registry_auto_load, not used anymore
13836         * gst/gstbin.c: (gst_bin_get_type):
13837         * gst/gstbin.h:
13838         * gst/gstelement.c: (gst_element_get_type):
13839         * gst/gstelement.h:
13840         * gst/gstobject.c: (gst_object_get_type):
13841         * gst/gstobject.h:
13842         * gst/gstpad.c: (gst_pad_get_type):
13843         * gst/gstpad.h:
13844           make _get_type functions similar, fixes data export from library
13845
13846 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13847
13848         * configure.ac:
13849           correctly make conditionals
13850         * gst/elements/Makefile.am:
13851         * gst/elements/gstelements.c:
13852           fix typo causing fdsrc not to build
13853
13854 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13855
13856         * testsuite/Makefile.am:
13857         * testsuite/bytestream/.cvsignore:
13858         * testsuite/bytestream/Makefile.am:
13859         * testsuite/bytestream/filepadsink.c:
13860         * testsuite/bytestream/gstbstest.c:
13861         * testsuite/bytestream/test1.c:
13862         * testsuite/bytestream/testfile1:
13863         * testsuite/caps/normalisation.c:
13864         * testsuite/caps/random.c: (main):
13865         * testsuite/cleanup/.cvsignore:
13866         * testsuite/cleanup/Makefile.am:
13867         * testsuite/cleanup/cleanup1.c:
13868         * testsuite/cleanup/cleanup2.c:
13869         * testsuite/cleanup/cleanup3.c:
13870         * testsuite/cleanup/cleanup4.c:
13871         * testsuite/cleanup/cleanup5.c:
13872         * testsuite/controller/interpolator.c:
13873         * testsuite/debug/printf_extension.c: (main):
13874         * testsuite/elements/tee.c:
13875         * testsuite/negotiation/.cvsignore:
13876         * testsuite/negotiation/Makefile.am:
13877         * testsuite/negotiation/pad_link.c:
13878         * testsuite/pad/Makefile.am:
13879         * testsuite/pad/chainnopull.c:
13880         * testsuite/pad/getnopush.c:
13881         * testsuite/pad/link.c:
13882         * testsuite/refcounting/sched.c: (create_pipeline):
13883         * testsuite/registry/Makefile.am:
13884         * testsuite/registry/gst-print-formats.c:
13885         * testsuite/schedulers/.cvsignore:
13886         * testsuite/schedulers/142183-2.c:
13887         * testsuite/schedulers/142183.c:
13888         * testsuite/schedulers/143777-2.c:
13889         * testsuite/schedulers/143777.c:
13890         * testsuite/schedulers/147713.c:
13891         * testsuite/schedulers/147819.c:
13892         * testsuite/schedulers/147894-2.c:
13893         * testsuite/schedulers/147894.c:
13894         * testsuite/schedulers/Makefile.am:
13895         * testsuite/schedulers/group_link.c:
13896         * testsuite/schedulers/queue_link.c:
13897         * testsuite/schedulers/relink.c:
13898         * testsuite/schedulers/unlink.c:
13899         * testsuite/schedulers/unref.c:
13900         * testsuite/schedulers/useless_iteration.c:
13901         * testsuite/states/bin.c:
13902           clean out/remove some stuff from the testsuite directories
13903
13904 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13905
13906         * configure.ac:
13907           check for some headers
13908         * gst/elements/Makefile.am:
13909         * gst/elements/gstelements.c:
13910           don't compile fdsrc without sys/socket.h
13911         * gst/indexers/Makefile.am:
13912         * gst/indexers/gstindexers.c: (plugin_init):
13913           don't compile fileindex without mmap
13914
13915 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13916
13917         * configure.ac:
13918           reorganize
13919           clean up
13920           document more
13921           remove cruft
13922         * check/Makefile.am:
13923         * docs/gst/Makefile.am:
13924         * examples/helloworld/Makefile.am:
13925         * gst/Makefile.am:
13926         * gst/base/Makefile.am:
13927         * gst/check/Makefile.am:
13928         * gst/elements/Makefile.am:
13929         * gst/indexers/Makefile.am:
13930         * gst/parse/Makefile.am:
13931         * libs/gst/controller/Makefile.am:
13932         * libs/gst/dataprotocol/Makefile.am:
13933         * examples/helloworld/helloworld.c: (event_loop):
13934           compile fixes, though it's not being compiled currently
13935
13936 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
13937
13938         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
13939           Add some simple tests for the new taglist date API.
13940
13941 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
13942
13943         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
13944         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
13945           Beautify 'last-message' output: print 'none' for buffer timestamps
13946           and durations if none is set; improve alignment with next messages.
13947
13948 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
13949
13950         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
13951         * gst/gstpluginfeature.h:
13952         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
13953         * gst/gstregistry.h:
13954         * docs/gst/gstreamer-sections.txt:
13955           Add new API to check plugin feature version requirements.
13956
13957         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
13958           Some basic tests for the above.         
13959
13960 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13961
13962         * gst/gststructure.c: (gst_structure_to_string):
13963           guard against NULL printf - happens when for example
13964           a message structure with GstClock gets serialized
13965
13966 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
13967
13968         * gst/base/gstcollectpads.c: (gst_collectpads_event):
13969           Fix presumable copy'n'pasto.
13970
13971 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13972
13973         * gst/elements/gstfakesrc.h:
13974         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
13975         * gst/elements/gsttypefindelement.c:
13976           fix some signedness
13977         * gst/elements/gstfilesink.c: (gst_file_sink_render):
13978           I wonder if this could actually write +2GB files before
13979
13980 2005-10-13  Andy Wingo  <wingo@pobox.com>
13981
13982         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
13983         Fix Timmeke Waymans bug.
13984         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
13985         string of the proper length to gst_caps_from_string. There's a
13986         potential for, before this fix, that this could cause someone
13987         connecting over the network to cause a segfault if the payload is
13988         not NUL-terminated.
13989
13990 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
13991
13992         * docs/design/draft-push-pull.txt:
13993         * docs/design/part-overview.txt:
13994         * docs/random/TODO-pre-0.9:
13995         * docs/random/old/ChangeLog.gstreamer:
13996         * gst/base/gstpushsrc.c:
13997         * gst/gstclock.c:
13998           fixed typos
13999
14000 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14001
14002         * gst/glib-compat.c: (gst_flags_get_first_value):
14003         * gst/glib-compat.h:
14004         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
14005         (gst_value_compare_double), (gst_value_serialize_flags):
14006           GLib 2.6 g_flags_get_first_value has a bug that triggers an
14007           infinite loop
14008
14009 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14010
14011         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14012         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14013           fix up debugging
14014         * tools/gst-launch.c: (event_loop):
14015           print out clock nicely
14016
14017 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
14018
14019         * docs/gst/gstreamer-sections.txt:
14020         * gst/gsttaglist.h:
14021         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
14022         (gst_tag_list_get_date_index):
14023           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
14024           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
14025
14026 2005-10-13  Julien MOUTTE  <julien@moutte.net>
14027
14028         * gst/base/gstcollectpads.c: (gst_collectpads_event),
14029         (gst_collectpads_chain):
14030         * gst/base/gstcollectpads.h: Handle newsegment and store informations
14031         in CollectData.
14032
14033 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
14034
14035         * docs/gst/gstreamer-sections.txt:
14036         * gst/gst.c:
14037         * gst/gsterror.h:
14038         * tools/gst-inspect.c: (main):
14039         * tools/gst-launch.c: (main):
14040         * tools/gst-run.c: (main):
14041         * tools/gst-xmlinspect.c: (main):
14042           fix GOption context leaks
14043           doc fixes
14044
14045 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14046
14047         * gst/gstbus.c:
14048           use HAVE_UNISTD_H
14049         * win32/common/config.h:
14050           update config
14051         * win32/vs6/grammar.dsp:
14052         * win32/vs6/libgstelements.dsp:
14053         * win32/vs6/libgstreamer.dsp:
14054           update vs6 files
14055
14056 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14057
14058         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14059         * gst/base/gstbasesrc.c: (gst_base_src_query):
14060           fix more guint64<->gdouble conversions
14061
14062 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14063
14064         * Makefile.am:
14065           add win32-update target
14066         * win32/common/gstconfig.h:
14067         * win32/common/gstenumtypes.c:
14068         * win32/common/gstenumtypes.h:
14069         * win32/common/gstversion.h:
14070           add files that visual studio can't generate
14071
14072 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14073
14074         * Makefile.am:
14075           add a win32-update target
14076         * configure.ac:
14077
14078 2005-10-12  Wim Taymans  <wim@fluendo.com>
14079
14080         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
14081         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
14082         * gst/gstelement.c: (gst_element_commit_state),
14083         (gst_element_set_state):
14084         Protect flags with proper lock.
14085         unref provided cached clock in dispose.
14086
14087 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
14088
14089         * gst/gst.c:
14090         * gst/gstminiobject.h:
14091         * gst/gstpad.h:
14092         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
14093           removed unused flags from miniobject
14094           doc fixes
14095
14096 2005-10-12  Wim Taymans  <wim@fluendo.com>
14097
14098         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
14099         (gst_file_sink_event), (gst_file_sink_render):
14100         Flush before seeking.
14101
14102 2005-10-12  Andy Wingo  <wingo@pobox.com>
14103
14104         * gst/gst.c (gst_init_check): Ignore unknown options, as has
14105         always been the case.
14106
14107 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
14108
14109         * check/gst/gstbin.c: (GST_START_TEST):
14110         * docs/gst/gstreamer-sections.txt:
14111         * gst/base/gstbasesink.c: (gst_base_sink_init):
14112         * gst/base/gstbasesrc.c: (gst_base_src_init),
14113         (gst_base_src_get_range), (gst_base_src_check_get_range),
14114         (gst_base_src_start), (gst_base_src_stop):
14115         * gst/base/gstbasesrc.h:
14116         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
14117         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
14118         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
14119         (bin_bus_handler):
14120         * gst/gstbin.h:
14121         * gst/gstbuffer.h:
14122         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
14123         * gst/gstbus.h:
14124         * gst/gstelement.c: (gst_element_is_locked_state),
14125         (gst_element_set_locked_state), (gst_element_commit_state),
14126         (gst_element_set_state):
14127         * gst/gstelement.h:
14128         * gst/gstindex.c: (gst_index_init):
14129         * gst/gstindex.h:
14130         * gst/gstminiobject.h:
14131         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
14132         (gst_object_set_parent):
14133         * gst/gstobject.h:
14134         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
14135         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
14136         * gst/gstpad.h:
14137         * gst/gstpadtemplate.h:
14138         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
14139         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14140         * gst/gstpipeline.h:
14141         * gst/indexers/gstfileindex.c: (gst_file_index_load),
14142         (gst_file_index_commit):
14143         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
14144         * testsuite/pad/link.c: (gst_test_src_init),
14145         (gst_test_filter_init), (gst_test_sink_init):
14146         * testsuite/states/locked.c: (main):
14147           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
14148           moved bitshift from macro to enum definition
14149
14150 2005-10-12  Wim Taymans  <wim@fluendo.com>
14151
14152         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
14153         * gst/elements/gstfilesink.c: (gst_file_sink_event),
14154         (gst_file_sink_render):
14155         Some more debugging info.
14156
14157 2005-10-12  Wim Taymans  <wim@fluendo.com>
14158
14159         * docs/design/part-states.txt:
14160         * tools/gst-launch.c: (main):
14161         Some doc updates.
14162         Revert non-intentional change.
14163
14164 2005-10-12  Wim Taymans  <wim@fluendo.com>
14165
14166         * check/gst/gstbin.c: (GST_START_TEST):
14167         * check/gst/gstelement.c: (GST_START_TEST):
14168         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
14169         * check/gst/gstghostpad.c: (GST_START_TEST):
14170         * check/gst/gstpipeline.c: (GST_START_TEST):
14171         * check/pipelines/simple_launch_lines.c: (run_pipeline):
14172         * check/states/sinks.c: (GST_START_TEST):
14173         * gst/elements/gsttypefindelement.c: (stop_typefinding):
14174         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14175         (gst_bin_remove_func), (gst_bin_get_state_func),
14176         (gst_bin_recalc_state), (gst_bin_change_state_func),
14177         (bin_bus_handler):
14178         * gst/gstelement.c: (gst_element_get_state_func),
14179         (gst_element_get_state), (gst_element_abort_state),
14180         (gst_element_commit_state), (gst_element_set_state),
14181         (gst_element_change_state), (gst_element_change_state_func):
14182         * gst/gstelement.h:
14183         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
14184         (gst_pipeline_provide_clock_func):
14185         * gst/gstutils.c: (gst_element_link_pads_filtered):
14186         * tools/gst-launch.c: (main):
14187         * tools/gst-typefind.c: (main):
14188         Use GstClockTime in _get_state() instead of GTimeVal.
14189         Remove old code in gstutils.c
14190
14191 2005-10-12  Andy Wingo  <wingo@pobox.com>
14192
14193         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
14194         removed.
14195
14196         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
14197         there is no task. Shouldn't affect any code, as nothing in our
14198         plugins checks this return value.
14199         (gst_pad_stop_task): Also take the stream lock if the pad has no
14200         task. Docs updated.
14201
14202 2005-10-12  Wim Taymans  <wim@fluendo.com>
14203
14204         * gst/gstpad.c: (pre_activate), (post_activate),
14205         (gst_pad_activate_pull), (gst_pad_activate_push):
14206         Cleanup activation code. Reset old state if
14207         activation failed.
14208
14209 2005-10-12  Wim Taymans  <wim@fluendo.com>
14210
14211         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14212         (gst_base_sink_change_state):
14213         No need to prerol after receiving EOS.
14214
14215         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
14216         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
14217         * gst/elements/gstidentity.c: (gst_identity_event):
14218         Print events more verbosely.
14219
14220 2005-10-12  Wim Taymans  <wim@fluendo.com>
14221
14222         * check/Makefile.am:
14223         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
14224         * check/states/sinks2.c:
14225         Moved sinks2 testcode in sinks check.
14226
14227         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14228         (gst_bin_remove_func), (gst_bin_recalc_state),
14229         (gst_bin_change_state_func), (bin_bus_handler):
14230         Fix potential race condition when _get_state() iterated over an
14231         ASYNC element right before it posted a state completion.
14232
14233         * gst/gstclock.h:
14234         Do proper cast here.
14235
14236         * gst/gstevent.c: (gst_event_new_newsegment),
14237         (gst_event_parse_newsegment):
14238         A playback rate of 0.0 is not allowed.
14239
14240 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14241
14242         * win32/common/config.h:
14243         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
14244         (_trewinddir), (_ttelldir), (_tseekdir):
14245         * win32/common/dirent.h:
14246         * win32/common/gtchar.h:
14247         * win32/common/libgstbase.def:
14248         * win32/common/libgstreamer.def:
14249         * win32/vs6/grammar.dsp:
14250         * win32/vs6/gst_inspect.dsp:
14251         * win32/vs6/gst_launch.dsp:
14252         * win32/vs6/gstreamer.dsw:
14253         * win32/vs6/libgstbase.dsp:
14254         * win32/vs6/libgstelements.dsp:
14255         * win32/vs6/libgstreamer.dsp:
14256           Visual Studio 6 project files, and a new common directory.
14257           Phear.
14258
14259 2005-10-11  Wim Taymans  <wim@fluendo.com>
14260
14261         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14262         (gst_base_sink_do_sync), (gst_base_sink_query),
14263         (gst_base_sink_change_state):
14264         * gst/base/gstbasesink.h:
14265         Correctly parse newsegment info.
14266
14267 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14268
14269         * gst/gst.c: (init_post):
14270           split plugin paths correctly
14271
14272 2005-10-11  Wim Taymans  <wim@fluendo.com>
14273
14274         * check/gst/gstevent.c: (GST_START_TEST):
14275         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14276         (gst_base_sink_change_state):
14277         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
14278         * gst/base/gstbasetransform.c: (gst_base_transform_event):
14279         * gst/elements/gstfilesink.c: (gst_file_sink_event):
14280         * gst/gstevent.c: (gst_event_new_newsegment),
14281         (gst_event_parse_newsegment):
14282         * gst/gstevent.h:
14283         Added extra flag to newsegment for future API freeze.
14284         Updated check and base elements.
14285
14286 2005-10-11  Julien MOUTTE  <julien@moutte.net>
14287
14288         * gst/base/gstcollectpads.c: (gst_collectpads_init),
14289         (gst_collectpads_add_pad), (gst_collectpads_pop),
14290         (gst_collectpads_event), (gst_collectpads_chain):
14291         * gst/base/gstcollectpads.h: Handle EOS correctly.
14292
14293 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14294
14295         * tools/gst-launch.c: (main):
14296           more null protecting
14297
14298 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14299
14300         * gst/gst-i18n-lib.h:
14301           check for ENABLE_NLS, not GETTEXT_PACKAGE
14302         * gst/gstregistry.c: (gst_registry_add_plugin),
14303         (gst_registry_scan_path_level),
14304         (_gst_registry_remove_cache_plugins):
14305           protect possibly NULL strings
14306         * gst/parse/types.h:
14307           config.h already included before
14308         * tools/gst-inspect.c: (main):
14309           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
14310           check for ENABLE_NLS, not GETTEXT_PACKAGE
14311         * tools/gst-launch.c: (main):
14312           check for ENABLE_NLS, not GETTEXT_PACKAGE
14313
14314 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14315
14316         * configure.ac:
14317           if we don't have glib, fail before testing 2.8
14318         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
14319           fix a leak, should fix plugins-base testsuite
14320
14321 2005-10-11  Andy Wingo  <wingo@pobox.com>
14322
14323         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
14324         take the mode we're going to as an arg. Go head and set the mode
14325         and flushing flags now, so that if the activate function starts a
14326         thread all the flags will be in the right state.
14327         (post_activate): Renamed also. Just handle making sure streaming
14328         finishes for the deactivation case, and setting the deactivated
14329         mode.
14330         (gst_pad_set_active): Complain loudly if deactivation fails.
14331         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
14332         (gst_pad_activate_push): Adapt to pre/post_activate changes,
14333         remove the terrible hack.
14334
14335 2005-10-11  Wim Taymans  <wim@fluendo.com>
14336
14337         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14338         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
14339         (gst_bin_recalc_state), (gst_bin_change_state_func),
14340         (gst_bin_dispose), (bin_bus_handler):
14341         * gst/gstbin.h:
14342         Prepare to make current EOS message queue more generic.
14343         Fix some typos.
14344
14345         * gst/gstevent.c: (gst_event_new_newsegment),
14346         (gst_event_parse_newsegment):
14347         * gst/gstevent.h:
14348         Rename base to stream_time.
14349
14350         * gst/gstmessage.h:
14351         Fix typo in docs.
14352
14353 2005-10-11  Wim Taymans  <wim@fluendo.com>
14354
14355         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14356         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
14357         (gst_bin_change_state_func), (bin_bus_handler):
14358         * gst/gstbin.h:
14359         Work on proper clock selection.
14360
14361 2005-10-11  Edward Hervey  <edward@fluendo.com>
14362
14363         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
14364         * libs/gst/controller/gstcontroller.h:
14365         Added GList* version of _remove_properties() in order to be able to wrap
14366         it in bindings.
14367
14368 2005-10-11  Wim Taymans  <wim@fluendo.com>
14369
14370         * docs/design/part-states.txt:
14371         Some more docs.
14372
14373         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
14374         (gst_bin_change_state_func), (bin_bus_handler):
14375         Doc updates. Don't distribute the same clock over and over again.
14376
14377         * gst/gstclock.c:
14378         * gst/gstclock.h:
14379         Doc updates.
14380
14381         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
14382         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
14383         (gst_pad_send_event):
14384         * gst/gstpad.h:
14385         Make probe emission threadsafe again.
14386         Register quarks and move _get_name() from utils.
14387         Doc updates.
14388
14389         * gst/gstpipeline.c: (gst_pipeline_class_init),
14390         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14391         Only redistribute the clock of it changed.
14392
14393         * gst/gstsystemclock.h:
14394         Doc updates. 
14395
14396         * gst/gstutils.c:
14397         * gst/gstutils.h:
14398         Moved the _flow_get_name() to GstPad.
14399
14400 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14401
14402         * check/gst-libs/gdp.c: (GST_START_TEST):
14403         * check/gst/gstcaps.c: (GST_START_TEST):
14404         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
14405         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
14406         (gst_dp_packet_from_caps):
14407           fix more valgrind warnings before turning up the heat
14408
14409 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14410
14411         * gst/parse/grammar.y:
14412           some cleanup before the hacking
14413
14414 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14415
14416         * gst/base/gstbasesrc.c: (gst_base_src_query):
14417           use conversions
14418         * gst/gstutils.c: (gst_guint64_to_gdouble),
14419         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
14420         * gst/gstutils.h:
14421           externalize, basesrc uses it
14422           obviously the implementation needs testing
14423
14424 2005-10-10  Wim Taymans  <wim@fluendo.com>
14425
14426         * tests/sched/Makefile.am:
14427         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
14428         (make_pipeline3), (make_pipeline4), (print_elem), (main):
14429
14430 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14431
14432         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
14433           apparently converting from guint64 to double is not implemented
14434           on MSVC
14435
14436 2005-10-10  Wim Taymans  <wim@fluendo.com>
14437
14438         * check/Makefile.am:
14439         * check/generic/states.c: (GST_START_TEST):
14440         * check/gst/gstbin.c: (GST_START_TEST):
14441         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
14442         * check/states/sinks.c: (GST_START_TEST):
14443         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
14444         (main):
14445         Check fixes, use API as stated in design docs, remove hacks.
14446
14447         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14448         (gst_base_sink_change_state):
14449         Catch stopping our task while we're shutting down.
14450
14451         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
14452         (gst_bin_remove_func), (gst_bin_get_state_func),
14453         (gst_bin_recalc_state), (gst_bin_change_state_func),
14454         (bin_bus_handler):
14455         * gst/gstbin.h:
14456         * gst/gstelement.c: (gst_element_init),
14457         (gst_element_get_state_func), (gst_element_abort_state),
14458         (gst_element_commit_state), (gst_element_lost_state),
14459         (gst_element_set_state), (gst_element_change_state),
14460         (gst_element_change_state_func):
14461         * gst/gstelement.h:
14462         New state change algorithm (see #318116)
14463
14464         * gst/gstpipeline.c: (gst_pipeline_class_init),
14465         (gst_pipeline_init), (gst_pipeline_set_property),
14466         (gst_pipeline_get_property), (do_pipeline_seek),
14467         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14468         * gst/gstpipeline.h:
14469         Remove crude state change hacks.
14470
14471         * gst/gstutils.h:
14472         Remove crude hacks.
14473
14474         * tools/gst-launch.c: (main):
14475         Fixes for state change. Needs some more work to fully use the
14476         new stuff.
14477
14478 2005-10-10  Andy Wingo  <wingo@pobox.com>
14479
14480         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
14481
14482         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
14483         this flag, but it's not even in GLib 2.6. Odd. Hack around the
14484         issue.
14485
14486 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14487
14488         * gst/gstiterator.c: (gst_iterator_new):
14489           Fix my previous commit: GTypes passed to gst_iterator_new()
14490           can be fundamental types.
14491
14492 2005-10-10  Wim Taymans  <wim@fluendo.com>
14493
14494         * gst/gstelement.c: (gst_element_iterate_pad_list),
14495         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
14496         (gst_element_iterate_sink_pads):
14497         Use src/sink pads lists for the respective iterators instead
14498         of filtering.
14499
14500 2005-10-10  Andy Wingo  <wingo@pobox.com>
14501
14502         Merged in popt removal + GOption addition patch from Ronald, bug
14503         #169772.
14504
14505         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
14506         GstElement macros around, remove popt-related symbols, add goption
14507         stuff.
14508
14509         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
14510         
14511         * docs/gst/Makefile.am:
14512         * docs/libs/Makefile.am: No POPT_CFLAGS.
14513         
14514         * examples/manual/Makefile.am:
14515         * docs/manual/basics-init.xml: Doc updates with an example.
14516         
14517         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
14518         (gst_init), (parse_one_option), (parse_goption_arg):
14519         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
14520         bit of hand merging and debugging to get the GOption stuff working
14521         tho.
14522         
14523         * tests/Makefile.am:
14524         * tools/Makefile.am:
14525         * tools/gst-inspect.c: (main):
14526         * tools/gst-launch.c: (main):
14527         * tools/gst-run.c: (main):
14528         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
14529
14530 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14531
14532         * gst/gstiterator.c: (gst_iterator_new):
14533           Add assertions to make sure passed GType is likely to really
14534           be a GType (as the compiler won't catch it if the size and
14535           GType arguments get mixed up, see #318447).
14536
14537 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
14538
14539         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14540
14541         * gst/gstbin.c: (gst_bin_iterate_sorted):
14542           Pass GType and size arguments to gst_iterator_new() in the right
14543           order (maybe we should make _new() take the GType as first argument
14544           just like _new_list()?) (#318447).
14545           
14546
14547 2005-10-10  Wim Taymans  <wim@fluendo.com>
14548
14549         * gst/gstelement.c: (gst_element_finalize):
14550         And free the GStaticRecMutex too
14551
14552 2005-10-10  Andy Wingo  <wingo@pobox.com>
14553
14554         * gst/gstelement.c (gst_element_init, gst_element_finalize):
14555         Allocate and free the mutex properly.
14556
14557         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
14558         New macros.
14559         (GstElement): The state_lock is now recursive. Rebuild your
14560         plugins, suckers. Old macros adapted.
14561
14562         * docs/gst/gstreamer-sections.txt: Doc updates.
14563
14564         * gst/gstutils.h:
14565         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
14566         (g_static_rec_cond_wait): Ported from state changes patch, while
14567         we wait on bug #317802 to be solved in a well-distributed GLib.
14568
14569         * gst/gstelement.c (gst_element_change_state_func): Renamed from
14570         gst_element_change_state, variable name changes.
14571         (gst_element_change_state): Split out of gst_element_set_state in
14572         preparation for the state change merge. Doesn't pay attention to
14573         the 'transition' argument.
14574         (gst_element_set_state): Updates, hopefully purely cosmetic.
14575         (gst_element_sync_state_with_parent): MT-safety. Ported from the
14576         state change patch.
14577         (gst_element_get_state_func): Renamed from get_state, cosmetic
14578         changes.
14579
14580 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14581
14582         * gst/elements/gstelements.c:
14583         * win32/GStreamer.vcproj:
14584         * win32/config.h:
14585         * win32/dirent.c: (_tseekdir):
14586         * win32/gst-inspect.vcproj:
14587         * win32/gst-launch.vcproj:
14588         * win32/gstconfig.h:
14589         * win32/gstelements.vcproj:
14590         * win32/gstenumtypes.c: (gst_object_flags_get_type):
14591         * win32/gstreamer.def:
14592         * win32/msvc71.sln:
14593           updates for the win32 build (patch from Sebastien Moutte)
14594
14595 2005-10-10  Andy Wingo  <wingo@pobox.com>
14596
14597         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
14598         gst_bin_get_state, cleaned up (but no logic changes).
14599         (bin_element_is_sink): Comment updates.
14600         (sink_iterator_filter): Remove needless cast.
14601         (gst_bin_iterate_sinks): Doc update.
14602         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
14603         cleaned up (but no logic changes).
14604
14605         * check/states/sinks.c (test_src_sink): Cleanups from the state
14606         change patch.
14607         (test_livesrc_sink): Sync on the state.
14608
14609         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
14610         the state change patch.
14611
14612         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
14613         change patch.
14614
14615         * check/gst/gstbin.c: Merge in some style fixes and additional
14616         checks from Wim's state change patch.
14617
14618 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14619
14620         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14621         (gst_type_find_helper):
14622           Check whether we have the requested data already in our list of
14623           cached buffers before pulling a new buffer; also make the buffer
14624           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
14625
14626 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14627
14628         * gst/gstcaps.c:
14629         * gst/gstevent.c:
14630           doc updates
14631         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14632           don't use long long, it's not portable.  Replacing with
14633           gint64 seems to work; let's hope no skeletons fall out of the closet.
14634
14635 2005-10-10  Andy Wingo  <wingo@pobox.com>
14636
14637         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
14638
14639 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
14640
14641         * docs/gst/gstreamer-sections.txt:
14642         * gst/gstevent.c:
14643         * gst/gstevent.h:
14644         * gst/gstinfo.c:
14645         * gst/gstinfo.h:
14646         * gst/gstmessage.c: (gst_message_parse_state_changed):
14647         * gst/gstpad.c:
14648         * gst/gstpad.h:
14649           more docs, fix compilation
14650
14651 2005-10-09  Philippe Khalaf <burger@speedy.org>
14652         * gst/gstmessage.c:
14653           Fixed a few forgotten variables on previous commit
14654
14655 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
14656
14657         * gst/base/gsttypefindhelper.c: (helper_find_peek):
14658           Fix evil typefind crasher: getrange() might return a short
14659           buffer at the end of a file, but gst_type_find_peek() must
14660           either return the full data as requested or NULL, but
14661           never a short buffer.
14662
14663 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14664
14665         * gst/gstmessage.c: (gst_message_new_state_changed),
14666         (gst_message_parse_state_changed):
14667         * gst/gstmessage.h:
14668           don't use "new", it's a C++ keyword
14669
14670 2005-10-08  Wim Taymans  <wim@fluendo.com>
14671
14672         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
14673         * gst/gstelement.c: (gst_element_post_message):
14674         * gst/gstpipeline.c: (gst_pipeline_change_state):
14675         Small docs and debug updates.
14676
14677 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
14678
14679         * docs/gst/gstreamer-sections.txt:
14680         * gst/gstelementfactory.c:
14681         * gst/gstevent.c:
14682         * gst/gsttaglist.c:
14683           more docs
14684
14685 2005-10-08  Wim Taymans  <wim@fluendo.com>
14686
14687         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
14688         (gst_bin_dispose), (bin_bus_handler):
14689         Fix typos, add comments.
14690         Clear EOS list when going to PAUSED from any direction and do it
14691         in a threadsafe way.
14692         Get base time in a threadsafe way too.
14693         Fix confusing debug in the change_state function.
14694         Various other small cleanups.
14695         
14696         * gst/gstelement.c: (gst_element_post_message):
14697         Fix very verbose bus posting code.
14698
14699         * gst/gstpipeline.c: (gst_pipeline_class_init),
14700         (gst_pipeline_set_property), (gst_pipeline_get_property),
14701         (gst_pipeline_change_state):
14702         Small ARG_ -> PROP_ cleanup
14703
14704 2005-10-08  Wim Taymans  <wim@fluendo.com>
14705
14706         * gst/gstbin.c: (is_eos), (bin_bus_handler):
14707         Do a less CPU demanding EOS check because we can.
14708
14709 2005-10-08  Wim Taymans  <wim@fluendo.com>
14710
14711         * libs/gst/dataprotocol/dataprotocol.c:
14712         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14713         (gst_dp_packet_from_event):
14714         * libs/gst/dataprotocol/dataprotocol.h:
14715         * libs/gst/dataprotocol/dp-private.h:
14716         It's about time we bump the version number.
14717         Since event types don't fit in the guint8 anymore describing
14718         the payload type, make payload type 16 bits wide.
14719
14720 2005-10-08  Wim Taymans  <wim@fluendo.com>
14721
14722         * docs/design/part-TODO.txt:
14723         * docs/design/part-clocks.txt:
14724         * docs/design/part-events.txt:
14725         * docs/design/part-gstbin.txt:
14726         * docs/design/part-gstelement.txt:
14727         * docs/design/part-gstpipeline.txt:
14728         * docs/design/part-live-source.txt:
14729         * docs/design/part-messages.txt:
14730         * docs/design/part-overview.txt:
14731         * docs/design/part-states.txt:
14732         Many doc updates.
14733
14734 2005-10-08  Wim Taymans  <wim@fluendo.com>
14735
14736         * gst/gstevent.c:
14737         * gst/gstevent.h:
14738         Fix event quark registration.
14739         Add some space between events so we can insert them in the
14740         right groups.
14741
14742 2005-10-08  Wim Taymans  <wim@fluendo.com>
14743
14744         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14745         (gst_base_sink_handle_buffer):
14746         Better log message.
14747
14748         * gst/gstbus.h:
14749         * gst/gstelement.h:
14750         More docs.
14751
14752         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
14753         (gst_queue_set_property), (gst_queue_get_property):
14754         * gst/gstqueue.h:
14755         Remove old unused properties.
14756
14757 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
14758         * docs/gst/gstreamer-sections.txt:
14759         * gst/gstmessage.c:
14760         * gst/gstmessage.h:
14761         * gst/gstminiobject.c:
14762         * gst/gstminiobject.h:
14763         * gst/gstobject.h:
14764         * gst/gstpad.h:
14765         * gst/gstutils.h:
14766           lots of new docs and doc fixes
14767
14768 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14769
14770         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
14771         * gst/gstplugin.h:
14772         * gst/gstregistry.c: (gst_registry_lookup_locked),
14773         (gst_registry_scan_path_level):
14774         * gst/gstregistryxml.c: (load_plugin):
14775           Only ever load one plugin for a given plugin basename.
14776           This ensures correct overriding of GST_PLUGIN_PATH over
14777           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
14778           system installed plugins.
14779
14780 2005-10-08  Wim Taymans  <wim@fluendo.com>
14781
14782         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14783         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
14784         Prepare for doing QOS.
14785
14786 2005-10-08  Wim Taymans  <wim@fluendo.com>
14787
14788         * check/gst/gstbin.c: (GST_START_TEST):
14789         * check/pipelines/cleanup.c: (GST_START_TEST):
14790         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14791         Allow new clock message too.
14792
14793 2005-10-08  Wim Taymans  <wim@fluendo.com>
14794
14795         * gst/gstmessage.c: (gst_message_new_error),
14796         (gst_message_new_warning), (gst_message_new_tag),
14797         (gst_message_new_state_changed), (gst_message_new_clock_provide),
14798         (gst_message_new_clock_lost), (gst_message_new_new_clock),
14799         (gst_message_new_segment_start), (gst_message_new_segment_done),
14800         (gst_message_parse_state_changed),
14801         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
14802         (gst_message_parse_new_clock):
14803         * gst/gstmessage.h:
14804         Also carry the clock in question.
14805
14806 2005-10-08  Wim Taymans  <wim@fluendo.com>
14807
14808         * gst/gstmessage.c: (gst_message_new_custom),
14809         (gst_message_new_eos), (gst_message_new_error),
14810         (gst_message_new_warning), (gst_message_new_tag),
14811         (gst_message_new_state_changed), (gst_message_new_clock_provide),
14812         (gst_message_new_new_clock), (gst_message_new_segment_start),
14813         (gst_message_new_segment_done), (gst_message_parse_state_changed),
14814         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
14815         * gst/gstmessage.h:
14816         Clean up.
14817         Added clock related messages.
14818
14819         * gst/gstpipeline.c: (gst_pipeline_change_state):
14820         Post message when the clock changed.
14821
14822         * tools/gst-launch.c: (event_loop):
14823         Print new clock.
14824
14825 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
14826
14827         * tools/gst-inspect.c: (print_element_properties_info):
14828           Can't pass NULL strings to g_print() on windows.
14829
14830 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14831
14832         * docs/Makefile.am:
14833         * docs/gst/Makefile.am:
14834         * docs/gst/gstreamer-docs.sgml:
14835         * docs/gst/running.xml:
14836         * docs/version.entities.in:
14837           add a chapter on running GStreamer.
14838           document GST_DEBUG and GST_PLUGIN* env vars
14839
14840 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14841
14842         * Makefile.am:
14843           remove include dir
14844         * configure.ac:
14845           remove PLUGINS_BUILDDIR stuff
14846         * gst/gst.c: (init_post):
14847           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
14848         * idiottest.mak:
14849           remove, it was condescending and not needed
14850
14851 2005-10-08  Wim Taymans  <wim@fluendo.com>
14852
14853         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
14854         (gst_base_sink_handle_object), (gst_base_sink_event),
14855         (gst_base_sink_wait), (gst_base_sink_handle_event),
14856         (gst_base_sink_change_state):
14857         * gst/base/gstbasesink.h:
14858         Repost EOS message while going to PLAYING if still EOS.
14859         Make sure that when receiving a FLUSH_START we don't attempt
14860         to sync on the clock anymore.
14861
14862 2005-10-08  Wim Taymans  <wim@fluendo.com>
14863
14864         * tools/gst-launch.c: (event_loop):
14865         Better message printout.
14866
14867 2005-10-08  Wim Taymans  <wim@fluendo.com>
14868
14869         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
14870         (gst_bin_child_proxy_get_children_count):
14871         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14872         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
14873         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
14874         (gst_child_proxy_set_valist):
14875         * gst/parse/grammar.y:
14876         Make ChildProxy threadsafe and fix mem leaks.
14877
14878 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14879
14880         * gst/gst.c: (init_post):
14881           debug the GST_PLUGIN_ env vars
14882
14883 2005-10-08  Wim Taymans  <wim@fluendo.com>
14884
14885         * check/gst/gstbin.c: (GST_START_TEST):
14886         * check/gst/gstmessage.c: (GST_START_TEST):
14887         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
14888         * gst/gstelement.c: (gst_element_commit_state),
14889         (gst_element_lost_state):
14890         * gst/gstmessage.c: (gst_message_new_state_changed),
14891         (gst_message_parse_state_changed):
14892         * gst/gstmessage.h:
14893         * tools/gst-launch.c: (event_loop):
14894         Added extra field to STATE_CHANGE message with the pending
14895         state, which will be different from the new state soon.
14896
14897 2005-10-08  Wim Taymans  <wim@fluendo.com>
14898
14899         * gst/gstbus.c: (gst_bus_pop):
14900         * gst/gstclock.c:
14901         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
14902         Small cleanups and doc updates.
14903
14904 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14905
14906         * gst/gst.c: (init_pre):
14907         * gst/gstbin.c: (gst_bin_add_func):
14908           log distributing clocks and base time
14909         * gst/gstregistry.c: (gst_registry_add_plugin),
14910         (gst_registry_scan_path_level), (gst_registry_scan_path):
14911           clean up the debugging output a little
14912         * gst/gstutils.c: (gst_element_state_get_name):
14913           warn about a memleak (I've actually seen this be used, though
14914           it was probably a bug)
14915
14916 2005-10-07  Wim Taymans  <wim@fluendo.com>
14917
14918         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14919         (gst_base_src_init), (gst_base_src_default_newsegment),
14920         (gst_base_src_newsegment), (gst_base_src_do_seek),
14921         (gst_base_src_loop), (gst_base_src_start):
14922         * gst/base/gstbasesrc.h:
14923         Make the newsegment event customizable by subclasses.
14924
14925 2005-10-07  Wim Taymans  <wim@fluendo.com>
14926
14927         * gst/gstevent.c: (gst_event_new_buffersize),
14928         (gst_event_parse_buffersize):
14929         * gst/gstevent.h:
14930         New event for future idea.
14931
14932 2005-10-07  Andy Wingo  <wingo@pobox.com>
14933
14934         * gst/gstelement.c (gst_element_post_message): Doc update.
14935
14936         * docs/gst/gstreamer-sections.txt: Update.
14937
14938         * gst/gstmessage.c (gst_message_new_application): Made into a
14939         function like honest API calls.
14940         (gst_message_new_element): New message type.
14941
14942         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
14943
14944         * check/elements/fakesrc.c (test_no_preroll): New check, checks
14945         that setting a live fakesrc to PAUSED returns NO_PREROLL both
14946         times.
14947
14948         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
14949         NO_PREROLL from gst_element_change_state to fall through.
14950
14951 2005-10-07  Wim Taymans  <wim@fluendo.com>
14952
14953         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
14954         (gst_ghost_pad_do_activate_push):
14955         Activating a ghostpad with no internal pad in push mode
14956         is ok.
14957
14958 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14959
14960         * gst/gstobject.h:
14961           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
14962           Fixes compilation on Windows.
14963
14964 2005-10-07  Michael Smith <msmith@fluendo.com>
14965
14966         * tools/gst-inspect.c:
14967           Print out feature and plugin count at the end when printing out
14968           all features.
14969
14970 2005-10-04  Michael Smith <msmith@fluendo.com>
14971
14972         * gst/gsterror.c: (_gst_stream_errors_init):
14973           Add another error string used in a few existing plugins.
14974
14975         * gst/gstplugin.c:
14976         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14977         * tools/gst-inspect.c: (print_element_info):
14978           When a feature disappears from a plugin (and the feature exists in
14979           the cached registry file), things went horribly wrong. This isn't a
14980           complete fix, we should actually be removing the 'missing' features
14981           from the features list when we load the actual plugin. That's not
14982           yet implemented. 
14983
14984 2005-10-04  Johan Dahlin  <johan@gnome.org>
14985
14986         * check/gst/gstiterator.c: (GST_START_TEST):
14987         * gst/gstbin.c: (gst_bin_iterate_elements),
14988         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
14989         * gst/gstelement.c: (gst_element_iterate_pads):
14990         * gst/gstformat.c: (gst_format_iterate_definitions):
14991         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
14992         (gst_iterator_new_list), (gst_iterator_filter):
14993         * gst/gstiterator.h:
14994         * gst/gstquery.c: (gst_query_type_iterate_definitions):
14995         Add a GType to GstIterator, update callsites and tests.
14996
14997 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14998
14999         * gst/gstpad.c: (gst_pad_event_default_dispatch):
15000           give events a chance to be handled by event probes when the pad
15001           is not linked
15002
15003 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
15004
15005         * gst/gstevent.c: (gst_event_type_get_name),
15006         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
15007         * gst/gstevent.h:
15008           add string representations for event types
15009
15010 2005-10-06  Wim Taymans  <wim@fluendo.com>
15011
15012         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
15013         Don't use NULL pointers.
15014
15015 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
15016
15017         * gst/gst_private.h:
15018         * gst/gstbus.c:
15019         * gst/gstelement.c:
15020         * gst/gstinfo.c:
15021         * gst/gstpluginfeature.c:
15022           widen the debug category in output to fit the biggest one we have
15023           add a bus category and use it
15024           play with the colors
15025           fix up some categories
15026
15027 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
15028
15029         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
15030           add push activation of sink ghost pads.
15031           Andye, please verify
15032
15033 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15034
15035         * gst/gstutils.c: (gst_element_link_pads):
15036           fix a bug in the case where neither element has a pad
15037         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15038           add a test for that case
15039
15040 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15041
15042         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
15043           emit have-data before checking for peers.  This allows
15044           for probe handlers to connect elements.  This helps autopluggers.
15045         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
15046         (gst_pad_suite):
15047           add six checks, linked/unlinked with no/true/false probe
15048
15049 2005-10-04  Wim Taymans  <wim@fluendo.com>
15050
15051         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
15052         (gst_fake_sink_event), (gst_fake_sink_preroll),
15053         (gst_fake_sink_render), (gst_fake_sink_change_state):
15054         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
15055         (gst_fake_src_get_property), (gst_fake_src_create),
15056         (gst_fake_src_stop):
15057         * gst/elements/gstidentity.c: (gst_identity_stop):
15058         Protect last_message with lock.
15059
15060 2005-10-04  Edward Hervey  <edward@fluendo.com>
15061
15062         * gst/gstformat.h: 
15063         Added precision in the comments for GST_FORMAT_DEFAULT
15064
15065 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
15066
15067         * tools/gst-launch.c: (main):
15068           Don't try to run erroneous pipelines.
15069
15070 2005-10-04  Julien MOUTTE  <julien@moutte.net>
15071
15072         * gst/gstbus.c: We don't need this header.
15073
15074 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15075
15076         * configure.ac:
15077           back to development
15078
15079 === release 0.9.3 ===
15080
15081 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15082
15083         * README:
15084         * configure.ac:
15085           Releasing 0.9.3, "Unregistered"
15086
15087 2005-10-03  Andy Wingo  <wingo@pobox.com>
15088
15089         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
15090         whereby calling a pad's activatepush() function can start a thread
15091         that starts to push or pull before the pad gets the FLUSHING flag
15092         unset. Hack around it by holding the stream lock until the flag is
15093         set. Need to replace this with a proper solution. Together with
15094         the ghost pad fixes, this fixes mp3 playing/tagreading.
15095
15096         * docs/design/part-gstghostpad.txt: Add a note about activation of
15097         proxy pads outside of ghost pads.
15098
15099         * gst/gstghostpad.c: Implement the ghost pad activation design.
15100
15101 2005-10-02  Andy Wingo  <wingo@pobox.com>
15102
15103         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
15104         It is volatile, after all.
15105
15106         * docs/design/part-gstghostpad.txt: Flesh out activation with
15107         ghost pads.
15108
15109         * gst/base/gstbasesrc.c (gst_base_src_init): Use
15110         GST_DEBUG_FUNCPTR.
15111
15112 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
15113
15114         * configure.ac:
15115           Fix (unused) AM_CONDITIONAL tests.
15116
15117 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
15118
15119         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15120
15121         * gst/gstutils.c: (gst_pad_query_convert):
15122           Add assertion that makes sure src_val is >=0, just like
15123           gst_query_new_convert() has. (#315895)
15124
15125 2005-09-30  Edward Hervey  <edward@fluendo.com>
15126
15127         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
15128         Let's not iterate pads we're not interested in, it avoids getting 
15129         sky-high refcounts on sinkpad.
15130
15131 2005-09-30  Wim Taymans  <wim@fluendo.com>
15132
15133         * gst/gstelement.c: (gst_element_set_state),
15134         (gst_element_change_state):
15135         Small tweak, element in ASYNC remains ASYNC.
15136
15137 2005-09-30  Wim Taymans  <wim@fluendo.com>
15138
15139         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15140         Only error is an error.
15141
15142         * gst/gstbin.c: (gst_bin_change_state):
15143         Better debugging.
15144
15145         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
15146         Also call pad_block in pad alloc.
15147
15148         * gst/gstutils.c: (gst_flow_get_name):
15149         Better debugging.
15150
15151 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
15152
15153         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15154         (gst_base_src_get_range):
15155           Fix documentation typos. Add some more debug info.
15156
15157 2005-09-29  David Schleef  <ds@schleef.org>
15158
15159         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
15160           more end-user friendly.
15161         * tools/gst-inspect.c: (main): Check if command-line argument is
15162           a file and attempt to load that file as a plugin.
15163
15164 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15165
15166         * check/gst/gstbin.c:
15167         * check/states/sinks.c:
15168           fix tests for the new warning
15169         * check/gst/gstpipeline.c:
15170           add a test for pipeline and bus interaction
15171         * gst/gstelement.c:
15172           elements should be NULL if they get disposed; add a warning if not
15173
15174 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15175
15176         * gst/gstobject.c:
15177           for 2.6 refcounting, make debug log more correct by printing
15178           the actual refcounts at the time of swap (Wim)
15179
15180 2005-09-29  Andy Wingo  <wingo@pobox.com>
15181
15182         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
15183         removes signal watches previously added via
15184         gst_bus_add_signal_watch.
15185         (gst_bus_add_signal_watch): Don't return the source id, just store
15186         it on the bus if there wasn't an id already.
15187
15188         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
15189         add_signal_watch and remove_signal_watch.
15190
15191 2005-09-29  Edward Hervey  <edward@fluendo.com>
15192
15193         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
15194         Better if we actually iterate the list :)
15195
15196 2005-09-29  Wim Taymans  <wim@fluendo.com>
15197
15198         * check/gst/gstbin.c: (GST_START_TEST):
15199         Change for new bus API.
15200
15201         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
15202         (send_messages), (GST_START_TEST), (gstbus_suite):
15203         Change for new bus signal API.
15204
15205         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
15206         (gst_bus_source_prepare), (gst_bus_source_check),
15207         (gst_bus_create_watch), (gst_bus_add_watch_full),
15208         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
15209         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
15210         * gst/gstbus.h:
15211         Remove support for multiple GSources operating on different
15212         message types as it is too complex and unneeded when using
15213         signals.
15214         Added support for receiving signals from the bus.
15215
15216 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15217
15218         * docs/libs/tmpl/gstdataprotocol.sgml:
15219         * docs/manual/advanced-dataaccess.xml:
15220         * gst/elements/gstcapsfilter.c:
15221         * gst/gstutils.c:
15222           rename filter-caps to caps property
15223
15224 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
15225
15226         * gst/gstvalue.c: (gst_value_deserialize_fraction):
15227           More robust fraction string parsing.
15228
15229         * docs/pwg/appendix-porting.xml:
15230           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
15231
15232 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
15233
15234         * gst/gstcaps.c: (gst_caps_do_simplify):
15235           Thou shalt not free a structure and then continue using it
15236           in the next loop iteration.
15237
15238         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
15239         (gst_caps_suite):
15240           Add test case for caps simplification.
15241
15242 2005-09-29  Wim Taymans  <wim@fluendo.com>
15243
15244         * check/gst/gstbin.c: (GST_START_TEST):
15245         Oops.
15246
15247 2005-09-29  Wim Taymans  <wim@fluendo.com>
15248
15249         * check/gst/gstbin.c: (GST_START_TEST):
15250         Add bus to bin.
15251
15252         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
15253         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15254         (find_element), (gst_bin_sort_iterator_next),
15255         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15256         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15257         (gst_bin_change_state), (gst_bin_dispose):
15258         A bin does not have a bus, it gets the bus from the parent.
15259
15260         * gst/gstelement.c: (gst_element_requires_clock),
15261         (gst_element_provides_clock), (gst_element_is_indexable),
15262         (gst_element_is_locked_state), (gst_element_change_state),
15263         (gst_element_set_bus_func):
15264         Small cleanups.
15265
15266         * gst/gstpipeline.c: (gst_pipeline_class_init),
15267         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
15268         The pipeline provides a bus.
15269
15270 2005-09-28  Johan Dahlin  <johan@gnome.org>
15271
15272         * gst/gstmessage.c (gst_message_parse_state_changed): Use
15273         gst_structure_get_enum instead of gst_structure_get_int
15274
15275         * gst/gststructure.c (gst_structure_get_enum): Impl.
15276
15277         * gst/gststructure.h (gst_structure_get_enum): Add
15278
15279         * docs/gst/gstreamer-sections.txt: Ditto
15280
15281         * gst/gstmessage.c (gst_message_new_state_changed): Use
15282         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
15283         which does introspection.
15284         Reviewed by Christian Schaller
15285
15286 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
15287
15288         * gst/gstinfo.c: (gst_debug_log_default):
15289           don't do dummy g_strdup()s
15290         * libs/gst/controller/gstcontroller.c:
15291         (on_object_controlled_property_changed),
15292         (gst_controlled_property_new), (gst_controller_new_valist),
15293         (gst_controller_new_list),
15294         (gst_controller_remove_properties_valist), (gst_controller_set),
15295         (gst_controller_get), (gst_controller_sync_values),
15296         (gst_controller_get_value_array), (_gst_controller_class_init),
15297         (gst_controller_get_type):
15298         * libs/gst/controller/gstcontroller.h:
15299         * libs/gst/controller/gstinterpolation.c:
15300         (gst_controlled_property_find_timed_value_node):
15301           convert // to /**/ comments
15302
15303 2005-09-28  Wim Taymans  <wim@fluendo.com>
15304
15305         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
15306         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
15307         (gst_bus_sync_signal_handler):
15308         * gst/gstbus.h:
15309         Added async-message and sync-message signals to the bus.
15310         Added helper BusFunc to emit signals for all posted messages.
15311
15312         * gst/gstmessage.c: (gst_message_type_get_name),
15313         (gst_message_type_to_quark), (gst_message_get_type):
15314         * gst/gstmessage.h:
15315         Register quarks for message names.
15316
15317 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
15318
15319         * docs/libs/gstreamer-libs-sections.txt:
15320         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
15321         (gst_controller_new_list):
15322         * libs/gst/controller/gstcontroller.h:
15323           added another constructor for language bindings
15324
15325 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15326
15327         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15328           add another check
15329         * gst/gstbus.c:
15330           add some doc
15331         * gst/gstinfo.c: (_gst_debug_init):
15332           slightly more readable color for refcount debugging
15333
15334 2005-09-28  Wim Taymans  <wim@fluendo.com>
15335
15336         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15337         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15338         (find_element), (gst_bin_sort_iterator_next),
15339         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15340         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15341         (gst_bin_change_state), (gst_bin_dispose):
15342         Small doc fixes. get_clock -> provide_clock.
15343
15344         * gst/gstelement.c: (gst_element_class_init),
15345         (gst_element_provides_clock), (gst_element_provide_clock),
15346         (gst_element_get_clock), (gst_element_commit_state),
15347         (gst_element_lost_state):
15348         * gst/gstelement.h:
15349         Make get/set_clock() symetric. Add provide_clock vmethod since
15350         that is actually what this function does.
15351
15352         * gst/gstpipeline.c: (gst_pipeline_class_init),
15353         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
15354         (gst_pipeline_get_clock):
15355         get_clock -> provide_clock.
15356
15357 2005-09-28  Andy Wingo  <wingo@pobox.com>
15358
15359         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
15360         lieu of real docs...
15361
15362         * gst/elements/gstfdsrc.c: Cleaned up a bit.
15363
15364 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
15365
15366         * gst/elements/gstcapsfilter.c:
15367         * gst/elements/gstfakesink.c:
15368         * gst/elements/gstfakesrc.c:
15369         * gst/elements/gstfdsink.c:
15370         * gst/elements/gstfdsrc.c:
15371         * gst/elements/gstfilesink.c:
15372         * gst/elements/gstfilesrc.c:
15373         * gst/elements/gstidentity.c:
15374         * gst/elements/gsttee.c:
15375         * gst/elements/gsttypefindelement.c:
15376           Make element details static.
15377
15378 2005-09-28  Wim Taymans  <wim@fluendo.com>
15379
15380         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15381         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15382         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15383         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15384         (gst_bin_change_state), (gst_bin_dispose):
15385         Some documentation updates.
15386         Clean up dispose handlers.
15387
15388         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
15389         * gst/gstpad.c: (gst_pad_dispose):
15390         Clean up dispose handler.
15391
15392         * gst/gstpipeline.c: (gst_pipeline_change_state):
15393         Removed spurious UNLOCK.
15394
15395 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
15396
15397         * docs/gst/gstreamer-sections.txt:
15398         * gst/base/gstbasesrc.h:
15399         * gst/gstelement.h:
15400         * gst/gstevent.h:
15401         * gst/gstobject.h:
15402         * gst/gstpad.h:
15403         * gst/gstpipeline.c:
15404         * gst/gstpipeline.h:
15405         * gst/gstutils.h:
15406         * gst/gstxml.h:
15407           added two new functions to the docs
15408                 documents all undocumented GstXXXFlags
15409                 completed some incomplete docs 
15410
15411 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
15412
15413         * gst/gstbin.c: (gst_bin_dispose):
15414         * gst/gstelement.c: (gst_element_dispose):
15415           remove now useless and leaky resurrection code in dispose
15416         * gst/base/gstbasesrc.c: (gst_base_src_init):
15417         * gst/gstelementfactory.c: (gst_element_factory_create):
15418         * gst/gstobject.c: (gst_object_set_parent):
15419           add some debugging
15420
15421 2005-09-27  Wim Taymans  <wim@fluendo.com>
15422
15423         * docs/design/part-TODO.txt:
15424         Update TODO.
15425
15426         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15427         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15428         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15429         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15430         (gst_bin_change_state):
15431         * gst/gstelement.h:
15432         Remove element variable, we keep element info in the iterator now.
15433
15434 2005-09-27  Andy Wingo  <wingo@pobox.com>
15435
15436         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
15437         values.
15438
15439 2005-09-27  Wim Taymans  <wim@fluendo.com>
15440
15441         * check/gst/gstbin.c: (GST_START_TEST):
15442         Enable check that works now.
15443
15444         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15445         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15446         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15447         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15448         (gst_bin_change_state):
15449         * gst/gstbin.h:
15450         Redid the state change algorithm using a topological sort algo.
15451         Handles all cases correctly.
15452         Exposed iterator for state change order.
15453
15454         * gst/gstelement.h:
15455         Temp storage for state changes. Need to get rid of this soon.
15456
15457 2005-09-27  Wim Taymans  <wim@fluendo.com>
15458
15459         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
15460         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
15461         (link_fold_func), (gst_pad_proxy_setcaps):
15462         Leak fixes, the fold functions need to unref the passed object and
15463         _get_parent_*() returns ref to parent.
15464
15465 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
15466
15467         * check/gst/gstbuffer.c: (test_make_writable):
15468           Plug leak in test case and fix 'make check-valgrind'
15469
15470 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
15471
15472         * gst/gstbuffer.c: (gst_subbuffer_init):
15473           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
15474           works correctly in all circumstances (we could have just copied
15475           the parent buffer's readonly flag, but conceptually it seems
15476           cleaner to mark all subbuffers as read-only). (based on patch
15477           by Alessandro Decina, #314710).
15478         
15479         * check/gst/gstbuffer.c: (create_read_only_buffer),
15480         (test_make_writable), (test_subbuffer_make_writable),
15481         (gst_test_suite):
15482           Add some tests for gst_buffer_make_writable().
15483
15484 2005-09-27  Wim Taymans  <wim@fluendo.com>
15485
15486         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
15487         use gst_object_has_ancestor().
15488
15489         * gst/gstobject.c: (gst_object_has_ancestor):
15490         * gst/gstobject.h:
15491         gst_object_has_ancestor() copied from gstbin.c as it is a
15492         useful function.
15493
15494         * tests/instantiate/create.c: (create_all_elements):
15495         * tests/lat.c: (handoff_src), (handoff_sink):
15496         * tests/sched/runxml.c: (main):
15497         * tests/seeking/seeking1.c: (main):
15498         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15499         (main):
15500         Fix compilation of some tests.
15501
15502 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
15503
15504         * gst/gsterror.h:
15505           Remove comment. GST_TYPE_G_ERROR is here to stay,
15506           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
15507           (#316961, #300610).
15508
15509 2005-09-26  Wim Taymans  <wim@fluendo.com>
15510
15511         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15512         Added check that shows error in state change order.
15513
15514 2005-09-26  Wim Taymans  <wim@fluendo.com>
15515
15516         * gst/gstbin.c: (gst_bin_change_state):
15517         Make state change function use 3 queues again, we were
15518         adding elements in the wrong order.
15519
15520         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
15521         Some debug info,
15522
15523         * gst/gstpad.c: (gst_pad_dispose):
15524         Added some debug info first.
15525
15526 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
15527
15528         * docs/design/draft-push-pull.txt:
15529         * docs/design/part-events.txt:
15530         * docs/design/part-overview.txt:
15531         * docs/design/part-scheduling.txt:
15532           Replace all _pull_region() with _pull_range()
15533           
15534 2005-09-26  Andy Wingo  <wingo@pobox.com>
15535
15536         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
15537
15538         * check/gst-libs/controller.c: Update for controller api change.
15539
15540         * configure.ac: 
15541         * tests/Makefile.am:
15542         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
15543         over by GLib bug 118439.
15544         
15545         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
15546         routines to a function.
15547
15548         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
15549
15550         * libs/gst/controller/gsthelper.c:
15551         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
15552         (gst_object_sync_values): Renamed from sink_values. Ugh.
15553
15554         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
15555
15556         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
15557         Renamed from controller_key, as it is exported.
15558
15559         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
15560
15561 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
15562
15563         * gst/Makefile.am:
15564         * gst/gst.h:
15565         * gst/gstpad.h:
15566         * gst/gstpadtemplate.h:
15567         * gst/gstquery.c:
15568         * gst/gstquery.h:
15569         * gst/gstqueryutils.c:
15570         * gst/gstqueryutils.h:
15571           remove queryutils headers after moving the two used functions
15572           to gstquery.  also fixes build problem for gstsiddec
15573
15574 2005-09-26  Michael Smith <msmith@fluendo.com>
15575
15576         * tools/gst-launch.1.in:
15577         Correct documentation in manpage of debug syntax
15578
15579 2005-09-26  Wim Taymans  <wim@fluendo.com>
15580
15581         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
15582         (gst_base_src_is_seekable), (gst_base_src_change_state):
15583         Some more debugging info.
15584
15585 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15586
15587         * docs/gst/gstreamer-sections.txt:
15588         * gst/base/gstbasetransform.h:
15589         * gst/gstindex.h:
15590           added more docs
15591
15592 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15593
15594         * docs/gst/.cvsignore:
15595         * docs/gst/tmpl/.cvsignore:
15596         * docs/gst/tmpl/gstpipeline.sgml:
15597         * docs/gst/tmpl/gstplugin.sgml:
15598         * gst/gstpipeline.c:
15599         * gst/gstplugin.c:
15600         * gst/gstplugin.h:
15601           inlined the last two docs files
15602           removed the tmpl directory from cvs (no more conflicts here!)
15603
15604 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15605
15606         * docs/gst/gstreamer-sections.txt:
15607         * docs/gst/tmpl/.cvsignore:
15608         * docs/gst/tmpl/gstpad.sgml:
15609         * docs/gst/tmpl/gstpadtemplate.sgml:
15610         * gst/Makefile.am:
15611         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
15612         (gst_pad_finalize), (gst_pad_set_pad_template):
15613         * gst/gstpad.h:
15614         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
15615         (gst_pad_template_class_init), (gst_pad_template_init),
15616         (gst_pad_template_dispose), (name_is_valid),
15617         (gst_static_pad_template_get), (gst_pad_template_new),
15618         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
15619         (gst_pad_template_pad_created):
15620         * gst/gstpadtemplate.h:
15621           inlined two more docs
15622           factored gstpadtemplate out of gstpad
15623
15624 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
15625
15626         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15627         (test_children_state_change_order_semi_sink):
15628           Fix test case: we can't rely on a fixed state change order when
15629           going from READY => PAUSED because the sink might commit its 
15630           new state first when the first buffer created by the source 
15631           reaches the sink before the source has finished its change state.
15632           (Test case still fails at times, see #316856, comment 5 onwards)
15633
15634 2005-09-24  Wim Taymans  <wim@fluendo.com>
15635
15636         * docs/design/part-events.txt:
15637         * docs/design/part-gstbus.txt:
15638         * docs/design/part-gstpipeline.txt:
15639         * docs/design/part-messages.txt:
15640         * docs/design/part-overview.txt:
15641         * docs/design/part-segments.txt:
15642         * gst/gstbin.c:
15643         * gst/gstbuffer.c:
15644         * gst/gstclock.c:
15645         * gst/gstelement.c:
15646         * gst/gstevent.c:
15647         * gst/gstfilter.c:
15648         * gst/gstiterator.c:
15649         Various documentation updates.
15650
15651 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15652
15653         * gst/gstclock.h:
15654           Well, that's embarassing.  Luckily we weren't using
15655           GST_CLOCK_DIFF anywhere.
15656
15657 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15658
15659         * common/gtk-doc.mak:
15660           don't fail on building XML, FC4 slave shows a bunch of doc
15661           missing bits that I don't get
15662         * gst/gstpad.c:
15663         * gst/gstpipeline.c:
15664         * gst/gststructure.c:
15665           some doc updates
15666
15667 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
15668
15669         * docs/design/part-gstbin.txt:
15670         * docs/design/part-gstbus.txt:
15671         * gst/gstbus.c:
15672           Add blurb about how the bus goes into flushing mode and
15673           drops all messages when its bin goes from READY into NULL 
15674           state.
15675
15676 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15677
15678         * docs/gst/gstreamer-sections.txt:
15679         * gst/gststructure.c: (gst_structure_get_clock_time):
15680         * gst/gststructure.h:
15681           add a method to get a GstClockTime out of a structure
15682
15683 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
15684
15685         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15686         (test_children_state_change_order_semi_sink), (gst_bin_suite):
15687           Added test to check state change order in bins (can still be made
15688           to fail here under heavy disk load; bails out with 'Push on pad
15689           fakesink:sink0, but it was not activated in push mode').
15690
15691         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
15692           Fix state change order when there is only a semi sink (#316856)
15693
15694         * gst/gstbus.c: (gst_bus_class_init):
15695           Use _class_peek_parent(), not _class_ref(); fix docs to say
15696           'default main context' instead of 'mainloop' where that is
15697           what's meant.
15698
15699         * gst/gstelement.c: (gst_element_commit_state),
15700         (gst_element_set_state):
15701           Fix typos in debug messages
15702
15703 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15704
15705         * docs/README:
15706         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
15707         * gst/gstpluginfeature.c:
15708         * gst/gstutils.c:
15709           various doc updates
15710         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15711           change an assert into an error until it gets fixed properly
15712
15713 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
15714
15715         * docs/gst/gstreamer-sections.txt:
15716         * docs/gst/tmpl/.cvsignore:
15717         * docs/gst/tmpl/gstelement.sgml:
15718         * docs/gst/tmpl/gstinfo.sgml:
15719         * docs/gst/tmpl/gstobject.sgml:
15720         * gst/gstelement.c:
15721         * gst/gstelement.h:
15722         * gst/gstinfo.c:
15723         * gst/gstinfo.h:
15724         * gst/gstobject.c: (gst_object_class_init):
15725         * gst/gstobject.h:
15726           inlined 3 more biiiig doc files and added some missing docs on the fly
15727
15728 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15729
15730         * check/gst/.cvsignore:
15731         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
15732         * gst/gstregistryxml.c: (load_plugin),
15733         (gst_registry_xml_save_plugin):
15734           put back source in registry.  add checks for find_plugin.
15735         * testsuite/states/bin.c: (assert_state), (empty_bin),
15736         (test_adding_one_element), (main):
15737         * testsuite/states/locked.c: (main):
15738           some compile/run fixes
15739
15740 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15741
15742         * check/gst/gstvalue.c: (GST_START_TEST):
15743           fix leaks in the test itself
15744
15745 2005-09-22  Wim Taymans  <wim@fluendo.com>
15746
15747         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15748         (gst_base_sink_send_event), (gst_base_sink_peer_query),
15749         (gst_base_sink_query):
15750         Prepare for more accurate position reporting and query
15751         handling.
15752
15753         * gst/gstelement.c: (gst_element_send_event),
15754         (gst_element_set_state):
15755         Add some comment.
15756
15757 2005-09-22  Wim Taymans  <wim@fluendo.com>
15758
15759         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
15760         (gst_query_parse_segment):
15761         * gst/gstquery.h:
15762         More documentation.
15763         Add segment query for future use.
15764
15765 2005-09-22  Wim Taymans  <wim@fluendo.com>
15766
15767         * gst/gstbin.c: (gst_bin_add_func):
15768         Some more debug info.
15769
15770         * gst/gstelement.c: (gst_element_send_event):
15771         Simplify send_event
15772
15773         * gst/gstelement.h:
15774         Don't know how flags got broken.
15775
15776         * gst/gstquery.h:
15777         Added new query.
15778
15779 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
15780
15781         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
15782           Add simplistic test suite for GST_TYPE_DATE serialisation and
15783           deserialisation.
15784
15785 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
15786
15787         * docs/gst/gstreamer-sections.txt:
15788         * gst/gststructure.c: (gst_structure_set_valist),
15789         (gst_structure_get_date):
15790         * gst/gststructure.h:
15791         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
15792         (gst_date_copy), (gst_value_compare_date),
15793         (gst_value_serialize_date), (gst_value_deserialize_date),
15794         (gst_value_transform_date_string),
15795         (gst_value_transform_string_date), (_gst_value_initialize):
15796         * gst/gstvalue.h:
15797           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
15798           bunch of utility functions along with a hack that checks that
15799           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
15800           is required. Part of the grand scheme in #170777.
15801
15802 2005-09-22  Andy Wingo  <wingo@pobox.com>
15803
15804         * gst/gstconfig.h.in: Psych out gtk-doc.
15805
15806         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
15807
15808         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
15809
15810         * tools/gst-inspect.c (print_element_list): Plug some
15811         inconsequential leaks.
15812
15813         * gst/gstregistry.c (gst_registry_get_default): Doc.
15814
15815         * check/gst/gstplugin.c: 
15816         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
15817         * gst/gstelementfactory.c (gst_element_factory_create): 
15818         * gst/gstindexfactory.c (gst_index_factory_create): Update for
15819         refcount changes.
15820
15821         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
15822         (gst_plugin_feature_load): Doc, don't eat refs.
15823
15824         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
15825         (gst_plugin_list_free): Doc.
15826         (gst_plugin_load_file): Doc updates.
15827
15828         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
15829         accessors returning refcounted objects, return a ref.
15830
15831         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
15832         accessor for caps. IDEMPOTENCE. Oh yes.
15833
15834 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
15835
15836         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15837
15838         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15839         (_gst_debug_register_funcptr):
15840           Add mutex to serialise access to the hash table with
15841           the function pointer => function name string mapping;
15842           make that hash table static scope (#316809).
15843
15844         * gst/registries/.cvsignore:
15845           Remove left-over file.
15846
15847 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
15848
15849         * docs/pwg/appendix-porting.xml:
15850           And something about newsegment events and caps-on-buffers to
15851           the porting guide (feel free to improve).
15852
15853 2005-09-21  Andy Wingo  <wingo@pobox.com>
15854
15855         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
15856         data and event probes on the same pad.
15857         (test_buffer_probe_once): Test that removing probes from within
15858         the probe functions works.
15859
15860 2005-09-21  Andy Wingo  <wingo@pobox.com>
15861
15862         * check/gst/gstutils.c: New file.
15863         (test_buffer_probe_n_times): A simple buffer probe test. More to
15864         come, foolios.
15865
15866         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
15867         have-data::buffer, not have-data.
15868         (gst_pad_add_event_probe): Likewise for have-data::event.
15869         (gst_pad_add_data_probe): More docs. The part about 'resolving the
15870         peer' isn't quite right yet though.
15871         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
15872         (gst_pad_remove_data_probe): Change to take the guint handler_id
15873         as their arg, not the function+data, which is more glib-like.
15874
15875         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
15876         the signal emission to indicate if the data is a buffer or an
15877         event.
15878         (gst_pad_get_type): Initialize buffer and event quarks.
15879         (gst_pad_class_init): have-data is now a detailed signal, yes it
15880         is.
15881
15882 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
15883
15884         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
15885         * gst/gstutils.c: (gst_util_set_value_from_string),
15886         (gst_util_set_object_arg):
15887           Don't put functional code in g_return_if_fail() or
15888           g_return_val_if_fail() statements, otherwise things will 
15889           break when G_DISABLE_CHECKS is defined during compilation.
15890
15891 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15892
15893         * docs/gst/tmpl/.cvsignore:
15894         * docs/gst/tmpl/gstvalue.sgml:
15895         * gst/gstvalue.c:
15896         * gst/gstvalue.h:
15897           inlied another one and added  some obvious docs
15898
15899 2005-09-21  Wim Taymans  <wim@fluendo.com>
15900
15901         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
15902         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
15903         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
15904         (gst_fdsrc_get_property), (gst_fdsrc_create):
15905         * gst/elements/gstfdsrc.h:
15906         Properly implement fdsrc. Removed signal and timeout,
15907         better implemented somewhere else.
15908
15909 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15910
15911         * docs/gst/tmpl/.cvsignore:
15912         * docs/gst/tmpl/gstimplementsinterface.sgml:
15913         * gst/gstinterface.c:
15914           inlined more docs
15915
15916 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15917
15918         * docs/gst/gstreamer-sections.txt:
15919         * docs/gst/tmpl/.cvsignore:
15920         * docs/gst/tmpl/gstenumtypes.sgml:
15921           remove obsolete doc file
15922
15923 2005-09-21  David Schleef  <ds@schleef.org>
15924
15925         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
15926         little beer, fix a little leak.
15927
15928 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15929
15930         * docs/gst/gstreamer-docs.sgml:
15931         * docs/gst/gstreamer-sections.txt:
15932         * docs/gst/tmpl/.cvsignore:
15933         * gst/Makefile.am:
15934         * gst/gst.h:
15935         * gst/gstbin.c:
15936         * gst/gstelement.h:
15937         * gst/gstindex.c: (gst_index_class_init):
15938         * gst/gstindex.h:
15939         * gst/gstindexfactory.c: (gst_index_factory_get_type),
15940         (gst_index_factory_class_init), (gst_index_factory_init),
15941         (gst_index_factory_finalize), (gst_index_factory_new),
15942         (gst_index_factory_destroy), (gst_index_factory_find),
15943         (gst_index_factory_create), (gst_index_factory_make):
15944         * gst/gstindexfactory.h:
15945         * gst/gstpluginfeature.c:
15946         * gst/gstpluginfeature.h:
15947         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15948           more docs inlined, splitted gstindex.{c,h}
15949
15950 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15951
15952         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15953           fix a leak
15954
15955 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
15956
15957         * gst/elements/gstfilesink.c: (gst_file_sink_init):
15958           Set sync to FALSE by default.
15959
15960 2005-09-20  Wim Taymans  <wim@fluendo.com>
15961
15962         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15963         (gst_base_sink_init):
15964         Make sync property settable from subclass.
15965
15966         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
15967         (gst_fake_sink_change_state):
15968         Set sync to FALSE by default.
15969
15970 2005-09-20  Wim Taymans  <wim@fluendo.com>
15971
15972         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
15973         * tools/gst-launch.c: (main):
15974         The timeout handler should have lower priority than the source
15975         so we don't timeout before popping a message with 0 timeout.
15976         Dump error messages after failed state change.
15977
15978 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
15979
15980         * tools/gst-inspect.c: (print_element_properties_info):
15981           Fix two typos.
15982
15983 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15984
15985         * check/gst/gstevent.c:
15986         * gst/elements/gstfakesink.c:
15987         * gst/elements/gstfakesink.h:
15988           remove the sync property from fakesink.
15989           has the side effect of setting sync TRUE
15990           for fakesink, which is a change.  Anyone who knows how
15991           to fix this nicely in a GObject-y way, feel free.
15992
15993 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
15994
15995         * docs/gst/gstreamer-docs.sgml:
15996           remove probe refsection
15997
15998 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
15999
16000         * check/Makefile.am:
16001           disable valgrinding the controller test again
16002         * docs/gst/gstreamer-sections.txt:
16003           update for api-changes
16004
16005 2005-09-20  Wim Taymans  <wim@fluendo.com>
16006
16007         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16008         (gst_base_sink_set_property), (gst_base_sink_get_property),
16009         (gst_base_sink_do_sync):
16010         * gst/base/gstbasesink.h:
16011         Added sync property to basesink to disable clock sync.
16012
16013 2005-09-20  Andy Wingo  <wingo@pobox.com>
16014
16015         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
16016         eating the caller's refcount.
16017
16018         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
16019         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
16020         refcount.
16021
16022         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
16023         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
16024         of GLib 2.8 public, so we can know which refcount to check in
16025         tests.
16026
16027         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
16028         (gst_object_init): Only set the gst refcount if we're going ahead
16029         with the refcount hack.
16030
16031 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
16032
16033         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
16034         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
16035           more leaks plumbed, added more debug-logging
16036         * gst/gstmacros.h:
16037           whitespace fix
16038
16039 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16040
16041         * gst/gstmessage.c:
16042           remove include of gstmemchunk.h
16043
16044 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16045
16046         * gst/gstclock.c: (_gst_clock_id_free):
16047           Commit from the Political Party For More Atomic CVS Commits,
16048           so that people don't waste too much of their day fishing
16049           out obvious leaks out of massive commits.
16050           Oh, and fix a pretty damn obvious leak in the memchunk
16051           removal code.
16052
16053 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
16054
16055         * check/Makefile.am:
16056         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
16057           plug mem-leak, re-add to valgrindable tests
16058
16059 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16060
16061         * gst/gstplugin.h:
16062           unbreak the build for those who have chronic arthritis
16063           and typing "make check" is just too taxing on the hands
16064
16065 2005-09-20  Andy Wingo  <wingo@pobox.com>
16066
16067         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
16068         really want it out, you should fix plugins at the same time.
16069
16070 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
16071
16072         * configure.ac:
16073         * docs/gst/gstreamer-sections.txt:
16074         * gst/gstobject.c:
16075           added missing symbols to api docs
16076           disable ref-count hack if we have glib >= 2.8
16077
16078 2005-09-19  David Schleef  <ds@schleef.org>
16079
16080         * docs/gst/Makefile.am: Ignore a few more internal headers
16081         * docs/gst/gstreamer-docs.sgml: Remove old sections
16082         * docs/gst/gstreamer-sections.txt: Remove old sections
16083         * docs/gst/tmpl/gstobject.sgml: update
16084         * docs/gst/tmpl/gstplugin.sgml: update
16085         * docs/gst/tmpl/gstpluginfeature.sgml: update
16086         * docs/random/ds/0.9-suggested-changes: update.
16087         * gst/Makefile.am: remove memchunk and trashstack, since they're
16088           not used.
16089         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
16090         * gst/gst.h: don't include some headers
16091         * gst/gstchildproxy.c: add gstmarshal.h
16092         * gst/gstclock.c: Don't use memchunks
16093         * gst/gstminiobject.c: Add some docs
16094         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
16095         * gst/gstobject.h: same
16096         * gst/gstplugin.c: include gstmacros.h
16097         * gst/gstplugin.h: don't include gstmacros.h, since it's private
16098         * gst/gstquery.c: don't use memchunks
16099         * gst/gstregistry.c: rename gst_registry_deinit()
16100         * gst/gstregistry.h: same
16101
16102 2005-09-19  David Schleef  <ds@schleef.org>
16103
16104         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
16105         * docs/libs/gstreamer-libs-sections.txt:
16106         * docs/libs/tmpl/gstgetbits.sgml:
16107         * docs/libs/tmpl/gstputbits.sgml:
16108
16109 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
16110
16111         * win32/gstenumtypes.c:
16112         * win32/gstenumtypes.h:
16113           Update.
16114
16115 2005-09-19  Wim Taymans  <wim@fluendo.com>
16116
16117         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
16118         Automatically PAUSE and RESUME a pipeline when a flushing seek
16119         is performed.
16120
16121 2005-09-19  Andy Wingo  <wingo@pobox.com>
16122
16123         * gst/gstregistry.h: Spacing fixen.
16124
16125 2005-09-19  Wim Taymans  <wim@fluendo.com>
16126
16127         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
16128         Handle state change failure more correctly.
16129
16130 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16131
16132         * check/Makefile.am:
16133         * check/pipelines/cleanup.c: (run_pipeline):
16134         * check/pipelines/simple_launch_lines.c: (run_pipeline),
16135         (GST_START_TEST):
16136           enable cleanup again after fixing the leak
16137         * docs/README:
16138           some more info on docs
16139
16140 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16141
16142         * check/Makefile.am:
16143           re-enable tests now that leaks are plugged
16144         * check/gst/gst.c:
16145         * check/gst/gstbin.c:
16146         * check/gst/gstpipeline.c:
16147           add some more tests while fixing leaks
16148         * common/check.mak:
16149           make sure binaries are uptodate when valgrinding/gdbing
16150         * gst/gst.c:
16151         * gst/gstelementfactory.c:
16152           remove a ref too many, and add a FIXME for when we get
16153           round to disposing of classes
16154         * gst/gstplugin.c:
16155           fix the refcounting when loading a plugin from a file and
16156           the code pretends that the pointer is the same even though
16157           of course it can change
16158         * gst/gstpluginfeature.c:
16159           unref plugins marked cached (a bit confusing as a name)
16160           as the docs state should be done
16161           various doc additions to explain refcounting
16162         * gst/gstregistry.c:
16163         * gst/gstregistryxml.c:
16164           debugging
16165
16166 2005-09-19  Wim Taymans  <wim@fluendo.com>
16167
16168         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16169         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
16170         (send_messages), (GST_START_TEST), (gstbus_suite):
16171         * check/gst/gstpipeline.c: (GST_START_TEST):
16172         * check/pipelines/cleanup.c: (run_pipeline):
16173         * check/pipelines/simple_launch_lines.c: (run_pipeline),
16174         (GST_START_TEST):
16175         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
16176         (gst_bus_source_check), (gst_bus_source_dispatch),
16177         (gst_bus_create_watch), (gst_bus_add_watch_full),
16178         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
16179         * gst/gstbus.h:
16180         * tools/gst-launch.c: (event_loop):
16181         * tools/gst-md5sum.c: (event_loop):
16182         GstBusHandler -> GstBusFunc, return value has the same meaning as
16183         any other GSource (FALSE == remove source).
16184         _add_watch() and _add_watch_full() now take a MessageType mask to
16185         only handle specific types of messages.
16186         _poll() returns the GstMessage instead of the message type to avoid
16187         race conditions.
16188         _have_pending() takes a MessageType mask now too.
16189         Added testsuite for multiple bus watches.
16190         Fix testsuites and applications for new bus API.
16191
16192 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16193
16194         * check/Makefile.am:
16195           mark a bunch of the tests as to fix until we fix them
16196
16197 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16198
16199         * common/check.mak:
16200           use GST_PLUGIN settings for valgrind tests as well, so we're
16201           valgrinding the correct thing
16202         * gst/gst.c: (init_post):
16203           plug another leak
16204
16205 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16206
16207         * gst/gst.c: (init_post), (gst_deinit):
16208         * gst/gstelementfactory.c: (gst_element_factory_class_init),
16209         (gst_element_factory_finalize), (gst_element_factory_cleanup):
16210         * gst/gstindex.c: (gst_index_factory_class_init),
16211         (gst_index_factory_finalize):
16212         * gst/gstobject.c: (gst_object_dispose):
16213         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16214         (gst_plugin_load_file), (gst_plugin_desc_free):
16215         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
16216         (gst_plugin_feature_finalize):
16217         * gst/gstregistry.c: (gst_registry_class_init),
16218         (gst_registry_init), (gst_registry_finalize),
16219         (gst_registry_get_default), (gst_registry_deinit):
16220         * gst/gstregistry.h:
16221         * gst/gstregistryxml.c: (load_feature), (load_plugin):
16222           various cleanups and memleak plugging.  make valgrind is happy now.
16223
16224 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16225
16226         * common/check.mak:
16227           add a check-valgrind target
16228
16229 2005-09-18  David Schleef  <ds@schleef.org>
16230
16231         * tools/gst-inspect.c: Revert the GOption code.
16232
16233 2005-09-17  David Schleef  <ds@schleef.org>
16234
16235         * check/Makefile.am: Fix environment variables.
16236         * check/gst/gstplugin.c: Fix for API changes.
16237         * tools/gst-inspect.c: Fix for API changes.
16238         * tools/gst-xmlinspect.c: Fix for API changes.
16239         * gst/gstelementfactory.c:
16240         * gst/gstplugin.c:
16241         * gst/gstplugin.h:
16242         * gst/gstpluginfeature.c:
16243         * gst/gstpluginfeature.h:
16244         * gst/gstregistry.c:
16245         * gst/gstregistry.h:
16246         * gst/gstregistryxml.c:
16247         * gst/gsttypefind.c:
16248         * gst/gsttypefindfactory.c:
16249         * gst/indexers/gstfileindex.c:
16250         * gst/indexers/gstmemindex.c:
16251         * gst/schedulers/Makefile.am:
16252           Change registry to keep track of both plugins and features,
16253           removing the feature tracking from plugins themselves.
16254
16255 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16256
16257         * check/Makefile.am:
16258         * tools/gst-register.1.in:
16259           remove gst-register
16260
16261 2005-09-15  David Schleef  <ds@schleef.org>
16262
16263         * check/gst/gstplugin.c:
16264         * gst/gstelementfactory.c:
16265         * gst/gstplugin.c:
16266         * gst/gstpluginfeature.c:
16267         * gst/gstregistry.c:
16268           Getting tired of debugging.  Disabled all the unreffing of
16269           plugins and features, which fixes the segfaults, but of
16270           course leaks like crazy.  At least playbin works.
16271
16272 2005-09-15  David Schleef  <ds@schleef.org>
16273
16274         * check/gst/gstplugin.c: (register_check_elements),
16275         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
16276         More testing
16277         * gst/elements/gsttypefindelement.c: Fix refcounting.
16278         * gst/gsttypefind.c:
16279         * gst/gsttypefindfactory.c:
16280         * gst/gsttypefindfactory.h:
16281
16282 2005-09-15  David Schleef  <ds@schleef.org>
16283
16284         * gst/gstindex.c: get refcounting correct.
16285         * gst/gstregistry.c: Handle the case where a feature/plugin is
16286           not found.
16287
16288 2005-09-15  David Schleef  <ds@schleef.org>
16289
16290         * check/Makefile.am:
16291         * check/gst/gstplugin.c: Add test
16292         * gst/gstplugin.c: Fix problems noticed by testsuite
16293         * gst/gstplugin.h:
16294         * gst/gstregistry.c: 
16295         * gst/gstregistry.h:
16296
16297 2005-09-15  David Schleef  <ds@schleef.org>
16298
16299         * gst/gstplugin.c: Implement semi-decent recounting and locking
16300           in plugins and plugin features.
16301         * gst/gstplugin.h:
16302         * gst/gstpluginfeature.c:
16303         * gst/gstpluginfeature.h:
16304         * gst/gstregistry.c:
16305
16306 2005-09-15  Michael Smith <msmith@fluendo.com>
16307
16308         * gst/gstregistry.c: (gst_registry_get_feature_list):
16309           Implement this. Makes oggdemux work; decodebin still broken.
16310
16311 2005-09-14  David Schleef  <ds@schleef.org>
16312
16313         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
16314           #316076)
16315         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
16316         * gst/check/Makefile.am:
16317         * libs/gst/controller/Makefile.am:
16318         * libs/gst/dataprotocol/Makefile.am:
16319
16320 2005-09-14  David Schleef  <ds@schleef.org>
16321
16322         * configure.ac: Remove getbits library.  Nothing uses it, and
16323           it should be in something like liboil if someone did want
16324           to use it.
16325         * libs/gst/Makefile.am:
16326         * libs/gst/getbits/Makefile.am:
16327         * libs/gst/getbits/gbtest.c:
16328         * libs/gst/getbits/getbits.c:
16329         * libs/gst/getbits/getbits.h:
16330         * libs/gst/getbits/gstgetbits_generic.c:
16331         * libs/gst/getbits/gstgetbits_i386.s:
16332         * libs/gst/getbits/gstgetbits_inl.h:
16333
16334 2005-09-14  David Schleef  <ds@schleef.org>
16335
16336         * gst/Makefile.am: Dist glib-compat.h
16337
16338 2005-09-14  David Schleef  <ds@schleef.org>
16339
16340         * configure.ac: Remove gst/registries, since it's no longer used.
16341         * gst/registries/Makefile.am:
16342         * gst/registries/gstlibxmlregistry.c:
16343         * gst/registries/gstlibxmlregistry.h:
16344         * gst/registries/gstxmlregistry.c:
16345         * gst/registries/gstxmlregistry.h:
16346         * gst/registries/registrytest.c:
16347
16348 2005-09-14  David Schleef  <ds@schleef.org>
16349
16350         * gst/glib-compat.h:
16351         * gst/gstregistryxml.c:
16352           Convergence is near.  Seriously.
16353
16354 2005-09-14  David Schleef  <ds@schleef.org>
16355
16356         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16357         * gst/glib-compat.h:
16358           Attempt #4 to appease the buildbots.
16359
16360 2005-09-14  David Schleef  <ds@schleef.org>
16361
16362         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16363           Attempt #3.
16364
16365 2005-09-14  David Schleef  <ds@schleef.org>
16366
16367         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16368         Attempt #2.
16369
16370 2005-09-14  David Schleef  <ds@schleef.org>
16371
16372         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
16373           the new functions.
16374
16375 2005-09-14  David Schleef  <ds@schleef.org>
16376
16377         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16378         * gst/glib-compat.h: Add some functions that are in newer versions
16379           of glib than we care to require.
16380         * gst/gstregistryxml.c: Use them.
16381
16382 2005-09-14  David Schleef  <ds@schleef.org>
16383
16384         * po/POTFILES.in: remove gst-register.c
16385
16386 2005-09-14  David Schleef  <ds@schleef.org>
16387
16388         * docs/gst/gstreamer-docs.sgml:
16389         * docs/gst/gstreamer-sections.txt:
16390         * docs/gst/gstreamer.types:
16391         * docs/gst/tmpl/gstelement.sgml:
16392         * docs/gst/tmpl/gstplugin.sgml:
16393         * docs/gst/tmpl/gstpluginfeature.sgml:
16394           Documentation updates for registry changes.
16395
16396 2005-09-14  David Schleef  <ds@schleef.org>
16397
16398         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
16399           because we don't require glib-2.8.
16400
16401 2005-09-14  David Schleef  <ds@schleef.org>
16402
16403         * gst/gstregistryxml.c: Added.  Essentially moved out of the
16404           registries directory.
16405
16406 2005-09-14  David Schleef  <ds@schleef.org>
16407
16408         * check/Makefile.am:
16409         * check/generic/states.c:
16410         * gst/Makefile.am:
16411         * gst/gst.c:
16412         * gst/gst.h:
16413         * gst/gst_private.h:
16414         * gst/gstelementfactory.c:
16415         * gst/gstindex.c:
16416         * gst/gstinfo.c:
16417         * gst/gstplugin.c:
16418         * gst/gstplugin.h:
16419         * gst/gstpluginfeature.c:
16420         * gst/gstpluginfeature.h:
16421         * gst/gstregistry.c:
16422         * gst/gstregistry.h:
16423         * gst/gstregistrypool.c: remove
16424         * gst/gstregistrypool.h: remove
16425         * gst/gsttypefind.c:
16426         * gst/gsttypefindfactory.c:
16427         * gst/gsturi.c:
16428         * tools/Makefile.am:
16429         * tools/gst-compprep.c:
16430         * tools/gst-inspect.c:
16431         * tools/gst-register.c: remove
16432         * tools/gst-xmlinspect.c:
16433           Registry rewrite.  Changes registry from being a file created
16434           by a tool into a simple cache file created automatically by 
16435           libgstreamer.  Removed gst-register (because it's no longer
16436           needed).  Remove registry pools, because we only have one
16437           registry implementation (XML).  Fix up other subsystems as
16438           necessary.
16439
16440 2005-09-13  Michael Smith <msmith@fluendo.com>
16441
16442         * gst/gstconfig.h.in:
16443           Don't Use windows linking attributes for MinGW. Fixes #316157
16444
16445 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16446
16447         * gst/gstutils.c: (set_state_async_thread_func),
16448         (gst_element_set_state_async):
16449           Apparently people think it's better if this function doesn't
16450           try to set the state to whatever state was asked for on the first
16451           call to this function for any object.  Seriously.
16452
16453 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16454
16455         * check/gst/gstpipeline.c: (GST_START_TEST):
16456         * docs/gst/gstreamer-sections.txt:
16457         * gst/gstutils.c: (set_state_async_thread_func),
16458         (gst_element_set_state_async):
16459         * gst/gstutils.h:
16460           add a "gst_element_set_state_async" method that
16461           sets the state and starts a thread to make sure the state
16462           change completes as best as it can
16463
16464 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16465
16466         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16467           codify design+behaviour in testsuite after discussion
16468
16469 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16470
16471         * docs/gst/tmpl/gstelement.sgml:
16472         * docs/manual/appendix-quotes.xml:
16473           add a quote
16474         * gst/gstelement.c: (gst_element_set_state):
16475           add some debug
16476
16477 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
16478
16479         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16480         (gst_base_transform_prepare_output_buf),
16481         (gst_base_transform_handle_buffer):
16482         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
16483         (gst_capsfilter_prepare_buf):
16484           Remove the requirement for sub-classes to call the parent
16485           implementation of prepare_output_buffer with a wrapper function.
16486           
16487         * gst/gsttaglist.h:
16488         * gst/gsttagsetter.h:
16489           Fix #define wrapper
16490
16491 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
16492
16493         * docs/gst/gstreamer-sections.txt:
16494           more doc cleanups
16495
16496 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16497
16498         * docs/gst/gstreamer-sections.txt:
16499         * docs/gst/tmpl/gstelement.sgml:
16500         * docs/gst/tmpl/gstplugin.sgml:
16501         * gst/gstminiobject.c:
16502         * gst/gstvalue.h:
16503           docs now stop throwing warnings
16504
16505 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16506
16507         * docs/gst/gstreamer-sections.txt:
16508         * docs/gst/gstreamer.types:
16509         * docs/gst/tmpl/gstpad.sgml:
16510         * docs/gst/tmpl/gsttypes.sgml:
16511         * gst/base/gstadapter.h:
16512         * gst/base/gstbasesink.h:
16513         * gst/base/gstbasesrc.h:
16514         * gst/gstbin.h:
16515         * gst/gstbuffer.h:
16516         * gst/gstbus.h:
16517         * gst/gstcaps.h:
16518         * gst/gstclock.h:
16519         * gst/gstelement.h:
16520         * gst/gstevent.h:
16521         * gst/gstmessage.h:
16522         * gst/gstpad.h:
16523         * gst/gststructure.c:
16524         * gst/registries/gstlibxmlregistry.h:
16525           various documentation fixes
16526
16527 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16528
16529         * docs/gst/gstreamer-sections.txt:
16530         * docs/gst/tmpl/gstvalue.sgml:
16531           rearrange gstvalue section
16532         * gst/gstutils.c: (gst_element_state_get_name):
16533           NONE -> VOID
16534         * gst/gstvalue.c: (_gst_value_initialize):
16535         * gst/gstvalue.h:
16536           doc updates
16537
16538 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
16539
16540         * check/gst-libs/controller.c:
16541           Header include fix.
16542         * gst/base/gstbasetransform.c:
16543         (gst_base_transform_default_prepare_buf),
16544         (gst_base_transform_handle_buffer):
16545         * gst/base/gstbasetransform.h:
16546           Some more basetransform changes and fixes to enable sub-classes
16547           that modify buffer metadata only.
16548         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
16549         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
16550         (gst_capsfilter_prepare_buf):
16551           If the output pad has fixed allowed caps and input buffers 
16552           don't have any, set the fixed caps on outgoing buffers.
16553
16554 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
16555         * check/elements/identity.c: (GST_START_TEST):
16556           Make the error a little clearer when the test fails because
16557           identity made a copy of the buffer.
16558         * docs/gst/gstreamer-sections.txt:
16559           New symbols in gstbasetransform.h
16560         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16561         (gst_base_transform_init), (gst_base_transform_transform_size),
16562         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16563         (gst_base_transform_default_prepare_buf),
16564         (gst_base_transform_get_unit_size),
16565         (gst_base_transform_buffer_alloc),
16566         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16567         (gst_base_transform_change_state),
16568         (gst_base_transform_set_passthrough),
16569         (gst_base_transform_set_in_place),
16570         (gst_base_transform_is_in_place):
16571         * gst/base/gstbasetransform.h:
16572           Change BaseTransform to separate in_place operate from same_caps
16573           output. in_place implies that the element can perform the transform
16574           on incoming buffers in-place, even if the caps on the output are
16575           different.
16576           Sub-class elements can now implement special buffer allocation
16577           methods for outgoing buffers if they wish to.
16578           Big documentation addition.
16579         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
16580         * gst/elements/gstelements.c:
16581           Changes for basetransform modifications.
16582         * gst/elements/Makefile.am:
16583         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
16584           Compile fix. Extra debug output.
16585
16586 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16587
16588         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
16589         (gst_pad_suite):
16590           add tests for valid pad naming
16591         * gst/check/gstcheck.c: (gst_check_log_message_func),
16592         (gst_check_log_critical_func):
16593           add ASSERT_WARNING
16594           remove printing of code, it is fragile when the code contains
16595           % and the line number is enough info
16596         * gst/check/gstcheck.h:
16597         * gst/gstpad.c: (gst_pad_template_new):
16598           fix memleaks
16599
16600 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16601
16602         * configure.ac:
16603           say what CHECK flags we use
16604         * docs/libs/gstreamer-libs.types:
16605         * libs/gst/controller/Makefile.am:
16606         * libs/gst/controller/gst-controller.c:
16607         * libs/gst/controller/gst-controller.h:
16608         * libs/gst/controller/gst-helper.c:
16609         * libs/gst/controller/gst-interpolation.c:
16610         * libs/gst/controller/gstcontroller.c:
16611         * libs/gst/controller/gsthelper.c:
16612         * libs/gst/controller/gstinterpolation.c:
16613         * tools/gst-inspect.c: (print_plugin_info):
16614           we don't use dashes in header names
16615
16616 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16617
16618         * check/Makefile.am:
16619         * check/gst/.cvsignore:
16620         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
16621         (gst_pipeline_suite), (main):
16622           adding a test for pipelines and state changes
16623         * gst/gstutils.c: (get_state_func):
16624           add some debugging
16625         * gstreamer.spec.in:
16626           fix up spec file
16627
16628 2005-09-08  Michael Smith <msmith@fluendo.com>
16629
16630         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
16631         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
16632         (gst_file_src_is_seekable), (gst_file_src_get_size),
16633         (gst_file_src_start):
16634         * gst/elements/gstfilesrc.h:
16635           Various fixes for unseekable, unmmapable, and non-normal files, so
16636           that fallback to read() rather than mmap() works.
16637         * gst/gstevent.c: (gst_event_new_newsegment):
16638           Allow newsegment events with segment_start == segment_end, as will
16639           correctly happen if you use filesrc on a zero-size file, for
16640           example.
16641
16642 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
16643
16644         * gst/gstplugin.c: (gst_plugin_load_file):
16645           Call g_module_close when we don't load the module
16646
16647         * gst/registries/gstlibxmlregistry.c:
16648         (gst_xml_registry_get_property):
16649           Port leak fix from 0.8
16650
16651 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
16652
16653         * docs/gst/gstreamer-docs.sgml:
16654         * docs/gst/tmpl/.cvsignore:
16655         * docs/gst/tmpl/gsttrace.sgml:
16656         * docs/gst/tmpl/gsttrashstack.sgml:
16657         * gst/Makefile.am:
16658         * gst/gst.h:
16659         * gst/gstelement.h:
16660         * gst/gstevent.h:
16661         * gst/gstmessage.c:
16662         * gst/gstmessage.h:
16663         * gst/gsttag.c:
16664         * gst/gsttag.h:
16665         * gst/gsttaginterface.c:
16666         * gst/gsttaginterface.h:
16667         * gst/gsttaglist.c:
16668         * gst/gsttaglist.h:
16669         * gst/gsttagsetter.c:
16670         * gst/gsttagsetter.h:
16671         * gst/gsttrace.c:
16672         * gst/gsttrace.h:
16673         * gst/gsttrashstack.c:
16674           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
16675           inlined docs for gsttrace, gsttrashstack
16676
16677 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
16678
16679         * gst/Makefile.am:
16680         * gst/elements/gstbufferstore.h:
16681         * gst/elements/gsttypefindelement.c:
16682         * gst/elements/gsttypefindelement.h:
16683         * gst/gst.h:
16684         * gst/gsttypefind.c:
16685         * gst/gsttypefind.h:
16686         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
16687         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
16688         (gst_type_find_factory_dispose),
16689         (gst_type_find_factory_unload_thyself),
16690         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
16691         (gst_type_find_factory_get_caps),
16692         (gst_type_find_factory_get_extensions),
16693         (gst_type_find_factory_call_function):
16694         * gst/gsttypefindfactory.h:
16695         * gst/registries/gstlibxmlregistry.c:
16696         * gst/registries/gstxmlregistry.c:
16697           splitted gsttypefind into gsttypefind, gsttypefindfactory
16698
16699 2005-09-07  Andy Wingo  <wingo@pobox.com>
16700
16701         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
16702         condition whereby the pad's task function is entered before the
16703         pad_mode variable was set.
16704
16705 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
16706
16707         * gst/gstpad.c: (gst_pad_alloc_buffer):
16708           Catch misbehaving pad_alloc functions that don't
16709           set up caps and do it for them.
16710
16711 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
16712
16713         * check/pipelines/simple_launch_lines.c: (run_pipeline):
16714           test for pipe!=NULL
16715         * docs/gst/tmpl/.cvsignore:
16716         * docs/gst/tmpl/gstmemchunk.sgml:
16717         * docs/gst/tmpl/gstparse.sgml:
16718         * docs/gst/tmpl/gsttaglist.sgml:
16719         * docs/gst/tmpl/gsttagsetter.sgml:
16720         * docs/gst/tmpl/gsttypefind.sgml:
16721         * docs/gst/tmpl/gsttypefindfactory.sgml:
16722         * gst/gstmemchunk.c:
16723         * gst/gstparse.c:
16724         * gst/gsttag.c:
16725         * gst/gsttaginterface.c:
16726         * gst/gsttypefind.c:
16727         * gst/gsttypefind.h:
16728           inlined more docs
16729
16730 === release 0.9.2 ===
16731
16732 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16733
16734         * NEWS:
16735         * RELEASE:
16736         * configure.ac:
16737           releasing 0.9.2, "South"
16738
16739 2005-09-05  Andy Wingo  <wingo@pobox.com>
16740
16741         * gst/registries/gstxmlregistry.h:
16742         * gst/registries/gstxmlregistry.c: Um... resurrect...
16743         
16744         * gst/registries/gstxmlregistry.h:
16745         * gst/registries/gstxmlregistry.c: and update to newer API.
16746         Incidentally they should be a bit faster now that they don't have
16747         to parse the caps.
16748         
16749 2005-09-05  Andy Wingo  <wingo@pobox.com>
16750
16751         * gst/registries/gstxmlregistry.h:
16752         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
16753         replaced by the libxml registry a while back
16754
16755 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16756
16757         * docs/gst/tmpl/gstplugin.sgml:
16758         * gst/elements/gstelements.c:
16759         * gst/gst.c:
16760         * gst/gstplugin.c: (gst_plugin_register_func),
16761         (gst_plugin_desc_copy), (gst_plugin_desc_free),
16762         (gst_plugin_get_source):
16763         * gst/gstplugin.h:
16764         * gst/registries/gstlibxmlregistry.c: (load_plugin),
16765         (gst_xml_registry_save_plugin):
16766         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
16767         (gst_xml_registry_save_plugin):
16768         * tools/gst-inspect.c: (print_plugin_info):
16769           add a "source" plugin description field, to represent the source
16770           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
16771           will set it to PACKAGE, which is automake's idea of the name of
16772           the source project.
16773
16774 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16775
16776         * Makefile.am:
16777         * autogen.sh:
16778         * configure.ac:
16779         * docs/Makefile.am:
16780         * docs/faq/Makefile.am:
16781         * docs/gst/tmpl/gstelement.sgml:
16782         * docs/gst/tmpl/gsttypes.sgml:
16783         * docs/htmlinstall.mak:
16784         * docs/manual/Makefile.am:
16785         * docs/pwg/Makefile.am:
16786           reorganize doc build a little
16787           split out docbook and gtk-doc stuff
16788           have two separate --enable's and enable them through autogen
16789           but disable by default in configure (to be similar to other
16790           projects)
16791         * gstreamer.spec.in:
16792           clean up docs install
16793         * po/af.po:
16794         * po/az.po:
16795         * po/ca.po:
16796         * po/cs.po:
16797         * po/de.po:
16798         * po/en_GB.po:
16799         * po/fr.po:
16800         * po/it.po:
16801         * po/nb.po:
16802         * po/nl.po:
16803         * po/ru.po:
16804         * po/sq.po:
16805         * po/sr.po:
16806         * po/sv.po:
16807         * po/tr.po:
16808         * po/uk.po:
16809         * po/vi.po:
16810           translation updates
16811
16812 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
16813
16814         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
16815           Add comment.
16816           
16817         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
16818         (gst_fake_sink_change_state):
16819           Make state change function thread-safe.
16820           
16821         * gst/gstpad.c: (gst_pad_alloc_buffer):
16822           Set offset on generic buffer allocated by fallback.
16823
16824 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
16825
16826         * docs/gst/gstreamer-sections.txt:
16827         * docs/gst/tmpl/gstelement.sgml:
16828         * gst/gstpad.c:
16829         * libs/gst/controller/gst-controller.c:
16830         (gst_controlled_property_set_interpolation_mode),
16831         (gst_controlled_property_new),
16832         (gst_controller_find_controlled_property):
16833          run the wingo-magic script against the docs
16834
16835 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
16836
16837         * docs/gst/gstreamer-docs.sgml:
16838         * docs/gst/gstreamer-sections.txt:
16839         * docs/gst/tmpl/.cvsignore:
16840         * docs/gst/tmpl/gstelementdetails.sgml:
16841         * docs/gst/tmpl/gstelementfactory.sgml:
16842         * gst/gst.c:
16843         * gst/gstbus.c:
16844         * gst/gstelementfactory.c:
16845         * gst/gstelementfactory.h:
16846           merged elementdetails docs into elementfactory docs
16847           inlined both
16848
16849 2005-09-02  Andy Wingo  <wingo@pobox.com>
16850
16851         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
16852         consider this enum an enum and not a flags.
16853
16854 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
16855
16856         * docs/gst/gstreamer-docs.sgml:
16857         * docs/gst/tmpl/.cvsignore:
16858         * docs/gst/tmpl/gstghostpad.sgml:
16859         * docs/gst/tmpl/gstiterator.sgml:
16860         * docs/gst/tmpl/gstmacros.sgml:
16861         * docs/gst/tmpl/gstrealpad.sgml:
16862         * docs/gst/tmpl/gstregistry.sgml:
16863         * docs/gst/tmpl/gstregistrypool.sgml:
16864         * docs/gst/tmpl/gststructure.sgml:
16865         * docs/gst/tmpl/gstsystemclock.sgml:
16866         * docs/gst/tmpl/gsttrace.sgml:
16867         * gst/gstghostpad.c:
16868         * gst/gstmacros.h:
16869         * gst/gstmemchunk.c:
16870         * gst/gstmemchunk.h:
16871         * gst/gstqueue.c:
16872         * gst/gstregistry.c:
16873         * gst/gstregistrypool.c:
16874         * gst/gststructure.c:
16875         * gst/gstsystemclock.c:
16876           more docs inlined
16877
16878 2005-09-02  Andy Wingo  <wingo@pobox.com>
16879
16880         * gst/gstelement.h (GstState): Renamed from GstElementState,
16881         changed to be a normal enum instead of flags.
16882         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
16883         munged to be GST_STATE_CHANGE_*.
16884         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
16885         work with the new state representation.
16886         (GstStateChange): New enumeration of possible state transitions.
16887         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
16888         (GstElementClass::change_state): Pass the GstStateChange along as
16889         an argument. Helps language bindings, so they don't have to use
16890         tricky lock-needing macros like GST_STATE_CHANGE ().
16891
16892         * scripts/update-states (file): New script. Run it on a file to
16893         update it for state naming and API changes. Updates files in
16894         place.
16895
16896         * All files updated for the new API.
16897
16898 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16899
16900         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
16901         * gst/gstutils.c: (gst_util_set_value_from_string),
16902         (gst_util_set_object_arg):
16903           fix a bunch of unchecked return values
16904         * tools/gst-complete.c: (main):
16905         * gstreamer.spec.in:
16906           clean up a little
16907
16908 2005-09-01  Wim Taymans  <wim@fluendo.com>
16909
16910         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16911         (gst_base_sink_event), (gst_base_sink_do_sync),
16912         (gst_base_sink_handle_event):
16913         * gst/base/gstbasesink.h:
16914         Handle newsegments more correctly.
16915
16916         * gst/gstbus.c:
16917         Fix docs.
16918
16919         * gst/gstevent.c: (gst_event_new_newsegment):
16920         A newsegment cannot have a start_time of -1
16921
16922 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
16923
16924         * win32/gstenumtypes.c:
16925         * win32/gstenumtypes.h:
16926           Update
16927
16928 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
16929
16930         * libs/gst/controller/gst-controller.c:
16931         (gst_controlled_property_set_interpolation_mode),
16932         (gst_controlled_property_new):
16933          fixed boolean again
16934
16935 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
16936
16937         * docs/faq/gst-uninstalled:
16938           add -good
16939         * gst/gstevent.c:
16940         * gst/gstevent.h:
16941           remove wrong docs
16942         * gst/gstutils.c: (gst_element_link_filtered):
16943         * gst/gstutils.h:
16944           add gst_element_link_filtered
16945
16946 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
16947
16948         * docs/gst/gstreamer-docs.sgml:
16949         * docs/gst/gstreamer-sections.txt:
16950         * docs/gst/tmpl/.cvsignore:
16951         * docs/gst/tmpl/gsterror.sgml:
16952         * docs/gst/tmpl/gstfilter.sgml:
16953         * docs/gst/tmpl/gsturihandler.sgml:
16954         * docs/gst/tmpl/gsturitype.sgml:
16955         * docs/gst/tmpl/gstutils.sgml:
16956         * docs/gst/tmpl/gstxml.sgml:
16957         * gst/gsterror.c:
16958         * gst/gsterror.h:
16959         * gst/gstfilter.c:
16960         * gst/gsturi.c:
16961         * gst/gsturitype.c:
16962         * gst/gstutils.c:
16963         * gst/gstxml.c:
16964           inlined more docs, fixed double id-ref
16965
16966 2005-08-31  Wim Taymans  <wim@fluendo.com>
16967
16968         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16969         (gst_base_transform_handle_buffer):
16970         Passthrough elements don't need the caps as they don't care.
16971
16972 2005-08-31  Wim Taymans  <wim@fluendo.com>
16973
16974         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16975         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
16976         Don't leak refcounts on buffers.
16977
16978 2005-08-31  Wim Taymans  <wim@fluendo.com>
16979
16980         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
16981         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
16982         (gst_base_transform_chain), (gst_base_transform_change_state):
16983         * gst/base/gstbasetransform.h:
16984         Handle the case where we are not negotiated more gracefully.
16985
16986 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
16987
16988         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
16989         (gst_file_src_map_region):
16990           Set READONLY flag on mmap'ed buffers, otherwise
16991           gst_buffer_make_writable() won't work properly (#314708).
16992
16993 2005-08-31  Wim Taymans  <wim@fluendo.com>
16994
16995         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
16996         passthrough elements can even do inplace on non writable
16997         buffers (as they don't touch them).
16998
16999 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
17000
17001         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
17002         (gst_test_mono_source_set_property),
17003         (gst_test_mono_source_class_init), (GST_START_TEST),
17004         (gst_controller_suite):
17005           more tests (hehe I have the most)
17006         * gst/gstbus.c:
17007           describe popping messages whenusing mulltiple sources
17008         * libs/gst/controller/gst-controller.c:
17009         (gst_controlled_property_set_interpolation_mode),
17010         (gst_controlled_property_new):
17011         * libs/gst/controller/gst-controller.h:
17012         * libs/gst/controller/gst-interpolation.c:
17013           implement boolean properties
17014
17015 2005-08-31  Wim Taymans  <wim@fluendo.com>
17016
17017         * gst/gstminiobject.c: (gst_mini_object_ref):
17018         Cannot assert that the refcount has to be positive
17019         since a disposed object can be resurrected.
17020
17021 2005-08-31  Wim Taymans  <wim@fluendo.com>
17022
17023         * gst/gstpad.c: (gst_pad_init):
17024         Revert change, need to first fix badly behaving 
17025         apps.
17026
17027 2005-08-30  Wim Taymans  <wim@fluendo.com>
17028
17029         * check/elements/fakesrc.c: (setup_fakesrc):
17030         * check/elements/identity.c: (setup_identity):
17031         Activate pads before using them.
17032
17033 2005-08-30  Wim Taymans  <wim@fluendo.com>
17034
17035         * gst/base/gstadapter.c: (gst_adapter_flush):
17036         Flushing out 0 bytes is ok for this function.
17037
17038         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17039         no newsegment gives a warning and sets the start/stop to 
17040         invalid.
17041
17042         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
17043         (gst_base_transform_set_passthrough):
17044         Some debug info.
17045
17046         * gst/gstminiobject.c: (gst_mini_object_ref):
17047         Check refcount here too.
17048
17049         * gst/gstpad.c: (gst_pad_init):
17050         Pads are initially flushing and refusing data.
17051
17052         * gst/gstutils.c: (gst_element_link_pads_filtered):
17053         When adding a capsfilter element make sure it has the
17054         same state as the parent bin.
17055
17056 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
17057
17058         * docs/gst/tmpl/.cvsignore:
17059         * docs/gst/tmpl/gstformat.sgml:
17060         * docs/gst/tmpl/gstversion.sgml:
17061         * gst/gstbus.h:
17062         * gst/gstformat.c:
17063         * gst/gstformat.h:
17064         * gst/gstversion.h.in:
17065           more docs and two more inlined
17066
17067 2005-08-30  Wim Taymans  <wim@fluendo.com>
17068
17069         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
17070         Don't sync to clock.
17071
17072 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
17073
17074         * docs/gst/gstreamer-sections.txt:
17075           ultral33t func10ns deserve to appear in the docs actually
17076         * docs/gst/tmpl/.cvsignore:
17077         * docs/gst/tmpl/gstcompat.sgml:
17078         * docs/gst/tmpl/gstconfig.sgml:
17079         * gst/check/gstcheck.c:
17080         * gst/gstcompat.h:
17081         * gst/gstconfig.h.in:
17082           inlined more docs
17083
17084 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
17085
17086         * docs/gst/tmpl/.cvsignore:
17087         * docs/gst/tmpl/gstquery.sgml:
17088         * docs/gst/tmpl/gstutils.sgml:
17089         * gst/gstquery.c:
17090         * gst/gstquery.h:
17091           inlined and extended docs
17092
17093 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
17094
17095         * check/gst-libs/controller.c: (GST_START_TEST),
17096         (gst_controller_suite):
17097           more tests
17098         * docs/gst/tmpl/gstutils.sgml:
17099         * docs/libs/gstreamer-libs-sections.txt:
17100         * docs/libs/tmpl/gstdataprotocol.sgml:
17101           include path fixes
17102         * examples/controller/audio-example.c: (main):
17103           controller example works now
17104         * gst/gstclock.h:
17105           doc fixes
17106         * tools/gst-inspect.c: (print_element_properties_info):
17107           show param spec flags
17108
17109 2005-08-29  Andy Wingo  <wingo@pobox.com>
17110
17111         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
17112
17113 2005-08-28  Andy Wingo  <wingo@pobox.com>
17114
17115         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
17116         as having two arguments instead of just one. Allows superclasses
17117         to access information on subclasses -- see the terrible for() loop
17118         in gtype.c:g_type_create_instance for the reason why. All callers
17119         changed.
17120
17121 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
17122
17123         * docs/design/part-messages.txt:
17124           update info
17125         * docs/gst/tmpl/.cvsignore:
17126         * docs/gst/tmpl/gstcaps.sgml:
17127         * docs/gst/tmpl/gstclock.sgml:
17128         * gst/gstbus.c:
17129         * gst/gstcaps.c:
17130         * gst/gstcaps.h:
17131         * gst/gstclock.c:
17132         * gst/gstclock.h:
17133         * gst/gstmessage.c:
17134           added descriptions for bus and message
17135           inline caps and clock docs
17136
17137 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
17138
17139         * gst/gstmessage.c:
17140         * gst/gstmessage.h:
17141           doc fixes
17142
17143 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
17144
17145         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
17146           fix div-by-zero
17147
17148 2005-08-26  Andy Wingo  <wingo@pobox.com>
17149
17150         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
17151         element_set_state's return val.
17152         (test_2_elements): Add test that's been disabled for months.
17153
17154         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
17155         can-activate-pull properties.
17156
17157         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
17158         can-activate-pull properties. Implement is_seekable so fakesrc can
17159         operate in pull mode.
17160
17161         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
17162         properties.
17163         (gst_base_sink_activate, gst_base_sink_activate_pull)
17164         (gst_base_sink_activate_push): Make activation mode choosing work.
17165         Cleanups.
17166         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
17167         is right. Make pull mode work. Post an eos before pausing in pull
17168         mode.
17169         (gst_base_sink_change_state): Pay attention to the core's
17170         change_state() return val.
17171         
17172         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
17173         has-getrange properties. Cleanups.
17174         
17175         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
17176         has_getrange and replace with can_activate_pull and
17177         can_activate_push.
17178
17179         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
17180         locking comments. Remove has_loop, has_chain and replace with
17181         can_activate_pull and can_activate_push.
17182
17183 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
17184
17185         * configure.ac:
17186         * examples/Makefile.am:
17187         * examples/metadata/Makefile.am:
17188         * examples/metadata/read-metadata.c: (message_loop),
17189         (have_pad_handler), (make_pipeline), (print_tag), (main):
17190           Add metadata reading example that loops over a list of filenames,
17191           dumping any tags found.
17192
17193         * gst/gstbus.c: (gst_bus_dispose):
17194         * gst/gstelement.c: (gst_element_dispose):
17195           Release a few potentially-held references in dispose.
17196
17197 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
17198
17199         * docs/gst/tmpl/gstminiobject.sgml:
17200           do *not* add tmpl/*.sgml files to CVS!
17201
17202 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
17203
17204         * libs/gst/bytestream/.cvsignore:
17205         * libs/gst/bytestream/Makefile.am:
17206         * libs/gst/bytestream/adapter.c:
17207         * libs/gst/bytestream/adapter.h:
17208         * libs/gst/bytestream/bytestream.c:
17209         * libs/gst/bytestream/bytestream.h:
17210         * libs/gst/bytestream/filepad.c:
17211         * libs/gst/bytestream/filepad.h:
17212           removing obsolete files
17213
17214 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
17215
17216         * docs/gst/gstreamer-docs.sgml:
17217         * docs/libs/gstreamer-libs-docs.sgml:
17218           disabed additional index entries again, as this makes docs-gen just
17219           slow and they aren't useful yet
17220         * docs/libs/gstreamer-libs-sections.txt:
17221           little -section.txt cleanup for libs
17222
17223 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
17224
17225         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17226         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
17227           fix up some debugging
17228         (gst_base_transform_get_unit_size),
17229         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
17230         (gst_base_transform_handle_buffer):
17231         * gst/base/gstbasetransform.h:
17232           handle and store timed NEWSEGMENT events so that subclasses that
17233           calculate time by counting samples have a segment_start time they
17234           need to add to their timestamps - see audioresample
17235
17236 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
17237
17238         * gst/gstbin.h:
17239           removed ';' from the end of macro defs
17240         * docs/gst/gstreamer-docs.sgml:
17241         * docs/gst/gstreamer-sections.txt:
17242         * docs/gst/tmpl/.cvsignore:
17243         * gst/gstbus.h:
17244         * gst/gstelement.c: (gst_element_class_init),
17245         (gst_element_set_state), (activate_pads),
17246         (gst_element_save_thyself):
17247         * gst/gstevent.c: (gst_event_new_newsegment):
17248         * gst/gstevent.h:
17249         * gst/gstiterator.c:
17250         * gst/gstiterator.h:
17251         * gst/gstpad.c:
17252         * gst/gstprobe.h:
17253         * gst/gstutils.c: (gst_pad_query_convert):
17254         * gst/gstutils.h:
17255           fixed parameter name mismatches between source, header and docs
17256           added some more docs, resolved the last batch of unused elements in
17257           docs (now someone needs to doc them)
17258
17259 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
17260
17261         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
17262         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
17263           don't walk through the plugins backwards.  Where is all this
17264           reversed logic coming from ?
17265
17266 2005-08-25  Wim Taymans  <wim@fluendo.com>
17267
17268         * gst/base/gstbasetransform.c: (gst_base_transform_init),
17269         (gst_base_transform_transform_size),
17270         (gst_base_transform_configure_caps),
17271         (gst_base_transform_get_unit_size),
17272         (gst_base_transform_buffer_alloc),
17273         (gst_base_transform_change_state):
17274         * gst/base/gstbasetransform.h:
17275         Cache caps unit_size.
17276         Make sure we cannot negotiate up and downstream at the
17277         same time.
17278
17279 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
17280
17281         * gst/gst.c: (init_pre), (init_post):
17282           register the installed plugin path after the env var
17283         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
17284         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
17285           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
17286           directories, so the tests can prefer uninstalled over installed
17287
17288 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
17289
17290         * gst/base/gstbasetransform.h:
17291           comment
17292         * gst/gstpad.c:
17293           add to docs
17294
17295 2005-08-25  Wim Taymans  <wim@fluendo.com>
17296
17297         * gst/gstbin.c: (bin_bus_handler):
17298         Be a bit more conservative about the posted message.
17299         
17300         * gst/gstbus.c: (gst_bus_post):
17301         Some cleanups, warn wrong return values.
17302
17303 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
17304
17305         * check/gst/gstbin.c: (GST_START_TEST):
17306         * gst/gstbin.c: (bin_bus_handler):
17307         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17308         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17309         (gst_message_new_warning), (gst_message_new_tag),
17310         (gst_message_new_state_changed), (gst_message_new_segment_start),
17311         (gst_message_new_segment_done), (gst_message_new_custom):
17312         * gst/gstmessage.h:
17313         * tools/gst-launch.c: (event_loop):
17314         * tools/gst-md5sum.c: (event_loop):
17315           Revert unpopular change for GST_MESSAGE_SRC to GObject.
17316
17317 2005-08-25  Wim Taymans  <wim@fluendo.com>
17318
17319         * check/generic/states.c: (GST_START_TEST):
17320         Cleanup can be done at the end.
17321
17322         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
17323         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17324         (gst_task_get_state), (gst_task_start), (gst_task_pause):
17325         Oh boy.. Thanks for finding this, Thomas. 
17326
17327 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
17328
17329         * docs/gst/gstreamer.types:
17330           added missing types
17331
17332 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
17333
17334         * docs/gst/gstreamer-docs.sgml:
17335         * docs/gst/gstreamer-sections.txt:
17336         * docs/gst/tmpl/.cvsignore:
17337         * gst/gstbin.c:
17338         * gst/gstiterator.c:
17339         * gst/gstutils.c:
17340         * gst/registries/gstxmlregistry.h:
17341           added missing classes and symbols (123 more to go)
17342           removed removed symbols from section file
17343           fixed many doc-comments
17344
17345 2005-08-24  Wim Taymans  <wim@fluendo.com>
17346
17347         * check/generic/states.c: (GST_START_TEST):
17348         Make sure all tasks are stopped.
17349
17350         * check/gst/gstbin.c: (GST_START_TEST):
17351         Unref after usage for proper valgrinding.
17352
17353         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
17354         Really wait for the task to stop before destroying the
17355         mutex.
17356
17357         * gst/gstqueue.c: (gst_queue_sink_activate_push),
17358         (gst_queue_src_activate_push):
17359         Small cleanups. Don't stop the task when we did not start
17360         it.
17361
17362         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
17363         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17364         (gst_task_get_state), (gst_task_start), (gst_task_pause),
17365         (gst_task_join):
17366         * gst/gsttask.h:
17367         Protect the stream lock with the object lock.
17368         Disallow setting the stream lock when running.
17369         Add cleanup_all to wait for the threadpool to finish.
17370         Remove code to autoallocate a mutex if none was provided.
17371         Add _join() to wait for a task to stop.
17372         Protect the thread pool with a global lock.
17373
17374 2005-08-24  Wim Taymans  <wim@fluendo.com>
17375
17376         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17377         (gst_base_sink_get_times), (gst_base_sink_do_sync),
17378         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
17379         * gst/base/gstbasesink.h:
17380         Handle newsegment events correctly.
17381         Drop buffers out of the segment range.
17382
17383 2005-08-22  Andy Wingo  <wingo@pobox.com>
17384
17385         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
17386         macro, implements an interface and gstimplementsinterface for a
17387         new type.
17388
17389 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17390
17391         * check/Makefile.am:
17392         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
17393           add a test that does a bunch of state changes on elements
17394           needs some fixing for valgrind
17395         * check/states/sinks.c: (gst_object_suite):
17396           whitespace
17397         * gst/gstcaps.h:
17398           add prototype for gst_caps_is_equal_fixed
17399         * gst/gstplugin.c:
17400         * gst/gstregistrypool.c:
17401           doc fixes
17402
17403 2005-08-24  Andy Wingo  <wingo@pobox.com>
17404
17405         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
17406         convert a negative value. Doesn't make much sense. Mostly this is
17407         here to force callers to ensure -1 maps to -1.
17408
17409 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
17410
17411         * docs/pwg/advanced-types.xml:
17412           Well done to Michael for catching my deliberate introduction
17413           of this spelling mistake. 
17414         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
17415         * gst/gstelement.h:
17416           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
17417           unlink pads before removing the element from the bin.
17418
17419 2005-08-24  Andy Wingo  <wingo@pobox.com>
17420
17421         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
17422         the same thing as GST_DEBUG=*:4.
17423         (parse_debug_level, parse_debug_category): New helper parsers.
17424
17425 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17426
17427         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17428         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
17429         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
17430         (gst_base_transform_buffer_alloc),
17431         (gst_base_transform_handle_buffer):
17432           use gboolean return values and pointers to size so we can use the
17433           full GST_BUFFER_SIZE range (guint) for buffer sizes
17434           use GstPadDirection for transform_caps
17435         * gst/base/gstbasetransform.h:
17436           rename get_size to get_unit_size since that's what it is
17437         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
17438           use GstPadDirection for transform_caps
17439         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17440         * gst/gstutils.h:
17441           cleanup and debugging
17442
17443 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
17444
17445         * gst/gstelement.c: (gst_element_class_init),
17446         (gst_element_set_state), (activate_pads),
17447         (gst_element_save_thyself):
17448         * tools/gst-compprep.c: (main):
17449         * tools/gst-inspect.c: (print_element_properties_info):
17450         * tools/gst-xmlinspect.c: (print_element_properties):
17451           Fixed long standing mem-leak
17452
17453 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
17454
17455         * check/gst/gstbin.c: (GST_START_TEST):
17456         * gst/gstbin.c: (bin_bus_handler):
17457         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17458         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17459         (gst_message_new_warning), (gst_message_new_tag),
17460         (gst_message_new_state_changed), (gst_message_new_segment_start),
17461         (gst_message_new_segment_done), (gst_message_new_custom):
17462         * gst/gstmessage.h:
17463         * tools/gst-launch.c: (event_loop):
17464         * tools/gst-md5sum.c: (event_loop):
17465           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
17466           that applications can sensibly post custom messages with references
17467           to their own objects.
17468
17469 2005-08-24  Andy Wingo  <wingo@pobox.com>
17470
17471         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
17472         already.
17473
17474 2005-08-24  Wim Taymans  <wim@fluendo.com>
17475
17476         * gst/base/gstbasetransform.c: (gst_base_transform_init),
17477         (gst_base_transform_transform_caps),
17478         (gst_base_transform_transform_size),
17479         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
17480         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
17481         (gst_base_transform_handle_buffer):
17482         * gst/base/gstbasetransform.h:
17483         Many fixes and new features added by Thomas. Can now also do
17484         transforms with variable sizes and a custom fixate_caps function.
17485
17486 2005-08-24  Wim Taymans  <wim@fluendo.com>
17487
17488         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17489         Some debugging.
17490
17491         * gst/gstclock.h:
17492         Cast to ClockTime before formatting to time.
17493
17494         * gst/gstutils.h:
17495         Cleanups.
17496
17497 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
17498
17499         * check/gst-libs/controller.c: (GST_START_TEST),
17500         (gst_controller_suite):
17501         * docs/gst/tmpl/gstcaps.sgml:
17502         * docs/gst/tmpl/gstghostpad.sgml:
17503         * docs/gst/tmpl/gstquery.sgml:
17504         * docs/gst/tmpl/gstutils.sgml:
17505         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
17506         (gst_object_sink_values), (gst_object_get_value_arrays),
17507         (gst_object_get_value_array):
17508           gracefully handle helper method calls to objects that are not beeing
17509           controlled, added test case for that          
17510
17511 2005-08-23  Wim Taymans  <wim@fluendo.com>
17512
17513         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
17514         (gst_event_new_newsegment), (gst_event_parse_newsegment),
17515         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
17516         (gst_event_parse_qos), (gst_event_new_seek),
17517         (gst_event_parse_seek):
17518         * gst/gstevent.h:
17519         Some more debugging output and doc cleanups.
17520
17521         * gst/gstqueue.c: (gst_queue_handle_sink_event):
17522         Fix possible deadlock.
17523
17524 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17525
17526         * docs/gst/gstreamer-docs.sgml:
17527         * docs/gst/gstreamer-sections.txt:
17528         * docs/gst/gstreamer.types:
17529         * docs/gst/tmpl/.cvsignore:
17530         * gst/gstbin.h:
17531         * gst/gstbus.c:
17532         * gst/gstelement.c:
17533         * gst/gstevent.h:
17534           added 100 symbols from gstreamer-unused.txt to the right sections
17535           fixed more broken comments
17536           added GstBus to docs
17537
17538 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17539
17540         * docs/gst/gstreamer-sections.txt:
17541         * docs/gst/tmpl/.cvsignore:
17542         * docs/gst/tmpl/gstbin.sgml:
17543         * docs/gst/tmpl/gstbuffer.sgml:
17544         * gst/base/gstbasesrc.c:
17545         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
17546         * gst/gstbuffer.c:
17547         * gst/gstbuffer.h:
17548         * tools/gst-launch.1.in:
17549           inlined more doc comments, added missing comments and fixed comments
17550           fixed typos
17551
17552 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17553
17554         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17555           some debugging
17556         * gst/gstcaps.h:
17557           whitespace fixes
17558         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
17559           more debugging
17560         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
17561         * gst/gststructure.h:
17562           add a fixate function for booleans; add a FIXME that these func
17563           names should probably be gst_structure_fixate_*
17564
17565 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17566
17567         * docs/gst/gstreamer-docs.sgml:
17568         * docs/gst/gstreamer-sections.txt:
17569         * gst/Makefile.am:
17570         * gst/gstbin.c: (gst_bin_get_type),
17571         (gst_bin_child_proxy_get_child_by_index),
17572         (gst_bin_child_proxy_get_children_count),
17573         (gst_bin_child_proxy_init):
17574         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17575         (gst_child_proxy_get_child_by_index),
17576         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
17577         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
17578         (gst_child_proxy_get), (gst_child_proxy_set_property),
17579         (gst_child_proxy_set_valist), (gst_child_proxy_set),
17580         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
17581         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
17582         * gst/gstchildproxy.h:
17583         * gst/parse/grammar.y:
17584         * tools/gst-inspect.c: (print_interfaces),
17585         (print_element_properties_info), (print_element_info):
17586           ported gstchildproxy over from 0.8
17587           ported gst-inspect fixes and enhancements over from 0.8
17588
17589 2005-08-22  Wim Taymans  <wim@fluendo.com>
17590
17591         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17592         (gst_base_transform_handle_buffer):
17593         Also call the transform function if we have ANY caps.
17594
17595         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
17596         Fix debug info.
17597
17598 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
17599
17600         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
17601           Don't pretend to handle seek events if the source is not seekable
17602
17603 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
17604
17605         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17606           Remove extra parameter to debug output
17607
17608         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17609         (gst_base_src_do_seek), (gst_base_src_activate_push):
17610           Fix seek event handling.
17611
17612         * gst/gstpipeline.c: (gst_pipeline_change_state):
17613         * gst/gstqueue.c: (gst_queue_handle_sink_event),
17614         (gst_queue_src_activate_push):
17615           Don't start the src pad task on FLUSH_STOP if the pad
17616           isn't linked.
17617           Debug changes.
17618
17619 2005-08-22  Wim Taymans  <wim@fluendo.com>
17620
17621         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
17622         Added check for gst_static_caps_get() refcounting.
17623
17624 2005-08-22  Wim Taymans  <wim@fluendo.com>
17625
17626         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
17627         Make _static_caps_get() refcounting sane.
17628         
17629         * gst/gstelement.c: (gst_element_set_state):
17630         Add g_return_val_if_fail() to protect against segfaults.
17631
17632 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
17633
17634         * docs/gst/tmpl/gstevent.sgml:
17635         * gst/gstevent.c:
17636         * gst/gstevent.h:
17637           inlined remaining docs, added missing doc comments
17638
17639 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17640
17641         * check/gst/gstbin.c: (GST_START_TEST):
17642           since we don't know when preroll is done, use refcount range
17643           check for the sink
17644         * gst/check/gstcheck.h:
17645           add macro for checking refcount range
17646
17647 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17648
17649         * check/Makefile.am:
17650           clean up environment for when registry gets built versus
17651           when actual tests are run; valgrind seems to not report
17652           leaks if GST_PLUGIN_PATH is set to some specific values
17653         * check/gst/gstbin.c: (GST_START_TEST):
17654           add more refcounting checks; maybe this exposes a
17655           preroll lock bug ?
17656         * common/check.mak:
17657         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17658         * gst/check/gstcheck.h:
17659         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
17660         (gst_bin_change_state):
17661         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
17662           add/fix debugging/whitespace
17663
17664 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
17665
17666         * check/gst/gstevent.c: (event_probe), (test_event),
17667         (GST_START_TEST):
17668          Er, don't call gst_bin_watch_for_state_change you idiot.
17669
17670 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
17671
17672         * check/Makefile.am:
17673           Use CHECK_CFLAGS and CHECK_LIBS
17674         * check/gst/gstevent.c: (event_probe), (test_event),
17675         (GST_START_TEST):
17676           Don't leak events.
17677         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17678         (gst_base_src_start), (gst_base_src_stop),
17679         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17680         (gst_base_src_change_state):
17681           Sprinkle gst_base_src_stop liberally around error paths to fix
17682           problems reusing a source after failed state changes.
17683         * gst/base/gsttypefindhelper.c: (helper_find_peek),
17684         (helper_find_suggest), (gst_type_find_helper):
17685           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
17686         * gst/gstevent.h:
17687         * docs/gst/tmpl/gstevent.sgml:
17688           Migrate part of the docs from the SGML file. Wait for ensonic to
17689           tell me how I did it wrong ;)
17690         * tools/gst-typefind.c: (main):
17691           Extra robustness to state changes between files.
17692
17693 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17694
17695         * check/Makefile.am:
17696           don't valgrind the controller test - it's leaking - Stefan, HELP
17697         * gst/check/gstcheck.c: (gst_check_message_error),
17698         (gst_check_chain_func), (gst_check_setup_element),
17699         (gst_check_teardown_element), (gst_check_setup_src_pad),
17700         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
17701         (gst_check_teardown_sink_pad):
17702         * gst/check/gstcheck.h:
17703           add a bunch of methods to set up elements, and src and sink pads
17704         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
17705         * check/elements/identity.c: (setup_identity), (cleanup_identity),
17706         (GST_START_TEST):
17707           use them
17708         * gst/gstmessage.c:
17709         * gst/gsttag.h:
17710           whitespace/doc fixes
17711
17712 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17713
17714         * gst/gstelement.h:
17715           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
17716           be handled by the application and not always printed as well
17717
17718 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17719
17720         * check/Makefile.am:
17721           set GST_TOOLS_DIR
17722         * gst/check/gstcheck.c: (gst_check_message_error):
17723         * gst/check/gstcheck.h:
17724           add a fail_unless_equals_int
17725           add fail_unless for error messages
17726
17727 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17728
17729         * check/Makefile.am:
17730         * check/gst.supp:
17731         * common/Makefile.am:
17732         * common/check.mak:
17733         * common/gst.supp:
17734           factor out some of the common stuff so we can use it
17735
17736 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17737
17738         * check/Makefile.am:
17739         * check/gst/gstiterator.c: (GST_START_TEST):
17740         * check/gst/gstsystemclock.c: (GST_START_TEST),
17741         (gst_systemclock_suite):
17742         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
17743         * gst/gstclock.c:
17744           valgrind more tests
17745
17746 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17747
17748         * check/elements/.cvsignore:
17749         * check/elements/gstfakesrc.c:
17750           rename to name of element
17751         * check/elements/identity.c: (chain_func), (event_func),
17752         (setup_identity), (cleanup_identity), (GST_START_TEST),
17753         (identity_suite), (main):
17754           add a test for identity
17755         * check/Makefile.am:
17756         * pkgconfig/Makefile.am:
17757         * pkgconfig/gstreamer-check.pc.in:
17758         * pkgconfig/gstreamer-check-uninstalled.pc.in:
17759         * gst/check:
17760         * gst/Makefile.am:
17761         * configure.ac:
17762           move the check stuff to a library that gets installed
17763         * check/gst-libs/controller.c: (GST_START_TEST):
17764         * check/gst-libs/gdp.c:
17765         * check/gst/gst.c: (GST_START_TEST):
17766         * check/gst/gstbin.c:
17767         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17768         * check/gst/gstbus.c:
17769         * check/gst/gstcaps.c: (GST_START_TEST):
17770         * check/gst/gstelement.c:
17771         * check/gst/gstghostpad.c:
17772         * check/gst/gstiterator.c:
17773         * check/gst/gstmessage.c:
17774         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
17775         * check/gst/gstobject.c:
17776         * check/gst/gstpad.c: (GST_START_TEST):
17777         * check/gst/gststructure.c: (GST_START_TEST):
17778         * check/gst/gstsystemclock.c: (GST_START_TEST),
17779         (gst_systemclock_suite):
17780         * check/gst/gsttag.c: (gst_tag_suite):
17781         * check/gst/gstvalue.c:
17782         * check/pipelines/cleanup.c:
17783         * check/pipelines/simple_launch_lines.c:
17784         * check/states/sinks.c:
17785           change include statement
17786
17787         * docs/gst/gstreamer-sections.txt:
17788         * docs/gst/tmpl/gstpad.sgml:
17789           document more pad stuff
17790         * gst/gstminiobject.c: (gst_mini_object_ref),
17791         (gst_mini_object_unref):
17792           debug refcounting
17793
17794 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
17795
17796         * docs/gst/tmpl/gst.sgml:
17797         * gst/gst.c:
17798           eliminate another tmpl file, fix spelling in the long-description
17799
17800 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17801
17802         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17803         (test_event), (timediff), (gstevents_suite):
17804           Should fix build on 64-bit arch's
17805
17806 2005-08-18  Andy Wingo  <wingo@pobox.com>
17807
17808         Make sure that when a pipeline goes to PLAYING, that data has
17809         actually hit the sink.
17810
17811         * check/states/sinks.c (test_sink): A sink that doesn't get any
17812         data shouldn't return SUCCESS for going to either PLAYING or
17813         PAUSED. Test also the return values on the way back down.
17814
17815         * gst/gstelement.c (gst_element_set_state): When changing the
17816         state of an element currently changing state asynchronously, go to
17817         lost-state after commiting the pending state. Makes future calls
17818         to get_state continue to return ASYNC.
17819
17820         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
17821         ASYNC when going to PLAYING if we still don't have preroll, as can
17822         happen with live sources.
17823
17824 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17825
17826         * docs/pwg/advanced-types.xml:
17827           Hack long paragraph into 2 chunks as a workaround for buggy
17828           jadetex version in sid and breezy that loops infinitely and
17829           eats all RAM.
17830
17831 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17832
17833         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17834         (test_event), (timediff), (gstevents_suite):
17835           Provide more error margin in clock measurements to allow for 
17836           g_get_current_time inaccuracies.
17837
17838 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17839
17840         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17841         (test_event), (timediff), (gstevents_suite):
17842            Fix error message output so I might be able to tell why the
17843            test works here but fails on the build farm.
17844
17845 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17846
17847         * check/Makefile.am:
17848         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17849         (test_event), (timediff), (gstevents_suite), (main):
17850           I wrote a test!
17851
17852         * docs/design/part-seeking.txt:
17853           Spelling correction
17854
17855         * docs/gst/tmpl/gstevent.sgml:
17856         * docs/gst/tmpl/gstfakesrc.sgml:
17857           Docs updates.
17858
17859         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17860           Treat a buffer-without-newsegment the same as a receiving 
17861           a newsegment not in time format, and disable syncing to the clock
17862           with a warning.
17863
17864         * gst/gstbus.c: (gst_bus_set_sync_handler):
17865           Assert if anyone tries to replace the existing sync_handler for bus, 
17866           as only the owner should be setting it.
17867
17868         * gst/gstevent.h:
17869           Have a fixed set of custom event enums with events identified by
17870           their structure name (as in 0.8), rather than a free-for-all
17871           allowing collisions between enum values from different plugins.
17872
17873         * gst/gstpad.c: (gst_pad_class_init):
17874           Docs change.
17875           
17876         * gst/gstqueue.c: (gst_queue_handle_sink_event):
17877           Handle out-of-band downstream events from the sending thread.
17878
17879 2005-08-17  Andy Wingo  <wingo@pobox.com>
17880
17881         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
17882         play-timeout==0 to mean no timeout at all. In that case, don't
17883         bother with a get_state or a warning, just return directly, even
17884         if it's ASYNC.
17885
17886         * gst/base/gstbasetransform.c: Debug changes.
17887
17888         * gst/gstutils.h:
17889         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
17890         ensure bins post state change messages. A bit of a hack but I can't
17891         think of a way to avoid it.
17892
17893         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
17894
17895 2005-08-16  Andy Wingo  <wingo@pobox.com>
17896
17897         * gst/base/gstadapter.h:
17898         * gst/base/gstadapter.c (gst_adapter_take): New function, like
17899         peek() but you own the data. Not terribly efficient atm.
17900
17901 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17902
17903         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
17904         (gst_element_found_tags):
17905         * gst/gstutils.h:
17906           Add two utility functions for tag handling.
17907
17908 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17909
17910         * docs/manual/advanced-dataaccess.xml:
17911         * docs/manual/basics-helloworld.xml:
17912           Fix docs to use _bin_add() before _link(), which fixes the examples
17913           with recent core versions (reported by Madhan Raj M
17914           <raj_madan@rediffmail.com>, #313199).
17915
17916 2005-08-16  Wim Taymans  <wim@fluendo.com>
17917
17918         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
17919         Added subtract checks.
17920
17921         * docs/design/part-events.txt:
17922         Some more docs about newsegment
17923
17924         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
17925         Fix FIXME
17926
17927         * gst/gstcaps.c: (gst_caps_to_string):
17928         Add comments, cleanups.
17929         
17930         * gst/gstelement.c: (gst_element_save_thyself):
17931         cleanups
17932         
17933         * gst/gstvalue.c: (gst_value_collect_int_range),
17934         (gst_string_unwrap), (gst_value_union_int_int_range),
17935         (gst_value_union_int_range_int_range),
17936         (gst_value_intersect_int_int_range),
17937         (gst_value_intersect_int_range_int_range),
17938         (gst_value_intersect_double_double_range),
17939         (gst_value_intersect_double_range_double_range),
17940         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
17941         (gst_value_subtract_int_range_int),
17942         (gst_value_subtract_double_range_double),
17943         (gst_value_subtract_double_range_double_range),
17944         (gst_value_subtract_from_list), (gst_value_subtract_list),
17945         (gst_value_can_compare), (gst_value_compare_fraction):
17946         Cleanups, add comments, remove unneeded asserts.
17947
17948 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17949
17950         * tools/gst-launch.c: (event_loop):
17951           don't convert NULL structures to strings
17952
17953 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
17954
17955         * docs/gst/gstreamer-sections.txt:
17956           made some defines private
17957         * docs/gst/tmpl/gstconfig.sgml:
17958         * docs/gst/tmpl/gstqueue.sgml:
17959         * docs/gst/tmpl/gsttaglist.sgml:
17960         * docs/gst/tmpl/gsttypes.sgml:
17961         * docs/gst/tmpl/gstutils.sgml:
17962         * docs/pwg/appendix-porting.xml:
17963         * gst/base/gstbasesink.h:
17964         * gst/base/gstbasesrc.c:
17965         * gst/base/gstbasesrc.h:
17966         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
17967         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
17968         * gst/gstelement.c: (gst_element_class_init):
17969         * gst/gstpad.c: (gst_pad_class_init):
17970         * gst/gstqueue.c: (gst_queue_class_init):
17971         * gst/gstxml.c: (gst_xml_class_init):
17972           documented all undocumented signal inline
17973         * libs/gst/controller/gst-controller.h:
17974           added padding
17975
17976 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17977
17978         * docs/pwg/appendix-porting.xml:
17979           Document _set_link_function -> _set_setcaps_function.
17980
17981 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17982
17983         * check/Makefile.am:
17984           add a .check target for running the check
17985         * check/gst-libs/controller.c: (GST_START_TEST):
17986           cosmetic fixups
17987         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17988           complete checks for gstbuffer; would be nice if I could get the
17989           gcov stuff to work so I can see if I actually completed gstbuffer.c
17990         * check/gstcheck.h:
17991           add ASSERT_BUFFER_REFCOUNT
17992
17993 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
17994
17995         * docs/gst/gstreamer-sections.txt:
17996         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
17997         * gst/gsttag.h:
17998           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
17999           spew out a warning if a tag that is already registered
18000           is re-registered, unless it is re-registered with a 
18001           different type (#308438).
18002
18003 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
18004
18005         * docs/pwg/appendix-porting.xml:
18006         * docs/pwg/building-state.xml:
18007           Add some paragraphs about state changes in 0.9 to the PWG
18008           and the porting guide, in particular about the new meaning
18009           of GST_STATE_PAUSED and how to write state change functions
18010           with concurrent access by multiple threads in mind.
18011
18012 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
18013
18014         * docs/gst/gstreamer-docs.sgml:
18015         * docs/libs/gstreamer-libs-docs.sgml:
18016           added deprecation and since indexes
18017         * libs/gst/controller/gst-controller.c:
18018         * libs/gst/controller/gst-helper.c:
18019           added since tags
18020
18021
18022 2005-08-11  Wim Taymans  <wim@fluendo.com>
18023
18024         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
18025         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
18026         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
18027         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
18028         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
18029         (gst_ghost_pad_set_target):
18030         Actually implement (re)setting the target on a ghostpad
18031         as described in the docs.
18032
18033 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
18034
18035         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
18036           Check whether GST_DEBUG_NO_COLOR environment variable is
18037           set and disable coloured debug output if that is the case.
18038
18039 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
18040
18041         * gst/base/gsttypefindhelper.c: (helper_find_peek),
18042         (gst_type_find_helper):
18043           The memory returned by gst_type_find_peek() needs to
18044           stay valid until the end of a typefind function, and
18045           typefind functions may keep results from different 
18046           offsets around, so we can't just unref the buffer from
18047           the previous _peek(), but have to save all buffers 
18048           returned by _peek() until typefinding is done and only
18049           free them then.
18050
18051 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
18052
18053         * docs/gst/gstreamer-sections.txt:
18054         * gst/gstutils.h:
18055           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
18056
18057 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18058
18059         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
18060           Fix a pretty good memleak.
18061
18062 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
18063
18064         * gst/gstiterator.h:
18065           Fix wrong include and 'make distcheck'.
18066
18067 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18068
18069         * gst/gstbin.c: (bin_bus_handler):
18070           Use gst_element_post_message() instead.
18071
18072 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
18073
18074         * gst/base/gstadapter.h:
18075         * gst/base/gstbasesink.h:
18076         * gst/base/gstbasesrc.h:
18077         * gst/base/gstbasetransform.h:
18078         * gst/base/gstcollectpads.h:
18079         * gst/base/gstpushsrc.h:
18080         * gst/gstiterator.h:
18081           Add padding to our base elements' class and instance structs and
18082           to GstIterator (you will need to rebuild all plugins and apps!)
18083
18084 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18085
18086         * gst/gstbin.c: (bin_bus_handler):
18087           Make default message forwarding from child->bus to bin->bus
18088           threadsafe and make it not emit warnings if the parent has no bus.
18089
18090 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18091
18092         * gst/gstelement.c: (activate_pads):
18093           On paused->ready, set pad->caps to NULL, as is the documented
18094           behaviour in this state change. Fixes playback of series of
18095           media files when visualization is enabled in Totem.
18096
18097 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18098
18099         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
18100           Allow NULL as filter-caps (which means "any").
18101
18102 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
18103
18104         * docs/libs/gstreamer-libs-sections.txt:
18105         * libs/gst/controller/gst-controller.c:
18106         * libs/gst/controller/gst-controller.h:
18107         * libs/gst/controller/gst-helper.c:
18108           adding more entries to the docs and fix small doc-bugs
18109
18110 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
18111
18112         * docs/gst/gstreamer-docs.sgml:
18113         * docs/gst/gstreamer-sections.txt:
18114         * docs/gst/gstreamer.types:
18115         * docs/gst/tmpl/gstbasesink.sgml:
18116         * docs/gst/tmpl/gstbasesrc.sgml:
18117         * docs/gst/tmpl/gstbasetransform.sgml:
18118         * docs/gst/tmpl/gstfakesrc.sgml:
18119         * gst/base/gstcollectpads.c:
18120         * gst/base/gstcollectpads.h:
18121         * libs/gst/controller/gst-controller.c:
18122         * libs/gst/controller/gst-controller.h:
18123         * libs/gst/controller/gst-helper.c:
18124         * libs/gst/controller/gst-interpolation.c:
18125         * libs/gst/controller/lib.c:
18126           added long/short desc for controller docs
18127           added collectpads base class docs
18128           added correct includes to base-class docs
18129
18130 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
18131
18132         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
18133         (gst_test_mono_source_set_property),
18134         (gst_test_mono_source_class_init), (GST_START_TEST),
18135         (gst_controller_suite):
18136         * docs/gst/gstreamer-docs.sgml:
18137         * docs/gst/gstreamer-sections.txt:
18138         * docs/gst/gstreamer.types:
18139         * docs/libs/gstreamer-libs-docs.sgml:
18140         * docs/libs/gstreamer-libs-sections.txt:
18141         * gst/base/gstadapter.c:
18142         * libs/gst/controller/gst-controller.c:
18143         (gst_controlled_property_new), (gst_controlled_property_free),
18144         (gst_controller_new_valist),
18145         (gst_controller_remove_properties_valist),
18146         (gst_controller_sink_values), (_gst_controller_finalize):
18147         * libs/gst/controller/gst-controller.h:
18148         * libs/gst/controller/gst-helper.c:
18149         (gst_object_control_properties), (gst_object_uncontrol_properties),
18150         (gst_object_get_controller), (gst_object_set_controller),
18151         (gst_object_sink_values), (gst_object_get_value_arrays),
18152         (gst_object_get_value_array):
18153           more tests (and fixes) for the controller
18154           more docs for the controller
18155           integrated companies docs for the adapter 
18156
18157 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18158
18159         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
18160         (GST_START_TEST), (fakesrc_suite):
18161           add tests for sizetype
18162
18163 2005-08-04  Andy Wingo  <wingo@pobox.com>
18164
18165         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
18166         fixes buffer_alloc proxying among other things.
18167
18168         * gst/base/gstbasetransform.c:
18169         * gst/base/gstbasetransform.h:
18170         Revert patch to gstbasetransform from 7-28 removing
18171         delay_configure.
18172
18173         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
18174         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
18175         Semantics changed, should return not the size of the output buffer
18176         but the byte size of a buffer with a given caps.
18177
18178         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
18179         debug object.
18180         (gst_base_transform_configure_caps): Don't set out_size here: (in,
18181         out) are not the pad caps until setcaps finishes.
18182         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
18183         not-in-place case as well. Deal with changing from in-place to
18184         not-in-place within calling pad_alloc_buffer. Still a bit
18185         concerned about the overhead here...
18186
18187 2005-08-03  Andy Wingo  <wingo@pobox.com>
18188
18189         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
18190         fixating is an error.
18191
18192 2005-08-04  Edward Hervey  <edward@fluendo.com>
18193
18194         * gst/base/gstadapter.h: 
18195         Added gst_adapter_get_type() to the header
18196
18197 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
18198
18199         * check/Makefile.am:
18200         * check/gst-libs/controller.c:
18201         * libs/gst/controller/gst-controller.c:
18202         (gst_controller_new_valist):
18203           added check test suite for the controller
18204         * gst/base/gstpushsrc.c:
18205           fixed a doc typo
18206
18207 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
18208
18209         * docs/gst/Makefile.am:
18210         * docs/gst/gstreamer-docs.sgml:
18211         * docs/gst/gstreamer-sections.txt:
18212         * docs/gst/gstreamer.types:
18213         * docs/gst/tmpl/gstfakesrc.sgml:
18214         * gst/base/README:
18215         * gst/base/gstbasesink.c:
18216         * gst/base/gstbasesink.h:
18217         * gst/base/gstbasesrc.c:
18218         * gst/base/gstbasesrc.h:
18219         * gst/base/gstbasetransform.c:
18220         * gst/base/gstpushsrc.c:
18221         * gst/base/gstpushsrc.h:
18222           add short/long description docs to base classes
18223           add pushsrc to the docs
18224           remove consolidated doc fragments
18225
18226 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
18227
18228         * configure.ac:
18229         * docs/libs/Makefile.am:
18230         * docs/libs/gstreamer-libs-docs.sgml:
18231         * docs/libs/gstreamer-libs-sections.txt:
18232         * docs/libs/gstreamer-libs.types:
18233         * examples/Makefile.am:
18234         * examples/controller/.cvsignore:
18235         * examples/controller/Makefile.am:
18236         * examples/controller/audio-example.c: (main):
18237         * libs/gst/Makefile.am:
18238         * libs/gst/controller/.cvsignore:
18239         * libs/gst/controller/Makefile.am:
18240         * libs/gst/controller/gst-controller.c:
18241         (on_object_controlled_property_changed), (gst_timed_value_compare),
18242         (gst_timed_value_find),
18243         (gst_controlled_property_set_interpolation_mode),
18244         (gst_controlled_property_new), (gst_controlled_property_free),
18245         (gst_controller_find_controlled_property),
18246         (gst_controller_new_valist), (gst_controller_new),
18247         (gst_controller_remove_properties_valist),
18248         (gst_controller_remove_properties), (gst_controller_set),
18249         (gst_controller_set_from_list), (gst_controller_unset),
18250         (gst_controller_get), (gst_controller_get_all),
18251         (gst_controller_sink_values), (gst_controller_get_value_arrays),
18252         (gst_controller_get_value_array),
18253         (gst_controller_set_interpolation_mode),
18254         (_gst_controller_finalize), (_gst_controller_init),
18255         (_gst_controller_class_init), (gst_controller_get_type):
18256         * libs/gst/controller/gst-controller.h:
18257         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
18258         (g_object_uncontrol_properties), (g_object_get_controller),
18259         (g_object_set_controller), (g_object_sink_values),
18260         (g_object_get_value_arrays), (g_object_get_value_array):
18261         * libs/gst/controller/gst-interpolation.c:
18262         (gst_controlled_property_find_timed_value_node),
18263         (interpolate_none_get), (interpolate_trigger_get),
18264         (interpolate_trigger_get_value_array):
18265         * libs/gst/controller/lib.c: (gst_controller_init):
18266         * pkgconfig/Makefile.am:
18267         * pkgconfig/gstreamer-control-uninstalled.pc.in:
18268         * pkgconfig/gstreamer-control.pc.in:
18269         * testsuite/Makefile.am:
18270         * testsuite/controller/.cvsignore:
18271         * testsuite/controller/Makefile.am:
18272         * testsuite/controller/interpolator.c: (main):
18273           added controller code
18274           removed dparam pc files
18275
18276 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
18277         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
18278         (gst_collectpads_stop):
18279           Broadcast the condition when shutting down, to make sure we wake all
18280           threads up. Shut down pads on finalize, for safety.
18281
18282 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
18283         * gst/base/gstbasetransform.c: (gst_base_transform_init),
18284         (gst_base_transform_handle_buffer),
18285         (gst_base_transform_change_state):
18286           Handle PAUSED->READY->PAUSED transition after negotiation
18287           occurred already.
18288         * gst/gstmessage.c: (gst_message_init):
18289           Extra piece of debug for new messages.
18290
18291 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
18292
18293         * configure.ac:
18294         * docs/gst/tmpl/gstbasesrc.sgml:
18295         * docs/gst/tmpl/gstelement.sgml:
18296         * docs/gst/tmpl/gstevent.sgml:
18297         * docs/gst/tmpl/gstfakesrc.sgml:
18298         * docs/gst/tmpl/gstformat.sgml:
18299         * docs/gst/tmpl/gstghostpad.sgml:
18300         * docs/gst/tmpl/gstpad.sgml:
18301         * docs/gst/tmpl/gstquery.sgml:
18302         * docs/gst/tmpl/gststructure.sgml:
18303         * docs/gst/tmpl/gsttaglist.sgml:
18304         * docs/gst/tmpl/gstvalue.sgml:
18305         * docs/libs/gstreamer-libs-docs.sgml:
18306         * docs/libs/gstreamer-libs-sections.txt:
18307         * docs/libs/gstreamer-libs.types:
18308         * libs/gst/Makefile.am:
18309         * libs/gst/control/.cvsignore:
18310         * libs/gst/control/Makefile.am:
18311         * libs/gst/control/control.c:
18312         * libs/gst/control/control.h:
18313         * libs/gst/control/dparam.c:
18314         * libs/gst/control/dparam.h:
18315         * libs/gst/control/dparam_smooth.c:
18316         * libs/gst/control/dparam_smooth.h:
18317         * libs/gst/control/dparamcommon.h:
18318         * libs/gst/control/dparammanager.c:
18319         * libs/gst/control/dparammanager.h:
18320         * libs/gst/control/dplinearinterp.c:
18321         * libs/gst/control/dplinearinterp.h:
18322         * libs/gst/control/unitconvert.c:
18323         * libs/gst/control/unitconvert.h:
18324         * testsuite/Makefile.am:
18325         * testsuite/dynparams/.cvsignore:
18326         * testsuite/dynparams/Makefile.am:
18327         * testsuite/dynparams/dparamstest.c:
18328         * tools/Makefile.am:
18329         * tools/gst-inspect.c: (print_element_info), (main):
18330         * tools/gst-xmlinspect.c: (print_element_info), (main):
18331           deactivate and remove dparams (libgstcontrol)
18332
18333 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
18334
18335         * gst/elements/gsttypefindelement.c:
18336         (gst_type_find_element_have_type), (gst_type_find_element_init),
18337         (stop_typefinding), (gst_type_find_element_handle_event),
18338         (gst_type_find_element_chain), (gst_type_find_element_getrange):
18339         * gst/elements/gsttypefindelement.h:
18340           Set caps on all outgoing buffers, not just the first one.
18341
18342 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
18343
18344         * gst/elements/gsttypefindelement.c:
18345         (gst_type_find_element_have_type),
18346         (gst_type_find_element_check_set_buffer_caps),
18347         (gst_type_find_element_init), (stop_typefinding),
18348         (gst_type_find_element_handle_event),
18349         (gst_type_find_element_chain), (gst_type_find_element_getrange):
18350         * gst/elements/gsttypefindelement.h:
18351           Set caps on first outgoing buffer when we've found the type.
18352
18353 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
18354
18355         * docs/gst/gstreamer-docs.sgml:
18356         * docs/gst/gstreamer-sections.txt:
18357         * docs/gst/tmpl/gstscheduler.sgml:
18358         * docs/gst/tmpl/gstschedulerfactory.sgml:
18359           Remove some old cruft from docs.
18360
18361 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
18362
18363         * gst/gstpad.h:
18364           Fix inline docs for GstPadLinkReturn.
18365           
18366         * gst/gststructure.c: (gst_structure_has_name):
18367         * gst/gststructure.h:
18368         * docs/gst/gstreamer-sections.txt:
18369           New API: gst_structure_has_name().
18370
18371 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
18372
18373         * configure.ac:
18374           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
18375           and _LARGEFILE_SOURCE in config.h as required. Do not 
18376           export those flags in our .pc files any longer (#142209).
18377
18378           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
18379
18380         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
18381         (gst_file_sink_do_seek), (gst_file_sink_event),
18382         (gst_file_sink_get_current_offset), (gst_file_sink_render):
18383           Redo seek/tell calls with large file support in mind; add some
18384           debugging messages; add log message that tells us when large
18385           file support is unavailable or not enabled for some reason.
18386
18387         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
18388           Add log message that tells us when large file support 
18389           is unavailable or not enabled for some reason.
18390
18391 2005-07-29  Wim Taymans  <wim@fluendo.com>
18392
18393         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18394         Added test for removing an element with ghostpad from a bin.
18395         Fixed test as current implementation does the right thing.
18396
18397         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
18398         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
18399         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
18400         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
18401         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
18402         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
18403         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
18404         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
18405         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
18406         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
18407         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
18408         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
18409         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
18410         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
18411         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
18412         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
18413         * gst/gstghostpad.h:
18414         Clean up ghostpads, remove properties for internal stuff.
18415         Make threadsafe.
18416         Fix refcounting.
18417         Prepare for switching targets, not all use cases work yet.
18418
18419 2005-07-29  Wim Taymans  <wim@fluendo.com>
18420
18421         * docs/design/part-gstghostpad.txt:
18422         Small update.
18423
18424         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18425         (gst_bin_remove_func):
18426         Unlinking pads while holding the bin LOCK is not a good
18427         idea.
18428
18429         * gst/gstpad.c: (gst_pad_class_init),
18430         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
18431         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
18432         No prob setting template after creating the pad.
18433
18434 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
18435
18436         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
18437         (gst_bus_peek), (gst_bus_source_dispatch),
18438         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
18439         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
18440           gst_bus_poll may be called from other threads. Handle
18441           this nicely by not making poll_data disappear off the
18442           stack once gst_bus_poll returns.
18443           gst_bus_peek now increments the refcount on the returned
18444           message.
18445
18446 2005-07-29  Wim Taymans  <wim@fluendo.com>
18447
18448         * docs/design/part-gstghostpad.txt:
18449         Overview of current GhostPad datastructures and use
18450         cases for changing the target.
18451
18452 2005-07-28  Wim Taymans  <wim@fluendo.com>
18453
18454         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18455         Added checks for hierarchy consistency whan adding linked
18456         elements to bins.
18457
18458         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18459         Added check to test element scheduling without bin/pipeline.
18460
18461         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18462         First add elements to bin, then link.
18463         
18464         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18465         (gst_bin_remove_func):
18466         Unlink pads from elements added/removed from bin to maintain
18467         hierarchy consistency.
18468
18469 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18470
18471         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18472         (gst_base_transform_handle_buffer):
18473         * gst/base/gstbasetransform.h:
18474           Remove broken delay_configure (fixes renegotiation of software
18475           scaling pipelines); remove some leftover printf()s.
18476
18477 2005-07-28  Wim Taymans  <wim@fluendo.com>
18478
18479         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18480         Added some more tests for wrong hierarchy
18481
18482         * docs/design/part-overview.txt:
18483         Some updates.
18484
18485         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
18486         Cleanups.
18487
18488         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
18489         (gst_element_dispose):
18490         Some more cleanups.
18491
18492         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18493         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
18494         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18495         (gst_pad_set_caps), (gst_pad_send_event):
18496         Check for correct hierarchy when linking pads. Moving to
18497         strict requirement for ghostpads when linking elements in
18498         different bins.
18499
18500         * gst/gstpad.h:
18501         Clean ups. Added WRONG_HIERARCHY return value.
18502
18503 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18504
18505         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18506           Better debug if no transform is possible.
18507
18508 2005-07-27  Wim Taymans  <wim@fluendo.com>
18509
18510         * docs/random/wtay/network-transp:
18511         Some old doc I had.
18512
18513 2005-07-27  Wim Taymans  <wim@fluendo.com>
18514
18515         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18516         (gst_dp_event_from_packet):
18517         Fix serialization of seek events.
18518
18519 2005-07-27  Wim Taymans  <wim@fluendo.com>
18520
18521         * check/gst-libs/gdp.c: (GST_START_TEST):
18522         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18523         Fix compilation and fix event serialization.
18524
18525 2005-07-27  Wim Taymans  <wim@fluendo.com>
18526
18527         * CHANGES-0.9:
18528         * docs/design/part-TODO.txt:
18529         * docs/design/part-events.txt:
18530         Some docs updates
18531
18532         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18533         (gst_base_sink_event), (gst_base_sink_do_sync),
18534         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18535         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18536         (gst_base_src_do_seek), (gst_base_src_event_handler),
18537         (gst_base_src_loop):
18538         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18539         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18540         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18541         (gst_base_transform_event), (gst_base_transform_handle_buffer),
18542         (gst_base_transform_set_passthrough),
18543         (gst_base_transform_is_passthrough):
18544         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18545         * gst/elements/gstfilesink.c: (gst_file_sink_event):
18546         Event updates.
18547
18548         * gst/gstbuffer.h:
18549         Use faster casts.
18550
18551         * gst/gstelement.c: (gst_element_seek):
18552         * gst/gstelement.h:
18553         Update gst_element_seek.
18554
18555         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
18556         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
18557         (gst_event_new_flush_start), (gst_event_new_flush_stop),
18558         (gst_event_new_eos), (gst_event_new_newsegment),
18559         (gst_event_parse_newsegment), (gst_event_new_tag),
18560         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
18561         (gst_event_parse_qos), (gst_event_new_seek),
18562         (gst_event_parse_seek), (gst_event_new_navigation):
18563         * gst/gstevent.h:
18564         Make GstEvent use GstStructure. Add parsing code, make sure the
18565         API is sufficiently generic.
18566         Mark possible directions of events and serialization.
18567
18568         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
18569         (_gst_message_copy), (gst_message_new_segment_start),
18570         (gst_message_new_segment_done), (gst_message_new_custom),
18571         (gst_message_parse_segment_start),
18572         (gst_message_parse_segment_done):
18573         Small cleanups.
18574
18575         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18576         (gst_pad_set_caps), (gst_pad_send_event):
18577         Update for new events. 
18578         Catch events sent in wrong directions.
18579
18580         * gst/gstqueue.c: (gst_queue_link_src),
18581         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18582         (gst_queue_handle_src_query):
18583         Event updates.
18584
18585         * gst/gsttag.c:
18586         * gst/gsttag.h:
18587         Remove event code from this file.
18588
18589         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18590         (gst_dp_event_from_packet):
18591         Event updates.
18592
18593 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18594
18595         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
18596         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18597         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
18598           Make debugging actually useful.
18599
18600 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18601
18602         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
18603         (gst_pad_fixate_caps):
18604           Implement default fixation once again, so that gst_pad_fixate()
18605           actually does anything at all. This probably needs to be some
18606           sort of a last resort, and use profile-based fixation first, but
18607           since that doesn't exist yet, this is the best we have. Fixes
18608           visualization in Totem.
18609
18610 2005-07-22  Wim Taymans  <wim@fluendo.com>
18611
18612         * docs/design/part-events.txt:
18613         Small update.
18614
18615         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18616         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
18617         (gst_base_sink_activate_pull):
18618         Some more comments.
18619
18620         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
18621         (gst_fake_src_create):
18622         Fix handoff marshall.
18623
18624         * gst/elements/gstidentity.c: (gst_identity_class_init),
18625         (gst_identity_transform_ip):
18626         We're a real inplace element.
18627
18628         * gst/gstbus.c: (gst_bus_post):
18629         Added some comments.
18630
18631         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
18632         * tests/muxing/case1.c: (main):
18633         * tests/sched/dynamic-pipeline.c: (main):
18634         * tests/sched/interrupt1.c: (main):
18635         * tests/sched/interrupt2.c: (main):
18636         * tests/sched/interrupt3.c: (main):
18637         * tests/sched/runxml.c: (main):
18638         * tests/sched/sched-stress.c: (main):
18639         * tests/seeking/seeking1.c: (event_received), (main):
18640         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18641         (main):
18642         * tests/threadstate/threadstate3.c: (main):
18643         * tests/threadstate/threadstate4.c: (main):
18644         * tests/threadstate/threadstate5.c: (main):
18645         Fix the tests.
18646
18647 2005-07-21  Wim Taymans  <wim@fluendo.com>
18648
18649         * docs/design/part-seeking.txt:
18650         Some small additions.
18651
18652         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18653         (gst_base_sink_get_times), (gst_base_sink_do_sync),
18654         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18655         * gst/base/gstbasesink.h:
18656         discont values are gint64, handle the math correctly.
18657
18658         * gst/base/gstbasesrc.c: (gst_base_src_loop):
18659         Make the basesrc report error if the source pad is not linked.
18660
18661         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
18662         (gst_queue_loop), (gst_queue_handle_src_query),
18663         (gst_queue_src_activate_push):
18664         Make queue collect data even if the srcpad is not linked.
18665         Start pushing out data as soon as it is linked.
18666
18667         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
18668         * gst/gstutils.h:
18669         Added gst_flow_get_name() to ease error reporting.
18670
18671 2005-07-20  Wim Taymans  <wim@fluendo.com>
18672
18673         * gst/gstmessage.c: (gst_message_new_segment_start),
18674         (gst_message_new_segment_done), (gst_message_parse_segment_start),
18675         (gst_message_parse_segment_done):
18676         * gst/gstmessage.h:
18677         Added a bunch of messages for advanced seeking.
18678
18679         * gst/parse/grammar.y:
18680         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
18681         (gst_dpman_state_changed):
18682         Fix some new-pad -> pad-added signals
18683
18684 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18685
18686         * docs/manual/appendix-porting.xml:
18687         * docs/pwg/appendix-porting.xml:
18688           Document new-pad/state-change signal renames and the FixedList
18689           type rename.
18690
18691 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18692
18693         * docs/manual/advanced-autoplugging.xml:
18694         * docs/manual/basics-helloworld.xml:
18695         * docs/manual/basics-pads.xml:
18696         * docs/random/ds/0.9-suggested-changes:
18697         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
18698         * gst/gstelement.h:
18699         * gst/gstevent.h:
18700         * gst/gstformat.h:
18701         * gst/gstquery.h:
18702         * gst/gststructure.c: (gst_structure_value_get_generic_type),
18703         (gst_structure_parse_array), (gst_structure_parse_value):
18704         * gst/gstvalue.c: (gst_type_is_fixed),
18705         (gst_value_list_prepend_value), (gst_value_list_append_value),
18706         (gst_value_list_get_size), (gst_value_list_get_value),
18707         (gst_value_transform_array_string), (gst_value_serialize_array),
18708         (gst_value_deserialize_array), (gst_value_intersect_array),
18709         (gst_value_is_fixed), (_gst_value_initialize):
18710         * gst/gstvalue.h:
18711           GstElement::new-pad -> pad-added, GstElement::state-change ->
18712           state-changed, GstValueFixedList -> GstValueArray, add format and
18713           flags as their own arguments in gst_element_seek() (should improve
18714           "bindeability"), remove function generators since they don't work
18715           under a whole bunch of compilers (they were deprecated already
18716           anyway).
18717
18718 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18719
18720         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18721         (_gst_debug_register_funcptr):
18722         * gst/gstinfo.h:
18723           Fix illegal cast on some platforms (#309253).
18724
18725 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18726
18727         * gst/gstmessage.c: (gst_message_new_custom):
18728         * gst/gstmessage.h:
18729           Add _new_custom, make _new_application a macro to _new_custom.
18730
18731 2005-07-20  Wim Taymans  <wim@fluendo.com>
18732
18733         * gst/base/gstbasesrc.c: (gst_base_src_init),
18734         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
18735         * gst/base/gstbasesrc.h:
18736         Add a gboolean to decide when to push out a discont.
18737
18738         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18739         (gst_queue_loop), (gst_queue_handle_src_query),
18740         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
18741         (gst_queue_set_property), (gst_queue_get_property):
18742         Some cleanups.
18743
18744         * tests/threadstate/threadstate1.c: (main):
18745         Make a thread test compile and run... very silly..
18746
18747
18748 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18749
18750         * docs/manual/appendix-porting.xml:
18751           Mention removal of libgstgconf-0.9.la and existence of gconf
18752           elements.
18753
18754 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18755
18756         * docs/pwg/advanced-clock.xml:
18757         * docs/pwg/appendix-porting.xml:
18758         * docs/pwg/intro-preface.xml:
18759         * docs/pwg/other-base.xml:
18760         * docs/pwg/other-manager.xml:
18761         * docs/pwg/other-nton.xml:
18762         * docs/pwg/other-ntoone.xml:
18763         * docs/pwg/other-oneton.xml:
18764         * docs/pwg/pwg.xml:
18765           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
18766           demuxer), remove n-to-n (was never written), fix some code examples
18767           and links and update the porting section to include all this.
18768
18769 2005-07-19  Wim Taymans  <wim@fluendo.com>
18770
18771         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
18772         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
18773         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
18774         (gst_queue_src_activate_push), (gst_queue_change_state),
18775         (gst_queue_get_property):
18776         * gst/gstqueue.h:
18777         Propagate GstFlowReturn more intelligently upstream and output
18778         an ERROR/EOS when streaming stopped due to fatal error.
18779
18780 2005-07-19  Wim Taymans  <wim@fluendo.com>
18781
18782         * tools/gst-launch.c: (check_intr), (event_loop), (main):
18783         Don't block forever for the state change to complete, the
18784         pipeline already did with a sensible timeout.
18785
18786 2005-07-19  Wim Taymans  <wim@fluendo.com>
18787
18788         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18789         Make sure we never call the create function is we
18790         got deactivated.
18791
18792 2005-07-19  Andy Wingo  <wingo@pobox.com>
18793
18794         * gst/parse/parse.l: Attempt to solve bug #172815.
18795
18796 2005-07-19  Wim Taymans  <wim@fluendo.com>
18797
18798         * docs/design/part-clocks.txt:
18799         * docs/design/part-events.txt:
18800         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
18801         Small docs updates.
18802         Only update the seeking values when we are not
18803         busy streaming.
18804
18805 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
18806
18807         * gst/base/gstbasesrc.c: (gst_base_src_loop):
18808           Oops, ignore the result of gst_pad_push_event here.
18809
18810 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
18811
18812         * gst/base/gstbasesrc.c: (gst_base_src_loop),
18813         (gst_base_src_activate_push):
18814           Send discont event from the loop function, as pads
18815           aren't activated yet in the activate_push handler.
18816
18817         * gst/gstbin.c: (bin_bus_handler):
18818           Don't leak element name.
18819
18820 2005-07-18  Andy Wingo  <wingo@pobox.com>
18821
18822         * configure.ac: Use AS_LIBTOOL_TAGS.
18823
18824 2005-07-18  Wim Taymans  <wim@fluendo.com>
18825
18826         * docs/gst/gstreamer.types:
18827         Remove deleted types.
18828
18829 2005-07-18  Wim Taymans  <wim@fluendo.com>
18830
18831         * check/elements/gstfakesrc.c: (GST_START_TEST):
18832         * configure.ac:
18833         * gst/Makefile.am:
18834         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
18835         (init_popt_callback):
18836         * gst/gst.h:
18837         * gst/gst_private.h:
18838         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
18839         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
18840         * gst/gstbin.h:
18841         * gst/gstbus.h:
18842         * gst/gstconfig.h.in:
18843         * gst/gstelement.c: (gst_element_class_init),
18844         (gst_element_set_base_time), (gst_element_get_base_time),
18845         (iterator_fold_with_resync), (gst_element_change_state),
18846         (gst_element_dispose), (gst_element_get_bus):
18847         * gst/gstelement.h:
18848         * gst/gstelementfactory.h:
18849         * gst/gsterror.c: (_gst_core_errors_init):
18850         * gst/gsterror.h:
18851         * gst/gstevent.h:
18852         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18853         * gst/gstindex.c:
18854         * gst/gstinfo.c: (_gst_debug_init):
18855         * gst/gstmessage.c: (_gst_message_copy):
18856         * gst/gstmessage.h:
18857         * gst/gstminiobject.h:
18858         * gst/gstobject.c:
18859         * gst/gstobject.h:
18860         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18861         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
18862         * gst/gstpad.h:
18863         * gst/gstparse.h:
18864         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
18865         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18866         (gst_pipeline_get_last_stream_time):
18867         * gst/gstpipeline.h:
18868         * gst/gstpluginfeature.h:
18869         * gst/gstquery.h:
18870         * gst/gstscheduler.c:
18871         * gst/gstscheduler.h:
18872         * gst/gststructure.h:
18873         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
18874         (gst_task_finalize), (gst_task_func), (gst_task_create),
18875         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
18876         (gst_task_stop), (gst_task_pause):
18877         * gst/gsttask.h:
18878         * gst/gsttypefind.h:
18879         * gst/gsttypes.h:
18880         * gst/registries/gstlibxmlregistry.c: (load_feature),
18881         (gst_xml_registry_load), (gst_xml_registry_save_feature):
18882         * gst/registries/gstxmlregistry.c:
18883         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
18884         * gst/schedulers/threadscheduler.c:
18885         * libs/gst/control/dparammanager.h:
18886         * tools/gst-inspect.c: (print_element_list),
18887         (print_plugin_features), (print_element_features):
18888         * tools/gst-xmlinspect.c: (print_element_list),
18889         (print_plugin_info), (main):
18890         Removed plugable schedulers.
18891         Removed Scheduler/Manager from elements.
18892         Removed gsttypes.h, rearranged includes.
18893         Removed dependency pad<->element, element<>pipeline, and
18894         various others,  fix includes.
18895         implement gst_pad_get_parent() with gst_object_get_parent()
18896         Make GstTask sefcontained.
18897         Fix _get_state() on GstBin, it did not return ASYNC with a 0
18898         timeout.
18899         Fix endless loop in iterator_fold_with_resync.
18900
18901
18902 2005-07-18  Wim Taymans  <wim@fluendo.com>
18903
18904         * gst/Makefile.am:
18905         * gst/gstarch.h:
18906         Remove old file.
18907
18908 2005-07-18  Wim Taymans  <wim@fluendo.com>
18909
18910         * gst/Makefile.am:
18911         No more cothreads.h
18912
18913 2005-07-18  Wim Taymans  <wim@fluendo.com>
18914
18915         * gst/cothreads.c:
18916         * gst/cothreads.h:
18917         Let's remove these.
18918
18919 2005-07-18  Wim Taymans  <wim@fluendo.com>
18920
18921         * docs/design/part-dynamic.txt:
18922         * docs/design/part-events.txt:
18923         * docs/design/part-seeking.txt:
18924         Some more docs in the works.
18925
18926         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18927         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
18928         (gst_base_transform_setcaps), (gst_base_transform_get_size),
18929         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
18930         (gst_base_transform_handle_buffer),
18931         (gst_base_transform_sink_activate_push),
18932         (gst_base_transform_src_activate_pull),
18933         (gst_base_transform_set_passthrough),
18934         (gst_base_transform_is_passthrough):
18935         Refcounting fixes.
18936
18937         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
18938         Cleanups.
18939
18940         * gst/gstevent.c: (gst_event_finalize):
18941         Set SRC to NULL.
18942
18943         * gst/gstutils.c: (gst_element_unlink),
18944         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
18945         (gst_pad_proxy_setcaps):
18946         * gst/gstutils.h:
18947         Add _get_parent_element() to get a pads parent as an element.
18948
18949 2005-07-18  Wim Taymans  <wim@fluendo.com>
18950
18951         * check/gst/gstbin.c: (GST_START_TEST):
18952         Remove bogus test.
18953
18954 2005-07-18  Wim Taymans  <wim@fluendo.com>
18955
18956         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
18957         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
18958         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
18959         (gst_base_sink_event), (gst_base_sink_do_sync),
18960         (gst_base_sink_chain), (gst_base_sink_loop),
18961         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
18962         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18963         Refcounting fixes.
18964         Fix logic for returning ASYNC when not prerolled.
18965
18966 2005-07-18  Wim Taymans  <wim@fluendo.com>
18967
18968         * gst/gstqueue.c: (gst_queue_handle_sink_event):
18969         Fix nasty refcount bug.
18970
18971 2005-07-16 Philippe Khalaf <burger@speedy.org>
18972
18973         * gst/elements/gstfdsrc.c:
18974         * gst/elements/gstfdsrc.h:
18975         * gst/elements/gstelements.c:
18976         * gst/elements/Makefile.am:
18977         Ported fdsrc to 0.9.
18978
18979 2005-07-16  Wim Taymans  <wim@fluendo.com>
18980
18981         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18982         (gst_base_sink_do_sync):
18983         Fix compile error.
18984
18985 2005-07-16  Wim Taymans  <wim@fluendo.com>
18986
18987         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18988         (gst_base_sink_event), (gst_base_sink_get_times),
18989         (gst_base_sink_do_sync), (gst_base_sink_change_state):
18990         * gst/base/gstbasesink.h:
18991         Store and use discont values when syncing buffers as described
18992         in design docs.
18993         
18994         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18995         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
18996         (gst_base_src_activate_push):
18997         Push discont event when starting.
18998
18999         * gst/elements/gstidentity.c: (gst_identity_transform):
19000         Small cleanups.
19001
19002         * gst/gstbin.c: (gst_bin_change_state):
19003         Small cleanups in base_time  distribution.
19004
19005         * gst/gstelement.c: (gst_element_set_base_time),
19006         (gst_element_get_base_time), (gst_element_change_state):
19007         * gst/gstelement.h:
19008         Added methods for the base_time of the element.
19009         Some MT fixes.
19010
19011         * gst/gstpipeline.c: (gst_pipeline_send_event),
19012         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
19013         (gst_pipeline_get_last_stream_time):
19014         * gst/gstpipeline.h:
19015         MT fixes.
19016         Handle seeking as described in design doc, remove stream_time
19017         hack.
19018         Cleanups clock and stream_time selection code. Added accessors
19019         for the stream_time.
19020         
19021
19022 2005-07-16  Andy Wingo  <wingo@pobox.com>
19023
19024         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
19025         (#305291).
19026
19027 2005-07-16  Wim Taymans  <wim@fluendo.com>
19028
19029         * check/gst/gstbin.c: (GST_START_TEST):
19030         Make elements silent as the deep_notify refs the
19031         parent, which might make the test fail.
19032
19033         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
19034         Don't hold the lock for too long.
19035
19036 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
19037
19038         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19039           Don't unref the caps we passed to gst_caps_make_writable() after
19040           passing them. gst_caps_make_writable() will do that for us.
19041
19042 2005-07-15  Andy Wingo  <wingo@pobox.com>
19043
19044         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
19045         (#157311).
19046
19047         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
19048         own marshalling function for the handoff signal. Properly type the
19049         buffer as a buffer. Fixes some warnings. Should do a more general
19050         solution.
19051         (gst_identity_class_init): Plug into the right marshaller.
19052
19053 2005-07-15  Wim Taymans  <wim@fluendo.com>
19054
19055         * docs/design/part-TODO.txt:
19056         * docs/design/part-clocks.txt:
19057         * docs/design/part-element-sink.txt:
19058         * docs/design/part-events.txt:
19059         * docs/design/part-gstpipeline.txt:
19060         Updated docs, mostly DISCONT related.
19061
19062 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
19063
19064         * docs/pwg/building-pads.xml:
19065           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
19066
19067 2005-07-15  Andy Wingo  <wingo@pobox.com>
19068
19069         * tools/gst-typefind.c: Update, add copyright block.
19070
19071         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
19072         Normalize and truncate caps before fixation.
19073
19074         * gst/gstcaps.h:
19075         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
19076         discards all but the first structure from its argument.
19077
19078 2005-07-15  Wim Taymans  <wim@fluendo.com>
19079
19080         * gst/base/gstbasetransform.c: (gst_base_transform_init),
19081         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
19082         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19083         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
19084         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
19085         (gst_base_transform_chain), (gst_base_transform_change_state),
19086         (gst_base_transform_set_passthrough),
19087         (gst_base_transform_is_passthrough):
19088         * gst/base/gstbasetransform.h:
19089         Make passthrough work using the bufferpools.
19090         Changed API a bit, subclasses have to write into a buffer
19091         provided by the base class.
19092         More debug info in nego functions.
19093         
19094         * gst/elements/gstidentity.c: (gst_identity_init),
19095         (gst_identity_transform):
19096         Port to new base class.
19097
19098 2005-07-15  Wim Taymans  <wim@fluendo.com>
19099
19100         * gst/gstmessage.c: (gst_message_new_state_changed):
19101         * tools/gst-launch.c: (event_loop), (main):
19102         Totally dump messages in -launch with the -m option.
19103         Fix message name for State messages,
19104
19105 2005-07-14  Wim Taymans  <wim@fluendo.com>
19106
19107         * gst/base/gstbasesrc.c: (gst_base_src_loop):
19108         Post error messages on errors.
19109
19110 2005-07-14  Wim Taymans  <wim@fluendo.com>
19111
19112         * gst/gstcaps.c: (gst_caps_do_simplify):
19113         Remove debug info.
19114
19115         * gst/gsterror.h:
19116         Define error for stream stopped.
19117
19118         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19119         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
19120         Do proper return values.
19121
19122         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
19123         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
19124         (gst_pad_get_range):
19125         Better return values.
19126
19127         * gst/gstpad.h:
19128         Reorganise return values, add macro to check for fatal errors.
19129
19130         * gst/gstqueue.c: (gst_queue_chain):
19131         Return proper GstFlowReturn values,
19132
19133 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
19134
19135         * docs/gst/gstreamer-sections.txt:
19136         * docs/gst/gstreamer.types:
19137         * docs/gst/tmpl/gst.sgml:
19138         * docs/gst/tmpl/gstbasesink.sgml:
19139         * docs/gst/tmpl/gstbasesrc.sgml:
19140         * docs/gst/tmpl/gstbasetransform.sgml:
19141         * docs/gst/tmpl/gstbin.sgml:
19142         * docs/gst/tmpl/gstbuffer.sgml:
19143         * docs/gst/tmpl/gstcaps.sgml:
19144         * docs/gst/tmpl/gstclock.sgml:
19145         * docs/gst/tmpl/gstcompat.sgml:
19146         * docs/gst/tmpl/gstconfig.sgml:
19147         * docs/gst/tmpl/gstelement.sgml:
19148         * docs/gst/tmpl/gstelementdetails.sgml:
19149         * docs/gst/tmpl/gstelementfactory.sgml:
19150         * docs/gst/tmpl/gstenumtypes.sgml:
19151         * docs/gst/tmpl/gsterror.sgml:
19152         * docs/gst/tmpl/gstevent.sgml:
19153         * docs/gst/tmpl/gstfakesink.sgml:
19154         * docs/gst/tmpl/gstfakesrc.sgml:
19155         * docs/gst/tmpl/gstfilesink.sgml:
19156         * docs/gst/tmpl/gstfilesrc.sgml:
19157         * docs/gst/tmpl/gstfilter.sgml:
19158         * docs/gst/tmpl/gstformat.sgml:
19159         * docs/gst/tmpl/gstghostpad.sgml:
19160         * docs/gst/tmpl/gstimplementsinterface.sgml:
19161         * docs/gst/tmpl/gstindex.sgml:
19162         * docs/gst/tmpl/gstindexfactory.sgml:
19163         * docs/gst/tmpl/gstinfo.sgml:
19164         * docs/gst/tmpl/gstiterator.sgml:
19165         * docs/gst/tmpl/gstmacros.sgml:
19166         * docs/gst/tmpl/gstmemchunk.sgml:
19167         * docs/gst/tmpl/gstminiobject.sgml:
19168         * docs/gst/tmpl/gstobject.sgml:
19169         * docs/gst/tmpl/gstpad.sgml:
19170         * docs/gst/tmpl/gstpadtemplate.sgml:
19171         * docs/gst/tmpl/gstparse.sgml:
19172         * docs/gst/tmpl/gstpipeline.sgml:
19173         * docs/gst/tmpl/gstplugin.sgml:
19174         * docs/gst/tmpl/gstpluginfeature.sgml:
19175         * docs/gst/tmpl/gstquery.sgml:
19176         * docs/gst/tmpl/gstqueue.sgml:
19177         * docs/gst/tmpl/gstregistry.sgml:
19178         * docs/gst/tmpl/gstregistrypool.sgml:
19179         * docs/gst/tmpl/gstscheduler.sgml:
19180         * docs/gst/tmpl/gstschedulerfactory.sgml:
19181         * docs/gst/tmpl/gststructure.sgml:
19182         * docs/gst/tmpl/gstsystemclock.sgml:
19183         * docs/gst/tmpl/gsttaglist.sgml:
19184         * docs/gst/tmpl/gsttagsetter.sgml:
19185         * docs/gst/tmpl/gsttrace.sgml:
19186         * docs/gst/tmpl/gsttrashstack.sgml:
19187         * docs/gst/tmpl/gsttypefind.sgml:
19188         * docs/gst/tmpl/gsttypefindfactory.sgml:
19189         * docs/gst/tmpl/gsttypes.sgml:
19190         * docs/gst/tmpl/gsturihandler.sgml:
19191         * docs/gst/tmpl/gsturitype.sgml:
19192         * docs/gst/tmpl/gstutils.sgml:
19193         * docs/gst/tmpl/gstvalue.sgml:
19194         * docs/gst/tmpl/gstversion.sgml:
19195         * docs/gst/tmpl/gstxml.sgml:
19196         * docs/libs/tmpl/gstcontrol.sgml:
19197         * docs/libs/tmpl/gstdataprotocol.sgml:
19198         * docs/libs/tmpl/gstdparam.sgml:
19199         * docs/libs/tmpl/gstdplinint.sgml:
19200         * docs/libs/tmpl/gstdpman.sgml:
19201         * docs/libs/tmpl/gstdpsmooth.sgml:
19202         * docs/libs/tmpl/gstgetbits.sgml:
19203         * docs/libs/tmpl/gstunitconvert.sgml:
19204         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
19205         (gst_push_src_base_init), (gst_push_src_class_init),
19206         (gst_push_src_init), (gst_push_src_create):
19207         * gst/base/gstpushsrc.h:
19208         * gst/elements/gstelements.c:
19209         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
19210         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
19211         (gst_fake_sink_init), (gst_fake_sink_set_property),
19212         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
19213         (gst_fake_sink_event), (gst_fake_sink_preroll),
19214         (gst_fake_sink_render), (gst_fake_sink_change_state):
19215         * gst/elements/gstfakesink.h:
19216         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
19217         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
19218         (gst_fake_src_base_init), (gst_fake_src_class_init),
19219         (gst_fake_src_init), (gst_fake_src_event_handler),
19220         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
19221         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
19222         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
19223         (gst_fake_src_create_buffer), (gst_fake_src_create),
19224         (gst_fake_src_start), (gst_fake_src_stop):
19225         * gst/elements/gstfakesrc.h:
19226         * gst/elements/gstfilesink.c: (_do_init),
19227         (gst_file_sink_base_init), (gst_file_sink_class_init),
19228         (gst_file_sink_init), (gst_file_sink_dispose),
19229         (gst_file_sink_set_location), (gst_file_sink_set_property),
19230         (gst_file_sink_get_property), (gst_file_sink_open_file),
19231         (gst_file_sink_close_file), (gst_file_sink_query),
19232         (gst_file_sink_event), (gst_file_sink_render),
19233         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
19234         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
19235         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
19236         * gst/elements/gstfilesink.h:
19237         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
19238         (gst_file_src_class_init), (gst_file_src_init),
19239         (gst_file_src_finalize), (gst_file_src_set_location),
19240         (gst_file_src_set_property), (gst_file_src_get_property),
19241         (gst_file_src_map_region), (gst_file_src_map_small_region),
19242         (gst_file_src_create_mmap), (gst_file_src_create_read),
19243         (gst_file_src_create), (gst_file_src_is_seekable),
19244         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
19245         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
19246         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
19247         (gst_file_src_uri_handler_init):
19248         * gst/elements/gstfilesrc.h:
19249           more autistic cleanliness in functions/names/defines
19250
19251 2005-07-13  Andy Wingo  <wingo@pobox.com>
19252
19253         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
19254         source couldn't negotiate.
19255
19256         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
19257         connections again.
19258
19259         * gst/gstutils.h:
19260         * gst/gstutils.c (gst_element_link_pads_filtered): New old
19261         function. I am channeling Hades. Put your boots on suckers!!!
19262
19263 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19264
19265         * testsuite/caps/Makefile.am:
19266         * testsuite/caps/value_compare.c:
19267         * testsuite/caps/value_intersect.c:
19268         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19269           move two testsuite apps over to the check dir
19270
19271 2005-07-12  Wim Taymans  <wim@fluendo.com>
19272
19273         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
19274         Added more debug info in the negotiate process.
19275
19276         * gst/gstmessage.h:
19277         Prepare for segment playback.
19278
19279         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
19280         Better debugging.
19281
19282         * gst/gstutils.c:
19283         Some more docs.
19284
19285         * tools/gst-launch.c: (main):
19286         NULL pipeline on errors.
19287
19288 2005-07-12  Andy Wingo  <wingo@pobox.com>
19289
19290         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
19291         not it comes from a malloc region. Make sure our copy gets freed.
19292
19293 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19294
19295         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19296         * check/gst/gstmessage.c: (GST_START_TEST):
19297         * check/gst/gststructure.c: (GST_START_TEST),
19298         (gst_structure_suite), (main):
19299           more testing
19300         * gst/gstelement.c: (gst_element_message_full):
19301           clean up GError and debug string now that they get copied
19302         * gst/gstmessage.c: (gst_message_new_error),
19303         (gst_message_new_warning), (gst_message_parse_error),
19304         (gst_message_parse_warning):
19305           use GST_TYPE_G_ERROR for structure_new, and take copies of
19306           arguments, so that we don't mess up refcounting
19307
19308 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19309
19310         * check/Makefile.am:
19311           add per-test valgrind targets
19312         * check/gst-libs/gdp.c: (GST_START_TEST),
19313         (gst_data_protocol_suite), (main):
19314           clean up
19315
19316 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19317
19318         * check/Makefile.am:
19319           instate more valgrindable tests
19320         * check/elements/gstfakesrc.c: (chain_func), (event_func),
19321         (GST_START_TEST), (fakesrc_suite):
19322         * check/gst/gstpad.c: (GST_START_TEST):
19323         * check/gst/gststructure.c: (GST_START_TEST):
19324           fix test leaks
19325         * docs/gst/tmpl/gstminiobject.sgml:
19326         * gst/gstpad.c: (gst_pad_finalize):
19327           fix the static mutex leak
19328
19329 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19330
19331         * check/Makefile.am:
19332           add two more tests for valgrinding
19333         * check/gst/gstvalue.c: (GST_START_TEST):
19334           test refcount of deserialized buffer, found a leak
19335         * docs/gst/gstreamer-docs.sgml:
19336         * docs/gst/gstreamer-sections.txt:
19337         * docs/gst/gstreamer.types:
19338         * docs/gst/tmpl/gstminiobject.sgml:
19339           add miniobject to docs
19340         * gst/gstminiobject.c:
19341           add some docs
19342         * gst/gstvalue.c: (gst_value_deserialize_buffer),
19343         (gst_string_unwrap):
19344           fix a hard-to-find invalid write for one of the tests
19345           fix a leak for deserialized buffers
19346
19347 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19348
19349         * docs/pwg/advanced-events.xml:
19350         * docs/pwg/advanced-request.xml:
19351         * docs/pwg/advanced-scheduling.xml:
19352         * docs/pwg/appendix-porting.xml:
19353         * docs/pwg/building-boiler.xml:
19354         * docs/pwg/intro-preface.xml:
19355         * docs/pwg/other-ntoone.xml:
19356           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
19357           of example code and explanation for pad activation, loop() and
19358           getrange() functions and a bit more. Remove old comments pointing
19359           to loop-functions.
19360         * examples/pwg/Makefile.am:
19361           Add loop/getrange examples.
19362
19363 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19364
19365         * configure.ac:
19366           check for valgrind binary + some fixes
19367         * check/gst.supp:
19368           valgrind suppressions for the tests
19369         * check/Makefile.am:
19370           add a valgrind: target that valgrinds the unit tests
19371         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
19372         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19373         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19374         * check/gst/gstghostpad.c:
19375           added some cleanup
19376         * check/gst/gstdata.c:
19377           removed
19378         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
19379         (thread_unref), (gst_mini_object_suite), (main):
19380           added
19381         * gst/gst.c: (gst_deinit):
19382         * gst/gst.h:
19383           add a method to clean up.
19384         * gst/gstsystemclock.c: (gst_system_clock_dispose),
19385         (gst_system_clock_obtain):
19386           allow for disposing the system clock.
19387         * tools/gst-launch.c: (main):
19388           deinit
19389
19390 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19391
19392         * docs/gst/tmpl/gstbasesrc.sgml:
19393         * docs/gst/tmpl/gstfakesrc.sgml:
19394         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19395         (gst_base_src_init), (gst_base_src_set_property),
19396         (gst_base_src_get_property), (gst_base_src_get_range),
19397         (gst_base_src_start):
19398         * gst/base/gstbasesrc.h:
19399           add num-buffers property
19400         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19401         (gst_fakesrc_init), (gst_fakesrc_set_property),
19402         (gst_fakesrc_get_property), (gst_fakesrc_create),
19403         (gst_fakesrc_start):
19404           remove num-buffers property
19405
19406 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19407
19408         * docs/gst/gstreamer-sections.txt:
19409         * docs/gst/tmpl/gstbasesink.sgml:
19410         * docs/gst/tmpl/gstbasesrc.sgml:
19411         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
19412         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
19413         (gst_base_sink_finalize), (gst_base_sink_set_clock),
19414         (gst_base_sink_set_property), (gst_base_sink_get_property),
19415         (gst_base_sink_handle_object), (gst_base_sink_event),
19416         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19417         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
19418         (gst_base_sink_loop), (gst_base_sink_deactivate),
19419         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
19420         (gst_base_sink_change_state):
19421         * gst/base/gstbasesink.h:
19422         * gst/base/gstbasesrc.h:
19423         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
19424         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
19425         (gst_filesink_init):
19426           more macro splitting
19427
19428 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19429
19430         * gst/gstelement.c: (gst_element_get_bus):
19431           add debug
19432         * tools/gst-launch.c: (check_intr), (event_loop):
19433           fix bus leaks
19434
19435 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19436
19437         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
19438           fix a caps leak
19439
19440 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19441
19442         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19443         (gst_base_src_finalize):
19444           add finalize method and clean up properly
19445         * gst/gstpipeline.c: (gst_pipeline_dispose):
19446           add debug
19447
19448 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19449
19450         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
19451         (gst_bin_suite):
19452           add more things to check
19453         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19454         * gst/gstelement.c:
19455           more debug
19456
19457 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19458
19459         * check/elements/gstfakesrc.c: (chain_func), (event_func),
19460         (GST_START_TEST), (fakesrc_suite):
19461         * check/gst-libs/gdp.c: (GST_START_TEST):
19462         * check/gst/gst.c: (GST_START_TEST):
19463         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19464         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19465         * check/gst/gstbus.c: (GST_START_TEST):
19466         * check/gst/gstcaps.c: (GST_START_TEST):
19467         * check/gst/gstdata.c: (GST_START_TEST):
19468         * check/gst/gstelement.c: (GST_START_TEST):
19469         * check/gst/gstghostpad.c: (GST_START_TEST):
19470         * check/gst/gstiterator.c: (GST_START_TEST):
19471         * check/gst/gstmessage.c: (GST_START_TEST):
19472         * check/gst/gstobject.c: (GST_START_TEST):
19473         * check/gst/gstpad.c: (GST_START_TEST):
19474         * check/gst/gststructure.c: (GST_START_TEST):
19475         * check/gst/gstsystemclock.c: (GST_START_TEST),
19476         (gst_systemclock_suite):
19477         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19478         * check/gst/gstvalue.c: (GST_START_TEST):
19479         * check/pipelines/cleanup.c: (GST_START_TEST):
19480         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19481         * check/states/sinks.c: (GST_START_TEST):
19482         * check/gstcheck.c: (gst_check_init):
19483         * check/gstcheck.h:
19484           add debugging category
19485           use GST_START_TEST now, so we add a debug line
19486
19487 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19488
19489         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
19490           add test for state change message on a bin
19491         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
19492           add another test
19493         * gst/gstbin.c: (gst_bin_init):
19494         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
19495         * gst/gstelement.c: (gst_element_post_message),
19496         (gst_element_set_state):
19497         * gst/gstelementfactory.c: (gst_element_factory_create):
19498         * gst/gstmessage.c: (gst_message_new):
19499         * gst/gstscheduler.c:
19500           various debugging additions and cleanups
19501
19502 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19503
19504         * check/Makefile.am:
19505         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
19506         (main):
19507           adding tests for elements
19508         * gst/gstelement.c: (gst_element_dispose):
19509
19510 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19511
19512         * gst/registries/gstlibxmlregistry.c: (load_feature):
19513           plug more leaks.  A simple gst_init() now is leakfree, yay.
19514
19515 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19516
19517         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
19518         (gst_xml_registry_load):
19519           plug another memleak
19520
19521 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19522
19523         * configure.ac:
19524           use GST_SET_ERROR_CFLAGS
19525         * docs/faq/cvs.xml:
19526           change to ERROR_CFLAGS
19527
19528 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19529
19530         * configure.ac:
19531           make GST_ERROR_CFLAGS overridable and re-enable Werror
19532         * docs/faq/cvs.xml:
19533           add a note about error CFLAGS
19534         * docs/gst/tmpl/gstfakesrc.sgml:
19535         * gst/elements/gstfakesrc.c:
19536           comment out some unused code
19537         * gst/gst.c: (split_and_iterate):
19538         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
19539         (load_feature):
19540           plug some memleaks
19541
19542 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19543
19544         * common/Makefile.am:
19545         * common/gtk-doc.mak:
19546         * docs/gst/Makefile.am:
19547           factor out gtk-doc.mak
19548
19549 2005-07-07  Wim Taymans  <wim@fluendo.com>
19550
19551         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
19552         (gst_thread_scheduler_dispose):
19553         Unlock the STREAM_LOCK completely.
19554
19555 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19556
19557         * check/Makefile.am:
19558         * check/elements/.cvsignore:
19559         * check/elements/gstfakesrc.c: (chain_func), (event_func),
19560         (START_TEST), (fakesrc_suite), (main):
19561         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19562         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19563         (gst_fakesrc_create), (gst_fakesrc_start):
19564         * gst/elements/gstfakesrc.h:
19565           adding a first element test
19566
19567 2005-07-07  Andy Wingo  <wingo@pobox.com>
19568
19569         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
19570         debug message.
19571
19572 2005-07-07  Wim Taymans  <wim@fluendo.com>
19573
19574         * gst/gstquery.c:
19575         * gst/gstquery.h:
19576         Remove old types
19577
19578 2005-07-07  Wim Taymans  <wim@fluendo.com>
19579
19580         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19581         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
19582         Allow subclasses to implement their own negotiation.
19583
19584 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19585
19586         * docs/design/part-gstbin.txt:
19587         * docs/design/part-gstpipeline.txt:
19588           Update design notes to reflect the movement of
19589           responsibility for bus handling from GstPipeline to
19590           GstBin
19591
19592 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19593
19594         * configure.ac:
19595           Remove unnecessary queue2/3/4 examples.
19596
19597 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19598
19599         * examples/Makefile.am:
19600         * examples/helloworld/helloworld.c: (event_loop), (main):
19601         * examples/queue/queue.c: (event_loop), (main):
19602         * examples/queue2/queue2.c: (main):
19603           Update a couple of the examples to work again.
19604
19605         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19606         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
19607          Spelling corrections and extra debug.
19608         
19609         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
19610         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
19611         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
19612         * gst/gstbin.h:
19613         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
19614         (gst_pipeline_change_state):
19615         * gst/gstpipeline.h:
19616           Move the bus handler for children to the GstBin, and create a
19617           separate bus for receiving messages from children to the one the
19618           bus sends 'upwards' on.
19619
19620 2005-07-06  Wim Taymans  <wim@fluendo.com>
19621
19622         * gst/base/README:
19623         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19624         (gst_base_sink_handle_object), (gst_base_sink_loop),
19625         (gst_base_sink_change_state):
19626         * gst/base/gstbasesink.h:
19627         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19628         (gst_base_src_init), (gst_base_src_setcaps),
19629         (gst_base_src_getcaps), (gst_base_src_loop),
19630         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
19631         (gst_base_src_start), (gst_base_src_change_state):
19632         * gst/base/gstbasesrc.h:
19633         Make basesrc negotiate.
19634         Handle the case where preroll fails in basesink.
19635         Update README.
19636
19637 2005-07-06  Wim Taymans  <wim@fluendo.com>
19638
19639         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
19640         Implement the fixate function.
19641         Clean up acceptcaps.
19642
19643 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19644
19645         * docs/pwg/building-filterfactory.xml:
19646         * docs/pwg/pwg.xml:
19647           Remove never-written filter-factory chapter; I'll add the various
19648           base classes to part 4 ("other element types") later on.
19649
19650 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19651
19652         * docs/pwg/advanced-negotiation.xml:
19653         * docs/pwg/building-boiler.xml:
19654         * docs/pwg/building-pads.xml:
19655         * docs/pwg/pwg.xml:
19656         * examples/pwg/Makefile.am:
19657           Add a chapter on caps negotiation, simplify the original code
19658           samples a bit w.r.t. caps negotiation, add link to the advanced
19659           section. Add a bunch of examples showing different use cases of
19660           different types of caps negotiation. Upstream renegotiation isn't
19661           fully documented yet since nobody knows how that works.
19662
19663 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19664
19665         * check/gst/gstpad.c:
19666         * check/gstcheck.c:
19667         * gst/gstpad.c: (gst_pad_get_internal_links_default):
19668           if pad has no parent, return NULL as list of internal links
19669
19670 2005-07-05  Andy Wingo  <wingo@pobox.com>
19671
19672         * gst/elements/gstfilesrc.c:
19673         * gst/elements/gstfakesrc.c: 
19674         * gst/base/gstpushsrc.c:
19675         * gst/base/gstbasesrc.h: 
19676         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
19677         
19678 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
19679
19680         * Makefile.am:
19681           better report generation target (lcov needs a patch)
19682
19683 2005-07-05  Andy Wingo  <wingo@pobox.com>
19684
19685         * gst/elements, testsuite: Null if we got it...
19686
19687 2005-07-05  Wim Taymans  <wim@fluendo.com>
19688
19689         * configure.ac:
19690         * libs/gst/dataprotocol/Makefile.am:
19691         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
19692         * libs/gst/dataprotocol/dataprotocol.h:
19693         * pkgconfig/Makefile.am:
19694         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
19695         * pkgconfig/gstreamer-dataprotocol.pc.in:
19696         Ported dataprotol to 0.9. 
19697         Added pkgconfig files.
19698
19699 2005-07-05  Andy Wingo  <wingo@pobox.com>
19700
19701         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
19702         Default to returning TRUE for the case when tranform_caps returns
19703         a fixed caps, like for identity or volume.
19704
19705         * check/gst/gstbus.c (pound_bus_with_messages): 
19706         * check/gst/gstmessage.c (START_TEST): 
19707         * check/pipelines/simple_launch_lines.c (got_handoff): Application
19708         message API change.
19709
19710         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
19711         logic weaks here: always run transform_caps, trying passthrough
19712         operation only if the original caps intersects with the transform.
19713
19714         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
19715         source and sink caps.
19716
19717         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
19718         Intersect the peer caps with the pad template before going into
19719         transform_caps.
19720         (gst_base_transform_transform_caps): More debugging.
19721
19722         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
19723         src argument.
19724
19725 2005-07-04  Edward Hervey  <edward@fluendo.com>
19726
19727         * gst/gstutils.c:
19728         * gst/gstutils.h:
19729         (gst_pad_add_*_probe): now returns the signal id for better wrapping
19730         in bindings.
19731
19732 2005-07-04  Andy Wingo  <wingo@pobox.com>
19733
19734         * check/gst/gstpad.c: Only set explicit caps on pads.
19735
19736 2005-07-01  Andy Wingo  <wingo@pobox.com>
19737
19738         * tests/network-clock.scm: Commentary update.
19739
19740         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
19741         Didn't really make sense, not implementable with basetransform,
19742         etc.
19743         (gst_identity_transform): Unref inbuf via make_writable. Feeble
19744         attempt at implementing the sync property, needs an unlock method.
19745
19746         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
19747         New func, by default returns the same caps (the identity
19748         transformation).
19749         (gst_base_transform_getcaps): Uses transform_caps to return
19750         something sensible.
19751         (gst_base_transform_setcaps): Complicated logic to get caps on
19752         both pads, even if they are different, and to call set_caps once
19753         for every time both pads get their caps set.
19754         (gst_base_transform_handle_buffer): Give the ref to the transform
19755         function. Allows in-place modification of the buffer.
19756
19757         * gst/base/gstbasetransform.h (transform_caps): New class method.
19758         Given caps on one side, what can I do on the other.
19759         (set_caps): Take two caps, one for each side of the element.
19760
19761         * gst/gstpad.h:
19762         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
19763         caps in place. This is safe because we can check the mutability of
19764         the caps, and a good idea because fixate functions are just called
19765         as a matter of last resort. (Not actually implemented.)
19766         (gst_pad_set_caps): If the caps we're setting is actually the same
19767         as the existing pad caps, just update the pointer without calling
19768         setcaps. Assert that caps is either NULL or fixed, as per the
19769         docs.
19770
19771         * gst/gstghostpad.c: Update for fixate changes.
19772
19773 2005-07-02  Andy Wingo  <wingo@pobox.com>
19774
19775         * gst/gstcaps.c:
19776         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
19777         two refcounts makes it immutable, which is enough. Doc more.
19778
19779 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
19780
19781         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
19782           Put the mini_object into GValue as a mini_object,
19783           not a gpointer, since that's how we declared
19784           the signal.
19785
19786 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19787
19788         * examples/pwg/Makefile.am:
19789           Fix buildbot again.
19790
19791 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19792
19793         * docs/pwg/building-testapp.xml:
19794           Add extra check.
19795         * examples/pwg/Makefile.am:
19796           Fix buildbot.
19797
19798 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19799
19800         * configure.ac:
19801         * examples/Makefile.am:
19802         * examples/pwg/Makefile.am:
19803         * examples/pwg/extract.pl:
19804           Enable building the PWG examples.
19805         * docs/pwg/advanced-interfaces.xml:
19806           Add URI interface stub.
19807         * docs/pwg/advanced-types.xml:
19808         * docs/pwg/other-autoplugger.xml:
19809         * docs/pwg/appendix-porting.xml:
19810         * docs/pwg/pwg.xml:
19811           Add porting guide (mostly stubs), remove autoplugging (see ADM).
19812         * docs/pwg/building-boiler.xml:
19813         * docs/pwg/building-chainfn.xml:
19814         * docs/pwg/building-pads.xml:
19815         * docs/pwg/building-props.xml:
19816         * docs/pwg/building-state.xml:
19817         * docs/pwg/building-testapp.xml:
19818           Update the building-*.xml parts for 0.9 changes. All examples
19819           code blocks compile in examples/pwg/*.
19820
19821 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19822
19823         * docs/manual/advanced-autoplugging.xml:
19824         * docs/manual/appendix-checklist.xml:
19825         * docs/manual/appendix-integration.xml:
19826         * docs/manual/highlevel-components.xml:
19827           Fix playbin/decodebin examples, update docs a bit, mention bus
19828           instead of signals in various places, mention kmplayer and
19829           kaffeine since they have a working GStreamer backend in the KDE
19830           section.
19831
19832 2005-06-30  Wim Taymans  <wim@fluendo.com>
19833
19834         * CHANGES-0.9:
19835         * docs/design/draft-ghostpads.txt:
19836         * docs/design/draft-push-pull.txt:
19837         * docs/design/draft-query.txt:
19838         * docs/design/part-TODO.txt:
19839         * docs/design/part-query.txt:
19840         Added CHANGES-0.9 doc, updated status of other docs.
19841         
19842         * gst/gstquery.h:
19843         Remove "hmm" macro
19844
19845 2005-06-30  Wim Taymans  <wim@fluendo.com>
19846
19847         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19848         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
19849         (gst_base_sink_change_state):
19850         * gst/base/gstbasesink.h:
19851         Some tweaks, only EOS and a buffer complete a preroll.
19852
19853 2005-06-30  Andy Wingo  <wingo@pobox.com>
19854
19855         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
19856         activate_push down to the internal pad as well.
19857
19858 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
19859
19860         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19861
19862         * gst/gsttaginterface.c:
19863           Some documentation fixes (#307394 and #307397).
19864
19865 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
19866
19867         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19868
19869         * gst/gstvalue.c: (gst_value_intersect_list):
19870           Fix memleak (#309125).
19871
19872 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19873
19874         * docs/manual/advanced-dataaccess.xml:
19875           Fix fakesrc example to compile; doesn't work, bug somewhere...?
19876         * docs/manual/basics-pads.xml:
19877           Add reference for filtered caps to above chapter.
19878
19879 2005-06-30  Wim Taymans  <wim@fluendo.com>
19880
19881         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
19882         (gst_bin_change_state):
19883         Probes are gone.
19884         Lame attempt at making the state change function a bit
19885         more readable.
19886
19887 2005-06-30  Wim Taymans  <wim@fluendo.com>
19888
19889         * docs/design/part-clocks.txt:
19890         * docs/design/part-element-sink.txt:
19891         * docs/design/part-events.txt:
19892         * docs/design/part-preroll.txt:
19893         * docs/design/part-states.txt:
19894         Some more tweeks and additions to the docs.
19895
19896 2005-06-30  Wim Taymans  <wim@fluendo.com>
19897
19898         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19899         (default_have_data), (gst_pad_class_init), (gst_pad_init),
19900         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19901         (gst_pad_check_pull_range), (gst_pad_get_range),
19902         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
19903         * gst/gstpad.h:
19904         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
19905         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19906         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19907         (gst_pad_remove_buffer_probe):
19908         Removed atomic operations, use existing LOCK.
19909         Move exception handling out of main code path.
19910
19911 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19912
19913         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19914         (silly_return_true_function), (gst_pad_class_init),
19915         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19916         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
19917         (gst_pad_send_event):
19918           Fix accumulator, add default value by using _emitv() instead
19919           of _emit() for signal emission.
19920
19921 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19922
19923         * docs/manual/advanced-dataaccess.xml:
19924         * examples/manual/Makefile.am:
19925           Add probe example.
19926         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
19927           Make work (??).
19928
19929 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
19930
19931         * gst/elements/gstfilesink.c: (gst_filesink_render):
19932           Simplify code so that we don't have to handle short
19933           writes and return GST_FLOW_ERROR if an error occured.
19934
19935 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19936
19937         * docs/gst/gstreamer-docs.sgml:
19938           Remove probes more.
19939
19940 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19941
19942         * docs/gst/gstreamer-sections.txt:
19943         * docs/gst/tmpl/gstpad.sgml:
19944         * docs/gst/tmpl/gstprobe.sgml:
19945         * gst/Makefile.am:
19946         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19947         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
19948         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
19949         (gst_pad_push_event), (gst_pad_send_event):
19950         * gst/gstpad.h:
19951         * gst/gstutils.c: (gst_pad_add_data_probe),
19952         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19953         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19954         (gst_pad_remove_buffer_probe):
19955         * gst/gstutils.h:
19956           Remove old probes, add new g-signal-based probes and some utility
19957           functions.
19958
19959 2005-06-29  Edward Hervey  <edward@fluendo.com>
19960
19961         * gst/gstelementfactory.c:
19962         * gst/gstutils.h:
19963         * gst/gstutils.c:
19964         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
19965         the definition to the header file.
19966
19967 2005-06-29  Andy Wingo  <wingo@pobox.com>
19968
19969         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
19970         plugins from the source directory.
19971
19972 2005-06-29  Wim Taymans  <wim@fluendo.com>
19973
19974         * docs/gst/tmpl/gstbuffer.sgml:
19975         * docs/gst/tmpl/gstclock.sgml:
19976         Some fixings for blantently wrong text.
19977
19978 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19979
19980         * check/Makefile.am:
19981         * gst/gst.c: (add_path_func), (init_pre):
19982         * gst/gstregistry.c: (gst_registry_add_path):
19983           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
19984           only scan the GST_PLUGIN_PATH locations, and not add
19985           system locations
19986
19987 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19988
19989         * docs/gst/gstreamer-sections.txt:
19990         * docs/gst/tmpl/gstbasesrc.sgml:
19991         * gst/gstelement.c:
19992         * gst/gstelement.h:
19993         * gst/gstevent.c:
19994         * gst/gstutils.c:
19995           doc fixes
19996
19997 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19998
19999         * docs/manual/advanced-autoplugging.xml:
20000           Fix autoplugging example.
20001
20002 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20003
20004         * docs/manual/advanced-autoplugging.xml:
20005         * docs/manual/mime-world.fig:
20006           Try to get autoplugging working, fix type detection. Fix text
20007           in hello-world image.
20008
20009 2005-06-29  Wim Taymans  <wim@fluendo.com>
20010
20011         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20012         (gst_base_sink_change_state):
20013         Small debug line.
20014
20015         * gst/gstclock.h:
20016         map SIGNAL and BROADCAST to the right function.
20017
20018         * gst/gstobject.h:
20019         Remove redundant braces.
20020
20021         * gst/gstpad.c: (gst_pad_set_caps):
20022         Don't call setcaps function when reseting caps to NULL.
20023
20024         * gst/gstsystemclock.c: (gst_system_clock_dispose),
20025         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
20026         (gst_system_clock_id_unschedule):
20027         Use BROADCAST as this is what we do.
20028
20029 2005-06-29  Wim Taymans  <wim@fluendo.com>
20030
20031         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20032         We are actually prerolling before commiting the state
20033         change. 
20034
20035 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20036
20037         * docs/manual/advanced-clocks.xml:
20038         * docs/manual/advanced-interfaces.xml:
20039         * docs/manual/advanced-metadata.xml:
20040         * docs/manual/advanced-position.xml:
20041         * docs/manual/advanced-schedulers.xml:
20042         * docs/manual/advanced-threads.xml:
20043         * docs/manual/appendix-porting.xml:
20044         * docs/manual/basics-bins.xml:
20045         * docs/manual/basics-bus.xml:
20046         * docs/manual/basics-elements.xml:
20047         * docs/manual/basics-helloworld.xml:
20048         * docs/manual/basics-pads.xml:
20049         * docs/manual/highlevel-components.xml:
20050         * docs/manual/manual.xml:
20051         * docs/manual/thread.fig:
20052           Update (until threads/scheduling) Application Development Manual;
20053           remove GstThread, add GstBus, add simple porting checklist, add
20054           documentation for tag writing, clocks, make all examples until this
20055           part compile and run.
20056         * examples/manual/Makefile.am:
20057           Update from changes to Application Development Manual; add bus
20058           example, remove thread example.
20059
20060 2005-06-28  Wim Taymans  <wim@fluendo.com>
20061
20062         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
20063         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
20064         (gst_bus_source_dispatch):
20065         Add debugging messages.
20066         Make internal methods static.
20067         Handle the case where the bus is flushed in the handler.
20068         
20069         * gst/gstelement.c: (gst_element_get_bus):
20070         Fix refcount in _get_bus();
20071
20072         * gst/gstpipeline.c: (gst_pipeline_change_state),
20073         (gst_pipeline_get_clock_func):
20074         Clock refcounting fixes.
20075         Handle the case where preroll timed out more gracefully.
20076         
20077         * gst/gstsystemclock.c: (gst_system_clock_dispose):
20078         Clean up the internal thread in dispose. This is needed
20079         for subclasses that actually get disposed.
20080         
20081         * gst/schedulers/threadscheduler.c:
20082         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
20083         (gst_thread_scheduler_dispose):
20084         Free thread pool in dispose.
20085
20086 2005-06-28  Andy Wingo  <wingo@pobox.com>
20087
20088         * tests/network-clock-utils.scm (debug, print-event): New utils.
20089
20090         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
20091         (*packet-loss*): Unified loss probability.
20092         (network-time): Report out-of-band events.
20093
20094         * tests/plot-data: Add support for out-of-band events. Hack it
20095         into this script instead of passing it down the pipe; should fix
20096         this later.
20097
20098 2005-06-28  Wim Taymans  <wim@fluendo.com>
20099
20100         * docs/gst/gstreamer.types:
20101         * docs/gst/tmpl/gstbasesrc.sgml:
20102         * docs/gst/tmpl/gstpad.sgml:
20103         Docs fixes.
20104
20105 2005-06-28  Wim Taymans  <wim@fluendo.com>
20106
20107         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20108         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
20109         (gst_proxy_pad_do_fixatecaps):
20110         Correctly proxy the check_pull_range function.
20111
20112 2005-06-28  Andy Wingo  <wingo@pobox.com>
20113
20114         * tests/network-clock.scm: Removed need for slib.
20115         
20116 2005-06-28  Wim Taymans  <wim@fluendo.com>
20117
20118         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
20119         (gst_basesink_preroll_queue_flush):
20120         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
20121         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
20122         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20123         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
20124         (gst_proxy_pad_set_property):
20125         * gst/gstpad.c:
20126         * gst/gstpad.h:
20127         * gst/gstqueue.c: (gst_queue_init):
20128         The deprecated pad loop function is removed now.
20129
20130 2005-06-28  Andy Wingo  <wingo@pobox.com>
20131
20132         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
20133         New parameters, simulate network packet loss.
20134
20135         * tests/network-clock-utils.scm: Initialize the RNG.
20136
20137 2005-06-28  Wim Taymans  <wim@fluendo.com>
20138
20139         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
20140         (gst_basesink_event), (gst_basesink_deactivate):
20141         Flushing the preroll queue always needs to unlock the waiters.
20142
20143 2005-06-28  Edward Hervey  <edward@fluendo.com>
20144
20145         * gst/gstpipeline.c: (gst_pipeline_send_event): 
20146         Wheen a seek was successful on a pipeline, set the stream_time to the
20147         seek offset in order to have a synchronized stream_time.
20148
20149 2005-06-28  Wim Taymans  <wim@fluendo.com>
20150
20151         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20152         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
20153         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
20154         (gst_proxy_pad_do_fixatecaps):
20155         Call wrapper function instead of just calling the function
20156         pointers. This takes care of any locking and whatmore.
20157
20158 2005-06-28  Wim Taymans  <wim@fluendo.com>
20159
20160         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
20161         (gst_pad_pull_range):
20162         * gst/gstpad.h:
20163         CONNECTED -> LINKED.
20164
20165 2005-06-28  Andy Wingo  <wingo@pobox.com>
20166
20167         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
20168         source-munging commit!!!
20169
20170         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
20171         (gst_object_sink): Take gpointer arguments, not GstObject --
20172         avoids casts. Like GLib.
20173
20174         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
20175         activate.
20176
20177 2005-06-27  Andy Wingo  <wingo@pobox.com>
20178
20179         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
20180         remaining buffer.
20181
20182         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
20183         returns a sorted copy of the trace list.
20184         (gst_alloc_trace_print_live): New API, only prints traces with
20185         live objects. Sort the list.
20186         (gst_alloc_trace_print_all): Sort the list.
20187         (gst_alloc_trace_print): Align columns.
20188
20189         * gst/elements/gstttypefindelement.c:
20190         * gst/elements/gsttee.c:
20191         * gst/base/gstbasesrc.c:
20192         * gst/base/gstbasesink.c:
20193         * gst/base/gstbasetransform.c:
20194         * gst/gstqueue.c: Adapt for pad activation changes.
20195
20196         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
20197         sched.
20198         (gst_pipeline_dispose): Drop ref on sched.
20199
20200         * gst/gstpad.c (gst_pad_init): Set the default activate func.
20201         (gst_pad_activate_default): Push mode by default.
20202         (pre_activate_switch, post_activate_switch): New stubs, things to
20203         do before and after switching activation modes on pads.
20204         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
20205         the pad's activate function to choose which mode to activate.
20206         Shortcut on deactivation and call the right function directly.
20207         (gst_pad_activate_pull): New API, (de)activates a pad in pull
20208         mode.
20209         (gst_pad_activate_push): New API, same for push mode.
20210         (gst_pad_set_activate_function) 
20211         (gst_pad_set_activatepull_function) 
20212         (gst_pad_set_activatepush_function): Setters for new API.
20213
20214         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
20215         Trace all miniobjects.
20216         (gst_mini_object_make_writable): Unref the arg if we copy, like
20217         gst_caps_make_writable.
20218
20219         * gst/gstmessage.c (_gst_message_initialize): No trace init.
20220
20221         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
20222         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
20223         Adapt for new pad API.
20224
20225         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
20226
20227         * gst/gstelement.h:
20228         * gst/gstelement.c (gst_element_iterate_src_pads) 
20229         (gst_element_iterate_sink_pads): New API functions.
20230         
20231         * gst/gstelement.c (iterator_fold_with_resync): New utility,
20232         should fold into gstiterator.c in some form.
20233         (gst_element_pads_activate): Simplified via use of fold and
20234         delegation of decisions to gstpad->activate.
20235
20236         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
20237         help in debugging.
20238
20239         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
20240         class once in init, like gstmessage. Didn't run into this issue
20241         but it seems correct. Don't initialize a trace, gstminiobject does
20242         that.
20243
20244         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
20245         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
20246         to the bus.
20247         (assert_live_count): New util function, uses alloc traces to check
20248         cleanup.
20249
20250         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
20251         To be modified when unlink drops the internal pad.
20252
20253 2005-06-27  Wim Taymans  <wim@fluendo.com>
20254
20255         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
20256         (gst_bin_change_state):
20257         Cleanup the get_state() function a little, make sure it
20258         iterates the same set of elements.
20259         Added stub iterate_state_order().
20260
20261 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20262
20263         * docs/gst/gstreamer-docs.sgml:
20264         * docs/gst/gstreamer-sections.txt:
20265         * docs/gst/gstreamer.types:
20266         * docs/gst/tmpl/gstbasesink.sgml:
20267         * docs/gst/tmpl/gstbasesrc.sgml:
20268         * docs/gst/tmpl/gstbasetransform.sgml:
20269         * docs/gst/tmpl/gstelement.sgml:
20270         * docs/gst/tmpl/gstiterator.sgml:
20271         * gst/base/gstbasesrc.c:
20272         * gst/base/gstbasesrc.h:
20273         * gst/base/gstbasetransform.h:
20274         * gst/gstelement.c:
20275         * gst/gstiterator.h:
20276           adding basetransform and iterator docs
20277
20278 2005-06-27  Andy Wingo  <wingo@pobox.com>
20279
20280         * docs/design/part-activation.txt: Notes on how activation should
20281         work -- not quite implemented yet.
20282
20283 2005-06-25  Wim Taymans  <wim@fluendo.com>
20284
20285         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
20286         At least get the chain function correct, needs more
20287         fixing.
20288
20289 2005-06-25  Wim Taymans  <wim@fluendo.com>
20290
20291         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20292         (gst_basesink_handle_object), (gst_basesink_event),
20293         (gst_basesink_do_sync), (gst_basesink_handle_event),
20294         (gst_basesink_change_state):
20295         * gst/gsttask.h:
20296         Right, two problems here: ghostpads don't take locks and
20297         glib _rec_mutex_lock_full() with depth==0 still locks.
20298         Catch illegal locking and g_warn them.
20299
20300 2005-06-25  Wim Taymans  <wim@fluendo.com>
20301
20302         * check/states/sinks.c: (START_TEST), (gst_object_suite):
20303         Have to check for completion now...
20304
20305 2005-06-25  Wim Taymans  <wim@fluendo.com>
20306
20307         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20308         (gst_basesink_handle_object), (gst_basesink_event),
20309         (gst_basesink_do_sync), (gst_basesink_handle_event),
20310         (gst_basesink_change_state):
20311         * gst/gstpad.h:
20312         Unlock STREAM_LOCK whatever the recursion was.
20313
20314 2005-06-25  Wim Taymans  <wim@fluendo.com>
20315
20316         * gst/base/gstbasesink.c: (gst_basesink_set_property),
20317         (gst_basesink_preroll_queue_empty),
20318         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
20319         (gst_basesink_event), (gst_basesink_do_sync),
20320         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
20321         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
20322         (gst_basesink_change_state):
20323         Reworked the base sink, handle event and buffer serialisation
20324         correctly and removed possible deadlock.
20325         Handle EOS correctly.
20326
20327 2005-06-25  Wim Taymans  <wim@fluendo.com>
20328
20329         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
20330         (gst_pipeline_change_state):
20331         * tools/gst-launch.c: (check_intr), (event_loop), (main):
20332         Allow elements to post EOS in the state change function.
20333         Fix up -launch, make it exit the poll loop when the
20334         pipeline actually changed state.
20335         Fix up warning parsing in -launch.
20336
20337 2005-06-25  Wim Taymans  <wim@fluendo.com>
20338
20339         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
20340         (gst_tee_sink_activate):
20341         Core takes STREAM_LOCK for us now.
20342
20343 2005-06-25  Wim Taymans  <wim@fluendo.com>
20344
20345         * gst/gstelement.c: (gst_element_get_state_func),
20346         (gst_element_set_state):
20347         * gst/gstelement.h:
20348         * gst/gstmessage.c: (gst_message_parse_error),
20349         (gst_message_parse_warning):
20350         Keep track of current target state while performing a state
20351         change so that subclasses can do something interesting.
20352         Fix parsing of warning/error messages when GError is NULL.
20353
20354 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20355
20356         * docs/gst/Makefile.am:
20357         * docs/gst/gstreamer-docs.sgml:
20358         * docs/gst/gstreamer-sections.txt:
20359         * docs/gst/gstreamer.types:
20360         * docs/gst/tmpl/gstbasesink.sgml:
20361         * docs/gst/tmpl/gstbasesrc.sgml:
20362         * docs/gst/tmpl/gstbin.sgml:
20363         * docs/gst/tmpl/gstcompat.sgml:
20364         * docs/gst/tmpl/gstfakesink.sgml:
20365         * docs/gst/tmpl/gstfakesrc.sgml:
20366         * docs/gst/tmpl/gstfilesink.sgml:
20367         * docs/gst/tmpl/gstfilesrc.sgml:
20368         * docs/gst/tmpl/gstindex.sgml:
20369         * docs/manual/appendix-quotes.xml:
20370         * gst/base/gstbasesrc.h:
20371         * gst/elements/gstfakesrc.h:
20372         * gst/gstmessage.h:
20373           start pulling in base classes and elements in our docs
20374
20375 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
20376
20377         * docs/gst/Makefile.am:
20378         * docs/libs/Makefile.am:
20379           fixed make distcheck with gtk-doc 1.3
20380
20381 2005-06-23  Wim Taymans  <wim@fluendo.com>
20382
20383         * gst/gstelement.c: (gst_element_get_state_func),
20384         (gst_element_set_state), (gst_element_change_state):
20385         When the state did not change, also report NO_PREROLL
20386         when it matters.
20387
20388 2005-06-23  Wim Taymans  <wim@fluendo.com>
20389
20390         * gst/gstpad.c: (gst_pad_event_default):
20391         * gst/gstqueue.c: (gst_queue_loop):
20392         No unsafe task pausing please.
20393
20394 2005-06-23  Wim Taymans  <wim@fluendo.com>
20395
20396         * gst/schedulers/threadscheduler.c:
20397         (gst_thread_scheduler_task_start),
20398         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
20399         Ref the task before pushing it on the threadpool. This
20400         makes sure that we have a ref when the threadfunction is
20401         actually called.
20402
20403 2005-06-23  Andy Wingo  <wingo@pobox.com>
20404
20405         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
20406         offset is greater than the file's size.
20407
20408         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
20409         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
20410         * gst/gstobject.c (gst_object_class_init): Make the class lock
20411         recursive. Wim won't let me drop deep_notify. Decodebin works
20412         again, whoopdy doo.
20413
20414         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
20415         internal pad, and hacks accordingly. Doesn't do it on the target
20416         pad because we change its caps. Probably catches all cases of
20417         interest tho.
20418         (gst_ghost_pad_set_property): Connect to notify::caps as
20419         appropritate.
20420
20421         * tests/network-clock.scm (plot-simulation): Pipe data to the
20422         elite python skript.
20423
20424         * tests/network-clock-utils.scm (define-parameter): New macro,
20425         defines a parameter that can be set via the command line.
20426         (set-parameter!, parse-parameter-arguments): Command line args
20427         parser.
20428
20429         * tests/plot-data: Simple matplotlib-based plotter, takes input on
20430         stdin.
20431
20432 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
20433
20434         * gst/elements/gsttypefindelement.c:
20435         (gst_type_find_element_handle_event):
20436           Don't restart typefinding on a discont.
20437         * gst/gstelement.c: (gst_element_set_state):
20438           Debug spelling fix.
20439         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
20440           Allow changing mode of an active pad.
20441           Debug output fixes.
20442         * gst/registries/gstlibxmlregistry.c: (load_feature):
20443           Don't cast a static pad template to a normal pad template.
20444
20445 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20446
20447         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20448         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20449           remove gst_strtoll completely, since it didn't actually do
20450           anything more than what g_ascii_strtoull already does.
20451           check for range errors when deserializing
20452           do a cast for the unsigned cases; but further fixing needs
20453           a decision on what the interpretation of "(int)" and
20454           deserialization should be for values that fall outside the
20455           type's boundaries (ie, refuse, or interpret as casting)
20456
20457 2005-06-23  Wim Taymans  <wim@fluendo.com>
20458
20459         * check/Makefile.am:
20460         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
20461         * docs/design/part-live-source.txt:
20462         * docs/design/part-states.txt:
20463         * gst/base/gstbasesrc.c: (gst_basesrc_init),
20464         (gst_basesrc_set_live), (gst_basesrc_is_live),
20465         (gst_basesrc_get_range), (gst_basesrc_activate),
20466         (gst_basesrc_change_state):
20467         * gst/base/gstbasesrc.h:
20468         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20469         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
20470         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
20471         * gst/gstelement.c: (gst_element_get_state_func),
20472         (gst_element_set_state):
20473         * gst/gstelement.h:
20474         * gst/gsttypes.h:
20475         * tools/gst-launch.c: (event_loop), (main):
20476         Added support for live sources and other elements that
20477         cannot do preroll.
20478         Updated design docs, added live-source design doc.
20479         Implemented live source functionality in basesrc
20480         Fix error condition in _bin_get_state()
20481         Implement live source handling in -launch.
20482         Added check for live sources.
20483         Fixed case in GstBin where elements were changed state
20484         multiple times.
20485
20486
20487 2005-06-23  Andy Wingo  <wingo@pobox.com>
20488
20489         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
20490         borken refcounting.
20491
20492         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
20493         gst_caps_replace takes care of this for us.
20494
20495         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
20496         gst_pad_set_caps on the target, not just its setcaps() function.
20497
20498         * tests/network-clock.scm: 
20499         * tests/network-clock-utils.scm: A network clock simulator.
20500         Something of an algorithmic testbed before doing something in C.
20501
20502 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20503
20504         * check/Makefile.am:
20505         * check/gst/capslist.h:
20506           copy over from 0.8, and add two with bitmasks specified with
20507           (int) 0xFF...
20508         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20509           add test to parse everything from capslist.h
20510         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
20511         (main):
20512           add test for structure deserialization
20513         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20514           add tests for deserialization of strings to int types
20515         * gst/gststructure.c: (gst_structure_nth_field_name):
20516         * gst/gststructure.h:
20517           add a way to get the name of a field referenced by index
20518         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20519           instead of checking if the resulting long long lies between
20520           min and max, we check if the long long would fit into
20521           a number of bytes for the final type.
20522           This fixes cases where a string represents 2^32 - 1, which
20523           when cast to int would be the (valid) -1, but is bigger than
20524           G_MAXINT
20525
20526 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20527
20528         * gst/parse/grammar.y:
20529           add a log line for type deserialization
20530
20531 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20532
20533         * check/gst/gstvalue.c: (START_TEST):
20534         * gst/gstvalue.c: (gst_value_deserialize):
20535           return long long, not int, so gint64 deserialization actually
20536           works.  Is there any flag that makes the compiler check this ?
20537           Fixes #308559
20538
20539 2005-06-22  Wim Taymans  <wim@fluendo.com>
20540
20541         * gst/gstbuffer.h:
20542         Added convenience macros for setting buffers in GValue.
20543
20544 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20545
20546         * check/gst/.cvsignore:
20547         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20548           add a test deserializing int64, and comment part out because
20549           it fails, yay !
20550
20551 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20552
20553         * check/Makefile.am:
20554         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
20555         * testsuite/Makefile.am:
20556         * testsuite/caps/Makefile.am:
20557         * testsuite/caps/value_serialize.c:
20558         * testsuite/test_gst_init.c:
20559           move a value_serialize test over
20560
20561 2005-06-20  Wim Taymans  <wim@fluendo.com>
20562
20563         * gst/gstpad.c:
20564         Small doc updates.
20565         
20566         * gst/gstvalue.c: (gst_value_compare_buffer),
20567         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
20568         (gst_value_compare_flags), (gst_value_serialize_flags),
20569         (gst_value_deserialize_flags), (_gst_value_initialize):
20570         Fix serialisation of buffers, they are not boxed types anymore
20571
20572 2005-06-20  Wim Taymans  <wim@fluendo.com>
20573
20574         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20575         Testcase to show error in buffer-on-caps serialisation.
20576
20577 2005-06-20  Andy Wingo  <wingo@pobox.com>
20578
20579         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
20580         will be adding to later.
20581
20582         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
20583         if its socks fill with rocks.
20584         (gst_system_clock_obtain): Set the name on object construction.
20585         Avoid double-checked locking.
20586
20587 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
20588
20589         * gst/gsturi.c: (gst_element_make_from_uri):
20590           Fix potential endless loop.
20591
20592 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20593
20594         * check/Makefile.am:
20595           add gsttag
20596         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
20597         (main):
20598           move over from testsuite dir and clean up
20599         * configure.ac:
20600         * gst/gsttag.c:
20601         * testsuite/Makefile.am:
20602         * testsuite/tags/.cvsignore:
20603         * testsuite/tags/Makefile.am:
20604         * testsuite/tags/merge.c:
20605           remove testsuite/tags
20606
20607 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20608
20609         * docs/gst/gstreamer-sections.txt:
20610         * docs/gst/tmpl/gstenumtypes.sgml:
20611         * win32/gstenumtypes.c:
20612           clean up documentation build a little
20613
20614 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20615
20616         * check/gstcheck.h:
20617           add macros for checking refcounts on objects and caps
20618         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
20619           add some more unit tests
20620         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20621         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
20622           fix leaked refcounts (I hope :)) so unittest works
20623         * gst/gstpad.h:
20624           whitespace removal
20625
20626 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20627
20628         * configure.ac: back to HEAD
20629
20630 === release 0.9.1 ===
20631
20632 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20633
20634         * NEWS:
20635         * RELEASE:
20636           updated
20637
20638 2005-06-17  Andy Wingo  <wingo@pobox.com>
20639
20640         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
20641         assert; it's always possible that the pad gets deactivated in
20642         between the checks in gstpad.c and the implementation. Rely on
20643         finish_preroll() to return a FLUSHING or similar instead of on the
20644         assert.
20645         
20646         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
20647         clock and post an EOS message if we come out of finish_preroll in
20648         the playing state.
20649
20650 2005-06-16  David Schleef  <ds@schleef.org>
20651
20652         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20653         (gst_capsfilter_set_property): Allow NULL as possible value
20654         for filter_caps property, indicating GST_CAPS_ANY.
20655
20656 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20657
20658         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
20659           fix debug output
20660         * gst/schedulers/Makefile.am:
20661           use libgst prefix
20662         * gstreamer.spec.in:
20663           fix spec for it
20664
20665 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20666
20667         * gstreamer.spec.in:
20668           clean up
20669
20670 2005-06-08  Andy Wingo  <wingo@pobox.com>
20671
20672         * gst/gstutils.c: RPAD fixes all around.
20673         (gst_element_link_pads): Refcounting fixes.
20674
20675         * tools/gst-inspect.c:
20676         * tools/gst-xmlinspect.c:
20677         * parse/grammar.y:
20678         * gst/base/gsttypefindhelper.c:
20679         * gst/base/gstbasesink.c:
20680         * gst/gstqueue.c: RPAD fixes.
20681
20682         * gst/gstghostpad.h:
20683         * gst/gstghostpad.c: New ghost pad implementation as full proxy
20684         pads. The tricky thing is they provide both source and sink
20685         interfaces, since they proxy the internal pad for the external
20686         pad, and vice versa. Implement with lower-level ProxyPad objects,
20687         with the interior proxy pad as a child of the exterior ghost pad.
20688         Should write a doc on this.
20689         
20690         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
20691         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
20692         gst_object API.
20693         
20694         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
20695         pads are real pads. No ghost pads in this file. Not documenting
20696         the myriad s/RPAD/PAD/ and REALIZE fixes.
20697         (gst_pad_class_init): Add properties for "direction" and
20698         "template". Both are construct-only, so they can't change during
20699         the life of the pad. Fixes properly deriving from GstPad.
20700         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
20701         derived objects, just set properties when creating the objects via
20702         g_object_new.
20703         (gst_pad_get_parent): Implement as a function, return NULL if the
20704         parent is not an element.
20705         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
20706         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
20707         
20708         * gst/gstobject.c (gst_object_class_init): Make name a construct
20709         property. Don't set it in the object init.
20710
20711         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
20712         with UNKNOWN direction.
20713         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
20714         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
20715         (gst_element_remove_pad): Remove ghost-pad special cases.
20716         (gst_element_pads_activate): Remove rpad cruft.
20717
20718         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
20719         catch the pad's-parent-not-an-element case.
20720
20721         * gst/gst.h: Include gstghostpad.h.
20722
20723         * gst/gst.c (init_post): No more real, ghost pads.
20724
20725         * gst/Makefile.am: Add gstghostpad.[ch].
20726
20727         * check/Makefile.am:
20728         * check/gst/gstbin.c:
20729         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
20730         into a bin creates ghost pads, and that the refcounts are right.
20731         Partly moved from gstbin.c.
20732
20733 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20734
20735         * check/gst-libs/.cvsignore:
20736         * check/gst/.cvsignore:
20737         * check/pipelines/.cvsignore:
20738           ignore more
20739         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
20740         (START_TEST), (cleanup_suite), (main):
20741           add some tests related to cleanup after running pipelines
20742
20743 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20744
20745         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
20746           add a testsuite for GstBuffer
20747
20748 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20749
20750         * gst/gstminiobject.h:
20751           add defines for accessing the refcount
20752
20753 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
20754
20755         * Makefile.am: added support for html unit test coverage reports
20756
20757 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
20758
20759         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
20760           Free existing caps if the capsfilter changes. Add a FIXME about
20761           setting those caps on the pads.
20762
20763         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
20764           Before adding a ghost pad to a parent bin, check that there isn't
20765           already one for the element on the bin. Prevents infinite recursion
20766           when using decodebin in parse pipelines. Andy says he'll rewrite the
20767           way this works anyway, so ignore the hack.
20768
20769 2005-06-02  Andy Wingo  <wingo@pobox.com>
20770
20771         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
20772         file size, pass it on to the type find helper.
20773
20774         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
20775         segment_start and segment_end properly according to the seek
20776         method. Segment_end is still a bit flaky because offset can be
20777         negative for CUR and END cases, but it takes -1 as an "unset"
20778         value.
20779
20780 2005-06-02  Wim Taymans  <wim@fluendo.com>
20781
20782         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
20783         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
20784         (gst_basesink_activate):
20785         * gst/base/gstbasesink.h:
20786         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20787         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20788         (gst_pad_query), (gst_pad_start_task):
20789         * gst/gstpad.h:
20790         * gst/gstqueue.c: (gst_queue_bufferalloc),
20791         (gst_queue_handle_sink_event), (gst_queue_chain):
20792         Bufferalloc: return GstFlowReturn to more accuratly report
20793         why allocation failed.
20794
20795 2005-06-02  Wim Taymans  <wim@fluendo.com>
20796
20797         * gst/gstpipeline.c: (gst_pipeline_send_event):
20798         Take snapshot of state without blocking.
20799
20800 2005-06-02  Wim Taymans  <wim@fluendo.com>
20801
20802         * docs/design/part-TODO.txt:
20803         * docs/design/part-caps.txt:
20804         * docs/design/part-clocks.txt:
20805         * docs/design/part-negotiation.txt:
20806         * docs/design/part-preroll.txt:
20807         Small doc updates 
20808
20809 2005-05-30  Wim Taymans  <wim@fluendo.com>
20810
20811         * gst/elements/gstidentity.c: (gst_identity_event),
20812         (gst_identity_transform), (gst_identity_get_property):
20813         Protect last_message property as it is accessed from
20814         multiple threads.
20815
20816 2005-05-30  Wim Taymans  <wim@fluendo.com>
20817
20818         * gst/gstelement.c: (gst_element_init),
20819         (gst_element_pads_activate), (gst_element_change_state):
20820         Slicker pad activation code.
20821
20822 2005-05-30  Wim Taymans  <wim@fluendo.com>
20823
20824         * gst/Makefile.am:
20825         * gst/gstelement.h:
20826         * gst/gstelementfactory.h:
20827         * gst/gsttypes.h:
20828         Move elementfactory methods to separate .h file.
20829
20830 2005-05-30  Wim Taymans  <wim@fluendo.com>
20831
20832         * docs/design/part-overview.txt:
20833         * gst/gstsystemclock.h:
20834         Small typo fixes, doc updates.
20835
20836 2005-05-30  Wim Taymans  <wim@fluendo.com>
20837
20838         * gst/gst.c: (gst_init_get_popt_table), (init_post),
20839         (init_popt_callback):
20840         Remove cpu-opt flag.
20841
20842 2005-05-30  Wim Taymans  <wim@fluendo.com>
20843
20844         * gst/gstbuffer.c: (gst_subbuffer_finalize),
20845         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
20846         * gst/gstbuffer.h:
20847         Avoid typechecking in places where not needed.
20848         Added accessor for malloc_data.
20849
20850 2005-05-30  Wim Taymans  <wim@fluendo.com>
20851
20852         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
20853         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
20854         (gst_pad_configure_sink), (gst_pad_configure_src),
20855         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
20856         (gst_pad_start_task):
20857         Propagate errors from _set_caps() in configure_src/sink
20858         functions instead of returning TRUE.
20859         FLUSH events can travel up and downstream
20860
20861
20862 2005-05-30  Wim Taymans  <wim@fluendo.com>
20863
20864         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20865         (gst_basesink_activate):
20866         Handle EOS in preroll.
20867
20868 2005-05-30  Wim Taymans  <wim@fluendo.com>
20869
20870         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20871         (gst_queue_loop), (gst_queue_handle_src_event):
20872         Remove old pieces of code
20873         Flushing the queue in an upstream event is a very bad idea.
20874
20875 2005-05-26  Andy Wingo  <wingo@pobox.com>
20876
20877         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
20878         gst_value_set_mini_object so as to add a ref on the object (which
20879         will be removed when the value is unset).
20880
20881         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
20882         arg type in ::handoff.
20883
20884         * gst/gstelement.c (gst_element_change_state): Also deactivate
20885         pads in READY->NULL, just in case the element didn't make it to
20886         PAUSED. Wingo tested, Wim approved.
20887
20888 2005-05-26  Wim Taymans  <wim@fluendo.com>
20889
20890         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20891         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20892         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
20893         A flushing pad cannot be used to alloc_buffer from.
20894
20895 2005-05-26  Wim Taymans  <wim@fluendo.com>
20896
20897         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
20898         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
20899         (gst_bus_source_dispatch), (gst_bus_source_finalize),
20900         (gst_bus_create_watch), (gst_bus_add_watch_full):
20901         * gst/gstbus.h:
20902         Implement a real GSource and use g_main_context_wakeup() to
20903         signal new messages instead of the socketpair.
20904
20905 2005-05-25  Wim Taymans  <wim@fluendo.com>
20906
20907         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
20908         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
20909         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20910         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20911         (gst_pad_send_event), (gst_pad_start_task):
20912         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
20913         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20914         (gst_queue_sink_activate), (gst_queue_src_activate),
20915         (gst_queue_change_state):
20916         * gst/gstqueue.h:
20917         Fix state changes for non sinks. We now change sinks, then elements
20918         with unconnected srcpads, then the rest.
20919         More efficient queue unlocking in flush and state changes.
20920         Set the pad activate mode even if it does not have an activate
20921         function.
20922
20923 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20924
20925         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
20926           Don't go in pull mode for non-seekable sources.
20927         * gst/elements/gsttypefindelement.h:
20928         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
20929         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
20930         (free_entry), (stop_typefinding),
20931         (gst_type_find_element_handle_event), (find_peek),
20932         (gst_type_find_element_chain), (do_pull_typefind),
20933         (gst_type_find_element_change_state):
20934           Allow typefinding (w/o seeking) in push-mode, simplified version
20935           of what was in 0.8.
20936         * gst/gstutils.c: (gst_buffer_join):
20937         * gst/gstutils.h:
20938           gst_buffer_join() from 0.8.
20939
20940 2005-05-25  Wim Taymans  <wim@fluendo.com>
20941
20942         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20943         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20944         (gst_pad_send_event), (gst_pad_start_task):
20945         Disable attempt at mode switching until it is figured out.
20946
20947 2005-05-25  Wim Taymans  <wim@fluendo.com>
20948
20949         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
20950         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20951         (gst_basesink_finish_preroll), (gst_basesink_chain),
20952         (gst_basesink_loop), (gst_basesink_activate),
20953         (gst_basesink_change_state):
20954         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
20955         (gst_basesrc_get_range), (gst_basesrc_loop),
20956         (gst_basesrc_activate):
20957         * gst/elements/gsttee.c: (gst_tee_sink_activate):
20958         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
20959         (gst_real_pad_init), (gst_real_pad_set_property),
20960         (gst_real_pad_get_property), (gst_pad_set_active),
20961         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
20962         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
20963         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
20964         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
20965         (gst_pad_event_default_dispatch), (gst_pad_event_default),
20966         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
20967         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
20968         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
20969         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
20970         (gst_pad_stop_task):
20971         * gst/gstpad.h:
20972         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20973         (gst_queue_loop), (gst_queue_src_activate):
20974         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
20975         (gst_task_get_state):
20976         * gst/gsttask.h:
20977         * gst/schedulers/threadscheduler.c:
20978         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
20979         Implement gst_pad_pause/start/stop_task(), take STREAM lock
20980         in task function.
20981         Remove ACTIVE pad flag, use FLUSHING everywhere
20982         Added _pad_chain(), _pad_get_range() to call chain/getrange 
20983         functions.
20984         Add locks around IS_FLUSHING when reading.
20985         Take STREAM lock in chain(), get_range() functions so plugins
20986         don't need to take it anymore.
20987         
20988
20989
20990 2005-05-25  Wim Taymans  <wim@fluendo.com>
20991
20992         * tools/gst-launch.c: (event_loop):
20993         Unref message after using its contents instead of
20994         before.
20995
20996 2005-05-24  Wim Taymans  <wim@fluendo.com>
20997
20998         * docs/design/draft-ghostpads.txt:
20999         * docs/design/draft-push-pull.txt:
21000         * docs/design/draft-query.txt:
21001         * docs/design/part-overview.txt:
21002         Docs updates, added general overview doc.
21003
21004 2005-05-21  David Schleef  <ds@schleef.org>
21005
21006         * docs/gst/tmpl/old/GstBin.sgml:
21007         * docs/gst/tmpl/old/GstBuffer.sgml:
21008         * docs/gst/tmpl/old/GstCaps.sgml:
21009         * docs/gst/tmpl/old/GstClock.sgml:
21010         * docs/gst/tmpl/old/GstCompat.sgml:
21011         * docs/gst/tmpl/old/GstData.sgml:
21012         * docs/gst/tmpl/old/GstElement.sgml:
21013         * docs/gst/tmpl/old/GstEvent.sgml:
21014         * docs/gst/tmpl/old/GstIndex.sgml:
21015         * docs/gst/tmpl/old/GstStructure.sgml:
21016         * docs/gst/tmpl/old/GstTag.sgml:
21017         * docs/gst/tmpl/old/cothreads.sgml:
21018         * docs/gst/tmpl/old/cothreads_compat.sgml:
21019         * docs/gst/tmpl/old/gettext.sgml:
21020         * docs/gst/tmpl/old/gobject2gtk.sgml:
21021         * docs/gst/tmpl/old/grammar.tab.sgml:
21022         * docs/gst/tmpl/old/gst-i18n-app.sgml:
21023         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
21024         * docs/gst/tmpl/old/gst_private.sgml:
21025         * docs/gst/tmpl/old/gstaggregator.sgml:
21026         * docs/gst/tmpl/old/gstarch.sgml:
21027         * docs/gst/tmpl/old/gstatomic_impl.sgml:
21028         * docs/gst/tmpl/old/gstbufferstore.sgml:
21029         * docs/gst/tmpl/old/gstdata_private.sgml:
21030         * docs/gst/tmpl/old/gstdisksink.sgml:
21031         * docs/gst/tmpl/old/gstdisksrc.sgml:
21032         * docs/gst/tmpl/old/gstelementfactory.sgml:
21033         * docs/gst/tmpl/old/gstextratypes.sgml:
21034         * docs/gst/tmpl/old/gstfakesink.sgml:
21035         * docs/gst/tmpl/old/gstfakesrc.sgml:
21036         * docs/gst/tmpl/old/gstfdsink.sgml:
21037         * docs/gst/tmpl/old/gstfdsrc.sgml:
21038         * docs/gst/tmpl/old/gstfilesink.sgml:
21039         * docs/gst/tmpl/old/gstfilesrc.sgml:
21040         * docs/gst/tmpl/old/gsthttpsrc.sgml:
21041         * docs/gst/tmpl/old/gstidentity.sgml:
21042         * docs/gst/tmpl/old/gstindexfactory.sgml:
21043         * docs/gst/tmpl/old/gstmarshal.sgml:
21044         * docs/gst/tmpl/old/gstmd5sink.sgml:
21045         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
21046         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
21047         * docs/gst/tmpl/old/gstpadtemplate.sgml:
21048         * docs/gst/tmpl/old/gstpipefilter.sgml:
21049         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
21050         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
21051         * docs/gst/tmpl/old/gstshaper.sgml:
21052         * docs/gst/tmpl/old/gstspider.sgml:
21053         * docs/gst/tmpl/old/gstspideridentity.sgml:
21054         * docs/gst/tmpl/old/gststatistics.sgml:
21055         * docs/gst/tmpl/old/gsttee.sgml:
21056         * docs/gst/tmpl/old/gsttimecache.sgml:
21057         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
21058         * docs/gst/tmpl/old/gstxmlregistry.sgml:
21059         * docs/gst/tmpl/old/gthread-cothreads.sgml:
21060         * docs/gst/tmpl/old/types.sgml:
21061           I didn't intend to add these or check them in.
21062
21063 2005-05-19  David Schleef  <ds@schleef.org>
21064
21065         * configure.ac: Use -no-common everywhere.  In a sane world, it
21066           would be the default in libtool, because without it, you can't
21067           build DLLs on Windows.
21068         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
21069         * docs/gst/gstreamer-sections.txt:
21070         * docs/gst/tmpl/gstcpu.sgml:
21071         * docs/gst/tmpl/gstdata.sgml:
21072         * docs/gst/tmpl/gstthread.sgml:
21073
21074 2005-05-19  David Schleef  <ds@schleef.org>
21075
21076         * gst/gstminiobject.c: (gst_value_set_mini_object),
21077         (gst_value_take_mini_object), (gst_value_get_mini_object):
21078         * gst/gstminiobject.h: Add GValue set/get functions.
21079
21080 2005-05-19  Wim Taymans  <wim@fluendo.com>
21081
21082         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
21083         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
21084         (gst_subbuffer_init), (gst_buffer_is_span_fast):
21085         * gst/gstbuffer.h:
21086         * gst/gstbus.c: (gst_bus_post):
21087         * gst/gstelement.c: (gst_element_get_random_pad):
21088         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
21089         Make subbufer unref the parent in finalize.
21090         some more debugging info.
21091
21092
21093 2005-05-19  Wim Taymans  <wim@fluendo.com>
21094
21095         * gst/base/gstbasesink.c: (gst_basesink_class_init),
21096         (gst_basesink_init), (gst_basesink_finalize),
21097         (gst_basesink_activate), (gst_basesink_change_state):
21098         Don't free preroll queue too early.
21099
21100 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21101
21102         * gst/Makefile.am:
21103         * gst/ROADMAP:
21104           Hi, I'm outdated. Please shoot me.
21105
21106 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21107
21108         * gst/gstpipeline.c: (gst_pipeline_send_event):
21109           Do not access variables after they have been deleted.
21110
21111 2005-05-19  Wim Taymans  <wim@fluendo.com>
21112
21113         * tools/gst-inspect.c: (print_plugin_features):
21114         A plugin feature does unfortunatly not use the
21115         object name yet...
21116
21117 2005-05-18  Wim Taymans  <wim@fluendo.com>
21118
21119         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
21120         Port _span() functions to new subbuffers.
21121
21122 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21123
21124         * gst/gstbin.c: (gst_bin_add_func):
21125           Fix clock settery in bins when adding kids after the clock has
21126           been selected.
21127
21128 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21129
21130         * gst/elements/gstidentity.c: (gst_identity_class_init):
21131           Workaround until signals support GstMiniObject.
21132
21133 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
21134
21135         * gst/gstbuffer.c:
21136         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
21137
21138 2005-05-18  Wim Taymans  <wim@fluendo.com>
21139
21140         * gst/base/Makefile.am:
21141         * gst/base/gstadapter.c: (gst_adapter_base_init),
21142         (gst_adapter_class_init), (gst_adapter_init),
21143         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
21144         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
21145         (gst_adapter_flush), (gst_adapter_available),
21146         (gst_adapter_available_fast):
21147         * gst/base/gstadapter.h:
21148         Ported and added adapter to the base classes.
21149
21150 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
21151
21152         * gst/gst.c:
21153         * gst/gstmessage.c:
21154           Make sure the class is reffed/unreffed once before threads can be
21155           used.  Fixes #304551.
21156
21157 2005-05-17  Wim Taymans  <wim@fluendo.com>
21158
21159         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
21160         (gst_basesink_chain_unlocked), (gst_basesink_activate):
21161         * gst/gstminiobject.c: (gst_mini_object_get_type),
21162         (gst_mini_object_free):
21163         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
21164         (gst_pad_push), (gst_pad_push_event):
21165         * gst/gstqueue.c: (gst_queue_change_state):
21166         Don't queue buffers in basesink when we are flushing.
21167         Unref buffer when flushing in basesink.
21168         Flush queue when going to READY
21169         Unref buffer when _push() returns an error.
21170         Don't free MiniObject instance when refcount is incremented
21171         in _finalize() so that we can recover objects.
21172
21173 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
21174
21175         * docs/manual/advanced-schedulers.xml:
21176         * docs/manual/appendix-checklist.xml:
21177         * docs/pwg/advanced-clock.xml:
21178         * docs/pwg/advanced-interfaces.xml:
21179         * docs/pwg/advanced-request.xml:
21180         * docs/pwg/advanced-types.xml:
21181         * docs/pwg/intro-preface.xml:
21182         * examples/plugins/example.c: (gst_example_get_type),
21183         (gst_example_class_init), (gst_example_chain),
21184         (gst_example_set_property), (gst_example_get_property),
21185         (gst_example_change_state), (plugin_init):
21186         * examples/plugins/example.h:
21187           small doc fixes
21188
21189 2005-05-17  Wim Taymans  <wim@fluendo.com>
21190
21191         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
21192         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
21193         * gst/gstqueue.c: (gst_queue_change_state):
21194         Clear queue when going to READY.
21195         Remove IN_SETCAPS flag too.
21196
21197 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
21198
21199         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
21200           Remove implicit cast from gboolean to GstElementStateReturn;
21201           make sure we still return failure in paused => ready case if
21202           the parent class fails to change state and our own stop 
21203           vfunc succeeds.
21204
21205 2005-05-17  Wim Taymans  <wim@fluendo.com>
21206
21207         * tools/gst-launch.c: (event_loop):
21208         Message was unreffed too soon.
21209
21210 2005-05-16  Andy Wingo  <wingo@pobox.com>
21211
21212         * gst/gstbin.c (sink_iterator_filter): Err... um...
21213
21214         * check/gst/gstbin.c (test_ghost_pads): New test for the
21215         ghosting-if-elements-not-in-same-bin behavior.
21216
21217 2005-05-16  David Schleef  <ds@schleef.org>
21218
21219         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
21220         accessing refcount directly.
21221
21222 2005-05-15  David Schleef  <ds@schleef.org>
21223
21224         * check/Makefile.am: remove GstData checks
21225         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
21226         * gst/Makefile.am: add miniobject, remove data
21227         * gst/gst.h: add miniobject, remove data
21228         * gst/gstdata.c: remove
21229         * gst/gstdata.h: remove
21230         * gst/gstdata_private.h: remove
21231         * gst/gsttypes.h: remove GstEvent and GstMessage
21232         * gst/gstelement.c: (gst_element_post_message): fix for API changes
21233         * gst/gstmarshal.list: change BOXED -> OBJECT
21234
21235         Implement GstMiniObject.
21236         * gst/gstminiobject.c:
21237         * gst/gstminiobject.h:
21238
21239         Modify to be subclasses of GstMiniObject.
21240         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
21241         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
21242         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
21243         (gst_subbuffer_get_type), (gst_subbuffer_init),
21244         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
21245         (gst_buffer_span):
21246         * gst/gstbuffer.h:
21247         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
21248         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
21249         (_gst_event_copy), (gst_event_new):
21250         * gst/gstevent.h:
21251         * gst/gstmessage.c: (_gst_message_initialize),
21252         (gst_message_get_type), (gst_message_class_init),
21253         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
21254         (gst_message_new), (gst_message_new_error),
21255         (gst_message_new_warning), (gst_message_new_tag),
21256         (gst_message_new_state_changed), (gst_message_new_application):
21257         * gst/gstmessage.h:
21258         * gst/gstprobe.c: (gst_probe_perform),
21259         (gst_probe_dispatcher_dispatch):
21260         * gst/gstprobe.h:
21261         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
21262         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
21263         (_gst_query_copy), (gst_query_new):
21264
21265         Update elements for GstData -> GstMiniObject changes
21266         * gst/gstquery.h:
21267         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
21268         (gst_queue_chain), (gst_queue_loop):
21269         * gst/elements/gstbufferstore.c:
21270         (gst_buffer_store_add_buffer_func),
21271         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
21272         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21273         (gst_fakesink_render):
21274         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
21275         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
21276         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
21277         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
21278         (gst_filesrc_create_read):
21279         * gst/elements/gstidentity.c: (gst_identity_class_init):
21280         * gst/elements/gsttypefindelement.c:
21281         (gst_type_find_element_src_event), (free_entry_buffers),
21282         (gst_type_find_element_handle_event):
21283         * libs/gst/dataprotocol/dataprotocol.c:
21284         (gst_dp_header_from_buffer):
21285         * libs/gst/dataprotocol/dataprotocol.h:
21286         * libs/gst/dataprotocol/dp-private.h:
21287
21288 2005-05-15  David Schleef  <ds@schleef.org>
21289
21290         * gst/elements/gstelements.c: Don't include headers that were
21291         just removed.
21292
21293 2005-05-15  David Schleef  <ds@schleef.org>
21294
21295         * gst/elements/Makefile.am: Remove some elements that don't
21296         need to be in the core (or even exist at all).
21297         * gst/elements/gstaggregator.c:
21298         * gst/elements/gstaggregator.h:
21299         * gst/elements/gstmd5sink.c:
21300         * gst/elements/gstmd5sink.h:
21301         * gst/elements/gstmultifilesrc.c:
21302         * gst/elements/gstmultifilesrc.h:
21303         * gst/elements/gstpipefilter.c:
21304         * gst/elements/gstpipefilter.h:
21305         * gst/elements/gstshaper.c:
21306         * gst/elements/gstshaper.h:
21307         * gst/elements/gststatistics.c:
21308         * gst/elements/gststatistics.h:
21309         * po/POTFILES.in: Remove above files.
21310
21311 2005-05-14  Andy Wingo  <wingo@pobox.com>
21312
21313         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
21314         so as to get the refs right.
21315         (sink_iterator_filter): New function, wraps bin_element_is_sink,
21316         unreffing objects that don't pass the filter.
21317
21318         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
21319         gst_element_set_bus.
21320         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
21321         normal cases, this will destroy the bus.
21322
21323         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
21324         object.
21325
21326         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
21327         has no sinks.
21328
21329 2005-05-13  Andy Wingo  <wingo@pobox.com>
21330
21331         * gst/gstutils.c (gst_element_link_pads): Instead of calling
21332         gst_pad_link, call pad_link_maybe_ghosting,
21333         (pad_link_maybe_ghosting): Links pads, making sure that the
21334         elements being linked are in the same bin.
21335         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
21336         Helpers for pad_link_maybe_ghosting.
21337
21338 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
21339
21340         * configure.ac:
21341           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
21342
21343 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
21344
21345         * docs/design/part-element-source.txt:
21346           Mention GstPushSrc
21347
21348 2005-05-12  Wim Taymans  <wim@fluendo.com>
21349
21350         * gst/base/gstbasesink.c: (gst_basesink_init),
21351         (gst_basesink_activate):
21352         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
21353         (gst_basesrc_is_seekable):
21354         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21355         (bin_element_is_sink), (gst_bin_change_state):
21356         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21357         * gst/gstelement.h:
21358         Identify sinks by their flag to avoid overly complicated
21359         checks (fow now).
21360         Do state changes even for elements not reachable from the
21361         sinks.
21362         BaseSink is a sink now :)
21363         Some more debugging info in the basesrc.
21364
21365
21366 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21367
21368         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
21369           Implement _query on a bin, similar to _send_event.
21370
21371 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
21372
21373         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
21374           Discont event offset format should be GST_FORMAT_BYTES,
21375           not GST_FORMAT_TIME.
21376
21377 2005-05-12  Wim Taymans  <wim@fluendo.com>
21378
21379         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
21380         Same fix as Ronald's but without the signal. 
21381
21382 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21383
21384         * gst/gstutils.c: (gst_element_query_position):
21385           No, an element is not a pad.
21386
21387 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21388
21389         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
21390         (gst_bin_get_state):
21391           If a child is removed from a bin while we remove the child from
21392           the bin and while we're retrieving its state, signal this to the
21393           get_state function so we abort the wait (instead of waiting for
21394           a timeout) and can immediately re-iterate over all other elements.
21395
21396 2005-05-12  Wim Taymans  <wim@fluendo.com>
21397
21398         * gst/base/Makefile.am:
21399         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
21400         (gst_basesrc_start):
21401         * gst/base/gstbasesrc.h:
21402         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
21403         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
21404         (gst_pushsrc_init), (gst_pushsrc_create):
21405         * gst/base/gstpushsrc.h:
21406         Added is_seekable to BaseSrc
21407         Added simple PushSrc.
21408
21409 2005-05-11  Wim Taymans  <wim@fluendo.com>
21410
21411         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21412         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21413         (gst_element_link_pads), (gst_element_query_position),
21414         (gst_element_query_convert), (intersect_caps_func),
21415         (gst_pad_query_position), (gst_pad_query_convert):
21416         Fix refcounting in utils function.
21417         No point in trying to activate a pad when it's added, it could
21418         be added from the state change function and then we deadlock, the
21419         element has to decide what to do.
21420
21421 2005-05-10  Andy Wingo  <wingo@pobox.com>
21422
21423         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
21424         *all* the arguments.
21425
21426         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
21427         stream lock if it's a FLUSH_DONE; normal flushes don't get the
21428         lock (according to the docs -- if this is wrong change the docs).
21429
21430         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
21431         flush messages in the NULL state.
21432
21433         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
21434         message immediately and return.
21435         (gst_bus_set_flushing): New function. If a bus is flushing, it
21436         flushes out any queued messages and immediately unrefs new
21437         messages. This is so when an element goes to NULL, all of the
21438         unhandled messages coming from it can be freed, and their
21439         references to the element dropped. In other words: message source
21440         ref considered harmful :P
21441
21442         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
21443         we're finished with it.
21444
21445         * gst/gstmessage.c (gst_message_new_state_changed): 
21446
21447 2005-05-10  Wim Taymans  <wim@fluendo.com>
21448
21449         * gst/gstvalue.c: (gst_value_compare_flags),
21450         (gst_value_serialize_flags), (gst_value_deserialize_flags),
21451         (_gst_value_initialize):
21452         Added flags serialize/deserialize/compare code.
21453
21454 2005-05-09  Andy Wingo  <wingo@pobox.com>
21455
21456         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
21457         Intersect the peer's caps with our caps.
21458
21459 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21460
21461         * gst/base/gsttypefindhelper.c: (helper_find_peek):
21462         * gst/elements/gsttypefindelement.c: (find_peek):
21463           Handle negative offsets better. Fixes decodebin.
21464
21465 2005-05-09  Wim Taymans  <wim@fluendo.com>
21466
21467         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
21468         (gst_base_transform_event):
21469         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
21470         Implement accept_caps.
21471         Fix silly lock/unlock mismatch in base class.
21472
21473 2005-05-09  Wim Taymans  <wim@fluendo.com>
21474
21475         * docs/design/draft-push-pull.txt:
21476         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
21477         * gst/elements/gstfilesink.c: (gst_filesink_init),
21478         (gst_filesink_query):
21479         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
21480         (gst_type_find_handle_src_query), (find_element_get_length):
21481         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
21482         * gst/gstelement.h:
21483         * gst/gstmessage.c:
21484         * gst/gstmessage.h:
21485         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
21486         (gst_real_pad_get_caps_unlocked),
21487         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
21488         (gst_pad_event_default_dispatch), (gst_pad_event_default),
21489         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
21490         (gst_real_pad_dispose), (gst_real_pad_finalize),
21491         (gst_pad_load_and_link), (gst_pad_save_thyself),
21492         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
21493         (gst_pad_check_pull_range), (gst_pad_pull_range),
21494         (gst_pad_template_get_type), (gst_pad_template_class_init),
21495         (gst_pad_template_init), (gst_pad_template_dispose),
21496         (name_is_valid), (gst_static_pad_template_get),
21497         (gst_pad_template_new), (gst_static_pad_template_get_caps),
21498         (gst_pad_template_get_caps), (gst_pad_set_element_private),
21499         (gst_pad_get_element_private), (gst_pad_start_task),
21500         (gst_pad_pause_task), (gst_pad_stop_task),
21501         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
21502         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
21503         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
21504         (gst_ghost_pad_new):
21505         * gst/gstpad.h:
21506         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
21507         (gst_query_new_position), (gst_query_set_position),
21508         (gst_query_parse_position), (gst_query_new_convert),
21509         (gst_query_set_convert), (gst_query_parse_convert):
21510         * gst/gstquery.h:
21511         * gst/gstqueryutils.c:
21512         * gst/gstqueryutils.h:
21513         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21514         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21515         (gst_queue_handle_src_query):
21516         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21517         (gst_element_query_position), (gst_element_query_convert),
21518         (intersect_caps_func), (gst_pad_query_position),
21519         (gst_pad_query_convert):
21520         * gst/gstutils.h:
21521         * tools/gst-inspect.c: (print_pad_info):
21522         * tools/gst-xmlinspect.c: (print_element_info):
21523         Remove old query functions. Ported old code.
21524         Added position/convert helper functions to gstutils.
21525         Reordered gstpad.c code, grouping relevant things.
21526         Remove gst_message_new(), always need to speficy a specific
21527         message.
21528
21529
21530 2005-05-09  Andy Wingo  <wingo@pobox.com>
21531
21532         * gst/gstiterator.h: Add some includes.
21533
21534         * gst/gstqueryutils.h: Include more headers.
21535
21536         * gst/gstpad.h:
21537         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
21538         some uses of gst_pad_query.
21539
21540         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
21541         NULL out parameters.
21542         (gst_query_new_position): New proc, allocates a new position
21543         query.
21544
21545         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
21546         gstqueryutils.c to the build.
21547
21548         * gst/gststructure.c (gst_structure_set_valist): Implement with
21549         the generic G_VALUE_COLLECT.
21550         
21551 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
21552
21553         * gst/Makefile.am: (gst_headers):
21554         Added gstqueryutils.h to the list of headers to install, that was
21555         a 'nachty' move wingo :)
21556
21557 2005-05-06  Andy Wingo  <wingo@pobox.com>
21558
21559         * gst/gstquery.h
21560         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
21561         GstData, init a memchunk.
21562         (standard_definitions): Add a few query types, deprecate a few.
21563         (gst_query_get_type): New proc.
21564         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
21565         implementation.
21566         (gst_query_new_application, gst_query_get_structure): New public
21567         procs.
21568
21569         * docs/design/draft-query.txt: Removed LINKS from the query types,
21570         because all the rest can be dispatched to other pads -- seemed
21571         ugly to have a query that couldn't be dispatched. internal_links
21572         is fine as a pad method.
21573
21574         * gst/gstpad.h: Add query2 as a pad method, add the new functions
21575         in gstpad.c, but maintain binary compatibility for the moment.
21576         Will fix before 0.9 is out.
21577
21578         * gst/gstqueryutils.c: 
21579         * gst/gstqueryutils.h: New files, implement 3 methods for each
21580         query type: parse_query, parse_response, and set. Probably need an
21581         allocator as well.
21582
21583         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
21584
21585         * gst/elements/gstfilesink.c (gst_filesink_query2):
21586         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
21587         query_types, and formats methods.
21588
21589         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
21590         (gst_pad_set_query2_function): New functions.
21591         (gst_real_pad_init): Set query2_default as the default query2
21592         function. Basically just dispatches to internally linked pads.
21593
21594         Needs review!
21595         
21596         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
21597         without using the atomic operations. Only one thread can possibly
21598         be accessing the data at this point. Changed so as to avoid
21599         gst_atomic operations.
21600
21601 2005-05-06  Wim Taymans  <wim@fluendo.com>
21602
21603         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
21604         Also set caps if we use the fallback buffer alloc.
21605
21606 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
21607
21608         * docs/gst/Makefile.am:
21609         * docs/gst/gstreamer-docs.sgml:
21610         * docs/gst/gstreamer-sections.txt:
21611         * docs/gst/tmpl/gstatomic.sgml:
21612         * docs/gst/tmpl/gstmemchunk.sgml:
21613         * testsuite/elements/struct_i386.h:
21614         * win32/GStreamer.vcproj:
21615         * win32/Makefile:
21616           Purge GstAtomic stuff from docs and win32 makefiles as well
21617
21618 2005-05-06  Wim Taymans  <wim@fluendo.com>
21619
21620         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
21621         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
21622         * gst/gstpad.c: (gst_pad_peer_get_caps):
21623         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21624         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21625         (gst_queue_src_activate), (gst_queue_change_state):
21626         * gst/gstqueue.h:
21627         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21628         (intersect_caps_func):
21629         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
21630         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
21631         Some fixes for the peer_get_caps() change.
21632
21633 2005-05-06  Wim Taymans  <wim@fluendo.com>
21634
21635         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21636         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
21637         (gst_basesink_activate):
21638         Actually do something with error codes returned from the push
21639         functions.
21640
21641 2005-05-06  Wim Taymans  <wim@fluendo.com>
21642
21643         * docs/design/part-element-sink.txt:
21644         * docs/design/part-element-source.txt:
21645         * gst/base/gstbasesink.c: (gst_basesink_class_init),
21646         (gst_basesink_event), (gst_basesink_activate):
21647         * gst/base/gstbasesink.h:
21648         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
21649         (gst_basesrc_activate):
21650         * gst/base/gstbasesrc.h:
21651         * gst/gstelement.c: (gst_element_pads_activate):
21652         Some more documentation.
21653         Fixed scheduling decision in _pads_activate().
21654
21655 2005-05-05  Andy Wingo  <wingo@pobox.com>
21656
21657         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
21658         the test suite.
21659
21660 2005-05-05  Wim Taymans  <wim@fluendo.com>
21661
21662         * gst/base/Makefile.am:
21663         * gst/base/gstbasesink.h:
21664         * gst/base/gstbasesrc.c: (gst_basesrc_init),
21665         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
21666         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
21667         (gst_collectpads_class_init), (gst_collectpads_init),
21668         (gst_collectpads_finalize), (gst_collectpads_new),
21669         (gst_collectpads_set_function), (gst_collectpads_add_pad),
21670         (find_pad), (gst_collectpads_remove_pad),
21671         (gst_collectpads_is_active), (gst_collectpads_collect),
21672         (gst_collectpads_collect_range), (gst_collectpads_start),
21673         (gst_collectpads_stop), (gst_collectpads_peek),
21674         (gst_collectpads_pop), (gst_collectpads_available),
21675         (gst_collectpads_read), (gst_collectpads_flush),
21676         (gst_collectpads_chain):
21677         * gst/base/gstcollectpads.h:
21678         * gst/elements/Makefile.am:
21679         * gst/elements/gstelements.c:
21680         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21681         (gst_fakesink_get_times), (gst_fakesink_event),
21682         (gst_fakesink_preroll), (gst_fakesink_render):
21683         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
21684         (gst_filesink_init), (gst_filesink_set_location),
21685         (gst_filesink_open_file), (gst_filesink_close_file),
21686         (gst_filesink_pad_query), (gst_filesink_event),
21687         (gst_filesink_render), (gst_filesink_change_state):
21688         * gst/elements/gstfilesink.h:
21689         Added object to help in making collect pad based elements.
21690         Ported filesink.
21691         Make event function in sink baseclass return gboolean.
21692
21693 2005-05-05  Wim Taymans  <wim@fluendo.com>
21694
21695         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
21696         (gst_bin_get_by_name):
21697         * gst/gstbuffer.h:
21698         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
21699         (gst_clock_finalize):
21700         * gst/gstdata.c: (gst_data_replace):
21701         * gst/gstdata.h:
21702         * gst/gstelement.c: (gst_element_request_pad),
21703         (gst_element_pads_activate):
21704         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
21705         (gst_object_unref):
21706         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21707         (gst_pad_set_checkgetrange_function),
21708         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
21709         (gst_pad_check_pull_range), (gst_pad_pull_range),
21710         (gst_static_pad_template_get_caps), (gst_pad_start_task),
21711         (gst_pad_pause_task), (gst_pad_stop_task):
21712         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21713         (gst_element_request_pad), (gst_pad_proxy_getcaps):
21714         Fix name lookup in GstBin.
21715         Added _data_replace() function and _buffer_replace()
21716         Use finalize method to clean up clock.
21717         Fix refcounting on request pads.
21718         Fix pad schedule mode error.
21719         Some more object refcounting debug info,
21720
21721
21722 2005-05-04  Andy Wingo <wingo@pobox.com>
21723
21724         * check/Makefile.am:
21725         * docs/gst/tmpl/gstatomic.sgml:
21726         * docs/gst/tmpl/gstplugin.sgml:
21727         * gst/base/gstbasesink.c: (gst_basesink_activate):
21728         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
21729         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
21730         (gst_basesrc_query), (gst_basesrc_set_property),
21731         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
21732         (gst_basesrc_activate):
21733         * gst/base/gstbasesrc.h:
21734         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
21735         (gst_base_transform_src_activate):
21736         * gst/elements/gstelements.c:
21737         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21738         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
21739         * gst/elements/gsttee.c: (gst_tee_sink_activate):
21740         * gst/elements/gsttypefindelement.c: (find_element_get_length),
21741         (gst_type_find_element_checkgetrange),
21742         (gst_type_find_element_activate):
21743         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
21744         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
21745         (gst_caps_load_thyself):
21746         * gst/gstelement.c: (gst_element_pads_activate),
21747         (gst_element_save_thyself), (gst_element_restore_thyself):
21748         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
21749         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
21750         * gst/gstpad.h:
21751         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
21752         (gst_xml_parse_file), (gst_xml_parse_memory),
21753         (gst_xml_get_element), (gst_xml_make_element):
21754         * gst/indexers/gstfileindex.c: (gst_file_index_load),
21755         (_file_index_id_save_xml), (gst_file_index_commit):
21756         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
21757         (read_enum), (load_pad_template), (load_feature), (load_plugin),
21758         (load_paths):
21759         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
21760         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
21761         * tools/gst-complete.c: (main):
21762         * tools/gst-compprep.c: (main):
21763         * tools/gst-inspect.c: (print_element_properties_info):
21764         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
21765         * tools/gst-xmlinspect.c: (print_element_properties):
21766         GCC 4 fixen.
21767         
21768 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21769
21770         * gst/gstplugin.c: (gst_plugin_check_module),
21771         (gst_plugin_check_file), (gst_plugin_load_file):
21772             apply patch from #172526 to make register work on MacOSX
21773
21774 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21775
21776         * docs/gst/tmpl/gstconfig.sgml:
21777         * gst/gstconfig.h.in:
21778           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
21779         * testsuite/debug/printf_extension.c: (main):
21780           Do not use GST_PTR_FORMAT on pointers to types with
21781           sizeof < sizeof(gpointer).  Fixes test on 64-bit
21782         * testsuite/elements/property.h:
21783           use correct printf format
21784
21785 2005-05-02  Wim Taymans  <wim@fluendo.com>
21786
21787         * docs/design/draft-push-pull.txt:
21788         * docs/design/draft-query.txt:
21789         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
21790         (gst_basesrc_start):
21791         Added draft for new query API.
21792         Added draft for better selecting scheduling methods.
21793         Make basesrc ignore length if the subclass does not support
21794         it.
21795
21796 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21797
21798         * gst/Makefile.am:
21799           possible fixes for automake-1.5 - _LIBADD is reserved
21800
21801 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21802
21803         * docs/faq/Makefile.am:
21804         * docs/manual/Makefile.am:
21805         * docs/manuals.mak:
21806         * docs/pwg/Makefile.am:
21807         * gst/Makefile.am:
21808           possible fixes for automake-1.5
21809
21810 2005-04-28  Wim Taymans  <wim@fluendo.com>
21811
21812         * gst/base/gstbasesink.c: (gst_basesink_base_init),
21813         (gst_basesink_pad_getcaps), (gst_basesink_init),
21814         (gst_basesink_do_sync):
21815         * gst/gstclock.c: (gst_clock_entry_new):
21816         * gst/gstevent.c: (gst_event_discont_get_value):
21817         * gst/gstpipeline.c: (pipeline_bus_handler),
21818         (gst_pipeline_change_state):
21819         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
21820         Better debugging of clocking info.
21821         Allow NULL values when getting discont values.
21822
21823 2005-04-27  Wim Taymans  <wim@fluendo.com>
21824
21825         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
21826         * check/gst/gstpad.c: (gst_pad_suite):
21827         Increase timeout for checks.
21828
21829 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
21830
21831         * check/Makefile.am:
21832           fix the broken rule for cleanup.  Apparently this rule is
21833           only needed on FC2, so maybe this warrants further autotool
21834           inspection.
21835
21836 2005-04-26  Wim Taymans  <wim@fluendo.com>
21837
21838         * gst/gsttrashstack.h:
21839         Ooohh. a nasty one! After having a failed pop() from the stack,
21840         it's possible that the stack is empty. In that case, don't
21841         follow the NULL pointer.
21842
21843 2005-04-25  Wim Taymans  <wim@fluendo.com>
21844
21845         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21846         (gst_pad_set_checkgetrange_function),
21847         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
21848         (gst_pad_check_pull_range), (gst_pad_pull_range),
21849         (gst_static_pad_template_get_caps), (gst_pad_start_task),
21850         (gst_pad_pause_task), (gst_pad_stop_task):
21851         * gst/gstplugin.c: (gst_plugin_load):
21852         * gst/gstplugin.h:
21853         Remove gst_library_load as it does more harm than good with
21854         the new g_module flags.
21855         Revert bogus caps template check in pad linking, pad caps
21856         are important when linking not the template, which is more
21857         general than the current caps.
21858
21859 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21860
21861         * gst/autoplug/.cvsignore:
21862         * gst/autoplug/Makefile.am:
21863         * gst/autoplug/gstsearchfuncs.c:
21864         * gst/autoplug/gstsearchfuncs.h:
21865         * gst/autoplug/gstspider.c:
21866         * gst/autoplug/gstspider.h:
21867         * gst/autoplug/gstspideridentity.c:
21868         * gst/autoplug/gstspideridentity.h:
21869         * gst/autoplug/spidertest.c:
21870           Die, spider, die.
21871
21872 2005-04-25  Wim Taymans  <wim@fluendo.com>
21873
21874         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21875         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
21876         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
21877         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
21878         * gst/gstpad.h:
21879         Added stubs for unimplemented functions. 
21880
21881 2005-04-24  David Schleef  <ds@schleef.org>
21882
21883         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
21884         please fix.
21885
21886 2005-04-24  David Schleef  <ds@schleef.org>
21887
21888         Convert everything from GstAtomicInt to g_atomic_int_*, and
21889         remove gstatomic.
21890         * gst/Makefile.am:
21891         * gst/gstatomic.c:
21892         * gst/gstatomic.h:
21893         * gst/gstatomic_impl.h:
21894         * gst/gstbuffer.c:
21895         * gst/gstcaps.c:
21896         * gst/gstcaps.h:
21897         * gst/gstclock.c:
21898         * gst/gstclock.h:
21899         * gst/gstdata.c:
21900         * gst/gstdata.h:
21901         * gst/gstdata_private.h:
21902         * gst/gstevent.c:
21903         * gst/gstinfo.c:
21904         * gst/gstinfo.h:
21905         * gst/gstmessage.c:
21906         * gst/gstobject.c:
21907         * gst/gstobject.h:
21908         * gst/gststructure.c:
21909         * gst/gststructure.h:
21910         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
21911         * gst/gstutils.h:
21912
21913 2005-04-24  David Schleef  <ds@schleef.org>
21914
21915         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
21916         make the regressions tests work.  Remove some code that is no
21917         longer true.
21918         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
21919         Disable warning for pads without templates.
21920
21921 2005-04-24  David Schleef  <ds@schleef.org>
21922
21923         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
21924         functions that handle filtered links.
21925         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
21926         removed functions.
21927         * gst/gstutils.c: Fix/remove utility functions that handle
21928         filtered caps.
21929         * gst/gstutils.h:
21930         * gst/gstvalue.c: Add serialization/deserialization of caps
21931         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
21932         requires fixing so that the filter caps notation creates
21933         a capsfilter element and sets the filter_caps property.  I
21934         think everyone probably wants to keep the shorthand notation.
21935         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
21936         * docs/gst/tmpl/gstpad.sgml:
21937
21938         * gst/elements/gstelements.c: Register capsfilter element.
21939         * gst/Makefile.am: fix spacing
21940         * docs/random/ds/0.9-suggested-changes: random
21941
21942 2005-04-23  David Schleef  <ds@schleef.org>
21943
21944         * gst/elements/Makefile.am:
21945         * gst/elements/gstcapsfilter.c: New element that acts like an
21946         identity, but filters caps.  Will eventually replace filtered
21947         caps in pad linking.
21948         * gst/gstutils.c: (gst_element_create_all_pads): New function
21949         to create all the ALWAYS pads that are registered with an
21950         element class.  This functionality should eventually be
21951         merged in with GstElement initialization.
21952         * gst/gstutils.h:
21953         * testsuite/trigger/README: part of trigger test code that should
21954         have been checked in a long time ago.
21955
21956 2005-04-23  David Schleef  <ds@schleef.org>
21957
21958         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
21959         needed with new versions of libtool (nobody will confirm this),
21960         and hard to carry around.
21961         * gst/autoplug/Makefile.am:
21962         * gst/base/Makefile.am:
21963         * gst/elements/Makefile.am:
21964         * gst/indexers/Makefile.am:
21965         * gst/schedulers/Makefile.am:
21966         * libs/gst/bytestream/Makefile.am:
21967         * libs/gst/control/Makefile.am:
21968         * libs/gst/dataprotocol/Makefile.am:
21969         * libs/gst/getbits/Makefile.am:
21970
21971 2005-04-21  Wim Taymans  <wim@fluendo.com>
21972
21973         * docs/design/draft-push-pull.txt:
21974         * docs/design/part-MT-refcounting.txt:
21975         * docs/design/part-TODO.txt:
21976         * docs/design/part-caps.txt:
21977         * docs/design/part-events.txt:
21978         * docs/design/part-gstbus.txt:
21979         * docs/design/part-gstpipeline.txt:
21980         * docs/design/part-messages.txt:
21981         * docs/design/part-push-pull.txt:
21982         * docs/design/part-query.txt:
21983         Some more docs.
21984
21985 2005-04-21  Wim Taymans  <wim@fluendo.com>
21986
21987         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
21988         (gst_message_new), (gst_message_new_error),
21989         (gst_message_new_warning), (gst_message_new_tag),
21990         (gst_message_new_state_changed), (gst_message_new_application),
21991         (gst_message_get_structure):
21992         * gst/gstmessage.h:
21993         * gst/gststructure.c: (gst_structure_set_parent_refcount),
21994         (gst_structure_copy_conditional):
21995         Use parent refcount in GstMessage to ensure GstStructure
21996         consistency.
21997         Cleaned up headers a bit.
21998         
21999
22000 2005-04-20  Wim Taymans  <wim@fluendo.com>
22001
22002         * gst/base/gstbasesink.c: (gst_basesink_base_init),
22003         (gst_basesink_pad_getcaps), (gst_basesink_init),
22004         (gst_basesink_chain_unlocked):
22005         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
22006         (gst_type_find_helper):
22007         * gst/elements/gsttypefindelement.c:
22008         (gst_type_find_element_have_type), (gst_type_find_element_init),
22009         (stop_typefinding), (gst_type_find_element_handle_event),
22010         (find_suggest), (gst_type_find_element_chain),
22011         (gst_type_find_element_checkgetrange),
22012         (gst_type_find_element_getrange), (do_typefind),
22013         (gst_type_find_element_activate):
22014         * gst/gstbuffer.c: (_gst_buffer_sub_free),
22015         (gst_buffer_default_free), (gst_buffer_default_copy),
22016         (gst_buffer_set_caps):
22017         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
22018         (gst_caps_replace):
22019         * gst/gstmessage.c: (gst_message_new),
22020         (gst_message_new_state_changed):
22021         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22022         (gst_pad_set_checkgetrange_function),
22023         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
22024         (gst_pad_set_caps), (gst_pad_check_pull_range),
22025         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
22026         * gst/gstpad.h:
22027         * gst/gsttypefind.c: (gst_type_find_register):
22028         Make gst_caps_replace() work like other _replace() functions.
22029         Use _caps_replace() where possible.
22030         Make sure _message_new() initialises its field.
22031         Add gst_static_pad_template_get_caps()
22032
22033
22034 2005-04-18  Andy Wingo  <wingo@pobox.com>
22035
22036         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
22037         on the peer, not the pad. I think that was a typo. Pass an extra
22038         arg to see if random access is possible. Activate the pads as
22039         PULL_RANGE if possible.
22040
22041         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
22042
22043         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
22044         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
22045         to PROP_....
22046
22047 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22048
22049         * docs/faq/using.xml:
22050           Add note on gstreamer-properties (#154996).
22051
22052 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22053
22054         * docs/random/bbb/optional-properties:
22055           Some analysis on optional properties.
22056
22057 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22058
22059         * docs/gst/tmpl/gstelementfactory.sgml:
22060         * gst/gstelement.h:
22061         * gst/gstelementfactory.c: (gst_element_factory_init),
22062         (gst_element_factory_cleanup), (gst_element_register),
22063         (__gst_element_factory_add_static_pad_template),
22064         (gst_element_factory_get_static_pad_templates),
22065         (gst_element_factory_can_src_caps),
22066         (gst_element_factory_can_sink_caps):
22067         * gst/registries/Makefile.am:
22068         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
22069         (gst_xml_registry_class_init), (gst_xml_registry_init),
22070         (gst_xml_registry_new), (gst_xml_registry_set_property),
22071         (gst_xml_registry_get_property), (get_time), (make_dir),
22072         (gst_xml_registry_get_perms_func),
22073         (plugin_times_older_than_recurse), (plugin_times_older_than),
22074         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
22075         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
22076         (add_to_char_array), (read_string), (read_uint), (read_enum),
22077         (load_pad_template), (load_feature), (load_plugin), (load_paths),
22078         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
22079         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
22080         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
22081         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
22082         (gst_xml_registry_rebuild):
22083         * gst/registries/gstlibxmlregistry.h:
22084         * tools/gst-compprep.c: (main):
22085         * tools/gst-inspect.c: (print_pad_templates_info):
22086         * tools/gst-xmlinspect.c: (print_element_info):
22087           Use libxml2 for registry parsing, use staticpadtemplates in
22088           elementfactories. Makes gst_init() +/- 10x faster.
22089
22090 2005-04-12  Wim Taymans  <wim@fluendo.com>
22091
22092         * gst/base/Makefile.am:
22093         * gst/base/gstbasesink.c: (gst_basesink_base_init),
22094         (gst_basesink_pad_getcaps), (gst_basesink_init),
22095         (gst_basesink_event), (gst_basesink_change_state):
22096         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22097         (gst_basesrc_init), (gst_basesrc_query),
22098         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
22099         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
22100         (gst_basesrc_check_get_range), (gst_basesrc_loop),
22101         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
22102         (gst_basesrc_stop), (gst_basesrc_activate),
22103         (gst_basesrc_change_state):
22104         * gst/base/gsttypefindhelper.c: (helper_find_peek),
22105         (helper_find_suggest), (gst_type_find_helper):
22106         * gst/base/gsttypefindhelper.h:
22107         * gst/elements/Makefile.am:
22108         * gst/elements/gstelements.c:
22109         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22110         (gst_fakesink_get_times), (gst_fakesink_event),
22111         (gst_fakesink_preroll), (gst_fakesink_render):
22112         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22113         (gst_fakesrc_init), (gst_fakesrc_event_handler),
22114         (gst_fakesrc_get_property), (gst_fakesrc_create),
22115         (gst_fakesrc_start), (gst_fakesrc_stop):
22116         * gst/elements/gstfakesrc.h:
22117         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
22118         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
22119         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
22120         (gst_filesrc_create_read), (gst_filesrc_create),
22121         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
22122         (gst_filesrc_start):
22123         * gst/elements/gsttypefindelement.c:
22124         (gst_type_find_element_have_type), (gst_type_find_element_init),
22125         (start_typefinding), (stop_typefinding), (push_buffer_store),
22126         (gst_type_find_element_handle_event),
22127         (gst_type_find_element_chain),
22128         (gst_type_find_element_checkgetrange),
22129         (gst_type_find_element_getrange), (do_typefind),
22130         (gst_type_find_element_activate),
22131         (gst_type_find_element_change_state):
22132         * gst/elements/gsttypefindelement.h:
22133         * gst/gstpipeline.c: (pipeline_bus_handler):
22134         Added typefind helper.
22135         Small preroll fix in the base sink.
22136         Disable typefind code in basesrc.
22137         Crude port of typefindelement.
22138         Fakesrc cleanups.
22139
22140
22141 2005-04-11  Wim Taymans  <wim@fluendo.com>
22142
22143         * check/gst/gstbus.c: (gstbus_suite):
22144         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
22145         * check/gstcheck.h:
22146           Fix up the timeout so that the test does not fail.
22147
22148 2005-04-06  Wim Taymans  <wim@fluendo.com>
22149
22150         * gst/base/README:
22151         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22152         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
22153         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
22154         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
22155         (gst_basesrc_check_get_range), (gst_basesrc_loop),
22156         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
22157         (gst_basesrc_stop), (gst_basesrc_activate),
22158         (gst_basesrc_change_state), (basesrc_find_peek),
22159         (basesrc_find_suggest), (gst_basesrc_type_find):
22160         * gst/base/gstbasesrc.h:
22161         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
22162         (gst_filesrc_class_init), (gst_filesrc_init),
22163         (gst_filesrc_finalize), (gst_filesrc_set_location),
22164         (gst_filesrc_set_property), (gst_filesrc_get_property),
22165         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
22166         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
22167         (gst_filesrc_create_read), (gst_filesrc_create),
22168         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
22169         * gst/elements/gstfilesrc.h:
22170         * gst/gstelement.c: (gst_element_get_state_func),
22171         (gst_element_lost_state), (gst_element_pads_activate):
22172         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22173         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
22174         (gst_pad_pull_range):
22175         * gst/gstpad.h:
22176         More work on the generic source base class, implement seeking,
22177         query.
22178         Make filesrc extend the base source class.
22179         Added gst_pad_set_checkgetrange_function to GstPad.
22180
22181 2005-04-06  Andy Wingo  <wingo@pobox.com>
22182
22183         * pkgconfig/gstreamer-base.pc.in:
22184         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
22185
22186         * pkgconfig/Makefile.am:
22187         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
22188
22189 2005-04-04  Wim Taymans  <wim@fluendo.com>
22190
22191         * gst/base/Makefile.am:
22192         * gst/base/README:
22193         * gst/base/gstbasesink.c: (gst_basesink_base_init),
22194         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22195         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22196         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
22197         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22198         (gst_basesrc_base_init), (gst_basesrc_class_init),
22199         (gst_basesrc_init), (gst_basesrc_get_formats),
22200         (gst_basesrc_get_query_types), (gst_basesrc_query),
22201         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
22202         (gst_basesrc_set_property), (gst_basesrc_get_property),
22203         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
22204         (gst_basesrc_loop), (gst_basesrc_activate),
22205         (gst_basesrc_change_state):
22206         * gst/base/gstbasesrc.h:
22207         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
22208         (gst_fakesrc_class_init), (gst_fakesrc_init),
22209         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
22210         (gst_fakesrc_get_property), (gst_fakesrc_create):
22211         * gst/elements/gstfakesrc.h:
22212         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
22213         (gst_filesrc_open_file), (gst_filesrc_loop),
22214         (gst_filesrc_activate), (filesrc_find_peek),
22215         (gst_filesrc_type_find):
22216         Made base source class, make fakesrc extend it.
22217         Add comments to basesink class.
22218         Some filesrc cleanup.
22219
22220 2005-03-31  David Schleef  <ds@schleef.org>
22221
22222         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
22223         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
22224         expected to link against libgstreamer.
22225         * gst/base/Makefile.am: link against libgstreamer
22226         * gst/elements/Makefile.am: same
22227
22228 2005-03-31  Andy Wingo  <wingo@pobox.com>
22229
22230         * tests/instantiate/Makefile.am:
22231         * tests/instantiate/caps.c: Add test to test speed of caps copy
22232         and free.
22233
22234         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
22235         GMemChunk to be fair.
22236
22237         * gst/gsttrashstack.h: Remove warning about using the fallback
22238         trash stack implementation, it's still faster than malloc.
22239
22240 2005-03-30  Andy Wingo  <wingo@pobox.com>
22241
22242         * tests/complexity.c: Add a copyright.
22243
22244 2005-03-31  Wim Taymans  <wim@fluendo.com>
22245
22246         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
22247         (gst_base_transform_class_init), (gst_base_transform_init),
22248         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
22249         (gst_base_transform_get_property),
22250         (gst_base_transform_sink_activate),
22251         (gst_base_transform_src_activate),
22252         (gst_base_transform_change_state):
22253         * gst/base/gstbasetransform.h:
22254         * gst/elements/gstidentity.c: (gst_identity_class_init),
22255         (gst_identity_event), (gst_identity_check_perfect),
22256         (gst_identity_transform), (gst_identity_start),
22257         (gst_identity_stop):
22258         Added start/stop methods to transform base class so subclasses 
22259         don't need to deal with state changes even.
22260
22261 2005-03-31  Wim Taymans  <wim@fluendo.com>
22262
22263         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
22264         (gst_event_new_discontinuous), (gst_event_discont_get_value):
22265         * gst/gstevent.h:
22266         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22267         (gst_pad_pull_range):
22268         Added rate to the discont event to prepare for variable speed
22269         and reverse playback.
22270
22271 2005-03-29  David Schleef  <ds@schleef.org>
22272
22273         * configure.ac:
22274         * testsuite/trigger/Makefile.am:
22275         * testsuite/trigger/trigger.c: A little example program to show
22276         how trigger-based elements can work.
22277
22278 2005-03-29  Wim Taymans  <wim@fluendo.com>
22279
22280         * gst/base/Makefile.am:
22281         * gst/base/README:
22282         * gst/base/gstbasesink.c: (gst_basesink_get_type),
22283         (gst_basesink_base_init), (gst_basesink_class_init),
22284         (gst_basesink_pad_getcaps), (gst_basesink_init),
22285         (gst_basesink_activate), (gst_basesink_change_state):
22286         * gst/base/gstbasesink.h:
22287         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
22288         (gst_base_transform_base_init), (gst_base_transform_finalize),
22289         (gst_base_transform_class_init), (gst_base_transform_init),
22290         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
22291         (gst_base_transform_event), (gst_base_transform_getrange),
22292         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
22293         (gst_base_transform_set_property),
22294         (gst_base_transform_get_property),
22295         (gst_base_transform_sink_activate),
22296         (gst_base_transform_src_activate),
22297         (gst_base_transform_change_state):
22298         * gst/base/gstbasetransform.h:
22299         * gst/elements/gstidentity.c: (gst_identity_finalize),
22300         (gst_identity_class_init), (gst_identity_init),
22301         (gst_identity_event), (gst_identity_check_perfect),
22302         (gst_identity_transform), (gst_identity_set_property),
22303         (gst_identity_get_property), (gst_identity_change_state):
22304         * gst/elements/gstidentity.h:
22305         * gst/gstelement.c: (gst_element_get_state_func),
22306         (gst_element_lost_state), (gst_element_pads_activate):
22307         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22308         (gst_pad_check_pull_range), (gst_pad_pull_range):
22309         * gst/gstpad.h:
22310         Simplify pad activation.
22311         Added function to check if pull_range can be performed.
22312         Error out when pulling inactive or flushing pads.
22313         Removed const from refcounted types as it does not make sense.
22314         Simplify pad templates in basesink
22315         Added base class for simple 1-to-1 transforms.
22316         Make identity subclass the base transform.
22317
22318 2005-03-29  Andy Wingo  <wingo@pobox.com>
22319
22320         * docs/libs/gstreamer-libs-overrides.txt: 
22321         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
22322         really don't understand what's going on, but like whatever. I want
22323         green buildbot!
22324
22325         * docs/gst/Makefile.am:
22326         * docs/libs/Makefile.am: Dist the overrides files.
22327
22328         * check/Makefile.am (clean-local): Remove .libs directories.
22329
22330         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
22331         elements to EXTRA_DIST, so po/ files are happy.
22332
22333         * po/POTFILES.in: Er, remove it here.
22334
22335         * po/POTFILES: Remove gstspider.c.
22336
22337         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
22338
22339         * docs/libs/gstreamer-libs-docs.sgml: 
22340         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
22341         bytestream.
22342
22343         * tests/complexity.c (main): Set the length of the preroll queue
22344         on the sinks to prevent a lockup.
22345
22346         * libs/gst/dataprotocol/Makefile.am: 
22347         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
22348         the same as the one in check/gst-libs/gdp.c.
22349
22350         * po/, docs/gst/: Commit automatic changes to docs and po files.
22351
22352         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
22353         the versioned libgstbase.
22354
22355         * check/Makefile.am: Depend on an unversioned gst-register, seems
22356         to make autoconf happier.
22357
22358         * gst/base/Makefile.am: Make libgstbase a versioned lib.
22359
22360 2005-03-28  Wim Taymans  <wim@fluendo.com>
22361
22362         * configure.ac:
22363         * docs/design/part-gstelement.txt:
22364         * docs/design/part-negotiation.txt:
22365         * docs/design/part-preroll.txt:
22366         * docs/design/part-scheduling.txt:
22367         * docs/design/part-states.txt:
22368         * gst/Makefile.am:
22369         * gst/base/Makefile.am:
22370         * gst/base/README:
22371         * gst/base/gstbasesink.c: (gst_basesink_get_template),
22372         (gst_basesink_base_init), (gst_basesink_class_init),
22373         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22374         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22375         (gst_basesink_set_pad_functions),
22376         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
22377         (gst_basesink_set_property), (gst_basesink_get_property),
22378         (gst_base_sink_get_template), (gst_base_sink_get_caps),
22379         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
22380         (gst_basesink_preroll_queue_push),
22381         (gst_basesink_preroll_queue_empty),
22382         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
22383         (gst_basesink_event), (gst_basesink_get_times),
22384         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
22385         (gst_basesink_chain_unlocked), (gst_basesink_chain),
22386         (gst_basesink_loop), (gst_basesink_activate),
22387         (gst_basesink_change_state):
22388         * gst/base/gstbasesink.h:
22389         * gst/elements/Makefile.am:
22390         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
22391         (gst_fakesink_class_init), (gst_fakesink_init),
22392         (gst_fakesink_set_property), (gst_fakesink_get_property),
22393         (gst_fakesink_get_times), (gst_fakesink_event),
22394         (gst_fakesink_preroll), (gst_fakesink_render),
22395         (gst_fakesink_change_state):
22396         * gst/elements/gstfakesink.h:
22397         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22398         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
22399         * gst/gstelement.c: (gst_element_add_pad),
22400         (gst_element_get_state_func), (gst_element_abort_state),
22401         (gst_element_commit_state), (gst_element_lost_state),
22402         (gst_element_set_state), (gst_element_pads_activate):
22403         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
22404         * gst/gstpipeline.c: (gst_pipeline_send_event),
22405         (gst_pipeline_change_state):
22406         Added state change code.
22407         Added/updated docs.
22408         Added sink base class, make fakesink extend the base class.
22409         Small cleanups in GstPipeline.
22410
22411 2005-03-26  David Schleef  <ds@schleef.org>
22412
22413         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
22414         is broken and should be implemented in a different library.
22415         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
22416         * gst/gst.h: remove gstcpu.h
22417         * gst/gstcpu.c: remove
22418         * gst/gstcpu.h: remove
22419         * gst/Makefile.am.future: Remove this file.  It's ancient.
22420
22421 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22422
22423         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22424         (gst_bin_send_event):
22425           Add default event/set_manager handlers. The set_manager handler
22426           takes care that the manager is distributed over kids that were
22427           already in the bin before the manager was set. The event handler
22428           is a utility virtual function that sends the event over all sinks,
22429           so that gst_element_send_event (bin, event); has the expected
22430           behaviour.
22431         * gst/gstpad.c: (gst_pad_event_default):
22432           Re-install default event handling for discontinuities, so that
22433           seeking works without requiring hacks in applications or extra
22434           code in sinks.
22435         * gst/gstpipeline.c: (gst_pipeline_class_init),
22436         (gst_pipeline_send_event):
22437           Half hack, half utility: set a pipeline to PAUSED for seek events,
22438           since that is the only way we can guarantee a/v sync. Means that
22439           you can do gst_element_seek (pipeline, method, pos); on a pipeline
22440           and it "just works".
22441
22442 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22443
22444         * gst/gstpipeline.c: (gst_pipeline_use_clock):
22445           Lock/unlock mismatch.
22446
22447 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
22448
22449         * docs/faq/gst-uninstalled:
22450           add gst-plugins-base
22451         * docs/gst/Makefile.am:
22452           don't error out until docs are fixed
22453         * docs/gst/gstreamer.types:
22454           remove thread
22455
22456 2005-03-22  Wim Taymans  <wim@fluendo.com>
22457
22458         * check/Makefile.am:
22459         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
22460         * gst/gststructure.c: (gst_structure_set_valist),
22461         (gst_structure_copy_conditional):
22462         Activated more tests.
22463         Added message test.
22464         Added G_TYPE_POINTER to GstStructure.
22465         
22466
22467 2005-03-22  Wim Taymans  <wim@fluendo.com>
22468
22469         * docs/design/part-TODO.txt:
22470         * docs/design/part-events.txt:
22471         * docs/design/part-gstbin.txt:
22472         * docs/design/part-gstbus.txt:
22473         * docs/design/part-gstpipeline.txt:
22474         * docs/design/part-messages.txt:
22475         * gst/gstbus.c:
22476         * gst/gstmessage.c:
22477         Docs updates
22478
22479 2005-03-21  Wim Taymans  <wim@fluendo.com>
22480
22481         * gst/gstbus.c: (gst_bus_post):
22482         Fix copy-and-paste error.
22483
22484 2005-03-21  Wim Taymans  <wim@fluendo.com>
22485
22486         * check/Makefile.am:
22487         * gst/Makefile.am:
22488         * gst/elements/Makefile.am:
22489         * gst/elements/gstelements.c:
22490         * gst/elements/gstfakesink.c: (gst_fakesink_init),
22491         (gst_fakesink_event), (gst_fakesink_chain):
22492         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22493         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
22494         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
22495         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
22496         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22497         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
22498         (gst_fakesrc_loop), (gst_fakesrc_activate),
22499         (gst_fakesrc_change_state):
22500         * gst/elements/gstfakesrc.h:
22501         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
22502         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
22503         (gst_filesrc_open_file), (gst_filesrc_loop),
22504         (gst_filesrc_activate), (gst_filesrc_change_state),
22505         (filesrc_find_peek), (filesrc_find_suggest),
22506         (gst_filesrc_type_find):
22507         * gst/elements/gstidentity.c: (gst_identity_finalize),
22508         (gst_identity_class_init), (gst_identity_init),
22509         (gst_identity_proxy_getcaps), (identity_queue_push),
22510         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
22511         (gst_identity_getrange), (gst_identity_chain),
22512         (gst_identity_sink_loop), (gst_identity_src_loop),
22513         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
22514         (gst_identity_set_property), (gst_identity_get_property),
22515         (gst_identity_change_state):
22516         * gst/elements/gstidentity.h:
22517         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
22518         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
22519         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
22520         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
22521         (gst_tee_sink_activate):
22522         * gst/elements/gsttee.h:
22523         * gst/gst.c: (gst_register_core_elements), (init_post):
22524         * gst/gst.h:
22525         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
22526         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
22527         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
22528         (gst_bin_change_state):
22529         * gst/gstbin.h:
22530         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
22531         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
22532         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
22533         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
22534         (gst_bus_set_sync_handler), (gst_bus_create_watch),
22535         (bus_watch_callback), (bus_watch_destroy),
22536         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
22537         (poll_timeout), (gst_bus_poll):
22538         * gst/gstbus.h:
22539         * gst/gstcaps.h:
22540         * gst/gstdata.h:
22541         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22542         (gst_element_post_message), (gst_element_message_full),
22543         (gst_element_get_state_func), (gst_element_get_state),
22544         (gst_element_abort_state), (gst_element_commit_state),
22545         (gst_element_lost_state), (gst_element_set_state),
22546         (gst_element_pads_activate), (gst_element_change_state),
22547         (gst_element_dispose), (gst_element_set_manager_func),
22548         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
22549         (gst_element_set_manager), (gst_element_get_manager),
22550         (gst_element_set_bus), (gst_element_get_bus),
22551         (gst_element_set_scheduler), (gst_element_get_scheduler):
22552         * gst/gstelement.h:
22553         * gst/gstevent.c: (gst_event_new_segment_seek),
22554         (gst_event_new_flush):
22555         * gst/gstevent.h:
22556         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
22557         (_gst_message_free), (gst_message_get_type), (gst_message_new),
22558         (gst_message_new_eos), (gst_message_new_error),
22559         (gst_message_new_warning), (gst_message_new_tag),
22560         (gst_message_new_state_changed), (gst_message_new_application),
22561         (gst_message_get_structure), (gst_message_parse_tag),
22562         (gst_message_parse_state_changed), (gst_message_parse_error),
22563         (gst_message_parse_warning):
22564         * gst/gstmessage.h:
22565         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
22566         (gst_real_pad_set_property), (gst_pad_set_active),
22567         (gst_pad_is_active), (gst_pad_set_blocked_async),
22568         (gst_pad_set_blocked), (gst_pad_is_blocked),
22569         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
22570         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
22571         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
22572         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
22573         (gst_pad_link_filtered), (gst_pad_relink_filtered),
22574         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
22575         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
22576         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
22577         (gst_pad_set_caps), (gst_pad_configure_sink),
22578         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
22579         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
22580         (gst_real_pad_dispose), (gst_real_pad_finalize),
22581         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
22582         (gst_pad_event_default_dispatch), (gst_pad_event_default),
22583         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
22584         * gst/gstpad.h:
22585         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
22586         (pipeline_bus_handler), (gst_pipeline_change_state),
22587         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
22588         * gst/gstpipeline.h:
22589         * gst/gstprobe.h:
22590         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22591         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
22592         (gst_queue_link_src), (gst_queue_bufferalloc),
22593         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
22594         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
22595         (gst_queue_loop), (gst_queue_handle_src_event),
22596         (gst_queue_handle_src_query), (gst_queue_src_activate),
22597         (gst_queue_change_state):
22598         * gst/gstqueue.h:
22599         * gst/gstscheduler.c: (gst_scheduler_init),
22600         (gst_scheduler_dispose), (gst_scheduler_create_task),
22601         (gst_scheduler_factory_create):
22602         * gst/gstscheduler.h:
22603         * gst/gststructure.c: (gst_structure_get_type),
22604         (gst_structure_copy_conditional):
22605         * gst/gststructure.h:
22606         * gst/gsttaginterface.h:
22607         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22608         (gst_task_init), (gst_task_dispose), (gst_task_create),
22609         (gst_task_get_state), (gst_task_start), (gst_task_stop),
22610         (gst_task_pause):
22611         * gst/gsttask.h:
22612         * gst/gstthread.c:
22613         * gst/gstthread.h:
22614         * gst/gsttypes.h:
22615         * gst/schedulers/Makefile.am:
22616         * gst/schedulers/cothreads_compat.h:
22617         * gst/schedulers/entryscheduler.c:
22618         * gst/schedulers/faircothreads.c:
22619         * gst/schedulers/faircothreads.h:
22620         * gst/schedulers/fairscheduler.c:
22621         * gst/schedulers/gstbasicscheduler.c:
22622         * gst/schedulers/gstoptimalscheduler.c:
22623         * gst/schedulers/gthread-cothreads.h:
22624         * gst/schedulers/threadscheduler.c:
22625         (gst_thread_scheduler_task_get_type),
22626         (gst_thread_scheduler_task_class_init),
22627         (gst_thread_scheduler_task_init),
22628         (gst_thread_scheduler_task_start),
22629         (gst_thread_scheduler_task_stop),
22630         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
22631         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
22632         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
22633         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
22634         (plugin_init):
22635         * libs/gst/Makefile.am:
22636         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
22637         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
22638         (gst_file_pad_parent_set):
22639         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22640         (gst_dp_event_from_packet):
22641         * tests/complexity.c: (main):
22642         * tests/mass_elements.c: (main):
22643         * testsuite/states/locked.c: (message_received), (main):
22644         * testsuite/states/parent.c: (main):
22645         * tools/gst-inspect.c: (print_element_flag_info),
22646         (print_implementation_info), (print_pad_info):
22647         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
22648         (main):
22649         * tools/gst-md5sum.c: (event_loop), (main):
22650         * tools/gst-typefind.c: (main):
22651         * tools/gst-xmlinspect.c: (print_element_info):
22652         Next big merge.
22653         Added GstBus for mainloop integration.
22654         Added GstMessage for sending notifications on the bus.
22655         Added GstTask as an abstraction for pipeline entry points.
22656         Removed GstThread.
22657         Removed Schedulers.
22658         Simplified GstQueue for multithreaded core.
22659         Made _link threadsafe, removed old capsnego.
22660         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
22661         Added pad blocking functions.
22662         Reworked scheduling functions in GstPad to prepare for
22663         scheduling updates soon.
22664         Moved events out of data stream.
22665         Simplified GstEvent types.
22666         Added return values to push/pull.
22667         Removed clocking from GstElement.
22668         Added prototypes for state change function for next merge.
22669         Removed iterate from bins and state change management.
22670         Fixed some elements, disabled others for now.
22671         Fixed -inspect and -launch.
22672         Added check for GstBus.
22673
22674 2005-03-10  Wim Taymans  <wim@fluendo.com>
22675
22676         * docs/design/part-MT-refcounting.txt:
22677         * docs/design/part-clocks.txt:
22678         * docs/design/part-gstelement.txt:
22679         * docs/design/part-gstobject.txt:
22680         * docs/design/part-standards.txt:
22681         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22682         (gst_bin_remove_func), (gst_bin_remove):
22683         * gst/gstbin.h:
22684         * gst/gstbuffer.c:
22685         * gst/gstcaps.h:
22686         * testsuite/clock/clock1.c: (main):
22687         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
22688         (main):
22689         * testsuite/dlopen/loadgst.c: (do_test):
22690         * testsuite/refcounting/bin.c: (add_remove_test1),
22691         (add_remove_test2), (main):
22692         * testsuite/refcounting/element.c: (main):
22693         * testsuite/refcounting/element_pad.c: (main):
22694         * testsuite/refcounting/pad.c: (main):
22695         * tools/gst-launch.c: (sigint_handler_sighandler):
22696         * tools/gst-typefind.c: (main):
22697         Doc updates.
22698         Added doc about clock.
22699         removed gst_bin_iterate_recurse_up(), marked methods
22700         for removal.
22701         Fix more testsuites.
22702
22703 2005-03-09  Wim Taymans  <wim@fluendo.com>
22704
22705         * gst/gstpad.c: (gst_pad_get_direction),
22706         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
22707         (gst_pad_collect_valist):
22708         * testsuite/bins/interface.c: (main):
22709         * testsuite/caps/audioscale.c: (test_caps):
22710         * testsuite/caps/caps.c: (test1), (test2), (test3):
22711         * testsuite/caps/deserialize.c: (main):
22712         * testsuite/caps/enumcaps.c: (main):
22713         * testsuite/caps/filtercaps.c: (main):
22714         * testsuite/caps/intersect2.c: (main):
22715         * testsuite/caps/random.c: (main):
22716         * testsuite/caps/renegotiate.c: (my_fixate), (main):
22717         * testsuite/caps/sets.c: (check_caps):
22718         * testsuite/caps/simplify.c: (check_caps), (main):
22719         * testsuite/caps/subtract.c: (check_caps):
22720         Fix _pad_get_direction wrt ghostpads.
22721         Fix caps testsuite.
22722
22723 2005-03-09  Wim Taymans  <wim@fluendo.com>
22724
22725         * check/Makefile.am:
22726         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
22727         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
22728         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
22729         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
22730         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
22731         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
22732         (gst_bin_remove), (gst_bin_iterate_recurse_up),
22733         (bin_element_is_sink), (gst_bin_iterate_sinks),
22734         (gst_bin_iterate_all_by_interface):
22735         * gst/gstbin.h:
22736         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
22737         (gst_element_change_state), (gst_element_dispose),
22738         (gst_element_finalize), (gst_element_set_loop_function):
22739         * gst/gstelement.h:
22740         * gst/gstiterator.c: (find_custom_fold_func):
22741         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22742         (gst_pad_collectv), (gst_pad_collect_valist),
22743         (gst_pad_template_new):
22744         * gst/gstpipeline.c: (gst_pipeline_class_init),
22745         (gst_pipeline_dispose), (gst_pipeline_set_property),
22746         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
22747         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
22748         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
22749         * gst/gstutils.h:
22750         * gst/schedulers/entryscheduler.c:
22751         * gst/schedulers/gstbasicscheduler.c:
22752         (gst_basic_scheduler_cothreaded_chain),
22753         (gst_basic_scheduler_chain_add_element):
22754         * testsuite/bins/interface.c: (main):
22755         Added GstBin test.
22756         Added GstSystemClock test.
22757         Implemented clock distribution code in GstBin.
22758         Implemented iterate sinks method for future use.
22759         Rearranged gstelement.h
22760         Fix GstIterator comparison bug.
22761         Moved some code to GstPipeline, mostly clocking related.
22762
22763 2005-03-09  Wim Taymans  <wim@fluendo.com>
22764
22765         * configure.ac:
22766         * gst/gst_private.h:
22767         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22768         (gst_bin_remove_func), (gst_bin_remove),
22769         (gst_bin_get_by_name_recurse_up):
22770         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
22771         (gst_clock_id_compare_func), (gst_clock_id_wait),
22772         (gst_clock_id_wait_async), (gst_clock_init),
22773         (gst_clock_adjust_unlocked), (gst_clock_get_time):
22774         * gst/gstelement.h:
22775         * gst/gstinfo.c: (_gst_debug_init):
22776         * gst/gstobject.h:
22777         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22778         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
22779         * gst/gstpad.h:
22780         Bump version number, we're now 0.9.0
22781         Add future debugging category.
22782         Fix NULL _unref() in _get_by_name_recurse_up
22783         Rearrange gstpad.h.
22784         Update some docs.
22785
22786 2005-03-08  Wim Taymans  <wim@fluendo.com>
22787
22788         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
22789         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
22790         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
22791         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
22792         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
22793         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
22794         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
22795         * gst/elements/gstidentity.c: (gst_identity_class_init):
22796         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
22797         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
22798         * gst/elements/gstshaper.c: (gst_shaper_class_init):
22799         * gst/elements/gststatistics.c: (gst_statistics_class_init):
22800         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
22801         (gst_tee_link):
22802         * gst/gstelement.c: (gst_element_class_init),
22803         (gst_element_base_class_init), (gst_element_init),
22804         (gst_element_get_random_pad), (gst_element_wait_state_change),
22805         (gst_element_change_state), (gst_element_dispose),
22806         (gst_element_finalize), (gst_element_set_loop_function):
22807         * gst/gstelement.h:
22808         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
22809         * gst/gstthread.c: (gst_thread_class_init),
22810         (gst_thread_release_children_locks), (gst_thread_change_state):
22811         * gst/schedulers/gstbasicscheduler.c:
22812         (gst_basic_scheduler_loopfunc_wrapper),
22813         (gst_basic_scheduler_chain_wrapper),
22814         (gst_basic_scheduler_src_wrapper),
22815         (gst_basic_scheduler_remove_element):
22816         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
22817         Remove threadsafe properties. Fix elements because GObject
22818         complains when installing a property before declaring a
22819         set/get_property handler.
22820         Rearrange gstelement.h file, use STATE macros for state locks.
22821         Free mutexes in the finalize method instead of dispose.
22822
22823 2005-03-08  Wim Taymans  <wim@fluendo.com>
22824
22825         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
22826         * gst/gstthread.c: (gst_thread_release_children_locks):
22827         Added parentage check.
22828         Fix build og GstThread again.
22829
22830 2005-03-08  Wim Taymans  <wim@fluendo.com>
22831
22832         * docs/design/part-MT-refcounting.txt:
22833         * docs/design/part-conventions.txt:
22834         * docs/design/part-gstobject.txt:
22835         * docs/design/part-relations.txt:
22836         * docs/design/part-standards.txt:
22837         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22838         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
22839         (gst_bin_get_by_name), (gst_bin_get_by_interface),
22840         (gst_bin_iterate_all_by_interface):
22841         * gst/gstbuffer.h:
22842         * gst/gstclock.h:
22843         * gst/gstelement.c: (gst_element_class_init),
22844         (gst_element_change_state), (gst_element_set_loop_function):
22845         * gst/gstelement.h:
22846         * gst/gstiterator.c:
22847         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
22848         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
22849         (gst_object_dispatch_properties_changed), (gst_object_set_name),
22850         (gst_object_set_parent), (gst_object_unparent),
22851         (gst_object_check_uniqueness):
22852         * gst/gstobject.h:
22853         Docs updates, clean up some headers.
22854
22855 2005-03-07  Wim Taymans  <wim@fluendo.com>
22856
22857         * check/.cvsignore:
22858         * check/Makefile.am:
22859         * check/gst-libs/.cvsignore:
22860         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
22861         * check/gst/.cvsignore:
22862         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
22863         (START_TEST), (gstbus_suite), (main):
22864         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
22865         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
22866         (gst_data_suite), (main):
22867         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
22868         (add_fold_func), (gstiterator_suite), (main):
22869         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
22870         (thread_name_object), (thread_name_object_default),
22871         (gst_object_name_compare), (gst_object_suite), (main):
22872         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
22873         (gst_pad_suite), (main):
22874         * check/gstcheck.c: (gst_check_log_message_func),
22875         (gst_check_log_critical_func), (gst_check_init):
22876         * check/gstcheck.h:
22877         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
22878         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
22879         Added checks.
22880
22881 2005-03-07  Wim Taymans  <wim@fluendo.com>
22882
22883         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22884         (gst_list_iterator_next), (gst_list_iterator_resync),
22885         (gst_list_iterator_free), (gst_iterator_new_list),
22886         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
22887         (gst_iterator_free), (gst_iterator_push), (filter_next),
22888         (filter_resync), (filter_uninit), (filter_free),
22889         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
22890         (gst_iterator_foreach), (find_custom_fold_func),
22891         (gst_iterator_find_custom):
22892         * gst/gstiterator.h:
22893         Added missing files.
22894
22895 2005-03-07  Wim Taymans  <wim@fluendo.com>
22896
22897         * Makefile.am:
22898         * configure.ac:
22899         * docs/design/part-MT-refcounting.txt:
22900         * docs/design/part-conventions.txt:
22901         * docs/design/part-gstobject.txt:
22902         * docs/design/part-relations.txt:
22903         * examples/mixer/mixer.c: (main):
22904         * examples/thread/thread.c: (eos), (main):
22905         * gst/Makefile.am:
22906         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
22907         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
22908         (gst_spider_plug_from_srcpad):
22909         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
22910         (gst_spider_identity_change_state),
22911         (gst_spider_identity_sink_loop_type_finding):
22912         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
22913         * gst/elements/gstidentity.c: (gst_identity_init):
22914         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
22915         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
22916         * gst/elements/gsttypefindelement.c: (free_entry):
22917         * gst/gst.c:
22918         * gst/gst.h:
22919         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
22920         (gst_bin_set_clock_func), (gst_bin_auto_clock),
22921         (gst_bin_set_index), (gst_bin_set_element_sched),
22922         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
22923         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
22924         (gst_bin_iterate_elements), (iterate_child_recurse),
22925         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
22926         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
22927         (compare_interface), (gst_bin_get_by_interface),
22928         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
22929         * gst/gstbin.h:
22930         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
22931         (gst_buffer_default_free), (gst_buffer_default_copy),
22932         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
22933         (gst_buffer_create_sub):
22934         * gst/gstbuffer.h:
22935         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
22936         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
22937         (gst_caps_unref), (gst_static_caps_get),
22938         (gst_caps_remove_and_get_structure), (gst_caps_append),
22939         (gst_caps_append_structure), (gst_caps_remove_structure),
22940         (gst_caps_copy_nth), (gst_caps_set_simple),
22941         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
22942         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
22943         (gst_caps_structure_intersect_field), (gst_caps_intersect),
22944         (gst_caps_structure_subtract_field), (gst_caps_subtract),
22945         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
22946         (gst_caps_structure_figure_out_union),
22947         (gst_caps_switch_structures), (gst_caps_do_simplify),
22948         (gst_caps_replace), (gst_caps_from_string),
22949         (gst_caps_copy_conditional):
22950         * gst/gstcaps.h:
22951         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
22952         (_gst_clock_id_free), (gst_clock_id_unref),
22953         (gst_clock_id_compare_func), (gst_clock_id_wait),
22954         (gst_clock_id_wait_async), (gst_clock_class_init),
22955         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
22956         (gst_clock_get_time), (gst_clock_set_time_adjust),
22957         (gst_clock_set_property), (gst_clock_get_property):
22958         * gst/gstclock.h:
22959         * gst/gstcompat.h:
22960         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
22961         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
22962         * gst/gstdata.h:
22963         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22964         (gst_element_requires_clock), (gst_element_provides_clock),
22965         (gst_element_set_clock), (gst_element_clock_wait),
22966         (gst_element_wait), (gst_element_set_time_delay),
22967         (gst_element_is_indexable), (gst_element_add_pad),
22968         (gst_element_add_ghost_pad), (gst_element_remove_pad),
22969         (pad_compare_name), (gst_element_get_static_pad),
22970         (gst_element_request_pad), (gst_element_get_request_pad),
22971         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
22972         (gst_element_class_get_pad_template_list),
22973         (gst_element_class_get_pad_template), (gst_element_error_func),
22974         (gst_element_get_random_pad), (gst_element_get_event_masks),
22975         (gst_element_send_event), (gst_element_seek),
22976         (gst_element_get_query_types), (gst_element_query),
22977         (gst_element_get_formats), (gst_element_convert),
22978         (gst_element_is_locked_state), (gst_element_set_locked_state),
22979         (gst_element_sync_state_with_parent), (gst_element_change_state),
22980         (gst_element_finalize), (gst_element_yield),
22981         (gst_element_interrupt), (gst_element_set_scheduler),
22982         (gst_element_get_scheduler), (gst_element_set_loop_function):
22983         * gst/gstelement.h:
22984         * gst/gstevent.h:
22985         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
22986         (gst_format_get_by_nick), (gst_format_get_details),
22987         (gst_format_iterate_definitions):
22988         * gst/gstformat.h:
22989         * gst/gstindex.c: (gst_index_gtype_resolver):
22990         * gst/gstinfo.c:
22991         * gst/gstinfo.h:
22992         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
22993         (gst_mem_chunk_free):
22994         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
22995         (gst_object_ref), (gst_object_unref), (gst_object_sink),
22996         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
22997         (gst_object_dispatch_properties_changed),
22998         (gst_object_set_name_default), (gst_object_set_name),
22999         (gst_object_get_name), (gst_object_set_name_prefix),
23000         (gst_object_get_name_prefix), (gst_object_set_parent),
23001         (gst_object_get_parent), (gst_object_unparent),
23002         (gst_object_check_uniqueness), (gst_object_save_thyself),
23003         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
23004         (gst_object_set_property), (gst_object_get_property),
23005         (gst_object_get_path_string):
23006         * gst/gstobject.h:
23007         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
23008         (gst_real_pad_init), (gst_real_pad_get_property),
23009         (gst_pad_custom_new), (gst_pad_get_direction),
23010         (gst_pad_set_active), (gst_pad_is_active),
23011         (gst_pad_set_event_function), (gst_pad_is_linked),
23012         (gst_pad_link_free), (gst_pad_link_intersect),
23013         (gst_pad_link_fixate), (gst_pad_set_caps),
23014         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
23015         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
23016         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
23017         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
23018         (gst_pad_get_caps), (gst_pad_peer_get_caps),
23019         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
23020         (gst_pad_realize), (gst_pad_get_allowed_caps),
23021         (gst_real_pad_dispose), (gst_real_pad_finalize),
23022         (gst_pad_collectv), (gst_pad_collect_valist),
23023         (gst_pad_template_dispose), (gst_pad_template_new),
23024         (gst_pad_get_internal_links):
23025         * gst/gstpad.h:
23026         * gst/gstpipeline.c: (gst_pipeline_dispose),
23027         (gst_pipeline_change_state):
23028         * gst/gstpipeline.h:
23029         * gst/gstplugin.c:
23030         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
23031         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
23032         * gst/gstpluginfeature.h:
23033         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
23034         * gst/gstquery.c: (_gst_query_type_initialize),
23035         (gst_query_type_register), (gst_query_type_get_by_nick),
23036         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
23037         * gst/gstquery.h:
23038         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
23039         * gst/gstscheduler.c: (gst_scheduler_add_element),
23040         (gst_scheduler_factory_create):
23041         * gst/gststructure.c: (gst_structure_set_parent_refcount),
23042         (gst_structure_free), (gst_structure_set_name),
23043         (gst_structure_id_set_value), (gst_structure_set_value),
23044         (gst_structure_set_valist), (gst_structure_remove_field),
23045         (gst_structure_remove_fields),
23046         (gst_structure_remove_fields_valist),
23047         (gst_structure_remove_all_fields), (gst_structure_foreach),
23048         (gst_structure_map_in_place),
23049         (gst_caps_structure_fixate_field_nearest_int),
23050         (gst_caps_structure_fixate_field_nearest_double):
23051         * gst/gststructure.h:
23052         * gst/gstsystemclock.c: (gst_system_clock_class_init),
23053         (gst_system_clock_init), (gst_system_clock_dispose),
23054         (gst_system_clock_async_thread),
23055         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
23056         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
23057         * gst/gstsystemclock.h:
23058         * gst/gsttag.c: (gst_tag_list_add_value_internal),
23059         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
23060         * gst/gsttaginterface.c:
23061         * gst/gstthread.c: (gst_thread_dispose),
23062         (gst_thread_release_children_locks), (gst_thread_change_state),
23063         (gst_thread_main_loop):
23064         * gst/gsttrashstack.h:
23065         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
23066         * gst/gsttypes.h:
23067         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23068         (gst_element_request_pad), (gst_element_get_pad_from_template),
23069         (gst_element_request_compatible_pad),
23070         (gst_element_get_compatible_pad_filtered),
23071         (gst_element_get_compatible_pad), (gst_element_state_get_name),
23072         (gst_element_link_pads_filtered), (gst_element_link_filtered),
23073         (gst_element_link_many), (gst_element_link),
23074         (gst_element_link_pads), (gst_element_unlink_pads),
23075         (gst_element_unlink_many), (gst_element_unlink),
23076         (gst_pad_can_link_filtered), (gst_pad_can_link),
23077         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
23078         (gst_object_default_error), (gst_bin_add_many),
23079         (gst_bin_remove_many), (gst_element_populate_std_props),
23080         (gst_element_class_install_std_props), (gst_buffer_merge),
23081         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
23082         (link_fold_func), (gst_pad_proxy_setcaps):
23083         * gst/gstutils.h:
23084         * gst/gstvalue.c: (gst_value_deserialize_string):
23085         * gst/parse/grammar.y:
23086         * gst/schedulers/gstbasicscheduler.c:
23087         (gst_basic_scheduler_cothreaded_chain),
23088         (gst_basic_scheduler_chain_recursive_add),
23089         (gst_basic_scheduler_pad_link):
23090         * gst/schedulers/gstoptimalscheduler.c:
23091         (get_group_schedule_function),
23092         (gst_opt_scheduler_state_transition),
23093         (gst_opt_scheduler_add_element), (element_get_reachables_func):
23094         * libs/gst/bytestream/bytestream.c:
23095         * libs/gst/dataprotocol/dataprotocol.c:
23096         (gst_dp_header_from_buffer):
23097         * po/nb.po:
23098         * po/ru.po:
23099         * tests/threadstate/threadstate2.c: (eos):
23100         * tools/gst-compprep.c: (main):
23101         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
23102         (print_pad_info), (print_children_info):
23103         * tools/gst-launch.c: (idle_func), (main):
23104         * tools/gst-md5sum.c: (idle_func), (main):
23105         * tools/gst-xmlinspect.c: (print_element_info):
23106         First THREADED backport attempt, focusing on adding locks and
23107         making sure the API is threadsafe. Needs more work. More docs
23108         follow this week.
23109
23110 2005-02-24  Andy Wingo  <wingo@pobox.com>
23111
23112         * tests/bench-complexity.scm:
23113         * tests/complexity.gnuplot: New files, good for running complexity
23114         benchmarks.
23115
23116         * tests/Makefile.am:
23117         * tests/complexity.c: New test, sets up N elements, at each level
23118         teeing into M streams per element. Eeeenteresting.
23119
23120         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
23121         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
23122         running bench-mass_elements.scm.
23123
23124         * tests/bench-mass_elements.scm: New script, runs mass_elements
23125         for various numbers of identities, outputting the results to a
23126         file. Requires guile 1.6. Just for testing.
23127
23128 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23129
23130         * gst/schedulers/fairscheduler.c:
23131           compile with debug disabled
23132
23133 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23134
23135         * configure.ac:
23136           hunting season on 0.9 is now OPEN