0d5a1711ea1f5a0da50a10e9a84705f9e46d443e
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
2
3         * gst/parse/Makefile.am:
4         And now fix the building of the flex sources. Now everything should
5         work as expected.
6
7 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8
9         * gst/parse/Makefile.am:
10         Now hopefully fix the build failures by setting proper rule
11         dependencies and moving instead of copying.
12
13 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
14
15         * tests/benchmarks/complexity.gnuplot:
16         * tests/benchmarks/complexity.scm:
17         * tests/benchmarks/mass-elements.gnuplot:
18         * tests/benchmarks/mass-elements.scm:
19           Total licensification.
20
21 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
22
23         * gst/parse/Makefile.am:
24           Fix the build by correcting the rule that gave wrong files to flex.
25
26 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
27
28         * tests/benchmarks/complexity.c:
29         * tests/benchmarks/mass-elements.c:
30           Change licence to LGPL as granted by Benjamin and Andy.
31
32 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
33
34         * gst/parse/Makefile.am:
35         Add correct grammar.tab.h dependency if compiling without new enough
36         flex. Fixes #431150.
37
38 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
39
40         * gst/parse/Makefile.am:
41         Fix typo and use outdated sources if the flex/bison sources are newer
42         than the pregenerated ones but flex is too old. Print a warning in
43         that case. This should fix the build on the build bot.
44
45 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
46
47         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
48         * gst/parse/Makefile.am:
49         * gst/parse/grammar.y:
50         * gst/parse/parse.l:
51         Make the parser reentrant and recursively callable. This requires flex
52         >= 2.5.31, for older versions pregenerated sources are used as we
53         can't bump the build dependency. Finally fixes #349180.
54
55         * gst/gstparse.c: (gst_parse_launch):
56         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
57         now anyway.
58
59         * docs/gst/Makefile.am:
60         * docs/gst/Makefile.am:
61         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
62         (__gst_parse_strfree), (__gst_parse_link_new),
63         (__gst_parse_link_free), (__gst_parse_chain_new),
64         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
65         (gst_parse_element_set), (gst_parse_free_link),
66         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
67         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
68         (_gst_parse_launch):
69         * gst/parse/grammar.tab.pre.h:
70         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
71         (yy_get_previous_state), (yy_try_NUL_trans), (input),
72         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
73         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
74         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
75         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
76         (_gst_parse_yypop_buffer_state),
77         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
78         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
79         (yy_fatal_error), (_gst_parse_yyget_extra),
80         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
81         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
82         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
83         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
84         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
85         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
86         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
87         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
88         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
89         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
90         (_gst_parse_yyfree):
91         If the installed flex version is too old use pre-generated parser
92         sources. These pre-generated parser sources are always updated when
93         the actual flex/bison sources change but require everybody who wants
94         to change something in the parser to have flex >= 2.5.31 installed.
95
96 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
97
98         * common/m4/gst-gettext.m4:
99         * gst/gst-i18n-lib.h:
100           Make --disable-nls to work
101
102 2007-04-17  Wim Taymans  <wim@fluendo.com>
103
104         * gst/gstconfig.h.in:
105         Revert previous change that broke the build.
106
107 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
108
109         * configure.ac:
110         * gst/Makefile.am:
111         * gst/gstconfig.h.in:
112           Drop libxml2 dependency when building with 
113           --enable-binary-registry --disable-loadsave
114
115 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
116
117         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
118         (gst_registry_binary_read_cache):
119         * gst/gstregistrybinary.h:
120           Remove unnecessary <sys/mman.h> include which broke the win32 build
121           with MingW; move includes from header file to .c file, even if the
122           header file isn't installed; use g_strerror() where UTF-8 strings
123           are expected, such as in GST_DEBUG messages.
124
125 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
126
127         * docs/libs/gstreamer-libs-sections.txt:
128         Remove bogus addition for API I didn't end up keeping.
129
130         * libs/gst/base/gstbasesrc.h:
131         Mention Since: 0.10.13 in the documentation.
132
133         Add the API keyword to the previous ChangeLog entry.
134
135 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
136
137         * docs/libs/gstreamer-libs-sections.txt:
138         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
139         (gst_base_src_default_prepare_seek_segment),
140         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
141         * libs/gst/base/gstbasesrc.h:
142         Allow basesrc derived classes to execute seeks in other formats
143         by providing a prepare_seek_segment vmethod. Sub-classes can choose
144         to prepare the GstSegment in any format that their perform_seek method
145         will be able to understand. The default implementation provides the
146         old behaviour of attempting to convert the seek offsets to the 
147         configured native format.
148
149         API: basesrc::prepare_seek_segment vmethod.
150
151 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
152
153         * gst/gstelement.c: (gst_element_get_state_func):
154         Don't output the same debug statement twice.
155
156         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
157         (gst_adapter_peek), (gst_adapter_take_buffer):
158         Optimise the case where we have buffers at the head of the queue that
159         can be joined quickly (because they're contiguous sub-buffers) by
160         merging them together rather than copying data out into new memory.
161
162         * gst/parse/grammar.y:
163         * tests/check/pipelines/parse-launch.c:
164         Fix a leak in an error path for parse_launch, and add a check 
165         for it to the testsuite.
166
167 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
168
169         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
170           Don't deadlock when releasing a pad - gst_pad_set_active may try
171           and take the multiqueue lock too.
172
173 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
174
175         * gst/gsterror.c: (_gst_core_errors_init):
176         * gst/gsterror.h:
177           API: add GST_CORE_ERROR_DISABLED (#392804).
178
179 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
180
181         * docs/faq/gst-uninstalled:
182           don't get empty paths on the PATH variables
183         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
184           Don't format for the uncommon terminal width of 84 characters.
185
186 2007-04-06  Wim Taymans  <wim@fluendo.com>
187
188         * gst/gstpipeline.c: (reset_stream_time),
189         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
190         Only try to select a different pipeline clock when we went back to
191         PAUSED and not when we merely got flushed.
192
193 2007-04-05  Michael Smith  <msmith@fluendo.com>
194
195         * tools/gst-launch.1.in:
196           fractions are better supported in gstreamer than ractions, so
197           suggest using those.
198
199 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
200
201         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
202
203         * po/LINGUAS:
204         * po/da.po:
205           Added Danish translation.
206
207 2007-04-05  Wim Taymans  <wim@fluendo.com>
208
209         * libs/gst/base/gstbasesink.c:
210         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
211         Fix leak caused when refusing newsegment after EOS.
212
213         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
214         (gst_fake_sink_init), (gst_fake_sink_set_property),
215         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
216         (gst_fake_sink_render), (gst_fake_sink_change_state):
217         * plugins/elements/gstfakesink.h:
218         Add num-buffers property to make the element generate EOS after a
219         configurable amount of buffers.
220         API: fakesink::num-buffers property.
221
222         * tests/check/elements/fakesink.c: (GST_START_TEST),
223         (fakesink_suite):
224         Fix GstBus leak in test.
225         Test for fakesink num-buffers.
226
227 2007-04-05  Wim Taymans  <wim@fluendo.com>
228
229         * libs/gst/base/gstbasesink.c:
230         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
231         (gst_base_sink_change_state):
232         Don't accept anything after an EOS, return UNEXPECTED instead.
233
234         * tests/check/elements/fakesink.c: (GST_START_TEST),
235         (fakesink_suite):
236         Unit test for new EOS behaviour.
237
238 2007-04-05  Wim Taymans  <wim@fluendo.com>
239
240         * gst/gstelement.c: (gst_element_get_request_pad):
241         Make padtemplates also work when they don't contain %s or %d.
242
243 2007-04-05  Wim Taymans  <wim@fluendo.com>
244
245         * docs/gst/gstreamer-sections.txt:
246         * gst/gstclock.c: (gst_clock_adjust_unlocked),
247         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
248         * gst/gstclock.h:
249         Improve _adjust_unlocked() so that it overflows less.
250         Add gst_clock_unadjust_unlocked to convert from external time to
251         internal time based on calibration.
252         Add some more debug.
253         API: GstClock::gst_clock_unadjust_unlocked()
254
255 2007-04-03  Wim Taymans  <wim@fluendo.com>
256
257         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
258
259         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
260         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
261         when releasing sink pad. Fixes #425400.
262
263 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
264
265         * docs/random/ensonic/dynlink.txt:
266           More work on proposal for new core api.
267
268         * docs/libs/gstreamer-libs-sections.txt:
269         * libs/gst/base/gstbasetransform.h:
270           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
271           
272         * libs/gst/controller/gstcontroller.c:
273         (on_object_controlled_property_changed),
274         (gst_controller_sync_values),
275         (gst_controller_set_interpolation_mode):
276         * libs/gst/controller/gstcontroller.h:
277           Less verbose logging add docs for unimplemented parts and correctly
278           return when using unavailable parts.
279
280 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
281
282         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
283         Move all the debug to the CLOCK category, and associate it with
284         the clock object.
285
286 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
287
288         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
289         Make take_buffer a bit quicker by removing redundant checks
290         caused by calling gst_adapter_take.
291
292 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
293
294         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
295           Don't leak GCond.
296
297         * tests/check/Makefile.am:
298         * tests/check/elements/.cvsignore:
299         * tests/check/elements/multiqueue.c: (setup_multiqueue),
300         (GST_START_TEST), (multiqueue_suite):
301           Add some dead simple unit tests for the 'multiqueue' element
302           (some bits don't work yet and are disabled for now).
303
304 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
305
306         * gst/gstelement.c: (gst_element_get_request_pad),
307         (gst_element_class_get_request_pad_template):
308           Make gst_element_get_request_pad() create request pads only for
309           request pad templates and not for, say, sometimes pad templates.
310
311 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
312
313         * docs/design/draft-klass.txt:
314           Add example that needs more thinking.
315         
316         * docs/design/draft-missing-plugins.txt:
317           More thoughts about wrapper plugins.
318         
319         * docs/random/ensonic/embedded.txt:
320         * docs/random/ensonic/profiling.txt:
321           More design work.
322
323 2007-03-25  Wim Taymans  <wim@fluendo.com>
324
325         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
326         (gst_base_src_loop):
327         Only push the segment events in the PLAYING state for live sources.
328
329 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
330
331         * gst/gstpipeline.c: (gst_pipeline_change_state):
332         Modify the clock distribution path in PAUSED->PLAYING so that we 
333         never attempt to choose a new clock unless we're actually leaving
334         the PAUSED state for the first time. This prevents choosing a
335         different clock when the state_change gets called for a 2nd time due
336         to some element doing an async state change.
337
338 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
339
340         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
341         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
342         (gst_pad_chain_unchecked), (gst_pad_push):
343         Revert last commit. This needs some more thoughts.
344
345 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
346
347         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
348         (gst_pad_chain_unchecked), (gst_pad_push):
349         Check in set_caps if the caps are compatible with the pad and remove
350         two functions that are redundant now. Fixes #421543.
351
352 2007-03-22  Wim Taymans  <wim@fluendo.com>
353
354         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
355         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
356         Unref some more to make valgrind happy.
357
358 2007-03-22  Wim Taymans  <wim@fluendo.com>
359
360         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
361         (gst_system_clock_id_wait_jitter),
362         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
363         Fix anoying regression that survived a few releases. When adding an
364         async entry while blocking on a sync entry, the sync entry will unblock
365         but still be busy, so it should continue to wait instead of returning
366         _BUSY to the app.
367         Add some comments here and there.
368
369         * tests/check/gst/gstsystemclock.c: (mixed_thread),
370         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
371         Add testcase for this.
372
373 2007-03-22  Wim Taymans  <wim@fluendo.com>
374
375         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
376         Handle errors from the clock sync better, only UNSCHEDULED indicates a
377         WRONG_STATE and can silently pause the task. All other cases should
378         error out.
379
380 2007-03-22  Wim Taymans  <wim@fluendo.com>
381
382         Patch by: <syrjala at sci dot fi>
383
384         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
385         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
386         Improve debugging.
387
388 2007-03-21  Michael Smith  <msmith@fluendo.com>
389
390         * docs/pwg/advanced-types.xml:
391           Fix some errors in the typefinding docs pointed out on irc.
392
393 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
394
395         * libs/gst/base/gstbasesrc.c:
396         Clarify FIXME comment in the face of having added unlock_stop()
397
398 2007-03-21  Wim Taymans  <wim@fluendo.com>
399
400         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
401         Prepare for release where we warn against possible app breakage in the
402         case of live pipelines along with an env var to enable/disable live
403         preroll mode (GST_COMPAT=[no-]live-preroll).
404
405 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
406
407         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
408         So we should use correct constants for checking for None offset.
409
410 2007-03-20  Wim Taymans  <wim@fluendo.com>
411
412         * docs/design/part-block.txt:
413         Mention the fact that the newly switched element should be set to at
414         least PAUSED.
415
416 2007-03-20  Wim Taymans  <wim@fluendo.com>
417
418         * gst/gst.c:
419         Fix compilation with registry disabled as spotted by Saur.
420
421 2007-03-20  Wim Taymans  <wim@fluendo.com>
422
423         Patch by: Olivier Crete <tester at tester dot ca>
424
425         * gst/gstelement.c: (gst_element_sync_state_with_parent):
426         Look at the pending state too when syncing the element state to the
427         parent. Fixes #420133.
428
429 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
430
431         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
432         (gst_base_sink_change_state):
433         * libs/gst/base/gstbasesink.h:
434         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
435         (gst_base_src_default_event), (gst_base_src_unlock_stop),
436         (gst_base_src_deactivate):
437         * libs/gst/base/gstbasesrc.h:
438         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
439         for sub-classes to correctly clear any state they set trying to
440         unlock, such as clearing out unlock commands from a command fd.
441
442         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
443         (gst_fd_sink_render), (gst_fd_sink_unlock),
444         (gst_fd_sink_unlock_stop):
445         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
446         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
447         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
448
449         Implement unlock_stop in fdsrc and fdsink.
450         Implement seeking in fdsrc when a seekable fd is passed, as in
451         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
452
453 2007-03-19  Wim Taymans  <wim@fluendo.com>
454
455         Patch by: Evan Nemerson <evan at coeus dash group dot com>
456
457         * gst/gstelement.c: (gst_element_class_init):
458         Fix pad-added and pad-removed signal signatures so that the pad type is
459         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
460
461 2007-03-19  Wim Taymans  <wim@fluendo.com>
462
463         * docs/gst/gstreamer-sections.txt:
464         Add new element field and method.
465
466         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
467         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
468         (gst_bin_recalc_state), (gst_bin_get_state_func),
469         (gst_bin_element_set_state), (gst_bin_change_state_func),
470         (gst_bin_continue_func), (bin_bus_handler),
471         (bin_push_state_continue), (bin_handle_async_start),
472         (bin_handle_async_done), (gst_bin_handle_message_func):
473         Make async state changes a bit smarter by using new ASYNC_START and
474         ASYNC_DONE messages. This reduces the number of times we run the state
475         recalculation thread.
476         Don't change state of element with a pending ASYNC_START message.
477         Deprecate STATE_DIRTY messages.
478         
479         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
480         (gst_element_get_state_func), (gst_element_continue_state),
481         (gst_element_lost_state), (gst_element_set_state_func),
482         (gst_element_change_state):
483         * gst/gstelement.h:
484         Keep the state that was last set by the app in a new element field.
485         Don't allow state changes when handling an element event.
486         Post ASYNC_START and ASYNC_DONE messages.
487         Change lost_state so that we go to PAUSED and wait for the parent to set
488         us to PLAYING again (so latency calculation can be performed)
489         Export gst_element_change_state() method so that subclasses can use it.
490         API: gst_element_change_state()
491         API: GST_STATE_TARGET
492
493         * gst/gstpipeline.c: (gst_pipeline_class_init),
494         (reset_stream_time), (gst_pipeline_change_state),
495         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
496         Using the new ASYNC_START message we can reset the base_time when
497         needed. This can then be used to implement base_time redistribution in
498         flushing seeks so that we can remove the explicit seek handling.
499         Perform latency query and configuration when going to PLAYING.
500
501         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
502         (gst_base_sink_query), (gst_base_sink_change_state):
503         Post new ASYNC_START/ASYNC_DONE messages.
504
505         * tests/check/generic/sinks.c: (GST_START_TEST):
506         Fix test because the bin will not set the async element to PLAYING right
507         away.
508
509         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
510         Make the message check a little stronger.
511         Handle ASYNC messages.
512
513         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
514         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
515         Expect ASYNC_DONE messages.
516
517 2007-03-19  Wim Taymans  <wim@fluendo.com>
518
519         * docs/gst/gstreamer-sections.txt:
520         * gst/gstmessage.c: (gst_message_new_async_start),
521         (gst_message_new_async_done), (gst_message_parse_info),
522         (gst_message_parse_async_start):
523         * gst/gstmessage.h:
524         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
525         support.
526
527 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
528
529         * tools/gst-inspect.c:
530         (print_plugin_automatic_install_info_codecs):
531           Now that we don't check for the 'Codec' keyword any longer in the
532           klass, we shouldn't spew a warning if the klass isn't a decoder or
533           encoder (since it might be a Source/Network, for example).
534
535 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
536
537         * tools/gst-inspect.c:
538         (print_plugin_automatic_install_info_codecs):
539           Don't require decoder/demuxer/depayloader elements or
540           encoder/muxer/paylader elements to have 'Codec' as part of their
541           factory class string when introspecting a plugin's capabilities.
542           draft-klass.txt mentions that it might be removed in future, and
543           flump3dec doesn't have it as part of its class string, so chances
544           are others might also not have it.
545
546 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
547
548         * po/af.po:
549         * po/az.po:
550         * po/bg.po:
551         * po/ca.po:
552         * po/cs.po:
553         * po/de.po:
554         * po/en_GB.po:
555         * po/fr.po:
556         * po/it.po:
557         * po/nb.po:
558         * po/nl.po:
559         * po/ru.po:
560         * po/sq.po:
561         * po/sr.po:
562         * po/sv.po:
563         * po/tr.po:
564         * po/uk.po:
565         * po/vi.po:
566         * po/zh_CN.po:
567         * po/zh_TW.po:
568           Update translations from translation project
569
570 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
571
572         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
573         (gst_child_proxy_set_property):
574           Invert precondition check to be alike the ones in the mimiced gobject
575           api.
576
577 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
578
579         * docs/design/draft-tagreading.txt:
580         * docs/random/ensonic/audiobaseclasses.txt:
581           Do some Architect work.
582
583         * gst/gstobject.c: (gst_object_set_name):
584           Add a WARNING.
585
586         * gst/gstpad.c:
587           Add docs that point from gst_pad_get_range to gst_pad_pull_range
588
589 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
590
591         * gst/gstsystemclock.c: (gst_system_clock_init),
592         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
593         Defer starting the async system clock thread until the first async
594         wait is scheduled. Fixes #414986.
595
596 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
597
598         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
599         (gst_single_queue_free):
600           Fix small leak (free GstSingleQueue structure too, not only contents).
601
602 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
603
604         * gst/gstbin.c:(gst_bin_add):
605         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
606         * win32/common/libgstbase.def:
607         * win32/common/libgstreamer.def:
608         Add new exported functions.
609
610 2007-03-09  Wim Taymans  <wim@fluendo.com>
611
612         * docs/plugins/gstreamer-plugins-sections.txt:
613         Fix GstTee docs.
614
615 2007-03-09  Wim Taymans  <wim@fluendo.com>
616
617         * docs/gst/gstreamer-sections.txt:
618         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
619         * gst/gstbuffer.h:
620         Add metadata copy functions. Fixes #393099.
621
622         * gst/gstutils.c: (gst_buffer_stamp):
623         * libs/gst/base/gstbasetransform.c:
624         (gst_base_transform_prepare_output_buffer):
625         Use new metadata copy functions.
626
627 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
628
629         * plugins/elements/gstidentity.c: (gst_identity_class_init),
630         (gst_identity_init), (gst_identity_check_perfect),
631         (gst_identity_check_imperfect_timestamp),
632         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
633         (gst_identity_set_property), (gst_identity_get_property):
634         * plugins/elements/gstidentity.h:
635         Separate out check-imperfect-timestamp and check-imperfect-offset.
636         Put back check-perfect as it was to keep compatibility.
637
638 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
639
640         * gst/gstelement.c: (gst_element_dispose):
641         There's no need to warn if VOID_PENDING is not NONE here, as
642         long as the state is NULL it's ok, and that's checked immediately
643         above.
644
645 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
646
647         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
648         Fix check for perfect stream to ignore buffers with -1 
649         offsets/offset ends when checking data contiguity.
650
651 2007-03-08  Wim Taymans  <wim@fluendo.com>
652
653         * tools/gst-launch.c: (event_loop):
654         Print INFO messages.
655
656 2007-03-08  Wim Taymans  <wim@fluendo.com>
657
658         * libs/gst/base/gstbasetransform.c:
659         (gst_base_transform_sink_eventfunc),
660         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
661         (gst_base_transform_activate):
662         * libs/gst/base/gstbasetransform.h:
663         Add support for dropping buffers with custom GstFlowReturn.
664         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
665         buffers or dropped buffers.
666
667         * docs/libs/gstreamer-libs-sections.txt:
668         docs for new custom return code.
669
670         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
671         Use drop support in base class to implement drop-probability.
672
673 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
674
675         * gst/gst.c: (load_plugin_func):
676         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
677         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
678         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
679           Remove newlines at end of debug log strings.
680
681 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
682
683         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
684         Only post bus message at max, once per buffer received.
685
686 2007-03-07  Wim Taymans  <wim@fluendo.com>
687
688         * docs/design/Makefile.am:
689         * docs/design/part-synchronisation.txt:
690         Add doc about synchronisation
691
692         * docs/design/draft-latency.txt:
693         * docs/design/part-TODO.txt:
694         * docs/design/part-clocks.txt:
695         * docs/design/part-events.txt:
696         * docs/design/part-gstbus.txt:
697         * docs/design/part-gstpipeline.txt:
698         * docs/design/part-live-source.txt:
699         * docs/design/part-messages.txt:
700         * docs/design/part-overview.txt:
701         * docs/design/part-streams.txt:
702         * docs/design/part-trickmodes.txt:
703         Documentation updates.
704
705 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
706
707         * gstreamer.doap:
708         Update the doap file.
709
710 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
711
712         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
713         Rename non-perfect to imperfect for Mike and for the sanctity of the
714         language.
715         Also make sure bus message gets emitted for data-incontiguities.
716
717 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
718
719         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
720         (gst_identity_start):
721         * plugins/elements/gstidentity.h:
722         Emit bus message if check-perfect is true and we encounter a
723         non-perfect stream between 2 consecutive buffers.
724         Fixes #415394.
725
726 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
727
728         * configure.ac:
729         Back to CVS
730
731 === release 0.10.12 ===
732
733 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
734
735         * configure.ac:
736           releasing 0.10.12, "Inevitable Demise"
737
738 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
739
740         * configure.ac:
741          Version 0.10.11.2 (0.10.12 pre-release)
742          Bump libtool versioning.
743
744 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
745
746         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
747           Log flow-names and not numbers.
748
749 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
750
751         * configure.ac:
752           Convert to new AG_GST style.
753
754 2007-02-28  Wim Taymans  <wim@fluendo.com>
755
756         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
757         Don't unref query twice.
758
759 2007-02-28  Wim Taymans  <wim@fluendo.com>
760
761         * gst/gstvalue.c: (gst_value_transform_object_string),
762         (_gst_value_initialize):
763         Implement GstObject -> string transform so we print object names
764         when serializing GValues containing GstObjects.
765
766 2007-02-28  Wim Taymans  <wim@fluendo.com>
767
768         * docs/gst/gstreamer-sections.txt:
769         Add new stuff to docs.
770
771 2007-02-28  Wim Taymans  <wim@fluendo.com>
772
773         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
774         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
775         (gst_base_sink_change_state):
776         Improve latency query code.
777         Don't leak latency events.
778
779         * tests/check/gst/gstbin.c: (GST_START_TEST):
780         Improve debugging.
781
782 2007-02-28  Wim Taymans  <wim@fluendo.com>
783
784         * gst/gstelement.c: (gst_element_message_full),
785         (gst_element_get_state_func):
786         * gst/gstelement.h:
787         Improve docs a little. Added Since: for new macro.
788
789         * gst/gstobject.c: (gst_object_sink):
790         * gst/gstpipeline.c: (gst_pipeline_change_state),
791         (gst_pipeline_set_new_stream_time):
792         * gst/gstpipeline.h:
793         Improve debugging and docs.
794
795         * gst/gstutils.c: (gst_element_state_change_return_get_name):
796         Improve debugging.
797
798 2007-02-28  Wim Taymans  <wim@fluendo.com>
799
800         * gst/gstelement.c: (gst_element_message_full),
801         (gst_element_set_locked_state), (gst_element_get_state_func),
802         (gst_element_change_state):
803         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
804         Documentation updates.
805         Small code cleanups.
806
807         * gst/gstmessage.c: (gst_message_new_info),
808         (gst_message_parse_info):
809         * gst/gstmessage.h:
810         API: gst_message_new_info()
811         API: gst_message_parse_info()
812         Add INFO message create and parse code.
813
814 2007-02-28  Wim Taymans  <wim@fluendo.com>
815
816         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
817         (bin_query_latency_done):
818         Also report the live parameter of a latency query.
819
820 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
821
822         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
823           Copy the current generic/states example from -base and adapt so
824           we can use the exact same code everywhere.
825           Check a STATES_IGNORE_ELEMENTS env var which can be used
826           to ignore certain element factories for this test, which is
827           what is being done in -base
828         * tests/check/Makefile.am:
829           Mention this environment variable.
830
831 2007-02-27  Wim Taymans  <wim@fluendo.com>
832
833         * docs/gst/gstreamer-sections.txt:
834         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
835         (gst_bus_timed_pop), (gst_bus_pop):
836         * gst/gstbus.h:
837         API: gst_bus_timed_pop()
838         Implement gst_bus_timed_pop() to do a blocking timed wait for a
839         message to arrive on the bus.
840
841         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
842         (gst_bus_suite):
843         Two unit tests for new _timed_pop() function.
844
845 2007-02-23  Wim Taymans  <wim@fluendo.com>
846
847         * gst/gstpipeline.c: (gst_pipeline_change_state),
848         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
849         Don't ref a NULL clock in _provide_clock_func().
850         Don't allow an INVALID delay.
851         Don't try to calculate base_time with an invalid start_time.
852         Also distribute and notify a NULL clock when it was selected.
853
854         * tools/gst-launch.c: (event_loop):
855         Don't crash when a NULL clock was selected in the pipeline.
856
857 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
858
859         * docs/design/Makefile.am:
860         * docs/design/draft-missing-plugins.txt:
861         * docs/random/draft-missing-plugins.txt:
862           Some small updates: update plugin system identifier prefix
863           ('gstreamer.net' to 'gstreamer'), mention our new install
864           API in libgstbaseutils rather than libgimme-codec, add
865           reference to the online docs.
866
867 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
868
869         * win32/common/config.h:
870           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
871           use moap cl ci to only check in what is mentioned in the ChangeLog.
872
873 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
874
875         * docs/gst/gstreamer-sections.txt:
876         * gst/gstelement.h:
877           Fix up documentation to link to the correct GstGError section.
878           Add GST_ELEMENT_INFO macro since someone else added a Info message.
879
880 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
881
882         * tools/gst-launch.c: (event_loop):
883           Make sure that we actually show the important message part of a
884           warning message.
885           No need to check if the gerror is not NULL to free; first of all
886           g_free accepts NULL; and second the default error handler would
887           segfault if gerror was NULL.
888
889 2007-02-21  Wim Taymans  <wim@fluendo.com>
890
891         * docs/gst/gstreamer-sections.txt:
892         Removed docs as well.
893
894 2007-02-21  Wim Taymans  <wim@fluendo.com>
895
896         * gst/gstmessage.c: (gst_message_parse_duration):
897         * gst/gstmessage.h:
898         Remove new messages for release.
899
900 2007-02-20  Wim Taymans  <wim@fluendo.com>
901
902         * docs/design/part-gstghostpad.txt:
903         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
904         (gst_ghost_pad_new_full):
905         Make the ghostpad a parent of the internal pad again for better backward
906         compatibility. Don't write code that relies on this however.
907
908         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
909         (gst_pad_link_check_hierarchy):
910         Require that parents should be GstElements in the hierarchy check.
911
912 2007-02-20  Wim Taymans  <wim@fluendo.com>
913
914         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
915         (gst_bin_change_state_func), (bin_query_min_max_init),
916         (bin_query_latency_fold), (bin_query_latency_done),
917         (gst_bin_query):
918         Improve debug info.
919         Implement latency query.
920
921 2007-02-20  Wim Taymans  <wim@fluendo.com>
922
923         * docs/design/part-gstghostpad.txt:
924         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
925         (gst_ghost_pad_internal_do_activate_push),
926         (gst_ghost_pad_internal_do_activate_pull),
927         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
928         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
929         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
930         Do not set the internal pad as a parent anymore so we can avoid
931         hierarchy linking errors when the ghostpad has no parent yet. This also
932         fixes failed activation because of unlinked internal pads, which in
933         turn fixes the impossible case where you have to activate a pad before
934         you can add it to a running element.
935         Also fix the docs.
936
937         * gst/gstpad.c: (pre_activate), (post_activate),
938         (gst_pad_set_active), (gst_pad_activate_pull),
939         (gst_pad_activate_push), (gst_pad_check_pull_range):
940         Add some more debug info.
941         Mark activation mode in pre_activate so that we don't try to activate in
942         endless loops. Fixes #385084.
943
944 2007-02-19  Wim Taymans  <wim@fluendo.com>
945
946         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
947         (gst_base_transform_check_get_range):
948         Implement a checkgetrange function instead of relying on the default
949         core behaviour that assumes we can operate in pull mode if we have a
950         getrange function. First step at fixing #385084.
951
952 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
953
954         * gst/gstchildproxy.h:
955         * libs/gst/base/gstbasesink.h:
956         * libs/gst/base/gstbasesrc.h:
957         * libs/gst/base/gstbasetransform.h:
958         More docs coverage and some ChangeLog surgery (add missing names)
959
960 2007-02-15  Wim Taymans  <wim@fluendo.com>
961
962         * docs/design/part-TODO.txt:
963         * docs/design/part-activation.txt:
964         * docs/design/part-block.txt:
965         * docs/design/part-buffering.txt:
966         * docs/design/part-clocks.txt:
967         * docs/design/part-element-source.txt:
968         * docs/design/part-events.txt:
969         * docs/design/part-gstbin.txt:
970         * docs/design/part-gstbus.txt:
971         * docs/design/part-gstpipeline.txt:
972         * docs/design/part-live-source.txt:
973         * docs/design/part-messages.txt:
974         * docs/design/part-overview.txt:
975         * docs/design/part-qos.txt:
976         * docs/design/part-query.txt:
977         * docs/design/part-states.txt:
978         * docs/design/part-trickmodes.txt:
979         Some doc updates. Start renaming from stream_time to running_time where
980         it was used wrongly.
981
982 2007-02-15  Wim Taymans  <wim@fluendo.com>
983
984         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
985         Answer LATENCY query.
986
987 2007-02-15  Wim Taymans  <wim@fluendo.com>
988
989         * tests/check/gst/gstevent.c: (event_probe), (test_event),
990         (GST_START_TEST):
991         Improve debugging.
992
993 2007-02-15  Wim Taymans  <wim@fluendo.com>
994
995         * gst/gstpad.c: (gst_pad_get_internal_links_default),
996         (gst_pad_dispatcher):
997         Improve debugging of default pad dispatcher and query functions.
998
999 2007-02-15  Wim Taymans  <wim@fluendo.com>
1000
1001         * docs/gst/gstreamer-sections.txt:
1002         Remove old unused method.
1003
1004 2007-02-13  Wim Taymans  <wim@fluendo.com>
1005
1006         * tests/check/gst/gstsegment.c: (GST_START_TEST):
1007         Fix check
1008
1009 2007-02-13  Wim Taymans  <wim@fluendo.com>
1010
1011         * docs/design/part-seeking.txt:
1012         Some small update.
1013
1014         * gst/gstsegment.c: (gst_segment_set_seek):
1015         Revert old bogus change that should make seeking work again.
1016
1017 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
1018
1019         * docs/random/ensonic/dynlink.txt:
1020         * docs/random/ensonic/interfaces.txt:
1021         * docs/random/ensonic/receipies.txt:
1022           Possible dynamic reconnection api, plus some type fixes the other two
1023           docs.
1024
1025 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
1026
1027         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1028         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1029         Also check for an absolute path following file:// in the filesrc
1030         element. Remove redundant check and call g_path_is_absolute() on the
1031         unescaped location.
1032
1033 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
1034
1035         * docs/design/draft-klass.txt:
1036           Add existing category analysis.
1037           
1038         * gst/gstcaps.c:
1039           Fix doc example, framerate is a fraction.
1040
1041 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
1042
1043         * configure.ac:
1044         * docs/gst/Makefile.am:
1045         * docs/libs/Makefile.am:
1046         * docs/plugins/Makefile.am:
1047           Add crossreferences to glib/gobject docs.
1048
1049 2007-02-12  Wim Taymans  <wim@fluendo.com>
1050
1051         * docs/design/draft-latency.txt:
1052         Small update.
1053
1054         * docs/libs/gstreamer-libs-sections.txt:
1055         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1056         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
1057         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
1058         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
1059         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
1060         (gst_base_sink_get_position), (gst_base_sink_query),
1061         (gst_base_sink_change_state):
1062         * libs/gst/base/gstbasesink.h:
1063         API: gst_base_sink_query_latency() to let subclasses query the upstream
1064         latency.
1065         API: gst_base_sink_get_latency() to let subclasses query the configured
1066         latency in the sink.
1067         Implement query and set latency.
1068         Update some docs.
1069         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
1070         don't continue preroll when we are flushing. Fixes #405284.
1071
1072         * tests/check/pipelines/stress.c: (change_state_timeout),
1073         (quit_timeout), (GST_START_TEST), (stress_suite):
1074         Test for #405284.
1075
1076 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
1077
1078         Patch by: René Stadler <mail at renestadler de>
1079
1080         * docs/gst/gstreamer-sections.txt:
1081         * gst/gsttaglist.c: (_gst_tag_initialize):
1082         * gst/gsttaglist.h:
1083           API: add GST_TAG_REFERENCE_LEVEL (#403597).
1084
1085 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
1086
1087         * docs/libs/Makefile.am:
1088           Fix path to core docs.
1089
1090         * gst/gstbin.c: (gst_bin_get_by_interface),
1091         (gst_bin_iterate_all_by_interface):
1092           Refix docs by also renaming 'interface' to 'iface' in implementation.
1093
1094         * docs/gst/gstreamer-sections.txt:
1095         * gst/gstcaps.c:
1096         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1097         * gst/gstchildproxy.h:
1098         * gst/gstelementfactory.c:
1099         * gst/gstpadtemplate.h:
1100         * libs/gst/controller/gstcontroller.c:
1101         (gst_controlled_property_new):
1102           Document more.
1103
1104 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
1105
1106         * gst/gstbin.h:(gst_bin_get_by_interface),
1107         (gst_bin_iterate_all_by_interface):
1108         Replace interface parameter name by iface as interface is 
1109         a reserved keyword in Visual Studio for C++ projects so it removes
1110         a build error for application developpers using VS.
1111         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
1112         Fix a bug on Windows in uri format check. Now the prefix checked
1113         is file:// and next we check if the path after file:// is absolute.
1114         * win32/common/libgstbase.def:
1115         * win32/common/libgstdataprotocol.def:
1116         * win32/common/libgstgstreamer.def:
1117         Add new exported functions.
1118
1119 2007-02-09  Andy Wingo  <wingo@pobox.com>
1120
1121         * tests/check/pipelines/simple-launch-lines.c
1122         (simple_launch_lines_suite, test_tee): Disable tee test until I
1123         have time to fix it :-(
1124
1125         * tests/check/Makefile.am (noinst_HEADERS): 
1126         * tests/check/libs/libsabi.c: 
1127         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
1128         * tests/check/gst/gstabi.c: 
1129         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
1130
1131         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
1132         tests for push and pull tee behavior.
1133
1134         * plugins/elements/gsttee.h: 
1135         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
1136         mark as deprecated as well as unimplemented. It was a crack idea.
1137         Add support for tee operating in pull mode, off by default.
1138
1139         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
1140         normal-case logs down to LOG, raise errors to WARNING.
1141         (gst_registry_xml_read_cache): Don't log before calling a function
1142         that logs.
1143
1144         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
1145         exit (registry finalize).
1146         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
1147         DEBUG log when we emit signals that people don't even have the
1148         chance to connect to.
1149         (gst_registry_scan_path_level): Less logging in the normal case.
1150
1151 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
1152
1153         Patch by: Michal Benes <michal dot benes at itonis dot tv>
1154
1155         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1156         Correctly generate EOS for non-seekable files. We don't have a total
1157         length for them and would get an unexpected end of file if we only
1158         special-cased for regular files. (Fixes: #404569)
1159
1160 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
1161
1162         * tests/check/elements/filesrc.c: (GST_START_TEST),
1163         (filesrc_suite):
1164         Add unit test for the GstURIHandler interface in filesrc. This also
1165         tests the newly added file://localhost/foo/bar support.
1166
1167 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
1168
1169         * gst/gstelementfactory.h:
1170           The klass string is not a hierarchy. Add reference to the design doc
1171           for more information and common types.
1172
1173 2007-02-02  Wim Taymans  <wim@fluendo.com>
1174
1175         * gst/gstquery.c: (gst_query_new_latency):
1176         Remove old structure field.
1177
1178 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
1179
1180         * tools/gst-launch.1.in:
1181           Give example for network streaming (#351998)
1182
1183 2007-02-02  Wim Taymans  <wim@fluendo.com>
1184
1185         * docs/gst/gstreamer-sections.txt:
1186         Add docs for new methods.
1187
1188         * gst/gstevent.c: (gst_event_new_latency),
1189         (gst_event_parse_latency):
1190         * gst/gstevent.h:
1191         Add new LATENCY event to configure latency in a pipeline.
1192         API: gst_event_new_latency
1193         API: gst_event_parse_latency
1194
1195         * gst/gstmessage.c: (gst_message_new_buffering),
1196         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
1197         (gst_message_new_latency), (gst_message_parse_buffering),
1198         (gst_message_parse_lost_preroll):
1199         * gst/gstmessage.h:
1200         Added messages used in draft-latency.
1201         API: gst_message_new_lost_preroll
1202         API: gst_message_parse_lost_preroll
1203         API: gst_message_new_prerolled
1204         API: gst_message_new_latency
1205
1206         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1207         (gst_query_parse_latency):
1208         * gst/gstquery.h:
1209         Implemented new latency query as in design doc.
1210         API: gst_query_new_latency
1211         API: gst_query_set_latency
1212         API: gst_query_parse_latency
1213
1214 2007-02-02  Wim Taymans  <wim@fluendo.com>
1215
1216         * docs/design/draft-latency.txt:
1217         Slight redesign to allow for dynamic latency adjustments.
1218
1219         * docs/design/part-negotiation.txt:
1220         Fix some typos.
1221
1222 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
1223
1224         reviewed by: Wim Taymans <wim@fluendo.com>
1225
1226         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1227         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1228         Allow file://localhost/foo/bar URLs and correctly fail for every other
1229         hostname that one sets. This was gnomevfssrc is linked for those if
1230         installed as it can handle it (#403172)
1231
1232 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
1233
1234         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1235
1236         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1237         (unref_data), (gst_collect_pads_add_pad_full):
1238         * libs/gst/base/gstcollectpads.h:
1239         Don't put the previously added destroy notify in the GstCollectData
1240         struct as all it's padding is already used and we don't want to break
1241         ABI. Instead put in the pad's GObject data for now. This should be
1242         cleaned up for 0.11 (#402393).
1243
1244 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
1245
1246         reviewed by: Wim Taymans <wim@fluendo.com>
1247
1248         * docs/libs/gstreamer-libs-sections.txt:
1249         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1250         (unref_data), (gst_collect_pads_add_pad),
1251         (gst_collect_pads_add_pad_full):
1252         * libs/gst/base/gstcollectpads.h:
1253         API: Add function to specify a destroy notification for custom
1254         GstCollectData when adding new pads in GstCollectPads (#402393).
1255
1256 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
1257
1258         * po/sv.po:
1259           Update Swedish translation (#378255).
1260
1261 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
1262
1263         * docs/design/draft-klass.txt:
1264           Fix the previous change, this is a list of categories and not a hierarchy.
1265
1266 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
1267
1268         * docs/design/draft-klass.txt:
1269           Add info about how to get a list of used classes.
1270
1271 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
1272
1273         * plugins/elements/gsttypefindelement.c:
1274         (gst_type_find_element_chain_do_typefinding),
1275         (gst_type_find_element_change_state):
1276           Don't leak found caps in chain function (no idea why that never
1277           showed up as a leak anywhere).
1278
1279 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
1280
1281         * gst/gstplugin.h:
1282           Fix and expand GstPluginDesc API docs.
1283
1284 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
1285
1286         * gst/gstcaps.c:
1287         * gst/gstelementfactory.c:
1288         * gst/gstpadtemplate.h:
1289           api doc fixes
1290
1291         * libs/gst/controller/gstcontroller.c:
1292         (gst_controlled_property_new):
1293         * tests/examples/controller/audio-example.c:
1294           comment fixes
1295
1296 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
1297
1298         * configure.ac:
1299           comment about refining the xml deps
1300
1301         * docs/manuals.mak:
1302           comments about moving away from jade for docs
1303         
1304         * gst/gst.c:
1305           recommit the ifdefs to use the binary registry
1306         
1307         * gst/gstbin.c: (gst_bin_change_state_func):
1308           this break is obsolete
1309
1310         * gst/gstelementfactory.h:
1311           better GST_ELEMENT_DETAILS docs, add comment about translation
1312
1313         * gst/gstinfo.h:
1314           remove eol slash
1315
1316         * gst/gstobject.c: (gst_signal_object_get_type):
1317           add G_UNLIKELY as usual
1318
1319         * gst/gstpad.c: (gst_pad_event_default):
1320           add fall trhu comment
1321
1322         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1323         (gst_registry_binary_initialize_magic),
1324         (gst_registry_binary_save_string),
1325         (gst_registry_binary_save_pad_template),
1326         (gst_registry_binary_save_feature),
1327         (gst_registry_binary_save_plugin),
1328         (gst_registry_binary_write_cache),
1329         (gst_registry_binary_check_magic),
1330         (gst_registry_binary_load_pad_template),
1331         (gst_registry_binary_load_feature),
1332         (gst_registry_binary_load_plugin),
1333         (gst_registry_binary_read_cache):
1334           comment typo and formatting
1335
1336         * gst/gstutils.c: (gst_element_state_get_name),
1337         (gst_element_state_change_return_get_name):
1338           remove obsolete breaks
1339
1340         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1341           add FIXME 0.11 and remove cpp comment
1342
1343 2007-01-29  Edward Hervey  <edward@fluendo.com>
1344
1345         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1346         Fix print statement in an even more portable way.
1347
1348 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
1349
1350         * docs/gst/gstreamer-sections.txt:
1351         * gst/gstutils.h:
1352           API: add GST_ROUND_DOWN_* macros (#401781).
1353
1354 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
1355
1356         * docs/gst/gstreamer.types.in:
1357         * gst/gstregistry.c: (gst_registry_class_init):
1358           Document registry signals and make gtk-doc pick them up (#401381).
1359
1360 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
1361
1362         * docs/pwg/building-testapp.xml:
1363           Add some audioconverts and audioresample to the pipeline, and some
1364           more comments and error handling.
1365
1366 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
1367
1368         * docs/manual/manual.xml:
1369         * docs/pwg/pwg.xml:
1370           Fix typo (#400987).
1371
1372 2007-01-26  Wim Taymans  <wim@fluendo.com>
1373
1374         * gst/gstcaps.c: (gst_static_caps_get):
1375         Init caps flags too.
1376
1377 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
1378
1379         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
1380
1381         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1382         If not using mmap'ed files try to seek to the end instead of the
1383         start to determine whether we can seek at all. This fixes the case
1384         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
1385         seeks for everything afterwards fail. Fixes #400656
1386
1387 2007-01-25  Wim Taymans  <wim@fluendo.com>
1388
1389         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
1390         Add some refcount debugging.
1391         Make gst_static_caps_get threadsafe, which is needed when autoplugging
1392         in multiple streaming threads.
1393
1394 2007-01-25  Wim Taymans  <wim@fluendo.com>
1395
1396         Patch by: David Schleef <ds at schleef dot org>
1397
1398         * docs/libs/gstreamer-libs-sections.txt:
1399         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
1400         * libs/gst/base/gstadapter.h:
1401         API: gst_adapter_copy() that can reduce the amount of memcpy when
1402         getting data from the adapter. Fixes #388201.
1403
1404 2007-01-25  Edward Hervey  <edward@fluendo.com>
1405
1406         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1407         In print statements, "%x" is for guint. Fixes build on macosx.
1408
1409 2007-01-24  Edward Hervey  <edward@fluendo.com>
1410
1411         * plugins/elements/gstmultiqueue.c:
1412         (gst_multi_queue_loop):
1413         Small fix.
1414         (single_queue_overrun_cb), (single_queue_underrun_cb),
1415         (single_queue_check_full), (gst_single_queue_new):
1416         Implement single queue growth system.
1417         This uses the extra-size properties, and will grow single queues by
1418         that much if one goes full whereas there are others empty. This is
1419         called extra-mode in the code.
1420         When a single queue's levels go back below the initial max-size
1421         limits, it is no longer in extra-mode. This is to ensure we don't
1422         consume too much memory.
1423         Fixes #399875
1424
1425 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
1426
1427         * gst/gst.c: (gst_init_get_option_group):
1428           Make warning about late g_thread_init() calls a bit more explicit,
1429           so that it's more obvious to application developers what they need
1430           to do if a user files a bug against their application.
1431
1432 2007-01-22  Edward Hervey  <edward@fluendo.com>
1433
1434         * plugins/elements/gstmultiqueue.c:
1435         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
1436         Remove previous hack of unsetting the flushing flag for the source pad
1437         instead of activating it. Instead, fix the source pad activate function
1438         so that it no longer depends on having a parent set or not.
1439
1440 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
1441
1442         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
1443
1444         * docs/manual/basics-bus.xml:
1445           Fix example code, gst_element_unref() doesn't exist any longer.
1446
1447 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
1448
1449         Patch by: Mark Nauwelaerts <manauw at skynet be>
1450
1451         * gst/gstpad.c:
1452           Fix two docs typoes (#399094).
1453
1454 2007-01-19  Edward Hervey  <edward@fluendo.com>
1455
1456         * docs/faq/gst-uninstalled:
1457         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
1458         depending on libgstbaseutils can work in uninstalled environment.
1459
1460 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
1461
1462         * gst/gsttaglist.h:
1463         * gst/gsttagsetter.c:
1464         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
1465         statement for new tag.
1466
1467 2007-01-17  Edward Hervey  <edward@fluendo.com>
1468
1469         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
1470         When dynamically creating single queues, activate sinkpad before adding
1471         it.
1472         We should be doing the same thing for the source pad, but we can't
1473         since it would call a method which needs the parent to be set in order
1474         to work propertly. Instead of activating the source pad, we just unset
1475         the flushing flag, which is the minimal requirement for adding a pad
1476         to an element in a state greater than READY.
1477
1478 2007-01-17  Edward Hervey  <edward@fluendo.com>
1479
1480         * docs/faq/gst-uninstalled:
1481         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
1482         Mac OS X.
1483
1484 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
1485
1486         * tests/check/gst/gstabi.c:
1487         * tests/check/gst/struct_hppa.h:
1488         * tests/check/libs/libsabi.c:
1489         * tests/check/libs/struct_hppa.h:
1490           Add ABI structs for HPPA (see #393796).
1491
1492 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
1493
1494         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
1495           Actually write ABI structs to the file specified in the GST_ABI
1496           environment variable, as the message we print claims we would.
1497
1498 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1499
1500         * tests/check/gst/gsttask.c:
1501           Fix header comment.
1502
1503 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1504
1505         * gst/gsttaglist.c: (_gst_tag_initialize):
1506           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
1507           previous two entries.
1508
1509 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1510
1511         * docs/gst/gstreamer-sections.txt:
1512         * gst/gsttaglist.c: (_gst_tag_initialize):
1513         * gst/gsttaglist.h:
1514           Add tag support for beat-per-minute.
1515
1516 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1517
1518         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1519         (gst_registry_binary_initialize_magic),
1520         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
1521         (gst_registry_binary_save_pad_template),
1522         (gst_registry_binary_save_feature),
1523         (gst_registry_binary_save_plugin),
1524         (gst_registry_binary_write_cache),
1525         (gst_registry_binary_check_magic),
1526         (gst_registry_binary_load_pad_template),
1527         (gst_registry_binary_load_feature),
1528         (gst_registry_binary_load_plugin),
1529         (gst_registry_binary_read_cache):
1530         * gst/gstregistrybinary.h:
1531           Use glib types, cleanup comments, impement interfaces and uri-types.
1532
1533 2007-01-13  Andy Wingo  <wingo@pobox.com>
1534
1535         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
1536         getrange() to return buffers with other caps, while we fix
1537         demuxers and typefind, or otherwise change part-negotiation.txt.
1538
1539 2007-01-12  Andy Wingo  <wingo@pobox.com>
1540
1541         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
1542         Factor start/stop into this private function instead of partially
1543         in activate functions and partially in the change_state function.
1544         Fixes setup before the element has changed from READY->PAUSED, as
1545         is the case in pull-mode pipelines.
1546         (gst_base_transform_sink_activate_push)
1547         (gst_base_transform_src_activate_pull): Refactor to use
1548         gst_base_transform_activate().
1549         (gst_base_transform_change_state): Removed, not needed any more.
1550
1551         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1552         Truncate before fixating.
1553         
1554         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1555         Don't set_caps() if the result of fixating is ANY, as it's not
1556         supported, and not necessary in the case of a link with no
1557         template caps on either side. Fixes tests/check/libs/basesrc in
1558         some pull-mode tests.
1559
1560         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
1561         (gst_base_transform_init, gst_base_transform_sink_activate_push)
1562         (gst_base_transform_src_activate_pull): 
1563         Track the activation mode.
1564         (gst_base_transform_setcaps): In pull mode, when activating the
1565         src pad, after activating the sink pad, activate the sink pad's
1566         peer, as discussed in part-negotiation.txt.
1567
1568         * libs/gst/base/gstbasesrc.h: 
1569         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
1570         vmethod, as in basesink.
1571
1572         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
1573
1574         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
1575         mode, first proxy the setcaps to the peer pad.
1576         (gst_base_sink_pad_fixate): Add a fixate function that calls the
1577         new fixate vmethod.
1578         (gst_base_sink_default_activate_pull): Rename from
1579         gst_base_sink_activate_pull.
1580         (gst_base_sink_negotiate_pull): New function, performs negotiation
1581         in pull mode before calling ::activate_pull().
1582         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
1583         vmethod instead of the default implementation. I have no idea how
1584         this worked before. Negotiate before calling activate_pull.
1585
1586         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
1587         sink pads in pull mode. In addition to being correct, fixes
1588         filesrc ! decodebin ! identity ! fakesink.
1589         (gst_pad_get_range, gst_pad_pull_range): Don't call
1590         gst_pad_set_caps() if the caps changes; instead error out with
1591         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
1592
1593 2007-01-12  Andy Wingo  <wingo@pobox.com>
1594
1595         * docs/design/part-negotiation.txt: Update with more policy.
1596
1597 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
1598
1599         * libs/gst/check/gstbufferstraw.h:
1600         * libs/gst/check/gstcheck.h:
1601           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
1602           belongs.
1603
1604 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
1605
1606         * tests/check/Makefile.am:
1607         * tests/check/gst/.cvsignore:
1608         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
1609         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
1610         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
1611         (GST_START_TEST), (gst_tag_setter_suite):
1612           Add minimal unit test for beforementioned GstTagSetter bug.
1613
1614 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
1615
1616         Patch by: René Stadler <mail at renestadler dot de>
1617
1618         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1619           gst_tag_list_merge() returns a new list, so it's not the best idea
1620           to ingore its return value. Effectively meant that tags could only
1621           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
1622           Also add function guard to require a non-NULL taglist as input (has
1623           always been so due to gst_tag_list_copy(), just making it explicit).
1624
1625 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
1626
1627         * docs/random/draft-missing-plugins.txt:
1628           Some additions: mention new API that is supposed to be used at the
1629           various stages; short blob about new gst-inspect introspection
1630           option; mention potential future problem with plugins that have
1631           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
1632
1633 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
1634
1635         * tools/gst-inspect.c:
1636         (print_plugin_automatic_install_info_codecs),
1637         (print_plugin_automatic_install_info_protocols),
1638         (print_plugin_automatic_install_info), (main):
1639         Add --print-plugin-auto-install-info option to gst-inspect, so we can
1640         introspect plugin files and get machine-parsable output that corresponds
1641         to the last bit of the missing-plugin installer string (small gotcha:
1642         doesn't take into account ranks).
1643
1644 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
1645
1646         * configure.ac:
1647         * docs/gst/gstreamer-sections.txt:
1648         * gst/Makefile.am:
1649         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
1650         (gst_registry_lookup_locked):
1651         * gst/gstregistry.h:
1652         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1653         (gst_registry_binary_initialize_magic),
1654         (gst_registry_binary_save_string),
1655         (gst_registry_binary_save_pad_template),
1656         (gst_registry_binary_save_feature),
1657         (gst_registry_binary_save_plugin),
1658         (gst_registry_binary_write_cache),
1659         (gst_registry_binary_check_magic),
1660         (gst_registry_binary_load_pad_template),
1661         (gst_registry_binary_load_feature),
1662         (gst_registry_binary_load_plugin),
1663         (gst_registry_binary_read_cache):
1664         * gst/gstregistrybinary.h:
1665         * gst/gstregistryxml.c: (load_feature),
1666         (gst_registry_xml_read_cache):
1667           commit binary registry (disabled by default, see #359653)
1668
1669 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
1670
1671         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
1672           Fix 'make check' too.
1673
1674 2007-01-10  Andy Wingo  <wingo@pobox.com>
1675
1676         * docs/design/part-negotiation.txt: Fix a typo, add a couple
1677         notes.
1678         
1679         * docs/design/part-negotiation.txt: Update with, um, one way that
1680         pull-mode negotiation might work?
1681
1682         * gst/gstpad.h: 
1683         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
1684         that the pad must be a src pad; makes sense to call it the other
1685         way in pull mode, and the logic is symmetric anyway.
1686
1687 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
1688
1689         * plugins/elements/gstfilesink.c:
1690           Include <stdio.h> for fseeko().
1691
1692 2007-01-10  Wim Taymans  <wim@fluendo.com>
1693
1694         * gst/gstevent.c:
1695         * gst/gstevent.h:
1696         Reserve LATENCY event.
1697
1698 2007-01-09  Wim Taymans  <wim@fluendo.com>
1699
1700         * docs/design/draft-latency.txt:
1701         Updates.
1702
1703 2007-01-09  Wim Taymans  <wim@fluendo.com>
1704
1705         * docs/design/draft-latency.txt:
1706         Updates.
1707
1708         * gst/gstelement.h:
1709         * gst/gststructure.c:
1710         * gst/gsttrace.c:
1711         Small typo fixes.
1712
1713 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
1714
1715         * tests/check/.cvsignore:
1716           Ignore test-registry.xml as well.
1717
1718 2007-01-09  Wim Taymans  <wim@fluendo.com>
1719
1720         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
1721         unref data at the end when we are done with the pad.
1722
1723 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
1724
1725         * docs/gst/gstreamer-sections.txt:
1726         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
1727         (init_post), (gst_deinit), (gst_update_registry):
1728         * gst/gst.h:
1729           API: add gst_update_registry() (#391296).
1730
1731         * tests/check/Makefile.am:
1732         * tests/check/gst/gstregistry.c:
1733         * tests/check/gst/.cvsignore:
1734           Simple unit test for the above.
1735
1736 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
1737
1738         * gst/gstregistry.c: (gst_registry_scan_path_level):
1739           Plugin extension on HP-UX is .sl, add that to the list of approved
1740           plugin extensions (see #393796).
1741
1742         * tests/check/gst/gstpad.c: (GST_START_TEST):
1743           ulong => gulong. Fixes compilation with HP-UX compiler.
1744
1745         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1746           Fix compilation if valgrind headers are not available.
1747
1748 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
1749
1750         * win32/common/libgstreamer.def: 
1751           Add new exported function.
1752         * win32/vs6/libgstbase.dsp: 
1753           Add gstdataqueue.c to the build.
1754         * win32/vs6/libgstcoreelements.dsp:
1755           Add gstmultiqueue.c to the build.
1756         
1757 2007-01-06  Andy Wingo  <wingo@pobox.com>
1758
1759         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
1760         activate_pull(), providing for a way to specialize the process of
1761         spawning a thread to pull on the sink pad. There is a default
1762         implementation.
1763
1764         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
1765         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
1766         (gst_base_sink_init): Renamed pad activation functions (inserting
1767         "_pad" in their names). Refactor to use the new activate_pull
1768         vmethod, as appropriate.
1769         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
1770         default activate_pull function to start a task pulling from the
1771         sink pad, as before.
1772
1773         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
1774         on the pads if necessary, as in push()/chain(). Update docs.
1775         Shouldn't affect existing pull() usage as it is currently only
1776         being used on buffers without caps.
1777
1778 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1779
1780         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1781         (init_pre):
1782           Call g_thread_init() first thing in gst_init() / gst_check_init().
1783           When initialisation is done via gst_init_get_option_group() and
1784           GOption parsing, issue a warning if the GLib thread system has not
1785           been initialised yet by the time gst_init_get_option_group() is
1786           called, as it's quite likely other GLib functions such as
1787           g_option_context_new() have been called already then, and
1788           g_thread_init() must be called before any other GLib function. The
1789           application in question must be fixed in that case, since memory
1790           corruption might happen otherwise.
1791           We issue the warning because even if the GLib folks decide to work
1792           around the problem on their end in future, this is still an issue
1793           with all GLib versions >= 2.10.0, so we should warn until we depend
1794           on a GLib version we know to be safe.
1795           Update documentation as well.
1796           Closes bug #391278.
1797
1798 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1799
1800         * tools/gst-inspect.c: (main):
1801         * tools/gst-launch.c: (main):
1802         * tools/gst-typefind.c: (main):
1803         * tools/gst-xmlinspect.c: (main):
1804           Call g_thread_init() really really early, before any other GLib
1805           function (see #342564 and recent discussion on gtk-devel-list).
1806
1807 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1808
1809         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
1810
1811         * gst/gst_private.h:
1812         * gst/gstconfig.h.in:
1813         * gst/gstinfo.h:
1814           On win32, all the __declspec stuff for symbol exporting is
1815           apparently only needed with MSVC, but doesn't work with MingW.
1816           Fixes compilation with MingW and #391909.
1817
1818 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1819
1820         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
1821           Change some GST_ERROR_OBJECT that aren't really errors to
1822           GST_WARNING_OBJECT in order to reduce terminal spam.
1823
1824 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
1825
1826         * tests/check/Makefile.am:
1827           disable test again, as there seem to be still race problems
1828
1829 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
1830
1831         * tests/check/Makefile.am:
1832         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1833         (GST_START_TEST), (queue_suite):
1834           enable queue test again, add tests for the leaky behaviour
1835
1836 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
1837
1838         * configure.ac:
1839         * tests/examples/Makefile.am:
1840           Compile adapter test/example only if the required headers are
1841           available (fixes #391915).
1842
1843 2007-01-01  David Schleef  <ds@schleef.org>
1844
1845         * gst/gstplugin.c:
1846           Restore the previous signal handler for SIGSEGV instead of
1847           setting to default, since we may have stolen it away from
1848           someone.  (i.e., Mono)
1849
1850 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
1851
1852         * docs/random/draft-missing-plugins.txt:
1853           Some small additions and clarifications.
1854
1855 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
1856
1857         * gst/gstregistryxml.c: (gst_registry_save_escaped):
1858           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
1859           since that can lead to random memory corruptions and crashes
1860           (may or may not be related to #383244, #386711, and #386711).
1861
1862 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1863
1864         * tests/check/.cvsignore:
1865         * tests/check/Makefile.am:
1866           sync .cvsignome and CLEANFILES
1867
1868 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1869
1870         * tests/check/Makefile.am:
1871           fix distcheck
1872
1873 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1874
1875         * docs/design/part-states.txt:
1876           two tiny additional comments
1877         
1878         * gst/gststructure.c:
1879           doc fixing
1880
1881         * tests/check/Makefile.am:
1882         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1883         (GST_START_TEST):
1884           disable test for now, unless it gets fixed
1885
1886 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1887
1888         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1889         (GST_START_TEST):
1890           fix race in underrun test
1891
1892 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1893
1894         * tests/check/elements/.cvsignore:
1895           ignore more
1896
1897         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1898         (GST_START_TEST):
1899           try to narrow test failure
1900
1901 2006-12-21  David Schleef  <ds@schleef.org>
1902
1903         * plugins/elements/gstfakesrc.c:
1904           Use g_random_int_range(), since it produces better random
1905           numbers in a range than almost-correct floating point code.
1906
1907 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1908
1909         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1910         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1911         (gst_check_teardown_sink_pad):
1912           do not automatically (de)activate pads
1913
1914         * tests/check/Makefile.am:
1915         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1916         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
1917           add new, yet simple tests for queue
1918
1919         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
1920         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
1921         * tests/check/elements/filesrc.c: (cleanup_filesrc),
1922         (GST_START_TEST):
1923         * tests/check/elements/identity.c: (cleanup_identity):
1924           consistent pad (de)activation
1925
1926 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
1927
1928         Patch by: Sebastian Dröge  <slomo ubuntu com>
1929
1930         * libs/gst/base/gstcollectpads.c:
1931           Fix two doc typos (#387866).
1932
1933 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
1934
1935         * docs/manual/advanced-dparams.xml:
1936           Fix typo (g_object_control_properties() doesn't exist).
1937
1938 2006-12-19  Edward Hervey  <edward@fluendo.com>
1939
1940         * gst/gstsegment.c: (gst_segment_set_seek):
1941         Fine tune the cases where the segment start/stop values are really
1942         updated.
1943         * tests/check/gst/gstsegment.c: (GST_START_TEST):
1944         Add tests for the return values of gst_segment_set_seek().
1945
1946 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
1947
1948         * gst/gst.c:
1949           Docs typo fix.
1950
1951         * plugins/elements/gstqueue.c: (gst_queue_class_init),
1952         (gst_queue_init):
1953           Fix incorrect documentation and flesh it out a bit more.
1954           Set default values for the max properties on the GParamSpec as well,
1955           so it shows up correctly in gst-inspect.
1956
1957 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
1958
1959         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
1960           Correct docs of queue, add more detail and crosslink it more.
1961
1962 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
1963
1964         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1965           Print additional debug info when the stream isn't perfectly
1966           timestamped; don't try to use invalid durations.
1967
1968 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
1969
1970         * docs/design/Makefile.am:
1971           Dist new design docs.
1972
1973 2006-12-16  Wim Taymans  <wim@fluendo.com>
1974
1975         Patch by: Sjoerd Simons <sjoerd at luon dot net>
1976
1977         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
1978         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
1979         (gst_collect_pads_stop), (gst_collect_pads_event),
1980         (gst_collect_pads_chain):
1981         * libs/gst/base/gstcollectpads.h:
1982         Add refcounting to the collectpads data so we can track when it's safe
1983         to free the data. Fixes #383382.
1984
1985 2006-12-15  Wim Taymans  <wim@fluendo.com>
1986
1987         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1988         (gst_collect_pads_remove_pad):
1989         Automatically activate/deactivate pads when they are added to a
1990         started/stoped collectpads.
1991
1992 2006-12-15  Wim Taymans  <wim@fluendo.com>
1993
1994         * gst/gstelement.c: (gst_element_add_pad):
1995         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
1996         * gst/gstpad.c: (gst_pad_init):
1997         Set pads to FLUSHING when they are created. Check, warn and fix when a
1998         demuxer adds an inactive pad to itself when running. Fixes #339326.
1999
2000 2006-12-15  Wim Taymans  <wim@fluendo.com>
2001
2002         * gst/gstelement.c: (gst_element_class_init),
2003         (gst_element_default_send_event), (gst_element_send_event),
2004         (gst_element_default_query), (gst_element_query):
2005         Expose default element send_event and query handling as vmethods that
2006         subclasses can chain up to.
2007
2008 2006-12-15  Wim Taymans  <wim@fluendo.com>
2009
2010         * gst/gstelement.c: (gst_element_set_state_func):
2011         Small documentation fixes.
2012
2013 2006-12-15  Wim Taymans  <wim@fluendo.com>
2014
2015         * docs/design/draft-latency.txt:
2016         Checked in draft for handling latency in pipelines.
2017
2018 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2019
2020         * Makefile.am:
2021         * gstreamer.doap:
2022         * gstreamer.spec.in:
2023           adding .doap file
2024
2025 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
2026
2027         * gst/gst.c: (init_pre), (init_post):
2028           init_pre() and init_post() might be called via our GOptionGroup or
2029           from gst_init(), and we should skip both of them if we've already
2030           been initialised, otherwise we will init some things twice or add
2031           two default log functions.
2032
2033 2006-12-13  Edward Hervey  <edward@fluendo.com>
2034
2035         * docs/manual/basics-bus.xml:
2036         No, gst_main_loop does not exist. Its g_main_loop.
2037         Discovered by somebody who abused the copy-paste technique of coding :)
2038
2039 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
2040
2041         * gst/gstghostpad.c:
2042           Log ghostpad debug stuff to the GST_PADS category as well rather
2043           than just to the default category.
2044
2045 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
2046
2047         * configure.ac:
2048         * gst/gst.c: (init_pre):
2049           Add some basic system details such as OS and architecture
2050           to the debug output if possible, courtesy of uname().
2051
2052 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
2053
2054         * docs/gst/running.xml:
2055           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
2056           environment variables.
2057
2058 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
2059
2060         * tests/check/gst/gstbin.c: (GST_START_TEST):
2061         It is acceptable to have a refcount of 2 or 3 at this point in the
2062         test, because the pipeline might be just posting its state_change
2063         message. The next line then waits for that message to appear using
2064         bus_poll, so that should be fine too.
2065
2066 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
2067
2068         * gst/gst.c: (ensure_current_registry_forking):
2069         Ignore EINTR when reading from the child registry pipe.
2070         Explicitly ignore the return value from close, since it makes no
2071         difference.
2072
2073         * gst/gstminiobject.c: (gst_mini_object_ref),
2074         (gst_mini_object_unref):
2075         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
2076
2077         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
2078         When removing cached plugins, remove their features too, so they're
2079         not visible after they've disappeared.
2080
2081         * gst/gstutils.c: (prepare_link_maybe_ghosting):
2082         In the unlikely case that we are linking pads with no parents, don't
2083         crash trying to get the non-existent parent bin.
2084
2085         * gst/parse/grammar.y:
2086         Output debug in the PIPELINE category
2087
2088 2005-03-08  Wim Taymans  <wim@fluendo.com>
2089
2090         Patch by: René Stadler <mail at renestadler dot de>
2091
2092         * gst/gstclock.c: (gst_clock_new_periodic_id):
2093         Reject invalid clock times for interval of periodic ids.
2094         Fixes ##383506.
2095
2096 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
2097
2098         * gst/gstelementfactory.c: (gst_element_factory_create):
2099         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2100         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
2101         * tools/gst-inspect.c: (print_element_info):
2102         Fix refcounting of gst_plugin_feature_load to match the docs. 
2103         Fixes: #380129
2104
2105 2006-12-07  Wim Taymans  <wim@fluendo.com>
2106
2107         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
2108         (gst_base_sink_get_position):
2109         Improve debugging of events.
2110
2111 2006-12-07  Wim Taymans  <wim@fluendo.com>
2112
2113         Patch by: René Stadler <mail at renestadler dot de>
2114
2115         * gst/gstclock.c: (gst_clock_id_wait):
2116         Make period ids add the interval to the origial requested time instead
2117         of the possibly updated time which can be wrong when there are multiple
2118         waiters for the same id. Fixes #382592.
2119
2120         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
2121         (gst_system_clock_id_wait_jitter_unlocked),
2122         (gst_system_clock_id_wait_jitter):
2123         Fix restart in the async notify thread when an async entry is added to
2124         the front of the list. Fixes #381492. 
2125
2126         * tests/check/gst/gstsystemclock.c: (store_callback),
2127         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
2128         Added test for multiple async waits.
2129         Added test for async wait order.
2130
2131 2006-12-07  Wim Taymans  <wim@fluendo.com>
2132
2133         * gst/gstbin.c: (gst_bin_query):
2134         Add some more docs about the POSITION query.
2135
2136 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
2137
2138         * configure.ac:
2139         Bump version nano - back to CVS.
2140
2141 === release 0.10.11 ===
2142
2143 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
2144
2145         * configure.ac:
2146           releasing 0.10.11, "Love never runs on time"
2147
2148 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
2149
2150         * win32/common/libgstbase.def:
2151         * win32/common/libgstreamer.def:
2152         * win32/vs8/libgstbase.vcproj:
2153         * win32/vs8/libgstcoreelements.vcproj:
2154         * win32/vs8/libgstreamer.vcproj:
2155         Fix compilation on win32 under VS8
2156         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2157         Partially fixes #381175
2158
2159 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
2160
2161         * gst/gstvalue.c: (gst_value_compare_fraction):
2162         If someone is foolish enough to compare 2 fractions with denominator =
2163         0, return UNORDERED rather than aborting.
2164
2165 2006-11-28  Edward Hervey  <edward@fluendo.com>
2166
2167         * libs/gst/base/Makefile.am:
2168         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
2169         (gst_data_queue_base_init), (gst_data_queue_class_init),
2170         (gst_data_queue_init), (gst_data_queue_new),
2171         (gst_data_queue_cleanup), (gst_data_queue_finalize),
2172         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
2173         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
2174         (gst_data_queue_is_empty), (gst_data_queue_is_full),
2175         (gst_data_queue_set_flushing), (gst_data_queue_push),
2176         (gst_data_queue_pop), (gst_data_queue_drop_head),
2177         (gst_data_queue_set_property), (gst_data_queue_get_property):
2178         * libs/gst/base/gstdataqueue.h:
2179         New GstDataQueue object for threadsafe queueing. Most useful for
2180         elements that need some queueing functionnality.
2181         * docs/libs/gstreamer-libs-docs.sgml:
2182         * docs/libs/gstreamer-libs-sections.txt:
2183         Insert documentation for GstDataQueue
2184         * plugins/elements/Makefile.am:
2185         * plugins/elements/gstelements.c:
2186         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2187         (gst_multi_queue_class_init), (gst_multi_queue_init),
2188         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2189         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
2190         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
2191         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2192         (gst_multi_queue_loop), (gst_multi_queue_chain),
2193         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2194         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
2195         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
2196         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
2197         (wake_up_next_non_linked), (compute_next_non_linked),
2198         (single_queue_overrun_cb), (single_queue_underrun_cb),
2199         (single_queue_check_full), (gst_single_queue_new):
2200         * plugins/elements/gstmultiqueue.h:
2201         New multiqueue element, using GstDataQueue. Used for queuing multiple
2202         streams.
2203         Closes #344639 and #347785
2204
2205 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
2206
2207         * docs/pwg/advanced-types.xml:
2208           add more missing type details
2209
2210         * tools/gst-run.c: (main):
2211           remove unused variable
2212
2213 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
2214
2215         * docs/libs/Makefile.am:
2216         * docs/libs/gstreamer-libs.types:
2217           add types of base classes to enable gobject specific stuff in the docs
2218
2219         * docs/random/ensonic/embedded.txt:
2220           more ideas about isolating platform specific things
2221
2222 2006-11-20  Wim Taymans  <wim@fluendo.com>
2223
2224         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
2225
2226         * libs/gst/check/gstcheck.h:
2227         Fix compilation and running against 0.9.4. Fixes #377332.
2228
2229 2006-11-20  Wim Taymans  <wim@fluendo.com>
2230
2231         * gst/gstsegment.c: (gst_segment_set_seek),
2232         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2233         (gst_segment_to_running_time):
2234         Fix boundary checking in to_running_time() and to_stream_time().
2235         Fixes #377183.
2236
2237         * tests/check/gst/gstsegment.c: (GST_START_TEST):
2238         stream and running time can now be calculated for the complete
2239         clipped segment.
2240
2241 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
2242
2243         * gst/gstpad.c: (gst_pad_push_event):
2244           Can't access event structure after giving away ownership of
2245           the event.
2246
2247 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
2248
2249         * docs/random/ensonic/embedded.txt:
2250         * docs/random/ensonic/profiling.txt:
2251         * docs/random/ensonic/receipies.txt:
2252           more thinking
2253
2254 2006-11-13  Wim Taymans  <wim@fluendo.com>
2255
2256         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2257
2258         * gst/gstpad.c:
2259         Fix documentation for gst_pad_dispatcher. Fixes #374475.
2260
2261 2006-11-13  Wim Taymans  <wim@fluendo.com>
2262
2263         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
2264
2265         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
2266         Store new length in segment duration so we don't keep on calling the
2267         potentially expensize get_size() call. Fixes #370865.
2268
2269 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
2270
2271         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
2272
2273         * win32/common/libgstreamer.def:
2274           Add two missing symbols (#366492).
2275
2276 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
2277
2278         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
2279         (gst_adapter_take_buffer):
2280         Fix format string to use all its arguments.
2281         Remove useless >= check on a guint
2282
2283 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
2284
2285         * tests/examples/adapter/.cvsignore:
2286         Ignore build file as commanded by the build-bot
2287
2288 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
2289
2290         * tests/examples/adapter/Makefile.am:
2291         * tests/examples/adapter/adapter_test.c: (run_test_take),
2292         (run_test_take_buffer), (run_tests), (main):
2293
2294         Add new files from the previous commit
2295
2296 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
2297
2298         * Makefile.am:
2299         * configure.ac:
2300         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
2301         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
2302         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
2303         * libs/gst/base/gstadapter.h:
2304         * tests/check/libs/adapter.c: (create_and_fill_adapter),
2305         (GST_START_TEST), (gst_adapter_suite):
2306         * tests/examples/Makefile.am:
2307         Do some optimisation work in GstAdapter to avoid copies in more cases.
2308         It could still do slightly better by merging buffers when
2309         gst_buffer_is_span_fast is true, but is already faster. 
2310
2311         Also, avoid traversing a single-linked list to append each incoming 
2312         buffer inside the adapter.
2313
2314         Add simple test app that times the adapter behaviour in different
2315         situations, and extend the unit test to check that bytes enter and
2316         exit the adapter in their original order.
2317
2318 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
2319
2320         * docs/random/draft-missing-plugins.txt:
2321           Update: use element message instead of adding a new message
2322           type to the core; don't provide GStreamer API to initiate the
2323           plugin download, just provide API to compose the strings needed
2324           and let an external libgimmestuff handle the rest.
2325
2326 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
2327
2328         * tools/gst-inspect.c: (print_element_properties_info):
2329         Print a string instead of 'unknown type' for GValueArray properties
2330
2331 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
2332
2333         * docs/random/draft-missing-plugins.txt:
2334         More small fixes.
2335
2336 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2337
2338         * tests/examples/typefind/typefind.c: (type_found), (main):
2339           Make typefind element example work again (#371894); add a
2340           license header.
2341
2342 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2343
2344         * docs/random/draft-missing-plugins.txt:
2345           Commit initial draft about how to deal with missing plugins,
2346           needs work (API too).
2347
2348 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
2349
2350         * docs/pwg/advanced-types.xml:
2351           documents the new caps elements (see #363118)
2352
2353 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2354
2355         * gst/gstplugin.c: (gst_plugin_load_file):
2356         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
2357         (gst_file_src_map_region), (gst_file_src_start):
2358         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
2359         (gst_file_index_commit):
2360           Use g_strerror() instead of strerror() - we want UTF-8.
2361
2362 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2363
2364         Patch by: Peter Kjellerstedt <pkj at axis com>
2365
2366         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2367           Another printf fix (#371493).
2368
2369 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2370
2371         * tests/check/gst/gsttag.c:
2372           relicence (okay with author=company)
2373
2374 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2375
2376         * gst/gstpad.c: (gst_pad_event_default_dispatch),
2377         (gst_pad_push_event):
2378           Enhance debug and improve docs
2379         
2380         * gst/gsturi.c:
2381           Fix docs
2382
2383 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2384
2385         * docs/random/ensonic/distributed.txt:
2386         * docs/random/ensonic/profiling.txt:
2387           more ideas
2388
2389 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2390
2391         * docs/gst/gstreamer-sections.txt:
2392           add new API and fix the build
2393           
2394         * gst/gstbin.c: (gst_bin_recalc_state):
2395         * gst/gstelement.c: (gst_element_message_full),
2396         (gst_element_get_state_func), (gst_element_set_state_func):
2397           use new API and improve logging
2398         
2399         * gst/gstutils.c: (gst_element_state_change_return_get_name):
2400         * gst/gstutils.h:
2401           API: add function to get StateChangereturn names to improve logs 
2402
2403 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
2404
2405         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2406           I'm considering shooting the next person to put strerror stuff
2407           in the translateable part of the message.
2408
2409 2006-11-03  Wim Taymans  <wim@fluendo.com>
2410
2411         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2412         Get the type and printf conversion specifiers right.
2413
2414 2006-11-03  Wim Taymans  <wim@fluendo.com>
2415
2416         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2417
2418         * gst/gstpad.c: (gst_pad_init), (pre_activate),
2419         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
2420         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
2421         Some small cleanups. Improve debugging.
2422         * gst/gstpad.h:
2423         Signal all waiting threads with a broadcast instead of just one.
2424         Fixes #369942.
2425
2426 2006-11-03  Wim Taymans  <wim@fluendo.com>
2427
2428         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2429         (gst_fd_src_create):
2430         Add some debugging. 
2431         Only update fd when it's different from the old.
2432
2433 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2434
2435         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
2436           Printf fixes for PPC/OSX, take two (#369366).
2437
2438 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2439
2440         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
2441
2442         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2443         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2444         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2445           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
2446           don't cast to long long for portability reasons, but use
2447           GLib's types instead.
2448
2449 2006-10-30  Michael Smith  <msmith@fluendo.com>
2450
2451         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2452           Get the arguments to lseek() the right way around.
2453           Fixes 367677.
2454
2455 2006-10-30  Wim Taymans  <wim@fluendo.com>
2456
2457         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
2458
2459         * gst/gstinfo.h:
2460         _declspec should be __declspec (two underscores, not one). Fixes 366572.
2461
2462 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
2463
2464         Patch by: Kjartan Maraas  <kmaraas at gnome org>
2465
2466         * docs/design/part-MT-refcounting.txt:
2467         * docs/random/wtay/capsnego2-docs:
2468         * gst/gstclock.c:
2469         * gst/gstxml.c:
2470           Typo fixes (#366212).
2471
2472 2006-10-28  Wim Taymans  <wim@fluendo.com>
2473
2474         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2475
2476         * gst/gst.c:
2477         * win32/common/libgstbase.def:
2478         * win32/common/libgstreamer.def:
2479         * win32/vs8/libgstbase.vcproj:
2480         * win32/vs8/libgstcontroller.vcproj:
2481         Add needed entries in .def files.
2482         Use HAVE_UNISTD_H.
2483         Rearrange def files in vs8 solutions. Fixes #366286.
2484
2485 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
2486
2487         * win32/common/gstconfig.h:
2488           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
2489           hand-made win32 gstconfig.h. Fixes #366321.
2490
2491 2006-10-27  Wim Taymans  <wim@fluendo.com>
2492
2493         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
2494         (gst_ghost_pad_new_full):
2495         Make acceptcaps return TRUE when we don't have a target, just like
2496         setcaps does.
2497
2498 2006-10-27  Wim Taymans  <wim@fluendo.com>
2499
2500         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2501         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
2502
2503 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
2504
2505         * gst/gststructure.c: (gst_structure_id_set_value):
2506           If someone tries to set a non-UTF8 string field on a structure,
2507           don't just print a warning, but also ignore the request and do
2508           not change/add that field to the structure.
2509
2510         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2511           Test for the above.
2512
2513 2006-10-25  David Schleef  <ds@schleef.org>
2514
2515         * gst/gstinfo.c:
2516           g_hash_table_insert() needs a cast to a non-const pointer duh.
2517
2518 2006-10-25  David Schleef  <ds@schleef.org>
2519
2520         * gst/gstinfo.c:
2521         * gst/gstinfo.h:
2522           Change name parameter of _gst_debug_register_funcptr to const
2523           to reflect the constness of its use in the function as well
2524           as to quiet a gcc warning.
2525
2526 2006-10-25  Edward Hervey  <edward@fluendo.com>
2527
2528         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2529         Don't push the buffer if it's empty.
2530         Closes #363095
2531
2532 2006-10-24  Wim Taymans  <wim@fluendo.com>
2533
2534         * gst/gstevent.h:
2535         Add small comment.
2536
2537         * libs/gst/base/gstbasetransform.c:
2538         (gst_base_transform_sink_eventfunc):
2539         Debug segment values *after* updating them as this is more
2540         interesting.
2541
2542 2006-10-23  Wim Taymans  <wim@fluendo.com>
2543
2544         * docs/design/part-events.txt:
2545         Update some docs.
2546
2547         * docs/design/part-block.txt:
2548         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
2549         (gst_pad_push_event):
2550         Revert BLOCKING patch, it tries to be smart without really having a
2551         clear idea what or how. So, now we discard all FLUSHING events again on
2552         a blocking pad. Should fix gnonlin again.
2553
2554 2006-10-23  Wim Taymans  <wim@fluendo.com>
2555
2556         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2557
2558         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2559         (gst_base_src_start), (gst_base_src_activate_push):
2560         Make sure size is always initialized. Fixes #364388.
2561
2562 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
2563
2564         * docs/random/ensonic/distributed.txt:
2565           add some ideas about doing distributed processing
2566
2567         * docs/random/ensonic/profiling.txt:
2568           get_rusage look promising
2569
2570 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
2571
2572         * docs/manual/basics-helloworld.xml:
2573           Add a cast in example to fix compile warning
2574
2575 2006-10-18  Wim Taymans  <wim@fluendo.com>
2576
2577         * gst/gstsegment.c: (gst_segment_set_last_stop),
2578         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2579         Relax arg checking again, -1 is allowed.
2580
2581 2006-10-18  Wim Taymans  <wim@fluendo.com>
2582
2583         * gst/gstsegment.c: (gst_segment_set_last_stop),
2584         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2585         _set_last_stop() must be with a value != -1
2586         A _TYPE_SET to -1 means seek to 0.
2587         Calc last_stop correctly for negative rates.
2588         Make sure we work with positive durations when updating a segment.
2589
2590 2006-10-18  Wim Taymans  <wim@fluendo.com>
2591
2592         * docs/design/part-live-source.txt:
2593         * gst/gstclock.h:
2594         Small docs fixes.
2595
2596 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
2597
2598         * gst/gstbuffer.h:
2599           Add an explicit cast to GstBuffer** to keep old code that added an
2600           explicit cast to GstMiniObject** for gst_mini_object_replace()
2601           compiling without warning.
2602
2603 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
2604
2605         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
2606           check for validity of dates
2607
2608 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
2609
2610         * docs/gst/gstreamer-sections.txt:
2611           Forgot this one, makes gtk-doc shut up.
2612
2613 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
2614
2615         Patch by: Peter Kjellerstedt <pkj at axis com>
2616
2617         * gst/gstobject.h:
2618           Don't define xmlNodePtr to gpointer if the core was built with
2619           --disable-loadsave and --disable-registry, this will break
2620           applications that want to use libxml2 but are buildling against a
2621           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
2622           instead so we don't have to mess with the libxml2 namespace
2623           (#361675).
2624
2625 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
2626
2627         * gst/gstbuffer.h:
2628           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
2629           type-punned pointer warnings.
2630
2631 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2632
2633         * gst/gstelement.h:
2634           Add casts to the correct return type to state <=> state transition
2635           macros.
2636
2637 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
2638
2639         * docs/design/part-live-source.txt:
2640           describe howto handle latency
2641         
2642         * docs/random/ensonic/profiling.txt:
2643           more ideas
2644
2645         * tools/gst-plot-timeline.py:
2646           fix log parsing for solaris, remove unused function
2647
2648 2006-10-16  Wim Taymans  <wim@fluendo.com>
2649
2650         * docs/design/part-trickmodes.txt:
2651         * gst/gstevent.c:
2652         Update some docs regarding reverse playback.
2653
2654 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2655
2656         Patch by: Marcus Granado  <mrc dot gran at gmail com>
2657
2658         * win32/vs8/grammar.vcproj:
2659           Error out with a warning if glib-genmarshal.exe is not in path,
2660           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
2661
2662 2006-10-13  Wim Taymans  <wim@fluendo.com>
2663
2664         * gst/gstsegment.c: (gst_segment_set_seek):
2665         When seeking to stop -1, set last_stop (current position) to the
2666         duration of the segment.
2667
2668 2006-10-13  Wim Taymans  <wim@fluendo.com>
2669
2670         * gst/gstelement.h:
2671         Clarify _NO_PREROLL a bit more.
2672
2673         * gst/gstevent.c:
2674         Fix docs.
2675
2676         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
2677         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
2678         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
2679         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
2680         due to wrong locking order. Fixes #361769.
2681         Remove some redundant/misplaced checks in pad_block.
2682
2683         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2684         For negative rates, count backwards from the duration.
2685
2686 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
2687
2688         * gst/gsterror.c: (_gst_library_errors_init):
2689           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
2690           up with something better).
2691
2692 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
2693
2694         * win32/vs6/libgstreamer.dsp:
2695         * win32/vs7/libgstreamer.vcproj:
2696         * win32/vs8/libgstreamer.vcproj:
2697           Don't reference glib-compat.c which is currently not used and not
2698           disted; add gstquark.c which was recently added. Fixes #361730.
2699
2700 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
2701
2702         * win32/common/libgstbase.def:
2703         * win32/common/libgstcontroller.def:
2704         * win32/common/libgstreamer.def:
2705           Add gst_caps_merge() and a bunch of other recently-added functions.
2706           Fixes #361732.
2707
2708 2006-10-11  Wim Taymans  <wim@fluendo.com>
2709
2710         * docs/plugins/gstreamer-plugins.args:
2711         * docs/plugins/inspect/plugin-coreelements.xml:
2712         * docs/plugins/inspect/plugin-coreindexers.xml:
2713         Update element args.
2714
2715         * gst/gstsystemclock.c:
2716         Small comment update.
2717
2718         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
2719         (gst_tee_request_new_pad), (gst_tee_release_pad),
2720         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
2721         (gst_tee_sink_activate_pull):
2722         * plugins/elements/gsttee.h:
2723         Some tee loving:
2724         Add default property defines.
2725         Implement release pad function.
2726         Give properties better blubs etc.
2727         Activate pads before adding them to a running tee.
2728         Do simple buffer_alloc on the first requested pad.
2729         Post error when activation fails.
2730
2731 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
2732
2733         * gst/gst.c: (ensure_current_registry_forking):
2734           Check return value of write() to make compiler happy.
2735
2736 2006-10-11  Wim Taymans  <wim@fluendo.com>
2737
2738         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2739
2740         * plugins/elements/gstqueue.c: (gst_queue_chain):
2741         Recheck queue filledness after signalling the overrun when we're about
2742         to leak downstream because we released the lock when emitting the signal
2743         and the queue could be empty again. Fixes #352345.
2744
2745 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
2746
2747         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2748           Fix refcounting here too, just like we did for _new_valist() a few
2749           days ago (#357180) (thanks to René Stadler). Also remove all those
2750           'Since: 0.9' from the gtk-doc blobs.
2751
2752         * tests/check/libs/controller.c: (controller_refcount_new_list),
2753         (gst_controller_suite):
2754           Unit test for the above.
2755
2756 2006-10-10  Wim Taymans  <wim@fluendo.com>
2757
2758         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
2759
2760         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2761         (gst_pad_save_thyself):
2762         Update some docs.
2763         Write pad direction in XML output. Fixes #345496.
2764
2765 2006-10-10  Wim Taymans  <wim@fluendo.com>
2766
2767         Patch by: René Stadler <mail at renestadler dot de>
2768
2769         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2770         (gst_controller_new_list), (_gst_controller_dispose),
2771         (_gst_controller_finalize), (_gst_controller_class_init):
2772         Take ref to controlled object so that it cannot disappear. 
2773         Fixes #357432.
2774
2775 2006-10-10  Wim Taymans  <wim@fluendo.com>
2776
2777         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2778         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2779         (gst_check_teardown_sink_pad):
2780         Activate/deactivate pads in setup/teardown respectively.
2781
2782 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2783
2784         Patch by: Josep Torre Valles <josep@fluendo.com>
2785
2786         * gst/Makefile.am:
2787         Cast values when making gstenumtypes.h.  This pacifies Forte
2788         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
2789         in the enumeration.
2790
2791 2006-10-09  Wim Taymans  <wim@fluendo.com>
2792
2793         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
2794         Rename some more @cur to @start to fix docs. 
2795
2796         * gst/gstsegment.c: (gst_segment_set_seek):
2797         Fix typo.
2798         time and start must always stay in sync as defined in design doc.
2799
2800         * gst/gsttaglist.c: (gst_tag_list_is_empty):
2801         Rename param to fix docs.
2802
2803         * tests/check/gst/gstsegment.c: (GST_START_TEST):
2804         Check that start and time are in sync.
2805
2806         * tests/check/pipelines/parse-launch.c:
2807         (gst_parse_test_element_change_state):
2808         Activate pad before adding to the element.
2809
2810 2006-10-09  Wim Taymans  <wim@fluendo.com>
2811
2812         * docs/design/part-qos.txt:
2813         Fix typo.
2814
2815         * gst/gstevent.c:
2816         * gst/gstevent.h:
2817         Update seek event docs regarding negative rates.
2818         Rename @cur to @start. 
2819
2820         * gst/gstsegment.c: (gst_segment_set_seek):
2821         * gst/gstsegment.h:
2822         Update set_seek docs regarding negative rates.
2823         Correctly update last_stop to @stop when dealing with negative
2824         rates.
2825         Rename @cur to @start. 
2826
2827         * tests/check/gst/gstpad.c: (GST_START_TEST):
2828         Activate pads before trying to use them.
2829
2830         * tests/check/gst/gstsegment.c: (GST_START_TEST),
2831         (gst_segment_suite):
2832         Add simple check for segments and negative rates.
2833
2834 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
2835
2836         * gst/gsttaglist.c: (gst_tag_list_is_empty):
2837         * gst/gsttaglist.h:
2838         * docs/gst/gstreamer-sections.txt:
2839           API: add gst_tag_list_is_empty() (#360467).
2840
2841         * tests/check/gst/gsttag.c: (GST_START_TEST):
2842           And a test case.
2843
2844 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2845
2846         * gst/gstmessage.h:
2847         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
2848         a value that doesn't fit on enumeration.
2849
2850 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2851
2852         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2853         Remove local debugging system and use Gstreamer's instead.
2854
2855 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2856
2857         Patch by: Josep Torre Valles <josep@fluendo.com>
2858
2859         * common/m4/gst-error.m4:
2860         Disable warning of statement not reached on Forte.
2861         * gst/gstmessage.h:
2862         Fix warning on Forte (value doesn't fit on enumeration).
2863         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
2864         Fix warning on Forte (value doesn't fit on enumeration).
2865         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2866         DEBUG macro says it takes minimum of 2 args and so Forte
2867         complains about the use with just 1 arg.
2868         * plugins/elements/gstfdsink.c:
2869         * plugins/elements/gstfdsrc.c:
2870         * plugins/elements/gstfilesink.c:
2871         * plugins/elements/gstfilesrc.c:
2872         Use correct return type for the uri handler implementations.
2873
2874         All these fix warnings in Forte.  Fixes bug #360860.
2875
2876 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
2877
2878         * gst/gstelement.h:
2879           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
2880           format string, so don't use G_GNUC_PRINTF for those versions.
2881
2882 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
2883
2884         * gst/gsttaglist.c: (gst_is_tag_list):
2885         * gst/gsttaglist.h:
2886           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
2887
2888         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2889           Small test for the above.
2890
2891 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
2892
2893         * gst/gsttaglist.h:
2894           Less tabs, more spaces.
2895
2896 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
2897
2898         * gst/gstinfo.h:
2899           Those two function declarations do actually belong there, revert
2900           commit from yesterday that turned them intro macros.
2901
2902 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2903
2904         Patch by: Josep Torre Valles <josep@fluendo.com>
2905
2906         * gst/gst.c: (gst_init_get_option_group):
2907         Fix empty declaration and type mismatch.
2908         * gst/gstbin.c: (gst_bin_change_state_func):
2909         Fix type mismatch.
2910         * gst/gstelement.c: (gst_element_continue_state),
2911         (gst_element_set_state_func), (gst_element_change_state),
2912         (gst_element_change_state_func):
2913         Fix type mismatches.
2914         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
2915         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
2916         Cast as appropriate.
2917         * gst/gstobject.c: (gst_class_signal_connect):
2918         Cast as appropriate.  The function pointer parameter really
2919         has the wrong type but would break API if we change it.
2920         * gst/gstquery.c:
2921         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
2922         order of including string.h.
2923         * gst/gstutils.c: (gst_element_state_get_name):
2924         Remove unreachable line.
2925         * gst/gstxml.c: (gst_xml_parse_doc):
2926         Fix type mismatch.
2927         All these caught by Forte.
2928
2929 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2930
2931         Patch by: Josep Torre Valles <josep@fluendo.com>
2932
2933         * common/m4/gst-error.m4:
2934         Fixed bug #360151.
2935         We need to disable warnings on Forte for empty declarations
2936         due to gst-indent adding ;s to lines that just use macros
2937         where the macro actually doesn't need a ; at end to end
2938         statement.
2939
2940 2006-10-06  Wim Taymans  <wim@fluendo.com>
2941
2942         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2943         (gst_file_sink_close_file), (gst_file_sink_event),
2944         (gst_file_sink_render):
2945         Add some FIXME for the NEWSEGMENT handling.
2946
2947 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2948
2949         * gst/parse/grammar.y:
2950         Remove static function gst_parse_element_lock as all it does
2951         is return.  Looks like cruft from 0.8.
2952
2953 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2954
2955         Patch by: Josep Torre Valles <josep@fluendo.com>
2956
2957         * common/m4/gst-error.m4:
2958         * configure.ac:
2959         * libs/gst/net/Makefile.am:
2960         Fix a compilation issue with Forte on Solaris.  inet_aton is in
2961         libresolv.
2962
2963 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
2964
2965         * gst/gstpad.c: (pre_activate):
2966         * gst/gstregistry.c: (gst_registry_scan_path_level):
2967         * gst/gstregistryxml.c: (load_plugin):
2968         * libs/gst/controller/gstcontroller.c:
2969         (gst_controlled_property_set_interpolation_mode):
2970         * libs/gst/dataprotocol/dataprotocol.c:
2971         (gst_dp_packet_from_event_1_0):
2972         * libs/gst/net/gstnetclientclock.c:
2973         (gst_net_client_clock_observe_times):
2974         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2975           Printf fixes.
2976
2977 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
2978
2979         * configure.ac:
2980         * docs/gst/gstreamer-sections.txt:
2981         * gst/gstconfig.h.in:
2982         * gst/gstelement.h:
2983         * gst/gstinfo.h:
2984           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
2985           whether we can use G_GNUC_PRINTF in other header files and at
2986           least check the printf format/arguments of debug messages and
2987           GST_ELEMENT_ERROR messages when the printf extension is not
2988           being used.
2989           Replace more tabs with spaces in gstinfo.h and remove two spurious
2990           function declarations in GST_DISABLE_DEBUG part with macros.
2991
2992 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
2993
2994         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
2995           More docs for the sync-message signal (mention that it is not
2996           emitted by default); log message structures of messages posted on
2997           the bus as well.
2998
2999 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
3000
3001         * gst/gst.c: (ensure_current_registry_forking):
3002         Use a pipe pair to receive status results from the forked child, and
3003         ignore the result from waitpid. Fixes #355499
3004
3005 2006-10-02  Wim Taymans  <wim@fluendo.com>
3006
3007         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3008         (gst_ghost_pad_suite):
3009         Fix leak in check.
3010
3011 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
3012
3013         * gst/gstpad.c:
3014           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
3015
3016 2006-10-02  Edward Hervey  <edward@fluendo.com>
3017
3018         * docs/design/part-block.txt:
3019         Further explain the use of flushing on blocked pads.
3020         * docs/gst/gstreamer-sections.txt:
3021         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
3022         (gst_pad_push_event):
3023         * gst/gstpad.h:
3024         Added new GstPadFlag : GST_PAD_BLOCKING.
3025         Adds the notion of pads really blocking, which enables to properly
3026         handle FLUSH_START/FLUSH_STOP events on blocked pads.
3027         Fixes #358999
3028         API: gst_pad_is_blocking()
3029         API: GST_PAD_IS_BLOCKING() macro
3030         API: GST_PAD_BLOCKING GstPadFlag
3031         
3032 2006-10-02  Wim Taymans  <wim@fluendo.com>
3033
3034         Patch by: mrcgran <mrc.gran at gmail dot com>
3035
3036         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
3037         Filter the proxied caps against the padtemplate if we have one.
3038
3039         * gst/gstquery.c: (gst_query_new_segment):
3040         Add include for gstinfo.h so that compilation with
3041         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
3042
3043 2006-10-02  Wim Taymans  <wim@fluendo.com>
3044
3045         Patch by: Alessandro Decina  <alessandro at nnva org>
3046
3047         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
3048         (gst_file_sink_set_location), (gst_file_sink_open_file),
3049         (gst_file_sink_close_file), (gst_file_sink_event),
3050         (gst_file_sink_render):
3051         Set file to NULL when closing filesink so that we can set a new filename
3052         in READY. Fixes #358613.
3053
3054 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
3055
3056         Patch by: Alessandro Decina  <alessandro at nnva org>
3057
3058         * gst/gstevent.c: (_gst_event_copy):
3059           Fix gst_mini_object_make_writable() and gst_event_copy() for events
3060           with event structures by setting the parent refcount address of the
3061           copied structure to the address of the refcount member of the newly
3062           copied event rather than the address of the refcount member of the
3063           original event. Fixes #358737.
3064
3065         * tests/check/gst/gstevent.c: (GST_START_TEST):
3066           Unit test for the above.
3067
3068 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
3069
3070         * docs/design/Makefile.am:
3071           Dist some more files.
3072
3073 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
3074
3075         * tests/check/libs/controller.c: (GST_START_TEST),
3076         (gst_controller_suite):
3077           Add test for the previous fix; add some more tests
3078           for correct refcounting behaviour; fix a few leaks
3079           in test cases; call gst_controller_init() at start
3080           of all tests.
3081
3082 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
3083
3084         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3085         (gst_controller_set_from_list):
3086           Don't g_return_val_if_fail() on timed values with invalid timestamps
3087           inside a critical section without unlocking the mutex. Spotted by
3088           René Stadler. (#357617)
3089           Also, fix up refcounting properly: when returning an existing
3090           controller, we should increase the reference only once and not
3091           once per property and when trying to control a property again
3092           we should also increase the refcount.
3093
3094 2006-09-29  Wim Taymans  <wim@fluendo.com>
3095
3096         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3097         * libs/gst/net/gstnettimeprovider.c:
3098         (gst_net_time_provider_thread):
3099         Stop reading commands when EOF as well.
3100
3101         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3102         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3103         * plugins/elements/gstidentity.c: (gst_identity_class_init):
3104         Unify description of the dump property.
3105
3106 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
3107
3108         * tests/examples/manual/.cvsignore:
3109         OK, so it's actually cvsignore that needs changing. Stop laughing.
3110
3111 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
3112
3113         * tests/examples/manual/Makefile.am:
3114         Gah, declare vars *before* using them
3115
3116 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
3117
3118         * gst/gst.c: (init_pre), (scan_and_update_registry),
3119         (ensure_current_registry_nonforking),
3120         (ensure_current_registry_forking), (ensure_current_registry),
3121         (init_post), (gst_debug_help), (gst_deinit):
3122         * gst/gst_private.h:
3123         * gst/gstregistry.c: (gst_registry_finalize),
3124         (gst_registry_remove_features_for_plugin_unlocked),
3125         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3126         (gst_registry_scan_path),
3127         (_priv_gst_registry_remove_cache_plugins),
3128         (_priv_gst_registry_cleanup):
3129         * gst/gstregistry.h:
3130         Re-commit the registry changes, along with an extra fix:
3131           When a cached plugin is encountered at a different file path,
3132           update the stored path in the registry cache so that the parent
3133           process knows where it actually is now when it re-reads the registry
3134           cache. Fixes the thing that broke distcheck with the previous commit.
3135
3136         * tests/check/Makefile.am:
3137         Clean up files named 'core' too when running make clean.
3138
3139         * tests/examples/manual/Makefile.am:
3140         Set up a registry path for running these tests, and clean it properly
3141         for distcheck.
3142
3143 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
3144
3145         * configure.ac:
3146         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
3147         want gmodule-no-export-2.0.pc instead so that we don't drag in
3148         --export-dynamic on every project that links to GStreamer.
3149
3150         Also, make our export regex only match the start of symbols, rather 
3151         than any symbol that contains '_gst' somewhere.
3152
3153         * libs/gst/check/Makefile.am:
3154         The libgstcheck we build does however need export-dynamic, as it
3155         produces some symbols that don't match our _gst... style regex.
3156         Fixes: #318031
3157
3158 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
3159
3160         * gst/gst.c: (init_pre), (scan_and_update_registry),
3161         (ensure_current_registry_nonforking),
3162         (ensure_current_registry_forking), (ensure_current_registry),
3163         (init_post), (gst_debug_help), (gst_deinit):
3164         * gst/gst_private.h:
3165         * gst/gstregistry.c: (gst_registry_finalize),
3166         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3167         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
3168         (_gst_registry_cleanup):
3169         * gst/gstregistry.h:
3170           Revert previous change until I figure out why it breaks distcheck.
3171
3172 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
3173
3174         * gst/gst.c: (init_pre), (scan_and_update_registry),
3175         (ensure_current_registry_nonforking),
3176         (ensure_current_registry_forking), (ensure_current_registry),
3177         (init_post), (gst_debug_help), (gst_deinit):
3178
3179           Make init_pre and init_post take the full complement of GOptionFunc
3180           args so they can return useful GErrors. Make the registry updating
3181           functions do so.
3182
3183           Call _priv_gst_registry_remove_cache_plugins after scanning files to
3184           ensure that the registry we're about to write out doesn't contain
3185           stale information about old-deleted plugin files.
3186
3187           Make _priv_gst_registry_remove_cache_plugins return a boolean so
3188           that deletion of plugin files is considered a registry change.
3189
3190         * gst/gst_private.h:
3191         * gst/gstregistry.c: (gst_registry_finalize),
3192         (gst_registry_remove_features_for_plugin_unlocked),
3193         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3194         (gst_registry_scan_path),
3195         (_priv_gst_registry_remove_cache_plugins),
3196         (_priv_gst_registry_cleanup):
3197         * gst/gstregistry.h:
3198         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
3199         by adding _priv prefix, so that they won't appear in the global
3200         symbol table. They still do atm though because of #318031. Move the
3201         prototypes to gst_private.h
3202
3203         When removing a plugin, remove all features for that plugin too. 
3204         Fixes #340878.
3205
3206 2006-09-27  Wim Taymans  <wim@fluendo.com>
3207
3208         * docs/random/moving-plugins:
3209         Make it clear that the "compiled-in descriptions" really mean
3210         the element details.
3211
3212         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3213         (gst_base_sink_wait_preroll):
3214         Update docs.
3215
3216         * docs/libs/gstreamer-libs-sections.txt:
3217         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3218         (gst_base_src_get_range), (gst_base_src_activate_push):
3219         * libs/gst/base/gstbasesrc.h:
3220         Added function to block while waiting for PLAYING, this function
3221         is used by live sources that block on the clock.
3222         API: gst_base_src_wait_playing()
3223
3224 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
3225
3226         Patch by: Peter Kjellerstedt <pkj at axis com>
3227
3228         * Makefile.am:
3229           gst-element-check.m4 is generated and should therefore be
3230           copied from the build dir rather than the source dir (#357593).
3231           'make distcheck' hasn't noticed this because we were disting
3232           the file as well, so stop doing that.
3233
3234 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
3235
3236         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3237           Add some tests for gst_caps_intersect().
3238
3239         * tools/gst-launch.c: (event_loop):
3240           Print all buffering percentages we get, even the 100% one.
3241
3242 2006-09-26  Wim Taymans  <wim@fluendo.com>
3243
3244         * tools/gst-inspect.c: (print_element_properties_info),
3245         (print_signal_info):
3246         Fix printing of flags to match the look of enums.
3247
3248 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3249
3250         * gst/gstelementfactory.c:
3251           Fix typo in docs blurb.
3252
3253 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3254
3255         * gst/gsturi.c: (search_by_entry):
3256           Don't assert/crash here if a uri handler doesn't return any
3257           supported protocols. The list of protocols could be generated
3258           dynamically at runtime or at plugin registration, and an error
3259           in the underlying library shouldn't be fatal (#353301).
3260
3261 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3262
3263         * gst/gstinfo.c:
3264           Fix warning if HAVE_PRINTF_EXTENSION is undefined
3265           (spotted by Peter Kjellerstedt).
3266
3267 2006-09-23  Wim Taymans  <wim@fluendo.com>
3268
3269         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
3270
3271         * libs/gst/base/gstbasesrc.c:
3272         (gst_base_src_default_check_get_range), (gst_base_src_start),
3273         (gst_base_src_activate_push), (gst_base_src_activate_pull),
3274         (gst_base_src_change_state):
3275         Match _start/_stop calls in the activate functions. Remove redundant
3276         _stop call from the state change function. Fixes #356910.
3277         Turn failure DEBUG into ERROR. 
3278
3279 2006-09-22  Wim Taymans  <wim@fluendo.com>
3280
3281         * docs/design/part-buffering.txt:
3282         * gst/gstmessage.c: (gst_message_new_buffering),
3283         (gst_message_parse_buffering):
3284         Update docs about buffering.
3285
3286         * docs/design/part-trickmodes.txt:
3287         Fix typo.
3288
3289 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
3290
3291         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3292         (gst_controller_new_list):
3293           Ref instances when returning them again (fixes #357180)
3294
3295 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
3296
3297         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
3298           Don't forget to release proxy lock when there's an error.
3299
3300 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
3301
3302         * gst/gstcaps.h:
3303           Add extra initialisers for Caps things, to fix some plugin warnings
3304           when using -Wextra
3305
3306 2006-09-18  Wim Taymans  <wim@fluendo.com>
3307
3308         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3309           Also set template on the internal pad so that a getcaps from the 
3310           target pad returns the template caps.
3311
3312 2006-09-18  Wim Taymans  <wim@fluendo.com>
3313
3314         * gst/gstelement.c: (gst_element_post_message),
3315         (gst_element_dispose):
3316         Use _DEBUG_OBJECT some more.
3317
3318         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3319         Avoid typechecks.
3320
3321         * tools/gst-launch.c: (main):
3322         If the toplevel element is not a GstPipeline, it must be put in a
3323         pipeline so that a bus and clock is selected.
3324
3325 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
3326
3327         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3328           JITTER, RATE, and LATENCY query should be handled by the
3329           default case and not by the CONVERT query code.
3330
3331 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
3332
3333         * gst/gstformat.c: (gst_format_register):
3334           Fix locking order (must take lock before using n_values).
3335
3336         * gst/gstvalue.c: (gst_value_serialize_enum),
3337         (gst_value_deserialize_enum_iter_cmp),
3338         (gst_value_deserialize_enum):
3339           Fix serialisation/deserialisation of custom registered GstFormats.
3340
3341         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3342           Unit test for custom format serialisation/deserialisation.
3343
3344 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
3345
3346         * docs/pwg/building-boiler.xml:
3347         * plugins/elements/gstcapsfilter.c:
3348         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
3349         section.
3350
3351 2006-09-16  Edward Hervey  <edward@fluendo.com>
3352
3353         * libs/gst/base/gstbasetransform.c:
3354         (gst_base_transform_buffer_alloc):
3355         Check if requested caps are the same as the sinks caps IF
3356         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
3357         is FALSE.
3358         This fixes the renegotiation issues stated in #352827.
3359
3360 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3361
3362         * configure.ac:
3363         * docs/manual/advanced-autoplugging.xml:
3364         * tests/examples/Makefile.am:
3365         * tests/examples/manual/.cvsignore:
3366         * tests/examples/manual/Makefile.am:
3367         * tests/examples/manual/extract.pl:
3368           Extract the manual examples again like we used to do.
3369           Fix one of them.
3370
3371 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3372
3373         * win32/common/config.h:
3374           update for version
3375
3376 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
3377
3378         * gst/gsterror.c:
3379           Documents how to receive errors.
3380
3381 2006-09-15  Wim Taymans  <wim@fluendo.com>
3382
3383         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
3384         (event_loop), (main):
3385         Added some comments here and there.
3386         Post an application message when an interrupt is caught instead of doing
3387         an uncontrolled state change.
3388         Clean up the event loop.
3389         Handle buffering messages, pause/resume the pipeline.
3390         Make shutdown because of an interrupt more reliable.
3391
3392 2006-09-15  Wim Taymans  <wim@fluendo.com>
3393
3394         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3395         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
3396         (gst_base_sink_preroll_object):
3397         Make sure that our internal state is correct when we commit our state
3398         asynchronously. This solves a race where a state change to PLAYING
3399         could cause the sink to remain blocked in preroll in some situations.
3400
3401 2006-09-15  Wim Taymans  <wim@fluendo.com>
3402
3403         * tools/gst-inspect.c: (print_element_properties_info),
3404         (print_signal_info):
3405         List flags as hex so it's easier to deal with.
3406
3407 2006-09-15  Wim Taymans  <wim@fluendo.com>
3408
3409         * docs/libs/gstreamer-libs-sections.txt:
3410         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
3411         (gst_base_sink_do_sync):
3412         * libs/gst/base/gstbasesink.h:
3413         Expose logic to wait for preroll so that subclasses such as audiosink
3414         can also use this method.
3415         API: gst_base_sink_wait_preroll()
3416
3417 2006-09-15  Wim Taymans  <wim@fluendo.com>
3418
3419         * gst/gstobject.c: (gst_object_set_parent):
3420         * gst/gstpipeline.c: (do_pipeline_seek):
3421         Small cleanups in docs and code.
3422
3423         * gst/gstsegment.c: (gst_segment_clip):
3424         * tests/check/gst/gstsegment.c: (GST_START_TEST):
3425         if stop == start and start is in the segment, no clipping should be
3426         done. Also add a test for this.
3427
3428 2006-09-15  Wim Taymans  <wim@fluendo.com>
3429
3430         * docs/design/part-buffering.txt:
3431         * docs/gst/gstreamer-sections.txt:
3432         * gst/gstmessage.c: (gst_message_new_buffering),
3433         (gst_message_parse_buffering):
3434         * gst/gstmessage.h:
3435         Added methods to create and parse BUFFERING messages.
3436         Added preliminary docs about buffering.
3437         API: gst_message_new_buffering
3438         API: gst_message_parse_buffering
3439
3440 2006-09-06  Wim Taymans  <wim@fluendo.com>
3441
3442         * gst/gstbin.c:
3443         Update documentation.
3444
3445         * gst/gstelement.c: (gst_element_class_init),
3446         (gst_element_release_request_pad), (gst_element_set_clock),
3447         (gst_element_get_index), (gst_element_add_pad),
3448         (gst_element_remove_pad), (gst_element_get_random_pad),
3449         (gst_element_send_event), (gst_element_get_query_types),
3450         (gst_element_query), (gst_element_post_message),
3451         (gst_element_message_full), (gst_element_continue_state),
3452         (gst_element_lost_state), (gst_element_save_thyself),
3453         (gst_element_restore_thyself):
3454         Documentation updates.
3455         Rename last bit of the new-pad -> pad-added signal rename.
3456         Fix the case where an element query would only work if the source
3457         pad was linked.
3458         Avoid some useless type checking in message handling.
3459
3460         * gst/gstevent.c:
3461         * gst/gstevent.h:
3462         * gst/gstutils.c:
3463         Documentation updates.
3464
3465 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3466
3467         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3468           add an INFO line for when we actually update the fd
3469
3470 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3471
3472         * configure.ac:
3473           back to TRUNK
3474
3475 === release 0.10.10 ===
3476
3477 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
3478
3479         * configure.ac:
3480           releasing 0.10.10, "Pais"
3481
3482 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
3483
3484         * docs/manual/advanced-position.xml:
3485           Fix typo in sample code.
3486
3487 2006-09-05  Wim Taymans  <wim@fluendo.com>
3488
3489         * libs/gst/net/gstnetclientclock.c: (inet_aton),
3490         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
3491         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
3492         * libs/gst/net/gstnetclientclock.h:
3493         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3494         * libs/gst/net/gstnettimepacket.h:
3495         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
3496         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
3497         (gst_net_time_provider_thread), (gst_net_time_provider_new):
3498         * libs/gst/net/gstnettimeprovider.h:
3499         Make stuff compile on windows. Fixes #345295.
3500
3501 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
3502
3503         * gst/gst.c: (ensure_current_registry_forking):
3504           Print better details when child was terminated by signal.
3505
3506 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
3507
3508         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
3509           Print a warning rather than g_assert() if a plugin feature
3510           is a URI handler but returns no protocols (#353976).
3511
3512 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
3513
3514         * docs/random/moving-plugins:
3515         Fix two typos.         
3516
3517 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
3518
3519         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
3520           Fix locking order, handle NULL function values properly.
3521
3522         * gst/gstinfo.h:
3523           Fix docs.
3524
3525         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3526           Initialise variable before using it and fix debug statement to
3527           print the address of the function rather than the address of the
3528           variable on the stack holding the address of the function.
3529
3530 2006-09-01  Wim Taymans  <wim@fluendo.com>
3531
3532         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
3533         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
3534         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
3535         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
3536         (gst_ghost_pad_parent_unset),
3537         (gst_ghost_pad_internal_do_activate_push),
3538         (gst_ghost_pad_internal_do_activate_pull),
3539         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3540         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3541         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
3542         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
3543         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
3544         (gst_ghost_pad_new_no_target_from_template),
3545         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3546         More cleanups.
3547         Avoid needless typechecking in macros.
3548         Since the internal pad is always present and never changes, there is
3549         no need to locking or ref when retrieving it.
3550         Improve debugging a bit.
3551         Handle link errors when setting the target. Fixes #341029.
3552
3553 2006-09-01  Wim Taymans  <wim@fluendo.com>
3554
3555         * docs/libs/gstreamer-libs-sections.txt:
3556         * docs/plugins/gstreamer-plugins-sections.txt:
3557         Fix docs some more.
3558
3559         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3560         (gst_collect_pads_event):
3561         * libs/gst/base/gstcollectpads.h:
3562         Documentation updates.
3563         Free queued buffer when removing a pad.
3564
3565 2006-08-31  Michael Smith  <msmith@fluendo.com>
3566
3567         * gst/gstutils.c: (gst_element_link_pads),
3568         (gst_element_link_pads_filtered):
3569           Ensure that we set a capsfilter to NULL if we failed to link it
3570           when doing filtered linking, to avoid criticals.
3571
3572           No need to check for unreffing srcpad, which is explicly NULLed
3573           above (a trivial code cleanup).
3574
3575 2006-08-31  Wim Taymans  <wim@fluendo.com>
3576
3577         * docs/design/part-gstghostpad.txt:
3578         Update ascii art in documentation.
3579
3580         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
3581         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
3582         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
3583         (gst_ghost_pad_internal_do_activate_push),
3584         (gst_ghost_pad_internal_do_activate_pull),
3585         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3586         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3587         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
3588         (gst_ghost_pad_set_target):
3589         Small cleanups and leak fixes.
3590         Remove some checks now that the internal pad is never NULL.
3591         Fix the case where linking pads without a target would create nasty
3592         criticals. Fixes #341029.
3593         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
3594         value of _set_target().
3595
3596         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3597         (gst_ghost_pad_suite):
3598         Some more tests for creating and linking untargeted ghostpads.
3599
3600 2006-08-31  Edward Hervey  <edward@fluendo.com>
3601
3602         * docs/gst/gstreamer-sections.txt:
3603         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
3604         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
3605         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
3606         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
3607         (gst_ghost_pad_new_from_template),
3608         (gst_ghost_pad_new_no_target_from_template):
3609         * gst/gstghostpad.h:
3610         Refactored *_new() functions.
3611         Templates are now used as a g_object_new() parameter.
3612         Use template in _do_getcaps() if we don't have a target.
3613         Small documentation cleanups.
3614         Added two new constructors:
3615         gst_ghost_pad_new_from_template()
3616         gst_ghost_pad_new_no_target_from_template()
3617         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3618         (gst_ghost_pad_suite):
3619         Added tests for new ghostpad instanciation functions.
3620
3621         API additions: gst_ghost_pad_new_from_template,
3622         gst_ghost_pad_new_no_target_from_template
3623
3624 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
3625
3626         * docs/random/ensonic/profiling.txt:
3627           Ideas about qos profiling.
3628
3629 2006-08-29  Wim Taymans  <wim@fluendo.com>
3630
3631         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
3632         Code cleanups.
3633         Fix memleak.
3634
3635 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
3636
3637         * gst/gstxml.c:
3638           Improve and detypofy docs.
3639
3640         * tests/check/Makefile.am:
3641         * tests/check/gst/.cvsignore:
3642         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
3643           Add a basic test suite for GstXML.
3644
3645 2006-08-29  Wim Taymans  <wim@fluendo.com>
3646
3647         * gst/gstelement.c: (activate_pads), (clear_caps),
3648         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
3649         Clear the pad caps when the element shut down all of the pads and
3650         is not streaming data that could modify the caps. 
3651         Fixes #352958.
3652
3653 2006-08-28  Michael Smith  <msmith@fluendo.com>
3654
3655         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3656           Revert previous change; I misunderstood single-segment mode.
3657
3658 2006-08-28  Michael Smith  <msmith@fluendo.com>
3659
3660         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3661           Unset DISCONT on buffers when using single-segment mode.
3662
3663 2006-08-28  Wim Taymans  <wim@fluendo.com>
3664
3665         * gst/gstcaps.c: (gst_caps_merge_structure):
3666         * gst/gstcaps.h:
3667         Fix docs and indentation again.
3668
3669         * tests/check/gst/gstquery.c: (GST_START_TEST):
3670         Fix leak in tests and add some more tests.
3671
3672 2006-08-28  Edward Hervey  <edward@fluendo.com>
3673
3674         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3675         Inform GstSegment of the last stop position in order for the current
3676         segment to have a proper duration if it doesn't have a specific stop
3677         position from which a duration could be calculated.
3678         This bug was noticeable when a non-flushing, non-update new segment was
3679         followed by another segment (all buffers from the new segment were being
3680         dropped).
3681
3682 2006-08-28  Wim Taymans  <wim@fluendo.com>
3683
3684         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3685         Small comment update.
3686
3687         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3688         (gst_identity_transform_ip):
3689         Drop-probability is broken, mention this in the code with a 
3690         FIXME and also in the property description.
3691         Make silent also be silent about the drop messages.
3692
3693 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
3694
3695         * docs/manual/appendix-win32.xml:
3696           Remove mention of popt, we don't depend on that any
3697           longer (#353136). Add some comments pointing out that
3698           this section is slightly outdated.
3699
3700 2006-08-28  Wim Taymans  <wim@fluendo.com>
3701
3702         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3703
3704         * gst/gstquery.c: (gst_query_new_segment):
3705         * tests/check/gst/gstquery.c: (GST_START_TEST):
3706         Initialize variables when creating a new segment query.
3707         Fixes #353121.
3708
3709 2006-08-28  Wim Taymans  <wim@fluendo.com>
3710
3711         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3712
3713         * gst/gstelement.c: (gst_element_get_bus):
3714         * tests/check/gst/gstelement.c: (GST_START_TEST):
3715         Check for NULL before _reffing the bus. Fixes #353122.
3716
3717 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
3718
3719         * docs/manual/basics-bus.xml:
3720           Docs update: fix wrong callback return value explanation; add
3721           some lines about the implicit relationship between main loop
3722           and main context; remove duplicate main loop variable declaration.
3723
3724 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
3725
3726         * tests/check/gst/gstcaps.c: (GST_START_TEST):
3727           Don't leak caps in unit test; add a few more simple
3728           checks. 
3729
3730 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
3731
3732         * docs/gst/gstreamer-sections.txt:
3733         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
3734         (gst_caps_structure_is_subset), (gst_caps_merge),
3735         (gst_caps_merge_structure):
3736         * gst/gstcaps.h:
3737         * libs/gst/base/gstbasetransform.c:
3738         (gst_base_transform_transform_caps):
3739         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3740           implement caps merging (fixes #352580)
3741
3742 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
3743
3744         * tools/Makefile.am:
3745         * tools/gst-plot-timeline.py:
3746           add debug-log plotting developer tool (#340674)
3747
3748 2006-08-23  Wim Taymans  <wim@fluendo.com>
3749
3750         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
3751         (gst_pad_stop_task):
3752         Improve debugging for task functions.
3753
3754         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
3755         (gst_task_start), (gst_task_pause), (gst_task_join):
3756         Make sure that the task function started and finished after a 
3757         join(). 
3758         Don't try to push the task function on the threadpool multiple
3759         times.
3760         Improve the g_warning message with some useful suggestions
3761         about how to fix the problem. 
3762
3763 2006-08-23  Wim Taymans  <wim@fluendo.com>
3764
3765         * gst/gstutils.c: (gst_pad_proxy_getcaps):
3766         Handle RESYNC correctly in _proxy_getcaps.
3767
3768 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
3769
3770         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
3771         (gst_xml_parse_memory), (gst_xml_get_element):
3772           Chain up to parent class in dispose function and also
3773           unref the elements in the toplevel_elements GList.
3774           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
3775           Always return a reference in gst_xml_get_element() rather
3776           than only sometimes.
3777
3778         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
3779           Don't leak GstXml object.
3780
3781 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
3782
3783         * docs/gst/gstreamer-sections.txt:
3784         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
3785         (gst_caps_merge):
3786         * gst/gstcaps.h:
3787         * libs/gst/base/gstbasetransform.c:
3788         (gst_base_transform_transform_caps):
3789           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
3790           in a better way
3791
3792 2006-08-21  Edward Hervey  <edward@fluendo.com>
3793
3794         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
3795         Implement GObject::dispose virtual method in GstXML so we can free the
3796         top_elements GList.
3797
3798 2006-08-21  Wim Taymans  <wim@fluendo.com>
3799
3800         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
3801         (gst_buffer_create_sub):
3802         Copy duration/offset_end/caps when creating a subbuffer of the
3803         complete parent.
3804         Make the subbuffer read-only when we make the metadata writable for
3805         now. Fixes #351768.
3806
3807         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3808         Added check for metadata copy when creating subbuffers.
3809
3810 2006-08-21  Edward Hervey  <edward@fluendo.com>
3811
3812         * libs/gst/base/gstbasetransform.c:
3813         (gst_base_transform_buffer_alloc):
3814         Only call downstream buffer_alloc if transform element is passthrough
3815         or always_in_place. Closes #350449.
3816
3817 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3818
3819         * ChangeLog:
3820           ChangeLog surgery to add comments to previous changes
3821
3822 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3823
3824         * gst/gst.c:
3825           Add comments
3826
3827         * gst/gstpad.c: (gst_pad_set_active):
3828           Be more verbose in the log
3829
3830         * libs/gst/base/gstbasetransform.c:
3831         (gst_base_transform_transform_caps):
3832           Simplify caps to get rid of duplicates, fixes #345444
3833
3834 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3835
3836         * gst/gstvalue.c:
3837         * gst/gstvalue.h:
3838           Use these optimizations only internally.
3839
3840 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3841
3842         * gst/gstvalue.c: (gst_value_compare_list),
3843         (gst_value_compare_fraction_range),
3844         (gst_value_intersect_fraction_fraction_range),
3845         (gst_value_intersect_fraction_range_fraction_range),
3846         (gst_value_subtract_fraction_fraction_range),
3847         (gst_value_subtract_fraction_range_fraction_range),
3848         (gst_value_get_compare_func), (gst_value_compare),
3849         (gst_value_compare_with_func):
3850         * gst/gstvalue.h:
3851           Saves the expensive lookup of the compare function in many cases
3852          (#345444)
3853
3854 2006-08-18  Edward Hervey  <edward@fluendo.com>
3855
3856         * tests/check/gst/gstinfo.c: (gst_info_suite):
3857         Disable test that require gstdebug if it wasn't built in core.
3858
3859 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
3860
3861         * docs/random/ensonic/logging.txt:
3862           update ideas
3863           
3864         * gst/gstinfo.c: (gst_debug_log_default):
3865           reorder fields, save some columns, add optional color codes for log
3866           levels
3867
3868 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
3869
3870         * docs/random/ensonic/logging.txt:
3871           add ideas about making the logs a bit more useful
3872
3873 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
3874
3875         * docs/pwg/advanced-events.xml:
3876         * docs/pwg/titlepage.xml:
3877           Update for 0.10 API (#340627). Add myself
3878           to authors list.
3879
3880 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
3881
3882         * docs/libs/gstreamer-libs-docs.sgml:
3883         * docs/libs/gstreamer-libs-sections.txt:
3884         * libs/gst/check/gstbufferstraw.c:
3885           Make gstcheck stuff show up in docs (still needs to
3886           be documented properly though).
3887
3888 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
3889
3890         * docs/gst/gstreamer-sections.txt:
3891         * gst/Makefile.am:
3892         * gst/gst.c: (init_post):
3893         * gst/gst_private.h:
3894         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3895         * gst/gstquark.h:
3896         * gst/gstquery.c: (gst_query_new_position),
3897         (gst_query_set_position), (gst_query_parse_position),
3898         (gst_query_new_duration), (gst_query_set_duration),
3899         (gst_query_parse_duration), (gst_query_new_convert),
3900         (gst_query_set_convert), (gst_query_parse_convert),
3901         (gst_query_new_segment), (gst_query_set_segment),
3902         (gst_query_parse_segment), (gst_query_new_seeking),
3903         (gst_query_set_seeking), (gst_query_parse_seeking):
3904         Add internal helpers for pre-registering quarks from static strings
3905         and using the quark values directly instead of looking them up when
3906         creating and parsing queries. Can be used for event construction too.
3907         Closes #350432.
3908
3909 2006-08-16  Wim Taymans  <wim@fluendo.com>
3910
3911         * gst/gstbin.c:
3912         Fix bogus docs.
3913
3914 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
3915
3916         * gst/gstutils.c: (gst_util_set_value_from_string):
3917           Fix memleak (#351502).
3918
3919         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3920           Add unit test for most of gst_util_set_value_from_string()
3921           (not that one would want to encourage use of this function).
3922
3923 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
3924
3925         * libs/gst/check/gstcheck.h:
3926           Use const gchar * variables in fail_unless_equals_string
3927           macro to avoid compiler warnings (and don't use tabs for
3928           indenting).
3929
3930 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
3931
3932         * tools/gst-launch.c: (print_tag):
3933           More space on the left for the tag names, to cater
3934           for the 'extended comment' tag (not touching the
3935           string for the first line since it's translated).
3936
3937 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
3938
3939         * libs/gst/check/gstcheck.h:
3940           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
3941           print something when they fail.
3942
3943 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
3944
3945         * docs/gst/gstreamer-sections.txt:
3946         * gst/gsttaglist.c: (_gst_tag_initialize):
3947         * gst/gsttaglist.h:
3948           API: add GST_TAG_EXTENDED_COMMENT (#350935).
3949           Also change merge function for GST_TAG_COMMENT to
3950           use_first.
3951
3952 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
3953
3954         * gst/gstinfo.c: (gst_debug_print_object):
3955           Make GST_PTR_FORMAT print messages as well.
3956
3957         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
3958         (GST_START_TEST), (gst_info_suite):
3959           More tests.
3960
3961 2006-08-14  Edward Hervey  <edward@fluendo.com>
3962
3963         * gst/gstelementfactory.c: (gst_element_register):
3964         If the GstElementClass doesn't have a GstElementDetails with all fields
3965         filled up correctly (longname, description AND author), then error out
3966         nicely instead of crashing.
3967
3968 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
3969
3970         * gst/gststructure.c:
3971           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
3972
3973         * gst/gstvalue.h:
3974           Expand on the difference between arrays and lists as we use them.
3975           
3976 2006-08-14  Wim Taymans  <wim@fluendo.com>
3977
3978         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
3979         If the parent state change function failed, don't assume we can safely
3980         stop the source, this will be done when the pads are deactivated.
3981
3982 2006-08-14  Wim Taymans  <wim@fluendo.com>
3983
3984         * gst/gstbuffer.c:
3985         * gst/gsttask.c: (gst_task_join):
3986         Small doc updates.
3987
3988         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
3989         (gst_pad_stop_task):
3990         When pad (de)activation failed for some reason, restore the old
3991         activation mode and set the pad to flushing instead of assuming the
3992         pad is deactivated.
3993         If the _task_join() failed, reinstall the task on the pad so that it can
3994         be stopped later and return an error.
3995
3996 2006-08-11  Andy Wingo  <wingo@pobox.com>
3997
3998         * configure.ac:
3999         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
4000         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
4001         is only for users of API that don't want to see deprecated
4002         functions in the headers; people that want to compile out
4003         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
4004         CFLAGS. Fixes the build of multifdsink, or will soon..
4005
4006 2006-08-11  Wim Taymans  <wim@fluendo.com>
4007
4008         * docs/gst/gstreamer-sections.txt:
4009         Add GstClockClass vmethod docs.
4010
4011         * gst/gstcaps.h:
4012         Mark #endif with comment for associated #if
4013
4014         * gst/gstclock.c: (gst_clock_id_wait):
4015         * gst/gstclock.h:
4016         Add vmethod wait_jitter to avoid an unneeded _get_time() for
4017         most clock implementations.
4018         Document vmethods.
4019         Flesh out docs about resolution methods.
4020         API: GstClockClass::wait_jitter
4021
4022         * gst/gstsystemclock.c: (gst_system_clock_class_init),
4023         (gst_system_clock_async_thread),
4024         (gst_system_clock_id_wait_jitter_unlocked),
4025         (gst_system_clock_id_wait_jitter):
4026         Use base class wait_jitter variant for improved performance
4027         due to less clock polling.
4028
4029 2006-08-11  Edward Hervey  <edward@fluendo.com>
4030
4031         * gst/gst.c: (gst_init_check), (init_post):
4032         Set gst as being initialized before scanning/updating the registry,
4033         since there might be my python plugin loader that calls gst_init() and
4034         we don't want to loop back in.
4035         Closes #350879
4036
4037 2006-08-11  Wim Taymans  <wim@fluendo.com>
4038
4039         * docs/design/part-qos.txt:
4040         Bring docs in line with the code. Mostly the sign of the jitter was
4041         wrong in the docs. Fixes #349943.
4042
4043         * gst/gstclock.c:
4044         Fix the docs for the jitter.
4045
4046         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
4047         (gst_event_parse_tag), (gst_event_new_buffer_size),
4048         (gst_event_parse_buffer_size), (gst_event_parse_qos),
4049         (gst_event_new_seek), (gst_event_parse_seek),
4050         (gst_event_new_navigation):
4051         Make sure the GstStructure has no parent when creating custom
4052         events.
4053         Add some more argument checking so that we avoid 0.0 rates.
4054         Flesh out the docs for the QoS event some more.
4055
4056 2006-08-11  Wim Taymans  <wim@fluendo.com>
4057
4058         * docs/gst/gstreamer-sections.txt:
4059         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4060         (ensure_current_registry_forking), (ensure_current_registry),
4061         (parse_one_option), (parse_goption_arg), (gst_deinit),
4062         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
4063         * gst/gst.h:
4064         Doc updates.
4065         Added API and command line option to disable registry forking in
4066         addition to the environment variable.
4067         Constify some static arrays.
4068         Added some more debug.
4069         Don't deinit twice.
4070         API: gst_registry_fork_is_enabled()
4071         API: gst_registry_fork_set_enabled()
4072         API: --gst-disable-registry-fork command line option
4073         Fixes #348918.
4074
4075 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
4076
4077         * gst/gst.c: (gst_init):
4078           Fix typo in error message.
4079
4080 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
4081
4082         * libs/gst/controller/gstcontroller.h:
4083           fix ABI size-correction
4084
4085         * tests/check/libs/gdp.c: (gst_dp_suite):
4086           make tests that use deprecated API conditional
4087
4088 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
4089
4090         * docs/libs/gstreamer-libs-sections.txt:
4091         * libs/gst/controller/gstcontroller.c:
4092         (_gst_controller_get_property), (_gst_controller_set_property),
4093         (_gst_controller_init), (_gst_controller_class_init):
4094         * libs/gst/controller/gstcontroller.h:
4095         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
4096         (gst_object_set_control_rate):
4097           API: add gst_object_{s,g}et_control_rate(), add private data section,
4098           fix docs
4099
4100         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
4101         * libs/gst/dataprotocol/dataprotocol.h:
4102           add deprecation guards to make gtk-doc happy and allow disabling cruft
4103
4104 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
4105
4106         * tests/check/Makefile.am:
4107         * tests/check/gst/.cvsignore:
4108           Let's enable the new unit test as well.
4109
4110 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
4111
4112         * configure.ac:
4113         * docs/gst/gstreamer-sections.txt:
4114         * gst/gstconfig.h.in:
4115         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
4116         (_gst_info_printf_extension_ptr),
4117         (_gst_info_printf_extension_segment):
4118           API: add GST_SEGMENT_FORMAT, which is a printf extension we
4119           register that lets us easily dump GstSegments into debug
4120           logs (#350419).
4121
4122         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
4123         (info_segment_format_printf_extension), (gst_info_suite):
4124           Add simple unit test that logs a bunch of different segments (not
4125           valgrinded at the moment because of leaks in
4126           gst_debug_add_log_function).
4127
4128 2006-08-09  Edward Hervey  <edward@fluendo.com>
4129
4130         * libs/gst/base/gstbasetransform.c:
4131         (gst_base_transform_buffer_alloc):
4132         Even if we can't figure out the proper format to request downstream,
4133         call buffer_alloc() downstream with the input parameters without setting
4134         the caps on the srcpad. This will force negotiation in the chain
4135         function.
4136         Closes #350449
4137
4138 2006-08-08  Edward Hervey  <edward@fluendo.com>
4139
4140         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4141         Unlinking from a pad without a target is now a perfectly valid case
4142         which should NOT raise an assertion.
4143         This case would happen if a linked ghostpad its target set to NULL after
4144         it was previously linked.
4145
4146 2006-08-08  Edward Hervey  <edward@fluendo.com>
4147
4148         * tests/check/libs/gdp.c:
4149         Also comment out the test (see below).
4150
4151 2006-08-08  Edward Hervey  <edward@fluendo.com>
4152
4153         * tests/check/libs/gdp.c: (gst_dp_suite):
4154         Use the architecture information from config.h and not gcc macros
4155         in order to properly disable a test that fails on PPC64.
4156
4157 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
4158
4159         * gst/gstelement.c: (gst_element_remove_pad):
4160           Don't crash printing the warning if the pad has no parent.
4161
4162 2006-08-02  Wim Taymans  <wim@fluendo.com>
4163
4164         * libs/gst/dataprotocol/dataprotocol.c:
4165         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
4166         (gst_dp_crc), (gst_dp_header_payload_length),
4167         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
4168         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
4169         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
4170         (gst_dp_event_from_packet), (gst_dp_validate_header),
4171         (gst_dp_validate_payload):
4172         Make debug category static
4173         Constify the crc table.
4174         Do some more arg checking in public functions.
4175         Fix some docs and do some small cleanups.
4176
4177         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
4178         Add some more checks to see if GDP deals with bogus input.
4179
4180 2006-07-31  Wim Taymans  <wim@fluendo.com>
4181
4182         * gst/gstvalue.c: (gst_value_compare_list):
4183         Fix GstValueList comparison code. Fixes #347293.
4184
4185         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4186         Check to test GstValueList comparison.
4187
4188 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
4189
4190         * gst/gstelementfactory.c: (gst_element_factory_create):
4191         Remove unnecessary ref/unref pair
4192
4193         * gst/parse/grammar.y:
4194         Make sure to free the parse buffer on all code paths.
4195         Move a g_free up to the error handler where it's easier to see.
4196
4197         * tests/check/gst/gstevent.c: (test_event):
4198         Extending timeout for downstream travelling events to 10 seconds to
4199         hopefully avoid intermittent failure on the buildbots.
4200
4201         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
4202         Don't manually set the state of the src element - it will happen as a
4203         natural consequence of the pipeline changing state, and that way it
4204         will do it in the right order too.
4205
4206 2006-07-31  Wim Taymans  <wim@fluendo.com>
4207
4208         * libs/gst/base/gstbasetransform.c:
4209         (gst_base_transform_buffer_alloc):
4210         Use OBJECT_LOCK and refcounting to get the pad caps in the
4211         buffer_alloc function because the caps could change while we are
4212         busy with them. Fixes #349105
4213
4214 2006-07-31  Wim Taymans  <wim@fluendo.com>
4215
4216         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
4217         Protect _PAD_CAPS with OBJECT_LOCK.
4218
4219 2006-07-31  Wim Taymans  <wim@fluendo.com>
4220
4221         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4222         (gst_pad_get_property), (gst_pad_activate_pull),
4223         (gst_pad_activate_push), (gst_pad_set_blocked_async),
4224         (gst_pad_set_activate_function),
4225         (gst_pad_set_activatepull_function),
4226         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
4227         (gst_pad_set_getrange_function),
4228         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
4229         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4230         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
4231         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
4232         (gst_pad_set_acceptcaps_function),
4233         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
4234         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
4235         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
4236         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
4237         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
4238         (gst_pad_configure_sink), (gst_pad_configure_src),
4239         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
4240         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
4241         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
4242         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
4243         (gst_pad_send_event):
4244         Use _DEBUG_OBJECT when it makes sense.
4245         Protect GST_PAD_CAPS with the OBJECT_LOCK.
4246         Small cleanups and code reflows.
4247         Avoid caps refcounting in _accept_caps.
4248         Refactor alloc_buffer so that the code performed on the peer is in a
4249         separate function. Also if the pad does not implement a buffer alloc
4250         function, we should still check if the pad is flushing before falling
4251         back to the default allocator.
4252
4253 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
4254
4255         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4256         Make all uses of identity and fakesink have silent=true to avoid
4257         serialising every passing data structure, which is breaking tests
4258         on FC4 for some unknown reason.
4259
4260 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
4261
4262         * gst/parse/Makefile.am:
4263         * gst/parse/grammar.y:
4264         * gst/parse/parse.l:
4265           Reverted previous patch as it required to bump the flex dependency to
4266           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
4267
4268 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
4269
4270         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
4271
4272         * gst/parse/Makefile.am:
4273         * gst/parse/grammar.y:
4274         * gst/parse/parse.l:
4275           push & pop the state of the lexer for reentrant use case
4276           Fixes #349180
4277
4278 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
4279
4280         * libs/gst/base/gstbasesrc.h:
4281           Note in the docs that the ::newsegment vfunc is not actually used by
4282           GstBaseSrc.
4283
4284 2006-07-28  Wim Taymans  <wim@fluendo.com>
4285
4286         * libs/gst/base/gstcollectpads.c:
4287         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
4288         (gst_collect_pads_clear), (gst_collect_pads_flush),
4289         (gst_collect_pads_event), (gst_collect_pads_chain):
4290         When flushing a pad, also clear the queued buffer so that we don't
4291         accidentally use it when we shouldn't.
4292         Fix leaks by inreffing incomming buffer.
4293         Flush out queued buffers in case of errors.
4294         Fixes #347452.
4295
4296 2006-07-28  Wim Taymans  <wim@fluendo.com>
4297
4298         * docs/random/phonon-gst:
4299         Random notes about a Phonon backend.
4300
4301 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
4302
4303         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4304         Extra debug output
4305         * tests/check/libs/gdp.c: (gst_dp_suite):
4306         Take a whack at fixing the ppc compile using a different define to
4307         disable the broken test.
4308
4309         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4310         Remove excess g_print()
4311
4312 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
4313
4314         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4315         Oops, meant to uncomment this line too to dampen the noise a bit.
4316
4317 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
4318
4319         * gst/parse/grammar.y:
4320         * gst/parse/parse.l:
4321         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4322         (GST_START_TEST), (parse_suite):
4323         Fix some of the leaks exposed by extending the parse-launch testsuite,
4324         and move the 3 I can't figure out into a separate test that won't run
4325         the pipelines unless the appropriate line is uncommented.
4326
4327 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
4328
4329         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4330           Requesting 0 bytes before the end of the file should result in
4331           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
4332           unit test.
4333
4334 2006-07-27  Wim Taymans  <wim@fluendo.com>
4335
4336         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
4337         Fix useless assert, a uint is always positive.
4338
4339         * gst/gststructure.c: (gst_structure_nth_field_name),
4340         (gst_structure_foreach), (gst_structure_map_in_place):
4341         Check input arguments for public functions to avoid obvious crashes.
4342
4343         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
4344         * plugins/elements/gstfakesink.h:
4345         Do less useless typechecking.
4346
4347 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
4348
4349         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4350           Do not use mmap() by default since there are a number of error
4351           conditions that we would like to handle in a non-fatal way that
4352           will result in a SIGBUS if we use mmap(). Examples: external
4353           devices (USB harddrive, portable music player) being unplugged
4354           while in use; file on mounted CD/DVD that can't be read because
4355           the medium is partly damaged. Fixes #348455 and #348475.
4356
4357 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
4358
4359         * gst/gstquery.h:
4360         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
4361         rates are a gdouble
4362
4363 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
4364
4365         * gst/gstregistry.c:
4366           Move big documentation comment into class section header, so that it
4367           appears in the API docs.
4368
4369 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4370
4371         * docs/gst/gstreamer-sections.txt:
4372         Oops. Commit the docs additions too for new API.
4373         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
4374
4375 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4376
4377         * gst/gststructure.c: (gst_structure_id_set),
4378         (gst_structure_id_set_valist):
4379         * gst/gststructure.h:
4380         Add API for setting values into structures without performing
4381         a quark lookup, if the appropriate quark is already known.
4382
4383         API: gst_structure_id_set
4384         API: gst_structure_id_set_valist
4385
4386         * gst/parse/grammar.y:
4387         * gst/parse/parse.l:
4388         Remove some dead code shown by the coverage information.
4389         Don't throw a critical g_warning when encountering a syntax error,
4390         just warn and let the normal error path handle it.
4391
4392         * plugins/elements/gstelements.c:
4393         Bump the rank of filesink up to PRIMARY so that it is preferred over
4394         gnomevfssink for file:// sink uri's
4395
4396         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4397         (GST_START_TEST), (run_delayed_test),
4398         (gst_parse_test_element_base_init),
4399         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
4400         (gst_parse_test_element_change_state),
4401         (gst_register_parse_element), (parse_suite):
4402         Beef up the tests for parse syntax to check that more error cases
4403         fail as they are supposed to. Increases the test coverage a bit.
4404
4405 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
4406
4407         * docs/manual/basics-elements.xml:
4408           Fix gst_element_link() example.
4409
4410         * gst/gstutils.c:
4411           Mention in API docs that one should usually gst_bin_add()
4412           elements to a bin or pipeline before doing the linking.
4413           
4414 2006-07-26  Wim Taymans  <wim@fluendo.com>
4415
4416         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
4417         (gst_subbuffer_get_type), (gst_buffer_create_sub):
4418         Avoid function call for known types by keeping the buffer and
4419         subbuffer GType global.
4420
4421         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4422         Random silly optimisations in read() path.
4423
4424 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4425
4426         * tools/gst-launch.c: (main):
4427           If the top-level of the parse is a normal bin, it doesn't do the
4428           right logic to run as a top-level element, so place it inside a
4429           pipeline.
4430
4431 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
4432
4433         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
4434           Remove superfluous g_object_notify() calls, GObject does
4435           that for us automatically.
4436
4437 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
4438
4439         * gst/gstinfo.h:
4440           on Win32, use dllspec to export the debug category symbols
4441
4442 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
4443
4444         * gst/gsttaglist.c: (_gst_tag_initialize):
4445           Allow more than one GST_TAG_IMAGE per taglist.
4446
4447 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
4448
4449         * gst/gstminiobject.c:
4450           update docs
4451         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
4452         (gst_fd_src_create):
4453           log recurring events at LOG level
4454           add more debug for when the fd gets set
4455
4456 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
4457
4458         * gst/gstparse.c: (gst_parse_launch):
4459           Also remove reentrance checks if flex is MT safe (#348179)
4460          Fix my empty ChangeLog entry below
4461
4462 2006-07-21  Andy Wingo  <wingo@pobox.com>
4463
4464         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
4465
4466         * libs/gst/check/Makefile.am
4467         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
4468         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
4469         * libs/gst/check/gstbufferstraw.h:
4470         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
4471         functions, thus proving I am still a GStreamer haxor. OK I wrote
4472         them a long time ago, but anyways.
4473
4474 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
4475
4476         * configure.ac:
4477         * gst/gstparse.c: (gst_parse_launch):
4478           Check for flex version and omit mutex if we have a MT save flex
4479           (fixes #348179)
4480
4481 2006-07-21  Wim Taymans  <wim@fluendo.com>
4482
4483         * gst/gstparse.c: (gst_parse_launch):
4484         Protect recursive calls to _parse with a recursive mutex
4485         and busy flag.
4486
4487 2006-07-21  Wim Taymans  <wim@fluendo.com>
4488
4489         * tests/check/gst/gstpad.c: (GST_START_TEST):
4490         Fix leak in test.
4491
4492 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
4493
4494         * gst/gstparse.c: (gst_parse_launch):
4495           Do not hang on recursive usage of gst_parse_launch()
4496
4497 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
4498
4499         * gst/gsttaglist.c:
4500           Add some more docs, comments and FIXME 0.11s here and there
4501           and also fix some typos.
4502
4503 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
4504
4505         * gst/gstsegment.h:
4506           Convert tabs to spaces for better readability. 
4507
4508 2006-07-20  Edward Hervey  <edward@fluendo.com>
4509
4510         * tests/check/libs/gdp.c: (gst_dp_suite):
4511         the test_buffer test fails at line 140 on ppc64 at the following
4512         check:
4513         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
4514                 GST_BUFFER_FLAG_IN_CAPS),
4515                 "GST_BUFFER_IN_CAPS flag should have been copied !");
4516         See bug #348114 for more details.
4517
4518 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
4519
4520         * docs/pwg/advanced-scheduling.xml:
4521         * gst/gstpad.c:
4522           Fix typos (#348000).
4523
4524 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
4525
4526         * docs/pwg/intro-basics.xml:
4527           Fix wrong links (#347927).
4528
4529 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
4530
4531         * gst/gstregistry.h:
4532         * gst/gstregistryxml.c: (load_feature),
4533         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
4534         * win32/common/config.h:
4535           make --disable-index work (#342564)
4536
4537 2006-07-18  Wim Taymans  <wim@fluendo.com>
4538
4539         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4540
4541         * gst/Makefile.am:
4542         * gst/gsttrace.h:
4543         The attached patch adds two missing defines to gsttrace.h when tracing
4544         is disabled.  It also corrects one existing define.
4545         Fixes #347756.
4546
4547 2006-07-17  Wim Taymans  <wim@fluendo.com>
4548
4549         * docs/gst/gstreamer-sections.txt:
4550         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
4551         * gst/gst.h:
4552         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
4553         Add two functions to check and change the SIGSEGV behaviour
4554         when loading plugins.
4555         Don't mess with the SIGSEGV handler when we were told not to.
4556         Fixes #347794.
4557         API: gst_segtrap_is_enabled
4558         API: gst_segtrap_set_enabled
4559
4560 2006-07-14  Wim Taymans  <wim@fluendo.com>
4561
4562         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4563         * tests/check/elements/filesrc.c: (GST_START_TEST):
4564         Revert fix for regression in #347408 after release.
4565
4566 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
4567
4568         Patch by: Antoine Tremblay <hexa00 at gmail com>
4569
4570         * gst/gstutils.c: (gst_element_unlink):
4571           Free iterator when done (#347311).
4572
4573         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4574           And add a test case for this.
4575
4576 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
4577
4578         * configure.ac:
4579         Bump nano back to CVS
4580
4581 === release 0.10.9 ===
4582
4583 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
4584
4585         * configure.ac:
4586           releasing 0.10.9, "On the road again"
4587
4588 2006-07-13  Wim Taymans  <wim@fluendo.com>
4589
4590         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4591         * tests/check/elements/filesrc.c: (GST_START_TEST):
4592         Revert pull-0 fix for release. Disable check. Fixes #347408.
4593
4594 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4595
4596         * libs/gst/dataprotocol/dataprotocol.c:
4597         (gst_dp_event_from_packet_1_0):
4598           Fixes #347337: failure to deserialize event packets with
4599           empty payload (only event type)
4600
4601 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4602
4603         * gst/Makefile.am:
4604           do not install a .c file in the header directory
4605
4606 2006-07-13  Edward Hervey  <edward@fluendo.com>
4607
4608         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
4609         GhostPad no longer implicitely use the padtemplates of the targets.
4610         Fixes #347384
4611
4612 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
4613
4614         * gst/gstvalue.c: (gst_value_compare_list),
4615         (gst_value_compare_array), (_gst_value_initialize):
4616         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4617         Make GstValueArray comparison be order dependent as designed.
4618         Add checks for value lists and value array comparisons.
4619         Fixes #347221
4620
4621 2006-07-11  Edward Hervey  <edward@fluendo.com>
4622
4623         * gst/gstbin.c: (activate_pads),
4624         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
4625         (gst_bin_change_state_func):
4626         (de)activate src pads before calling state_change on the childs.
4627         This is to avoid the case where a src ghostpad is blocked (holding the
4628         stream lock), which would block the deactivation of the ghostpad's
4629         target pad.
4630         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
4631         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
4632         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
4633         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
4634         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
4635         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4636         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
4637         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
4638         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
4639         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
4640         (gst_ghost_pad_class_init),
4641         (gst_ghost_pad_internal_do_activate_push),
4642         (gst_ghost_pad_internal_do_activate_pull),
4643         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4644         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4645         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
4646         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
4647         GhostPads now create their internal GstProxyPad at creation (and not
4648         when they're linked, as it was being done previously).
4649         The internal and target pads are linked straight away.
4650         The data will also travel through the other pad in order to make
4651         pad blocking and probes non-hackish (the probe/block now really happens
4652         on the GhostPad and not on the target).
4653         * gst/gstpad.c: (gst_pad_set_blocked_async),
4654         (gst_pad_link_prepare), (gst_pad_push_event):
4655         Remove previous ghostpad cruft.
4656         * gst/gstutils.c: (gst_pad_add_data_probe),
4657         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4658         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4659         (gst_pad_remove_buffer_probe):
4660         Remove previous ghost pad cruft.
4661         Added more detailed debug statements.
4662         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4663         Fix the testsuite for refcounting changes.
4664         The comments about who has references were correct, but the refcount
4665         being checked wasn't the same (!?!).
4666
4667         Fixes #341029
4668
4669 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
4670
4671         * docs/gst/gstreamer-sections.txt:
4672         * gst/gstconfig.h.in:
4673         More docs for configuration options, add docs to gtk-doc.
4674
4675 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
4676
4677         * gst/Makefile.am:
4678         * gst/gstconfig.h.in:
4679         * win32/common/config.h:
4680         Fix build when disabling tracing (fixes #344016). Also start to document
4681         the defines that disable the sub-systems.
4682
4683 2006-07-10  Edward Hervey  <edward@fluendo.com>
4684
4685         * gst/gst.c: (ensure_current_registry_forking):
4686         let's make valgrind happy...
4687
4688 2006-07-09  Wim Taymans  <wim@fluendo.com>
4689
4690         * gst/gstelement.c: (activate_pads),
4691         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
4692         Better pad activation code: Reset the collect value too on resync.
4693         Add some comments.
4694
4695 2006-07-09  Wim Taymans  <wim@fluendo.com>
4696
4697         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
4698         (gst_pad_activate_push):
4699         Use some more macros where it makes sense.
4700         Allow pad mode switching instead of asserting. When a pad
4701         is activated in one mode and we activate it in another, 
4702         deactivate it first before activating it in a different mode.
4703         Fixes #329198.
4704
4705 2006-07-08  Andy Wingo  <wingo@pobox.com>
4706
4707         * tools/gst-launch.c (main): Handle err == NULL.
4708
4709         * gst/gst.c (init_post, ensure_current_registry)
4710         (ensure_current_registry_forking)
4711         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
4712         factoring out the registry scanning into separate functions. Don't
4713         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
4714         Better environment var name/interface suggestions accepted.
4715
4716 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4717
4718         * gst/gstobject.c: (gst_object_set_name_default),
4719         (gst_object_set_name):
4720           Random micro-optimisation: don't use a hash table
4721           with strings as keys and the usual strdup/strcmp
4722           involved, but rather just use the GQuark of the
4723           type name as key, since it needs to be looked up
4724           anyway to get the type name string.
4725
4726         * tests/check/gst/gstobject.c: (GST_START_TEST):
4727           Fix various leaks.
4728
4729 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4730
4731         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
4732         (gst_bin_iterate_all_by_interface):
4733           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
4734           GTypes are gulongs and thus the top 4 bytes might be cut
4735           off on some platforms when doing GPOINTER_TO_INT, leading
4736           to invalid GTypes and bad things happening (see RH bug #179654).
4737           Also add a check to make sure the type passed in is really
4738           an interface type.
4739
4740 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4741
4742         * .cvsignore:
4743           Ignore more.
4744
4745 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4746
4747         * Makefile.am:
4748         * configure.ac:
4749         * gst-element-check.m4:
4750         * gst-element-check.m4.in:
4751           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
4752           instead of the unversioned gst-inspect (#324176, #168659).
4753
4754 2006-07-06  Wim Taymans  <wim@fluendo.com>
4755
4756         * gst/gstmessage.h:
4757         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
4758         warnings.
4759
4760 2006-07-06  Wim Taymans  <wim@fluendo.com>
4761
4762         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4763         (gst_base_src_wait), (gst_base_src_update_length),
4764         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
4765         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
4766         (gst_base_src_loop), (gst_base_src_start),
4767         (gst_base_src_activate_pull):
4768         Update docs.
4769         blocksize == 0 now means the default blocksize when working in push
4770         based mode.
4771         Remove some pointless asserts in _wait function.
4772         Fix offset/length calculations and EOS handling. We can now pull 0
4773         bytes as well, which is allowed.
4774         use _check_get_range() to decide if we can operate in _pull based
4775         mode.
4776         Fix refcounting leak when check_get_range function was not 
4777         implemented.
4778         API GstBaseSrc::blocksize range can be 0 too now (default)
4779
4780         * tests/check/elements/filesrc.c: (GST_START_TEST),
4781         (filesrc_suite):
4782         Added check to test _get_range() behaviour.
4783
4784 2006-07-06  Wim Taymans  <wim@fluendo.com>
4785
4786         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
4787         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
4788         (gst_pad_pull_range):
4789         * gst/gstpad.h:
4790         Lots of comments and docs added to the pad functions.
4791         Flesh out the expected behaviour of the get_range() functions.
4792
4793 2006-07-06  Wim Taymans  <wim@fluendo.com>
4794
4795         * gst/gstbus.h:
4796         * gst/gstclock.h:
4797         * gst/gstevent.h:
4798         * gst/gstiterator.h:
4799         * gst/gstpad.h:
4800         * gst/gstplugin.h:
4801         * gst/gsttask.h:
4802         Remove comma at end of enumerator list. 
4803
4804 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
4805
4806         * win32/common/libgstbase.def:
4807         * win32/common/libgstdataprotocol.def:
4808         * win32/common/libsgtreamer.def:
4809         Add new exported functions.
4810
4811 2006-07-05  Wim Taymans  <wim@fluendo.com>
4812
4813         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
4814         Add some more docs here and there.
4815
4816 2006-07-05  Wim Taymans  <wim@fluendo.com>
4817
4818         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
4819         (gst_base_sink_loop), (gst_base_sink_get_position):
4820         When operating in pull mode update the offset so that we
4821         read sequentially.
4822
4823 2006-07-05  Wim Taymans  <wim@fluendo.com>
4824
4825         * gst/gstregistryxml.c: (read_string):
4826         Avoid strdup. (will happen in libxml, but hey!)
4827
4828         * gst/gsturi.c:
4829         Add some more docs.
4830
4831 2006-07-05  Wim Taymans  <wim@fluendo.com>
4832
4833         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
4834         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
4835         (gst_buffer_suite):
4836         No point in checking if the size of the subbuffer > 0, the
4837         code handles it correclty as demonstrated by unit test.
4838         Also add a unit test for the zero sized _new_and_alloc and
4839         _copy. Fixes #346663.
4840
4841 2006-07-05  Wim Taymans  <wim@fluendo.com>
4842
4843         * libs/gst/base/gstbasetransform.c:
4844         (gst_base_transform_prepare_output_buffer),
4845         (gst_base_transform_buffer_alloc),
4846         (gst_base_transform_handle_buffer):
4847         Make sure the buffer we pass to transform_ip has a refcount of
4848         1 and thus is writable. Fixes #343196
4849
4850 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
4851
4852         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4853         (gst_file_src_init), (gst_file_src_set_property),
4854         (gst_file_src_get_property), (gst_file_src_map_region):
4855         * plugins/elements/gstfilesrc.h:
4856         Add "sequential" property, off by default, to use madvise and hint
4857         to the kernel that sequential access is desired.
4858         Touch all retrieved pages by default to ensure they are pulled
4859         into memory. (Closes #345720)
4860
4861 2006-07-03  Wim Taymans  <wim@fluendo.com>
4862
4863         * docs/design/part-block.txt:
4864         * docs/design/part-dynamic.txt:
4865         Small docs updates.
4866
4867 2006-07-03  Wim Taymans  <wim@fluendo.com>
4868
4869         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
4870         (gst_caps_unref), (gst_static_caps_get),
4871         (gst_caps_append_structure):
4872         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4873         Use GSlice when the glib we build against is >= 2.10
4874
4875 2006-07-03  Wim Taymans  <wim@fluendo.com>
4876
4877         * gst/gstelement.c: (gst_element_pads_activate):
4878         Small cleanup in pad activation code.
4879
4880 2006-07-03  Wim Taymans  <wim@fluendo.com>
4881
4882         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4883
4884         * gst/gst-i18n-app.h:
4885         * gst/gst-i18n-lib.h:
4886         * tools/gst-inspect.c: (print_signal_info):
4887         The attached patch will make the inclusion of gettext.h unconditional in
4888         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
4889         libintl.h in tools/gst-inspect.c.
4890         This allows use of --disable-nls again and fixes #344642.
4891
4892 2006-07-03  Edward Hervey  <edward@fluendo.com>
4893
4894         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
4895         Implement pad blocking on events according to part-block.txt.
4896         More comments on behaviour.
4897         * tests/check/gst/gstevent.c: (test_event):
4898         Send event to peer pad of blocked pad (else it will block).
4899
4900 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4901
4902         * libs/gst/check/gstcheck.c: (gst_check_message_error),
4903         (gst_check_run_suite):
4904           if we get the wrong message, give us the types as string
4905         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4906           Fix a translatable
4907         * tests/check/elements/filesrc.c: (GST_START_TEST):
4908           add a test for trying to open a non-existing file
4909
4910 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4911
4912         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4913           add a test for adding self
4914
4915 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4916
4917         * libs/gst/check/gstcheck.h:
4918           add some assert_ as alias for fail_unless_*
4919         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
4920           increase test coverage
4921
4922 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4923
4924         * Makefile.am:
4925           include lcov.mak for lcov coverage generation
4926         * tools/Makefile.am:
4927           add to CLEANFILES
4928
4929 2006-07-02  Edward Hervey  <edward@fluendo.com>
4930
4931         * tests/check/elements/.cvsignore:
4932         moaping
4933
4934 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4935
4936         * configure.ac:
4937           don't set CFLAGS and friends for gcov, done from GST_GCOV now
4938         * tests/check/Makefile.am:
4939           clean up gcov files
4940
4941 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4942
4943         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
4944           remove gst_caps_simplify; it was not declared and not used
4945           and deprecated in 0.8
4946
4947 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4948
4949         * docs/faq/gst-uninstalled:
4950           don't put empty paths on PYTHONPATH
4951         * docs/gst/gstreamer-sections.txt:
4952           remove some symbols that are not there
4953
4954 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4955
4956         * gst/gstcaps.c: (gst_caps_compare_structures):
4957           whitespace fixes
4958         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4959         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4960           add more tests
4961
4962 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4963
4964         * libs/gst/dataprotocol/Makefile.am:
4965           build dataprotocol test by linking to the lib, instead of
4966           compiling the source, so we get coverage
4967         * tests/check/Makefile.am:
4968         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
4969         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
4970           add a test for filesrc
4971
4972 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4973
4974         * tests/check/gst/gststructure.c: (GST_START_TEST),
4975         (gst_structure_suite):
4976           Push coverage from 59.04% to 70.00%
4977
4978 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4979
4980         * tests/check/Makefile.am:
4981           gst-inspect every element; this makes sure that we also get
4982           coverage on element's get/set functions
4983
4984 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4985
4986         * configure.ac:
4987           set CFLAGS and friends to -O0 if gcov is being used
4988           add GCOV LIBS
4989         * gst/Makefile.am:
4990         * libs/gst/base/Makefile.am:
4991         * libs/gst/check/Makefile.am:
4992         * libs/gst/controller/Makefile.am:
4993         * libs/gst/dataprotocol/Makefile.am:
4994         * libs/gst/net/Makefile.am:
4995         * plugins/elements/Makefile.am:
4996         * plugins/indexers/Makefile.am:
4997           add makefile rules to generate gcov data and clean up
4998         * tests/check/Makefile.am:
4999           add a coverage target that generates an html overview
5000           of coverage data
5001
5002 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5003
5004         * tests/check/elements/fakesink.c:
5005         * tests/check/elements/fakesrc.c:
5006         * tests/check/elements/fdsrc.c:
5007         * tests/check/elements/identity.c:
5008         * tests/check/generic/sinks.c: (gst_sinks_suite):
5009         * tests/check/generic/states.c:
5010         * tests/check/gst/gst.c:
5011         * tests/check/gst/gstabi.c:
5012         * tests/check/gst/gstbin.c:
5013         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
5014         * tests/check/gst/gstbus.c: (gst_bus_suite):
5015         * tests/check/gst/gstcaps.c: (GST_START_TEST):
5016         * tests/check/gst/gstelement.c:
5017         * tests/check/gst/gstevent.c: (gst_event_suite):
5018         * tests/check/gst/gstghostpad.c:
5019         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
5020         * tests/check/gst/gstmessage.c: (gst_message_suite):
5021         * tests/check/gst/gstminiobject.c:
5022         * tests/check/gst/gstobject.c:
5023         * tests/check/gst/gstpad.c:
5024         * tests/check/gst/gstpipeline.c:
5025         * tests/check/gst/gstplugin.c:
5026         * tests/check/gst/gstquery.c: (gst_query_suite):
5027         * tests/check/gst/gstsegment.c: (gst_segment_suite):
5028         * tests/check/gst/gststructure.c:
5029         * tests/check/gst/gstsystemclock.c:
5030         * tests/check/gst/gsttag.c:
5031         * tests/check/gst/gsttask.c: (gst_task_suite):
5032         * tests/check/gst/gstutils.c:
5033         * tests/check/gst/gstvalue.c:
5034         * tests/check/libs/adapter.c:
5035         * tests/check/libs/basesrc.c:
5036         * tests/check/libs/collectpads.c:
5037         * tests/check/libs/controller.c:
5038         * tests/check/libs/gdp.c: (gst_dp_suite):
5039         * tests/check/libs/gstnetclientclock.c:
5040         * tests/check/libs/gstnettimeprovider.c:
5041         * tests/check/libs/libsabi.c: (libsabi_suite):
5042         * tests/check/libs/typefindhelper.c:
5043         * tests/check/pipelines/cleanup.c:
5044         * tests/check/pipelines/parse-launch.c:
5045         * tests/check/pipelines/simple-launch-lines.c:
5046         * tests/check/pipelines/stress.c: (stress_suite):
5047           use the new macro
5048
5049 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5050
5051         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
5052         * libs/gst/check/gstcheck.h:
5053           create a macro and function so that the simple unit test
5054           case can be just one macro to create main()
5055
5056 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
5057
5058         * gst/gstbin.c: (gst_bin_restore_thyself):
5059         * gst/gstxml.c: (gst_xml_make_element):
5060           Fix deserialisation from XML. Set parent manually
5061           instead of using gst_bin_add(), since gst_bin_add()
5062           will unlink all pads of the element being added.
5063           Fixes #341667.
5064
5065 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
5066
5067         Patch by: Peter Kjellerstedt <pkj at axis com>
5068
5069         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
5070           Fix missing g_strdup() and double free when using the
5071           --gst-plugin-load command line option (#346097).
5072
5073 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
5074
5075         * gst/gstinfo.c:
5076           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
5077
5078         * libs/gst/net/gstnetclientclock.c:
5079         * libs/gst/net/gstnettimeprovider.c:
5080           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
5081
5082 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
5083
5084         * docs/manual/advanced-dataaccess.xml:
5085           Fix buffer probe example compilation in
5086           ADM (#345708).
5087         
5088 2006-06-22  Edward Hervey  <edward@fluendo.com>
5089
5090         * gst/gstelement.c: (gst_element_pads_activate):
5091         We need to deactivate src pads first and then sink pads.
5092         The reason is the src pads might be blocking while holding the streaming
5093         lock, so we need to deactivate them first so that deactivating the sink
5094         pads doesn't block (since it will require the streaming lock).
5095
5096 2006-06-22  Wim Taymans  <wim@fluendo.com>
5097
5098         * libs/gst/base/gstbasetransform.c:
5099         (gst_base_transform_buffer_alloc):
5100         Forgot to remove two unneeded unrefs.
5101         Simplify a check _is_equal allready checks the obvious case.
5102
5103 2006-06-22  Wim Taymans  <wim@fluendo.com>
5104
5105         * docs/design/part-block.txt:
5106         Some docs about what pad_block should do.
5107
5108 2006-06-22  Wim Taymans  <wim@fluendo.com>
5109
5110         * gst/gstcaps.c: (gst_caps_replace):
5111         Fix crasher when passed NULL. Doc clarification.
5112         Optimize for the trivial case.
5113
5114         * gst/gstpipeline.c: (gst_pipeline_change_state):
5115         Small cleanups.
5116
5117         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5118         Small documentation cleanup.
5119
5120         * libs/gst/base/gstbasetransform.c:
5121         (gst_base_transform_buffer_alloc):
5122         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
5123         is what we need and it avoids a whole lot of redundant 
5124         refcount operations.
5125
5126 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
5127
5128         Patch by: Philip Jägenstedt  <philip at lysator liu se>
5129
5130         * docs/manual/advanced-dataaccess.xml:
5131           Fix 'Embedding static elements' section to use
5132           GST_PLUGIN_DEFINE_STATIC (#345607).
5133
5134 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5135
5136         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
5137           Attempt to 'fix' spuriously failing test case: it seems like the
5138           timeout of half a second is simply too small when the system is under
5139           load otherwise, and the timeout doesn't really seem to serve any
5140           particular purpose here. Give the pipeline a few seconds to preroll
5141           first, and then give it another half a second to go from PAUSED to
5142           PLAYING and marshal the message into the main thread.
5143
5144 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5145
5146         * tools/gst-feedback-m.m:
5147           Don't only use unversioned tools, try versioned tools as well
5148           (#345086).
5149
5150 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5151
5152         * gst/gstbus.c: (gst_bus_class_init):
5153           Fix some typos, make docs more explicit.
5154
5155 2006-06-20  Wim Taymans  <wim@fluendo.com>
5156
5157         * tests/check/gst/gstghostpad.c: (block_callback),
5158         (GST_START_TEST), (gst_ghost_pad_suite):
5159         Added some more ghostpad tests, mainly blocking
5160         and probes.
5161
5162 2006-06-16  Wim Taymans  <wim@fluendo.com>
5163
5164         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
5165         (gst_file_sink_close_file), (gst_file_sink_do_seek),
5166         (gst_file_sink_event), (gst_file_sink_render):
5167         * plugins/elements/gstfilesink.h:
5168         Check if we can seek in the file instead of assuming
5169         we always can. Post an error when we are asked to seek in a
5170         non-seekable file (like a fifo). Fixes #343312.
5171         Some cleanups.
5172
5173 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
5174
5175         * tools/gst-launch.1.in:
5176           Un-garble (fourcc) bit in filtered caps section.
5177
5178 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
5179
5180         * docs/manual/advanced-autoplugging.xml:
5181         * docs/manual/basics-helloworld.xml:
5182         * docs/manual/highlevel-components.xml:
5183           Don't leak bus reference in sample code.
5184
5185 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
5186
5187         * autogen.sh:
5188           Add default for new --enable-plugin-docs switch.
5189
5190         * configure.ac:
5191           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
5192           Fixes #344039.
5193
5194         * docs/Makefile.am:
5195           Use new ENABLE_PLUGIN_DOCS conditional.
5196
5197 2006-06-14  Wim Taymans  <wim@fluendo.com>
5198
5199         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
5200         Make it clear with a FIXME and a real define what the #if 0
5201         previously disabled.
5202
5203 2006-06-14  Wim Taymans  <wim@fluendo.com>
5204
5205         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
5206         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5207         * libs/gst/base/gstbasetransform.c:
5208         (gst_base_transform_sink_eventfunc):
5209         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
5210         Don't randomly and silently reset a segment when the format 
5211         changes as this is a bug somewhere upstream. Fixes #330379.
5212
5213 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5214
5215         Patch by: Wouter Paesen  <wouter at kangaroot net>
5216
5217         * libs/gst/controller/gstcontroller.c:
5218         (gst_controlled_property_new):
5219           Fix controlling of float properties (#344849).
5220
5221         * tests/check/libs/controller.c:
5222         (gst_test_mono_source_get_property),
5223         (gst_test_mono_source_set_property),
5224         (gst_test_mono_source_class_init), (GST_START_TEST):
5225           While we're at it, add some float stuff to unit test.
5226
5227 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5228
5229         * docs/README:
5230         * docs/images/gdp-header.svg:
5231           add a gdp image
5232         * docs/libs/Makefile.am:
5233         * docs/libs/gdp-header.png:
5234         * libs/gst/dataprotocol/dataprotocol.c:
5235           add it to the API docs
5236         * docs/manual/intro-motivation.xml:
5237           fix typo
5238
5239 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
5240
5241         * gst/gst.c: (scan_and_update_registry), (init_post):
5242           If the fork()'ed child process can't write the updated registry cache
5243           file to disk for some reason, make it exit with a failure exit code,
5244           so that the parent can then re-scan the plugins itself and update the
5245           registry structures in memory and work with that (rather than failing
5246           when creating elements because seemingly no plugins are available).
5247           Refactor registry scanning code into separate function for this and
5248           also separate fork() and non-fork() code paths. Fixes #344748.
5249
5250 2006-06-13  Wim Taymans  <wim@fluendo.com>
5251
5252         * docs/manual/advanced-dataaccess.xml:
5253         Fix wrong PluginDesc. Fixes #344755.
5254
5255 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
5256
5257         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5258           Fix silly bug that prevented us from creating
5259           ~/.gstreamer-0.10 and writing the registry in one
5260           go (the first call to g_mkstemp() would overwrite the
5261           placeholder in the template string, so the second call
5262           to g_mkstemp() after creating the missing directory
5263           would then error out with 'invalid argument').
5264
5265 2006-06-13  Edward Hervey  <edward@fluendo.com>
5266
5267         * gst/gst.c: (init_post):
5268         Free string.
5269
5270 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5271
5272         * gst/glib-compat-private.h:
5273         * gst/glib-compat.c:
5274         * gst/glib-compat.h:
5275         * gst/gstvalue.c: (gst_value_serialize_flags):
5276           remove GLib 2.6 compatibility code
5277
5278 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
5279
5280         * gst/parse/Makefile.am:
5281           Fix build with 'make -j N' even more (#340016).
5282
5283 2006-06-12  Wim Taymans  <wim@fluendo.com>
5284
5285         * docs/gst/gstreamer-sections.txt:
5286         Fix docs.
5287
5288 2006-06-12  Wim Taymans  <wim@fluendo.com>
5289
5290         * gst/gstsegment.c: (gst_segment_set_duration),
5291         (gst_segment_set_last_stop), (gst_segment_set_seek),
5292         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5293         (gst_segment_to_running_time), (gst_segment_clip):
5294         Use G_UNLIKELY to help the compiler a bit.
5295
5296 2006-06-12  Wim Taymans  <wim@fluendo.com>
5297
5298         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
5299
5300         * gst/gstevent.c: (gst_event_get_type):
5301         * gst/gstmessage.c:
5302         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
5303         (gst_pad_push):
5304         constify quark registration strings. Fixes #344115
5305         Avoid unneeded type checking is _pad_push() by internally
5306         calling gst_pad_chain_unchecked().
5307
5308 2006-06-12  Wim Taymans  <wim@fluendo.com>
5309
5310         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
5311         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
5312         (gst_subbuffer_finalize), (gst_buffer_create_sub),
5313         (gst_buffer_is_span_fast), (gst_buffer_span):
5314         Init _type for consistency.
5315         Use _FLAGS macro to avoid type check.
5316         Avoid unneeded type checks in subbufer code.
5317
5318 2006-06-12  Wim Taymans  <wim@fluendo.com>
5319
5320         * gst/gst.c: (gst_debug_help):
5321         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
5322         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5323         (gst_plugin_feature_list_free):
5324         * gst/gstregistry.c: (gst_registry_add_plugin),
5325         (gst_registry_add_feature), (gst_registry_plugin_filter),
5326         (gst_registry_feature_filter), (gst_registry_find_plugin),
5327         (gst_registry_find_feature), (gst_registry_get_plugin_list),
5328         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
5329         * gst/gstregistryxml.c: (load_feature),
5330         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
5331         * gst/gstminiobject.c: (gst_mini_object_unref),
5332         (gst_mini_object_replace), (gst_value_mini_object_free),
5333         (gst_value_mini_object_copy):
5334         Use _CAST macros to avoid unneeded type checking.
5335         Added some more G_UNLIKELY.
5336
5337 2006-06-12  Wim Taymans  <wim@fluendo.com>
5338
5339         * gst/gstbuffer.h:
5340         Avoid unneeded type checking.
5341         API: GST_BUFFER_IS_DISCONT
5342
5343         * gst/gstminiobject.h:
5344         Avoid type check in flag accessor.
5345
5346         * gst/gstelementfactory.h:
5347         * gst/gstplugin.h:
5348         * gst/gstpluginfeature.h:
5349         Add _CAST macros.
5350         API: GST_ELEMENT_FACTORY_CAST
5351         API: GST_PLUGIN_CAST
5352         API: GST_PLUGIN_FEATURE_CAST
5353
5354 2006-06-12  Wim Taymans  <wim@fluendo.com>
5355
5356         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
5357         (gst_object_unref):
5358         Add G_UNLIKELY in type registration.
5359         Avoid type check in _ref/_unref since that is also
5360         done in glib.
5361
5362 2006-06-12  Wim Taymans  <wim@fluendo.com>
5363
5364         * gst/gsterror.c: (gst_g_error_get_type):
5365         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5366         (gst_static_pad_template_get_type):
5367         * gst/gsttaglist.c: (gst_tag_list_get_type):
5368         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
5369         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
5370         * gst/gsturi.c: (gst_uri_handler_get_type):
5371         * gst/gstvalue.c: (gst_date_get_type):
5372         * gst/gstxml.c: (gst_xml_get_type):
5373         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5374         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5375         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
5376         Add G_UNLIKELY in type registration.
5377
5378 2006-06-12  Wim Taymans  <wim@fluendo.com>
5379
5380         * tools/gst-inspect.c: (print_signal_info):
5381         Properly print enum values.
5382
5383 2006-06-12  Wim Taymans  <wim@fluendo.com>
5384
5385         * gst/gstinfo.c: (gst_debug_set_active),
5386         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
5387         * gst/gstinfo.h:
5388         Add some G_[UN]LIKELY.
5389         Maintain __gst_debug_min to avoid formatting the arguments of
5390         debug messages that will be dropped anyway to avoid a lot of 
5391         overhead from the debugging system.
5392
5393 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5394
5395         * po/POTFILES.in:
5396         * po/POTFILES.skip:
5397           add missing files containing translatable strings, tell intltool about
5398           one exception
5399
5400 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5401
5402         * tests/check/libs/.cvsignore:
5403         add test-binary to ignore list
5404
5405 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5406
5407         * docs/libs/gstreamer-libs-docs.sgml:
5408         reorder (put dp into a chapter) and indent
5409
5410 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5411
5412         * configure.ac:
5413           back to HEAD
5414
5415 === release 0.10.8 ===
5416
5417 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
5418
5419         * configure.ac:
5420           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
5421
5422 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5423
5424         * gst/gst.c: (init_post):
5425           move pid declaration to declaration block
5426
5427 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5428
5429         * gst/gst.c: (init_post):
5430           use _exit() instead of exit() in our forked child; this ensures
5431           that none of the registered exit handlers from whatever is using
5432           GStreamer get executed.  This fixes gnome-mixer-applet failing
5433           to load, because ORBit would shut down.
5434           Spotted by: Edward Hervey  <edward@fluendo.com>
5435           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
5436           Fixes #344474
5437
5438 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5439
5440         * configure.ac:
5441           back to TRUNK
5442
5443 === release 0.10.7 ===
5444
5445 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
5446
5447         * configure.ac:
5448           releasing 0.10.7, "Soepeke, ik zie ou"
5449
5450 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
5451
5452         * configure.ac:
5453         * po/af.po:
5454         * po/az.po:
5455         * po/bg.po:
5456         * po/ca.po:
5457         * po/cs.po:
5458         * po/de.po:
5459         * po/en_GB.po:
5460         * po/fr.po:
5461         * po/it.po:
5462         * po/nb.po:
5463         * po/nl.po:
5464         * po/ru.po:
5465         * po/sq.po:
5466         * po/sr.po:
5467         * po/sv.po:
5468         * po/tr.po:
5469         * po/uk.po:
5470         * po/vi.po:
5471         * po/zh_CN.po:
5472         * po/zh_TW.po:
5473         * win32/common/config.h:
5474           0.10.6.2 prerelease
5475
5476 2006-06-07  Wim Taymans  <wim@fluendo.com>
5477
5478         * gst/gstindex.c: (gst_index_gtype_resolver):
5479         * tools/gst-xmlinspect.c: (print_plugin_info):
5480         Fix leak spotted by coverity checker. Fixes #343827
5481         Fix another other leak found by paolo borelli.
5482
5483 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5484
5485         * libs/gst/dataprotocol/dataprotocol.c:
5486         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5487         (gst_dp_version_get_type), (gst_dp_init),
5488         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
5489         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
5490         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
5491         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
5492         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
5493         (gst_dp_packetizer_free):
5494         * libs/gst/dataprotocol/dataprotocol.h:
5495           API: add a GstDPPacketizer object, and create/free functions
5496           API: add GstDPVersion enum
5497           Add 1.0 event function that uses the string serialization
5498           Serialize more useful buffer flags
5499           Fixes #343988
5500
5501 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5502
5503         * tests/check/Makefile.am:
5504         * tests/check/gst/gstabi.c:
5505         * tests/check/gst/struct_ppc64.h:
5506         * tests/check/libs/libsabi.c:
5507         * tests/check/libs/struct_ppc64.h:
5508           add ppc64 structure sizes
5509
5510 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5511
5512         * tests/check/Makefile.am:
5513         * tests/check/gst/gstabi.c:
5514         * tests/check/gst/struct_x86_64.h:
5515         * tests/check/libs/libsabi.c:
5516         * tests/check/libs/struct_x86_64.h:
5517           generate and add structure size lists for x86_64
5518
5519 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5520
5521         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5522         * libs/gst/check/gstcheck.h:
5523           factor out the method from tests that checks size of structures,
5524           and add code to generate the header containing these sizes
5525         * tests/check/gst/gstabi.c: (GST_START_TEST):
5526         * tests/check/gst/struct_i386.h:
5527         * tests/check/libs/libsabi.c: (GST_START_TEST):
5528         * tests/check/libs/struct_i386.h:
5529           use it
5530
5531 2006-06-06  Michael Smith  <msmith@fluendo.com>
5532
5533         * gst/gstsegment.h:
5534           Don't use c++-style comments, fixes #343929
5535
5536 2006-06-05  Edward Hervey  <edward@fluendo.com>
5537
5538         * gst/gst.c:
5539         plugin_paths is not used if we build without registry support.
5540
5541         * gst/gstsegment.c: (gst_segment_copy): 
5542         _copy() was always returning NULL...
5543
5544 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5545
5546         * libs/gst/dataprotocol/dataprotocol.c:
5547         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5548         (gst_dp_packet_from_event):
5549           factor out CRC code
5550
5551 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5552
5553         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
5554           make sure we unset caps
5555
5556 2006-06-02  Michael Smith  <msmith@fluendo.com>
5557
5558         * libs/gst/check/gstcheck.c: (gst_check_init),
5559         (gst_check_chain_func):
5560         * libs/gst/check/gstcheck.h:
5561           Add a cond/mutex to the check support lib, signal this whenever we
5562           add to the buffers list. This will allow tests to not busy-wait on
5563           the buffer-list.
5564
5565 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5566
5567         * libs/gst/dataprotocol/dataprotocol.c:
5568         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5569         (gst_dp_packet_from_event):
5570           factor out some common header init code
5571
5572 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5573
5574         * docs/libs/gstreamer-libs-sections.txt:
5575         * docs/libs/tmpl/gstdataprotocol.sgml:
5576         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
5577         * libs/gst/dataprotocol/dataprotocol.h:
5578           API: make gst_dp_crc() public
5579
5580 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
5581
5582         * plugins/indexers/gstindexers.c: (plugin_init):
5583         conditionally register fileindexer (fixes #343598)
5584
5585 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
5586
5587         * gst/gsttagsetter.h:
5588         Can't cast ifaces to a class
5589
5590         * libs/gst/net/gstnetclientclock.h:
5591         * libs/gst/net/gstnettimeprovider.h:
5592         * plugins/elements/gstfakesink.h:
5593         * plugins/elements/gstfakesrc.h:
5594         * plugins/elements/gstfdsink.h:
5595         * plugins/elements/gstfdsrc.h:
5596         * plugins/elements/gstfilesink.h:
5597         * plugins/elements/gstfilesrc.h:
5598         * plugins/elements/gstidentity.h:
5599         * plugins/elements/gstqueue.h:
5600         * plugins/elements/gsttee.h:
5601         * plugins/indexers/gstfileindex.c:
5602         * plugins/indexers/gstmemindex.c:
5603         * tests/old/examples/plugins/example.h:
5604         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
5605
5606 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5607
5608         * libs/gst/dataprotocol/dataprotocol.c:
5609         (gst_dp_header_from_buffer):
5610           make sure we zero the whole ABI-compatible area
5611
5612 2006-06-01  Wim Taymans  <wim@fluendo.com>
5613
5614         Patch by: Alessandro Decina <alessandro at nnva dot org>
5615
5616         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
5617         Make sure the EOS flag is cleared from pads after a flush
5618         or stop. Fixes #343538.
5619
5620         * tests/check/libs/collectpads.c: (GST_START_TEST),
5621         (gst_collect_pads_suite):
5622         Added test for collectpads reusage after EOS.
5623
5624 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
5625
5626         * gst/gst.c:
5627          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
5628         * win32/common/libgstbase.def:
5629          export gst_collect_pads_set_flushing
5630         * win32/common/libgstreamer.def:
5631          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
5632          gst_value_fraction_multiply
5633         * win32/vs6/gst_inspect.dsp:
5634          add a link to intl.lib
5635
5636 2006-05-30  Wim Taymans  <wim@fluendo.com>
5637
5638         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5639         (gst_collect_pads_chain):
5640         Handle the case where a pad is removed from the collection
5641         that could cause the other pads to become collectable.
5642
5643 2006-05-30  Wim Taymans  <wim@fluendo.com>
5644
5645         * gst/gstelement.c:
5646         Clarify the use of _release_request_pad() and
5647         _get_request_pad() a bit better.
5648
5649         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
5650         (gst_adapter_take_buffer):
5651         Fix some doc and comment typos.
5652
5653 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5654
5655         * docs/gst/gstreamer-sections.txt:
5656         * docs/libs/gstreamer-libs-sections.txt:
5657           add declared symbols
5658
5659 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
5660
5661         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5662         Add debug that can be enabled using a #define at the top of the file,
5663         for dumping stats about how late/early we were when waking up from
5664         waiting on the clock.
5665
5666 2006-05-30  Wim Taymans  <wim@fluendo.com>
5667
5668         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
5669         When rebuilding the pad list, don't leak the previous list.
5670
5671 2006-05-30  Wim Taymans  <wim@fluendo.com>
5672
5673         Patch by: Lutz Mueller <lutz at topfrose dot de>
5674
5675         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5676         (gst_base_src_get_query_types), (gst_base_src_update_length):
5677         Publish supported query types.
5678         Update last_stop field in get_range mode so the position
5679         query works. Fixes #342321.
5680
5681 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
5682
5683         * docs/gst/gstreamer-sections.txt:
5684         * gst/gsttaglist.c: (_gst_tag_initialize):
5685         * gst/gsttaglist.h:
5686           API: add GST_TAG_PREVIEW_IMAGE (#343341).
5687
5688 2006-05-30  Wim Taymans  <wim@fluendo.com>
5689
5690         Patch by: Alessandro Decina <alessandro at nnva dot org>
5691
5692         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5693         Unlock mutex when removing an unknown pad.
5694         Fixes #343334.
5695
5696         * tests/check/Makefile.am:
5697         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
5698         (push_event), (setup), (teardown), (GST_START_TEST),
5699         (gst_collect_pads_suite), (main):
5700         Added collecpads check, disabled for now as check crashes for
5701         some reason.
5702
5703 2006-05-29  Wim Taymans  <wim@fluendo.com>
5704
5705         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
5706         Don't leak pads lists.
5707
5708 2006-05-29  Wim Taymans  <wim@fluendo.com>
5709
5710         * docs/libs/gstreamer-libs-sections.txt:
5711         * libs/gst/base/gstcollectpads.c:
5712         (gst_collect_pads_set_flushing_unlocked),
5713         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
5714         (gst_collect_pads_stop):
5715         * libs/gst/base/gstcollectpads.h:
5716         API: gst_collect_pads_set_flushing()
5717         Added api to set the pads to flushing, useful for seeking
5718         code in elements using collectpads.
5719         Clear segment when receiving a flush.
5720
5721 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
5722
5723         * gst/gst.c: (add_path_func), (init_post):
5724           Don't scan registry paths passed via --gst-plugin-path immediately
5725           (will crash, because absolutely nothing is set up and no types are
5726           registered etc.); do this later in init_post(). Fixes #343057.
5727
5728 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5729
5730         * gst/gst.c: (init_post):
5731           if we have fork, fork while reading/rebuilding the registry
5732           so the parent doesn't take the hit of having all plugins loaded
5733           in memory.  Fixes #342777.
5734         * configure.ac:
5735           Check if we have fork()
5736         * win32/common/config.h.in:
5737           no fork() on win32
5738
5739 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
5740
5741         * plugins/elements/gstelements.c:
5742         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5743         (gst_file_src_init), (gst_file_src_set_property),
5744         (gst_file_src_get_property), (gst_file_src_start):
5745         * plugins/elements/gstfilesrc.h:
5746           API: GstFileSrc::use-mmap
5747
5748         Add a use-mmap property to enable easier testing of all code paths.
5749         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
5750         in the absence of gnomevfssrc. (Closes #340501)
5751
5752 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5753
5754         * tools/gst-inspect.c:
5755         Add missing include, removes warning of ngettext not being defined on
5756         some arches.
5757
5758 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
5759
5760         * gst/gstvalue.c: (gst_value_deserialize_fraction):
5761         Handle NULL input and output pointers silently as a failed conversion,
5762         rather than g_warnings.
5763
5764 2006-05-25  Wim Taymans  <wim@fluendo.com>
5765
5766         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
5767         Initialize variable before using. Fixes #342820.
5768
5769 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
5770
5771         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
5772           Fix off-by-one bug that would only allow peeks of N-1 bytes
5773           from the start even if the buffer to typefind on contains
5774           in fact N bytes of data (makes vorbis typefinding from a
5775           vorbis identification header buffer work).
5776
5777         * tests/check/Makefile.am:
5778         * tests/check/libs/.cvsignore:
5779         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
5780         (gst_typefindhelper_suite), (main), (foobar_typefind),
5781         (plugin_init):
5782           Add very basic unit test for gst_type_find_helper_for_buffer()
5783           that checks for the problem fixed above.
5784
5785 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5786
5787         * tools/gst-inspect.c: (print_interfaces),
5788         (print_element_properties_info), (print_element_list), (main):
5789           add more translatable strings
5790
5791 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
5792
5793         Patch by: Julien Moutte  <julien at moutte net>
5794
5795         * docs/gst/gstreamer-sections.txt:
5796           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
5797           
5798         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
5799         (gst_fake_sink_preroll):
5800         * plugins/elements/gstfakesink.h:
5801           API: Add new GstFakeSink::preroll-handoff signal (#337100).
5802
5803 2006-05-23  Wim Taymans  <wim@fluendo.com>
5804
5805         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
5806         * gst/gstpad.h:
5807         Added _CUSTOM error and success GstFlowReturn that can be
5808         used be elements internally. 
5809         Added macro to check for SUCCESS flowreturns.
5810         API: GST_FLOW_CUSTOM_SUCCESS
5811         API: GST_FLOW_CUSTOM_ERROR
5812         API: GST_FLOW_IS_SUCCESS
5813
5814         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5815         Added check for GstFlowReturn sanity.
5816
5817 2006-05-23  Wim Taymans  <wim@fluendo.com>
5818
5819         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5820
5821         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5822         (gst_collect_pads_event):
5823         clear/reset segment info in FLUSH_STOP.
5824         Fixes #336929.
5825
5826 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
5827
5828         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
5829         (gst_collect_pads_check_collected):
5830         Flush queued buffer on _stop(), fixes playing again (#342454)
5831
5832 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5833
5834         * tests/check/gst/gststructure.c: (GST_START_TEST),
5835         (gst_structure_suite):
5836           add a test for a complete structure
5837
5838 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
5839
5840         * docs/faq/developing.xml:
5841         * docs/faq/faq.xml:
5842         * docs/faq/troubleshooting.xml:
5843         * docs/faq/using.xml:
5844           Some minor FAQ updates that won't change the fact that
5845           our FAQ is badly structured, full of information hardly
5846           anyone new to GStreamer needs to know and lacking lots
5847           of information people constantly ask for.
5848           
5849 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
5850
5851         * gst/gstpad.c: (gst_pad_set_caps):
5852           Short-circuit gst_pad_set_caps if setting the existing
5853           caps pointer again, and avoid printing debug and 
5854           reffing/unreffing the caps.
5855
5856         * plugins/elements/gstqueue.c: (gst_queue_push_one):
5857           There's actually no need to set the caps before pushing -
5858           the acceptcaps method will handle it anyway.
5859
5860 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
5861
5862         * docs/gst/gstreamer-sections.txt:
5863         * win32/common/libgstreamer.def:
5864         * gst/gstutils.c: (gst_element_seek_simple):
5865         * gst/gstutils.h:
5866           API: add gst_element_seek_simple() (#342238).
5867
5868 2006-05-18  Edward Hervey  <edward@fluendo.com>
5869
5870         * gst/gsttypefind.c: (gst_type_find_get_type):
5871         * gst/gsttypefind.h:
5872         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
5873         registered for GstTypeFind pointers. This allows wrapping the structure
5874         in bindings (i.e. gst-python).
5875
5876 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
5877
5878         * gst/gsttagsetter.c:
5879           Docs additions and fixes (see #339918).
5880
5881 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
5882
5883         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5884         The caps intersection algorithm can produce multiple copies of the
5885         caps. Until that is fixed, we need to simplify the result to be
5886         sure whether the allowed caps are fixed or not.
5887
5888         * plugins/elements/gstqueue.c: (gst_queue_init),
5889         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
5890         (gst_queue_push_one):
5891         Proxied buffer alloc should not set the caps on the source pad.
5892         When pushing buffers, we always accept the caps change that triggers.
5893         This prevents negotiation errors caused by caps changing mid-stream 
5894         and then being refused on our source pad (because upstream is now
5895         refusing those caps).
5896
5897 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
5898
5899         * tests/examples/helloworld/helloworld.c: (main):
5900           Must plug audioconvert and audioresample between decoder
5901           and audio sink.
5902
5903 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
5904
5905         * gst/gstregistryxml.c: (read_string), (load_pad_template),
5906         (load_feature), (load_plugin):
5907         Allow empty strings for some of the plugin fields so we don't 
5908         drop valid plugin entries that were written out correctly
5909         (Fixes #341479)
5910
5911 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
5912         
5913         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5914           Use g_remove and g_rename instead of remove and rename that don't 
5915           handle utf8 characters. rename was failing for users who had specific
5916           characters in their name then the registry was built at each 
5917           gstreamer init.
5918         * win32/vs6/gst_inspect.dsp:
5919         * win32/vs6/gst_launch.dsp:
5920         * win32/vs6/libgstbase.dsp:
5921         * win32/vs6/libgstcoreelements.dsp:
5922         * win32/vs6/libgstreamer.dsp:
5923           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
5924           build of libgstreamer and clean unused libraries in projects link 
5925           settings.
5926
5927 2006-05-17  Edward Hervey  <edward@fluendo.com>
5928
5929         * plugins/elements/gstqueue.c: (gst_queue_push_one):
5930         The queue is not responsible for pushing an EOS when receiving a fatal
5931         flow error. It's up to the real element driving the pipeline to do that.
5932
5933 2006-05-16  Edward Hervey  <edward@fluendo.com>
5934
5935         * plugins/elements/gstqueue.c: (gst_queue_push_one):
5936         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
5937         buffer returned a fatal error. It should just send an EOS and stop
5938         its task.
5939         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
5940         when pushing buffers on the queue and will be able to handle the event.
5941
5942 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
5943
5944         * docs/manual/basics-bins.xml:
5945         * docs/manual/basics-init.xml:
5946           Fix typos and minor errors in sample code (#341856).
5947
5948 2006-05-16  Wim Taymans  <wim@fluendo.com>
5949
5950         * docs/design/part-qos.txt:
5951         Fix indexes in formulas to make more sense.
5952
5953 2006-05-15  Wim Taymans  <wim@fluendo.com>
5954
5955         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5956         Don't report POSITION based on clock time if sync is
5957         disabled in a sink.
5958
5959 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
5960
5961         * gst/gstobject.h:
5962           Add cast to make compiler happy - refcount variable was a gint
5963           in GstObject but is a guint in GObject and g_atomic_int_get()
5964           wants a gint *.
5965
5966 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5967
5968         * gst/parse/Makefile.am:
5969           chain commands using &&, which also makes parallel make work
5970
5971 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
5972
5973         * docs/gst/gstreamer-sections.txt:
5974         * gst/gstevent.c:
5975         * gst/gstevent.h:
5976         * gst/gstmessage.h:
5977           Minor docs fixes.
5978
5979 === release 0.10.6 ===
5980
5981 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
5982
5983         * configure.ac:
5984           releasing 0.10.6, "Take the cannoli"
5985
5986 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
5987
5988         * tools/gst-launch.c: (print_tag):
5989           Fix use of uninitialized variable in the hypothetical
5990           case that some broken plugin creates a GST_TAG_IMAGE
5991           tag containing a NULL buffer (#341667).
5992
5993 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
5994
5995         * tools/gst-launch.c: (print_tag):
5996           Print something more intelligible for image tags when
5997           using the -t switch (#341556).
5998
5999 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6000
6001         * Makefile.am:
6002           updates for win32
6003         * configure.ac:
6004           define GST_MAJORMINOR so we have it available in win32/common/config.h
6005           Possibly remove it from our Makefile.am files later
6006         * win32/common/config.h:
6007         * win32/common/config.h.in:
6008           added GST_MAJORMINOR
6009         * win32/common/gstenumtypes.c: (register_gst_resource_error):
6010         * win32/common/gstversion.h:
6011           updated
6012
6013 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
6014
6015         * win32/MANIFEST:
6016           Update win32 files listing.
6017         * win32/common/gstversion.h:
6018           Add GST_MAJORMINOR definition.
6019         * win32/common/libgstreamer.def:
6020           Add new exported functions.
6021           
6022 2006-05-12  Michael Smith  <msmith@fluendo.com>
6023
6024         * gst/gstplugin.c: (gst_plugin_load_file):
6025           If an so file has no plugin entry point, unload the module.
6026
6027 2006-05-11  Wim Taymans  <wim@fluendo.com>
6028
6029         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
6030         (gst_queue_set_property):
6031         Don't forget to signal the _chain or _loop function 
6032         when the queue size or thresholds change since that might
6033         cause them to make progres again.
6034
6035 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
6036
6037         * gst/gstclock.c: (gst_clock_class_init):
6038         * gst/gstindex.c: (gst_index_class_init):
6039         * gst/gstobject.c: (gst_object_class_init):
6040         * gst/gstpad.c: (gst_pad_class_init):
6041         * gst/gstpipeline.c: (gst_pipeline_class_init):
6042         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6043         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
6044         * libs/gst/base/gstbasetransform.c:
6045         (gst_base_transform_class_init):
6046         * libs/gst/net/gstnetclientclock.c:
6047         (gst_net_client_clock_class_init):
6048         * libs/gst/net/gstnettimeprovider.c:
6049         (gst_net_time_provider_class_init):
6050         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
6051         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6052         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6053         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
6054         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6055         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
6056         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
6057         * plugins/elements/gstidentity.c: (gst_identity_class_init):
6058         * plugins/elements/gsttee.c: (gst_tee_class_init):
6059         * tests/old/examples/plugins/example.c: (gst_example_class_init):
6060         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6061           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
6062
6063 2006-05-11  Wim Taymans  <wim@fluendo.com>
6064
6065         * gst/gstbuffer.c: (_gst_buffer_initialize):
6066         Register subbufer along with the buffer type so that
6067         it does not accidentally gets registered from N
6068         different streaming threads in a non threadsafe way.
6069
6070 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
6071
6072         * gst/gstbuffer.h:
6073         * gst/gstevent.h:
6074         * gst/gstmessage.h:
6075           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
6076           gst_event_ref() and gst_message_ref() functions again
6077           (ugly hack, please do fix if there's a better way besides
6078           overrides.txt, which doesn't seem to work).
6079
6080 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6081
6082         * libs/gst/check/gstcheck.h:
6083           add an assert for setting state to avoid lots of repetitive code
6084           in the future
6085
6086 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6087
6088         * gst/gstvalue.c: (gst_value_serialize_flags):
6089           fix a leak if no flags are set
6090         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6091           fix leak in tests
6092
6093 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
6094
6095         * docs/manual/basics-pads.xml:
6096           Expand a bit on caps and filtered links and update
6097           examples that were still using the no longer existing
6098           gst_pad_link_filtered() (#338206).
6099
6100 2006-05-10  Wim Taymans  <wim@fluendo.com>
6101
6102         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6103         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
6104         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
6105         (gst_collect_pads_stop):
6106         * libs/gst/base/gstcollectpads.h:
6107         No need to call _stop in _finalize.
6108         Iterate the main pad list in _finalize.
6109         Added some more debug.
6110         Free lists and data in the right order.
6111         Also free data whem doing _remove_pad when stopped for
6112         backward compatibility protect ::started with PAD_LOCK as
6113         well.
6114
6115 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6116
6117         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
6118         (gst_structure_parse_value):
6119           add some comments
6120           rename a method so that it actually says what it does better
6121
6122 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6123
6124         * gst/gstevent.c: (_gst_event_initialize):
6125         * gst/gstformat.c: (_gst_format_initialize):
6126           make sure some essential types used by events are registered
6127           as part of gst_init()
6128         * gst/gstvalue.c: (gst_value_serialize_flags):
6129           if no flags are set, serialize them to a value that represents NONE
6130           so that deserializing them works
6131         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6132           add tests for serialization and deserialization of flags
6133
6134 2006-05-10  Wim Taymans  <wim@fluendo.com>
6135
6136         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
6137         (gst_collect_pads_collect_range), (gst_collect_pads_available),
6138         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
6139         (gst_collect_pads_event), (gst_collect_pads_chain):
6140         Update docs.
6141         Better debug info.
6142         Catch and return errors from the collect function
6143         Refuse data on eos pads.
6144
6145 2006-05-10  Edward Hervey  <edward@fluendo.com>
6146
6147         * gst/gstinterface.h:
6148         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
6149         GInterface type checking.
6150         They were previously using non-defined macros.
6151
6152 2006-05-09  Wim Taymans  <wim@fluendo.com>
6153
6154         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
6155         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
6156         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
6157         (gst_collect_pads_start), (gst_collect_pads_stop),
6158         (gst_collect_pads_peek), (gst_collect_pads_pop),
6159         (gst_collect_pads_available), (gst_collect_pads_read),
6160         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
6161         (gst_collect_pads_is_collected), (gst_collect_pads_event),
6162         (gst_collect_pads_chain):
6163         * libs/gst/base/gstcollectpads.h:
6164         Clean up the mess that is collectpads, add comments and
6165         FIXMEs where needed.
6166         Maintain a separate pad list so we can add pads while
6167         collecting the other ones. For this we need a new separate 
6168         lock (see comics).
6169         Fix memory leak in finalize.
6170         Refactor some weird code to set/unset pad flushing flags, mark
6171         with comments.
6172         Don't crash in _available, _read, _flush when we're EOS.
6173
6174         * tests/check/libs/.cvsignore:
6175         Ignore adapter check binary.
6176
6177 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6178
6179         * gst/gstindex.c: (gst_index_resolver_get_type):
6180         * plugins/elements/gstfakesink.c:
6181         (gst_fake_sink_state_error_get_type):
6182         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6183         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
6184         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
6185           Const-ify GEnumValue arrays.
6186
6187 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6188
6189         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6190           Add test case for flags + gst_buffer_make_metadata_writable().
6191
6192 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6193
6194         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
6195           gst_buffer_make_metadata_writable() should maintain the
6196           buffer flags (those that make sense at least) (see #340859).
6197
6198 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6199
6200         * tools/gst-inspect.c:
6201         * tools/gst-launch.c:
6202         * tools/gst-typefind.c:
6203         * tools/gst-xmlinspect.c:
6204         * tools/tools.h:
6205           Fix up includes: need to include stdlib.h in tools.h for exit().
6206
6207 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6208
6209         * gst/gsttaglist.c: (_gst_tag_initialize):
6210         * gst/gsttaglist.h:
6211           API: add GST_TAG_IMAGE tag (#340721).
6212
6213 2006-05-08  Wim Taymans  <wim@fluendo.com>
6214
6215         * gst/gstquery.c:
6216         Added some docs for the segment query.
6217
6218 2006-05-08  Wim Taymans  <wim@fluendo.com>
6219
6220         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6221         (gst_base_src_loop), (gst_base_src_change_state):
6222         Always push non-flushing serialized events in the streaming 
6223         thread.
6224
6225 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
6226
6227         * gst/gsterror.c: (_gst_stream_errors_init):
6228           Add a missing error string.
6229
6230 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
6231
6232         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
6233         Add applied_rate to the debug
6234
6235         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6236         Copy applied_rate into the outgoing NEWSEGMENT event
6237
6238 2006-05-08  Wim Taymans  <wim@fluendo.com>
6239
6240         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
6241
6242         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
6243         (gst_base_sink_change_state):
6244         call ::unlock before taking the PREROLL_LOCK so we can safely
6245         handle elements that lock in ::render.
6246         Fixes #340174.
6247
6248 2006-05-08  Edward Hervey  <edward@fluendo.com>
6249
6250         * autogen.sh: (CONFIGURE_DEF_OPT): 
6251         Darwin's libtoolize is in fact called glibtoolize.
6252         Adding glibtoolize to the list of accepted names for libtoolize.
6253
6254 2006-05-08  Wim Taymans  <wim@fluendo.com>
6255
6256         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6257         Unify error handling, don't post an error message
6258         when a push() returns EOS but perform our normal EOS
6259         handling code. Fixes #340772.
6260
6261 2006-05-08  Wim Taymans  <wim@fluendo.com>
6262
6263         * docs/design/part-overview.txt:
6264         Make upsteam/downstream concepts more clear.
6265         Give an example of serialized/non-serialized events.
6266
6267         * docs/design/part-events.txt:
6268         * docs/design/part-streams.txt:
6269         Mention applied_rate.
6270
6271         * docs/design/part-trickmodes.txt:
6272         Mention applied rate, flesh out some more use cases.
6273
6274         * gst/gstevent.c: (gst_event_new_new_segment),
6275         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
6276         (gst_event_parse_new_segment_full), (gst_event_new_tag),
6277         (gst_event_parse_tag), (gst_event_new_buffer_size),
6278         (gst_event_parse_buffer_size), (gst_event_new_qos),
6279         (gst_event_parse_qos), (gst_event_parse_seek),
6280         (gst_event_new_navigation):
6281         * gst/gstevent.h:
6282         Add applied_rate field to NEWSEGMENT event.
6283         API: gst_event_new_new_segment_full()
6284         API: gst_event_parse_new_segment_full()
6285
6286         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
6287         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
6288         (gst_segment_to_stream_time), (gst_segment_to_running_time):
6289         * gst/gstsegment.h:
6290         Add applied_rate to GstSegment structure.
6291         Make calculation of stream_time and running_time more correct
6292         wrt rate/applied_rate.
6293         Add some more docs.
6294         API: GstSegment::applied_rate field
6295         API: gst_segment_set_newsegment_full();
6296
6297         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6298         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
6299         * libs/gst/base/gstbasetransform.c:
6300         (gst_base_transform_sink_eventfunc),
6301         (gst_base_transform_handle_buffer):
6302         Parse and use applied_rate in the GstSegment field.
6303
6304         * tests/check/gst/gstevent.c: (GST_START_TEST):
6305         Add check for applied_rate field.
6306
6307         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6308         (gstsegments_suite):
6309         Add more checks for various GstSegment operations.
6310
6311 2006-05-08  Wim Taymans  <wim@fluendo.com>
6312
6313         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6314         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
6315         (gst_base_sink_get_position), (gst_base_sink_change_state):
6316         Store the sync time of the buffer end position separatly in a
6317         new variable eos_rtime so we can properly sync the EOS event.
6318         Fixes #340697.
6319         Fix the docs for gst_base_sink_set_qos_enabled().
6320         Don't set segment start to invalid value when we receive a 
6321         non TIME newsegment.
6322         get closer to handling position reporting for negative rates 
6323         correctly.
6324
6325 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
6326
6327         * gst/gstcaps.c:
6328         Docs about how to print caps for debug purposes.
6329
6330         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
6331         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
6332
6333 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
6334
6335         * gst/gstelement.c:
6336           use full enum names and preprend a '%' in docs strings to make recent 
6337           gtk-doc turn that into a link
6338
6339 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6340
6341         * docs/manual/basics-bins.xml:
6342         * docs/manual/basics-bus.xml:
6343         * docs/manual/basics-pads.xml:
6344           Some typo fixes, some additions, some clarifications. 
6345
6346 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6347
6348         * tools/gst-inspect.c: (main):
6349         * tools/gst-launch.c: (main):
6350         * tools/gst-run.c: (main):
6351         * tools/gst-typefind.c: (main):
6352         * tools/gst-xmlinspect.c: (main):
6353           Use the string passed to g_option_context_new() for
6354           what it's intended for - the program name is already
6355           printed elsewhere.
6356
6357 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6358
6359         * tools/Makefile.am:
6360         * tools/gst-inspect.c: (main):
6361         * tools/gst-launch.c: (main):
6362         * tools/gst-xmlinspect.c: (main):
6363         * tools/tools.h:
6364           Add back --version command line option (#340460).
6365
6366         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
6367           Add --version option and use GOption for argument parsing; refactor a
6368           bit; accept directories as arguments and recurse into them; lastly,
6369           print a decent error message when things go wrong.
6370
6371 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6372
6373         * docs/manual/basics-bins.xml:
6374         Don't mention GstThread (#340611)
6375         * docs/manual/basics-elements.xml:
6376         Update link to GObject tutorial (#340607)
6377         
6378 2006-05-05  Wim Taymans  <wim@fluendo.com>
6379
6380         * gst/gstbuffer.h:
6381         * gst/gstminiobject.c:
6382         Add note about refcounting and miniobject/buffer writeability
6383         to docs. Fixes #340604
6384
6385         * gst/gstelementfactory.h:
6386         Added some explanation about @klass.
6387
6388 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6389
6390         * docs/manual/intro-motivation.xml:
6391         * docs/manual/manual.xml:
6392         Avoid CORBA & Bonobo references (#340598)
6393
6394 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6395
6396         * docs/manual/basics-bus.xml:
6397         * docs/manual/basics-pads.xml:
6398         Fix up some inaccuracies and omissions (#340609)
6399         
6400 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6401
6402         * gst/gstghostpad.c:
6403           Small typo in docs (#340625)
6404
6405 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6406
6407         * gst/parse/Makefile.am:
6408           Make 'make -j' proof (see #340698).
6409
6410 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6411
6412         * configure.ac:
6413           Require GLib-2.8 here as well.
6414
6415 2006-05-05  Wim Taymans  <wim@fluendo.com>
6416
6417         * gst/glib-compat.c:
6418         * gst/gst.c: (init_pre):
6419         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6420         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
6421         (gst_object_dispatch_properties_changed):
6422         * gst/gstobject.h:
6423         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
6424         * gst/gststructure.c: (gst_structure_set_valist):
6425         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6426         Remove pre glib2.8 compatibility, fixes #340508
6427
6428 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6429
6430         * gst/gsttaglist.h:
6431           Mention type of tags in doc blurbs.
6432
6433 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
6434
6435         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6436         (gst_pad_configure_src), (gst_pad_push):
6437         Restore acceptcaps checking behaviour now that good plugins have
6438         been released.
6439
6440 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6441
6442         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
6443
6444         * gst/gst.c:
6445         * gst/gstbus.c:
6446         * gst/gstclock.c:
6447         * gst/gstevent.c:
6448         * gst/gstformat.c:
6449         * gst/gstmessage.c:
6450         * gst/gstparse.c:
6451         * gst/gstquery.c:
6452         * gst/gstutils.c:
6453         * gst/parse/Makefile.am:
6454         * libs/gst/base/gstadapter.c:
6455         * libs/gst/base/gstbasesrc.c:
6456         * libs/gst/base/gstpushsrc.c:
6457         * libs/gst/base/gsttypefindhelper.c:
6458         * plugins/elements/gstfakesrc.c:
6459         * plugins/elements/gstidentity.c:
6460           Make sure gstprivate.h and/or config.h are
6461           always included first, otherwise some of our
6462           defines (like _FILE_OFFSET_BITS) might be
6463           redefined in the system headers. Fixes build
6464           on opensolaris (#340016).
6465
6466 2006-05-04  Wim Taymans  <wim@fluendo.com>
6467
6468         * docs/libs/gstreamer-libs-sections.txt:
6469         API: addition: gst_adapter_take_buffer()
6470         
6471         * libs/gst/base/gstadapter.c: (gst_adapter_push),
6472         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
6473         (gst_adapter_available_fast):
6474         * libs/gst/base/gstadapter.h:
6475         Prepare for optimizing the hell out of this hugely inefficient
6476         piece of code. 
6477         Added gst_adapter_take_buffer() so we can at least start thinking
6478         about subbuffering and merging.
6479         Added some comments.
6480
6481         * tests/check/Makefile.am:
6482         * tests/check/libs/adapter.c: (GST_START_TEST),
6483         (gst_adapter_suite), (main):
6484         Added GstAdapter check.
6485
6486 2006-05-04  Wim Taymans  <wim@fluendo.com>
6487
6488         * docs/design/part-overview.txt:
6489         Fix some typos, add blurb about buffer flags.
6490
6491 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6492
6493         * docs/libs/gstreamer-libs-sections.txt:
6494           make sure GstBaseTransformClass shows up in the docs
6495         * libs/gst/base/gstbasetransform.c:
6496         * libs/gst/base/gstbasetransform.h:
6497           move docs so gtk-doc picks it up now
6498
6499 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
6500
6501         * docs/libs/gstreamer-libs-sections.txt:
6502           add missing symbols to docs
6503
6504 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
6505
6506         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6507           back out the newsegment handling change, see #340060 for ongoing
6508           discussion
6509
6510 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
6511
6512         * tools/gst-run.c: (get_candidates), (main):
6513           Fix wrong g_file_test() usage (see glib docs for why it doesn't
6514           work); fix typo in error message. Fixes #340079.
6515
6516 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
6517
6518         * common/Makefile.am:
6519         * docs/Makefile.am:
6520         * docs/faq/Makefile.am:
6521         * docs/gst/Makefile.am:
6522         * docs/libs/Makefile.am:
6523         * docs/manual/Makefile.am:
6524         * docs/plugins/Makefile.am:
6525         * docs/pwg/Makefile.am:
6526         * docs/slides/Makefile.am:
6527         * docs/upload.mak:
6528         * common/upload.mak:
6529           move upload.mak to common
6530
6531 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
6532
6533         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6534           add more asserts on refcounts
6535           do more cleanup at end of tests
6536           fix test leaks showing in FC5
6537
6538 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
6539
6540         * plugins/elements/gsttypefindelement.c:
6541         (gst_type_find_element_handle_event):
6542         reverted wrong change and reflowed code to avoid others falling into
6543         this trap
6544
6545 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6546
6547         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6548           fix changelog entry about last collectpads change,
6549           add notes about proper fix
6550
6551 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6552
6553         * gst/gst.c:
6554         * gst/gstregistry.c: (gst_registry_scan_path_level),
6555         (gst_registry_scan_path):
6556         * gst/gstregistry.h:
6557           only write out registry if it has changed, fixes #338339
6558
6559 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6560
6561         * gst/gstbin.c:
6562         * gst/gstpipeline.c:
6563         * plugins/elements/gstcapsfilter.c:
6564         * plugins/elements/gstfakesink.c:
6565         * plugins/elements/gstfakesrc.c:
6566         * plugins/elements/gstfdsink.c:
6567         * plugins/elements/gstfdsrc.c:
6568         * plugins/elements/gstfilesink.c:
6569         * plugins/elements/gstfilesrc.c:
6570         * plugins/elements/gstidentity.c:
6571         * plugins/elements/gstqueue.c:
6572         * plugins/elements/gsttee.c:
6573         * plugins/elements/gsttypefindelement.c:
6574         (gst_type_find_element_handle_event):
6575           make GstElementDetails const
6576
6577 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6578
6579         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6580         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6581         (gst_collect_pads_is_collected), (gst_collect_pads_event):
6582           more detailed debug and formatting cleanup,
6583           forward newsegments to src-pad (so that e.g. adder not eats them)
6584
6585 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6586
6587         * gst/gstutils.c: (gst_element_link_pads):
6588           cleanup double code
6589
6590 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6591
6592         * libs/gst/controller/gstcontroller.c:
6593         (gst_controller_sync_values):
6594           some little tuning
6595         * tests/check/libs/controller.c: (GST_START_TEST),
6596         (gst_controller_suite):
6597           a new test for live value handling
6598
6599 2006-04-28  Wim Taymans  <wim@fluendo.com>
6600
6601         * gst/gstutils.c: (push_and_ref):
6602         Added some more docs.
6603         Fix refcount issue whith gst_element_found_tags() helper 
6604         function. Fixes #338335
6605
6606         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6607         Added testsuite for gst_element_found_tags().
6608
6609 2006-04-28  Michael Smith  <msmith@fluendo.com>
6610
6611         * gst/gstvalue.c: (gst_value_serialize_flags):
6612           Avoid NULL dereference when trying to serialize flags containing
6613           invalid values.
6614
6615 2006-04-28  Michael Smith  <msmith@fluendo.com>
6616
6617         * plugins/elements/gsttypefindelement.c:
6618         (gst_type_find_element_handle_event):
6619           If we get EOS before any data is accumulated, don't use
6620           uninitialised local variables.
6621
6622 2006-04-28  Michael Smith  <msmith@fluendo.com>
6623
6624         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6625         (gst_dp_event_from_packet):
6626           Fixes in reading/writing events over GDP (not currently used?) - 
6627           dereferencing NULL events for unknown/invalid event types, memory
6628           leak, and change g_warning to GST_WARNING.
6629
6630 2006-04-28  Wim Taymans  <wim@fluendo.com>
6631
6632         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
6633         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6634         (gst_base_sink_get_position), (gst_base_sink_change_state):
6635         When frame dropping is enabled, we should not ignore frames
6636         without a duration.
6637         Update some documentation.
6638
6639 2006-04-28  Wim Taymans  <wim@fluendo.com>
6640
6641         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6642         (gst_base_src_send_event), (gst_base_src_change_state):
6643         Documentation updates.
6644
6645 2006-04-28  Wim Taymans  <wim@fluendo.com>
6646
6647         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
6648         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
6649         handle EAGAIN, EINTR and short writes correctly. Also clean
6650         up some error cases, avoid a deadlock on bad file descriptors and
6651         use GST_DEBUG_OBJECT.
6652         Fixes #339843
6653
6654 2006-04-28  Wim Taymans  <wim@fluendo.com>
6655
6656         * gst/gstvalue.c: (gst_value_serialize_buffer),
6657         (gst_value_deserialize_buffer):
6658         Don't try to serialize a GValue with a NULL buffer. 
6659         Fixes #339821.
6660
6661         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6662         Added check for serialisation of NULL buffers.
6663
6664 2006-04-28  Wim Taymans  <wim@fluendo.com>
6665
6666         * gst/gstminiobject.c: (gst_value_take_mini_object):
6667         Taking a NULL miniobject is valid, fix the case where
6668         we try to unref the NULL miniobject.
6669
6670 2006-04-28  Wim Taymans  <wim@fluendo.com>
6671
6672         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
6673
6674         * gst/gstbin.c: (gst_bin_handle_message_func):
6675         Update docs.
6676         Don't leak bin refcount when a state recalc is
6677         in progress and we delay another one #339808.
6678
6679 2006-04-28  Wim Taymans  <wim@fluendo.com>
6680
6681         * docs/design/part-TODO.txt:
6682         Mention QoS as an ongoing work item.
6683
6684         * docs/design/part-buffering.txt:
6685         New doc about buffering that needs to be fleshed out
6686         at some point.
6687
6688         * docs/design/part-qos.txt:
6689         More QoS policy for decoders/demuxers/transforms
6690
6691         * docs/design/part-trickmodes.txt:
6692         Small update.
6693
6694 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
6695
6696         * configure.ac:
6697           back to HEAD
6698
6699 === release 0.10.5 ===
6700
6701 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
6702
6703         * configure.ac:
6704           releasing 0.10.5, "Fogo"
6705
6706 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6707
6708         patch by: Wim Taymans
6709
6710         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6711         (gst_pad_configure_src), (gst_pad_push):
6712         * gst/gstpipeline.c: (gst_pipeline_init):
6713           Fix internal data flow errors.  Fixes #338711.
6714
6715 2006-04-12  Wim Taymans  <wim@fluendo.com>
6716
6717         * tests/check/gst/gstelement.c: (GST_START_TEST):
6718         Don't leak the factory.
6719
6720 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6721
6722         * configure.ac:
6723         * win32/common/config.h:
6724           prerelease
6725
6726 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
6727
6728         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6729         (gst_controller_unset_all):
6730           Free allocated GstTimedValues when freeing list nodes.
6731           Should fix leaks 'make check-valgrind' complains about.
6732
6733         * win32/common/libgstcontroller.def:
6734           Add gst_controller_unset_all.
6735
6736 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
6737
6738         * docs/libs/gstreamer-libs-sections.txt:
6739         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6740         (gst_controller_unset_all):
6741         * libs/gst/controller/gstcontroller.h:
6742         API: Added new method gst_controller_unset_all()
6743         fixed gst_controller_unset()
6744         * tests/check/libs/controller.c: (GST_START_TEST),
6745         (gst_controller_suite):
6746         Added two testcases for new and fixed method
6747
6748 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
6749
6750         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6751           MSG_DONTWAIT is not defined on Cygwin, so work
6752           around that (fixes #317048).
6753           
6754 2006-04-11  Wim Taymans  <wim@fluendo.com>
6755
6756         * gst/gstelementfactory.c: (gst_element_register),
6757         (gst_element_factory_create), (gst_element_factory_make):
6758         Some cleanups.
6759         Fixed a FIXME.
6760         Updated docs (Fixes #131079)
6761
6762         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6763         Small cleanups.
6764
6765         * tests/check/gst/gstelement.c: (GST_START_TEST),
6766         (gst_element_suite):
6767         Added testcase for elementfactory class field.
6768
6769 2006-04-10  Wim Taymans  <wim@fluendo.com>
6770
6771         * gst/gstsegment.c:
6772         Added some more docs.
6773
6774         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
6775         (gst_base_sink_reset_qos):
6776         Calculate more accurate rate values.
6777
6778 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
6779
6780         * gst/gst_private.h:
6781           add a new #ifdef to use __declspec(dllimport) only for
6782           other modules and not for gstreamer core
6783         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
6784           use gst_guint64_to_gdouble for conversion
6785         * win32/common/libgstreamer.def:
6786           add new exported functions
6787         * win32/vs6/gst_inspect.dsp:
6788         * win32/vs6/gst_launch.dsp:
6789         * win32/vs6/libgstbase.dsp:
6790         * win32/vs6/libgstcontroller.dsp:
6791         * win32/vs6/libgstcoreelements.dsp:
6792         * win32/vs6/libgstdataprotocol.dsp:
6793         * win32/vs6/libgstnet.dsp:
6794           update project files
6795
6796 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
6797
6798         * gst/gstbuffer.c: (gst_subbuffer_class_init):
6799         * gst/gstclock.c: (gst_clock_class_init):
6800         * gst/gstelement.c: (gst_element_class_init):
6801         * gst/gstindex.c: (gst_index_class_init):
6802         * gst/gstindexfactory.c: (gst_index_factory_class_init):
6803         * gst/gstobject.c: (gst_object_class_init),
6804         (gst_signal_object_class_init):
6805         * gst/gstpad.c: (gst_pad_class_init):
6806         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
6807         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
6808         * gst/gstregistry.c: (gst_registry_class_init):
6809         * gst/gstsystemclock.c: (gst_system_clock_class_init):
6810         * gst/gsttask.c: (gst_task_class_init):
6811         * gst/gstxml.c: (gst_xml_class_init):
6812         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6813         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6814         (gst_base_src_loop):
6815         * libs/gst/controller/gstcontroller.c:/
6816         (_gst_controller_class_init):
6817         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6818         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
6819         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
6820         * tests/old/examples/plugins/example.c: (gst_example_class_init):
6821         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6822         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
6823
6824 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
6825
6826         * gst/gstpad.c: (gst_pad_link):
6827           Must set peer pads before calling the link function, otherwise
6828           a task started from a link function might get a flow-not-linked
6829           result when trying to push because the other thread where the
6830           linking happens hasn't had a chance to set the peers yet. This
6831           might happen for example when a queue gets linked to a downstream
6832           element, as queue starts a streaming task when its source pad
6833           gets linked. Happens in real life when playing back flac/musepack
6834           files in playbin (#332390).
6835           
6836 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
6837
6838         * gst/gstindex.h:
6839         * gst/gstxml.h:
6840         * libs/gst/base/gstadapter.h:
6841         * libs/gst/base/gstbasesink.h:
6842         * libs/gst/base/gstbasesrc.h:
6843         * libs/gst/base/gstbasetransform.h:
6844         * libs/gst/base/gstcollectpads.h:
6845         * libs/gst/base/gstpushsrc.h:
6846         Fix broken GObject macros
6847
6848 2006-04-07  Wim Taymans  <wim@fluendo.com>
6849
6850         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6851         Initialize start and stop times, thanks valgrind.
6852
6853 2006-04-07  Wim Taymans  <wim@fluendo.com>
6854
6855         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6856         Be a bit nicer to badly behaving upstream elements that expect
6857         us to deal with non TIME segments and timestamps (such as fakesrc
6858         in the testsuite).
6859
6860 2006-04-07  Wim Taymans  <wim@fluendo.com>
6861
6862         * gst/gstbus.c:
6863         Small documentation clarification about the signal watch.
6864
6865         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6866         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
6867         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6868         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6869         (gst_base_sink_get_position_last),
6870         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
6871         Convert and store timestamps in stream time and running time, the
6872         raw timestamps are not useful, also document this better.
6873         Use different window sizes for good and bad QoS observations so
6874         we react to badness a little quicker.
6875         Keep track of the amount of rendered and dropped buffers.
6876         Send QoS timestamps in running time.
6877
6878         * libs/gst/base/gstbasetransform.c:
6879         (gst_base_transform_sink_eventfunc),
6880         (gst_base_transform_handle_buffer):
6881         Compare QoS timestamps against running time.
6882
6883 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
6884
6885         * gst/gstpad.c:
6886           Typo fixes in docs.
6887
6888 2006-04-06  Michael Smith  <msmith@fluendo.com>
6889
6890         * gst/gstpad.c: (gst_pad_set_property):
6891           Use g_value_get_object() instead of g_value_dup_gst_object(),
6892           to avoid double-reffing the pad template (which we then sink,
6893           so this worked previously if (and only if) the pad template
6894           was floating.
6895
6896         * gst/gstpadtemplate.c: (gst_pad_template_init),
6897         (gst_pad_template_pad_created):
6898           Never return floating references to pad templates, create
6899           them as initially-sunken.
6900
6901           Document an extra function (and make this stop sinking our
6902           pad template, since that is now guaranteed to do nothing,
6903           since we created it sunken).
6904
6905         * gst/gstghostpad.c:
6906           Fix docs typo.
6907
6908 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
6909
6910         * gst/gstinfo.c: (__gst_in_valgrind):
6911           Add some newlines.
6912
6913         * plugins/elements/gsttypefindelement.c:
6914         (gst_type_find_element_chain):
6915           Don't leak buffer caps.
6916
6917 2006-04-06  Michael Smith  <msmith@fluendo.com>
6918
6919         * gst/parse/grammar.y:
6920           Fix a leak in parse-launch for any source-or-sink named element 
6921           references used.
6922
6923         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
6924           Unref the pipeline if it exists after we've failed parsing.
6925
6926 2006-04-05  Michael Smith  <msmith@fluendo.com>
6927
6928         * gst/gstpipeline.c: (gst_pipeline_init):
6929           When we create a pipeline bus, initially create it in flushing mode.
6930           Fixes leaks in at least one test, and makes a new pipeline work the
6931           same as one that has gone to READY and then back to NULL.
6932
6933         * gst/gstelement.c:
6934           Typo fix in docs.
6935
6936 2006-04-05  Michael Smith  <msmith@fluendo.com>
6937
6938         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6939           Unref a pad we reffed.
6940         * tests/check/gst/gstutils.c: (GST_START_TEST):
6941           Unref bins
6942
6943 2006-04-05  Michael Smith  <msmith@fluendo.com>
6944
6945         * gst/gstquery.c: (gst_query_set_formats),
6946         (gst_query_set_formatsv):
6947           Fix leaking GValues in queries, as shown by valgrind/testsuite.
6948
6949 2006-04-05  Michael Smith  <msmith@fluendo.com>
6950
6951         * tests/check/generic/sinks.c: (GST_START_TEST):
6952           Fix a variety of memleaks in sinks check, which are only sometimes 
6953           shown by running the tests under valgrind (weird?).
6954
6955 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
6956
6957         * docs/version.entities.in:
6958           Fix the substituted entity name after thomas' changes on the
6959           weekend.
6960
6961 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6962
6963         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
6964         VALGRIND_PRINTF
6965         
6966 2006-04-05  Andy Wingo  <wingo@pobox.com>
6967
6968         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
6969
6970         * libs/gst/base/gstbasetransform.c
6971         (gst_base_transform_sink_eventfunc): When resetting our segment on
6972         FLUSH_STOP, also update the flag saying we haven't seen a
6973         newsegment.
6974
6975 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
6976
6977         Patch by: Paolo Borelli  <pborelli at katamail dot com>
6978
6979         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6980         (gst_plugin_check_license):
6981           minor clean-ups: G_DEFINE_TYPE already takes care of the
6982           parent_class stuff, no need to do it twice. Mark array of
6983           license strings as constant. (#337103)
6984           
6985 2006-04-04  Michael Smith  <msmith@fluendo.com>
6986
6987         * tools/gst-inspect.c: (print_element_list):
6988           Free the right plugin list; fixes a memory leak.
6989
6990 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
6991
6992         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
6993
6994         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
6995           Don't error out on empty buffers (#336945).
6996           
6997 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
6998
6999         * docs/libs/gstreamer-libs-sections.txt:
7000         * gst/gsttaglist.c:
7001         * libs/gst/base/gstbasesink.c:
7002         * libs/gst/base/gstbasesink.h:
7003         * libs/gst/base/gstbasesrc.c:
7004         * libs/gst/base/gstbasesrc.h:
7005           Documentation updates. Make BaseSink and BaseSrc docs contain the
7006           class structure so that people can actually see the prototypes for
7007           virtual functions they're supposed to be overriding.
7008
7009 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
7010
7011         * plugins/elements/gsttypefindelement.c:
7012         (gst_type_find_element_chain):
7013           More debug info; when skipping typefinding, send cached
7014           events in all cases.
7015
7016 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7017
7018         * configure.ac:
7019           use new AS_VERSION and AS_NANO macros
7020         * gst/gst-i18n-lib.h:
7021         * gst/gst.c:
7022         * gst/gsterror.c:
7023         * gst/gstversion.h.in:
7024         * win32/common/config.h:
7025         * win32/common/config.h.in:
7026           update accordingly
7027
7028 2006-03-31  Michael Smith  <msmith@fluendo.com>
7029
7030         * plugins/elements/gsttypefindelement.c:
7031         (gst_type_find_element_chain):
7032           Do not typefind content if the buffers already have caps.
7033           Neccesary for icydemux (#333657), and the right thing to do anyway.
7034
7035 2006-03-30  Wim Taymans  <wim@fluendo.com>
7036
7037         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7038         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
7039         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
7040         (gst_base_sink_record_qos_observation),
7041         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7042         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
7043         (gst_base_sink_change_state):
7044         More QoS measurements as described in the design doc.
7045         Get rid of ringbuffer with observations, running average is
7046         more simple and equally good.
7047         Calculates valid proportion now.
7048         Added beginning of flood measurement.
7049
7050 2006-03-29  Wim Taymans  <wim@fluendo.com>
7051
7052         * docs/design/part-qos.txt:
7053         * gst/gstclock.c:
7054         Small documentation updates and additions.
7055
7056 2006-03-29  Wim Taymans  <wim@fluendo.com>
7057
7058         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
7059         (gst_base_src_send_event), (gst_base_src_loop),
7060         (gst_base_src_change_state):
7061         Perform the EOS logic when we reach the segment stop position.
7062         Fix compilation on gcc4.1
7063
7064 2006-03-29  Wim Taymans  <wim@fluendo.com>
7065
7066         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7067
7068         * plugins/elements/gstqueue.c: (gst_queue_init),
7069         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
7070         (gst_queue_set_property):
7071         * plugins/elements/gstqueue.h:
7072         In queue, when EOS is received, if minimum threshold > max_size -
7073         current_level, there is chance that queue blocks forever in conditional
7074         item del wait. This is because the queue is not emptied completely due
7075         to minimum threshold.  Here is another approach. Instead of setting
7076         cur_levels to max in EOS, just zero all minimum threshold levels. This
7077         should make sure that queue gives out all data. When going to READY
7078         (stop) state, just reset the original minimum threshold levels.
7079         Fixes #336336.
7080
7081 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
7082
7083         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
7084         (gst_type_find_element_handle_event),
7085         (gst_type_find_element_send_cached_events),
7086         (gst_type_find_element_change_state):
7087         * plugins/elements/gsttypefindelement.h:
7088           When typefinding is done in push mode, we should cache
7089           events we receive during typefinding instead of just
7090           dropping them (e.g. newsegment, custom events from
7091           dvdreadsrc etc.) and then send them out once we've
7092           determined the type of the stream (and decodebin
7093           has had a chance to plug in a decoder/demuxer).
7094           
7095 2006-03-27  Wim Taymans  <wim@fluendo.com>
7096
7097         * docs/design/part-qos.txt:
7098         First QoS ideas.
7099
7100 2006-03-27  Wim Taymans  <wim@fluendo.com>
7101
7102         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
7103
7104         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
7105         (gst_base_src_send_event), (gst_base_src_change_state):
7106         Handle element seek correctly when we are streaming.
7107         Fixes #326998.
7108
7109 2006-03-24  Michael Smith  <msmith@fluendo.com>
7110
7111         * docs/faq/gst-uninstalled:
7112           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
7113           allow you to correctly run intalled applications built against old 
7114           core, using plugins that require updated core (e.g. running
7115           installed totem against a full uninstalled gstreamer stack)
7116
7117 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
7118
7119         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
7120         more debug details
7121
7122 2006-03-24  Wim Taymans  <wim@fluendo.com>
7123
7124         * docs/gst/gstreamer-sections.txt:
7125         Rearrange the order of the methods so that related methods
7126         are grouped together in sections.
7127
7128 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
7129
7130         * gst/gstelement.c:
7131           Little clarification in the docs
7132
7133 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
7134
7135         * docs/README:
7136         formatting fix
7137         * plugins/elements/gstidentity.c:
7138         * plugins/elements/gstqueue.c:
7139         * plugins/elements/gsttee.c:
7140         * plugins/elements/gsttypefindelement.c:
7141         GST_ELEMENT_DETAILS formatting
7142
7143 2006-03-24  Wim Taymans  <wim@fluendo.com>
7144
7145         * libs/gst/base/gstbasesink.h:
7146         Only add fields, not insert or we break ABI.
7147
7148 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
7149
7150         * win32/common/libgstbase.def:
7151         * win32/common/libgstreamer.def:
7152           Update, add recently added functions.
7153
7154 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
7155
7156         * docs/gst/gstreamer-sections.txt:
7157         * gst/gstutils.c: (gst_pad_query_peer_position),
7158         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
7159         * gst/gstutils.h:
7160           API: add some new utility functions:
7161            - gst_pad_query_peer_position()
7162            - gst_pad_query_peer_duration()
7163            - gst_pad_query_peer_convert()
7164           
7165 2006-03-23  Wim Taymans  <wim@fluendo.com>
7166
7167         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7168         (gst_base_sink_init), (gst_base_sink_finalize),
7169         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
7170         (gst_base_sink_set_property), (gst_base_sink_get_property),
7171         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
7172         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
7173         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
7174         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7175         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
7176         (gst_base_sink_preroll_object), (gst_base_sink_event),
7177         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
7178         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
7179         (gst_base_sink_query), (gst_base_sink_change_state):
7180         Decouple max-lateness and the fact that QoS messages are generated
7181         with a new property (qos).
7182         added API: GstBaseSink::async_play()
7183         Add vmethod so subclasses can be notified of ASYNC playing
7184         state changes.
7185         Collect timestamp start and stop to report better current
7186         position in EOS/PLAYING/PAUSED/READY/NULL.
7187         Refactor QoS/frame dropping and other measurements.
7188         API: GstBaseSrc::qos
7189         Fixes #326311
7190
7191         * libs/gst/base/gstbasesink.h:
7192         Added Private struct.
7193         API: gst_base_sink_set_qos_enabled()
7194         API: gst_base_sink_is_qos_enabled()
7195
7196 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
7197
7198         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
7199           If compiling against GLib-2.8 or newer, try to read the
7200           registry file using GMappedFile first before falling back
7201           to fopen() + fread() (#332151).
7202
7203 2006-03-22  Wim Taymans  <wim@fluendo.com>
7204
7205         * gst/gstinfo.c: (gst_debug_set_active),
7206         (gst_debug_category_set_threshold):
7207         Disable debugging unless explicitly activated.
7208         Fixes #335480.
7209
7210 2006-03-22  Wim Taymans  <wim@fluendo.com>
7211
7212         * gst/gstelement.c: (gst_element_set_locked_state),
7213         (gst_element_dispose):
7214         Cleanup the error case.
7215
7216         * gst/gstobject.c: (gst_object_dispose):
7217         print a critical when some object was disposed with
7218         a parent, also revive the object since it might
7219         crash the parent.
7220
7221 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
7222
7223         * tools/gst-launch.1.in:
7224           Fix another typo.
7225
7226 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7227
7228         * configure.ac:
7229         * tests/check/Makefile.am:
7230           disable some tests when we don't have a registry
7231         * tests/check/gst/gstutils.c: (gst_utils_suite):
7232           don't build the part that needs parsing
7233
7234 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7235
7236         * gst/Makefile.am
7237         * tests/examples/Makefile.am:
7238           fix --disable-parse build
7239
7240 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7241
7242         * tools/gst-feedback.1.in:
7243           Fix typo: s/feeback/feedback/ (#133494).
7244
7245 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7246
7247         * tools/Makefile.am:
7248         * tools/gst-launch.1.in:
7249           Add FILES section and correct entry about GST_REGISTRY_PATH
7250           environment variable (#133495; #133494).
7251
7252 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7253
7254         * tools/Makefile.am:
7255         * tools/gst-md5sum.1.in:
7256         * tools/gst-md5sum.c:
7257           Remove gst-md5sum and man page (the md5sink element
7258           required was removed ages ago)
7259
7260 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7261
7262         * gst/gststructure.c: (gst_structure_id_set_value):
7263           Make sure that string fields in structures/taglists
7264           contain valid UTF-8 - we don't want to pass rubbish to
7265           applications because of a buggy plugin (cp. #334167).
7266
7267 2006-03-21  Edward Hervey  <edward@fluendo.com>
7268
7269         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
7270         (gst_bin_handle_message_func):
7271         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
7272         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
7273         (gst_element_set_bus_func):
7274         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
7275         * gst/gstminiobject.c: (gst_value_set_mini_object),
7276         (gst_value_take_mini_object):
7277         * gst/gstpad.c: (gst_pad_set_pad_template):
7278         * gst/gstpipeline.c: (gst_pipeline_dispose),
7279         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
7280         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
7281         (gst_collect_pads_chain):
7282         * libs/gst/net/gstnettimeprovider.c:
7283         (gst_net_time_provider_set_property):
7284         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
7285         It's in fact all issues with gst_*object_replace().
7286
7287 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7288
7289         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
7290         
7291         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7292         * pkgconfig/gstreamer-check.pc.in:
7293           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
7294
7295 2006-03-21  Edward Hervey  <edward@fluendo.com>
7296
7297         * gst/gstbuffer.h:
7298         * gst/gstevent.h:
7299         * gst/gstmessage.h:
7300         gst_[buffer|event|message]_ref() macros are replaced by a static
7301         inline functions because gcc-4.1 will about if the return value
7302         isn't used.
7303         * tests/check/gst/gstevent.c: (event_probe):
7304         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
7305
7306 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
7307
7308         * gst/gstutils.h:
7309         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
7310         the type' case. (Closes: #335195 for now). In the future, when we
7311         depend on GLib 2.10, we could also intern the type name using
7312         g_intern_static_string()
7313
7314 2006-03-20  Wim Taymans  <wim@fluendo.com>
7315
7316         * gst/gstbin.c: (gst_bin_handle_message_func),
7317         (bin_query_max_init), (bin_query_position_fold),
7318         (bin_query_position_done), (gst_bin_query):
7319         Position query should also take max of all streams.
7320
7321 2006-03-20  Wim Taymans  <wim@fluendo.com>
7322
7323         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7324         (gst_fake_src_finalize):
7325         Fix leaks in fakesrc.
7326
7327         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7328         Fix leaks in the testcase.
7329
7330 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
7331
7332         * gst/gst_private.h:
7333           add win32 specific import decoration(__declspec(dllimport)) 
7334           for all extern GstDebugCategory * variables
7335         * win32/common/libgstbase.def:
7336         * win32/common/libgstcontroller.def:
7337         * win32/common/libgstreamer.def:
7338           Add some exports, remove empty lines
7339         * win32/common/libgstdataprotocol.def:
7340         * win32/common/libgstdataprotocol.dsp:
7341         * win32/common/libgstnet.def:
7342         * win32/common/libgstnet.dsp:
7343           new project files and exportation files added
7344         
7345 2006-03-19  Wim Taymans  <wim@fluendo.com>
7346
7347         * tests/check/libs/basesrc.c: (eos_event_counter):
7348         Use proper return value for probe.
7349
7350 2006-03-17  Wim Taymans  <wim@fluendo.com>
7351
7352         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7353         (gst_pad_push):
7354         Don't leak buffers, caps and pads on negotiation errors.
7355
7356 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
7357
7358         * docs/faq/cvs.xml:
7359         * docs/faq/dependencies.xml:
7360         * docs/faq/developing.xml:
7361         * docs/faq/faq.xml:
7362         * docs/faq/general.xml:
7363         * docs/faq/getting.xml:
7364         * docs/faq/legal.xml:
7365         * docs/faq/troubleshooting.xml:
7366         * docs/faq/using.xml:
7367         Faq review and update.
7368
7369 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
7370
7371         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7372         (gst_pad_push):
7373         Don't pound the cpu to pieces by checking get_caps when accept_caps
7374         is called with the same caps as the pad already has.
7375         Use GST_DEBUG_OBJECT when outputting caps change information.
7376
7377 2006-03-15  Wim Taymans  <wim@fluendo.com>
7378
7379         * gst/gstclock.c: (gst_clock_class_init):
7380         Fix docs.
7381
7382 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
7383
7384         * gst/gstbuffer.h:
7385         Documentation fix.
7386
7387         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
7388         (gst_pad_accept_caps), (gst_pad_configure_sink),
7389         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
7390         Make the default acceptcaps behaviour be to check the requested 
7391         caps against the gst_pad_get_caps output. 
7392
7393         Ensure that gst_pad_accept_caps is used to check caps when a pad
7394         doesn't have a setcaps function, so that pads automatically refuse 
7395         caps that they don't allow in their pad template. (Fixes #332986)
7396
7397         When a buffer with attached caps is pushed, ensure that the source 
7398         pad receives those caps even if the element didn't call
7399         gst_pad_set_caps first.
7400
7401 2006-03-15  Wim Taymans  <wim@fluendo.com>
7402
7403         * libs/gst/base/gstadapter.c:
7404         Add some docs.
7405
7406 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
7407
7408         * win32/common/libgstbase.def:
7409         * win32/common/libgstcontroller.def:
7410         * win32/common/libgstreamer.def:
7411           Add a whole bunch of missing functions (#334434).
7412
7413 2006-03-14  Wim Taymans  <wim@fluendo.com>
7414
7415         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7416         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
7417         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
7418         Better debug info when we receive a segment event.
7419         Reorganize a bit so we can pass the get_times() results around.
7420         Use the segment format when calculating the running time.
7421         Don't do QoS is sync is disabled or we have no clock or the
7422         element does not want us to sync to the clock.
7423         Don't drop buffers if QoS is disabled for now.
7424
7425 2006-03-14  Wim Taymans  <wim@fluendo.com>
7426
7427         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
7428         Marked the stats property as unimplemented so people don't get
7429         wild ideas.
7430         Add debug message when regression goes wrong.
7431         Added some more docs.
7432
7433 2006-03-14  Wim Taymans  <wim@fluendo.com>
7434
7435         * gst/gstsegment.c: (gst_segment_to_stream_time):
7436         Return correct return type in case of errors.
7437
7438 2006-03-14  Wim Taymans  <wim@fluendo.com>
7439
7440         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
7441           Don't segfault on invalid formats.
7442
7443 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7444
7445         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7446           Can't use gst_segment_to_running_time() when the segment
7447           is not in GST_TIME_FORMAT (like with filesink, for example).
7448           Stops flac encoding pipelines from spewing critical warnings
7449           at EOS (#331248).
7450           
7451 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7452
7453         * gst/gstpipeline.c: (gst_pipeline_class_init):
7454           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
7455
7456         * plugins/elements/gsttypefindelement.c:
7457         (gst_type_find_element_handle_event):
7458           Don't try to typefind empty streams.
7459
7460 2006-03-14  Wim Taymans  <wim@fluendo.com>
7461
7462         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
7463         (gst_base_sink_do_qos):
7464         Separate QoS calculation.
7465         Only drop buffers when lateness is bigger than the 
7466         duration of the buffer.
7467
7468 2006-03-13  Wim Taymans  <wim@fluendo.com>
7469
7470         * gst/gstpipeline.c: (gst_pipeline_set_property),
7471         (gst_pipeline_get_property), (do_pipeline_seek),
7472         (gst_pipeline_change_state), (gst_pipeline_set_delay),
7473         (gst_pipeline_get_delay):
7474         Don't deadlock when reading properties.
7475
7476 2006-03-13  Wim Taymans  <wim@fluendo.com>
7477
7478         * libs/gst/base/gstbasetransform.c:
7479         (gst_base_transform_class_init), (gst_base_transform_init),
7480         (gst_base_transform_sink_event),
7481         (gst_base_transform_sink_eventfunc),
7482         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
7483         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7484         (gst_base_transform_set_property),
7485         (gst_base_transform_get_property),
7486         (gst_base_transform_change_state), (gst_base_transform_update_qos),
7487         (gst_base_transform_set_qos_enabled),
7488         (gst_base_transform_is_qos_enabled):
7489         * libs/gst/base/gstbasetransform.h:
7490         Make basetransform virtual method for src events too.
7491         Handle QOS in basetransform.
7492         API: gst_base_transform_update_qos()
7493         API: gst_base_transform_set_qos_enabled()
7494         API: gst_base_transform_is_qos_enabled()
7495
7496 2006-03-13  Wim Taymans  <wim@fluendo.com>
7497
7498         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7499         (gst_base_sink_do_sync):
7500         Small cleanups.
7501         Use QOS debug category.
7502
7503 2006-03-13  Wim Taymans  <wim@fluendo.com>
7504
7505         * plugins/elements/gstqueue.c:
7506         Very small doc update.
7507
7508 2006-03-13  Wim Taymans  <wim@fluendo.com>
7509
7510         * gst/gst_private.h:
7511         * gst/gstinfo.c: (_gst_debug_init):
7512         Added QOS debug category
7513
7514 2006-03-13  Wim Taymans  <wim@fluendo.com>
7515
7516         * docs/gst/gstreamer-sections.txt:
7517         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
7518         * gst/gstbin.h:
7519         * gst/gstbus.c: (gst_bus_class_init):
7520         * gst/gstbus.h:
7521         * gst/gstclock.c:
7522         * gst/gstelement.c: (gst_element_set_locked_state):
7523         * gst/gstsegment.c:
7524         Documentation updates.
7525
7526         * gst/gstpipeline.c: (gst_pipeline_get_type),
7527         (gst_pipeline_class_init), (gst_pipeline_init),
7528         (gst_pipeline_dispose), (gst_pipeline_set_property),
7529         (gst_pipeline_get_property), (do_pipeline_seek),
7530         (gst_pipeline_send_event), (gst_pipeline_change_state),
7531         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
7532         (gst_pipeline_get_delay):
7533         * gst/gstpipeline.h:
7534         Added methods for setting the delay.
7535         API: gst_pipeline_set_delay()
7536         API: gst_pipeline_get_delay()
7537         Add pipeline debug category
7538         Various cleanups.
7539         Updated docs.
7540         Don't reset stream time when seek failed.
7541
7542 2006-03-13  Wim Taymans  <wim@fluendo.com>
7543
7544         * docs/design/draft-klass.txt:
7545         * docs/design/part-clocks.txt:
7546         * docs/design/part-events.txt:
7547         * docs/design/part-gstbin.txt:
7548         * docs/design/part-gstpipeline.txt:
7549         * docs/design/part-messages.txt:
7550         * docs/design/part-negotiation.txt:
7551         * docs/design/part-overview.txt:
7552         * docs/design/part-preroll.txt:
7553         * docs/design/part-seeking.txt:
7554         * docs/design/part-states.txt:
7555         * docs/design/part-streams.txt:
7556         Documentation updates.
7557
7558 2006-03-12  Julien MOUTTE  <julien@moutte.net>
7559
7560         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
7561         us to leak strings...
7562
7563 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7564
7565         * libs/gst/net/gstnettimeprovider.c:
7566           fix docs
7567         * win32/common/config.h:
7568           update
7569
7570 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
7571
7572         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
7573
7574         * configure.ac:
7575           Don't check for libgnomeui (leftover from old examples
7576           that aren't built or disted any longer) (#334303).
7577           
7578 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
7579
7580         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
7581         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
7582           Emit RESOURCE_NO_SPACE_LEFT error here as well when
7583           there's no space left on the device.
7584
7585 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
7586
7587         * gst/gstclock.h:
7588           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
7589           to cast the input to GstClockTime before comparing with
7590           another GstClockTime value.
7591
7592 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7593
7594         * configure.ac:
7595           back to trunk
7596
7597 === release 0.10.4 ===
7598
7599 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
7600
7601         * configure.ac:
7602           releasing 0.10.4, "Light"
7603
7604 2006-03-10  Michael Smith  <msmith@fluendo.com>
7605
7606         * libs/gst/dataprotocol/dataprotocol.c:
7607           Fix docs for dataprocotol to not get the return types completely
7608           wrong for a few functions.
7609
7610 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
7611
7612         * docs/gst/gstreamer-sections.txt:
7613         * gst/gstpipeline.c: (gst_pipeline_class_init),
7614         (gst_pipeline_init), (gst_pipeline_set_property),
7615         (gst_pipeline_get_property), (gst_pipeline_change_state),
7616         (gst_pipeline_set_auto_flush_bus),
7617         (gst_pipeline_get_auto_flush_bus):
7618         * gst/gstpipeline.h:
7619           Add new API: gst_pipeline_set_auto_flush_bus() and
7620           gst_pipeline_get_auto_flush_bus() to disable automatic
7621           flushing of the pipeline's GstBus when going from READY
7622           to NULL state (#332045).
7623
7624 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
7625
7626         * docs/gst/gstreamer-sections.txt:
7627         * gst/gsturi.c: (gst_uri_has_protocol):
7628         * gst/gsturi.h:
7629            Add new API: gst_uri_has_protocol() (#333779).
7630
7631 2006-03-09  Wim Taymans  <wim@fluendo.com>
7632
7633         * gst/gstclock.c: (gst_clock_entry_new),
7634         (gst_clock_id_compare_func), (gst_clock_id_wait),
7635         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
7636         (gst_clock_init), (gst_clock_get_internal_time),
7637         (gst_clock_set_master), (do_linear_regression),
7638         (gst_clock_add_observation), (gst_clock_set_property):
7639         * gst/gstclock.h:
7640         Review docs.
7641         Small cleanups.
7642         Fix a possible segfault when the window-size is made smaller.
7643         Calculate jitter before performing the clock wait. Ideally
7644         the clock implementation should calculate jitter but we need
7645         API breakage for that.
7646
7647         * gst/gstsystemclock.c: (gst_system_clock_init):
7648         Docs review.
7649         
7650         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7651         Remove leftover else
7652
7653         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7654         (gst_systemclock_suite):
7655         Added check to test GST_CLOCK_DIFF.
7656
7657 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
7658
7659         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
7660         (gst_type_find_helper_get_range):
7661           If we are provided with the size, we should implement
7662           GstTypeFind::get_length, so that typefind functions who
7663           want to can actually peek at the middle of a file.
7664
7665 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
7666
7667         * docs/manual/advanced-dataaccess.xml:
7668           Add some very very basic error checking.
7669
7670         * docs/pwg/appendix-checklist.xml:
7671           Some updates to the list of things to check when writing an element.
7672
7673 2006-03-08  Wim Taymans  <wim@fluendo.com>
7674
7675         * docs/design/part-element-transform.txt:
7676         Added some docs about the design of tranform elements.
7677
7678         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7679         (gst_base_src_loop), (gst_base_src_change_state):
7680         Mark buffers with the DISCONT flag.
7681
7682 2006-03-08  Michael Smith  <msmith@fluendo.com>
7683
7684         * gst/gstregistry.h:
7685         * gst/gstregistryxml.c: (gst_registry_save),
7686         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
7687         (gst_registry_xml_save_pad_template),
7688         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
7689         (gst_registry_xml_write_cache):
7690           Rewrite registry-saving to avoid race conditions and check for
7691           failed writes.
7692
7693 2006-03-08  Wim Taymans  <wim@fluendo.com>
7694
7695         * libs/gst/base/gstbasetransform.c:
7696         (gst_base_transform_transform_caps),
7697         (gst_base_transform_transform_size),
7698         (gst_base_transform_prepare_output_buffer),
7699         (gst_base_transform_get_unit_size),
7700         (gst_base_transform_buffer_alloc),
7701         (gst_base_transform_handle_buffer),
7702         (gst_base_transform_change_state):
7703         Cleanups, separate normal flow from errors, add sensible
7704         DEBUG lines.
7705         Don't try to renegotiate when allocating an output buffer.
7706         Also copy DISCONT buffer flag when copying a buffer.
7707         Reset the transform after we finish streaming, not during.
7708
7709 2006-03-08  Wim Taymans  <wim@fluendo.com>
7710
7711         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7712         Use last buffer timestamp in qos message.
7713
7714 2006-03-07  Wim Taymans  <wim@fluendo.com>
7715
7716         Patch by: Christophe Fergeau
7717
7718         * docs/pwg/advanced-tagging.xml:
7719         * docs/pwg/building-pads.xml:
7720           fixes #333416
7721
7722 2006-03-07  Wim Taymans  <wim@fluendo.com>
7723
7724         * docs/libs/gstreamer-libs-sections.txt:
7725         Added basesink new methods.
7726
7727         * gst/gstevent.c:
7728         * gst/gstevent.h:
7729         Docs updates. Flesh out the QoS docs.
7730
7731         * libs/gst/base/gstadapter.c:
7732         Small doc clarification about ownership and flushing.
7733
7734         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
7735         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7736         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
7737         (gst_base_sink_get_property), (gst_base_sink_do_sync):
7738         * libs/gst/base/gstbasesink.h:
7739         API additions: 
7740         Added new methods to allow subclass to control max-lateness 
7741         and sync.
7742         Generate very basic QoS events based on last sync observation.
7743         Updated docs, fix typo, added some QoS blurb.
7744
7745         * libs/gst/base/gstbasesrc.c:
7746         Remove obsolete _get_state() calls from docs.
7747
7748 2006-03-07  Wim Taymans  <wim@fluendo.com>
7749
7750         * docs/libs/gstreamer-libs-sections.txt:
7751         * libs/gst/base/gstbasetransform.h:
7752         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
7753         Fix docs for GstBaseSrc.
7754
7755 2006-03-07  Wim Taymans  <wim@fluendo.com>
7756
7757         * docs/gst/gstreamer-sections.txt:
7758         * gst/gstbuffer.h:
7759         * gst/gstvalue.c:
7760         * libs/gst/base/gstbasetransform.h:
7761         Small documentation fixes.
7762
7763 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7764
7765         * gst/gstvalue.c:
7766           Document thread-unsafety of gst_value_register_foo_func()
7767           when used at the same time as gst_value_foo() (#322628).
7768
7769 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7770
7771         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
7772         (gst_push_src_check_get_range):
7773           Push sources don't support pull mode by default.
7774
7775 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
7776
7777         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7778         (gst_base_src_init), (gst_base_src_pad_check_get_range),
7779         (gst_base_src_default_check_get_range):
7780         * libs/gst/base/gstbasesrc.h:
7781           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
7782           provide default implementation, and rename
7783           gst_base_src_check_get_range() to
7784           gst_base_src_pad_check_get_range() for clarity.
7785
7786 2006-03-06  Wim Taymans  <wim@fluendo.com>
7787
7788         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7789         Make property overridable.
7790
7791 2006-03-06  Wim Taymans  <wim@fluendo.com>
7792
7793         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7794         (gst_base_sink_init), (gst_base_sink_set_property),
7795         (gst_base_sink_get_property), (gst_base_sink_do_sync):
7796         * libs/gst/base/gstbasesink.h:
7797         API addition: Make max-lateness a property.
7798
7799 2006-03-06  Wim Taymans  <wim@fluendo.com>
7800
7801         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
7802         (gst_base_sink_do_sync), (gst_base_sink_render_object):
7803         Don't ever draw a frame that is >10ms late.
7804
7805 2006-03-06  Michael Smith  <msmith@fluendo.com>
7806
7807         * gst/gstmessage.c: (_gst_message_copy):
7808           When copying a message, set the parent_refcount of the enclosed
7809           structure to point at the copy, not the original message.
7810
7811 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
7812
7813         Patch by: Christophe Fergeau
7814
7815         * gst/gstutils.h:
7816           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
7817           usable in c++ code (#333417)
7818
7819 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7820
7821         * gst/gstclock.h:
7822           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
7823
7824 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
7825
7826         * libs/gst/base/gstbasetransform.c:
7827         (gst_base_transform_transform_caps):
7828           Make sure caps are writable before passing them to
7829           gst_caps_append().
7830
7831 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
7832
7833         * gst/gsterror.h:
7834           Fix some minor docs errors.
7835
7836 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
7837
7838           Patch by: Ross Burton <ross at burtonini dot com>
7839
7840         * gst/gsterror.c: (_gst_resource_errors_init):
7841         * gst/gsterror.h:
7842           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
7843
7844 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
7845
7846         * gst/gst.c:
7847         Add a check and output a g_warning when GStreamer is built
7848         against GLib 2.6 but running against 2.8 or higher, and vice 
7849         versa. (Closes: #323542)
7850
7851 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
7852
7853         * gst/parse/parse.l:
7854           Commit patch for parse_launch syntax from #331255. Removes 
7855           support for quoted strings and mimetypes when writing filtered 
7856           caps. See the bug report for more details - I'm pretty sure this
7857           obscure feature is not in use by _anyone_ anywhere.
7858
7859           With this simple change, the size of the gstreamer.so here 
7860           drops from 2193KB to 1565KB.
7861
7862 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
7863
7864         * plugins/elements/gsttypefindelement.h:
7865         * plugins/elements/gsttypefindelement.c:
7866         (gst_type_find_element_src_event), (start_typefinding),
7867         (stop_typefinding), (gst_type_find_element_handle_event),
7868         (gst_type_find_element_chain),
7869         (gst_type_find_element_chain_do_typefinding):
7870           Use gst_type_find_helper_for_buffer() for chain-based
7871           typefinding.
7872
7873 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
7874
7875         * plugins/elements/gsttypefindelement.c:
7876         (gst_type_find_element_class_init),
7877         (gst_type_find_element_set_property),
7878         (gst_type_find_element_get_property):
7879           Deprecate "maximum" property (not only was it only taken into
7880           account for typefinding in push-mode anyway, it also was never
7881           actually possible to set it in the first place because the
7882           property was registered with the numeric property ID for the
7883           "minimum" property). Register "maximum" property correctly,
7884           for the sake of future copy'n'pasters. Remove some cruft
7885           from property get/set functions.
7886
7887 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
7888
7889         * plugins/elements/gsttypefindelement.c:
7890         (gst_type_find_element_activate):
7891           Use gst_type_find_helper_get_range() here, so we
7892           can honour the "minimum" property and also emit
7893           the signal with the correct probability of the found caps.
7894
7895 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
7896
7897         * docs/libs/gstreamer-libs-sections.txt:
7898         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7899         (helper_find_suggest), (gst_type_find_helper_get_range),
7900         (gst_type_find_helper):
7901         * libs/gst/base/gsttypefindhelper.h:
7902           New API: gst_type_find_helper_get_range() (#333042).
7903
7904 2006-03-02  Michael Smith  <msmith@fluendo.com>
7905
7906         * gst/gstregistryxml.c: (load_feature):
7907           Asserting on a failure to read part of the registry is Not Cool.
7908           Just log a warning and return NULL (which is already handled)
7909
7910 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
7911
7912         * win32/common/libgstbase.def:
7913           added export of gst_type_find_helper_for_buffer
7914         * win32/common/libgstbase.def:
7915           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
7916           gst_ghost_pad_get_target
7917
7918 2006-02-28  Wim Taymans  <wim@fluendo.com>
7919
7920         * docs/design/draft-klass.txt:
7921         We use Filter now.
7922         Added Connector to mark elements that are only used to
7923         allow pipeline connections.
7924         Moved Debug to extra feature since most of them are 
7925         functionally something else.
7926
7927 2006-02-28  Wim Taymans  <wim@fluendo.com>
7928
7929         * docs/design/draft-klass.txt:
7930         Some updates and clarifications.
7931
7932 2006-02-28  Wim Taymans  <wim@fluendo.com>
7933
7934         * docs/design/draft-klass.txt:
7935         Proposal for klass field values.
7936
7937         * docs/design/part-streams.txt:
7938         Start of a doc describing stream anatomy.
7939
7940 2006-02-28  Wim Taymans  <wim@fluendo.com>
7941
7942         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
7943         Help the compiler a bit with type registration.
7944         Use existing forward cod path instead of duplicating it when 
7945         handling a message.
7946         
7947         * gst/gstbus.c: (gst_bus_get_type):
7948         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
7949         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
7950         * gst/gstclock.c: (gst_clock_get_type):
7951         * gst/gstelement.c: (gst_element_get_type),
7952         * gst/gstelementfactory.c: (gst_element_factory_get_type):
7953         * gst/gstindexfactory.c: (gst_index_factory_get_type):
7954         * gst/gstminiobject.c: (gst_mini_object_get_type):
7955         * gst/gstpad.c: (gst_pad_get_type):
7956         * gst/gstsegment.c: (gst_segment_get_type):
7957         * gst/gststructure.c: (gst_structure_get_type):
7958         * gst/gstsystemclock.c: (gst_system_clock_get_type):
7959         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
7960         * gst/gstvalue.c:
7961         Help compiler with type registration.
7962
7963         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
7964         Small doc update.
7965
7966 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
7967
7968         * plugins/elements/gsttypefindelement.c:
7969         (gst_type_find_element_handle_event):
7970           When we get an EOS event and have not found a type yet
7971           (most likely because we had not yet accumulated
7972           TYPE_FIND_MIN_SIZE of data yet), try to determine the
7973           type given the data we have so far. Fixes typefinding
7974           for very short streams again, most notably quicktime
7975           redirections as used on Apple's trailer site (#331701).
7976
7977 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
7978
7979         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
7980         (gst_type_find_helper):
7981           Try typefinding factories with the highest rank first.
7982
7983 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
7984
7985         * docs/libs/gstreamer-libs-docs.sgml:
7986         * docs/libs/gstreamer-libs-sections.txt:
7987         * libs/gst/base/gsttypefindhelper.c:
7988           Add section for typefind helper and add documentation
7989           for the old and the new function.
7990
7991 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
7992
7993         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
7994         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
7995         (gst_type_find_helper_for_buffer):
7996         * libs/gst/base/gsttypefindhelper.h:
7997           New API: gst_type_find_helper_for_buffer() (#332723).
7998           
7999 2006-02-27  Michael Smith  <msmith@fluendo.com>
8000
8001         Patch by: Loïc Minier
8002
8003         * configure.ac:
8004         * docs/Makefile.am:
8005         * docs/slides/Makefile.am:
8006           prevent CVS directories getting disted.
8007
8008 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
8009
8010         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
8011           Use the REFCOUNTING category for caps refcounting.
8012           
8013 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
8014
8015         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
8016           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
8017
8018 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
8019
8020         * plugins/elements/gsttypefindelement.c:
8021         (gst_type_find_element_activate):
8022           Use gst_pad_check_pull_range() before _activate_pull()
8023           to avoid unnecessary open/close (see #331690).
8024
8025 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
8026
8027         * gst/gstutils.c:
8028           Docs enhancement: make it crystal clear what the
8029           gst_pad_add_*_probe() callbacks should look like.
8030
8031 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
8032
8033         * libs/gst/base/gstbasesrc.c:
8034           Document how applications can stop recording from
8035           live sources (see #330996).
8036
8037 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8038
8039         * tests/check/Makefile.am:
8040         * tests/check/libs/basesrc.c: (eos_event_counter),
8041         (basesrc_eos_events_pull), (basesrc_eos_events_push),
8042         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
8043         (gst_basesrc_suite), (main):
8044           ... and add some tests for the base source EOS stuff.
8045
8046 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8047
8048         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
8049           Test case originally showed the problem fixed below,
8050           but was then amended. Add checks back at the place
8051           where they used to be.
8052
8053 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8054
8055         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8056         (gst_base_src_init), (gst_base_src_loop),
8057         (gst_base_src_activate_push), (gst_base_src_activate_pull),
8058         (gst_base_src_change_state):
8059         * libs/gst/base/gstbasesrc.h:
8060           Don't unconditionally send EOS when going from PAUSED to
8061           READY state, esp. make sure we don't send two EOS events
8062           in some cases (e.g. one when reaching EOS and one when
8063           going from PAUSED to READY). Also, we don't want to send
8064           EOS events when operating in pull mode. However, we do
8065           want to send an EOS event when shutting down a live
8066           source explicitly, for example (fixes #330996).
8067           
8068 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8069
8070         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8071           Update src->read_position after a seek when not using mmap.
8072           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
8073
8074 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
8075
8076         * gst/Makefile.am:
8077         * gst/gstparse.h:
8078         * gst/gstutils.c:
8079         * gst/gstutils.h:
8080         Make things work with --disable-parse as they do with 
8081         --disable-load-save - the symbols involved disappear, but the
8082         header is still installed and GST_DISABLE_PARSE is included via
8083         gstconfig.h
8084
8085 2006-02-20  Julien MOUTTE  <julien@moutte.net>
8086
8087         * libs/gst/base/gstbasetransform.c:
8088         (gst_base_transform_change_state): Fix a stupid bug. I was 
8089         sure I compiled that.
8090
8091 2006-02-20  Julien MOUTTE  <julien@moutte.net>
8092
8093         * gst/gstpad.c: (gst_pad_set_blocked_async):
8094         * gst/gstutils.c: (gst_pad_add_data_probe),
8095         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8096         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8097         (gst_pad_remove_buffer_probe): Make those function act on the
8098         ghostpad target when it's a ghostpad. (Closes #331727)
8099
8100 2006-02-20  Julien MOUTTE  <julien@moutte.net>
8101
8102         * libs/gst/base/gstbasetransform.c:
8103         (gst_base_transform_change_state): Make basetransform reusable.
8104         (Closes #331898)
8105
8106 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
8107
8108         * docs/random/release:
8109         Move the current documentation of how to do a release to the top
8110         of the file.
8111
8112         * gst/gstbin.c: (gst_bin_class_init),
8113         (gst_bin_handle_message_func):
8114         Allow multiple state-recalculation threads. (Closes #328873)
8115
8116 2006-02-19  Julien MOUTTE  <julien@moutte.net>
8117
8118         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
8119         * gst/gstpad.c: (gst_pad_set_event_function),
8120         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8121         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
8122         2 strings. You can't use the STR_NULL macro on that.
8123
8124 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
8125
8126         * gst/gstpad.c: (gst_pad_set_event_function),
8127         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8128         (gst_pad_set_getcaps_function)
8129         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
8130           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
8131           So now, we can use --gst-debug-level=5 on Windows
8132         * win32/common/libgstcontroller.def:
8133           Added export of gst_controller_init
8134         * win32/vs6/libgstcontroller.dsp:
8135           Fixed Release post build configuration
8136
8137 2006-02-17  Wim Taymans  <wim@fluendo.com>
8138
8139         * tests/check/gst/gstquery.c: (GST_START_TEST):
8140         Added another check.
8141
8142 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
8143
8144         * plugins/elements/gsttypefindelement.c: (find_peek):
8145           We can do peeks at non-zero offsets, as long as they
8146           fall within the buffer we have.
8147
8148 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
8149
8150         * tests/check/Makefile.am:
8151         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
8152         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
8153         (parse_suite), (main):
8154           Add testsuite for parse launch syntax
8155
8156 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
8157
8158         * plugins/elements/gsttypefindelement.c:
8159         (gst_type_find_element_chain):
8160           When typefinding is unsuccessful in the chain function, don't
8161           error out immediately. Only error out with NO_CAPS_FOUND if
8162           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
8163           otherwise simply wait for more data so we can try typefinding
8164           again with more data later. Also, don't attempt to typefind
8165           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
8166           this should improve typefinding from network sources where the
8167           size of the first buffer can be somewhat random.
8168
8169 2006-02-14  Wim Taymans  <wim@fluendo.com>
8170
8171         * docs/gst/gstreamer-sections.txt:
8172         * gst/gstpadtemplate.c:
8173         * gst/gstpadtemplate.h:
8174         Fix padtemplate docs, fixes #328805.
8175
8176 2006-02-14  Wim Taymans  <wim@fluendo.com>
8177
8178         * tools/gst-launch.c: (main):
8179         NO_PREROLL is not an ERROR so don't send confusing messages
8180         to the user.
8181
8182 2006-02-14  Wim Taymans  <wim@fluendo.com>
8183
8184         Patch by: Torsten Schoenfeld
8185
8186         * gst/gstregistry.c: (gst_registry_get_default),
8187         (_gst_registry_cleanup):
8188         Protect default registry with lock and ref/sink it.
8189         Fixes #324818
8190
8191 2006-02-14  Wim Taymans  <wim@fluendo.com>
8192
8193         * gst/gstbuffer.c:
8194         * gst/gstquery.c: (gst_query_list_add_format),
8195         (gst_query_set_formatsv), (gst_query_parse_formats_length),
8196         (gst_query_parse_formats_nth):
8197         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8198         Docs fixes.
8199
8200 2006-02-14  Wim Taymans  <wim@fluendo.com>
8201
8202         * docs/gst/gstreamer-sections.txt:
8203         Reworked query docs.
8204
8205         * gst/gstquery.c: (gst_query_new_formats),
8206         (gst_query_list_add_format), (gst_query_set_formats),
8207         (gst_query_set_formatsv), (gst_query_parse_formats_length),
8208         (gst_query_parse_formats_nth):
8209         * gst/gstquery.h:
8210         Flesh out formats query, added some new methods.
8211         Fix part of #324398.
8212
8213         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
8214         Added query creation tests.
8215
8216 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
8217
8218         * gst/gstpad.c: (fixate_value):
8219         Add a default fixation for fraction lists.
8220
8221 2006-02-13  Wim Taymans  <wim@fluendo.com>
8222
8223         * gst/gsttask.c: (gst_task_init), (gst_task_func),
8224         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
8225         (gst_task_join):
8226         * gst/gsttask.h:
8227         Detect and warn for obvious deadlocks. fixes #320340
8228         Fix error case where lock was not released.
8229
8230         * tests/check/Makefile.am:
8231         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
8232         (task_func), (gst_element_suite), (main):
8233         Add task check.
8234
8235 2006-02-13  Wim Taymans  <wim@fluendo.com>
8236
8237         * docs/gst/gstreamer-sections.txt:
8238         * gst/gstbus.c:
8239         Add new functions to docs.
8240
8241 2006-02-13  Wim Taymans  <wim@fluendo.com>
8242
8243         * docs/design/part-TODO.txt:
8244         Updated TODO list, basesrc supports seeking to non-bytes
8245         formats.
8246
8247         * docs/design/part-element-sink.txt:
8248         Update docs.
8249
8250         * gst/gstbin.c: (bin_replace_message),
8251         (gst_bin_handle_message_func):
8252         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
8253         * gst/gstevent.c: (gst_event_finalize):
8254         * gst/gstpad.c: (gst_pad_event_default_dispatch),
8255         (gst_pad_send_event):
8256         Use shiny new _TYPE_NAME macros.
8257
8258         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8259         Move debug statement up.
8260
8261         * gst/gstelement.c: (gst_element_set_locked_state):
8262         Add some debugging.
8263
8264 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
8265
8266         * docs/gst/gstreamer-sections.txt:
8267         * gst/gstmessage.h:
8268         * gst/gstquery.h:
8269           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
8270           macros (#330906). Also, document the already existing
8271           GST_QUERY_TYPE macro.
8272
8273 2006-02-13  Wim Taymans  <wim@fluendo.com>
8274
8275         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
8276         (event_probe), (GST_START_TEST):
8277         Only events up to the pipeline EOS are counted, there are
8278         some more when going to NULL currently which we don't care
8279         about for now.
8280
8281 2006-02-13  Wim Taymans  <wim@fluendo.com>
8282
8283         * gst/gstpad.c: (gst_pad_send_event):
8284         Correctly check flushing and emit probes. fixes #330125
8285
8286 2006-02-10  Andy Wingo  <wingo@pobox.com>
8287
8288         * gst/gstbus.c (gst_bus_class_init): Declare our private data
8289         structure.
8290         (gst_bus_init): Cache the location of the private data in the
8291         instance structure.
8292         (gst_bus_enable_sync_message_emission) 
8293         (gst_bus_disable_sync_message_emission): Implement new public
8294         functions.
8295         (gst_bus_post): Emit the sync-message signal if the user asked for
8296         it. Fixes #330684.
8297
8298         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
8299         location of the bus-private structure.
8300         (gst_bus_enable_sync_message_emission)
8301         (gst_bus_disable_sync_message_emission): API addition
8302
8303 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
8304
8305         Patch by: Vincent Torri
8306
8307         * docs/pwg/building-boiler.xml:
8308         PWG patch from #326800
8309
8310 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
8311
8312         * configure.ac:
8313         * docs/Makefile.am:
8314         * docs/design/Makefile.am:
8315           Dist design docs.
8316
8317 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
8318
8319         * configure.ac:
8320           back to CVS
8321
8322 === release 0.10.3 ===
8323
8324 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
8325
8326         * configure.ac:
8327           releasing 0.10.3, "Like a virgin"
8328
8329 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
8330
8331         * configure.ac:
8332           2nd prerelease of 0.10.3
8333           Bump libtool versioning.
8334
8335 2006-02-07  Andy Wingo  <wingo@pobox.com>
8336
8337         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
8338         update last_stop if we're in TIME format and the timestamp is
8339         valid.
8340
8341         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
8342         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
8343         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
8344         If we get a new newsegment with a different format, adapt
8345         accordingly.
8346
8347         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
8348         of 0. Not a problem, really.
8349
8350         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
8351         warn if sync=true.
8352
8353 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
8354
8355         * configure.ac:
8356           Prelease of 0.10.3
8357
8358 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
8359
8360         * win32/vs7:
8361           project files updated to the default vs7 configuration
8362         * win32/common/libgstbase.def:
8363         * win32/common/libgstreamer.def:
8364           added new symbols,
8365           removed empty lines,
8366           sorted all exported symbols alphabetically
8367         * win32/common/dirent.c:
8368         * win32/common/dirent.h:
8369         * win32/common/gchar.h:
8370           use windows line end.
8371           
8372 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
8373
8374         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8375           Send EOS event when stopping.
8376
8377 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
8378
8379         * docs/README:
8380           Tell folks what to do if the plugin-foobar.xml file
8381           hasn't been generated for a newly-added plugin.
8382
8383 2006-02-05  Julien MOUTTE  <julien@moutte.net>
8384
8385         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8386         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8387         (gst_collect_pads_start), (gst_collect_pads_stop),
8388         (gst_collect_pads_event): Collectpads now holds a reference
8389         to the GstPad that was added. Indeed we don't want to look
8390         at pads that might just go away with no warning...
8391
8392 2006-02-05  Julien MOUTTE  <julien@moutte.net>
8393
8394         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8395         (gst_collect_pads_start), (gst_collect_pads_stop),
8396         (gst_collect_pads_event), (gst_collect_pads_chain):
8397         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
8398         Mark Nauwelaerts's patch on bug #328491.
8399
8400 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8401
8402         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
8403         (gst_utils_suite):
8404           Add some simple tests for gst_parse_bin_from_description() and
8405           gst_bin_find_unconnected_pad() (#329069).
8406
8407 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8408
8409         * tools/gst-launch.c: (event_loop), (main):
8410           Catch errors during preroll (#320084).
8411
8412 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
8413
8414         * plugins/elements/gsttypefindelement.c:
8415         (gst_type_find_element_activate):
8416           Post TYPE_NOT_FOUND error message when typefinding
8417           is unsuccessful in the activate function as well.
8418
8419 2006-02-02  Wim Taymans  <wim@fluendo.com>
8420
8421         * docs/design/part-element-sink.txt:
8422         Updated doc.
8423
8424 2006-02-02  Wim Taymans  <wim@fluendo.com>
8425
8426         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
8427         (gst_base_sink_render_object),
8428         (gst_base_sink_queue_object_unlocked):
8429         Only keep track of prerollable items when we are 
8430         prerolling.
8431         Before rendering after preroll, always check if we
8432         have queued items.
8433         Added some more debugging.
8434
8435 2006-02-02  Wim Taymans  <wim@fluendo.com>
8436
8437         * gst/gstelement.c: (gst_element_continue_state),
8438         (gst_element_set_state_func), (gst_element_change_state):
8439         Fixed #326576, been running this for quite some time with
8440         no regressions at all.
8441
8442 2006-02-02  Wim Taymans  <wim@fluendo.com>
8443
8444         * common/gst.supp:
8445         Added more suppressions
8446
8447 2006-02-02  Wim Taymans  <wim@fluendo.com>
8448
8449         * docs/design/part-element-sink.txt:
8450         Updated document.
8451
8452         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8453         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
8454         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
8455         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
8456         (gst_base_sink_do_sync), (gst_base_sink_render_object),
8457         (gst_base_sink_preroll_object),
8458         (gst_base_sink_queue_object_unlocked),
8459         (gst_base_sink_queue_object), (gst_base_sink_event),
8460         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
8461         (gst_base_sink_loop), (gst_base_sink_activate_pull),
8462         (gst_base_sink_get_position), (gst_base_sink_change_state):
8463         * libs/gst/base/gstbasesink.h:
8464         Totally refactored matching the design doc.
8465         Use two segments, one to clip incomming buffers and another to
8466         perform sync.
8467         Handle queueing correctly, bypass the queue when playing.
8468         Make EOS cancelable.
8469         Handle errors correctly when operating in pull based mode.
8470
8471         * tests/check/elements/fakesink.c: (GST_START_TEST),
8472         (fakesink_suite):
8473         Added new check for sinks.
8474
8475 2006-02-02  Wim Taymans  <wim@fluendo.com>
8476
8477         * gst/gstsegment.c: (gst_segment_clip):
8478         No reason to refuse to clip when start == -1
8479
8480 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
8481
8482         * docs/README:
8483         * docs/manual/intro-basics.xml:
8484         * docs/manual/intro-preface.xml:
8485         * docs/manual/manual.xml:
8486         * docs/pwg/advanced-dparams.xml:
8487         * docs/pwg/intro-basics.xml:
8488         * docs/pwg/intro-preface.xml:
8489         * docs/pwg/pwg.xml:
8490           describe dparams (controller) for plugins
8491           unify docs a little more
8492
8493 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
8494
8495         * docs/gst/gstreamer-sections.txt:
8496         * gst/gstutils.c: (element_find_unconnected_pad),
8497         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
8498         * gst/gstutils.h:
8499           Add new API: gst_parse_bin_from_description() and
8500           gst_bin_find_unconnected_pad() (#329069).
8501
8502 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
8503
8504         * docs/manual/README:
8505           uncover a nasty detail of the docs build
8506
8507 2006-01-31  Wim Taymans  <wim@fluendo.com>
8508
8509         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
8510         Don't cache duration messages if we're not going to use or
8511         free them.
8512
8513 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
8514
8515         * docs/manual/advanced-dparams.xml:
8516         * docs/pwg/advanced-dparams.xml:
8517           more dparam docs
8518         * gst/gstindex.c:
8519           fix docs
8520         * libs/gst/controller/lib.c: (gst_controller_init):
8521           init just once
8522
8523 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
8524
8525         * gst/gstelement.c: (gst_element_message_full):
8526           also show file/line/func if no additional debug was given
8527
8528 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
8529         
8530         * win32/vs7/grammar.vcproj:
8531           activate copy of autogenerated files for Release mode
8532
8533 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
8534         
8535         * win32/common/libgstreamer.def:
8536           export gst_value_compare
8537
8538 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
8539
8540         * plugins/elements/Makefile.am:
8541         * plugins/elements/gstelements.c:
8542         * plugins/elements/gstfdsink.c: (_do_init),
8543         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
8544         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
8545         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
8546         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
8547         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
8548         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
8549         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
8550         * plugins/elements/gstfdsink.h:
8551         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
8552
8553 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
8554
8555         * docs/manual/advanced-dparams.xml:
8556           describe controller
8557         * docs/manual/advanced-position.xml:
8558         * docs/manual/basics-init.xml:
8559         * docs/manual/manual.xml:
8560         * docs/manual/titlepage.xml:
8561         * docs/pwg/pwg.xml:
8562         * docs/pwg/titlepage.xml:
8563           cleanup xml (more to come)
8564         * libs/gst/controller/gstcontroller.c:
8565           fix typo
8566
8567 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
8568         
8569         * win32/vs6/grammar.dsp:
8570           add autogen of gstmarshal.c,h for Release mode
8571                 
8572 2006-01-30  Wim Taymans  <wim@fluendo.com>
8573
8574         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8575         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
8576         (gst_base_sink_handle_object), (gst_base_sink_event),
8577         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
8578         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8579         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
8580         (gst_base_sink_deactivate), (gst_base_sink_activate),
8581         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8582         (gst_base_sink_query), (gst_base_sink_change_state):
8583         Basesink cleanups, remove some old code.
8584         Handle the case where a subclass can preroll in the render
8585         method (mostly audiosinks).
8586         Handle more events.
8587         Remove some locks around variables that are now protected
8588         with the PREROLL_LOCK (clock_id, flushing, ..).
8589         Optimize position query some more, do correct locking.
8590         Remove old code to push queue in state change, this is not
8591         needed anymore since preroll blocks on all prerollable items 
8592         now.
8593         Almost implemented as described in design doc.
8594
8595 2006-01-30  Wim Taymans  <wim@fluendo.com>
8596
8597         * tests/check/gst/gstbin.c: (GST_START_TEST):
8598         Wait for refcount to settle down before checking.
8599
8600 2006-01-30  Wim Taymans  <wim@fluendo.com>
8601
8602         * docs/design/part-element-sink.txt:
8603         Pseudo code overview of desired sink behaviour regarding
8604         preroll.
8605
8606 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
8607         * win32/vs6/grammar.dsp:
8608           fix some bugs in Release mode for autogenerated files
8609                 
8610 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
8611         * win32/common/libgstbase.def:
8612         * win32/common/libgstreamer.def:
8613           export some new symbols: gst_base_src_set_format,
8614           gst_iterator_next, gst_structure_set_valist
8615
8616 2006-01-29  Julien MOUTTE  <julien@moutte.net>
8617
8618         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8619         Set pad functions unconditionally. Fixes #329105.
8620
8621 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
8622         * win32/vs8:
8623           add vs8 project files created by Sergey Scobich
8624
8625 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
8626
8627         * gst/gstutils.c: (gst_element_unlink_pads):
8628         Don't leak pad references.
8629
8630         * tests/check/elements/fakesink.c: (GST_START_TEST):
8631         * tests/check/generic/sinks.c: (GST_START_TEST):
8632         * tests/check/generic/states.c: (GST_START_TEST):
8633         * tests/check/gst/gstbin.c: (GST_START_TEST):
8634         * tests/check/gst/gstcaps.c: (GST_START_TEST):
8635         * tests/check/gst/gstelement.c: (GST_START_TEST):
8636         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8637         * tests/check/gst/gstiterator.c: (GST_START_TEST):
8638         * tests/check/gst/gstvalue.c: (GST_START_TEST):
8639         Fix a bunch of leaks. Make generic/sinks.c
8640         use a bit less cpu by slowing the buffer rate
8641         between fakesrc and fakesink.
8642         
8643 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
8644         * gst/gstcaps.c:
8645         * gst/gstelement.c: (gst_element_send_event):
8646         * gst/gstevent.c:
8647         * gst/gstinfo.c:
8648         * gst/gstiterator.c:
8649         * gst/gstiterator.h:
8650         * gst/gstpad.c: (gst_pad_send_event):
8651         * gst/gststructure.c:
8652         * gst/gsturi.c:
8653         * gst/gstutils.c:
8654         * gst/gstvalue.c:
8655         * libs/gst/base/gstadapter.c:
8656           doc fixes, to link to function, just write gst_cool_function(), don't
8657           prefix with '#'
8658
8659 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
8660
8661         * plugins/elements/gsttee.c: (gst_tee_do_push),
8662         (gst_tee_handle_buffer):
8663         Always prefer an actual return value from a src
8664         pad in place of NOT_LINKED. This means we return
8665         WRONG_STATE when all src pads are WRONG_STATE
8666         instead of NOT_LINKED.
8667
8668         Lock when replacing the last message to prevent
8669         racing with the get_property method.
8670
8671         Add debug output
8672
8673 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
8674
8675         * tests/check/Makefile.am:
8676         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
8677         (main):
8678         Add a very simple check that should have caught the memleak I fixed
8679         last night (if not for the slice allocator hiding it)
8680
8681 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
8682
8683         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8684         (gst_bin_remove_func), (gst_bin_handle_message_func),
8685         (bin_query_duration_fold), (bin_query_generic_fold):
8686         Clean up references to the clock provider when disposed or when
8687         handling a clock-lost message from it.
8688
8689         Unref sinks when performing a query via gst_iterator_fold, as the
8690         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
8691
8692         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
8693         (gst_clock_set_master):
8694         Drop our reference to the master clock, if any, when we are disposed.
8695
8696         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
8697         Chain up in dispose. 
8698
8699 2006-01-26  Wim Taymans  <wim@fluendo.com>
8700
8701         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8702         Add some debugging.
8703
8704 2006-01-26  Julien MOUTTE  <julien@moutte.net>
8705
8706         * plugins/elements/gsttee.c: (gst_tee_do_push),
8707         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
8708         handles pad being NOT_LINKED or in WRONG_STATE.
8709
8710 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
8711
8712         * win32/MANIFEST:
8713           more updating
8714
8715 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
8716
8717         * win32/MANIFEST:
8718           remove obsolete entry
8719
8720 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
8721
8722         * docs/gst/gstreamer-sections.txt:
8723         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
8724         (gst_bin_iterate_sources), (gst_bin_send_event):
8725         * gst/gstbin.h:
8726         * gst/gstelement.c: (gst_element_send_event):
8727         * gst/gstevent.c:
8728         * gst/gstpad.c: (gst_pad_send_event):
8729           added code for downstream events, reviewed docs in gstevent.c
8730
8731 2006-01-25  Julien MOUTTE  <julien@moutte.net>
8732
8733         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8734         We only query position using the clock in the playing state.
8735         Query peer in the other cases.
8736         * win32/common/config.h: Updates.
8737
8738 2006-01-24  Wim Taymans  <wim@fluendo.com>
8739
8740         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8741         A clock entry that is scheduled for the exact time of the
8742         clock is still in time.
8743
8744         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8745         (gst_base_sink_do_sync):
8746         Add some more debug info.
8747
8748 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
8749
8750         * win32/vs7:
8751           Add new vs7 project files and solution.
8752
8753 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
8754
8755         * win32/vs7:
8756           all files removed as they were out-dated.
8757
8758 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8759
8760         * docs/random/release:
8761           update notes
8762         * gst/gstbin.c: (gst_bin_init):
8763         * gst/gstbus.c: (gst_bus_new):
8764         * gst/gstbus.h:
8765         * gst/gstpipeline.c: (gst_pipeline_init):
8766           use gst_bus_new(), improve logging, fix docs
8767         * win32/common/config.h:
8768           update for cvs build
8769
8770 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8771
8772         * autogen.sh:
8773           up required version of automake to 1.7
8774
8775 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
8776
8777         * win32/common/libgstreamer.def:
8778           export gst_buffer_is_metadata_writable
8779
8780 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
8781
8782         * docs/gst/gstreamer-sections.txt:
8783         * gst/gstevent.h:
8784           Add gst_event_replace() (#327001)
8785
8786 2006-01-20  Wim Taymans  <wim@fluendo.com>
8787
8788         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8789         Make it actually compile too..
8790
8791 2006-01-20  Wim Taymans  <wim@fluendo.com>
8792
8793         * gst/gstcaps.c:
8794         Clarify behaviour of _is_equal() when passing NULL parameters.
8795
8796         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8797         (gst_pad_set_caps):
8798         Cleanups. Don't unref NULL caps.
8799         When setting the same caps, protect caps of the pad with
8800         proper lock.
8801         Use full functionality of _is_equal() when comparing caps.
8802
8803 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
8804
8805         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
8806         Don't loop infinitely if there are no buffers to present. Partially
8807         fixes #327197, but collectpads is just broken for reusing elements
8808         to do multiple encodes atm.
8809
8810 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
8811
8812         * tools/gst-inspect.c: (print_element_features):
8813         * tools/gst-xmlinspect.c: (main):
8814         URL_HANDLER is not a plugin feature we can search for in
8815         the registry.
8816
8817 2006-01-19  Edward Hervey  <edward@fluendo.com>
8818
8819         * gst/gstelement.c: (gst_element_pads_activate): 
8820         When activating, do src pads first, then sink pads.
8821         When de-activating, do sink pads first, then src pads.
8822
8823 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8824
8825         * docs/gst/gstreamer-sections.txt:
8826         Add gst_index_add_associationv to the docs
8827
8828 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8829
8830         * gst/gstevent.c:
8831           Fix docs typo
8832
8833         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
8834         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
8835           Do some refactoring. Doesn't actually change functionality,
8836           but makes landing the DRAIN event easier later.
8837
8838 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
8839
8840         * docs/pwg/advanced-scheduling.xml:
8841           Update from 0.9.x to 0.10 API and make example a bit
8842           clearer.
8843
8844 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8845
8846         * docs/gst/gstreamer-sections.txt:
8847         Add gst_buffer_(is|make)_metadata_writable methods.
8848
8849 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8850
8851         * docs/design/part-sparsestreams.txt:
8852         Update sparse streams doc, hopefully for greater clarity
8853
8854 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
8855
8856         * docs/design/part-events.txt:
8857         Remove mention of FILLER events.
8858         Add DRAIN event.
8859
8860         * docs/design/part-sparsestreams.txt:
8861         Write some things about using NEWSEGMENT to keep sparse streams
8862         flowing.
8863
8864 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
8865
8866         * gst/gstbin.c: (gst_bin_dispose):
8867           Guard gst_object_unref call against a NULL object (dispose
8868           can theoretically be called multiple times).
8869           
8870 2006-01-18  Wim Taymans  <wim@fluendo.com>
8871
8872         * gst/gstbin.c: (gst_bin_element_set_state):
8873         * gst/gstclock.c: (gst_clock_id_wait):
8874         Added some more debug info.
8875
8876         * libs/gst/base/gstadapter.c:
8877         Added more docs.
8878
8879         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8880         (gst_base_sink_do_sync), (gst_base_sink_chain):
8881         Added some comments.
8882
8883 2006-01-18  Wim Taymans  <wim@fluendo.com>
8884
8885         * tests/check/Makefile.am:
8886         * tests/check/elements/fakesink.c: (chain_async_buffer),
8887         (chain_async), (chain_async_return), (GST_START_TEST),
8888         (fakesink_suite), (main):
8889         Added fakesink test that checks prerolling and clipping
8890         behaviour.
8891
8892         * tests/check/gst/gstutils.c: (GST_START_TEST):
8893         Make check run faster so that buildbots don't timeout.
8894
8895 2006-01-18  Wim Taymans  <wim@fluendo.com>
8896
8897         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8898         (gst_base_sink_do_sync):
8899         Some cleanups.
8900         When the sink finishes blocking on the preroll buffer, it can
8901         immediatly render it instead of rendering when the next buffer
8902         arrives.
8903
8904 2006-01-18  Wim Taymans  <wim@fluendo.com>
8905
8906         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
8907         (gst_base_sink_get_property), (gst_base_sink_do_sync),
8908         (gst_base_sink_chain):
8909         Small cleanups.
8910         GST_ELEMENT_CLOCK and sync are protected with LOCK.
8911         Don't store _last_stop if the buffer is dropped.
8912
8913 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
8914
8915         * plugins/elements/gsttypefindelement.c:
8916         (gst_type_find_element_class_init):
8917           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
8918           object method handler that sets the caps on the pad and we want
8919           that to happen before we emit the signal (fixes e.g. feeding a
8920           plain text file to decodebin).
8921
8922 2006-01-18  Christian Schaller  <Christian@fluendo.com>
8923
8924         * gst/gstplugin.c: Add MPL and Proprietary as license options
8925
8926 2006-01-18  Andy Wingo  <wingo@pobox.com>
8927
8928         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
8929         symbol was exported before, it appears this was just an oversight.
8930         Fixes #168703.
8931         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
8932
8933         * gst/gstindex.c (gst_index_add_associationv): Changed int in
8934         prototype to gint. OK since this prototype was not in the header.
8935
8936 2006-01-17  Andy Wingo  <wingo@pobox.com>
8937
8938         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
8939         registry while we remove plugins.
8940
8941         * tools/gst-inspect.c (print_element_info): Don't unref the
8942         factory arg, that should be the responsibility of whatever code
8943         received the ref. Fixes a double-free when called from
8944         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
8945         (main): Unref the factory if we have one.
8946         (print_element_list): No change -- relies on the
8947         plugin_feature_list_free to free the list of features.
8948
8949 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
8950
8951         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
8952         (gst_buffer_make_metadata_writable):
8953         * gst/gstbuffer.h:
8954         * libs/gst/base/gstbasetransform.c:
8955         (gst_base_transform_prepare_output_buf):
8956         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8957         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8958           Replace gst_buffer_(make|is)_metadata_writable patch now
8959           that the release is out.
8960
8961 2006-01-17  Andy Wingo  <wingo@pobox.com>
8962
8963         * gst/gstregistry.c: Reflow design comment. Update so as to speak
8964         in the present tense without reference to versions.
8965
8966         * gst/gstregistry.c (gst_registry_add_plugin)
8967         (gst_registry_remove_plugin, gst_registry_remove_feature)
8968         (gst_registry_find_feature, gst_registry_get_feature_list)
8969         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
8970         (gst_registry_lookup, gst_registry_scan_path)
8971         (_gst_registry_remove_cache_plugins)
8972         (gst_registry_get_feature_list_by_plugin): Add argument
8973         validation.
8974
8975 === release 0.10.2 ===
8976
8977 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
8978
8979         * configure.ac:
8980           releasing 0.10.2, "If man is five"
8981
8982 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
8983
8984         * gst/gstbuffer.c:
8985         * gst/gstbuffer.h:
8986         * libs/gst/base/gstbasetransform.c:
8987         (gst_base_transform_prepare_output_buf):
8988         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8989         * tests/check/gst/gstbuffer.c: (gst_test_suite):
8990           Back out patch until after the release.
8991
8992 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
8993
8994         * gst/gstminiobject.c:
8995           Spelling fix in docs.
8996         * ChangeLog - remove conflict indicator
8997
8998 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
8999
9000         Reviewed By: Andy Wingo
9001
9002         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
9003         (gst_buffer_make_metadata_writable):
9004         * gst/gstbuffer.h:
9005           Add gst_buffer_(is|make)_metadata_writable as analogues of
9006           gst_buffer_(is|make)_writable.
9007
9008         * libs/gst/base/gstbasetransform.c:
9009         (gst_base_transform_prepare_output_buf):
9010         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9011           Use name gst_buffer_(is|make)_metadata_writable functions.
9012
9013         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9014           Test gst_buffer_(is|make)_metadata_writable
9015         
9016           (Closes: #324162)
9017
9018 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9019
9020         * docs/manual/Makefile.am:
9021           don't do parallel make
9022         * configure.ac:
9023           AC_SUBST HOST_CPU
9024         * win32/common/config.h.in:
9025           add generations for HOST_CPU and GST_MAJORMINOR
9026         * win32/common/config.h:
9027           commit generated result
9028
9029 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
9030
9031         * docs/manual/appendix-integration.xml:
9032           Update GNOME integration section to use gst_init_get_option_group()
9033           instead of the old popt stuff (#322911). Also, GNOME applications
9034           should  now use gconf*sink and gconf*src instead of the old gconf
9035           helper lib we had.
9036
9037 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
9038
9039
9040         * docs/gst/gstreamer-docs.sgml:
9041         * docs/gst/gstreamer-sections.txt:
9042         * docs/libs/gstreamer-libs-sections.txt:
9043           add new API entries to the docs
9044         * libs/gst/controller/Makefile.am:
9045         * libs/gst/controller/gstcontroller.c:
9046         * libs/gst/controller/gstcontroller.h:
9047         * libs/gst/controller/gstcontrollerprivate.h:
9048         * libs/gst/controller/gsthelper.c:
9049         * libs/gst/controller/gstinterpolation.c:
9050           move private structs to private header
9051         * po/README:
9052           gstreamer-0.7 -> gstreamer-0.10
9053         * tests/check/libs/struct_i386.h:
9054           remove private structs
9055
9056 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9057
9058         * plugins/indexers/Makefile.am:
9059           Fixes as part of #317048
9060
9061 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9062
9063         * plugins/indexers/Makefile.am:
9064           fix #316086 - compilation when mmap is missing
9065
9066 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
9067
9068         * libs/gst/base/gstbasesink.c:
9069           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
9070           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
9071         * win32/common/config.h:
9072           added some defines GST_MAJORMINOR and HOST_CPU
9073         * win32/common/libgstbase.def:
9074         * win32/common/libgstreamer.def:
9075           added some exported functions.
9076
9077 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
9078
9079         * libs/gst/controller/gstcontroller.c:
9080         (gst_controlled_property_set_interpolation_mode),
9081         (gst_controlled_property_new):
9082         * libs/gst/controller/gstcontroller.h:
9083         * libs/gst/controller/gstinterpolation.c:
9084         (interpolate_none_get_string_value_array):
9085           make G_TYPE_STRING controlable
9086
9087 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
9088
9089         * tools/README:
9090         * tools/gst-feedback.1.in:
9091         * tools/gst-inspect.1.in:
9092         * tools/gst-launch.1.in:
9093         * tools/gst-md5sum.1.in:
9094         * tools/gst-typefind.1.in:
9095         * tools/gst-xmlinspect.1.in:
9096         * tools/gst-xmllaunch.1.in:
9097           cleanup man-pages, remove reference to gst-register, document env-vars
9098
9099 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
9100
9101         * gst/gstbuffer.c: (gst_buffer_span):
9102           gst_buffer_span should copy the timestamp of the first buffer
9103           if they were both originally overlapping subbuffers of the 
9104           same parent, using the same logic as the 'slow copy' case.
9105
9106 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
9107
9108         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
9109           Need to awaken ALL the pads when we pop a buffer, otherwise
9110           collectpads only works when there is 2 input streams.
9111
9112 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
9113
9114         * docs/random/ensonic/media-device-daemon.txt:
9115           more ideas (dbus)
9116         * gst/gstbuffer.c:
9117           fix doc example, add clarification
9118         * tools/gst-launch.1.in:
9119           add initial info about GST_PLUGIN_PATH, needs more work
9120
9121 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
9122
9123         * docs/manual/basics-bins.xml:
9124         * docs/manual/basics-elements.xml:
9125         * docs/manual/intro-basics.xml:
9126           Some more minor docs additions and updates.
9127
9128 2006-01-11  Wim Taymans  <wim@fluendo.com>
9129
9130         * docs/manual/basics-bins.xml:
9131         * docs/manual/basics-elements.xml:
9132         Some small fixes as pointed out by Ser-ver on IRC.
9133
9134 2006-01-10  Edward Hervey  <edward@fluendo.com>
9135
9136         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9137         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
9138         the single-segment mode.
9139
9140 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
9141
9142         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9143
9144         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
9145         (gst_base_src_perform_seek), (gst_base_src_send_event),
9146         (gst_base_src_set_property), (gst_base_src_get_property),
9147         (gst_base_src_loop), (gst_base_src_start),
9148         (gst_base_src_activate_push):
9149         * libs/gst/base/gstbasesrc.h:
9150           Name (private) union; makes Sun's Forte compiler happy (#324900).
9151
9152 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
9153
9154         * README:
9155           gst-register is gone.
9156
9157 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9158
9159         * gst/gstvalue.c: (_gst_value_initialize):
9160           make the G_TYPE_DATE instantiation work if debug is disabled
9161
9162 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
9163
9164         * gst/gstmessage.c: (gst_message_parse_tag),
9165         (gst_message_parse_error), (gst_message_parse_warning):
9166           Don't crash when return location for error/warning debug
9167           string is NULL; add fact that return locations can be
9168           NULL to docs where appropriate.
9169
9170 2006-01-05  Wim Taymans  <wim@fluendo.com>
9171
9172         * gst/gstplugin.c: (gst_plugin_load_file):
9173         Replace strdup by g_strdup.
9174
9175 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9176
9177         * docs/pwg/advanced-types.xml:
9178           fix doc borkage
9179
9180 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9181
9182         submitted by: Abel Cheung
9183
9184         * po/LINGUAS:
9185         * po/zh_TW.po:
9186           Added Chinese (traditional) translation
9187
9188 2006-01-04  Wim Taymans  <wim@fluendo.com>
9189
9190         * docs/manual/basics-pads.xml:
9191         * docs/plugins/Makefile.am:
9192         * docs/plugins/gstreamer-plugins-docs.sgml:
9193         * docs/plugins/gstreamer-plugins-sections.txt:
9194         * docs/pwg/advanced-clock.xml:
9195         * docs/pwg/advanced-scheduling.xml:
9196         * docs/pwg/advanced-types.xml:
9197         * plugins/elements/gstfdsink.c:
9198         * plugins/elements/gstfdsrc.c:
9199         * plugins/elements/gstfdsrc.h:
9200         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9201         * plugins/elements/gstidentity.h:
9202         * plugins/elements/gstqueue.h:
9203         * plugins/elements/gsttee.c:
9204         * plugins/elements/gsttee.h:
9205         * plugins/elements/gsttypefindelement.c:
9206         (gst_type_find_element_class_init):
9207         * plugins/elements/gsttypefindelement.h:
9208         Small updates to various docs.
9209         Added core plugins to docs.
9210
9211 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9212
9213         * common/gst.supp:
9214           add a suppression for liboil's uninitialized variable
9215
9216 2006-01-02  James Livingston  <jrl at ids dot org dot au>
9217
9218         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9219
9220         * gst/gstutils.h:
9221           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
9222           macro, so that gcc doesn't complain if the -Wmissing-prototypes
9223           compiler switch is being used (#325429).
9224
9225 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
9226
9227         * gst/gstbin.c: (gst_bin_query):
9228           Disable duration query caching in bins until it gets
9229           fixed (see #324807).
9230
9231 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
9232
9233         * tools/gst-inspect.c: (print_element_properties_info):
9234           Handle properties of POINTER and BOXED type.
9235
9236 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
9237
9238         * gst/gst.c: (init_post):
9239           Init tags stuff and some other things before loading
9240           any static plugins (there may be other static plugins
9241           than just the GStreamer ones, and they may want to
9242           register their own tags or formats or whatever, and
9243           preferably without segfaulting).
9244
9245         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
9246           Print at least a warning in the debug logs if we drop a
9247           query just because we don't know how to adjust the value
9248           in the particular format.
9249
9250 2005-12-24  David Schleef  <ds@schleef.org>
9251
9252         * tools/gstreamer-completion:
9253           Replacement for gst-complete written in sh and sed.  Only
9254           completes names of features, but that's 90% of what I want
9255           it for.  Properties are not available in registry.xml.  (Maybe
9256           they should be...)
9257
9258 === release 0.10.1 ===
9259
9260 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
9261
9262         * configure.ac:
9263           releasing 0.10.1, "Nollaig chridheil"
9264
9265 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
9266
9267         * docs/faq/cvs.xml:
9268           Add missing quote, should be make ERROR_CFLAGS="".
9269
9270 2005-12-20  Wim Taymans  <wim@fluendo.com>
9271
9272         * docs/design/part-trickmodes.txt:
9273         More documentation on trickmodes.
9274
9275 2005-12-20  Edward Hervey  <edward@fluendo.com>
9276
9277         * gst/gstcaps.c: (gst_static_caps_get_type):
9278         * gst/gstcaps.h:
9279           API addition: GST_TYPE_STATIC_CAPS
9280         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
9281         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
9282         * gst/gstpadtemplate.h:
9283           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
9284         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
9285         bindings.
9286
9287 2005-12-18  Wim Taymans  <wim@fluendo.com>
9288
9289         * libs/gst/base/gstadapter.c:
9290         * libs/gst/base/gstadapter.h:
9291         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9292         (gst_base_sink_get_position):
9293         * libs/gst/base/gstbasesink.h:
9294         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9295         (gst_base_src_default_query), (gst_base_src_default_do_seek),
9296         (gst_base_src_do_seek), (gst_base_src_perform_seek),
9297         (gst_base_src_send_event), (gst_base_src_update_length),
9298         (gst_base_src_get_range), (gst_base_src_loop),
9299         (gst_base_src_start):
9300         * libs/gst/base/gstbasesrc.h:
9301         * libs/gst/base/gstbasetransform.h:
9302         * libs/gst/base/gstcollectpads.h:
9303         * libs/gst/base/gstpushsrc.c:
9304         * libs/gst/base/gstpushsrc.h:
9305         * libs/gst/dataprotocol/dataprotocol.c:
9306         * libs/gst/dataprotocol/dataprotocol.h:
9307         * libs/gst/net/gstnetclientclock.h:
9308         * libs/gst/net/gstnettimeprovider.h:
9309         Documentation updates.
9310
9311 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
9312
9313         * docs/manual/basics-helloworld.xml:
9314           Remove superfluous closing bracket in helloworld example.
9315
9316 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
9317
9318         * tools/gst-launch.1.in:
9319           Update gst-launch man page; add a section with useful
9320           environment variables. Fixes #323882.
9321
9322 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
9323
9324         * gst/gst.c:
9325         * gst/gst_private.h:
9326           change some char* into char[]
9327
9328 2005-12-16  Wim Taymans  <wim@fluendo.com>
9329
9330         * gst/gstregistryxml.c: (load_feature):
9331         Cleanups.
9332         Don't use g_object_unref on GstObjects so that we avoid
9333         leaks on unsafe glibs.
9334
9335 2005-12-16  Wim Taymans  <wim@fluendo.com>
9336
9337         * gst/gstbin.c: (gst_bin_recalc_state):
9338         Small doc updates.
9339
9340 2005-12-16  Wim Taymans  <wim@fluendo.com>
9341
9342         * common/check.mak:
9343         Added make forever target for check.
9344
9345 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9346
9347         * gst/gst.c: (init_post):
9348           make the registry cache file HOST_CPU-dependent
9349
9350 2005-12-16  Andy Wingo  <wingo@pobox.com>
9351
9352         * plugins/elements/gstbufferstore.c
9353         (gst_buffer_store_cleared_func): Pay attention to g_list_append
9354         return value.
9355
9356         * tests/check/gst/gstobject.c
9357         (test_fake_object_name_threaded_unique): Pay attention to
9358         g_list_sort return value.
9359
9360 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9361
9362         * tools/gst-feedback-m.m:
9363           Update for 0.9/0.10 (fixes #323870).
9364
9365 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
9366
9367         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
9368           Fix lcopy for mini objects, the mini object needs to be ref'ed.
9369           
9370         * tests/check/gst/gstminiobject.c: (my_foo_init),
9371         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
9372         (test_value_collection), (gst_mini_object_suite):
9373           Add test to ensure refcounts end up as expected when passing
9374           GstMiniObjects through g_object_get() and g_object_set().
9375
9376 2005-12-14  Julien MOUTTE  <julien@moutte.net>
9377
9378         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9379         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
9380         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
9381         of collectpads. This version removes a lot of races without
9382         touching API/ABI. Yay !
9383
9384 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
9385
9386         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
9387           Don't allow activation of a srcpad in pull_range if it has no
9388           getrange function.
9389           Change some debug statements to be a little clearer
9390
9391         * plugins/elements/gsttypefindelement.c:
9392         (gst_type_find_handle_src_query):
9393           Check that we have a peer before executing queries thereupon.
9394
9395         * tests/examples/metadata/read-metadata.c: (message_loop):
9396           Use gst_bus_pop instead of gst_bus_poll when we just want it to
9397           immediately return us any available message with 0 timeout.
9398
9399 2005-12-12  Michael Smith  <msmith@fluendo.com>
9400
9401         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9402           Don't unref factories after calling them.
9403         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
9404         * plugins/elements/gsttypefindelement.c:
9405         (gst_type_find_element_chain):
9406           Free lists of factories after using them. Fixing typefinding memory
9407           leaks.
9408
9409 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9410
9411         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
9412         (gst_plugin_feature_load):
9413           more meaningful debug output
9414         * configure.ac:
9415         * tests/Makefile.am:
9416         * tests/old/examples/Makefile.am:
9417           make make distcheck happy again
9418
9419 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9420
9421         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9422           Catch the special case where we are operating chain-based,
9423           but the downstream peer pad has no chain function. Emit a
9424           custom error message in this case instead of letting the
9425           core generate one implying that this is some sort of core
9426           bug. It's not, it just means that whatever got plugged
9427           into the pipeline downstream when we announced the type
9428           can only operate pull-based, while our source can only
9429           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
9430           Error string has not been marked for translation yet, as
9431           it probably needs some more work first.
9432
9433         (gst_type_find_element_get_best_possibility):
9434           Add helper function to find the best of all available
9435           found possibilities that qualify given the min. threshold.
9436
9437         (gst_type_find_element_handle_event):
9438           Fix the case where we get an EOS while still in TYPEFIND
9439           mode (we want to chose the best of all possible types,
9440           not just the first type that happens to be in our unsorted
9441           list of possible types).
9442
9443         (gst_type_find_element_chain):
9444           Make sure we return GST_FLOW_ERROR when we errored out
9445           in stop_typefinding(); also, don't just find the best of
9446           all found type entries and then use the last examined
9447           type entry, but actually use the best entry.
9448
9449 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9450
9451         * tests/examples/typefind/typefind.c: (type_found):
9452         * tests/examples/xml/runxml.c: (xml_loaded):
9453           More gcc4 fixes and a mem leak fix.
9454
9455 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9456
9457         * tests/examples/xml/createxml.c: (object_saved):
9458           gcc 4 fixes
9459
9460 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9461
9462         * tests/Makefile.am:
9463           enable the examples even more
9464
9465 2005-12-12  Andy Wingo  <wingo@pobox.com>
9466
9467         * libs/gst/net/gstnettimeprovider.c
9468         (gst_net_time_provider_class_init, gst_net_time_provider_init)
9469         (gst_net_time_provider_set_property)
9470         (gst_net_time_provider_get_property):
9471         API addition: Export "active" as a GObject property.
9472         (gst_net_time_provider_thread): Only respond to time queries if
9473         the time provider is active.
9474
9475         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
9476         NetTimeProvider, preserving binary compat.
9477
9478 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9479
9480         * tests/examples/controller/audio-example.c: (main):
9481         * tests/examples/launch/Makefile.am:
9482           convert comments again
9483
9484 2005-12-12  Wim Taymans  <wim@fluendo.com>
9485
9486         * libs/gst/base/gstpushsrc.c:
9487         Fix typo.
9488
9489 2005-12-12  Wim Taymans  <wim@fluendo.com>
9490
9491         * docs/libs/gstreamer-libs-sections.txt:
9492         Added new symbol to docs.
9493
9494         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9495         (gst_base_src_init), (gst_base_src_set_format),
9496         (gst_base_src_default_query), (gst_base_src_query),
9497         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
9498         (gst_base_src_perform_seek), (gst_base_src_send_event),
9499         (gst_base_src_default_event), (gst_base_src_event_handler),
9500         (gst_base_src_set_property), (gst_base_src_get_property),
9501         (gst_base_src_wait), (gst_base_src_do_sync),
9502         (gst_base_src_update_length), (gst_base_src_get_range),
9503         (gst_base_src_check_get_range), (gst_base_src_loop),
9504         (gst_base_src_default_negotiate), (gst_base_src_start),
9505         (gst_base_src_activate_push), (gst_base_src_activate_pull),
9506         (gst_base_src_change_state):
9507         * libs/gst/base/gstbasesrc.h:
9508         Implement seeking to other formats than _BYTES.
9509         Implement more seeking methods correctly.
9510         Doc updates.
9511         Added query vmethod.
9512         Added do_seek vmethod to make life easier for subclasses
9513         when seeking.
9514         API addition: gst_base_src_set_format()
9515
9516 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9517
9518         * tests/examples/Makefile.am:
9519           added that too
9520
9521 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9522
9523         * configure.ac:
9524         * docs/random/ensonic/media-device-daemon.txt:
9525         * tests/examples/controller/.cvsignore:
9526         * tests/examples/controller/Makefile.am:
9527         * tests/examples/controller/audio-example.c: (main):
9528         * tests/examples/helloworld/.cvsignore:
9529         * tests/examples/helloworld/Makefile.am:
9530         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
9531         * tests/examples/launch/.cvsignore:
9532         * tests/examples/launch/Makefile.am:
9533         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
9534         * tests/examples/metadata/.cvsignore:
9535         * tests/examples/metadata/Makefile.am:
9536         * tests/examples/metadata/read-metadata.c: (message_loop),
9537         (make_pipeline), (print_tag), (main):
9538         * tests/examples/queue/.cvsignore:
9539         * tests/examples/queue/Makefile.am:
9540         * tests/examples/queue/queue.c: (event_loop), (main):
9541         * tests/examples/typefind/.cvsignore:
9542         * tests/examples/typefind/Makefile.am:
9543         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
9544         (main):
9545         * tests/examples/xml/.cvsignore:
9546         * tests/examples/xml/Makefile.am:
9547         * tests/examples/xml/createxml.c: (object_saved), (main):
9548         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
9549         * tests/old/examples/Makefile.am:
9550         * tests/old/examples/TODO:
9551         * tests/old/examples/controller/.cvsignore:
9552         * tests/old/examples/controller/Makefile.am:
9553         * tests/old/examples/controller/audio-example.c:
9554         * tests/old/examples/helloworld/.cvsignore:
9555         * tests/old/examples/helloworld/Makefile.am:
9556         * tests/old/examples/helloworld/helloworld.c:
9557         * tests/old/examples/launch/.cvsignore:
9558         * tests/old/examples/launch/Makefile.am:
9559         * tests/old/examples/launch/mp3parselaunch.c:
9560         * tests/old/examples/launch/mp3play:
9561         * tests/old/examples/manual/Makefile.am:
9562         * tests/old/examples/metadata/Makefile.am:
9563         * tests/old/examples/metadata/read-metadata.c:
9564         * tests/old/examples/queue/.cvsignore:
9565         * tests/old/examples/queue/Makefile.am:
9566         * tests/old/examples/queue/queue.c:
9567         * tests/old/examples/typefind/.cvsignore:
9568         * tests/old/examples/typefind/Makefile.am:
9569         * tests/old/examples/typefind/typefind.c:
9570         * tests/old/examples/xml/.cvsignore:
9571         * tests/old/examples/xml/Makefile.am:
9572         * tests/old/examples/xml/createxml.c:
9573         * tests/old/examples/xml/runxml.c:
9574           applied some simple fixing to some examples
9575           re-enabled the working examples
9576
9577 2005-12-12  Wim Taymans  <wim@fluendo.com>
9578
9579         * gst/gstsegment.c: (gst_segment_init),
9580         (gst_segment_set_last_stop), (gst_segment_set_seek),
9581         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
9582         (gst_segment_to_running_time):
9583         Added more documentation.
9584         Make sure the last_pos value is updated properly.
9585         Make sure to_stream_time and to_running_time don't
9586         operate on wrong values.
9587
9588         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9589         Update check.
9590
9591 2005-12-12  Michael Smith  <msmith@fluendo.com>
9592
9593         * plugins/elements/gsttypefindelement.c: (free_entry),
9594         (gst_type_find_element_chain):
9595           Now that we're not leaking factories, make sure we keep references
9596           to them while we need them.
9597
9598 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9599
9600         * tests/check/gst/struct_i386.h:
9601           ifdef out the XML structs
9602
9603 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9604
9605         * gst/gstvalue.c: (gst_value_transform_double_fraction):
9606           floor is not needed, F is always positive; this obviates the
9607           need for adding -lm when building without libxml
9608
9609 2005-12-12  Wim Taymans  <wim@fluendo.com>
9610
9611         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9612         Take current playback rate into account when reporting
9613         the position.
9614
9615 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9616
9617         * docs/manual/mime-world.fig:
9618           Let's try this again, this time with a file that is
9619           actually in XFig format.
9620
9621 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9622
9623         * docs/manual/mime-world.fig:
9624           Add audioconvert element to diagram so that it
9625           matches the text and the code (fixes #319526).
9626
9627 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9628
9629         * docs/pwg/building-chainfn.xml:
9630         * docs/pwg/building-pads.xml:
9631         * docs/pwg/building-state.xml:
9632         * docs/pwg/other-source.xml:
9633           Update state change stuff for 0.10 (fixes #322969).
9634
9635 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9636
9637         * docs/manual/advanced-dataaccess.xml:
9638         * docs/manual/appendix-checklist.xml:
9639         * docs/manual/appendix-programs.xml:
9640         * docs/manual/basics-pads.xml:
9641         * docs/manual/highlevel-components.xml:
9642         * docs/manual/manual.xml:
9643           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
9644           add converters in front of pipelines; remove curly
9645           brackets for threads stuff, they no longer exist; use
9646           GST_TYPE_FRACTION for framerates; update some pieces of
9647           code to 0.10, but there's plenty more to do.
9648
9649         * docs/manual/appendix-porting.xml:
9650           Expand on asynchroneous state changes; s/0.9/0.10/;
9651           mention disappearance of gst_init_get_popt_table()
9652           (fixes #322916).
9653
9654 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9655
9656         * docs/faq/using.xml:
9657           Spider no longer exists, and neither does gst-launch-ext.
9658           Update examples to use decodebin and playbin and put
9659           converters in front of sinks (fixes #323726).
9660
9661 2005-12-09  Michael Smith  <msmith@fluendo.com>
9662
9663         * plugins/elements/gsttypefindelement.c: (find_peek),
9664         (gst_type_find_element_chain):
9665           Fix leaking element factories in typefinding.
9666           Fix problem where we forgot about a probable type on non-seekable
9667           files, and thus later mis-typefound it.
9668
9669 2005-12-09  Michael Smith  <msmith@fluendo.com>
9670
9671         * common/m4/gst-makecontext.m4:
9672         * common/m4/gst-mcsc.m4:
9673         * configure.ac:
9674         * win32/common/config.h:
9675         * win32/common/config.h.in:
9676           Remove makecontext stuff; not used in 0.10 and causes problems on
9677           HPUX according to bug #322441
9678
9679 2005-12-07  Wim Taymans  <wim@fluendo.com>
9680
9681         * tests/check/Makefile.am:
9682         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
9683         (main):
9684         * tests/check/libs/struct_i386.h:
9685         Added ABI check for libs
9686
9687 2005-12-07  Wim Taymans  <wim@fluendo.com>
9688
9689         * tests/check/Makefile.am:
9690         And add the struct_i386.h to dist.
9691
9692 2005-12-07  Wim Taymans  <wim@fluendo.com>
9693
9694         * tests/check/Makefile.am:
9695         * tests/check/gst/.cvsignore:
9696         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
9697         (main):
9698         * tests/check/gst/struct_i386.h:
9699         Added check for ABI compatibility.
9700
9701 2005-12-07  Wim Taymans  <wim@fluendo.com>
9702
9703         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9704         (gst_fake_src_get_times), (gst_fake_src_create):
9705         Fix broken sync option, fixes #323259
9706
9707 2005-12-07  Wim Taymans  <wim@fluendo.com>
9708
9709         * gst/gstbuffer.c:
9710         Small docs update.
9711
9712         * gst/gstcaps.c: (gst_caps_is_equal):
9713         Don't assert on NULL <--> X. Fixes #323260
9714
9715         * gst/gstminiobject.c: (gst_mini_object_replace):
9716         If we're doing atomic operations, we might just as well use
9717         the proper way to get an atomic pointer.
9718
9719         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9720         Clean up debugging.
9721
9722 2005-12-07  Michael Smith  <msmith@fluendo.com>
9723
9724         * gst/parse/grammar.y:
9725           Remove handling of { } for threads.
9726
9727 2005-12-06  David Schleef  <ds@schleef.org>
9728
9729         * libs/gst/base/gstbasetransform.c: speling fix.
9730
9731 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9732
9733         * docs/libs/tmpl/gstdataprotocol.sgml:
9734         * docs/random/omega/testing/gstobject.c:
9735         * gst/gst.c:
9736         * gst/gstclock.c:
9737         * gst/gstelement.c:
9738         * gst/gstelementfactory.c:
9739         * gst/gsterror.c:
9740         * gst/gstevent.c:
9741         * gst/gstghostpad.c:
9742         * gst/gstinfo.c:
9743         * gst/gstpadtemplate.c:
9744         * gst/gstregistryxml.c:
9745         * gst/gsttaglist.c:
9746         * gst/gsttagsetter.c:
9747         * gst/gsttypefind.c:
9748         * gst/gstvalue.c:
9749         * libs/gst/base/gstbasesrc.c:
9750         * libs/gst/net/gstnetclientclock.c:
9751         * libs/gst/net/gstnettimeprovider.c:
9752         * plugins/elements/gstfakesrc.c:
9753         * plugins/elements/gstfdsrc.c:
9754         * plugins/elements/gstfilesrc.c:
9755         * plugins/elements/gstidentity.c:
9756         * plugins/elements/gstqueue.c:
9757         * plugins/elements/gsttypefindelement.c:
9758         * plugins/indexers/gstfileindex.c:
9759         * plugins/indexers/gstmemindex.c:
9760         * tests/check/gst/gsttag.c:
9761         * tests/old/examples/cutter/cutter.c:
9762         * tests/old/examples/mixer/mixer.c:
9763         * tests/old/examples/xml/runxml.c: (main):
9764         * tests/old/testsuite/caps/normalisation.c:
9765         * tests/old/testsuite/debug/global.c:
9766         * tests/old/testsuite/parse/parse1.c:
9767         * tools/gst-xmlinspect.c:
9768         * win32/common/dirent.c:
9769           expand tabs
9770
9771 === release 0.10.0 ===
9772
9773 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9774
9775         * configure.ac:
9776           releasing 0.10.0, "Maroilles"
9777
9778 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9779
9780         submitted by: Funda Wang <fundawang@linux.net.cn>
9781
9782         * po/LINGUAS:
9783         * po/zh_CN.po:
9784           added Chinese (Traditional) translation
9785
9786 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9787
9788         * docs/gst/gstreamer-sections.txt:
9789         * docs/libs/tmpl/gstdataprotocol.sgml:
9790         * docs/random/thomasvs/TODO:
9791         * gst/gstutils.c:
9792         * gst/gstutils.h:
9793           fix docs
9794
9795 2005-12-05  Andy Wingo  <wingo@pobox.com>
9796
9797         patch by: Wim Taymans <wim@fluendo.com>
9798
9799         * libs/gst/base/gstbasetransform.c
9800         (gst_base_transform_prepare_output_buf)
9801         (gst_base_transform_buffer_alloc):
9802         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
9803         alloc_buffer_and_set_caps.
9804
9805         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
9806         set_caps on the source pad.
9807         (gst_pad_alloc_buffer_and_set_caps): New function, does what
9808         alloc_buffer used to do. Fixes #322874.
9809
9810         * docs/gst/gstreamer-sections.txt: 
9811         * docs/design/part-negotiation.txt: 
9812         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
9813         changes.
9814
9815 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9816
9817         patch by: Sebastien Moutte
9818
9819         * win32/MANIFEST:
9820         * win32/common/config.h.in:
9821         * win32/vs6/libgstcontroller.dsp:
9822           win32 build fixes
9823
9824 2005-12-05  Wim Taymans  <wim@fluendo.com>
9825
9826         * gst/gstcaps.c: (gst_caps_is_equal):
9827         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9828         (gst_fake_src_create):
9829         Back out previous code changes, leave doc updates, file bugs 
9830         instead. 
9831
9832 2005-12-05  Wim Taymans  <wim@fluendo.com>
9833
9834         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9835         (gst_fake_src_get_times), (gst_fake_src_create):
9836         * plugins/elements/gstfakesrc.h:
9837         Fix broken sync code.
9838
9839 2005-12-05  Wim Taymans  <wim@fluendo.com>
9840
9841         * gst/gstcaps.c: (gst_caps_is_equal):
9842         Comparing NULL against !NULL yields different caps, not a
9843         failure.
9844
9845 2005-12-05  Wim Taymans  <wim@fluendo.com>
9846
9847         * gst/gstpipeline.c:
9848         Fix small typo in docs.
9849
9850 2005-12-05  Andy Wingo  <wingo@pobox.com>
9851
9852         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
9853
9854         * gst/gst.c (init_post): remove hard-coded 0.9 location for
9855         registries/plugins with a MAJORMINOR one.
9856         (plugin_desc): Rename library from gstcoreleements to
9857         staticelements. Fixes #323222.
9858
9859 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
9860
9861         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
9862           Change debug category to 'collectpads' from 'collect_pads'
9863           (fixes #323250).
9864
9865 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9866
9867         patch by: Sebastien Moutte
9868
9869         * libs/gst/controller/gstinterpolation.c:
9870           use convert function for uint64/double
9871         * win32/vs6/libgstcontroller.dsp:
9872           link to GLib
9873
9874 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9875
9876         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
9877         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
9878         * gst/gstutils.h:
9879         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9880           add tests that seem to show that the guint64/gdouble conversions
9881           are correct.
9882
9883 2005-12-02  Wim Taymans  <wim@fluendo.com>
9884
9885         * gst/gstregistry.c: (gst_registry_add_path):
9886         * gst/gstregistry.h:
9887         * gst/gstregistryxml.c:
9888         Fix docs again.
9889
9890 2005-12-02  Wim Taymans  <wim@fluendo.com>
9891
9892         * gst/gstutils.c: (gst_util_uint64_scale_int64),
9893         (gst_util_uint64_scale_int):
9894         Small cleanup.
9895
9896         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9897         Add debug log line.
9898
9899         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
9900         Add FIXME.
9901
9902 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9903
9904         * win32/MANIFEST:
9905         * win32/common/config.h:
9906         * win32/vs6/gstreamer.dsw:
9907         * win32/vs6/libgstcoreelements.dsp:
9908         * win32/vs6/libgstelements.dsp:
9909           renamed core elements plugin
9910
9911 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9912
9913         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
9914         (get_candidates):
9915           do piece-wise major/minor comparison so 0.9 < 0.10
9916           also allow .exe extensions for tools
9917
9918 2005-12-02  Michael Smith  <msmith@fluendo.com>
9919
9920         * gst/gst.c:
9921           Escape a % to make gtkdoc happier; bug 322958.
9922
9923 === release 0.9.7 ===
9924
9925 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9926
9927         * configure.ac:
9928           releasing 0.9.7, "My Dog Has No Nose"
9929
9930 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9931
9932         * common/gst-xmlinspect.py:
9933         * configure.ac:
9934         * docs/libs/tmpl/gstdataprotocol.sgml:
9935         * docs/random/release:
9936         * po/af.po:
9937         * po/az.po:
9938         * po/bg.po:
9939         * po/ca.po:
9940         * po/cs.po:
9941         * po/de.po:
9942         * po/en_GB.po:
9943         * po/fr.po:
9944         * po/it.po:
9945         * po/nb.po:
9946         * po/nl.po:
9947         * po/ru.po:
9948         * po/sq.po:
9949         * po/sr.po:
9950         * po/sv.po:
9951         * po/tr.po:
9952         * po/uk.po:
9953         * po/vi.po:
9954         * win32/common/config.h:
9955         * win32/common/config.h.in:
9956         * win32/vs6/gst_inspect.dsp:
9957         * win32/vs6/gst_launch.dsp:
9958         * win32/vs6/libgstbase.dsp:
9959         * win32/vs6/libgstelements.dsp:
9960         * win32/vs6/libgstreamer.dsp:
9961         * win32/vs7/GStreamer.vcproj:
9962         * win32/vs7/gst-inspect.vcproj:
9963         * win32/vs7/gst-launch.vcproj:
9964         * win32/vs7/libgstbase.vcproj:
9965           bump GST_MAJORMINOR to 0.10
9966           reset libtool version
9967
9968 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9969
9970         * po/LINGUAS:
9971         * po/bg.po:
9972           Added Bulgarian translation by (Alexander Shopov)
9973
9974 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9975
9976         * tests/check/gst/gstplugin.c:
9977           fix test
9978
9979 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9980
9981         * common/gst-xmlinspect.py:
9982         * common/gtk-doc-plugins.mak:
9983         * configure.ac:
9984         * docs/Makefile.am:
9985         * docs/gst/Makefile.am:
9986         * docs/gst/gstreamer-docs.sgml:
9987         * docs/gst/gstreamer-sections.txt:
9988         * docs/gst/gstreamer.types:
9989         * docs/gst/gstreamer.types.in:
9990         * docs/plugins/Makefile.am:
9991         * docs/plugins/gstreamer-plugins-docs.sgml:
9992         * docs/plugins/gstreamer-plugins-sections.txt:
9993         * docs/plugins/gstreamer-plugins.types:
9994         * docs/plugins/inspect.stamp:
9995         * docs/plugins/inspect/plugin-coreelements.xml:
9996         * docs/plugins/inspect/plugin-coreindexers.xml:
9997         * docs/plugins/scanobj-build.stamp:
9998         * gstreamer.spec.in:
9999         * plugins/elements/Makefile.am:
10000         * plugins/elements/gstelements.c:
10001         * plugins/elements/gstfakesink.c:
10002         * plugins/elements/gstfakesrc.c:
10003         * plugins/elements/gstfilesink.c:
10004         * plugins/elements/gstfilesrc.c:
10005         * plugins/elements/gstqueue.c:
10006         * plugins/indexers/Makefile.am:
10007         * plugins/indexers/gstindexers.c:
10008           document core plugins in a separate document just like all the
10009           others
10010           rename these plugins to something starting with core
10011
10012 2005-12-01  Andy Wingo  <wingo@pobox.com>
10013
10014         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
10015         padding here before, but it missed the commit.
10016
10017 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10018
10019         * libs/gst/controller/gstinterpolation.c:
10020           whitespace prices have crashed, we should feel free to use some now
10021           use gst_guint64_to_gdouble
10022
10023 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10024
10025         * libs/gst/controller/gstcontroller.c:
10026         * libs/gst/controller/gsthelper.c:
10027         * libs/gst/controller/gstinterpolation.c:
10028         * libs/gst/controller/lib.c:
10029           wrap config.h include
10030
10031 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10032
10033         * docs/gst/gstreamer-sections.txt:
10034           update docs
10035
10036 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10037
10038         * plugins/elements/gstelements.c:
10039         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
10040         (gst_fd_sink__class_init), (gst_fd_sink__init),
10041         (gst_fd_sink__chain), (gst_fd_sink__set_property),
10042         (gst_fd_sink__get_property):
10043         * plugins/elements/gstfdsink.h:
10044         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
10045         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
10046         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
10047         (gst_fd_src_unlock), (gst_fd_src_set_property),
10048         (gst_fd_src_get_property), (gst_fd_src_create),
10049         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
10050         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
10051         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
10052         (gst_fd_src_uri_handler_init):
10053         * plugins/elements/gstfdsrc.h:
10054         * plugins/elements/gstqueue.c: (gst_queue_get_type):
10055           more anal cleanup
10056
10057 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10058
10059         * docs/gst/Makefile.am:
10060         * docs/gst/gstreamer.types.in:
10061         * gst/Makefile.am:
10062           fix the docs build
10063
10064 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10065
10066         * configure.ac:
10067         * gst/Makefile.am:
10068         * gst/gst.c:
10069         * gst/gstplugin.h:
10070         * gst/gstregistry.h:
10071         * tests/benchmarks/complexity.c:
10072         * tests/benchmarks/mass-elements.c:
10073         * tests/check/Makefile.am:
10074         * tools/Makefile.am:
10075         * tools/gst-inspect.c:
10076         * tools/gst-xmlinspect.c:
10077           various fixes to make
10078           --disable-nls --disable-registry --disable-loadsave
10079           --disable-parse --disable-gst-debug
10080           work and get the core .so down to 360444 bytes after stripping
10081
10082 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10083
10084         * Makefile.am:
10085         * configure.ac:
10086           descend into tests
10087         * docs/random/thomasvs/TODO:
10088         * tests/Makefile.am:
10089         * tests/README:
10090           add a README
10091
10092 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10093
10094         * win32/GStreamer.vcproj:
10095         * win32/MANIFEST:
10096         * win32/Makefile:
10097         * win32/Makefile.inspect:
10098         * win32/Makefile.launch:
10099         * win32/Makefile.register:
10100         * win32/README.txt:
10101         * win32/gst-inspect.vcproj:
10102         * win32/gst-launch.vcproj:
10103         * win32/gst-register.vcproj:
10104         * win32/gstelements.vcproj:
10105         * win32/gstgetbits.def:
10106         * win32/gstgetbits.vcproj:
10107         * win32/gstreamer-dbg.def:
10108         * win32/gstreamer.def:
10109         * win32/libgstbase.def:
10110         * win32/libgstbase.vcproj:
10111         * win32/link_oldruntime.c:
10112         * win32/mman.c:
10113         * win32/mman.h:
10114         * win32/mman.inl:
10115         * win32/msvc71.sln:
10116           move even more stuff, win32/ is nice and clean now
10117
10118 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10119
10120         * libs/gst/control/.cvsignore:
10121         * win32/MANIFEST:
10122         * win32/config.h:
10123         * win32/dirent.c:
10124         * win32/dirent.h:
10125         * win32/gstbytestream.def:
10126         * win32/gstbytestream.vcproj:
10127         * win32/gstconfig.h:
10128         * win32/gstenumtypes.c:
10129         * win32/gstenumtypes.h:
10130         * win32/gstoptimalscheduler.vcproj:
10131         * win32/gstversion.h:
10132         * win32/gtchar.h:
10133         * win32/testsuite/bins.vcproj:
10134         * win32/testsuite/bytestream.vcproj:
10135         * win32/testsuite/caps.vcproj:
10136         * win32/testsuite/cleanup.vcproj:
10137         * win32/testsuite/clock.vcproj:
10138         * win32/testsuite/debug.vcproj:
10139         * win32/testsuite/dlopen.vcproj:
10140         * win32/testsuite/dynparams.vcproj:
10141         * win32/testsuite/elements.vcproj:
10142         * win32/testsuite/ghostpads.vcproj:
10143         * win32/testsuite/indexers.vcproj:
10144         * win32/testsuite/negotiation.vcproj:
10145         * win32/testsuite/parse.vcproj:
10146         * win32/testsuite/plugin.vcproj:
10147         * win32/testsuite/refcounting.vcproj:
10148         * win32/testsuite/schedulers.vcproj:
10149         * win32/testsuite/states.vcproj:
10150         * win32/testsuite/tags.vcproj:
10151         * win32/testsuite/threads.vcproj:
10152           remove old win32 stuff that isn't maintained and should be
10153           reorganized
10154
10155 2005-11-30  Andy Wingo  <wingo@pobox.com>
10156
10157         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
10158         loading the gst.interfaces python module bork.
10159
10160         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
10161         available since GLib 2.2. Fixes #318031.
10162
10163 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10164
10165         * Makefile.am:
10166         * check/.cvsignore:
10167         * check/Makefile.am:
10168         * check/elements/.cvsignore:
10169         * check/elements/fakesrc.c:
10170         * check/elements/fdsrc.c:
10171         * check/elements/identity.c:
10172         * check/generic/.cvsignore:
10173         * check/generic/states.c:
10174         * check/gst-libs/.cvsignore:
10175         * check/gst-libs/controller.c:
10176         * check/gst-libs/gdp.c:
10177         * check/gst/.cvsignore:
10178         * check/gst/capslist.h:
10179         * check/gst/gst.c:
10180         * check/gst/gstbin.c:
10181         * check/gst/gstbuffer.c:
10182         * check/gst/gstbus.c:
10183         * check/gst/gstcaps.c:
10184         * check/gst/gstelement.c:
10185         * check/gst/gstevent.c:
10186         * check/gst/gstghostpad.c:
10187         * check/gst/gstiterator.c:
10188         * check/gst/gstmessage.c:
10189         * check/gst/gstminiobject.c:
10190         * check/gst/gstobject.c:
10191         * check/gst/gstpad.c:
10192         * check/gst/gstpipeline.c:
10193         * check/gst/gstplugin.c:
10194         * check/gst/gstsegment.c:
10195         * check/gst/gststructure.c:
10196         * check/gst/gstsystemclock.c:
10197         * check/gst/gsttag.c:
10198         * check/gst/gstutils.c:
10199         * check/gst/gstvalue.c:
10200         * check/net/.cvsignore:
10201         * check/net/gstnetclientclock.c:
10202         * check/net/gstnettimeprovider.c:
10203         * check/pipelines/.cvsignore:
10204         * check/pipelines/cleanup.c:
10205         * check/pipelines/simple_launch_lines.c:
10206         * check/pipelines/stress.c:
10207         * check/states/.cvsignore:
10208         * check/states/sinks.c:
10209         * configure.ac:
10210         * examples/Makefile.am:
10211         * examples/appreader/.cvsignore:
10212         * examples/appreader/Makefile.am:
10213         * examples/appreader/appreader.c:
10214         * examples/controller/.cvsignore:
10215         * examples/controller/Makefile.am:
10216         * examples/controller/audio-example.c:
10217         * examples/cutter/.cvsignore:
10218         * examples/cutter/Makefile.am:
10219         * examples/cutter/cutter.c:
10220         * examples/cutter/cutter.h:
10221         * examples/events/Makefile.am:
10222         * examples/events/seek.c:
10223         * examples/helloworld/.cvsignore:
10224         * examples/helloworld/Makefile.am:
10225         * examples/helloworld/helloworld.c:
10226         * examples/helloworld2/.cvsignore:
10227         * examples/helloworld2/Makefile.am:
10228         * examples/helloworld2/helloworld2.c:
10229         * examples/launch/.cvsignore:
10230         * examples/launch/Makefile.am:
10231         * examples/launch/mp3parselaunch.c:
10232         * examples/launch/mp3play:
10233         * examples/manual/.cvsignore:
10234         * examples/manual/Makefile.am:
10235         * examples/manual/extract.pl:
10236         * examples/metadata/Makefile.am:
10237         * examples/metadata/read-metadata.c:
10238         * examples/mixer/.cvsignore:
10239         * examples/mixer/Makefile.am:
10240         * examples/mixer/mixer.c:
10241         * examples/mixer/mixer.h:
10242         * examples/pingpong/.cvsignore:
10243         * examples/pingpong/Makefile.am:
10244         * examples/pingpong/pingpong.c:
10245         * examples/plugins/.cvsignore:
10246         * examples/plugins/Makefile.am:
10247         * examples/plugins/example.c:
10248         * examples/plugins/example.h:
10249         * examples/pwg/.cvsignore:
10250         * examples/pwg/Makefile.am:
10251         * examples/pwg/extract.pl:
10252         * examples/queue/.cvsignore:
10253         * examples/queue/Makefile.am:
10254         * examples/queue/queue.c:
10255         * examples/queue2/.cvsignore:
10256         * examples/queue2/Makefile.am:
10257         * examples/queue2/queue2.c:
10258         * examples/queue3/.cvsignore:
10259         * examples/queue3/Makefile.am:
10260         * examples/queue3/queue3.c:
10261         * examples/queue4/.cvsignore:
10262         * examples/queue4/Makefile.am:
10263         * examples/queue4/queue4.c:
10264         * examples/retag/.cvsignore:
10265         * examples/retag/Makefile.am:
10266         * examples/retag/retag.c:
10267         * examples/retag/transcode.c:
10268         * examples/thread/.cvsignore:
10269         * examples/thread/Makefile.am:
10270         * examples/thread/thread.c:
10271         * examples/typefind/.cvsignore:
10272         * examples/typefind/Makefile.am:
10273         * examples/typefind/typefind.c:
10274         * examples/xml/.cvsignore:
10275         * examples/xml/Makefile.am:
10276         * examples/xml/createxml.c:
10277         * examples/xml/runxml.c:
10278         * tests/Makefile.am:
10279         * tests/check/Makefile.am:
10280         * testsuite/.cvsignore:
10281         * testsuite/Makefile.am:
10282         * testsuite/Rules:
10283         * testsuite/caps/.cvsignore:
10284         * testsuite/caps/Makefile.am:
10285         * testsuite/caps/app_fixate.c:
10286         * testsuite/caps/audioscale.c:
10287         * testsuite/caps/caps.c:
10288         * testsuite/caps/caps.h:
10289         * testsuite/caps/caps_strings:
10290         * testsuite/caps/compatibility.c:
10291         * testsuite/caps/deserialize.c:
10292         * testsuite/caps/enumcaps.c:
10293         * testsuite/caps/eratosthenes.c:
10294         * testsuite/caps/filtercaps.c:
10295         * testsuite/caps/fixed.c:
10296         * testsuite/caps/fraction-convert.c:
10297         * testsuite/caps/fraction-multiply-and-zero.c:
10298         * testsuite/caps/intersect2.c:
10299         * testsuite/caps/intersection.c:
10300         * testsuite/caps/normalisation.c:
10301         * testsuite/caps/random.c:
10302         * testsuite/caps/renegotiate.c:
10303         * testsuite/caps/sets.c:
10304         * testsuite/caps/simplify.c:
10305         * testsuite/caps/string-conversions.c:
10306         * testsuite/caps/structure.c:
10307         * testsuite/caps/subtract.c:
10308         * testsuite/caps/union.c:
10309         * testsuite/debug/.cvsignore:
10310         * testsuite/debug/Makefile.am:
10311         * testsuite/debug/category.c:
10312         * testsuite/debug/commandline.c:
10313         * testsuite/debug/global.c:
10314         * testsuite/debug/output.c:
10315         * testsuite/debug/printf_extension.c:
10316         * testsuite/dlopen/.cvsignore:
10317         * testsuite/dlopen/Makefile.am:
10318         * testsuite/dlopen/dlopen_gst.c:
10319         * testsuite/dlopen/loadgst.c:
10320         * testsuite/elements/.cvsignore:
10321         * testsuite/elements/Makefile.am:
10322         * testsuite/elements/gst-inspect-check.in:
10323         * testsuite/elements/struct_i386.h:
10324         * testsuite/elements/struct_size.c:
10325         * testsuite/indexers/.cvsignore:
10326         * testsuite/indexers/Makefile.am:
10327         * testsuite/indexers/cache1.c:
10328         * testsuite/indexers/indexdump.c:
10329         * testsuite/parse/.cvsignore:
10330         * testsuite/parse/Makefile.am:
10331         * testsuite/parse/parse1.c:
10332         * testsuite/parse/parse2.c:
10333         * testsuite/plugin/.cvsignore:
10334         * testsuite/plugin/Makefile.am:
10335         * testsuite/plugin/README:
10336         * testsuite/plugin/dynamic.c:
10337         * testsuite/plugin/linked.c:
10338         * testsuite/plugin/loading.c:
10339         * testsuite/plugin/registry.c:
10340         * testsuite/plugin/static.c:
10341         * testsuite/plugin/static2.c:
10342         * testsuite/plugin/testplugin.c:
10343         * testsuite/plugin/testplugin2.c:
10344         * testsuite/plugin/testplugin2_s.c:
10345         * testsuite/plugin/testplugin_s.c:
10346         * testsuite/refcounting/.cvsignore:
10347         * testsuite/refcounting/Makefile.am:
10348         * testsuite/refcounting/bin.c:
10349         * testsuite/refcounting/element.c:
10350         * testsuite/refcounting/element_pad.c:
10351         * testsuite/refcounting/mainloop.c:
10352         * testsuite/refcounting/mem.c:
10353         * testsuite/refcounting/mem.h:
10354         * testsuite/refcounting/object.c:
10355         * testsuite/refcounting/pad.c:
10356         * testsuite/refcounting/sched.c:
10357         * testsuite/refcounting/thread.c:
10358         * testsuite/states/.cvsignore:
10359         * testsuite/states/Makefile.am:
10360         * testsuite/states/bin.c:
10361         * testsuite/states/locked.c:
10362         * testsuite/states/parent.c:
10363         * testsuite/threads/.cvsignore:
10364         * testsuite/threads/159566.c:
10365         * testsuite/threads/159852.c:
10366         * testsuite/threads/Makefile.am:
10367         * testsuite/threads/queue.c:
10368         * testsuite/threads/signals.c:
10369         * testsuite/threads/staticrec.c:
10370         * testsuite/threads/thread.c:
10371         * testsuite/threads/threadb.c:
10372         * testsuite/threads/threadc.c:
10373         * testsuite/threads/threadd.c:
10374         * testsuite/threads/threade.c:
10375         * testsuite/threads/threadf.c:
10376         * testsuite/threads/threadg.c:
10377         * testsuite/threads/threadh.c:
10378         * testsuite/threads/threadi.c:
10379           move all of these under tests
10380
10381 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10382
10383         * configure.ac:
10384         * tests/Makefile.am:
10385           fix distcheck
10386
10387 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10388
10389         * docs/gst/gstreamer-sections.txt:
10390         * tests/sched/.cvsignore:
10391         * tests/sched/Makefile.am:
10392         * tests/sched/cases/(fs-fs).xml:
10393         * tests/sched/cases/(fs-i-fs).xml:
10394         * tests/sched/cases/(fs-i-i-fs).xml:
10395         * tests/sched/cases/(fs-i-q[i-fs]).xml:
10396         * tests/sched/dynamic-pipeline.c:
10397         * tests/sched/interrupt1.c:
10398         * tests/sched/interrupt2.c:
10399         * tests/sched/interrupt3.c:
10400         * tests/sched/runtestcases:
10401         * tests/sched/runxml.c:
10402         * tests/sched/sched-stress.c:
10403         * tests/sched/sort.c:
10404         * tests/sched/testcases:
10405         * tests/sched/testcases1.tc:
10406         * tests/seeking/.cvsignore:
10407         * tests/seeking/Makefile.am:
10408         * tests/seeking/seeking1.c:
10409         * tests/threadstate/.cvsignore:
10410         * tests/threadstate/Makefile.am:
10411         * tests/threadstate/test1.c:
10412         * tests/threadstate/test2.c:
10413         * tests/threadstate/threadstate1.c:
10414         * tests/threadstate/threadstate2.c:
10415         * tests/threadstate/threadstate3.c:
10416         * tests/threadstate/threadstate4.c:
10417         * tests/threadstate/threadstate5.c:
10418           remove obsolete tests
10419         * configure.ac:
10420         * tests/bench-complexity.scm:
10421         * tests/bench-mass_elements.scm:
10422         * tests/complexity.c:
10423         * tests/complexity.gnuplot:
10424         * tests/instantiate/.cvsignore:
10425         * tests/instantiate/Makefile.am:
10426         * tests/instantiate/caps.c:
10427         * tests/mass_elements.c:
10428         * tests/network-clock-utils.scm:
10429         * tests/network-clock.scm:
10430         * tests/plot-data:
10431         First pass at cleaning up tests/ dir before moving the rest
10432         Combined with CVS surgery
10433
10434 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10435
10436         * po/POTFILES.in:
10437           queue has moved, update
10438
10439 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10440
10441         * docs/gst/gstreamer-sections.txt:
10442           remove double entries from the docs
10443         * gst/gst_private.h:
10444         * gst/gstinfo.c: (_gst_debug_init):
10445           remove the THREAD debug category
10446         * gst/Makefile.am:
10447         * gst/gstqueue.c:
10448         * gst/gstqueue.h:
10449         * docs/gst/gstreamer.types:
10450         * plugins/elements/gstqueue.c: (gst_queue_get_type),
10451         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
10452           completely move queue and fix up debugging categories
10453
10454 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10455
10456         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10457           make initialization portable, using LL is not
10458
10459 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10460
10461         * win32/common/gstconfig.h:
10462           add large padding
10463
10464 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10465
10466         * win32/common/libgstreamer.def:
10467           rename symbols; sort base section
10468
10469 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10470
10471         * gst/gstclock.c: (do_linear_regression):
10472           remove crack non-portable handrolled DEBUG macro
10473
10474 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10475
10476         * docs/random/release:
10477           update notes
10478         * win32/common/gstenumtypes.c: (register_gst_object_flags),
10479         (gst_object_flags_get_type), (register_gst_bin_flags),
10480         (gst_bin_flags_get_type), (register_gst_buffer_flag),
10481         (gst_buffer_flag_get_type), (register_gst_bus_flags),
10482         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10483         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
10484         (gst_caps_flags_get_type), (register_gst_clock_return),
10485         (gst_clock_return_get_type), (register_gst_clock_entry_type),
10486         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10487         (gst_clock_flags_get_type), (register_gst_state),
10488         (gst_state_get_type), (register_gst_state_change_return),
10489         (gst_state_change_return_get_type), (register_gst_state_change),
10490         (gst_state_change_get_type), (register_gst_element_flags),
10491         (gst_element_flags_get_type), (register_gst_core_error),
10492         (gst_core_error_get_type), (register_gst_library_error),
10493         (gst_library_error_get_type), (register_gst_resource_error),
10494         (gst_resource_error_get_type), (register_gst_stream_error),
10495         (gst_stream_error_get_type), (register_gst_event_type_flags),
10496         (gst_event_type_flags_get_type), (register_gst_event_type),
10497         (gst_event_type_get_type), (register_gst_seek_type),
10498         (gst_seek_type_get_type), (register_gst_seek_flags),
10499         (gst_seek_flags_get_type), (register_gst_format),
10500         (gst_format_get_type), (register_gst_index_certainty),
10501         (gst_index_certainty_get_type), (register_gst_index_entry_type),
10502         (gst_index_entry_type_get_type),
10503         (register_gst_index_lookup_method),
10504         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10505         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10506         (gst_index_resolver_method_get_type), (register_gst_index_flags),
10507         (gst_index_flags_get_type), (register_gst_debug_level),
10508         (gst_debug_level_get_type), (register_gst_debug_color_flags),
10509         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10510         (gst_iterator_result_get_type), (register_gst_iterator_item),
10511         (gst_iterator_item_get_type), (register_gst_message_type),
10512         (gst_message_type_get_type), (register_gst_mini_object_flags),
10513         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10514         (gst_pad_link_return_get_type), (register_gst_flow_return),
10515         (gst_flow_return_get_type), (register_gst_activate_mode),
10516         (gst_activate_mode_get_type), (register_gst_pad_direction),
10517         (gst_pad_direction_get_type), (register_gst_pad_flags),
10518         (gst_pad_flags_get_type), (register_gst_pad_presence),
10519         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10520         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10521         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10522         (gst_plugin_error_get_type), (register_gst_plugin_flags),
10523         (gst_plugin_flags_get_type), (register_gst_rank),
10524         (gst_rank_get_type), (register_gst_query_type),
10525         (gst_query_type_get_type), (register_gst_tag_merge_mode),
10526         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10527         (gst_tag_flag_get_type), (register_gst_task_state),
10528         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10529         (gst_alloc_trace_flags_get_type),
10530         (register_gst_type_find_probability),
10531         (gst_type_find_probability_get_type), (register_gst_uri_type),
10532         (gst_uri_type_get_type), (register_gst_parse_error),
10533         (gst_parse_error_get_type):
10534         * win32/common/gstenumtypes.h:
10535         * win32/common/gstversion.h:
10536           update visual studio generated files
10537
10538 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10539
10540         * win32/vs6/libgstbase.dsp:
10541         * win32/vs6/libgstelements.dsp:
10542           update project files for new locations
10543
10544 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10545
10546         * Makefile.am:
10547           remove some files
10548         * README:
10549           reinstate and update
10550         * DEVEL:
10551         * REQUIREMENTS:
10552           removed
10553         * LICENSE:
10554         * docs/random/LICENSE:
10555           moved to random
10556
10557 2005-11-30  Edward Hervey  <edward@fluendo.com>
10558
10559         * gst/gsttypefind.c: (gst_type_find_register):
10560         * gst/gsttypefind.h:
10561         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
10562         (gst_type_find_factory_dispose):
10563         * gst/gsttypefindfactory.h:
10564         Fix memory leak in GstTypeFindFactory.
10565
10566 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10567
10568         * gst/gst.c:
10569         * plugins/elements/Makefile.am:
10570         * plugins/elements/gstelements.c:
10571         * plugins/elements/gstqueue.c:
10572           move queue from core to the elements plugin
10573
10574 2005-11-29  Andy Wingo  <wingo@pobox.com>
10575
10576         * libs/gst/base/gstbasetransform.h: 
10577         * libs/gst/base/gstbasesrc.h: 
10578         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
10579
10580         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
10581         of pointers by which to pad very extensible base classes (like the
10582         ones in libs/gst/base).
10583
10584 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10585
10586         * docs/gst/gstreamer-docs.sgml:
10587         * docs/gst/gstreamer-sections.txt:
10588         * docs/libs/gstreamer-libs-docs.sgml:
10589         * docs/libs/gstreamer-libs-sections.txt:
10590           moving documentation from core to lib
10591
10592 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10593
10594         * check/Makefile.am:
10595         * configure.ac:
10596         * docs/gst/Makefile.am:
10597         * gst/Makefile.am:
10598         * gst/base/.cvsignore:
10599         * gst/base/Makefile.am:
10600         * gst/base/README:
10601         * gst/base/gstadapter.c:
10602         * gst/base/gstadapter.h:
10603         * gst/base/gstbasesink.c:
10604         * gst/base/gstbasesink.h:
10605         * gst/base/gstbasesrc.c:
10606         * gst/base/gstbasesrc.h:
10607         * gst/base/gstbasetransform.c:
10608         * gst/base/gstbasetransform.h:
10609         * gst/base/gstcollectpads.c:
10610         * gst/base/gstcollectpads.h:
10611         * gst/base/gstpushsrc.c:
10612         * gst/base/gstpushsrc.h:
10613         * gst/base/gsttypefindhelper.c:
10614         * gst/base/gsttypefindhelper.h:
10615         * gst/check/Makefile.am:
10616         * gst/check/gstcheck.c:
10617         * gst/check/gstcheck.h:
10618         * gst/net/Makefile.am:
10619         * gst/net/gstnet.h:
10620         * gst/net/gstnetclientclock.c:
10621         * gst/net/gstnetclientclock.h:
10622         * gst/net/gstnettimepacket.c:
10623         * gst/net/gstnettimepacket.h:
10624         * gst/net/gstnettimeprovider.c:
10625         * gst/net/gstnettimeprovider.h:
10626         * libs/gst/Makefile.am:
10627         * libs/gst/base/Makefile.am:
10628         * libs/gst/base/gstbasetransform.c:
10629         * libs/gst/check/Makefile.am:
10630         * plugins/elements/Makefile.am:
10631         * po/POTFILES.in:
10632           CVS surgery + support to move base, check, and net out of gst
10633           and into libs/gst
10634
10635 2005-11-29  Andy Wingo  <wingo@pobox.com>
10636
10637         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
10638
10639         * gst/gststructure.h (struct _GstStructure): Only one pointer of
10640         padding.
10641
10642         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
10643
10644         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
10645
10646         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
10647
10648         * gst/gstobject.h: (struct _GstObject): Only one pointer of
10649         padding; reduces object size by about 30%. We don't expect
10650         anything else to go into gstobject.
10651
10652         * gst/gstminiobject.h (struct _GstMiniObject)
10653         (struct _GstMiniObjectClass): Only one pointer of padding; the
10654         payload is only a pointer and two ints anyway. For the class there
10655         are only two methods as well.
10656         
10657         * gst/gstelement.h (struct _GstElementClass): Removed
10658         the state_changed signal callback, it is not used.
10659
10660 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10661
10662         * docs/gst/gstreamer.types:
10663           fix includes, though they are a little dinky
10664
10665 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10666
10667         * check/Makefile.am:
10668           look in the right place for elements, a lot more chance of
10669           success
10670         * gst/Makefile.am:
10671           remove indexers and elements subdirs
10672         * plugins/Makefile.am:
10673           make indexers conditional
10674
10675 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10676
10677         * Makefile.am:
10678         * configure.ac:
10679         * plugins/elements/Makefile.am:
10680         * plugins/elements/gstcapsfilter.c:
10681         * plugins/elements/gstfilesink.c:
10682         * plugins/elements/gstfilesrc.c:
10683         * plugins/elements/gstidentity.c:
10684         * plugins/indexers/Makefile.am:
10685           do CVS surgery and related build fixery to move elements
10686           and indexers in a new gstreamer/plugins directory, out of the
10687           gst/ directory
10688
10689 2005-11-29  Andy Wingo  <wingo@pobox.com>
10690
10691         * check/Makefile.am:
10692         * pkgconfig/gstreamer-net-uninstalled.pc.in:
10693         * pkgconfig/gstreamer-net.pc.in:
10694         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
10695         #322257.
10696
10697 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10698
10699         * tools/Makefile.am:
10700         * tools/gst-complete.1.in:
10701         * tools/gst-complete.c:
10702         * tools/gst-compprep.1.in:
10703         * tools/gst-compprep.c:
10704           removing -compprep and -complete
10705
10706 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10707
10708         * gst/gstevent.c: (gst_event_new_new_segment),
10709         (gst_event_parse_new_segment):
10710         * gst/gstevent.h:
10711           fix #320529 - clean up new_segment API and structure.
10712           Let's hope everyone was using the methods, and not the structure.
10713
10714 2005-11-29  Edward Hervey  <edward@fluendo.com>
10715
10716         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10717         (gst_base_sink_event), (gst_base_sink_do_sync),
10718         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
10719         Properly handle non GST_FORMAT_TIME segment
10720         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
10721         Properly handle non GST_FORMAT_TIME segment
10722         * gst/gstsegment.c:
10723         This function is valid if the accumulator is 0 and the format
10724         is different from the requested format.
10725         
10726 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
10727
10728         * docs/gst/gstreamer-sections.txt:
10729         Add gst_query_new_seeking and gst_query_parse_seeking to the
10730         docs.
10731
10732 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
10733
10734         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
10735           Treat a pad alloc with new caps the same as if we were not
10736           negotiated, in order to allow a changing upstream output
10737           to produce a new format of data.
10738
10739 2005-11-29  Edward Hervey  <edward@fluendo.com>
10740
10741         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10742         (gst_base_transform_event), (gst_base_transform_eventfunc):
10743         The event virtual method is now properly implemented, with a default
10744         handler
10745         Sub classes should call the parent_class event method. They should
10746         return FALSE if they had a problem handling the given event, or don't
10747         want GstBaseTransform to send that even downstream
10748         * gst/elements/gstidentity.c: (gst_identity_class_init),
10749         (gst_identity_init), (gst_identity_event),
10750         (gst_identity_transform_ip), (gst_identity_set_property),
10751         (gst_identity_get_property):
10752         * gst/elements/gstidentity.h:
10753         Added the single-segment boolean property.
10754         If set to TRUE, it will output a single segment of data, starting from
10755         0, will eat up all incoming newsegment, and modify the timestamp of the
10756         buffers accordingly
10757
10758 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
10759
10760         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
10761           Don't ref NULL target pad (#322751). Improve docs.
10762
10763 2005-11-29  Michael Smith  <msmith@fluendo.com>
10764
10765         * gst/gstregistryxml.c: (load_plugin):
10766           Don't crash if we failed to load a feature from a plugin. 
10767
10768 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10769
10770         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10771         (GST_START_TEST):
10772           use more check API and less GLib API
10773
10774 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10775
10776         * Makefile.am:
10777           don't run checks if we don't have check
10778         * common/check.mak:
10779           remove the registry when running make torture
10780         * docs/gst/gstreamer-sections.txt:
10781           remove second multiply
10782         * gst/gstqueue.c: (gst_queue_loop):
10783           fix a compile warning when disabling debug
10784
10785 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
10786
10787         * gst/gstinfo.h:
10788         Hey! Let's print the pad name if the pointer != NULL instead
10789         of when it == NULL :-)
10790
10791 2005-11-28  Wim Taymans  <wim@fluendo.com>
10792
10793         * check/gst/gstutils.c: (GST_START_TEST):
10794         Updated check, add some scaling accuracy checking code.
10795
10796         * gst/gstutils.c: (gst_util_div128_64),
10797         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
10798         (gst_util_uint64_scale_int):
10799         Fix 6 times faster division code. Optimize for common 
10800         1/1 and less common X/1 cases.
10801
10802 2005-11-28  Wim Taymans  <wim@fluendo.com>
10803
10804         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10805         More checks.
10806
10807         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
10808         (do_linear_regression), (gst_clock_add_observation):
10809         Cleanups.
10810         Release lock when the clock cannot be slaved.
10811         Catch the case where the regression returned an invalid denominator.
10812
10813         * gst/gstutils.c: (gst_util_div128_64_iterate),
10814         (gst_util_div128_64), (gst_util_uint64_scale_int64),
10815         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10816         Add protentially more performant non-iterative 128/64 divide function
10817         that unfortunatly does not work yet.
10818         Shortcut the trivial 0/X = 0 case.
10819         Remove the warnings on overflow.
10820
10821 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10822
10823         * gst/gstplugin.c: (gst_plugin_register_func):
10824           everything causing a plugin not to load should be at least a WARNING
10825
10826 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
10827
10828         * docs/random/ensonic/dparams.txt:
10829           some TODOs for the next dev cycle
10830         * libs/gst/controller/gstcontroller.c:
10831         (gst_controlled_property_set_interpolation_mode),
10832         (gst_controlled_property_new):
10833         * libs/gst/controller/gstcontroller.h:
10834           use base type to assign acccessor functions
10835
10836 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
10837
10838         * check/Makefile.am:
10839         Oops, that should have been top_srcdir
10840
10841 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
10842
10843         * check/Makefile.am:
10844         * check/elements/fdsrc.c: (GST_START_TEST):
10845         Use a cmdline define to specify the location of a file to use for
10846         testing, to avoid breaking distcheck.
10847
10848 2005-11-28  Andy Wingo  <wingo@pobox.com>
10849
10850         * gst/gstpad.c (fixate_value): Use array functions for arrays.
10851
10852 2005-11-28  Edward Hervey  <edward@fluendo.com>
10853
10854         * tools/gst-launch.c: (main):
10855         Clarify the output strings, makes it easier to translate.
10856         Fixes #322626
10857
10858 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10859
10860         * gst/Makefile.am:
10861           don't try and build net if we don't even have <sys/socket.h>
10862
10863 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
10864
10865         * check/Makefile.am:
10866         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
10867         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
10868           Add tests for fdsrc seekability
10869
10870         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
10871         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
10872         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
10873         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
10874         * gst/elements/gstfdsrc.h:
10875           fdsrc should not be a 'live' source.
10876           Implement seeking on seekable fd's.
10877
10878         * gst/gstquery.c: (gst_query_new_seeking),
10879         (gst_query_parse_seeking):
10880         * gst/gstquery.h:
10881           Implement SEEKING query functions: 
10882             *_new_seeking and *_parse_seeking
10883
10884 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
10885
10886         * gst/gstelement.c: (gst_element_dispose):
10887           don't loop forever
10888
10889         * gst/gstiterator.c:
10890         * gst/gststructure.c:
10891           doc fixes
10892
10893         * libs/gst/controller/gstcontroller.c:
10894         (gst_controlled_property_set_interpolation_mode):
10895         * libs/gst/controller/gstcontroller.h:
10896         * libs/gst/controller/gstinterpolation.c:
10897         (interpolate_none_get_enum_value_array):
10898           support controlling enums
10899
10900 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
10901
10902         * gst/gstvalue.c:
10903           Improve documentation for gst_value_union().
10904
10905         * gst/gstvalue.h:
10906           Change return value for union, intersect and subtract functions
10907           from gint to gboolean.
10908
10909 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
10910
10911         * gst/gstvalue.c: (gst_value_serialize_any_list),
10912         (gst_value_transform_any_list_string),
10913         (gst_value_deserialize_list), (gst_value_deserialize_array),
10914         (gst_value_set_int_range), (gst_value_deserialize_int_range),
10915         (gst_value_set_double_range), (gst_value_deserialize_double_range),
10916         (gst_value_set_fraction_range_full),
10917         (gst_value_deserialize_fraction_range),
10918         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
10919         (gst_value_deserialize_boolean),
10920         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
10921         (gst_value_serialize_float), (gst_value_deserialize_float),
10922         (gst_string_wrap), (gst_value_deserialize_string),
10923         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
10924         (gst_value_union_int_range_int_range),
10925         (gst_value_intersect_int_range_int_range),
10926         (gst_value_intersect_double_range_double_range),
10927         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
10928         (gst_value_subtract_int_range_int_range),
10929         (gst_value_subtract_double_double_range),
10930         (gst_value_subtract_double_range_double_range),
10931         (gst_value_deserialize_fraction):
10932         * gst/gstvalue.h:
10933           Use gint, gdouble and gchar in our API instead of int, double and
10934           char (and make usage in gstvalue.c more consistent).
10935
10936 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10937
10938         * check/Makefile.am:
10939         * libs/gst/controller/Makefile.am:
10940         * libs/gst/dataprotocol/Makefile.am:
10941           fix up Makefile.am and remove GST_ENABLE_NEW
10942
10943 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10944
10945         * configure.ac:
10946         * gst/Makefile.am:
10947         * gst/base/Makefile.am:
10948         * gst/check/Makefile.am:
10949         * gst/elements/Makefile.am:
10950         * gst/net/Makefile.am:
10951           update LDFLAGS use some more
10952
10953 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10954
10955         * common/m4/gst-doc.m4:
10956           Fixes #312589
10957
10958 2005-11-26  Edward Hervey  <edward@fluendo.com>
10959
10960         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10961         This shouldn't issue a g_warning since it returns NULL if it
10962         couldn't find the plugin, and all functions using this behave
10963         properly on a NULL return. Switching to a GST_WARNING.
10964
10965 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
10966
10967         * gst/gstbin.c: (gst_bin_handle_message_func):
10968         Don't leak clock messages.
10969
10970 2005-11-25  Wim Taymans  <wim@fluendo.com>
10971
10972         * gst/gstutils.c: (gst_util_uint64_scale_int64),
10973         (gst_util_uint64_scale_int):
10974         Optimisations, remove unneeded vars.
10975
10976 2005-11-25  Wim Taymans  <wim@fluendo.com>
10977
10978         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10979         Added more checks for the high precision uint64 cases.
10980
10981         * gst/gstutils.c: (gst_util_uint64_scale_int64),
10982         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10983         Implement high precision (guint64 * guint64) / guint64.
10984
10985 2005-11-24  Wim Taymans  <wim@fluendo.com>
10986
10987         * gst/base/gstbasesrc.c: (gst_base_src_query):
10988         Fix wrong percentage query.
10989
10990         * gst/gstutils.c: (gst_util_uint64_scale),
10991         (gst_util_uint64_scale_int):
10992         Add some more common cases that can be handled 
10993         efficiently to _scale.
10994
10995 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10996
10997         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
10998         (gst_mini_object_suite):
10999           don't use check calls from threads; check probably isn't
11000           threadsafe and using a lock to make it threadsafe would
11001           defeat the purpose of this check
11002         * gst/check/gstcheck.c:
11003         * gst/check/gstcheck.h:
11004           use GST_DEBUG some more
11005
11006 2005-11-24  Wim Taymans  <wim@fluendo.com>
11007
11008         * gst/gstutils.c: (gst_util_uint64_scale),
11009         (gst_util_uint64_scale_int):
11010         Chain trivial case to _scale_int.
11011
11012 2005-11-24  Wim Taymans  <wim@fluendo.com>
11013
11014         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11015         Added test for scaling.
11016
11017         * gst/gstclock.h:
11018         Small doc fix.
11019
11020         * gst/gstutils.c: (gst_util_uint64_scale_int):
11021         Implemented high precision scaling code.
11022
11023 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
11024
11025         * gst/gstinfo.h:
11026           do not crash on pad==NULL
11027
11028 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11029
11030         Patch by: Stefan Kost
11031
11032         * common/gtk-doc.mak:
11033         * docs/gst/Makefile.am:
11034         * docs/libs/Makefile.am:
11035           Fix distcheck issues for the libraries docs build
11036           Closes #319599.
11037
11038 2005-11-24  Michael Smith <msmith@fluendo.com>
11039
11040         * docs/manual/basics-helloworld.xml:
11041           Fix bug #315027: memory leak in example code in docs.
11042
11043 2005-11-24  Michael Smith <msmith@fluendo.com>
11044
11045         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11046           Unlock the PREROLL_LOCK in a failure case.
11047
11048 2005-11-24  Wim Taymans  <wim@fluendo.com>
11049
11050         * docs/gst/gstreamer-sections.txt:
11051         * gst/base/gstadapter.h:
11052         * gst/base/gstbasesink.h:
11053         * gst/base/gstbasesrc.h:
11054         * gst/base/gstbasetransform.h:
11055         * gst/base/gstpushsrc.h:
11056         * gst/elements/gstfakesink.h:
11057         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
11058         * gst/elements/gstfakesrc.h:
11059         * gst/elements/gstfilesink.h:
11060         * gst/elements/gstfilesrc.h:
11061         * gst/gst.c:
11062         * gst/gstbin.c:
11063         * gst/gstbuffer.c: (_gst_buffer_copy):
11064         * gst/gstbus.h:
11065         * gst/gstcaps.c:
11066         * gst/gstchildproxy.c:
11067         * gst/gstclock.c:
11068         * gst/gstelement.c:
11069         * gst/gstelementfactory.c:
11070         * gst/gstelementfactory.h:
11071         * gst/gstevent.c:
11072         * gst/gstghostpad.h:
11073         * gst/gstindex.h:
11074         * gst/gstinterface.h:
11075         * gst/gstminiobject.c:
11076         * gst/gstminiobject.h:
11077         * gst/gstpad.c:
11078         * gst/gstpad.h:
11079         * gst/gstpadtemplate.h:
11080         * gst/gstpipeline.h:
11081         * gst/gstpluginfeature.h:
11082         * gst/gstquery.h:
11083         * gst/gstqueue.h:
11084         * gst/gsttaglist.c:
11085         * gst/gsttaglist.h:
11086         * gst/gsttagsetter.c:
11087         * gst/gsttagsetter.h:
11088         * gst/gsttrace.c:
11089         * gst/gsttrace.h:
11090         * gst/gsttypefind.h:
11091         * gst/gsturi.h:
11092         * gst/gstvalue.c:
11093         * gst/net/gstnetclientclock.c:
11094         * gst/net/gstnetclientclock.h:
11095         * gst/net/gstnettimepacket.c:
11096         * gst/net/gstnettimeprovider.c:
11097         * gst/net/gstnettimeprovider.h:
11098         Doc fixes.
11099
11100 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
11101
11102         * configure.ac: back to HEAD
11103
11104 === release 0.9.6 ===
11105
11106 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
11107
11108         * configure.ac:
11109           releasing 0.9.6, "Always On Time"
11110
11111 2005-11-23  Wim Taymans  <wim@fluendo.com>
11112
11113         * docs/gst/gstreamer-sections.txt:
11114         * gst/glib-compat.c:
11115         * gst/gsttagsetter.c:
11116         * gst/gstvalue.c:
11117         * gst/net/gstnetclientclock.c:
11118         * gst/net/gstnettimepacket.h:
11119         Doc updates.
11120
11121 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
11122
11123         * docs/faq/using.xml:
11124         * docs/libs/tmpl/gstcontrol.sgml:
11125         * docs/manual/advanced-dparams.xml:
11126         * docs/manual/appendix-checklist.xml:
11127         * docs/manual/basics-elements.xml:
11128         * docs/pwg/other-source.xml:
11129         * docs/random/moving-plugins:
11130         * gst/gstpad.c:
11131         * tools/gst-launch.1.in:
11132           remove mentions of sinesrc
11133
11134 2005-11-23  Michael Smith <msmith@fluendo.com>
11135
11136         * docs/gst/gstreamer-sections.txt:
11137           Update for new API and API changes.
11138         * gst/gstobject.h:
11139           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
11140         * gst/gstvalue.c:
11141           Documentation typo fix.
11142         * gst/net/gstnettimepacket.c:
11143           Documentation fixes for arguments.
11144
11145 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
11146
11147         * gst/gststructure.c: (gst_structure_get_fraction),
11148         (gst_structure_parse_value),
11149         (gst_structure_fixate_field_nearest_fraction):
11150         * gst/gststructure.h:
11151         * gst/gstutils.c: (gst_util_uint64_scale_int):
11152         * gst/gstutils.h:
11153         * scripts/update-funcnames:
11154         API Changes. 
11155         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
11156         Make gst_structure_fixate_field_nearest_fraction take a numerator
11157         and denominator argument instead of a GValue
11158         add gst_structure_get_fraction helper function.
11159
11160 2005-11-23  Wim Taymans  <wim@fluendo.com>
11161
11162         * docs/design/part-TODO.txt:
11163         Update TODO.
11164
11165         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11166         * gst/net/gstnetclientclock.h:
11167         Use parent fields for timeout and window_size.
11168
11169 2005-11-23  Andy Wingo  <wingo@pobox.com>
11170
11171         * check/net/gstnetclientclock.c (test_functioning): Adjust to
11172         rate_num/rate_denom change.
11173
11174         * gst/net/gstnetclientclock.c
11175         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
11176         OBJECT_LOCK. Don't call add_observation with the lock.
11177
11178         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
11179         fraction.
11180         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
11181         rate fraction.
11182         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
11183         deal with rate as a fraction whose numerator and denominator are
11184         GstClockTime values.
11185         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
11186         master; the other fields are protected by the SLAVE_LOCK.
11187         (do_linear_regression): Note that this must be called with the
11188         SLAVE_LOCK.
11189         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
11190         OBJECT_LOCK. Call set_calibration instead of touching the
11191         variables directly.
11192         (gst_clock_set_property, gst_clock_get_property): Protect
11193         master/slave parameters with the SLAVE_LOCK.
11194
11195         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
11196         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
11197         note that all of the instance variables that add_observation and
11198         the set_master functions use are protected by that lock and not
11199         the OBJECT_LOCK.
11200         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
11201
11202         * gst/gstclock.c (gst_clock_add_observation): No longer requires
11203         the caller to take the object lock.
11204
11205 2005-11-23  Wim Taymans  <wim@fluendo.com>
11206
11207         * gst/gsterror.c: (_gst_core_errors_init):
11208         * gst/gsterror.h:
11209         Add error for clock stuff.
11210
11211         * gst/gstpipeline.c: (gst_pipeline_change_state),
11212         (gst_pipeline_set_clock):
11213         Post clock error when clock cannot be used in a pipeline.
11214
11215 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
11216
11217         * docs/gst/gstreamer-sections.txt:
11218           make two symbols from gstinfo private for the docs
11219         * gst/base/gstcollectpads.h:
11220         * gst/gstutils.c:
11221           fix doc typos, update docs
11222
11223 2005-11-22  Wim Taymans  <wim@fluendo.com>
11224
11225         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11226         (gst_base_sink_wait), (gst_base_sink_do_sync),
11227         (gst_base_sink_handle_event):
11228         * gst/base/gstbasesink.h:
11229         No need to store the clock, the parent element class already
11230         has it.
11231
11232         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
11233         Updates for clock_set returning a gboolean
11234
11235         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
11236         (gst_clock_id_wait_async), (gst_clock_class_init),
11237         (gst_clock_init), (gst_clock_finalize),
11238         (gst_clock_get_internal_time), (gst_clock_get_time),
11239         (gst_clock_slave_callback), (gst_clock_set_master),
11240         (gst_clock_get_master), (do_linear_regression),
11241         (gst_clock_add_observation), (gst_clock_set_property),
11242         (gst_clock_get_property):
11243         * gst/gstclock.h:
11244         Implement master/slave. When setting a clock as a slave, a
11245         periodic timeout is scheduled to sample master and slave times.
11246         Then the slave clock is recalibrated to match offset and rate
11247         of the master clock.
11248         Update logging a bit.
11249         Add flag so that a clock can state that is cannot be slaved to
11250         another clock.
11251
11252         * gst/gstelement.c: (gst_element_set_clock):
11253         * gst/gstelement.h:
11254         The set clock returns a gboolean for when an element cannot
11255         deal with the selected clock in the pipeline. 
11256
11257         * gst/gstpipeline.c: (gst_pipeline_change_state),
11258         (gst_pipeline_set_clock):
11259         * gst/gstpipeline.h:
11260         Handle the case where the selected clock cannot be set on
11261         the pipeline.
11262
11263         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
11264         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
11265         (gst_net_client_clock_set_property),
11266         (gst_net_client_clock_get_property),
11267         (gst_net_client_clock_observe_times):
11268         * gst/net/gstnetclientclock.h:
11269         Use regression code in GstClock parent, remove duplicated
11270         functionality.
11271
11272 2005-11-22  Michael Smith <msmith@fluendo.com>
11273
11274         * gst/gstutils.c: (gst_util_clock_time_scale):
11275         * gst/gstutils.h:
11276         * docs/gst/gstreamer-sections.txt:
11277           Rename method to have extra underscore.
11278
11279 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11280
11281         * gst/elements/Makefile.am:
11282         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
11283         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11284         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
11285         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
11286         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
11287         * gst/elements/gstfakesrc.h:
11288         * gst/gstqueue.c: (queue_leaky_get_type):
11289           correctly fix GEnumValues so that nick is the short lowercase
11290           dashed tag
11291         * tools/gst-inspect.c: (print_element_properties_info):
11292           also show the nick, since it's useful to use from parse_launch
11293           syntax
11294           Fixes #322139
11295
11296 2005-11-22  Michael Smith <msmith@fluendo.com>
11297
11298         * gst/gstutils.c: (gst_util_clocktime_scale):
11299         * gst/gstutils.h:
11300         * docs/gst/gstreamer-sections.txt:
11301           Add util method for scaling a clocktime by a fraction. Useful 
11302           implementation is left as an exercise for the reader.
11303
11304 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11305
11306         * gst/gstvalue.c: (gst_value_collect_fraction_range):
11307         If needed, allocate storage in the destination value during
11308         collection.
11309
11310 2005-11-22  Edward Hervey  <edward@fluendo.com>
11311
11312         * docs/gst/gstreamer-sections.txt:
11313         * gst/Makefile.am:
11314         * gst/gst.h:
11315         * gst/gsturitype.c:
11316         * gst/gsturitype.h:
11317         * gst/gstutils.c: (gst_util_set_object_arg):
11318         * tools/gst-compprep.c: (main):
11319         * tools/gst-inspect.c: (print_element_properties_info):
11320         Removed GstURI, closes bug #321061
11321
11322 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11323
11324         * check/gst/gststructure.c: (GST_START_TEST):
11325         * gst/gststructure.c: (gst_structure_parse_value):
11326           Oops, broke automatic string type parsing.
11327           Add a test to catch it in future.
11328
11329 2005-11-22  Andy Wingo  <wingo@pobox.com>
11330
11331         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
11332         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
11333         Actually rename the function implementations. Grr.
11334
11335 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11336
11337         * check/gst/capslist.h:
11338           Comment test cases
11339         * check/gst/gststructure.c: (GST_START_TEST),
11340         (gst_structure_suite):
11341           Test automatic value type detection in gst_structure_from_string.
11342         * gst/gststructure.c: (gst_structure_parse_value):
11343           Add fraction as a type we try and guess automatically in
11344           caps/structure strings.
11345
11346 2005-11-22  Andy Wingo  <wingo@pobox.com>
11347
11348         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
11349
11350         * gst/gsttagsetter.h:
11351         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
11352         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
11353         (gst_tag_setter_add_tag_valist)
11354         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
11355         _add_values, _add_valist, and _add_valist_values. Since this is an
11356         interface the function suffixes should be more explicit so
11357         language binding don't end up with element.add_valist ->
11358         gst_tag_setter_add_valist, for example. Fixes #322069.
11359
11360 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11361
11362         * check/gst/gstcaps.c: (GST_START_TEST):
11363           Extend caps string tests to check that a caps to string
11364           conversion is reversible and produces the same caps.
11365
11366         * gst/gststructure.c: (gst_structure_value_get_generic_type):
11367           Output "fraction" as the generic type fraction range, so caps
11368           serialisation and deserialisation works.
11369         * check/gst/capslist.h:
11370         * gst/gstvalue.c: (gst_value_deserialize_fraction):
11371           Support 'MIN' and 'MAX' for deserialising fractions.
11372
11373 2005-11-22  Andy Wingo  <wingo@pobox.com>
11374
11375         * gst/gstevent.h (gst_event_new_new_segment)
11376         (gst_event_parse_new_segment, gst_event_new_buffer_size)
11377         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
11378         Renamed from *_newsegment, *_buffersize, *_notarget.
11379
11380         * scripts/update-funcnames: New script, performs the changes
11381         listed above.
11382
11383 2005-11-22  Wim Taymans  <wim@fluendo.com>
11384
11385         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11386         Make sure the GstFlowReturn is returned.
11387
11388         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
11389         (gst_bus_add_signal_watch):
11390         * gst/gstbus.h:
11391         add gst_bus_add_signal_watch_full.
11392
11393         * gst/gstplugin.c: (gst_plugin_load_file):
11394         Small style cleanup.
11395
11396 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11397
11398         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
11399           Block the fakesrc srcpad when we send an event, to avoid
11400           contention on the stream_lock causing random test failures.
11401
11402 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11403
11404         * check/gst/gstvalue.c: (GST_START_TEST):
11405         * gst/gstvalue.c: (gst_value_fraction_subtract):
11406           Fix subtraction.
11407
11408 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
11409
11410         * gst/gst.h:
11411           include "gstchildproxy.h"
11412         * gst/gstchildproxy.h:
11413         * libs/gst/controller/gstcontroller.h:
11414           use G_GNUC_NULL_TERMINATED
11415
11416 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11417
11418         * check/gst/capslist.h:
11419         * check/gst/gstcaps.c: (GST_START_TEST):
11420         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11421         * gst/gststructure.c: (gst_structure_parse_range),
11422         (gst_structure_fixate_field_nearest_fraction):
11423         * gst/gststructure.h:
11424         * gst/gstvalue.c: (gst_value_init_fraction_range),
11425         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
11426         (gst_value_collect_fraction_range),
11427         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
11428         (gst_value_set_fraction_range_full),
11429         (gst_value_get_fraction_range_min),
11430         (gst_value_get_fraction_range_max),
11431         (gst_value_serialize_fraction_range),
11432         (gst_value_transform_fraction_range_string),
11433         (gst_value_compare_fraction_range),
11434         (gst_value_deserialize_fraction_range),
11435         (gst_value_intersect_fraction_fraction_range),
11436         (gst_value_intersect_fraction_range_fraction_range),
11437         (gst_value_subtract_fraction_fraction_range),
11438         (gst_value_subtract_fraction_range_fraction),
11439         (gst_value_subtract_fraction_range_fraction_range),
11440         (gst_value_collect_fraction), (gst_value_fraction_multiply),
11441         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
11442         (gst_value_transform_string_fraction), (_gst_value_initialize):
11443         * gst/gstvalue.h:
11444           Implement fraction ranges and extend GstFraction to support
11445           arithmetic subtraction, as well as deserialization from integer
11446           strings such as "100"
11447           Add a testsuite as for int and double range set operations
11448
11449 2005-11-21  Andy Wingo  <wingo@pobox.com>
11450
11451         * gst/gsttaglist.h: 
11452         * gst/gstcaps.h: 
11453         * gst/gststructure.h: Add glib-compat.h.
11454
11455 2005-11-21  Wim Taymans  <wim@fluendo.com>
11456
11457         * gst/gstbin.c: (gst_bin_change_state_func):
11458         Fix for #321595
11459
11460 2005-11-21  Wim Taymans  <wim@fluendo.com>
11461
11462         * gst/gstsegment.h:
11463         And add a nice define too.
11464
11465 2005-11-21  Wim Taymans  <wim@fluendo.com>
11466
11467         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
11468         (gst_segment_new), (gst_segment_free), (gst_segment_init),
11469         (gst_segment_set_duration), (gst_segment_set_last_stop),
11470         (gst_segment_set_seek), (gst_segment_set_newsegment),
11471         (gst_segment_to_stream_time), (gst_segment_to_running_time),
11472         (gst_segment_clip):
11473         * gst/gstsegment.h:
11474         Make binding friendly.
11475
11476 2005-11-21  Andy Wingo  <wingo@pobox.com>
11477
11478         * gst/gsttagsetter.h: 
11479         * gst/gsttaglist.h: 
11480         * gst/gststructure.h: 
11481         * gst/gstcaps.h: 
11482         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
11483         #319940.
11484
11485         * gst/gsterror.c (_gst_core_errors_init):
11486         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
11487         category.
11488
11489         * gst/Makefile.am (gst_headers): Add glib-compat.h.
11490         (noinst_HEADERS): noinst the -private.
11491
11492 2005-11-21  Michael Smith <msmith@fluendo.com>
11493
11494         * gst/gstplugin.h:
11495         * gst/gstregistry.h:
11496           Remove unimplemented declarations for which we can see no sensible
11497           use.
11498
11499 2005-11-21  Andy Wingo  <wingo@pobox.com>
11500
11501         * gst/gst.h: Include glib-compat.h.
11502
11503         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
11504
11505         * gst/glib-compat.c: Include the public and the private header.
11506
11507         * gst/glib-compat-private.h: Copied here from glib-compat.h.
11508
11509         * gst/gstvalue.c: 
11510         * gst/gstpad.c: 
11511         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
11512
11513         * check/gst/gstevent.c (create_custom_events): Check that
11514         FLUSH_STOP is serialized.
11515
11516         * check/elements/identity.c (event_func): 
11517         * check/elements/fakesrc.c (event_func): No stream lock, the core
11518         takes it.
11519
11520         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
11521         stream lock taking, yay.
11522
11523         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
11524         ensure that core takes the stream lock.
11525
11526         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
11527         lock name change.
11528
11529         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
11530         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
11531         it already. For the flush start we do take it though so we get the
11532         right preroll state change messages.
11533
11534         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
11535         the stream lock here, the core does it for us.
11536
11537         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
11538         GST_STREAM_GET_LOCK.
11539         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
11540         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
11541         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
11542         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
11543         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
11544         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
11545
11546         * gst/gstpad.c: Update for stream lock name change.
11547
11548         * gst/base/gstbasesink.c: Update for preroll lock name change.
11549
11550 2005-11-21  Wim Taymans  <wim@fluendo.com>
11551
11552         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
11553         (gst_clock_get_master):
11554         * gst/gstclock.h:
11555         * gst/gstsystemclock.c: (gst_system_clock_init):
11556         Convert Clock flags to object flags.
11557         Added methods to manage master/slave clocks.
11558
11559 2005-11-21  Wim Taymans  <wim@fluendo.com>
11560
11561         * check/gst/gstsegment.c: (GST_START_TEST):
11562         * docs/design/part-TODO.txt:
11563         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11564         (gst_base_sink_event), (gst_base_sink_do_sync),
11565         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11566         (gst_base_sink_query), (gst_base_sink_change_state):
11567         * gst/base/gstbasesink.h:
11568         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
11569         (gst_base_src_default_newsegment),
11570         (gst_base_src_configure_segment), (gst_base_src_do_seek),
11571         (gst_base_src_get_range), (gst_base_src_loop),
11572         (gst_base_src_change_state):
11573         * gst/base/gstbasesrc.h:
11574         * gst/base/gstbasetransform.c:
11575         (gst_base_transform_prepare_output_buf),
11576         (gst_base_transform_event), (gst_base_transform_change_state):
11577         * gst/base/gstbasetransform.h:
11578         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11579         (gst_collect_pads_event):
11580         * gst/base/gstcollectpads.h:
11581         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
11582         (gst_fake_src_create):
11583         * gst/elements/gstfakesrc.h:
11584         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
11585         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11586         (gst_segment_set_last_stop), (gst_segment_set_seek),
11587         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11588         (gst_segment_to_running_time), (gst_segment_clip):
11589         * gst/gstsegment.h:
11590         More segment updates, replace code in plugins with segment
11591         helper functions.
11592
11593 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
11594
11595         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
11596         Don't ignore sscanf results
11597
11598 2005-11-21  Andy Wingo  <wingo@pobox.com>
11599
11600         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
11601
11602         * *.h:
11603         * *.c: Ran scripts/update-macros. Oh yes.
11604
11605         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
11606         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
11607         GST_GET_LOCK, etc.
11608
11609         * scripts/update-macros: New script. Run it on your files to
11610         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
11611         well.
11612
11613 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
11614
11615         * docs/gst/Makefile.am:
11616         * docs/gst/gstreamer-docs.sgml:
11617         * docs/gst/gstreamer-sections.txt:
11618         * docs/gst/gstreamer.types:
11619         * gst/gstinfo.h:
11620           more docs fixes, add new api to the docs
11621
11622 2005-11-21  Andy Wingo  <wingo@pobox.com>
11623
11624         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
11625         state_broadcast call.
11626
11627         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
11628
11629 2005-11-21  Julien MOUTTE  <julien@moutte.net>
11630
11631         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
11632         function calls for arrays.
11633
11634 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
11635
11636         * docs/random/ensonic/media-device-daemon.txt:
11637           wild idea, can this be done?
11638         * docs/gst/gstreamer-sections.txt:
11639         * gst/gsterror.h:
11640         * gst/gstfilter.c:
11641         * gst/gstfilter.h:
11642         * gst/gstplugin.h:
11643         * gst/gstpluginfeature.c:
11644         * gst/gsttrace.c:
11645         * gst/gstvalue.c:
11646         * gst/gstvalue.h:
11647           doc fixes and additions
11648
11649 2005-11-21  Andy Wingo  <wingo@pobox.com>
11650
11651         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
11652         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
11653         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
11654         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
11655         private to the basesrc implementation.
11656
11657         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
11658         behalf of event function if necessary. It should no longer be
11659         necessary to take the stream lock in pad's event functions. Fixes
11660         #320299.
11661
11662 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
11663         * docs/gst/gstreamer-sections.txt:
11664         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
11665         (gst_structure_fixate_field_nearest_double),
11666         (gst_structure_fixate_field_boolean):
11667         * gst/gststructure.h:
11668         * win32/common/libgstreamer.def:
11669         * win32/gstreamer.def:
11670
11671         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
11672         (#322027)
11673
11674 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
11675
11676         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
11677         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
11678         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
11679         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
11680         (gst_fdsrc_uri_handler_init):
11681         * gst/elements/gstfdsrc.h:
11682           Port fd:// URI handler from 0.8 to fdsrc
11683
11684 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11685
11686         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
11687         (gst_value_serialize_fourcc):
11688         * gst/gstvalue.h:
11689           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
11690           consistent with our other format defines (#320324).
11691
11692 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11693
11694         * gst/gstvalue.c: (gst_value_is_fixed):
11695           Revert previous commit. Value lists are by definition
11696           not fixed, as they are a list of possible values.
11697
11698 2005-11-21  Andy Wingo  <wingo@pobox.com>
11699
11700         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
11701         during the stable series if we need it. Fixes #319178.
11702
11703         * gst/gstevent.c (gst_event_new_filler): Removed.
11704
11705         * check/gst/gstevent.c: Update comment about filler events.
11706
11707 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11708
11709         * gst/gstvalue.c: (gst_value_is_fixed):
11710           Should handle both value arrays and value lists.
11711
11712 2005-11-21  Andy Wingo  <wingo@pobox.com>
11713
11714         patch by: Alessandro Dessina <alessandro nnva org>
11715
11716         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
11717         functions to access arrays. Fixes #321962.
11718
11719 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11720
11721         * docs/gst/gstreamer.types:
11722           gst_collectpads_get_type => gst_collect_pads_get_type.
11723           
11724         * gst/base/gstbasetransform.c:
11725           Remove unused SIGNAL_HANDOFF enum.
11726
11727 2005-11-21  Andy Wingo  <wingo@pobox.com>
11728
11729         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
11730         the event type (upstream, downstream, serialized). Renamed
11731         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
11732         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
11733         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
11734
11735         * gst/gstevent.c: Update for new CUSTOM event names.
11736
11737         * check/gst/gstevent.c: Update check for new CUSTOM event names.
11738
11739         * gst/gstevent.h:
11740         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
11741         bug #319392.
11742
11743 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11744
11745         * docs/gst/gstreamer-sections.txt:
11746         * win32/common/libgstbase.def:
11747         * win32/libgstbase.def:
11748         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11749         (gst_collect_pads_class_init), (gst_collect_pads_init),
11750         (gst_collect_pads_finalize), (gst_collect_pads_new),
11751         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
11752         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
11753         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
11754         (gst_collect_pads_start), (gst_collect_pads_stop),
11755         (gst_collect_pads_peek), (gst_collect_pads_pop),
11756         (gst_collect_pads_available), (gst_collect_pads_read),
11757         (gst_collect_pads_flush), (gst_collect_pads_event),
11758         (gst_collect_pads_chain):
11759         * gst/base/gstcollectpads.h:
11760           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
11761           unimplemented functions as unimplemented. Add padding to
11762           GstCollectData. (#320766, #320423)
11763
11764 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11765
11766         * gst/gstmessage.c:
11767           Improve docs for DURATION message (usage of duration parameter)
11768           (#320113)
11769
11770 2005-11-20  Wim Taymans  <wim@fluendo.com>
11771
11772         * check/Makefile.am:
11773         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
11774         (main):
11775         * gst/Makefile.am:
11776         * gst/gst.h:
11777         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11778         (gst_segment_set_seek), (gst_segment_set_newsegment),
11779         (gst_segment_to_stream_time), (gst_segment_to_running_time),
11780         (gst_segment_clip):
11781         * gst/gstsegment.h:
11782         Added segment helper structure and methods. Not fully implemented
11783         yet.
11784         Added segment check.
11785
11786 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
11787
11788         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11789           Add a deserialisation test for fractions
11790         * examples/metadata/read-metadata.c: (message_loop),
11791         (make_pipeline), (main):
11792           Fix up metadata reading sample.
11793         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11794           Debug format fix
11795         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
11796           Don't try and fixate empty caps
11797         * gst/gst_private.h:
11798           Wrap in G_BEGIN_DECLS/G_END_DECLS
11799         * gst/gstvalue.c: (gst_value_collect_fraction),
11800         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
11801         (gst_value_transform_string_fraction),
11802         (gst_value_compare_fraction):
11803           Add some extra guards to ensure that we don't end up 
11804           with an invalid denominator of 0 in a gstfraction and
11805           that fractions always get reduced.
11806
11807 2005-11-20  Wim Taymans  <wim@fluendo.com>
11808
11809         * docs/gst/gstreamer-sections.txt:
11810         * gst/gstbuffer.h:
11811         * gst/gstelement.c:
11812         * gst/gstformat.c:
11813         * gst/gstformat.h:
11814         * gst/gstindex.h:
11815         * gst/gstquery.c:
11816         * gst/gstquery.h:
11817         * gst/gstvalue.c:
11818         Doc fixes.
11819
11820 2005-11-20  Wim Taymans  <wim@fluendo.com>
11821
11822         * docs/design/part-TODO.txt:
11823         * gst/gstcaps.h:
11824         Make a proper enum of the flag.
11825
11826 2005-11-19  Wim Taymans  <wim@fluendo.com>
11827
11828         * docs/design/part-TODO.txt:
11829         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
11830         (gst_format_to_quark), (gst_format_register):
11831         * gst/gstformat.h:
11832         * gst/gstquery.c: (_gst_query_initialize),
11833         (gst_query_type_get_name), (gst_query_type_to_quark),
11834         (gst_query_type_register):
11835         * gst/gstquery.h:
11836         Add type to quark and type to string conversions.
11837
11838 2005-11-19  Andy Wingo  <wingo@pobox.com>
11839
11840         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
11841         #320097.
11842
11843 2005-11-19  Wim Taymans  <wim@fluendo.com>
11844
11845         * docs/design/part-TODO.txt:
11846         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
11847         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
11848         (gst_bin_handle_message_func):
11849         * gst/gstbin.h:
11850         Make message handling overridable.
11851
11852 2005-11-19  Andy Wingo  <wingo@pobox.com>
11853
11854         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
11855
11856         * gst/gstclock.h:
11857         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
11858         be a GstClockTime.
11859         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
11860         is a GstClockTime. Fixes #321710.
11861
11862         * gst/gstclock.h (GstClock): Remove offset property. Add
11863         internal_calibration and external_calibration. Fix padding. Pad
11864         also by GstClockTime so we don't run into problems.
11865
11866         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
11867         (gst_clock_get_rate_offset): Remove.
11868         (gst_clock_set_time_adjust): Remove. Fixes #321712.
11869
11870         * gst/gstutils.h:
11871         * gst/gstutils.c (g_static_rec_cond_wait)
11872         (g_static_rec_cond_timed_wait): Removed, no longer needed.
11873
11874         * gst/gstbin.c: Remove terrible continue_state prototype.
11875
11876         * gst/gstelement.h (gst_element_continue_state): Make public.
11877
11878         * gst/gstelement.h:
11879         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
11880         by continue_state. Fixes #319389.
11881
11882         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
11883         Really fixes #168438. However I don't see anywhere where the
11884         filter function is called... stupid GStreamer...
11885         
11886         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
11887         don't have a dispose function, so it won't get called when the
11888         object is unreffed, but oh well!
11889
11890         * gst/gstindex.c (gst_index_set_filter_full): New API function,
11891         allows a destroy function to be set so user_data can be freed.
11892         Fixes #168438.
11893         (gst_index_set_filter): Call gst_index_set_filter_full.
11894
11895         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
11896
11897         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
11898         string should produce an error, given the lack of a way to
11899         represent NULL strings. Fixes #165650.
11900         
11901         * gst/gstvalue.h: 
11902         * gst/gstvalue.c (gst_value_array_append_value) 
11903         (gst_value_array_prepend_value, gst_value_array_get_size) 
11904         (gst_value_array_get_value): New API, copied from
11905         gst_value_list_*, only operates on arrays.
11906         (gst_value_list_append_value, gst_value_list_prepend_value) 
11907         (gst_value_list_concat, gst_value_list_get_size) 
11908         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
11909
11910         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
11911         init_list, because it works on both.
11912         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
11913         (gst_value_copy_list_or_array): Renamed from copy_list.
11914         (gst_value_free_list_or_array): Renamed from free_list.
11915         (gst_value_collect_list_or_array): Renamed from collect_list.
11916         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
11917         (gst_value_list_or_array_peek_pointer): Renamed from
11918         list_peek_pointer.
11919         (_gst_value_array_value_table, _gst_value_list_value_table):
11920         Update value table functions.
11921         (gst_value_compare_list_or_array): Renamed from compare_list.
11922
11923         * gsttaglist.h: Whoops, foreach function returns void. Also fix
11924         some constness.
11925
11926         * gst/gsttaglist.c:
11927         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
11928         GstTagList*. Fixes #143472.
11929
11930         * gst/gststructure.h: Clarify what the foreach/map functions can
11931         or can't do to their arguments.
11932
11933 2005-11-18  Wim Taymans  <wim@fluendo.com>
11934
11935         * gst/gstclock.c: (gst_clock_set_calibration),
11936         (gst_clock_get_calibration):
11937         Doc and API fixes.
11938         Calibration can be set with internal time equal to current
11939         internal time too.
11940
11941 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
11942
11943         * gst/gsterror.c:
11944         * gst/gsterror.h:
11945           document
11946
11947 2005-11-18  Andy Wingo  <wingo@pobox.com>
11948
11949         * configure.ac: 
11950         * pkgconfig/gstreamer-net.pc.in:
11951         * pkgconfig/gstreamer-net-uninstalled.pc.in:
11952         * pkgconfig/Makefile.am: Add net pkgconfig files.
11953
11954 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
11955
11956         * gst/gstcaps.c:
11957         * gst/gstghostpad.c:
11958         * gst/gsttrace.c:
11959         * gst/gstvalue.c:
11960         * gst/gstvalue.h:
11961           docs fixes
11962
11963 2005-11-18  Andy Wingo  <wingo@pobox.com>
11964
11965         * gst/net/gstnetclientclock.c: Turn off debugging.
11966
11967         * check/net/gstnetclientclock.c (test_functioning): Assert that the
11968         times connverge somewhat. Can't make a real test.
11969
11970         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
11971         integer arithmetic. Return the minimum of the domain, which can be
11972         set as "internal" for gst_clock_set_calibration.
11973         (gst_net_client_clock_observe_times): Call _set_calibration.
11974         (gst_net_client_clock_new): Call _set_calibration instead of
11975         rate_offset.
11976
11977         * check/net/gstnetclientclock.c (test_functioning): Use the right
11978         adjustment api.
11979
11980         * gst/gstclock.h:
11981         * gst/gstclock.c (gst_clock_get_calibration) 
11982         (gst_clock_set_calibration): New functions, obsolete the ones I
11983         added yesterday. Doh. Precision issues mean we have to extrapolate
11984         from a point in the more recent past than 1970.
11985         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
11986         obsolete.
11987         (gst_clock_adjust_unlocked): Use the right calibration data.
11988
11989 2005-11-18  Edward Hervey  <edward@fluendo.com>
11990
11991         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
11992         Also reset the ->current_* values in READY->PAUSED
11993
11994 2005-11-18  Andy Wingo  <wingo@pobox.com>
11995
11996         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
11997         Whoops, check the right fd. Also add some debugging.
11998         (gst_net_client_clock_observe_times): Adjust for int64 offset.
11999         (do_linear_regression): Add a crapload of debugging. Subtract off
12000         the minimum values from the input series to discard unneeded bits.
12001         Use only int arithmetic. There is still double arithmetic when
12002         calculating the intercept that needs fixing. Return boolean to
12003         indicate success; FALSE would mean the domain or range is too
12004         great. Still needs fixes.
12005
12006 2005-11-18  Wim Taymans  <wim@fluendo.com>
12007
12008         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
12009         For the current position in stream time, we need to subtract
12010         accumulated time.
12011         
12012         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
12013         Release lock before calling the callback function of async
12014         entries.
12015
12016 2005-11-18  Andy Wingo  <wingo@pobox.com>
12017
12018         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
12019         Port goes all the way to MAXUINT16.
12020
12021         * gst/net/gstnettimeprovider.c: Make the port range the same as
12022         for the kernel: 0 assigns, otherwise ports are less than
12023         MAXUINT16.
12024
12025         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
12026         port change.
12027
12028         * check/net/gstnetclientclock.c (test_functioning): Add the start
12029         of another test. 
12030
12031 2005-11-18  Wim Taymans  <wim@fluendo.com>
12032
12033         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
12034         (gst_bin_remove_func), (bin_bus_handler):
12035         * gst/gstbin.h:
12036         Removing a clock provider from a bin, triggers a clock lost message
12037         so that a new clock will be selected.
12038         Adding a clock to a bin triggers a clock provider message.
12039         Make sure we reselect a clock when we received a clock lost message.
12040         Keep a reference to the element that provided the clock.
12041
12042 2005-11-18  Andy Wingo  <wingo@pobox.com>
12043
12044         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
12045         the clock initially so it produces values around the base time.
12046         (gst_net_client_clock_class_init): Typo fix.
12047         (gst_net_client_clock_thread): Add note on when the socket gets
12048         closed.
12049
12050 2005-11-17  Wim Taymans  <wim@fluendo.com>
12051
12052         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
12053         Free remote and local time arrays.
12054
12055 2005-11-17  Wim Taymans  <wim@fluendo.com>
12056
12057         * gst/net/gstnetclientclock.c: (do_linear_regression),
12058         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
12059         Fix compilation, uninitialized vars and a forgotten continue.
12060
12061 2005-11-17  Andy Wingo  <wingo@pobox.com>
12062
12063         * check/Makefile.am (check_PROGRAMS): 
12064         * check/net/gstnetclientclock.c: Add a most minimal test for the
12065         net client clock. More to come later.
12066
12067         * gst/net/gstnet.h: 
12068         * gst/net/Makefile.am: Add netclientclock.
12069
12070         * gst/net/gstnetclientclock.h:
12071         * gst/net/gstnetclientclock.c: New files, implement an untested
12072         GstClock that takes its time from a network time provider.
12073         Implements the algorithm in network-clock.scm.
12074
12075         * tests/network-clock.scm (*window-size*): Rename from
12076         *queue-length*.
12077         * tests/network-clock.scm (network-time): 
12078         * tests/network-clock-utils.scm (q-push): Update callers.
12079
12080 2005-11-17  Wim Taymans  <wim@fluendo.com>
12081
12082         * gst/gstbin.c: (gst_bin_provide_clock_func),
12083         (gst_bin_sort_iterator_new):
12084         And unref the child too..
12085
12086 2005-11-17  Wim Taymans  <wim@fluendo.com>
12087
12088         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12089         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
12090         Refactor the sort iterator so it can be used while holding the
12091         LOCK too.
12092         Make clock selection select a clock closest to the source.
12093
12094 2005-11-17  Michael Smith <msmith@fluendo.com>
12095
12096         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
12097         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
12098         * gst/gstclock.h:
12099           Anonymous structs are a gcc (and some other compilers) extension, so
12100           don't use them. Since this is only for ABI-compatibility, and our
12101           API/ABI freeze is over in a few days, this whole thing will only
12102           last a few days, so don't bother trying to think up a meaningful
12103           name for the struct.
12104
12105 2005-11-17  Andy Wingo  <wingo@pobox.com>
12106
12107         * gst/gstclock.h (GstClock): Add rate and offset properties,
12108         preserving ABI stability. Add rate/offset accessors. Will file bug
12109         for the freeze break.
12110
12111         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
12112         and offset, trying to keep precision and avoiding
12113         underflow/overflow.
12114         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
12115         functions. Make gst_clock_set_time_adjust obsolete.
12116         (gst_clock_set_time_adjust): Note that this function is obsolete.
12117         Will file bug soon.
12118
12119         * gst/base/gstbasetransform.h: Make the ABI-stability hack
12120         greppable by using GST_PADDING-1+1.
12121
12122 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
12123
12124         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12125
12126         * gst/gstmessage.c: (gst_message_parse_clock_lost):
12127           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
12128
12129         * gst/gstpadtemplate.h:
12130         * gst/gstpluginfeature.h:
12131           Don't use c++ style comments in headers (#321638).
12132
12133 2005-11-16  Andy Wingo  <wingo@pobox.com>
12134
12135         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
12136         buffer.
12137
12138         * check/net/gstnettimeprovider.c: Check to see that the time
12139         provider actually provides times. Works, yo!
12140
12141 2005-11-16  Wim Taymans  <wim@fluendo.com>
12142
12143         * check/Makefile.am:
12144         Enable more tests.
12145
12146         * check/elements/fakesrc.c: (GST_START_TEST):
12147         Set element to NULL before disposing it.
12148
12149 2005-11-16  Andy Wingo  <wingo@pobox.com>
12150
12151         * gst/net/Makefile.am:
12152         * gst/net/gstnet.h:
12153         * gst/net/gstnettimeprovider.c: 
12154         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
12155         provider, include it from gstnet.h, and add it to the build.
12156
12157         * gst/net/gstnettimepacket.h: 
12158         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
12159         sending and receiving.
12160
12161 2005-11-16  Wim Taymans  <wim@fluendo.com>
12162
12163         * check/Makefile.am:
12164         Enable valgrind check.
12165
12166         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
12167         (gst_fake_src_alloc_buffer):
12168         Fix memleak.
12169
12170 2005-11-16  Wim Taymans  <wim@fluendo.com>
12171
12172         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
12173         Call parent finalize too.
12174
12175 2005-11-16  Wim Taymans  <wim@fluendo.com>
12176
12177         * check/Makefile.am:
12178         Enable valgrind check that should work fine now.
12179
12180         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12181         * gst/gstqueue.c: (gst_queue_init):
12182         Fix memleaks in pad allocation.
12183
12184 2005-11-16  Andy Wingo  <wingo@pobox.com>
12185
12186         * gst/net/Makefile.am:
12187         * gst/net/gstnet.h: New part of core to hold network elements and
12188         objects. Put in core because it exposes API that applications want
12189         to use. The library is named libgstnet-tempname right now because
12190         of the existing libgstnet in gst-plugins-base. Solution is
12191         probably to rename the one in plugins-base; will file a bug for
12192         the freeze break.
12193
12194         * gst/net/gstnettimeprovider.c: 
12195         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
12196         get_time call over the network.
12197
12198         * configure.ac: 
12199         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
12200
12201         * check/Makefile.am:
12202         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
12203         get additions shortly.
12204
12205 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12206
12207         * gst/gstpad.c: (gst_pad_new_from_static_template):
12208         * gst/gstpad.h:
12209           add gst_pad_new_from_static_template functions
12210         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
12211         (gst_check_setup_sink_pad):
12212         * gst/elements/gsttee.c: (gst_tee_init):
12213           and use them
12214
12215 2005-11-16  Wim Taymans  <wim@fluendo.com>
12216
12217         * gst/gstpad.c: (gst_pad_pause_task):
12218         Removed warning, it's not really an error either.
12219
12220 2005-11-16  Wim Taymans  <wim@fluendo.com>
12221
12222         * gst/base/gstbasetransform.c:
12223         (gst_base_transform_prepare_output_buf),
12224         (gst_base_transform_event):
12225         Check if the caps are NULL, this can happen if the element
12226         is shutting down and the pad caps are set to NULL.
12227
12228 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12229
12230         * gst/elements/gsttee.c: (gst_tee_init):
12231           fix pad template leak in tee
12232
12233 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12234
12235         * gst/glib-compat.c: (g_value_dup_gst_object):
12236         * gst/glib-compat.h:
12237         * gst/gstpad.c: (gst_pad_set_property):
12238           use gst_object_ref when setting the pad template; this will
12239           trigger the pad template leaks on GLib 2.6 and the slaves
12240
12241 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12242
12243         * gst/glib-compat.c: (gst_flags_get_first_value):
12244         * gst/glib-compat.h:
12245         * gst/gstregistryxml.c:
12246           remove functions copied from GLib 2.6
12247
12248 2005-11-16  Michael Smith <msmith@fluendo.com>
12249
12250         * gst/Makefile.am:
12251           Don't link against VALGRIND_LIBS. That was always the wrong thing to
12252           do, but only breaks with newer valgrind versions. We're not a
12253           valgrind tool, we have no link-time dependencies on libcoregrind.
12254
12255 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12256
12257         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12258           some debug changes
12259         * gst/gstmessage.h:
12260           typo fixes
12261
12262 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12263
12264         * gst/base/gstbasesrc.c: (gst_base_src_init):
12265         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12266         * gst/gstqueue.c: (gst_queue_init):
12267         * gst/gstregistryxml.c: (load_feature):
12268           Revert all these unrefs, they don't even pass make check !
12269
12270 2005-11-15  Johan Dahlin  <johan@gnome.org>
12271
12272         * gst/base/gstbasesrc.c: (gst_base_src_init):
12273         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12274         * gst/gstqueue.c: (gst_queue_init): 
12275         Free pad templates, fixes a couple of leaks.
12276
12277 2005-11-15  Daniel Fischer  <dan at f3c dot com>
12278
12279         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12280
12281         * gst/gstpad.c: (gst_pad_get_property):
12282           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
12283           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
12284           (#321452)
12285
12286 2005-11-15  Wim Taymans  <wim@fluendo.com>
12287
12288         * gst/gstevent.c:
12289         Small doc update.
12290
12291 2005-11-15  Andy Wingo  <wingo@pobox.com>
12292
12293         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
12294
12295         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
12296         using GST_CLOCK_TIME_NONE to disable base time management.
12297         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
12298         time if it was NONE before.
12299         (gst_pipeline_change_state): Only munge the base time if
12300         stream_time != GST_CLOCK_TIME_NONE.
12301
12302         * check/gst/gstpipeline.c (test_base_time): Punt around the
12303         problem of the probe not being called, because that's not the
12304         issue I'm looking at. Add a check that setting stream_time to NONE
12305         disables base time management.
12306         
12307 2005-11-15  Wim Taymans  <wim@fluendo.com>
12308
12309         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12310         segment_stop == -1 at startup.
12311
12312         * gst/base/gstbasetransform.c: (gst_base_transform_event),
12313         (gst_base_transform_change_state):
12314         Init segment values at start.
12315
12316 2005-11-15  Wim Taymans  <wim@fluendo.com>
12317
12318         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12319         0 segment values are 0 in any format.
12320
12321         * gst/base/gstbasetransform.c: (gst_base_transform_event):
12322         * gst/base/gstbasetransform.h:
12323         Parse newsegment correctly in basetransform
12324
12325         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12326         Sync to clock using updated segment values.
12327
12328 2005-11-15  Andy Wingo  <wingo@pobox.com>
12329
12330         * check/gst/gstpipeline.c (test_base_time): Add check that the
12331         base time and stream time are reset correctly.
12332
12333 2005-11-15  Wim Taymans  <wim@fluendo.com>
12334
12335         * docs/design/part-TODO.txt:
12336         Some more TODO items.
12337
12338 2005-11-15  Andy Wingo  <wingo@pobox.com>
12339
12340         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
12341         error if the user selected "no clock" as the clocking method.
12342
12343         * check/gst/gstpipeline.c (test_base_time): New test for buffer
12344         timestamps with live capture.
12345
12346         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
12347         is 0 but we are a live source, timestamp the buffers using the
12348         element's clock.
12349
12350 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
12351
12352         * docs/gst/gstreamer-sections.txt:
12353         * gst/gsterror.c:
12354         * gst/gstghostpad.c:
12355         * gst/gstobject.h:
12356         * gst/gstxml.c:
12357           more section docs
12358
12359 2005-11-14  Wim Taymans  <wim@fluendo.com>
12360
12361         * common/gst.supp:
12362           add suppressions from Wim's Debian machine
12363
12364 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12365
12366         * common/gst.supp:
12367           add suppressions from Andy's AMD64 Ubuntu machine
12368
12369 2005-11-14  Andy Wingo  <wingo@pobox.com>
12370
12371         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
12372         STATE_LOCK not necessary. Fixes #311489.
12373
12374         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
12375         #305291.
12376
12377         * gst/gstindex.c (gst_index_add_object): Note in the docs that
12378         this function is not implemented.
12379
12380 2005-11-14  Julien MOUTTE  <julien@moutte.net>
12381
12382         * gst/base/gstbasetransform.c:
12383         (gst_base_transform_prepare_output_buf):
12384         Ref the source pad caps while we need them.
12385         Fixes (#321386)
12386
12387 2005-11-11  Wim Taymans  <wim@fluendo.com>
12388
12389         * docs/gst/gstreamer-sections.txt:
12390         Added some docs for GstCollectData.
12391
12392         * gst/base/gstadapter.c:
12393         Some small code example fix.
12394
12395         * gst/base/gstcollectpads.c:
12396         * gst/base/gstcollectpads.h:
12397         Document some more.
12398
12399 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
12400
12401         * configure.ac: back to HEAD
12402
12403 === release 0.9.5 ===
12404
12405 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
12406
12407         * configure.ac:
12408           releasing 0.9.5, "Bike Lunch Day"
12409
12410 2005-11-11  Wim Taymans  <wim@fluendo.com>
12411
12412         * gst/gstbuffer.c: (_gst_buffer_copy):
12413         Copy more flags.
12414
12415         * gst/gstcaps.c: (gst_caps_is_equal):
12416         Fix some docs.
12417         Make _is_equal fast in the trivial cases.
12418
12419         * gst/gstminiobject.c:
12420         * gst/gstminiobject.h:
12421         More docs. Spifify .h file.
12422
12423         * gst/gstutils.c:
12424         Small doc update.
12425
12426 2005-11-11  Wim Taymans  <wim@fluendo.com>
12427
12428         * gst/base/gstbasetransform.c:
12429         (gst_base_transform_prepare_output_buf),
12430         (gst_base_transform_handle_buffer):
12431         Small cleanups.
12432         If we're processing a buffer and need to allocate an output
12433         buffer, we cannot accept a format change. If we did get a 
12434         format change, we have to alloc a buffer ourselves of the 
12435         right size.
12436
12437 2005-11-11  Wim Taymans  <wim@fluendo.com>
12438
12439         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
12440         While checking the flag for reentrancy in the gstcaps function
12441         is nice to detect recursive invocations, it also makes it 
12442         impossible to call getcaps from multiple threads, which must be
12443         possible. So, checking for recursive calls has to go.
12444
12445 2005-11-11  Michael Smith <msmith@fluendo.com>
12446
12447         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12448           Don't sync on buffers that fall partially outside our current
12449           segment. Prevents an assertion failure/abort playing some files.
12450
12451 2005-11-10  Andy Wingo  <wingo@pobox.com>
12452
12453         * check/gst/gstbin.c (test_message_state_changed_children): Style
12454         fix..
12455
12456         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
12457         gst_bus_poll with the signal watch. Ensures that poll and a signal
12458         watch see the same messages.
12459
12460         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
12461         a poll and a watch at the same time get the same messages.
12462
12463 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12464
12465         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
12466         * gst/gstcaps.c: (gst_caps_intersect):
12467           Don't call gst_caps_do_simplify - it doesn't respect order of caps
12468           and it's not needed.
12469
12470 2005-11-10  Wim Taymans  <wim@fluendo.com>
12471
12472         * docs/design/part-TODO.txt:
12473         Updated todo.
12474
12475 2005-11-10  Wim Taymans  <wim@fluendo.com>
12476
12477         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12478         * gst/base/gstbasesrc.c: (gst_base_src_wait),
12479         (gst_base_src_do_sync), (gst_base_src_get_range):
12480         Implement clock sync in base class.
12481
12482 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12483
12484         patch by: Tim-Philipp Müller <tim at centricular dot net>
12485
12486         * gst/gststructure.c: (gst_structure_parse_field),
12487         (gst_structure_from_string):
12488           Forward-port a 0.8 patch to handle escaped spaces in structure string,
12489           so that gst_parse_launch() can deal with spaces in filtered link
12490           caps (fixes #164479)
12491         * check/gst/capslist.h:
12492         * check/gst/gststructure.c: (GST_START_TEST):
12493           add unit tests for this change
12494
12495 2005-11-10  Wim Taymans  <wim@fluendo.com>
12496
12497         * docs/gst/gstreamer-sections.txt:
12498         * gst/gstelement.c:
12499         * gst/gstelement.h:
12500         Fix docs, move some STATE macros to private.
12501
12502 2005-11-10  Wim Taymans  <wim@fluendo.com>
12503
12504         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12505         Added check for bug #317341
12506
12507         * gst/gstbuffer.c:
12508         * gst/gstbuffer.h:
12509         Some more spiffifying.
12510
12511         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
12512         Call peer linkfunction if we are a source pad. Totally fixes
12513         #317341
12514
12515         * gst/gstpad.c:
12516         Update docs, source pads should call the peer linkfunction
12517         so they can atomically perform the pad link.
12518
12519 2005-11-09  Wim Taymans  <wim@fluendo.com>
12520
12521         * gst/gstbuffer.c:
12522         * gst/gstbuffer.h:
12523         Uber-spiffy-spiffify some more.
12524
12525 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
12526
12527         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
12528         * gst/elements/gstfilesink.c: (gst_file_sink_init):
12529         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12530         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
12531         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
12532         * gst/gstpad.c: (gst_pad_init):
12533           Use GST_DEBUG_FUNCPTR() more extensively.
12534
12535 2005-11-09  Wim Taymans  <wim@fluendo.com>
12536
12537         * gst/gstobject.c: (gst_object_class_init):
12538         * gst/gstobject.h:
12539         Documentation fixes.
12540
12541 2005-11-09  Edward Hervey  <edward@fluendo.com>
12542
12543         * gst/gsttypefindfactory.c:
12544         Fix docs.
12545         
12546 2005-11-09  Edward Hervey  <edward@fluendo.com>
12547
12548         * gst/base/gsttypefindhelper.c:
12549         * gst/gsttypefind.c:
12550         * gst/gsttypefind.h:
12551         Fix docs.
12552
12553 2005-11-09  Wim Taymans  <wim@fluendo.com>
12554
12555         * gst/gstiterator.c:
12556         Fix revision data.
12557
12558         * gst/gsttask.c:
12559         * gst/gsttask.h:
12560         Fix docs.
12561
12562 2005-11-09  Wim Taymans  <wim@fluendo.com>
12563
12564         * gst/gstevent.h:
12565         * gst/gsturi.h:
12566         Fix docs.
12567
12568 2005-11-09  Wim Taymans  <wim@fluendo.com>
12569
12570         * docs/gst/gstreamer-sections.txt:
12571         Moved the message async delivery private lock and cond
12572         to the private section.
12573
12574         * gst/gstmessage.c:
12575         * gst/gstmessage.h:
12576         Fixed docs.
12577
12578 2005-11-09  Edward Hervey  <edward@fluendo.com>
12579
12580         * docs/gst/gstreamer-sections.txt:
12581         * gst/gsturi.c:
12582         * gst/gsturi.h:
12583         Document GstURIHandler
12584
12585 2005-11-09  Wim Taymans  <wim@fluendo.com>
12586
12587         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
12588         (gst_iterator_find_custom):
12589         * gst/gstiterator.h:
12590         Fix iterator docs.
12591
12592 2005-11-09  Wim Taymans  <wim@fluendo.com>
12593
12594         * gst/gstbin.h:
12595         Document another field.
12596
12597         * gst/gststructure.c:
12598         * gst/gststructure.h:
12599         Document.
12600
12601 2005-11-09  Wim Taymans  <wim@fluendo.com>
12602
12603         * gst/gstbin.h:
12604         Documented structs.
12605
12606 2005-11-09  Wim Taymans  <wim@fluendo.com>
12607
12608         * docs/gst/gstreamer-sections.txt:
12609         Added some new macros.
12610
12611         * gst/gstclock.c:
12612         * gst/gstclock.h:
12613         * gst/gstobject.h:
12614         Docs updates.
12615
12616 2005-11-09  Wim Taymans  <wim@fluendo.com>
12617
12618         * docs/design/part-TODO.txt:
12619         Some more items for the TODO
12620
12621         * gst/gstcaps.c:
12622         * gst/gstcaps.h:
12623         Document GstCaps.
12624
12625 2005-11-09  Andy Wingo  <wingo@pobox.com>
12626
12627         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
12628         to work on something else now tho...
12629
12630         * gst/base/gstadapter.c: More adapter docs.
12631
12632         * gst/elements/gstfilesink.c (gst_file_sink_start) 
12633         (gst_file_sink_stop): New functions, replace the state change
12634         handler.
12635         (gst_file_sink_class_init): Hook up the start and stop functions.
12636         (gst_file_sink_base_init): Don't set the state change handler any
12637         more. It was a bit ugly too, being set from here...
12638         (gst_file_sink_get_property, gst_file_sink_set_property):
12639         Cleanups...
12640         (gst_file_sink_set_location): More robust check that doesn't call
12641         GST_STATE. Ugggggg.
12642
12643 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
12644
12645         * gst/base/gstbasetransform.c: (gst_base_transform_event):
12646           Hold STREAM_LOCK while pushing newsegment or tag events as well.
12647
12648 2005-11-08  Wim Taymans  <wim@fluendo.com>
12649
12650         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
12651         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12652         (gst_base_sink_chain), (gst_base_sink_change_state):
12653         * gst/base/gstbasesink.h:
12654         * gst/base/gstbasesrc.h:
12655         * gst/gstelement.h:
12656         * gst/gstevent.h:
12657         Avoid excessive typechecking in macros.
12658
12659         * gst/gstminiobject.c: (gst_mini_object_get_type),
12660         (gst_mini_object_init), (gst_mini_object_new),
12661         (gst_mini_object_free):
12662         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12663         (gst_object_finalize):
12664         Remove cruft code, optimize alloc_trace.
12665
12666 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12667
12668         * docs/faq/gst-uninstalled:
12669           fix up PS1 for systems that try to reset it
12670
12671 2005-11-07  Wim Taymans  <wim@fluendo.com>
12672
12673         * gst/base/gstbasesrc.c: (gst_base_src_init),
12674         (gst_base_src_get_range):
12675         Set the segment_end to -1 initially. Fixed typefind.
12676
12677 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
12678
12679         * gst/base/gstadapter.c:
12680           Debug category should be 'adapter', not 'GstAdapter'.
12681           
12682         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
12683         (gst_collectpads_class_init), (gst_collectpads_init),
12684         (gst_collectpads_peek), (gst_collectpads_pop),
12685         (gst_collectpads_event), (gst_collectpads_chain):
12686           Add debug category and some debugging output. Use boilerplate
12687           macros. Remove some extraneous words from docs.
12688
12689 2005-11-05  Andy Wingo  <wingo@pobox.com>
12690
12691         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
12692         macro.
12693
12694 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
12695
12696         * docs/gst/gstreamer-sections.txt:
12697         * gst/gstcaps.h:
12698         * gst/gstinfo.c:
12699         * gst/gstminiobject.h:
12700         * gst/gstobject.h:
12701         * gst/gstutils.h:
12702           more docs added
12703
12704 2005-11-04  Wim Taymans  <wim@fluendo.com>
12705
12706         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12707         Small update to stop at the configured segment_end
12708         position.
12709
12710 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
12711
12712         * gst/gstregistry.c:
12713         * gst/gstregistry.h:
12714           added missing docs
12715
12716 2005-11-04  Edward Hervey  <edward@fluendo.com>
12717
12718         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12719         Check if we are doing a segment seek and have arrived at the
12720         end of that segment.
12721
12722 2005-11-04  Wim Taymans  <wim@fluendo.com>
12723
12724         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
12725         Don't leak a mutex unlock in case of an error.
12726
12727         * gst/gstbus.h:
12728         Doc fixes.
12729
12730 2005-11-04  Wim Taymans  <wim@fluendo.com>
12731
12732         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
12733         (gst_bus_post):
12734         Get the context to wake up only once.
12735
12736 2005-11-03  Wim Taymans  <wim@fluendo.com>
12737
12738         * check/states/sinks.c: (GST_START_TEST):
12739         Uncomment fixed check.
12740
12741         * docs/design/part-TODO.txt:
12742         Updated TODO.
12743
12744         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12745         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12746         (gst_base_sink_get_position):
12747         If we are going to PLAYING, post the right pending state
12748         when we post the intermediate paused message.
12749
12750         * gst/gstelement.c: (gst_element_continue_state),
12751         (gst_element_set_state_func), (gst_element_change_state):
12752         Don't post state changes that were between the same state
12753         and were not ASYNC.
12754
12755 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
12756
12757         * docs/gst/gstreamer-sections.txt:
12758         * gst/gstcaps.h:
12759         * gst/gstinfo.c:
12760         * gst/gstminiobject.h:
12761         * gst/gstobject.h:
12762         * gst/gstutils.h:
12763           more docs and doc style fixes
12764
12765 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
12766
12767         * docs/gst/gstreamer-sections.txt:
12768         * gst/gstelement.c:
12769         * gst/gstminiobject.c:
12770         doc fixes
12771
12772 2005-11-03  Andy Wingo  <wingo@pobox.com>
12773
12774         * check/states/sinks.c (test_livesrc_sink): Add checks that the
12775         state-changed messages actually have the right order and the right
12776         values.
12777
12778 2005-11-03  Wim Taymans  <wim@fluendo.com>
12779
12780         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
12781         Added some more checks. Specifically the case where NO_PREROLL
12782         elements are in the pipeline.
12783
12784         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12785         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12786         (gst_base_sink_get_position):
12787         Post READY->PAUSED state change messages too.
12788         Fix bug where VOID was posted as pending state...
12789
12790         * gst/gstbin.c: (gst_bin_recalc_state):
12791         use _element_continue_state() to continue the state change.
12792
12793         * gst/gstelement.c: (gst_element_continue_state),
12794         (gst_element_commit_state), (gst_element_set_state_func),
12795         (gst_element_change_state), (gst_element_change_state_func):
12796         Lots of state change cleanups, assign the STATE_RETURN in
12797         a new continue_state() function that also propagates the
12798         last return value from a state change to the app.
12799         Update some debug statements with proper category.
12800
12801 2005-11-03  Wim Taymans  <wim@fluendo.com>
12802
12803         * docs/design/part-events.txt:
12804         * docs/design/part-gstpipeline.txt:
12805         * docs/design/part-messages.txt:
12806         * docs/design/part-overview.txt:
12807         * docs/design/part-seeking.txt:
12808         * docs/design/part-states.txt:
12809         * docs/design/part-trickmodes.txt:
12810         * docs/manual/advanced-position.xml:
12811         Small docs updates.
12812
12813         * gst/gstobject.h:
12814         People think !! is ugly, this looks better.
12815
12816         * gst/gstpad.c: (gst_pad_set_blocked_async):
12817         Remove !! since it's fixed elsewhere now.
12818
12819 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
12820
12821         * gst/gstminiobject.h:
12822         * gst/gstobject.h:
12823           Add !! to _FLAG_IS_SET macros to make the result boolean.
12824
12825 2005-11-03  Edward Hervey  <edward@fluendo.com>
12826
12827         * gst/gstpad.c: (gst_pad_set_blocked_async):
12828         comparing a flag and a gboolean rarely returns coherent results...
12829         Added two characters (!!) to make that work correctly.
12830         
12831 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
12832
12833         * gst/gstbus.c: (gst_bus_class_init):
12834           Fix some typos.
12835           
12836         * gst/gstqueue.c: (gst_queue_loop):
12837           Don't assume a miniobject that isn't a buffer is an
12838           event (it could be that there is a refcounting
12839           problem somewhere and the pointer is stale and
12840           refers to an already destroyed miniobject).
12841
12842 2005-11-03  Julien MOUTTE  <julien@moutte.net>
12843
12844         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
12845
12846 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
12847
12848         * docs/manual/advanced-position.xml:
12849           Update seek example and explanations to current 0.9 API.
12850
12851         * gst/elements/gsttypefindelement.c:
12852         (gst_type_find_element_activate):
12853           Remove FIXME comment now that the found caps
12854           are unreffed.
12855
12856 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12857
12858         * gst/gstregistryxml.c: (load_feature):
12859           Add another GST_STR_NULL instance
12860
12861 2005-11-02  Edward Hervey  <edward@fluendo.com>
12862
12863         * gst/gstpad.c: (handle_pad_block):
12864         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
12865         
12866 2005-11-02  Wim Taymans  <wim@fluendo.com>
12867
12868         * gst/gstbin.c:
12869         Fix typo in docs.
12870
12871         * gst/gstelement.c: (gst_element_commit_state):
12872         Remove unused value.
12873
12874         * gst/gstiterator.c:
12875         Mention that the returned element is reffed in the docs.
12876
12877 2005-11-02  Wim Taymans  <wim@fluendo.com>
12878
12879         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
12880         (gst_pad_push), (gst_pad_push_event):
12881         Unlock blocked pads when they are flushed.
12882
12883 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12884
12885         * docs/README:
12886         * docs/gst/gstreamer-sections.txt:
12887         * gst/gstbin.c:
12888           doc updates
12889         * gst/gstregistry.c: (gst_registry_scan_path_level):
12890           fix for a nasty little missed situation where an installed plug-in
12891           which was in the cache did not get overridden by an uninstalled one
12892           which was earlier in the plugin path because the newly created plugin
12893           for the uninstalled one (not in the registry) didn't get its
12894           ->registered set to TRUE
12895
12896 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
12897
12898         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
12899         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
12900         (gst_collectpads_is_active), (gst_collectpads_collect),
12901         (gst_collectpads_collect_range), (gst_collectpads_start),
12902         (gst_collectpads_stop), (gst_collectpads_peek),
12903         (gst_collectpads_pop), (gst_collectpads_available),
12904         (gst_collectpads_read), (gst_collectpads_flush):
12905           Guard public API with assertions.
12906         
12907         * gst/gstpad.c:
12908           Fix docs for gst_pad_set_link_function().
12909
12910 2005-11-02  Johan Dahlin  <johan@gnome.org>
12911
12912         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
12913         Unref found_caps after we used it.
12914
12915 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
12916
12917         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
12918           Don't try to ref NULL.
12919
12920 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12921
12922         * win32/common/config.h.in:
12923           provide a GST_FUNCTION that just gives a string for now
12924
12925 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12926
12927         * win32/common/gstenumtypes.c: (register_gst_object_flags),
12928         (gst_object_flags_get_type), (register_gst_bin_flags),
12929         (gst_bin_flags_get_type), (register_gst_buffer_flag),
12930         (gst_buffer_flag_get_type), (register_gst_bus_flags),
12931         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12932         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
12933         (gst_clock_return_get_type), (register_gst_clock_entry_type),
12934         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
12935         (gst_clock_flags_get_type), (register_gst_state),
12936         (gst_state_get_type), (register_gst_state_change_return),
12937         (gst_state_change_return_get_type), (register_gst_state_change),
12938         (gst_state_change_get_type), (register_gst_element_flags),
12939         (gst_element_flags_get_type), (register_gst_core_error),
12940         (gst_core_error_get_type), (register_gst_library_error),
12941         (gst_library_error_get_type), (register_gst_resource_error),
12942         (gst_resource_error_get_type), (register_gst_stream_error),
12943         (gst_stream_error_get_type), (register_gst_event_type),
12944         (gst_event_type_get_type), (register_gst_seek_type),
12945         (gst_seek_type_get_type), (register_gst_seek_flags),
12946         (gst_seek_flags_get_type), (register_gst_format),
12947         (gst_format_get_type), (register_gst_index_certainty),
12948         (gst_index_certainty_get_type), (register_gst_index_entry_type),
12949         (gst_index_entry_type_get_type),
12950         (register_gst_index_lookup_method),
12951         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
12952         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
12953         (gst_index_resolver_method_get_type), (register_gst_index_flags),
12954         (gst_index_flags_get_type), (register_gst_debug_level),
12955         (gst_debug_level_get_type), (register_gst_debug_color_flags),
12956         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
12957         (gst_iterator_result_get_type), (register_gst_iterator_item),
12958         (gst_iterator_item_get_type), (register_gst_message_type),
12959         (gst_message_type_get_type), (register_gst_mini_object_flags),
12960         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
12961         (gst_pad_link_return_get_type), (register_gst_flow_return),
12962         (gst_flow_return_get_type), (register_gst_activate_mode),
12963         (gst_activate_mode_get_type), (register_gst_pad_direction),
12964         (gst_pad_direction_get_type), (register_gst_pad_flags),
12965         (gst_pad_flags_get_type), (register_gst_pad_presence),
12966         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
12967         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
12968         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
12969         (gst_plugin_error_get_type), (register_gst_plugin_flags),
12970         (gst_plugin_flags_get_type), (register_gst_rank),
12971         (gst_rank_get_type), (register_gst_query_type),
12972         (gst_query_type_get_type), (register_gst_tag_merge_mode),
12973         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
12974         (gst_tag_flag_get_type), (register_gst_task_state),
12975         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
12976         (gst_alloc_trace_flags_get_type),
12977         (register_gst_type_find_probability),
12978         (gst_type_find_probability_get_type), (register_gst_uri_type),
12979         (gst_uri_type_get_type), (register_gst_parse_error),
12980         (gst_parse_error_get_type):
12981         * win32/common/gstversion.h:
12982           update win32 copies
12983
12984 2005-11-01  Luca Ognibene  <luogni@tin.it>
12985
12986         * gst/gst.c:
12987           fix docs. popt is dead, long live GOption.
12988
12989 2005-10-31  Wim Taymans  <wim@fluendo.com>
12990
12991         * gst/gstbuffer.h:
12992         Small doc fix.
12993
12994 2005-10-31  Andy Wingo  <wingo@pobox.com>
12995
12996         * Boo!
12997
12998         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
12999
13000         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
13001         need to serialize property notifications on GLib 2.8. GLib 2.6 has
13002         the possibility of deadlocks here if code calling notify() or
13003         set() has a lock that can be taken in another notify handler (ABBA
13004         with class lock and e.g. python GIL state lock).
13005
13006 2005-10-28  Julien MOUTTE  <julien@moutte.net>
13007
13008         * gst/gstbus.c: Doc updates.
13009
13010 2005-10-28  Wim Taymans  <wim@fluendo.com>
13011
13012         * docs/design/part-TODO.txt:
13013         * gst/gstiterator.c:
13014         * gst/gstsystemclock.c:
13015         * gst/gstsystemclock.h:
13016         Doc updates.
13017
13018 2005-10-28  Edward Hervey  <edward@fluendo.com>
13019
13020         * docs/gst/gstreamer-docs.sgml:
13021         * docs/gst/gstreamer-sections.txt:
13022         the GstURIType documentation page is private, it only defines GstURIType
13023         which should be defined in the GstURIHandler page
13024         
13025 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13026
13027         * gst/gstbin.c: (gst_bin_class_init):
13028         * gst/gstbin.h:
13029         * gst/gstutils.c:
13030         Documentation updates.
13031
13032 2005-10-28  Wim Taymans  <wim@fluendo.com>
13033
13034         * docs/gst/gstreamer-sections.txt:
13035         * gst/gstclock.c:
13036         * gst/gstclock.h:
13037         Documented the clocks.
13038
13039 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
13040
13041         * docs/gst/gstreamer-sections.txt:
13042           move some macros to private sections
13043         * gst/gstminiobject.c:
13044         * gst/gstminiobject.h:
13045           add descriptions provided by ds and some more
13046         * gst/gstpad.h:
13047           mark macro as to be removed
13048
13049 2005-10-28  Wim Taymans  <wim@fluendo.com>
13050
13051         * docs/design/part-TODO.txt:
13052         Add an item to TODO.
13053
13054         * gst/gstiterator.c: (gst_iterator_fold),
13055         (gst_iterator_find_custom):
13056         * gst/gstiterator.h:
13057         Add iterator docs.
13058
13059 2005-10-28  Wim Taymans  <wim@fluendo.com>
13060
13061         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13062         (gst_base_transform_init):
13063         Don't leak class.
13064
13065         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
13066         An EOS event marks the queue as completely filled.
13067
13068 2005-10-27  Wim Taymans  <wim@fluendo.com>
13069
13070         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13071         (gst_base_sink_do_sync), (gst_base_sink_get_position):
13072         Some more debugging.
13073
13074         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
13075         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
13076         (gst_base_transform_event), (gst_base_transform_getrange),
13077         (gst_base_transform_chain):
13078         * gst/base/gstbasetransform.h:
13079         Fix debugging,
13080         Protect transform and concurrent buffer alloc with a new lock.
13081         Try not to break ABI/API.
13082
13083 2005-10-27  Wim Taymans  <wim@fluendo.com>
13084
13085         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
13086         (gst_base_src_init), (gst_base_src_query),
13087         (gst_base_src_default_newsegment),
13088         (gst_base_src_configure_segment), (gst_base_src_do_seek),
13089         (gst_base_src_send_event), (gst_base_src_event_handler),
13090         (gst_base_src_pad_get_range), (gst_base_src_loop),
13091         (gst_base_src_unlock), (gst_base_src_default_negotiate),
13092         (gst_base_src_start), (gst_base_src_deactivate),
13093         (gst_base_src_activate_push), (gst_base_src_change_state):
13094         Move some stuff around and cleanup things.
13095
13096 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
13097
13098         * gst/base/gstbasesrc.c: (gst_base_src_query):
13099           Add missing break statements.
13100
13101 2005-10-27  Wim Taymans  <wim@fluendo.com>
13102
13103         * check/gst/gstbin.c: (GST_START_TEST):
13104         An extra refcount is taken in basesrc.
13105
13106         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
13107         (gst_base_src_get_range), (gst_base_src_pad_get_range),
13108         (gst_base_src_loop):
13109         Small cleanups, check for flushing after being unlocked from the 
13110         LIVE_LOCK. take refcounts correctly (not yet everywhere).
13111         Don't send out EOS when going to READY.
13112
13113 2005-10-27  Wim Taymans  <wim@fluendo.com>
13114
13115         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13116         (gst_base_sink_get_position):
13117         Some more debug.
13118
13119         * gst/gstbin.c: (message_check), (bin_replace_message),
13120         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13121         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13122         (bin_query_duration_init), (bin_query_duration_fold),
13123         (bin_query_duration_done), (bin_query_generic_fold),
13124         (gst_bin_query):
13125         * tools/gst-launch.c: (main):
13126         Remove old option.
13127
13128 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
13129
13130         * examples/controller/audio-example.c: (main):
13131         * examples/queue/queue.c: (event_loop):
13132         * gst/base/gstbasetransform.h:
13133         * gst/gstelement.c: (gst_element_send_event):
13134         * gst/gstevent.h:
13135         * gst/gstpad.c: (gst_pad_send_event):
13136           fixing examples
13137           fixing docs typos
13138           changing log priority in error situations
13139
13140 2005-10-25  Wim Taymans  <wim@fluendo.com>
13141
13142         * gst/gstbin.c: (message_check), (bin_replace_message),
13143         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13144         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13145         (bin_query_duration_init), (bin_query_duration_fold),
13146         (bin_query_duration_done), (bin_query_generic_fold),
13147         (gst_bin_query):
13148         Some doc and debug updates.
13149         Cache previously requested query DURATION for speed. invalidate
13150         cached duration if element posts a DURATION message.
13151
13152 2005-10-25  Wim Taymans  <wim@fluendo.com>
13153
13154         * docs/design/part-TODO.txt:
13155         Update TODO.
13156
13157         * gst/gstbin.c: (message_check), (bin_replace_message),
13158         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13159         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13160         (bin_query_duration_init), (bin_query_duration_fold),
13161         (bin_query_duration_done), (bin_query_generic_fold),
13162         (gst_bin_query):
13163         Handle SEGMENT_START/DONE messages correctly.
13164         More evolved query algorithm that handles duration queries
13165         correctly.
13166
13167         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
13168         (gst_element_get_state_func), (gst_element_abort_state),
13169         (gst_element_commit_state), (gst_element_lost_state):
13170         Some more debugging.
13171
13172         * gst/gstmessage.h:
13173         Added doc.
13174
13175 2005-10-25  Wim Taymans  <wim@fluendo.com>
13176
13177         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13178         Don't use invalid stream_time.
13179
13180         * gst/gstevent.c: (gst_event_new_newsegment):
13181         stream_time in newsegment cannot be undefined.
13182
13183 2005-10-24  Wim Taymans  <wim@fluendo.com>
13184
13185         * gst/gstbus.c:
13186         Doc fix.
13187
13188         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
13189         (gst_queue_loop):
13190         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
13191
13192 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
13193
13194         * docs/libs/tmpl/gstdparam.sgml:
13195         * docs/libs/tmpl/gstdplinint.sgml:
13196         * docs/libs/tmpl/gstdpman.sgml:
13197         * docs/libs/tmpl/gstdpsmooth.sgml:
13198         * docs/libs/tmpl/gstunitconvert.sgml:
13199           these are obsolete
13200
13201 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13202
13203         * configure.ac:
13204           back to HEAD
13205
13206 === release 0.9.4 ===
13207
13208 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13209
13210         * configure.ac:
13211           releasing 0.9.4, "Tyrannosaurus Rex"
13212
13213 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
13214
13215         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13216         (gst_file_sink_get_current_offset):
13217           Use fseeko() and ftello() if available. When falling back on
13218           lseek() to get the current offset, fflush() first to make sure
13219           everything is up-to-date and we get the right offset.
13220
13221 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13222
13223         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13224         * gst/base/gstbasesrc.c: (gst_base_src_loop):
13225         * gst/gsterror.c: (_gst_stream_errors_init):
13226         * gst/gsterror.h:
13227         * gst/gstqueue.c: (gst_queue_loop):
13228         * po/POTFILES.in:
13229           remove prematurely added error category and clean up the instances
13230
13231 2005-10-21  Wim Taymans  <wim@fluendo.com>
13232
13233         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13234         (gst_base_sink_get_position), (gst_base_sink_query),
13235         (gst_base_sink_change_state):
13236         Simply set the right flag when going to playing, that's all
13237         we need to do instead of calling a function inside the object
13238         lock (that could take the lock as well and deadlock)
13239
13240 2005-10-21  Wim Taymans  <wim@fluendo.com>
13241
13242         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
13243         (gst_base_src_loop):
13244         Don't warn, the peer element knows what to do best when
13245         the seek failed, it might try something else.
13246
13247 2005-10-21  Wim Taymans  <wim@fluendo.com>
13248
13249         * gst/base/gstbasesrc.c: (gst_base_src_init),
13250         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
13251         Fix seeking.
13252
13253 2005-10-21  Wim Taymans  <wim@fluendo.com>
13254
13255         * docs/design/part-segments.txt:
13256         More docs.
13257
13258         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13259         Correctly set caps, even on the subbufer.
13260
13261 2005-10-21  Wim Taymans  <wim@fluendo.com>
13262
13263         * docs/gst/gstreamer-docs.sgml:
13264         * docs/gst/gstreamer-sections.txt:
13265         * gst/gstelement.h:
13266         * gst/gstevent.c:
13267         * gst/gstevent.h:
13268         * gst/gstmessage.h:
13269         * gst/gstpad.h:
13270         * gst/gstparse.h:
13271         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
13272         * gst/gsttask.h:
13273         * gst/gstutils.c:
13274         * gst/gstutils.h:
13275         And 2% more doc coverage.
13276
13277 2005-10-21  Andy Wingo  <wingo@pobox.com>
13278
13279         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
13280         position reporting.
13281
13282 2005-10-20  Wim Taymans  <wim@fluendo.com>
13283
13284         * gst/gsterror.c: (gst_error_get_message):
13285         * gst/gstparse.h:
13286         * gst/gstquery.h:
13287         * gst/gststructure.c:
13288         * gst/gsttrace.c:
13289         * gst/gstutils.c:
13290         More docs.
13291
13292 2005-10-20  Wim Taymans  <wim@fluendo.com>
13293
13294         * gst/gstbuffer.h:
13295         * gst/gstpad.c:
13296         * gst/gstparse.c:
13297         Another 1% more coverage.
13298
13299 2005-10-20  Wim Taymans  <wim@fluendo.com>
13300
13301         * docs/gst/gstreamer-sections.txt:
13302         * gst/gstelement.c: (gst_element_get_state_func),
13303         (gst_element_abort_state), (gst_element_commit_state),
13304         (gst_element_lost_state):
13305         * gst/gstevent.h:
13306         * gst/gstquery.c: (gst_query_set_position),
13307         (gst_query_parse_position), (gst_query_set_duration),
13308         (gst_query_parse_duration), (gst_query_new_convert):
13309         * gst/gstutils.c:
13310         Yay! 1% more docs coverage.
13311
13312 2005-10-20  Wim Taymans  <wim@fluendo.com>
13313
13314         * gst/gstpad.h:
13315         * gst/gstquery.c: (gst_query_set_position),
13316         (gst_query_parse_position), (gst_query_set_duration),
13317         (gst_query_parse_duration), (gst_query_new_convert):
13318         * gst/gstquery.h:
13319         * gst/gstutils.c: (gst_element_query_convert):
13320         * gst/gstutils.h:
13321         Docs and consistency fixes.
13322
13323 2005-10-20  Wim Taymans  <wim@fluendo.com>
13324
13325         * gst/gsttask.c:
13326         * gst/gsttask.h:
13327         More docs.
13328
13329 2005-10-20  Wim Taymans  <wim@fluendo.com>
13330
13331         * gst/gstbin.c: (message_check), (bin_replace_message),
13332         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13333         (update_degree), (gst_bin_sort_iterator_next),
13334         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
13335         Reworked the message handling a bit, cache the messages instead of
13336         only the senders. alows us to do more in the future.
13337
13338 2005-10-20  Wim Taymans  <wim@fluendo.com>
13339
13340         * docs/design/part-TODO.txt:
13341         Update TODO
13342
13343         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13344         (gst_base_sink_query):
13345         Don't use clock time to report position when in EOS.
13346
13347 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
13348
13349         * tools/gst-inspect.c: (print_interfaces),
13350         (print_element_properties_info), (print_element_info):
13351           Fix interface output with gst-inspect -a; don't print
13352           newlines after double/float properties.
13353
13354 2005-10-20  Wim Taymans  <wim@fluendo.com>
13355
13356         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13357         (gst_base_sink_query):
13358         Speed up current position calculation.
13359
13360         * gst/base/gstbasesrc.c: (gst_base_src_query),
13361         (gst_base_src_default_newsegment):
13362         Correctly set stream position in newsegment.
13363
13364         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
13365         (update_degree), (gst_bin_sort_iterator_next),
13366         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
13367         * gst/gstmessage.c: (gst_message_new_custom):
13368         Clean up debugging info
13369
13370         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13371         (gst_queue_loop), (gst_queue_handle_src_query):
13372         Pause task faster.
13373
13374 2005-10-19  Wim Taymans  <wim@fluendo.com>
13375
13376         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13377         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13378         Fix query handling again.
13379
13380 2005-10-19  Wim Taymans  <wim@fluendo.com>
13381
13382         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13383         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13384         * gst/base/gstbasesrc.c: (gst_base_src_query):
13385         * gst/elements/gstfilesink.c: (gst_file_sink_query):
13386         * gst/elements/gsttypefindelement.c:
13387         (gst_type_find_handle_src_query), (find_element_get_length),
13388         (gst_type_find_element_activate):
13389         API change fix.
13390
13391         * gst/gstquery.c: (gst_query_new_position),
13392         (gst_query_set_position), (gst_query_parse_position),
13393         (gst_query_new_duration), (gst_query_set_duration),
13394         (gst_query_parse_duration), (gst_query_set_segment),
13395         (gst_query_parse_segment):
13396         * gst/gstquery.h:
13397         Bundling query position/duration is not a good idea since duration
13398         does not change much and we don't want to recalculate it for every
13399         position query, so they are separated again..
13400         Base value in segment query is not needed.
13401
13402         * gst/gstqueue.c: (gst_queue_handle_src_query):
13403         * gst/gstutils.c: (gst_element_query_position),
13404         (gst_element_query_duration), (gst_pad_query_position),
13405         (gst_pad_query_duration):
13406         * gst/gstutils.h:
13407         Updates for query API change.
13408         Added some docs here and there.
13409
13410 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
13411
13412         * check/gst/gstbin.c: (GST_START_TEST):
13413         * check/gst/gstghostpad.c: (GST_START_TEST):
13414         * check/pipelines/cleanup.c: (GST_START_TEST):
13415           wait on thread to die so we can check refcount correctly
13416
13417 2005-10-18  Wim Taymans  <wim@fluendo.com>
13418
13419         * check/pipelines/stress.c: (GST_START_TEST):
13420         Make check a little more time consuming.
13421
13422 2005-10-18  Wim Taymans  <wim@fluendo.com>
13423
13424         * check/Makefile.am:
13425         * check/pipelines/stress.c: (GST_START_TEST),
13426         (simple_launch_lines_suite), (main):
13427         Small state change torture test.
13428
13429         * docs/design/part-states.txt:
13430         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13431         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
13432         (gst_base_sink_change_state):
13433         Never take state lock from streaming thread, clean up ugly
13434         hacks. Unfortunatly core does not yet support nice ways to
13435         async commit state.
13436         
13437         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
13438         (bin_bus_handler):
13439         Start state recalc if a STATE_DIRTY message is posted, but only
13440         on the toplevel bin.
13441
13442         * gst/gstelement.c: (gst_element_sync_state_with_parent),
13443         (gst_element_get_state_func), (gst_element_abort_state),
13444         (gst_element_commit_state), (gst_element_lost_state),
13445         (gst_element_set_state_func), (gst_element_change_state):
13446         * gst/gstelement.h:
13447         State variables are now protected with the LOCK, the state
13448         lock is only used to serialize _set_state().
13449
13450 2005-10-18  Wim Taymans  <wim@fluendo.com>
13451
13452         * check/gst/gstbin.c: (GST_START_TEST):
13453         * check/gst/gstmessage.c: (GST_START_TEST):
13454         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13455         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
13456         (bin_bus_handler):
13457         * gst/gstelement.c: (gst_element_abort_state),
13458         (gst_element_commit_state), (gst_element_lost_state):
13459         * gst/gstmessage.c: (gst_message_new_state_changed),
13460         (gst_message_new_state_dirty), (gst_message_new_segment_start),
13461         (gst_message_new_segment_done), (gst_message_new_duration),
13462         (gst_message_parse_state_changed),
13463         (gst_message_parse_segment_start),
13464         (gst_message_parse_segment_done), (gst_message_parse_duration):
13465         * gst/gstmessage.h:
13466         * tools/gst-launch.c: (event_loop):
13467         Seriously, this is better than a previous commit as we only need
13468         to notify the fact that an element changed state in a streaming
13469         thread, marking the state of the parents dirty, hence the 
13470         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
13471         message.
13472
13473 2005-10-18  Wim Taymans  <wim@fluendo.com>
13474
13475         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
13476         (gst_bin_recalc_func):
13477         * gst/gstelement.c: (gst_element_set_clock),
13478         (gst_element_abort_state), (gst_element_lost_state):
13479         Cleanups, prepare for state change fixes.
13480
13481 2005-10-18  Wim Taymans  <wim@fluendo.com>
13482
13483         * gst/gstbin.h:
13484         * gst/gstelement.c: (gst_element_class_init),
13485         (gst_element_set_state), (gst_element_set_state_func):
13486         * gst/gstelement.h:
13487         Pending ABI changes.
13488         GThreadPool in GstBinClass to monitor async state changes.
13489         state_cookie in GstElement to detect concurrent gst/set state.
13490         set_state is now virtual too in case a very complicated element
13491         has to be constructed.
13492
13493 2005-10-18  Wim Taymans  <wim@fluendo.com>
13494
13495         * check/gst/gstbin.c: (GST_START_TEST):
13496         * check/gst/gstmessage.c: (GST_START_TEST):
13497         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13498         * gst/gstbin.c: (bin_bus_handler):
13499         * gst/gstelement.c: (gst_element_commit_state),
13500         (gst_element_lost_state):
13501         * gst/gstmessage.c: (gst_message_new_state_changed),
13502         (gst_message_new_segment_start), (gst_message_new_segment_done),
13503         (gst_message_new_duration), (gst_message_parse_state_changed),
13504         (gst_message_parse_segment_start),
13505         (gst_message_parse_segment_done), (gst_message_parse_duration):
13506         * gst/gstmessage.h:
13507         * tools/gst-launch.c: (event_loop):
13508         Make messages future proof.
13509         state-change gets a flag if it was a message comming from the
13510         streaming thread.
13511         segment-start/stop can also be specified in other formats.
13512         A message to notify an app that a pipeline changed playback 
13513         duration.
13514         Also fix a GstMessage leak in -launch
13515
13516 2005-10-18  Andy Wingo  <wingo@pobox.com>
13517
13518         * gst/gstelement.c (gst_element_dispose): More helpful message.
13519
13520 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13521
13522         reviewed by: <delete if not using a buddy>
13523
13524         * common/gtk-doc.mak:
13525
13526 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13527
13528         * gst/gstregistry.c: (gst_registry_scan_path_level):
13529           unref a plug-in we get that was already initialized
13530
13531 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
13532
13533         * docs/gst/gstreamer-sections.txt:
13534         * docs/libs/gstreamer-libs-sections.txt:
13535         * gst/gstelement.h:
13536           add new api entries
13537           hide internal macro
13538
13539 2005-10-17  Andy Wingo  <wingo@pobox.com>
13540
13541         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
13542         cleanup.
13543
13544         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
13545
13546         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
13547
13548         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
13549         (gst_element_get_state_func): Better debug message.
13550         (gst_element_commit_state): s/INFO/DEBUG/.
13551         (gst_element_lost_state, gst_element_change_state): 
13552
13553         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
13554         (gst_message_new_custom): s/INFO/LOG/.
13555
13556 2005-10-17  Michael Smith <msmith@fluendo.com>
13557
13558         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13559           Check if end time is valid using end time, not start time.
13560
13561 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
13562
13563         * check/gst-libs/controller.c: (GST_START_TEST),
13564         (gst_controller_suite):
13565         * libs/gst/controller/gstcontroller.c:
13566         (gst_controlled_property_set_interpolation_mode):
13567         * libs/gst/controller/gstcontroller.h:
13568         * libs/gst/controller/gstinterpolation.c:
13569         * testsuite/controller/.cvsignore:
13570         * testsuite/controller/Makefile.am:
13571         * testsuite/controller/interpolator.c:
13572           merge controller testsuites
13573           fix broken tests
13574           remove mem-chunk from docs
13575
13576 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
13577
13578         * gst/gstmemchunk.c:
13579         * gst/gstmemchunk.h:
13580         * gst/gsttrashstack.c:
13581         * gst/gsttrashstack.h:
13582           out.  get out.  you're fired.  to the Attic !
13583
13584 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
13585
13586         * gst/gstcaps.c: (gst_caps_intersect):
13587           fix signedness issues in a (hopefully) correct way
13588         * gst/gstelement.c: (gst_element_pads_activate):
13589           some debugging
13590         * gst/gstobject.c: (gst_object_set_parent):
13591           some debugging
13592
13593 2005-10-17  Julien MOUTTE  <julien@moutte.net>
13594
13595         * gst/gstvalue.h: Fix prototypes.
13596
13597 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13598
13599         * docs/gst/gstreamer-sections.txt:
13600         * gst/gst.c: (gst_version_string):
13601         * gst/gst.h:
13602         * gst/gstversion.h.in:
13603         * win32/common/libgstreamer.def:
13604           add gst_version_string ()
13605
13606 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13607
13608         * configure.ac:
13609           clean up further
13610         * gst/gst.c: (init_post):
13611         * win32/common/config.h.in:
13612           it's PLUGINDIR now
13613         * gst/gstcaps.c: (gst_caps_intersect):
13614           use gint64, the range could be bigger than a guint
13615
13616 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13617
13618         * gst/gstclock.h:
13619           document potential problem in 2038
13620
13621 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13622
13623         * gst/gstcaps.c: (gst_caps_intersect):
13624           Fix guint j diving under 0
13625
13626 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13627
13628         * configure.ac:
13629         * win32/common/config.h:
13630         * win32/common/config.h.in:
13631           check for process.h, declares getpid() on Windows
13632         * gst/gstinfo.c:
13633           include process.h if we have it
13634         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
13635         * gst/gstmemchunk.h:
13636           fix signedness issues
13637         * win32/common/libgstreamer.def:
13638           fix get_type's
13639
13640 2005-10-16  Julien MOUTTE  <julien@moutte.net>
13641
13642         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
13643         fix. Because of unsigned ints, caps intersection was going nuts and
13644         trying to access structures with G_MAXUINT index. That fixes
13645         videotestsrc ! ffmpegcolorspace ! fakesink
13646         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
13647         consistency.
13648
13649 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13650
13651         * configure.ac:
13652           use the gettext macro
13653         * gst/elements/gstelements.c:
13654         * gst/gst.c:
13655         * gst/indexers/gstindexers.c:
13656           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
13657         * win32/common/config.h:
13658           updated config.h
13659         * win32/common/config.h.in:
13660           add the template to generate config.h
13661         * win32/common/gstenumtypes.c:
13662         * win32/common/gstversion.h:
13663           updated copies
13664
13665 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13666
13667         * gst/gst.c: (gst_version):
13668         * gst/gstversion.h.in:
13669           add the nano
13670
13671 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
13672
13673         * gst/gstevent.h:
13674           Oops, add missing closing bracket.
13675
13676 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13677
13678         * configure.ac:
13679           use common m4's for argument checking
13680
13681 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
13682
13683         * docs/gst/gstreamer-sections.txt:
13684         * gst/gstevent.h:
13685           Add GST_EVENT_TYPE_NAME() macro.
13686
13687 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13688
13689         * gst/gstinfo.c:
13690         * gst/gstpluginfeature.c:
13691         * gst/gsttask.c:
13692           privatize more symbols
13693
13694 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13695
13696         * configure.ac:
13697           add srcdir, builddir includes to GST_ALL_CFLAGS, since
13698           everything that uses GStreamer API should have the includes
13699
13700 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13701
13702         * docs/gst/gstreamer-sections.txt:
13703         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13704         * gst/gstvalue.h:
13705           give each value a _get_type, removes the DATA exports
13706
13707 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13708
13709         * gst/gst.c:
13710         * gst/gst.h:
13711           remove _gst_registry_auto_load, not used anymore
13712         * gst/gstbin.c: (gst_bin_get_type):
13713         * gst/gstbin.h:
13714         * gst/gstelement.c: (gst_element_get_type):
13715         * gst/gstelement.h:
13716         * gst/gstobject.c: (gst_object_get_type):
13717         * gst/gstobject.h:
13718         * gst/gstpad.c: (gst_pad_get_type):
13719         * gst/gstpad.h:
13720           make _get_type functions similar, fixes data export from library
13721
13722 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13723
13724         * configure.ac:
13725           correctly make conditionals
13726         * gst/elements/Makefile.am:
13727         * gst/elements/gstelements.c:
13728           fix typo causing fdsrc not to build
13729
13730 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13731
13732         * testsuite/Makefile.am:
13733         * testsuite/bytestream/.cvsignore:
13734         * testsuite/bytestream/Makefile.am:
13735         * testsuite/bytestream/filepadsink.c:
13736         * testsuite/bytestream/gstbstest.c:
13737         * testsuite/bytestream/test1.c:
13738         * testsuite/bytestream/testfile1:
13739         * testsuite/caps/normalisation.c:
13740         * testsuite/caps/random.c: (main):
13741         * testsuite/cleanup/.cvsignore:
13742         * testsuite/cleanup/Makefile.am:
13743         * testsuite/cleanup/cleanup1.c:
13744         * testsuite/cleanup/cleanup2.c:
13745         * testsuite/cleanup/cleanup3.c:
13746         * testsuite/cleanup/cleanup4.c:
13747         * testsuite/cleanup/cleanup5.c:
13748         * testsuite/controller/interpolator.c:
13749         * testsuite/debug/printf_extension.c: (main):
13750         * testsuite/elements/tee.c:
13751         * testsuite/negotiation/.cvsignore:
13752         * testsuite/negotiation/Makefile.am:
13753         * testsuite/negotiation/pad_link.c:
13754         * testsuite/pad/Makefile.am:
13755         * testsuite/pad/chainnopull.c:
13756         * testsuite/pad/getnopush.c:
13757         * testsuite/pad/link.c:
13758         * testsuite/refcounting/sched.c: (create_pipeline):
13759         * testsuite/registry/Makefile.am:
13760         * testsuite/registry/gst-print-formats.c:
13761         * testsuite/schedulers/.cvsignore:
13762         * testsuite/schedulers/142183-2.c:
13763         * testsuite/schedulers/142183.c:
13764         * testsuite/schedulers/143777-2.c:
13765         * testsuite/schedulers/143777.c:
13766         * testsuite/schedulers/147713.c:
13767         * testsuite/schedulers/147819.c:
13768         * testsuite/schedulers/147894-2.c:
13769         * testsuite/schedulers/147894.c:
13770         * testsuite/schedulers/Makefile.am:
13771         * testsuite/schedulers/group_link.c:
13772         * testsuite/schedulers/queue_link.c:
13773         * testsuite/schedulers/relink.c:
13774         * testsuite/schedulers/unlink.c:
13775         * testsuite/schedulers/unref.c:
13776         * testsuite/schedulers/useless_iteration.c:
13777         * testsuite/states/bin.c:
13778           clean out/remove some stuff from the testsuite directories
13779
13780 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13781
13782         * configure.ac:
13783           check for some headers
13784         * gst/elements/Makefile.am:
13785         * gst/elements/gstelements.c:
13786           don't compile fdsrc without sys/socket.h
13787         * gst/indexers/Makefile.am:
13788         * gst/indexers/gstindexers.c: (plugin_init):
13789           don't compile fileindex without mmap
13790
13791 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13792
13793         * configure.ac:
13794           reorganize
13795           clean up
13796           document more
13797           remove cruft
13798         * check/Makefile.am:
13799         * docs/gst/Makefile.am:
13800         * examples/helloworld/Makefile.am:
13801         * gst/Makefile.am:
13802         * gst/base/Makefile.am:
13803         * gst/check/Makefile.am:
13804         * gst/elements/Makefile.am:
13805         * gst/indexers/Makefile.am:
13806         * gst/parse/Makefile.am:
13807         * libs/gst/controller/Makefile.am:
13808         * libs/gst/dataprotocol/Makefile.am:
13809         * examples/helloworld/helloworld.c: (event_loop):
13810           compile fixes, though it's not being compiled currently
13811
13812 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
13813
13814         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
13815           Add some simple tests for the new taglist date API.
13816
13817 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
13818
13819         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
13820         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
13821           Beautify 'last-message' output: print 'none' for buffer timestamps
13822           and durations if none is set; improve alignment with next messages.
13823
13824 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
13825
13826         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
13827         * gst/gstpluginfeature.h:
13828         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
13829         * gst/gstregistry.h:
13830         * docs/gst/gstreamer-sections.txt:
13831           Add new API to check plugin feature version requirements.
13832
13833         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
13834           Some basic tests for the above.         
13835
13836 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13837
13838         * gst/gststructure.c: (gst_structure_to_string):
13839           guard against NULL printf - happens when for example
13840           a message structure with GstClock gets serialized
13841
13842 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
13843
13844         * gst/base/gstcollectpads.c: (gst_collectpads_event):
13845           Fix presumable copy'n'pasto.
13846
13847 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13848
13849         * gst/elements/gstfakesrc.h:
13850         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
13851         * gst/elements/gsttypefindelement.c:
13852           fix some signedness
13853         * gst/elements/gstfilesink.c: (gst_file_sink_render):
13854           I wonder if this could actually write +2GB files before
13855
13856 2005-10-13  Andy Wingo  <wingo@pobox.com>
13857
13858         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
13859         Fix Timmeke Waymans bug.
13860         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
13861         string of the proper length to gst_caps_from_string. There's a
13862         potential for, before this fix, that this could cause someone
13863         connecting over the network to cause a segfault if the payload is
13864         not NUL-terminated.
13865
13866 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
13867
13868         * docs/design/draft-push-pull.txt:
13869         * docs/design/part-overview.txt:
13870         * docs/random/TODO-pre-0.9:
13871         * docs/random/old/ChangeLog.gstreamer:
13872         * gst/base/gstpushsrc.c:
13873         * gst/gstclock.c:
13874           fixed typos
13875
13876 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13877
13878         * gst/glib-compat.c: (gst_flags_get_first_value):
13879         * gst/glib-compat.h:
13880         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
13881         (gst_value_compare_double), (gst_value_serialize_flags):
13882           GLib 2.6 g_flags_get_first_value has a bug that triggers an
13883           infinite loop
13884
13885 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13886
13887         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13888         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13889           fix up debugging
13890         * tools/gst-launch.c: (event_loop):
13891           print out clock nicely
13892
13893 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
13894
13895         * docs/gst/gstreamer-sections.txt:
13896         * gst/gsttaglist.h:
13897         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
13898         (gst_tag_list_get_date_index):
13899           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
13900           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
13901
13902 2005-10-13  Julien MOUTTE  <julien@moutte.net>
13903
13904         * gst/base/gstcollectpads.c: (gst_collectpads_event),
13905         (gst_collectpads_chain):
13906         * gst/base/gstcollectpads.h: Handle newsegment and store informations
13907         in CollectData.
13908
13909 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
13910
13911         * docs/gst/gstreamer-sections.txt:
13912         * gst/gst.c:
13913         * gst/gsterror.h:
13914         * tools/gst-inspect.c: (main):
13915         * tools/gst-launch.c: (main):
13916         * tools/gst-run.c: (main):
13917         * tools/gst-xmlinspect.c: (main):
13918           fix GOption context leaks
13919           doc fixes
13920
13921 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13922
13923         * gst/gstbus.c:
13924           use HAVE_UNISTD_H
13925         * win32/common/config.h:
13926           update config
13927         * win32/vs6/grammar.dsp:
13928         * win32/vs6/libgstelements.dsp:
13929         * win32/vs6/libgstreamer.dsp:
13930           update vs6 files
13931
13932 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13933
13934         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13935         * gst/base/gstbasesrc.c: (gst_base_src_query):
13936           fix more guint64<->gdouble conversions
13937
13938 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13939
13940         * Makefile.am:
13941           add win32-update target
13942         * win32/common/gstconfig.h:
13943         * win32/common/gstenumtypes.c:
13944         * win32/common/gstenumtypes.h:
13945         * win32/common/gstversion.h:
13946           add files that visual studio can't generate
13947
13948 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13949
13950         * Makefile.am:
13951           add a win32-update target
13952         * configure.ac:
13953
13954 2005-10-12  Wim Taymans  <wim@fluendo.com>
13955
13956         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
13957         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
13958         * gst/gstelement.c: (gst_element_commit_state),
13959         (gst_element_set_state):
13960         Protect flags with proper lock.
13961         unref provided cached clock in dispose.
13962
13963 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
13964
13965         * gst/gst.c:
13966         * gst/gstminiobject.h:
13967         * gst/gstpad.h:
13968         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
13969           removed unused flags from miniobject
13970           doc fixes
13971
13972 2005-10-12  Wim Taymans  <wim@fluendo.com>
13973
13974         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13975         (gst_file_sink_event), (gst_file_sink_render):
13976         Flush before seeking.
13977
13978 2005-10-12  Andy Wingo  <wingo@pobox.com>
13979
13980         * gst/gst.c (gst_init_check): Ignore unknown options, as has
13981         always been the case.
13982
13983 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
13984
13985         * check/gst/gstbin.c: (GST_START_TEST):
13986         * docs/gst/gstreamer-sections.txt:
13987         * gst/base/gstbasesink.c: (gst_base_sink_init):
13988         * gst/base/gstbasesrc.c: (gst_base_src_init),
13989         (gst_base_src_get_range), (gst_base_src_check_get_range),
13990         (gst_base_src_start), (gst_base_src_stop):
13991         * gst/base/gstbasesrc.h:
13992         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
13993         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
13994         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
13995         (bin_bus_handler):
13996         * gst/gstbin.h:
13997         * gst/gstbuffer.h:
13998         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
13999         * gst/gstbus.h:
14000         * gst/gstelement.c: (gst_element_is_locked_state),
14001         (gst_element_set_locked_state), (gst_element_commit_state),
14002         (gst_element_set_state):
14003         * gst/gstelement.h:
14004         * gst/gstindex.c: (gst_index_init):
14005         * gst/gstindex.h:
14006         * gst/gstminiobject.h:
14007         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
14008         (gst_object_set_parent):
14009         * gst/gstobject.h:
14010         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
14011         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
14012         * gst/gstpad.h:
14013         * gst/gstpadtemplate.h:
14014         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
14015         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14016         * gst/gstpipeline.h:
14017         * gst/indexers/gstfileindex.c: (gst_file_index_load),
14018         (gst_file_index_commit):
14019         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
14020         * testsuite/pad/link.c: (gst_test_src_init),
14021         (gst_test_filter_init), (gst_test_sink_init):
14022         * testsuite/states/locked.c: (main):
14023           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
14024           moved bitshift from macro to enum definition
14025
14026 2005-10-12  Wim Taymans  <wim@fluendo.com>
14027
14028         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
14029         * gst/elements/gstfilesink.c: (gst_file_sink_event),
14030         (gst_file_sink_render):
14031         Some more debugging info.
14032
14033 2005-10-12  Wim Taymans  <wim@fluendo.com>
14034
14035         * docs/design/part-states.txt:
14036         * tools/gst-launch.c: (main):
14037         Some doc updates.
14038         Revert non-intentional change.
14039
14040 2005-10-12  Wim Taymans  <wim@fluendo.com>
14041
14042         * check/gst/gstbin.c: (GST_START_TEST):
14043         * check/gst/gstelement.c: (GST_START_TEST):
14044         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
14045         * check/gst/gstghostpad.c: (GST_START_TEST):
14046         * check/gst/gstpipeline.c: (GST_START_TEST):
14047         * check/pipelines/simple_launch_lines.c: (run_pipeline):
14048         * check/states/sinks.c: (GST_START_TEST):
14049         * gst/elements/gsttypefindelement.c: (stop_typefinding):
14050         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14051         (gst_bin_remove_func), (gst_bin_get_state_func),
14052         (gst_bin_recalc_state), (gst_bin_change_state_func),
14053         (bin_bus_handler):
14054         * gst/gstelement.c: (gst_element_get_state_func),
14055         (gst_element_get_state), (gst_element_abort_state),
14056         (gst_element_commit_state), (gst_element_set_state),
14057         (gst_element_change_state), (gst_element_change_state_func):
14058         * gst/gstelement.h:
14059         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
14060         (gst_pipeline_provide_clock_func):
14061         * gst/gstutils.c: (gst_element_link_pads_filtered):
14062         * tools/gst-launch.c: (main):
14063         * tools/gst-typefind.c: (main):
14064         Use GstClockTime in _get_state() instead of GTimeVal.
14065         Remove old code in gstutils.c
14066
14067 2005-10-12  Andy Wingo  <wingo@pobox.com>
14068
14069         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
14070         removed.
14071
14072         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
14073         there is no task. Shouldn't affect any code, as nothing in our
14074         plugins checks this return value.
14075         (gst_pad_stop_task): Also take the stream lock if the pad has no
14076         task. Docs updated.
14077
14078 2005-10-12  Wim Taymans  <wim@fluendo.com>
14079
14080         * gst/gstpad.c: (pre_activate), (post_activate),
14081         (gst_pad_activate_pull), (gst_pad_activate_push):
14082         Cleanup activation code. Reset old state if
14083         activation failed.
14084
14085 2005-10-12  Wim Taymans  <wim@fluendo.com>
14086
14087         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14088         (gst_base_sink_change_state):
14089         No need to prerol after receiving EOS.
14090
14091         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
14092         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
14093         * gst/elements/gstidentity.c: (gst_identity_event):
14094         Print events more verbosely.
14095
14096 2005-10-12  Wim Taymans  <wim@fluendo.com>
14097
14098         * check/Makefile.am:
14099         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
14100         * check/states/sinks2.c:
14101         Moved sinks2 testcode in sinks check.
14102
14103         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14104         (gst_bin_remove_func), (gst_bin_recalc_state),
14105         (gst_bin_change_state_func), (bin_bus_handler):
14106         Fix potential race condition when _get_state() iterated over an
14107         ASYNC element right before it posted a state completion.
14108
14109         * gst/gstclock.h:
14110         Do proper cast here.
14111
14112         * gst/gstevent.c: (gst_event_new_newsegment),
14113         (gst_event_parse_newsegment):
14114         A playback rate of 0.0 is not allowed.
14115
14116 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14117
14118         * win32/common/config.h:
14119         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
14120         (_trewinddir), (_ttelldir), (_tseekdir):
14121         * win32/common/dirent.h:
14122         * win32/common/gtchar.h:
14123         * win32/common/libgstbase.def:
14124         * win32/common/libgstreamer.def:
14125         * win32/vs6/grammar.dsp:
14126         * win32/vs6/gst_inspect.dsp:
14127         * win32/vs6/gst_launch.dsp:
14128         * win32/vs6/gstreamer.dsw:
14129         * win32/vs6/libgstbase.dsp:
14130         * win32/vs6/libgstelements.dsp:
14131         * win32/vs6/libgstreamer.dsp:
14132           Visual Studio 6 project files, and a new common directory.
14133           Phear.
14134
14135 2005-10-11  Wim Taymans  <wim@fluendo.com>
14136
14137         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14138         (gst_base_sink_do_sync), (gst_base_sink_query),
14139         (gst_base_sink_change_state):
14140         * gst/base/gstbasesink.h:
14141         Correctly parse newsegment info.
14142
14143 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14144
14145         * gst/gst.c: (init_post):
14146           split plugin paths correctly
14147
14148 2005-10-11  Wim Taymans  <wim@fluendo.com>
14149
14150         * check/gst/gstevent.c: (GST_START_TEST):
14151         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14152         (gst_base_sink_change_state):
14153         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
14154         * gst/base/gstbasetransform.c: (gst_base_transform_event):
14155         * gst/elements/gstfilesink.c: (gst_file_sink_event):
14156         * gst/gstevent.c: (gst_event_new_newsegment),
14157         (gst_event_parse_newsegment):
14158         * gst/gstevent.h:
14159         Added extra flag to newsegment for future API freeze.
14160         Updated check and base elements.
14161
14162 2005-10-11  Julien MOUTTE  <julien@moutte.net>
14163
14164         * gst/base/gstcollectpads.c: (gst_collectpads_init),
14165         (gst_collectpads_add_pad), (gst_collectpads_pop),
14166         (gst_collectpads_event), (gst_collectpads_chain):
14167         * gst/base/gstcollectpads.h: Handle EOS correctly.
14168
14169 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14170
14171         * tools/gst-launch.c: (main):
14172           more null protecting
14173
14174 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14175
14176         * gst/gst-i18n-lib.h:
14177           check for ENABLE_NLS, not GETTEXT_PACKAGE
14178         * gst/gstregistry.c: (gst_registry_add_plugin),
14179         (gst_registry_scan_path_level),
14180         (_gst_registry_remove_cache_plugins):
14181           protect possibly NULL strings
14182         * gst/parse/types.h:
14183           config.h already included before
14184         * tools/gst-inspect.c: (main):
14185           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
14186           check for ENABLE_NLS, not GETTEXT_PACKAGE
14187         * tools/gst-launch.c: (main):
14188           check for ENABLE_NLS, not GETTEXT_PACKAGE
14189
14190 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14191
14192         * configure.ac:
14193           if we don't have glib, fail before testing 2.8
14194         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
14195           fix a leak, should fix plugins-base testsuite
14196
14197 2005-10-11  Andy Wingo  <wingo@pobox.com>
14198
14199         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
14200         take the mode we're going to as an arg. Go head and set the mode
14201         and flushing flags now, so that if the activate function starts a
14202         thread all the flags will be in the right state.
14203         (post_activate): Renamed also. Just handle making sure streaming
14204         finishes for the deactivation case, and setting the deactivated
14205         mode.
14206         (gst_pad_set_active): Complain loudly if deactivation fails.
14207         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
14208         (gst_pad_activate_push): Adapt to pre/post_activate changes,
14209         remove the terrible hack.
14210
14211 2005-10-11  Wim Taymans  <wim@fluendo.com>
14212
14213         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14214         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
14215         (gst_bin_recalc_state), (gst_bin_change_state_func),
14216         (gst_bin_dispose), (bin_bus_handler):
14217         * gst/gstbin.h:
14218         Prepare to make current EOS message queue more generic.
14219         Fix some typos.
14220
14221         * gst/gstevent.c: (gst_event_new_newsegment),
14222         (gst_event_parse_newsegment):
14223         * gst/gstevent.h:
14224         Rename base to stream_time.
14225
14226         * gst/gstmessage.h:
14227         Fix typo in docs.
14228
14229 2005-10-11  Wim Taymans  <wim@fluendo.com>
14230
14231         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14232         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
14233         (gst_bin_change_state_func), (bin_bus_handler):
14234         * gst/gstbin.h:
14235         Work on proper clock selection.
14236
14237 2005-10-11  Edward Hervey  <edward@fluendo.com>
14238
14239         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
14240         * libs/gst/controller/gstcontroller.h:
14241         Added GList* version of _remove_properties() in order to be able to wrap
14242         it in bindings.
14243
14244 2005-10-11  Wim Taymans  <wim@fluendo.com>
14245
14246         * docs/design/part-states.txt:
14247         Some more docs.
14248
14249         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
14250         (gst_bin_change_state_func), (bin_bus_handler):
14251         Doc updates. Don't distribute the same clock over and over again.
14252
14253         * gst/gstclock.c:
14254         * gst/gstclock.h:
14255         Doc updates.
14256
14257         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
14258         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
14259         (gst_pad_send_event):
14260         * gst/gstpad.h:
14261         Make probe emission threadsafe again.
14262         Register quarks and move _get_name() from utils.
14263         Doc updates.
14264
14265         * gst/gstpipeline.c: (gst_pipeline_class_init),
14266         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14267         Only redistribute the clock of it changed.
14268
14269         * gst/gstsystemclock.h:
14270         Doc updates. 
14271
14272         * gst/gstutils.c:
14273         * gst/gstutils.h:
14274         Moved the _flow_get_name() to GstPad.
14275
14276 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14277
14278         * check/gst-libs/gdp.c: (GST_START_TEST):
14279         * check/gst/gstcaps.c: (GST_START_TEST):
14280         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
14281         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
14282         (gst_dp_packet_from_caps):
14283           fix more valgrind warnings before turning up the heat
14284
14285 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14286
14287         * gst/parse/grammar.y:
14288           some cleanup before the hacking
14289
14290 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14291
14292         * gst/base/gstbasesrc.c: (gst_base_src_query):
14293           use conversions
14294         * gst/gstutils.c: (gst_guint64_to_gdouble),
14295         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
14296         * gst/gstutils.h:
14297           externalize, basesrc uses it
14298           obviously the implementation needs testing
14299
14300 2005-10-10  Wim Taymans  <wim@fluendo.com>
14301
14302         * tests/sched/Makefile.am:
14303         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
14304         (make_pipeline3), (make_pipeline4), (print_elem), (main):
14305
14306 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14307
14308         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
14309           apparently converting from guint64 to double is not implemented
14310           on MSVC
14311
14312 2005-10-10  Wim Taymans  <wim@fluendo.com>
14313
14314         * check/Makefile.am:
14315         * check/generic/states.c: (GST_START_TEST):
14316         * check/gst/gstbin.c: (GST_START_TEST):
14317         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
14318         * check/states/sinks.c: (GST_START_TEST):
14319         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
14320         (main):
14321         Check fixes, use API as stated in design docs, remove hacks.
14322
14323         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14324         (gst_base_sink_change_state):
14325         Catch stopping our task while we're shutting down.
14326
14327         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
14328         (gst_bin_remove_func), (gst_bin_get_state_func),
14329         (gst_bin_recalc_state), (gst_bin_change_state_func),
14330         (bin_bus_handler):
14331         * gst/gstbin.h:
14332         * gst/gstelement.c: (gst_element_init),
14333         (gst_element_get_state_func), (gst_element_abort_state),
14334         (gst_element_commit_state), (gst_element_lost_state),
14335         (gst_element_set_state), (gst_element_change_state),
14336         (gst_element_change_state_func):
14337         * gst/gstelement.h:
14338         New state change algorithm (see #318116)
14339
14340         * gst/gstpipeline.c: (gst_pipeline_class_init),
14341         (gst_pipeline_init), (gst_pipeline_set_property),
14342         (gst_pipeline_get_property), (do_pipeline_seek),
14343         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14344         * gst/gstpipeline.h:
14345         Remove crude state change hacks.
14346
14347         * gst/gstutils.h:
14348         Remove crude hacks.
14349
14350         * tools/gst-launch.c: (main):
14351         Fixes for state change. Needs some more work to fully use the
14352         new stuff.
14353
14354 2005-10-10  Andy Wingo  <wingo@pobox.com>
14355
14356         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
14357
14358         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
14359         this flag, but it's not even in GLib 2.6. Odd. Hack around the
14360         issue.
14361
14362 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14363
14364         * gst/gstiterator.c: (gst_iterator_new):
14365           Fix my previous commit: GTypes passed to gst_iterator_new()
14366           can be fundamental types.
14367
14368 2005-10-10  Wim Taymans  <wim@fluendo.com>
14369
14370         * gst/gstelement.c: (gst_element_iterate_pad_list),
14371         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
14372         (gst_element_iterate_sink_pads):
14373         Use src/sink pads lists for the respective iterators instead
14374         of filtering.
14375
14376 2005-10-10  Andy Wingo  <wingo@pobox.com>
14377
14378         Merged in popt removal + GOption addition patch from Ronald, bug
14379         #169772.
14380
14381         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
14382         GstElement macros around, remove popt-related symbols, add goption
14383         stuff.
14384
14385         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
14386         
14387         * docs/gst/Makefile.am:
14388         * docs/libs/Makefile.am: No POPT_CFLAGS.
14389         
14390         * examples/manual/Makefile.am:
14391         * docs/manual/basics-init.xml: Doc updates with an example.
14392         
14393         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
14394         (gst_init), (parse_one_option), (parse_goption_arg):
14395         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
14396         bit of hand merging and debugging to get the GOption stuff working
14397         tho.
14398         
14399         * tests/Makefile.am:
14400         * tools/Makefile.am:
14401         * tools/gst-inspect.c: (main):
14402         * tools/gst-launch.c: (main):
14403         * tools/gst-run.c: (main):
14404         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
14405
14406 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14407
14408         * gst/gstiterator.c: (gst_iterator_new):
14409           Add assertions to make sure passed GType is likely to really
14410           be a GType (as the compiler won't catch it if the size and
14411           GType arguments get mixed up, see #318447).
14412
14413 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
14414
14415         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14416
14417         * gst/gstbin.c: (gst_bin_iterate_sorted):
14418           Pass GType and size arguments to gst_iterator_new() in the right
14419           order (maybe we should make _new() take the GType as first argument
14420           just like _new_list()?) (#318447).
14421           
14422
14423 2005-10-10  Wim Taymans  <wim@fluendo.com>
14424
14425         * gst/gstelement.c: (gst_element_finalize):
14426         And free the GStaticRecMutex too
14427
14428 2005-10-10  Andy Wingo  <wingo@pobox.com>
14429
14430         * gst/gstelement.c (gst_element_init, gst_element_finalize):
14431         Allocate and free the mutex properly.
14432
14433         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
14434         New macros.
14435         (GstElement): The state_lock is now recursive. Rebuild your
14436         plugins, suckers. Old macros adapted.
14437
14438         * docs/gst/gstreamer-sections.txt: Doc updates.
14439
14440         * gst/gstutils.h:
14441         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
14442         (g_static_rec_cond_wait): Ported from state changes patch, while
14443         we wait on bug #317802 to be solved in a well-distributed GLib.
14444
14445         * gst/gstelement.c (gst_element_change_state_func): Renamed from
14446         gst_element_change_state, variable name changes.
14447         (gst_element_change_state): Split out of gst_element_set_state in
14448         preparation for the state change merge. Doesn't pay attention to
14449         the 'transition' argument.
14450         (gst_element_set_state): Updates, hopefully purely cosmetic.
14451         (gst_element_sync_state_with_parent): MT-safety. Ported from the
14452         state change patch.
14453         (gst_element_get_state_func): Renamed from get_state, cosmetic
14454         changes.
14455
14456 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14457
14458         * gst/elements/gstelements.c:
14459         * win32/GStreamer.vcproj:
14460         * win32/config.h:
14461         * win32/dirent.c: (_tseekdir):
14462         * win32/gst-inspect.vcproj:
14463         * win32/gst-launch.vcproj:
14464         * win32/gstconfig.h:
14465         * win32/gstelements.vcproj:
14466         * win32/gstenumtypes.c: (gst_object_flags_get_type):
14467         * win32/gstreamer.def:
14468         * win32/msvc71.sln:
14469           updates for the win32 build (patch from Sebastien Moutte)
14470
14471 2005-10-10  Andy Wingo  <wingo@pobox.com>
14472
14473         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
14474         gst_bin_get_state, cleaned up (but no logic changes).
14475         (bin_element_is_sink): Comment updates.
14476         (sink_iterator_filter): Remove needless cast.
14477         (gst_bin_iterate_sinks): Doc update.
14478         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
14479         cleaned up (but no logic changes).
14480
14481         * check/states/sinks.c (test_src_sink): Cleanups from the state
14482         change patch.
14483         (test_livesrc_sink): Sync on the state.
14484
14485         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
14486         the state change patch.
14487
14488         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
14489         change patch.
14490
14491         * check/gst/gstbin.c: Merge in some style fixes and additional
14492         checks from Wim's state change patch.
14493
14494 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14495
14496         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14497         (gst_type_find_helper):
14498           Check whether we have the requested data already in our list of
14499           cached buffers before pulling a new buffer; also make the buffer
14500           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
14501
14502 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14503
14504         * gst/gstcaps.c:
14505         * gst/gstevent.c:
14506           doc updates
14507         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14508           don't use long long, it's not portable.  Replacing with
14509           gint64 seems to work; let's hope no skeletons fall out of the closet.
14510
14511 2005-10-10  Andy Wingo  <wingo@pobox.com>
14512
14513         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
14514
14515 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
14516
14517         * docs/gst/gstreamer-sections.txt:
14518         * gst/gstevent.c:
14519         * gst/gstevent.h:
14520         * gst/gstinfo.c:
14521         * gst/gstinfo.h:
14522         * gst/gstmessage.c: (gst_message_parse_state_changed):
14523         * gst/gstpad.c:
14524         * gst/gstpad.h:
14525           more docs, fix compilation
14526
14527 2005-10-09  Philippe Khalaf <burger@speedy.org>
14528         * gst/gstmessage.c:
14529           Fixed a few forgotten variables on previous commit
14530
14531 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
14532
14533         * gst/base/gsttypefindhelper.c: (helper_find_peek):
14534           Fix evil typefind crasher: getrange() might return a short
14535           buffer at the end of a file, but gst_type_find_peek() must
14536           either return the full data as requested or NULL, but
14537           never a short buffer.
14538
14539 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14540
14541         * gst/gstmessage.c: (gst_message_new_state_changed),
14542         (gst_message_parse_state_changed):
14543         * gst/gstmessage.h:
14544           don't use "new", it's a C++ keyword
14545
14546 2005-10-08  Wim Taymans  <wim@fluendo.com>
14547
14548         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
14549         * gst/gstelement.c: (gst_element_post_message):
14550         * gst/gstpipeline.c: (gst_pipeline_change_state):
14551         Small docs and debug updates.
14552
14553 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
14554
14555         * docs/gst/gstreamer-sections.txt:
14556         * gst/gstelementfactory.c:
14557         * gst/gstevent.c:
14558         * gst/gsttaglist.c:
14559           more docs
14560
14561 2005-10-08  Wim Taymans  <wim@fluendo.com>
14562
14563         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
14564         (gst_bin_dispose), (bin_bus_handler):
14565         Fix typos, add comments.
14566         Clear EOS list when going to PAUSED from any direction and do it
14567         in a threadsafe way.
14568         Get base time in a threadsafe way too.
14569         Fix confusing debug in the change_state function.
14570         Various other small cleanups.
14571         
14572         * gst/gstelement.c: (gst_element_post_message):
14573         Fix very verbose bus posting code.
14574
14575         * gst/gstpipeline.c: (gst_pipeline_class_init),
14576         (gst_pipeline_set_property), (gst_pipeline_get_property),
14577         (gst_pipeline_change_state):
14578         Small ARG_ -> PROP_ cleanup
14579
14580 2005-10-08  Wim Taymans  <wim@fluendo.com>
14581
14582         * gst/gstbin.c: (is_eos), (bin_bus_handler):
14583         Do a less CPU demanding EOS check because we can.
14584
14585 2005-10-08  Wim Taymans  <wim@fluendo.com>
14586
14587         * libs/gst/dataprotocol/dataprotocol.c:
14588         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14589         (gst_dp_packet_from_event):
14590         * libs/gst/dataprotocol/dataprotocol.h:
14591         * libs/gst/dataprotocol/dp-private.h:
14592         It's about time we bump the version number.
14593         Since event types don't fit in the guint8 anymore describing
14594         the payload type, make payload type 16 bits wide.
14595
14596 2005-10-08  Wim Taymans  <wim@fluendo.com>
14597
14598         * docs/design/part-TODO.txt:
14599         * docs/design/part-clocks.txt:
14600         * docs/design/part-events.txt:
14601         * docs/design/part-gstbin.txt:
14602         * docs/design/part-gstelement.txt:
14603         * docs/design/part-gstpipeline.txt:
14604         * docs/design/part-live-source.txt:
14605         * docs/design/part-messages.txt:
14606         * docs/design/part-overview.txt:
14607         * docs/design/part-states.txt:
14608         Many doc updates.
14609
14610 2005-10-08  Wim Taymans  <wim@fluendo.com>
14611
14612         * gst/gstevent.c:
14613         * gst/gstevent.h:
14614         Fix event quark registration.
14615         Add some space between events so we can insert them in the
14616         right groups.
14617
14618 2005-10-08  Wim Taymans  <wim@fluendo.com>
14619
14620         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14621         (gst_base_sink_handle_buffer):
14622         Better log message.
14623
14624         * gst/gstbus.h:
14625         * gst/gstelement.h:
14626         More docs.
14627
14628         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
14629         (gst_queue_set_property), (gst_queue_get_property):
14630         * gst/gstqueue.h:
14631         Remove old unused properties.
14632
14633 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
14634         * docs/gst/gstreamer-sections.txt:
14635         * gst/gstmessage.c:
14636         * gst/gstmessage.h:
14637         * gst/gstminiobject.c:
14638         * gst/gstminiobject.h:
14639         * gst/gstobject.h:
14640         * gst/gstpad.h:
14641         * gst/gstutils.h:
14642           lots of new docs and doc fixes
14643
14644 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14645
14646         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
14647         * gst/gstplugin.h:
14648         * gst/gstregistry.c: (gst_registry_lookup_locked),
14649         (gst_registry_scan_path_level):
14650         * gst/gstregistryxml.c: (load_plugin):
14651           Only ever load one plugin for a given plugin basename.
14652           This ensures correct overriding of GST_PLUGIN_PATH over
14653           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
14654           system installed plugins.
14655
14656 2005-10-08  Wim Taymans  <wim@fluendo.com>
14657
14658         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14659         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
14660         Prepare for doing QOS.
14661
14662 2005-10-08  Wim Taymans  <wim@fluendo.com>
14663
14664         * check/gst/gstbin.c: (GST_START_TEST):
14665         * check/pipelines/cleanup.c: (GST_START_TEST):
14666         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14667         Allow new clock message too.
14668
14669 2005-10-08  Wim Taymans  <wim@fluendo.com>
14670
14671         * gst/gstmessage.c: (gst_message_new_error),
14672         (gst_message_new_warning), (gst_message_new_tag),
14673         (gst_message_new_state_changed), (gst_message_new_clock_provide),
14674         (gst_message_new_clock_lost), (gst_message_new_new_clock),
14675         (gst_message_new_segment_start), (gst_message_new_segment_done),
14676         (gst_message_parse_state_changed),
14677         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
14678         (gst_message_parse_new_clock):
14679         * gst/gstmessage.h:
14680         Also carry the clock in question.
14681
14682 2005-10-08  Wim Taymans  <wim@fluendo.com>
14683
14684         * gst/gstmessage.c: (gst_message_new_custom),
14685         (gst_message_new_eos), (gst_message_new_error),
14686         (gst_message_new_warning), (gst_message_new_tag),
14687         (gst_message_new_state_changed), (gst_message_new_clock_provide),
14688         (gst_message_new_new_clock), (gst_message_new_segment_start),
14689         (gst_message_new_segment_done), (gst_message_parse_state_changed),
14690         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
14691         * gst/gstmessage.h:
14692         Clean up.
14693         Added clock related messages.
14694
14695         * gst/gstpipeline.c: (gst_pipeline_change_state):
14696         Post message when the clock changed.
14697
14698         * tools/gst-launch.c: (event_loop):
14699         Print new clock.
14700
14701 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
14702
14703         * tools/gst-inspect.c: (print_element_properties_info):
14704           Can't pass NULL strings to g_print() on windows.
14705
14706 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14707
14708         * docs/Makefile.am:
14709         * docs/gst/Makefile.am:
14710         * docs/gst/gstreamer-docs.sgml:
14711         * docs/gst/running.xml:
14712         * docs/version.entities.in:
14713           add a chapter on running GStreamer.
14714           document GST_DEBUG and GST_PLUGIN* env vars
14715
14716 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14717
14718         * Makefile.am:
14719           remove include dir
14720         * configure.ac:
14721           remove PLUGINS_BUILDDIR stuff
14722         * gst/gst.c: (init_post):
14723           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
14724         * idiottest.mak:
14725           remove, it was condescending and not needed
14726
14727 2005-10-08  Wim Taymans  <wim@fluendo.com>
14728
14729         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
14730         (gst_base_sink_handle_object), (gst_base_sink_event),
14731         (gst_base_sink_wait), (gst_base_sink_handle_event),
14732         (gst_base_sink_change_state):
14733         * gst/base/gstbasesink.h:
14734         Repost EOS message while going to PLAYING if still EOS.
14735         Make sure that when receiving a FLUSH_START we don't attempt
14736         to sync on the clock anymore.
14737
14738 2005-10-08  Wim Taymans  <wim@fluendo.com>
14739
14740         * tools/gst-launch.c: (event_loop):
14741         Better message printout.
14742
14743 2005-10-08  Wim Taymans  <wim@fluendo.com>
14744
14745         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
14746         (gst_bin_child_proxy_get_children_count):
14747         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14748         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
14749         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
14750         (gst_child_proxy_set_valist):
14751         * gst/parse/grammar.y:
14752         Make ChildProxy threadsafe and fix mem leaks.
14753
14754 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14755
14756         * gst/gst.c: (init_post):
14757           debug the GST_PLUGIN_ env vars
14758
14759 2005-10-08  Wim Taymans  <wim@fluendo.com>
14760
14761         * check/gst/gstbin.c: (GST_START_TEST):
14762         * check/gst/gstmessage.c: (GST_START_TEST):
14763         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
14764         * gst/gstelement.c: (gst_element_commit_state),
14765         (gst_element_lost_state):
14766         * gst/gstmessage.c: (gst_message_new_state_changed),
14767         (gst_message_parse_state_changed):
14768         * gst/gstmessage.h:
14769         * tools/gst-launch.c: (event_loop):
14770         Added extra field to STATE_CHANGE message with the pending
14771         state, which will be different from the new state soon.
14772
14773 2005-10-08  Wim Taymans  <wim@fluendo.com>
14774
14775         * gst/gstbus.c: (gst_bus_pop):
14776         * gst/gstclock.c:
14777         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
14778         Small cleanups and doc updates.
14779
14780 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14781
14782         * gst/gst.c: (init_pre):
14783         * gst/gstbin.c: (gst_bin_add_func):
14784           log distributing clocks and base time
14785         * gst/gstregistry.c: (gst_registry_add_plugin),
14786         (gst_registry_scan_path_level), (gst_registry_scan_path):
14787           clean up the debugging output a little
14788         * gst/gstutils.c: (gst_element_state_get_name):
14789           warn about a memleak (I've actually seen this be used, though
14790           it was probably a bug)
14791
14792 2005-10-07  Wim Taymans  <wim@fluendo.com>
14793
14794         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14795         (gst_base_src_init), (gst_base_src_default_newsegment),
14796         (gst_base_src_newsegment), (gst_base_src_do_seek),
14797         (gst_base_src_loop), (gst_base_src_start):
14798         * gst/base/gstbasesrc.h:
14799         Make the newsegment event customizable by subclasses.
14800
14801 2005-10-07  Wim Taymans  <wim@fluendo.com>
14802
14803         * gst/gstevent.c: (gst_event_new_buffersize),
14804         (gst_event_parse_buffersize):
14805         * gst/gstevent.h:
14806         New event for future idea.
14807
14808 2005-10-07  Andy Wingo  <wingo@pobox.com>
14809
14810         * gst/gstelement.c (gst_element_post_message): Doc update.
14811
14812         * docs/gst/gstreamer-sections.txt: Update.
14813
14814         * gst/gstmessage.c (gst_message_new_application): Made into a
14815         function like honest API calls.
14816         (gst_message_new_element): New message type.
14817
14818         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
14819
14820         * check/elements/fakesrc.c (test_no_preroll): New check, checks
14821         that setting a live fakesrc to PAUSED returns NO_PREROLL both
14822         times.
14823
14824         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
14825         NO_PREROLL from gst_element_change_state to fall through.
14826
14827 2005-10-07  Wim Taymans  <wim@fluendo.com>
14828
14829         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
14830         (gst_ghost_pad_do_activate_push):
14831         Activating a ghostpad with no internal pad in push mode
14832         is ok.
14833
14834 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14835
14836         * gst/gstobject.h:
14837           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
14838           Fixes compilation on Windows.
14839
14840 2005-10-07  Michael Smith <msmith@fluendo.com>
14841
14842         * tools/gst-inspect.c:
14843           Print out feature and plugin count at the end when printing out
14844           all features.
14845
14846 2005-10-04  Michael Smith <msmith@fluendo.com>
14847
14848         * gst/gsterror.c: (_gst_stream_errors_init):
14849           Add another error string used in a few existing plugins.
14850
14851         * gst/gstplugin.c:
14852         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14853         * tools/gst-inspect.c: (print_element_info):
14854           When a feature disappears from a plugin (and the feature exists in
14855           the cached registry file), things went horribly wrong. This isn't a
14856           complete fix, we should actually be removing the 'missing' features
14857           from the features list when we load the actual plugin. That's not
14858           yet implemented. 
14859
14860 2005-10-04  Johan Dahlin  <johan@gnome.org>
14861
14862         * check/gst/gstiterator.c: (GST_START_TEST):
14863         * gst/gstbin.c: (gst_bin_iterate_elements),
14864         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
14865         * gst/gstelement.c: (gst_element_iterate_pads):
14866         * gst/gstformat.c: (gst_format_iterate_definitions):
14867         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
14868         (gst_iterator_new_list), (gst_iterator_filter):
14869         * gst/gstiterator.h:
14870         * gst/gstquery.c: (gst_query_type_iterate_definitions):
14871         Add a GType to GstIterator, update callsites and tests.
14872
14873 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14874
14875         * gst/gstpad.c: (gst_pad_event_default_dispatch):
14876           give events a chance to be handled by event probes when the pad
14877           is not linked
14878
14879 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14880
14881         * gst/gstevent.c: (gst_event_type_get_name),
14882         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
14883         * gst/gstevent.h:
14884           add string representations for event types
14885
14886 2005-10-06  Wim Taymans  <wim@fluendo.com>
14887
14888         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
14889         Don't use NULL pointers.
14890
14891 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14892
14893         * gst/gst_private.h:
14894         * gst/gstbus.c:
14895         * gst/gstelement.c:
14896         * gst/gstinfo.c:
14897         * gst/gstpluginfeature.c:
14898           widen the debug category in output to fit the biggest one we have
14899           add a bus category and use it
14900           play with the colors
14901           fix up some categories
14902
14903 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14904
14905         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
14906           add push activation of sink ghost pads.
14907           Andye, please verify
14908
14909 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14910
14911         * gst/gstutils.c: (gst_element_link_pads):
14912           fix a bug in the case where neither element has a pad
14913         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14914           add a test for that case
14915
14916 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14917
14918         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
14919           emit have-data before checking for peers.  This allows
14920           for probe handlers to connect elements.  This helps autopluggers.
14921         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
14922         (gst_pad_suite):
14923           add six checks, linked/unlinked with no/true/false probe
14924
14925 2005-10-04  Wim Taymans  <wim@fluendo.com>
14926
14927         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
14928         (gst_fake_sink_event), (gst_fake_sink_preroll),
14929         (gst_fake_sink_render), (gst_fake_sink_change_state):
14930         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
14931         (gst_fake_src_get_property), (gst_fake_src_create),
14932         (gst_fake_src_stop):
14933         * gst/elements/gstidentity.c: (gst_identity_stop):
14934         Protect last_message with lock.
14935
14936 2005-10-04  Edward Hervey  <edward@fluendo.com>
14937
14938         * gst/gstformat.h: 
14939         Added precision in the comments for GST_FORMAT_DEFAULT
14940
14941 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
14942
14943         * tools/gst-launch.c: (main):
14944           Don't try to run erroneous pipelines.
14945
14946 2005-10-04  Julien MOUTTE  <julien@moutte.net>
14947
14948         * gst/gstbus.c: We don't need this header.
14949
14950 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14951
14952         * configure.ac:
14953           back to development
14954
14955 === release 0.9.3 ===
14956
14957 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14958
14959         * README:
14960         * configure.ac:
14961           Releasing 0.9.3, "Unregistered"
14962
14963 2005-10-03  Andy Wingo  <wingo@pobox.com>
14964
14965         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
14966         whereby calling a pad's activatepush() function can start a thread
14967         that starts to push or pull before the pad gets the FLUSHING flag
14968         unset. Hack around it by holding the stream lock until the flag is
14969         set. Need to replace this with a proper solution. Together with
14970         the ghost pad fixes, this fixes mp3 playing/tagreading.
14971
14972         * docs/design/part-gstghostpad.txt: Add a note about activation of
14973         proxy pads outside of ghost pads.
14974
14975         * gst/gstghostpad.c: Implement the ghost pad activation design.
14976
14977 2005-10-02  Andy Wingo  <wingo@pobox.com>
14978
14979         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
14980         It is volatile, after all.
14981
14982         * docs/design/part-gstghostpad.txt: Flesh out activation with
14983         ghost pads.
14984
14985         * gst/base/gstbasesrc.c (gst_base_src_init): Use
14986         GST_DEBUG_FUNCPTR.
14987
14988 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
14989
14990         * configure.ac:
14991           Fix (unused) AM_CONDITIONAL tests.
14992
14993 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
14994
14995         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14996
14997         * gst/gstutils.c: (gst_pad_query_convert):
14998           Add assertion that makes sure src_val is >=0, just like
14999           gst_query_new_convert() has. (#315895)
15000
15001 2005-09-30  Edward Hervey  <edward@fluendo.com>
15002
15003         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
15004         Let's not iterate pads we're not interested in, it avoids getting 
15005         sky-high refcounts on sinkpad.
15006
15007 2005-09-30  Wim Taymans  <wim@fluendo.com>
15008
15009         * gst/gstelement.c: (gst_element_set_state),
15010         (gst_element_change_state):
15011         Small tweak, element in ASYNC remains ASYNC.
15012
15013 2005-09-30  Wim Taymans  <wim@fluendo.com>
15014
15015         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15016         Only error is an error.
15017
15018         * gst/gstbin.c: (gst_bin_change_state):
15019         Better debugging.
15020
15021         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
15022         Also call pad_block in pad alloc.
15023
15024         * gst/gstutils.c: (gst_flow_get_name):
15025         Better debugging.
15026
15027 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
15028
15029         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15030         (gst_base_src_get_range):
15031           Fix documentation typos. Add some more debug info.
15032
15033 2005-09-29  David Schleef  <ds@schleef.org>
15034
15035         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
15036           more end-user friendly.
15037         * tools/gst-inspect.c: (main): Check if command-line argument is
15038           a file and attempt to load that file as a plugin.
15039
15040 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15041
15042         * check/gst/gstbin.c:
15043         * check/states/sinks.c:
15044           fix tests for the new warning
15045         * check/gst/gstpipeline.c:
15046           add a test for pipeline and bus interaction
15047         * gst/gstelement.c:
15048           elements should be NULL if they get disposed; add a warning if not
15049
15050 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15051
15052         * gst/gstobject.c:
15053           for 2.6 refcounting, make debug log more correct by printing
15054           the actual refcounts at the time of swap (Wim)
15055
15056 2005-09-29  Andy Wingo  <wingo@pobox.com>
15057
15058         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
15059         removes signal watches previously added via
15060         gst_bus_add_signal_watch.
15061         (gst_bus_add_signal_watch): Don't return the source id, just store
15062         it on the bus if there wasn't an id already.
15063
15064         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
15065         add_signal_watch and remove_signal_watch.
15066
15067 2005-09-29  Edward Hervey  <edward@fluendo.com>
15068
15069         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
15070         Better if we actually iterate the list :)
15071
15072 2005-09-29  Wim Taymans  <wim@fluendo.com>
15073
15074         * check/gst/gstbin.c: (GST_START_TEST):
15075         Change for new bus API.
15076
15077         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
15078         (send_messages), (GST_START_TEST), (gstbus_suite):
15079         Change for new bus signal API.
15080
15081         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
15082         (gst_bus_source_prepare), (gst_bus_source_check),
15083         (gst_bus_create_watch), (gst_bus_add_watch_full),
15084         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
15085         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
15086         * gst/gstbus.h:
15087         Remove support for multiple GSources operating on different
15088         message types as it is too complex and unneeded when using
15089         signals.
15090         Added support for receiving signals from the bus.
15091
15092 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15093
15094         * docs/libs/tmpl/gstdataprotocol.sgml:
15095         * docs/manual/advanced-dataaccess.xml:
15096         * gst/elements/gstcapsfilter.c:
15097         * gst/gstutils.c:
15098           rename filter-caps to caps property
15099
15100 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
15101
15102         * gst/gstvalue.c: (gst_value_deserialize_fraction):
15103           More robust fraction string parsing.
15104
15105         * docs/pwg/appendix-porting.xml:
15106           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
15107
15108 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
15109
15110         * gst/gstcaps.c: (gst_caps_do_simplify):
15111           Thou shalt not free a structure and then continue using it
15112           in the next loop iteration.
15113
15114         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
15115         (gst_caps_suite):
15116           Add test case for caps simplification.
15117
15118 2005-09-29  Wim Taymans  <wim@fluendo.com>
15119
15120         * check/gst/gstbin.c: (GST_START_TEST):
15121         Oops.
15122
15123 2005-09-29  Wim Taymans  <wim@fluendo.com>
15124
15125         * check/gst/gstbin.c: (GST_START_TEST):
15126         Add bus to bin.
15127
15128         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
15129         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15130         (find_element), (gst_bin_sort_iterator_next),
15131         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15132         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15133         (gst_bin_change_state), (gst_bin_dispose):
15134         A bin does not have a bus, it gets the bus from the parent.
15135
15136         * gst/gstelement.c: (gst_element_requires_clock),
15137         (gst_element_provides_clock), (gst_element_is_indexable),
15138         (gst_element_is_locked_state), (gst_element_change_state),
15139         (gst_element_set_bus_func):
15140         Small cleanups.
15141
15142         * gst/gstpipeline.c: (gst_pipeline_class_init),
15143         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
15144         The pipeline provides a bus.
15145
15146 2005-09-28  Johan Dahlin  <johan@gnome.org>
15147
15148         * gst/gstmessage.c (gst_message_parse_state_changed): Use
15149         gst_structure_get_enum instead of gst_structure_get_int
15150
15151         * gst/gststructure.c (gst_structure_get_enum): Impl.
15152
15153         * gst/gststructure.h (gst_structure_get_enum): Add
15154
15155         * docs/gst/gstreamer-sections.txt: Ditto
15156
15157         * gst/gstmessage.c (gst_message_new_state_changed): Use
15158         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
15159         which does introspection.
15160         Reviewed by Christian Schaller
15161
15162 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
15163
15164         * gst/gstinfo.c: (gst_debug_log_default):
15165           don't do dummy g_strdup()s
15166         * libs/gst/controller/gstcontroller.c:
15167         (on_object_controlled_property_changed),
15168         (gst_controlled_property_new), (gst_controller_new_valist),
15169         (gst_controller_new_list),
15170         (gst_controller_remove_properties_valist), (gst_controller_set),
15171         (gst_controller_get), (gst_controller_sync_values),
15172         (gst_controller_get_value_array), (_gst_controller_class_init),
15173         (gst_controller_get_type):
15174         * libs/gst/controller/gstcontroller.h:
15175         * libs/gst/controller/gstinterpolation.c:
15176         (gst_controlled_property_find_timed_value_node):
15177           convert // to /**/ comments
15178
15179 2005-09-28  Wim Taymans  <wim@fluendo.com>
15180
15181         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
15182         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
15183         (gst_bus_sync_signal_handler):
15184         * gst/gstbus.h:
15185         Added async-message and sync-message signals to the bus.
15186         Added helper BusFunc to emit signals for all posted messages.
15187
15188         * gst/gstmessage.c: (gst_message_type_get_name),
15189         (gst_message_type_to_quark), (gst_message_get_type):
15190         * gst/gstmessage.h:
15191         Register quarks for message names.
15192
15193 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
15194
15195         * docs/libs/gstreamer-libs-sections.txt:
15196         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
15197         (gst_controller_new_list):
15198         * libs/gst/controller/gstcontroller.h:
15199           added another constructor for language bindings
15200
15201 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15202
15203         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15204           add another check
15205         * gst/gstbus.c:
15206           add some doc
15207         * gst/gstinfo.c: (_gst_debug_init):
15208           slightly more readable color for refcount debugging
15209
15210 2005-09-28  Wim Taymans  <wim@fluendo.com>
15211
15212         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15213         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15214         (find_element), (gst_bin_sort_iterator_next),
15215         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15216         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15217         (gst_bin_change_state), (gst_bin_dispose):
15218         Small doc fixes. get_clock -> provide_clock.
15219
15220         * gst/gstelement.c: (gst_element_class_init),
15221         (gst_element_provides_clock), (gst_element_provide_clock),
15222         (gst_element_get_clock), (gst_element_commit_state),
15223         (gst_element_lost_state):
15224         * gst/gstelement.h:
15225         Make get/set_clock() symetric. Add provide_clock vmethod since
15226         that is actually what this function does.
15227
15228         * gst/gstpipeline.c: (gst_pipeline_class_init),
15229         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
15230         (gst_pipeline_get_clock):
15231         get_clock -> provide_clock.
15232
15233 2005-09-28  Andy Wingo  <wingo@pobox.com>
15234
15235         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
15236         lieu of real docs...
15237
15238         * gst/elements/gstfdsrc.c: Cleaned up a bit.
15239
15240 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
15241
15242         * gst/elements/gstcapsfilter.c:
15243         * gst/elements/gstfakesink.c:
15244         * gst/elements/gstfakesrc.c:
15245         * gst/elements/gstfdsink.c:
15246         * gst/elements/gstfdsrc.c:
15247         * gst/elements/gstfilesink.c:
15248         * gst/elements/gstfilesrc.c:
15249         * gst/elements/gstidentity.c:
15250         * gst/elements/gsttee.c:
15251         * gst/elements/gsttypefindelement.c:
15252           Make element details static.
15253
15254 2005-09-28  Wim Taymans  <wim@fluendo.com>
15255
15256         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15257         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15258         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15259         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15260         (gst_bin_change_state), (gst_bin_dispose):
15261         Some documentation updates.
15262         Clean up dispose handlers.
15263
15264         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
15265         * gst/gstpad.c: (gst_pad_dispose):
15266         Clean up dispose handler.
15267
15268         * gst/gstpipeline.c: (gst_pipeline_change_state):
15269         Removed spurious UNLOCK.
15270
15271 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
15272
15273         * docs/gst/gstreamer-sections.txt:
15274         * gst/base/gstbasesrc.h:
15275         * gst/gstelement.h:
15276         * gst/gstevent.h:
15277         * gst/gstobject.h:
15278         * gst/gstpad.h:
15279         * gst/gstpipeline.c:
15280         * gst/gstpipeline.h:
15281         * gst/gstutils.h:
15282         * gst/gstxml.h:
15283           added two new functions to the docs
15284                 documents all undocumented GstXXXFlags
15285                 completed some incomplete docs 
15286
15287 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
15288
15289         * gst/gstbin.c: (gst_bin_dispose):
15290         * gst/gstelement.c: (gst_element_dispose):
15291           remove now useless and leaky resurrection code in dispose
15292         * gst/base/gstbasesrc.c: (gst_base_src_init):
15293         * gst/gstelementfactory.c: (gst_element_factory_create):
15294         * gst/gstobject.c: (gst_object_set_parent):
15295           add some debugging
15296
15297 2005-09-27  Wim Taymans  <wim@fluendo.com>
15298
15299         * docs/design/part-TODO.txt:
15300         Update TODO.
15301
15302         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15303         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15304         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15305         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15306         (gst_bin_change_state):
15307         * gst/gstelement.h:
15308         Remove element variable, we keep element info in the iterator now.
15309
15310 2005-09-27  Andy Wingo  <wingo@pobox.com>
15311
15312         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
15313         values.
15314
15315 2005-09-27  Wim Taymans  <wim@fluendo.com>
15316
15317         * check/gst/gstbin.c: (GST_START_TEST):
15318         Enable check that works now.
15319
15320         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15321         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15322         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15323         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15324         (gst_bin_change_state):
15325         * gst/gstbin.h:
15326         Redid the state change algorithm using a topological sort algo.
15327         Handles all cases correctly.
15328         Exposed iterator for state change order.
15329
15330         * gst/gstelement.h:
15331         Temp storage for state changes. Need to get rid of this soon.
15332
15333 2005-09-27  Wim Taymans  <wim@fluendo.com>
15334
15335         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
15336         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
15337         (link_fold_func), (gst_pad_proxy_setcaps):
15338         Leak fixes, the fold functions need to unref the passed object and
15339         _get_parent_*() returns ref to parent.
15340
15341 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
15342
15343         * check/gst/gstbuffer.c: (test_make_writable):
15344           Plug leak in test case and fix 'make check-valgrind'
15345
15346 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
15347
15348         * gst/gstbuffer.c: (gst_subbuffer_init):
15349           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
15350           works correctly in all circumstances (we could have just copied
15351           the parent buffer's readonly flag, but conceptually it seems
15352           cleaner to mark all subbuffers as read-only). (based on patch
15353           by Alessandro Decina, #314710).
15354         
15355         * check/gst/gstbuffer.c: (create_read_only_buffer),
15356         (test_make_writable), (test_subbuffer_make_writable),
15357         (gst_test_suite):
15358           Add some tests for gst_buffer_make_writable().
15359
15360 2005-09-27  Wim Taymans  <wim@fluendo.com>
15361
15362         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
15363         use gst_object_has_ancestor().
15364
15365         * gst/gstobject.c: (gst_object_has_ancestor):
15366         * gst/gstobject.h:
15367         gst_object_has_ancestor() copied from gstbin.c as it is a
15368         useful function.
15369
15370         * tests/instantiate/create.c: (create_all_elements):
15371         * tests/lat.c: (handoff_src), (handoff_sink):
15372         * tests/sched/runxml.c: (main):
15373         * tests/seeking/seeking1.c: (main):
15374         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15375         (main):
15376         Fix compilation of some tests.
15377
15378 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
15379
15380         * gst/gsterror.h:
15381           Remove comment. GST_TYPE_G_ERROR is here to stay,
15382           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
15383           (#316961, #300610).
15384
15385 2005-09-26  Wim Taymans  <wim@fluendo.com>
15386
15387         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15388         Added check that shows error in state change order.
15389
15390 2005-09-26  Wim Taymans  <wim@fluendo.com>
15391
15392         * gst/gstbin.c: (gst_bin_change_state):
15393         Make state change function use 3 queues again, we were
15394         adding elements in the wrong order.
15395
15396         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
15397         Some debug info,
15398
15399         * gst/gstpad.c: (gst_pad_dispose):
15400         Added some debug info first.
15401
15402 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
15403
15404         * docs/design/draft-push-pull.txt:
15405         * docs/design/part-events.txt:
15406         * docs/design/part-overview.txt:
15407         * docs/design/part-scheduling.txt:
15408           Replace all _pull_region() with _pull_range()
15409           
15410 2005-09-26  Andy Wingo  <wingo@pobox.com>
15411
15412         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
15413
15414         * check/gst-libs/controller.c: Update for controller api change.
15415
15416         * configure.ac: 
15417         * tests/Makefile.am:
15418         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
15419         over by GLib bug 118439.
15420         
15421         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
15422         routines to a function.
15423
15424         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
15425
15426         * libs/gst/controller/gsthelper.c:
15427         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
15428         (gst_object_sync_values): Renamed from sink_values. Ugh.
15429
15430         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
15431
15432         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
15433         Renamed from controller_key, as it is exported.
15434
15435         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
15436
15437 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
15438
15439         * gst/Makefile.am:
15440         * gst/gst.h:
15441         * gst/gstpad.h:
15442         * gst/gstpadtemplate.h:
15443         * gst/gstquery.c:
15444         * gst/gstquery.h:
15445         * gst/gstqueryutils.c:
15446         * gst/gstqueryutils.h:
15447           remove queryutils headers after moving the two used functions
15448           to gstquery.  also fixes build problem for gstsiddec
15449
15450 2005-09-26  Michael Smith <msmith@fluendo.com>
15451
15452         * tools/gst-launch.1.in:
15453         Correct documentation in manpage of debug syntax
15454
15455 2005-09-26  Wim Taymans  <wim@fluendo.com>
15456
15457         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
15458         (gst_base_src_is_seekable), (gst_base_src_change_state):
15459         Some more debugging info.
15460
15461 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15462
15463         * docs/gst/gstreamer-sections.txt:
15464         * gst/base/gstbasetransform.h:
15465         * gst/gstindex.h:
15466           added more docs
15467
15468 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15469
15470         * docs/gst/.cvsignore:
15471         * docs/gst/tmpl/.cvsignore:
15472         * docs/gst/tmpl/gstpipeline.sgml:
15473         * docs/gst/tmpl/gstplugin.sgml:
15474         * gst/gstpipeline.c:
15475         * gst/gstplugin.c:
15476         * gst/gstplugin.h:
15477           inlined the last two docs files
15478           removed the tmpl directory from cvs (no more conflicts here!)
15479
15480 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15481
15482         * docs/gst/gstreamer-sections.txt:
15483         * docs/gst/tmpl/.cvsignore:
15484         * docs/gst/tmpl/gstpad.sgml:
15485         * docs/gst/tmpl/gstpadtemplate.sgml:
15486         * gst/Makefile.am:
15487         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
15488         (gst_pad_finalize), (gst_pad_set_pad_template):
15489         * gst/gstpad.h:
15490         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
15491         (gst_pad_template_class_init), (gst_pad_template_init),
15492         (gst_pad_template_dispose), (name_is_valid),
15493         (gst_static_pad_template_get), (gst_pad_template_new),
15494         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
15495         (gst_pad_template_pad_created):
15496         * gst/gstpadtemplate.h:
15497           inlined two more docs
15498           factored gstpadtemplate out of gstpad
15499
15500 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
15501
15502         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15503         (test_children_state_change_order_semi_sink):
15504           Fix test case: we can't rely on a fixed state change order when
15505           going from READY => PAUSED because the sink might commit its 
15506           new state first when the first buffer created by the source 
15507           reaches the sink before the source has finished its change state.
15508           (Test case still fails at times, see #316856, comment 5 onwards)
15509
15510 2005-09-24  Wim Taymans  <wim@fluendo.com>
15511
15512         * docs/design/part-events.txt:
15513         * docs/design/part-gstbus.txt:
15514         * docs/design/part-gstpipeline.txt:
15515         * docs/design/part-messages.txt:
15516         * docs/design/part-overview.txt:
15517         * docs/design/part-segments.txt:
15518         * gst/gstbin.c:
15519         * gst/gstbuffer.c:
15520         * gst/gstclock.c:
15521         * gst/gstelement.c:
15522         * gst/gstevent.c:
15523         * gst/gstfilter.c:
15524         * gst/gstiterator.c:
15525         Various documentation updates.
15526
15527 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15528
15529         * gst/gstclock.h:
15530           Well, that's embarassing.  Luckily we weren't using
15531           GST_CLOCK_DIFF anywhere.
15532
15533 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15534
15535         * common/gtk-doc.mak:
15536           don't fail on building XML, FC4 slave shows a bunch of doc
15537           missing bits that I don't get
15538         * gst/gstpad.c:
15539         * gst/gstpipeline.c:
15540         * gst/gststructure.c:
15541           some doc updates
15542
15543 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
15544
15545         * docs/design/part-gstbin.txt:
15546         * docs/design/part-gstbus.txt:
15547         * gst/gstbus.c:
15548           Add blurb about how the bus goes into flushing mode and
15549           drops all messages when its bin goes from READY into NULL 
15550           state.
15551
15552 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15553
15554         * docs/gst/gstreamer-sections.txt:
15555         * gst/gststructure.c: (gst_structure_get_clock_time):
15556         * gst/gststructure.h:
15557           add a method to get a GstClockTime out of a structure
15558
15559 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
15560
15561         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15562         (test_children_state_change_order_semi_sink), (gst_bin_suite):
15563           Added test to check state change order in bins (can still be made
15564           to fail here under heavy disk load; bails out with 'Push on pad
15565           fakesink:sink0, but it was not activated in push mode').
15566
15567         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
15568           Fix state change order when there is only a semi sink (#316856)
15569
15570         * gst/gstbus.c: (gst_bus_class_init):
15571           Use _class_peek_parent(), not _class_ref(); fix docs to say
15572           'default main context' instead of 'mainloop' where that is
15573           what's meant.
15574
15575         * gst/gstelement.c: (gst_element_commit_state),
15576         (gst_element_set_state):
15577           Fix typos in debug messages
15578
15579 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15580
15581         * docs/README:
15582         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
15583         * gst/gstpluginfeature.c:
15584         * gst/gstutils.c:
15585           various doc updates
15586         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15587           change an assert into an error until it gets fixed properly
15588
15589 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
15590
15591         * docs/gst/gstreamer-sections.txt:
15592         * docs/gst/tmpl/.cvsignore:
15593         * docs/gst/tmpl/gstelement.sgml:
15594         * docs/gst/tmpl/gstinfo.sgml:
15595         * docs/gst/tmpl/gstobject.sgml:
15596         * gst/gstelement.c:
15597         * gst/gstelement.h:
15598         * gst/gstinfo.c:
15599         * gst/gstinfo.h:
15600         * gst/gstobject.c: (gst_object_class_init):
15601         * gst/gstobject.h:
15602           inlined 3 more biiiig doc files and added some missing docs on the fly
15603
15604 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15605
15606         * check/gst/.cvsignore:
15607         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
15608         * gst/gstregistryxml.c: (load_plugin),
15609         (gst_registry_xml_save_plugin):
15610           put back source in registry.  add checks for find_plugin.
15611         * testsuite/states/bin.c: (assert_state), (empty_bin),
15612         (test_adding_one_element), (main):
15613         * testsuite/states/locked.c: (main):
15614           some compile/run fixes
15615
15616 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15617
15618         * check/gst/gstvalue.c: (GST_START_TEST):
15619           fix leaks in the test itself
15620
15621 2005-09-22  Wim Taymans  <wim@fluendo.com>
15622
15623         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15624         (gst_base_sink_send_event), (gst_base_sink_peer_query),
15625         (gst_base_sink_query):
15626         Prepare for more accurate position reporting and query
15627         handling.
15628
15629         * gst/gstelement.c: (gst_element_send_event),
15630         (gst_element_set_state):
15631         Add some comment.
15632
15633 2005-09-22  Wim Taymans  <wim@fluendo.com>
15634
15635         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
15636         (gst_query_parse_segment):
15637         * gst/gstquery.h:
15638         More documentation.
15639         Add segment query for future use.
15640
15641 2005-09-22  Wim Taymans  <wim@fluendo.com>
15642
15643         * gst/gstbin.c: (gst_bin_add_func):
15644         Some more debug info.
15645
15646         * gst/gstelement.c: (gst_element_send_event):
15647         Simplify send_event
15648
15649         * gst/gstelement.h:
15650         Don't know how flags got broken.
15651
15652         * gst/gstquery.h:
15653         Added new query.
15654
15655 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
15656
15657         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
15658           Add simplistic test suite for GST_TYPE_DATE serialisation and
15659           deserialisation.
15660
15661 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
15662
15663         * docs/gst/gstreamer-sections.txt:
15664         * gst/gststructure.c: (gst_structure_set_valist),
15665         (gst_structure_get_date):
15666         * gst/gststructure.h:
15667         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
15668         (gst_date_copy), (gst_value_compare_date),
15669         (gst_value_serialize_date), (gst_value_deserialize_date),
15670         (gst_value_transform_date_string),
15671         (gst_value_transform_string_date), (_gst_value_initialize):
15672         * gst/gstvalue.h:
15673           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
15674           bunch of utility functions along with a hack that checks that
15675           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
15676           is required. Part of the grand scheme in #170777.
15677
15678 2005-09-22  Andy Wingo  <wingo@pobox.com>
15679
15680         * gst/gstconfig.h.in: Psych out gtk-doc.
15681
15682         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
15683
15684         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
15685
15686         * tools/gst-inspect.c (print_element_list): Plug some
15687         inconsequential leaks.
15688
15689         * gst/gstregistry.c (gst_registry_get_default): Doc.
15690
15691         * check/gst/gstplugin.c: 
15692         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
15693         * gst/gstelementfactory.c (gst_element_factory_create): 
15694         * gst/gstindexfactory.c (gst_index_factory_create): Update for
15695         refcount changes.
15696
15697         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
15698         (gst_plugin_feature_load): Doc, don't eat refs.
15699
15700         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
15701         (gst_plugin_list_free): Doc.
15702         (gst_plugin_load_file): Doc updates.
15703
15704         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
15705         accessors returning refcounted objects, return a ref.
15706
15707         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
15708         accessor for caps. IDEMPOTENCE. Oh yes.
15709
15710 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
15711
15712         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15713
15714         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15715         (_gst_debug_register_funcptr):
15716           Add mutex to serialise access to the hash table with
15717           the function pointer => function name string mapping;
15718           make that hash table static scope (#316809).
15719
15720         * gst/registries/.cvsignore:
15721           Remove left-over file.
15722
15723 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
15724
15725         * docs/pwg/appendix-porting.xml:
15726           And something about newsegment events and caps-on-buffers to
15727           the porting guide (feel free to improve).
15728
15729 2005-09-21  Andy Wingo  <wingo@pobox.com>
15730
15731         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
15732         data and event probes on the same pad.
15733         (test_buffer_probe_once): Test that removing probes from within
15734         the probe functions works.
15735
15736 2005-09-21  Andy Wingo  <wingo@pobox.com>
15737
15738         * check/gst/gstutils.c: New file.
15739         (test_buffer_probe_n_times): A simple buffer probe test. More to
15740         come, foolios.
15741
15742         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
15743         have-data::buffer, not have-data.
15744         (gst_pad_add_event_probe): Likewise for have-data::event.
15745         (gst_pad_add_data_probe): More docs. The part about 'resolving the
15746         peer' isn't quite right yet though.
15747         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
15748         (gst_pad_remove_data_probe): Change to take the guint handler_id
15749         as their arg, not the function+data, which is more glib-like.
15750
15751         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
15752         the signal emission to indicate if the data is a buffer or an
15753         event.
15754         (gst_pad_get_type): Initialize buffer and event quarks.
15755         (gst_pad_class_init): have-data is now a detailed signal, yes it
15756         is.
15757
15758 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
15759
15760         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
15761         * gst/gstutils.c: (gst_util_set_value_from_string),
15762         (gst_util_set_object_arg):
15763           Don't put functional code in g_return_if_fail() or
15764           g_return_val_if_fail() statements, otherwise things will 
15765           break when G_DISABLE_CHECKS is defined during compilation.
15766
15767 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15768
15769         * docs/gst/tmpl/.cvsignore:
15770         * docs/gst/tmpl/gstvalue.sgml:
15771         * gst/gstvalue.c:
15772         * gst/gstvalue.h:
15773           inlied another one and added  some obvious docs
15774
15775 2005-09-21  Wim Taymans  <wim@fluendo.com>
15776
15777         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
15778         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
15779         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
15780         (gst_fdsrc_get_property), (gst_fdsrc_create):
15781         * gst/elements/gstfdsrc.h:
15782         Properly implement fdsrc. Removed signal and timeout,
15783         better implemented somewhere else.
15784
15785 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15786
15787         * docs/gst/tmpl/.cvsignore:
15788         * docs/gst/tmpl/gstimplementsinterface.sgml:
15789         * gst/gstinterface.c:
15790           inlined more docs
15791
15792 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15793
15794         * docs/gst/gstreamer-sections.txt:
15795         * docs/gst/tmpl/.cvsignore:
15796         * docs/gst/tmpl/gstenumtypes.sgml:
15797           remove obsolete doc file
15798
15799 2005-09-21  David Schleef  <ds@schleef.org>
15800
15801         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
15802         little beer, fix a little leak.
15803
15804 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15805
15806         * docs/gst/gstreamer-docs.sgml:
15807         * docs/gst/gstreamer-sections.txt:
15808         * docs/gst/tmpl/.cvsignore:
15809         * gst/Makefile.am:
15810         * gst/gst.h:
15811         * gst/gstbin.c:
15812         * gst/gstelement.h:
15813         * gst/gstindex.c: (gst_index_class_init):
15814         * gst/gstindex.h:
15815         * gst/gstindexfactory.c: (gst_index_factory_get_type),
15816         (gst_index_factory_class_init), (gst_index_factory_init),
15817         (gst_index_factory_finalize), (gst_index_factory_new),
15818         (gst_index_factory_destroy), (gst_index_factory_find),
15819         (gst_index_factory_create), (gst_index_factory_make):
15820         * gst/gstindexfactory.h:
15821         * gst/gstpluginfeature.c:
15822         * gst/gstpluginfeature.h:
15823         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15824           more docs inlined, splitted gstindex.{c,h}
15825
15826 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15827
15828         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15829           fix a leak
15830
15831 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
15832
15833         * gst/elements/gstfilesink.c: (gst_file_sink_init):
15834           Set sync to FALSE by default.
15835
15836 2005-09-20  Wim Taymans  <wim@fluendo.com>
15837
15838         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15839         (gst_base_sink_init):
15840         Make sync property settable from subclass.
15841
15842         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
15843         (gst_fake_sink_change_state):
15844         Set sync to FALSE by default.
15845
15846 2005-09-20  Wim Taymans  <wim@fluendo.com>
15847
15848         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
15849         * tools/gst-launch.c: (main):
15850         The timeout handler should have lower priority than the source
15851         so we don't timeout before popping a message with 0 timeout.
15852         Dump error messages after failed state change.
15853
15854 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
15855
15856         * tools/gst-inspect.c: (print_element_properties_info):
15857           Fix two typos.
15858
15859 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15860
15861         * check/gst/gstevent.c:
15862         * gst/elements/gstfakesink.c:
15863         * gst/elements/gstfakesink.h:
15864           remove the sync property from fakesink.
15865           has the side effect of setting sync TRUE
15866           for fakesink, which is a change.  Anyone who knows how
15867           to fix this nicely in a GObject-y way, feel free.
15868
15869 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
15870
15871         * docs/gst/gstreamer-docs.sgml:
15872           remove probe refsection
15873
15874 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
15875
15876         * check/Makefile.am:
15877           disable valgrinding the controller test again
15878         * docs/gst/gstreamer-sections.txt:
15879           update for api-changes
15880
15881 2005-09-20  Wim Taymans  <wim@fluendo.com>
15882
15883         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15884         (gst_base_sink_set_property), (gst_base_sink_get_property),
15885         (gst_base_sink_do_sync):
15886         * gst/base/gstbasesink.h:
15887         Added sync property to basesink to disable clock sync.
15888
15889 2005-09-20  Andy Wingo  <wingo@pobox.com>
15890
15891         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
15892         eating the caller's refcount.
15893
15894         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
15895         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
15896         refcount.
15897
15898         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
15899         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
15900         of GLib 2.8 public, so we can know which refcount to check in
15901         tests.
15902
15903         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
15904         (gst_object_init): Only set the gst refcount if we're going ahead
15905         with the refcount hack.
15906
15907 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
15908
15909         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
15910         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15911           more leaks plumbed, added more debug-logging
15912         * gst/gstmacros.h:
15913           whitespace fix
15914
15915 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15916
15917         * gst/gstmessage.c:
15918           remove include of gstmemchunk.h
15919
15920 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15921
15922         * gst/gstclock.c: (_gst_clock_id_free):
15923           Commit from the Political Party For More Atomic CVS Commits,
15924           so that people don't waste too much of their day fishing
15925           out obvious leaks out of massive commits.
15926           Oh, and fix a pretty damn obvious leak in the memchunk
15927           removal code.
15928
15929 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
15930
15931         * check/Makefile.am:
15932         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
15933           plug mem-leak, re-add to valgrindable tests
15934
15935 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15936
15937         * gst/gstplugin.h:
15938           unbreak the build for those who have chronic arthritis
15939           and typing "make check" is just too taxing on the hands
15940
15941 2005-09-20  Andy Wingo  <wingo@pobox.com>
15942
15943         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
15944         really want it out, you should fix plugins at the same time.
15945
15946 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
15947
15948         * configure.ac:
15949         * docs/gst/gstreamer-sections.txt:
15950         * gst/gstobject.c:
15951           added missing symbols to api docs
15952           disable ref-count hack if we have glib >= 2.8
15953
15954 2005-09-19  David Schleef  <ds@schleef.org>
15955
15956         * docs/gst/Makefile.am: Ignore a few more internal headers
15957         * docs/gst/gstreamer-docs.sgml: Remove old sections
15958         * docs/gst/gstreamer-sections.txt: Remove old sections
15959         * docs/gst/tmpl/gstobject.sgml: update
15960         * docs/gst/tmpl/gstplugin.sgml: update
15961         * docs/gst/tmpl/gstpluginfeature.sgml: update
15962         * docs/random/ds/0.9-suggested-changes: update.
15963         * gst/Makefile.am: remove memchunk and trashstack, since they're
15964           not used.
15965         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
15966         * gst/gst.h: don't include some headers
15967         * gst/gstchildproxy.c: add gstmarshal.h
15968         * gst/gstclock.c: Don't use memchunks
15969         * gst/gstminiobject.c: Add some docs
15970         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
15971         * gst/gstobject.h: same
15972         * gst/gstplugin.c: include gstmacros.h
15973         * gst/gstplugin.h: don't include gstmacros.h, since it's private
15974         * gst/gstquery.c: don't use memchunks
15975         * gst/gstregistry.c: rename gst_registry_deinit()
15976         * gst/gstregistry.h: same
15977
15978 2005-09-19  David Schleef  <ds@schleef.org>
15979
15980         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
15981         * docs/libs/gstreamer-libs-sections.txt:
15982         * docs/libs/tmpl/gstgetbits.sgml:
15983         * docs/libs/tmpl/gstputbits.sgml:
15984
15985 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
15986
15987         * win32/gstenumtypes.c:
15988         * win32/gstenumtypes.h:
15989           Update.
15990
15991 2005-09-19  Wim Taymans  <wim@fluendo.com>
15992
15993         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
15994         Automatically PAUSE and RESUME a pipeline when a flushing seek
15995         is performed.
15996
15997 2005-09-19  Andy Wingo  <wingo@pobox.com>
15998
15999         * gst/gstregistry.h: Spacing fixen.
16000
16001 2005-09-19  Wim Taymans  <wim@fluendo.com>
16002
16003         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
16004         Handle state change failure more correctly.
16005
16006 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16007
16008         * check/Makefile.am:
16009         * check/pipelines/cleanup.c: (run_pipeline):
16010         * check/pipelines/simple_launch_lines.c: (run_pipeline),
16011         (GST_START_TEST):
16012           enable cleanup again after fixing the leak
16013         * docs/README:
16014           some more info on docs
16015
16016 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16017
16018         * check/Makefile.am:
16019           re-enable tests now that leaks are plugged
16020         * check/gst/gst.c:
16021         * check/gst/gstbin.c:
16022         * check/gst/gstpipeline.c:
16023           add some more tests while fixing leaks
16024         * common/check.mak:
16025           make sure binaries are uptodate when valgrinding/gdbing
16026         * gst/gst.c:
16027         * gst/gstelementfactory.c:
16028           remove a ref too many, and add a FIXME for when we get
16029           round to disposing of classes
16030         * gst/gstplugin.c:
16031           fix the refcounting when loading a plugin from a file and
16032           the code pretends that the pointer is the same even though
16033           of course it can change
16034         * gst/gstpluginfeature.c:
16035           unref plugins marked cached (a bit confusing as a name)
16036           as the docs state should be done
16037           various doc additions to explain refcounting
16038         * gst/gstregistry.c:
16039         * gst/gstregistryxml.c:
16040           debugging
16041
16042 2005-09-19  Wim Taymans  <wim@fluendo.com>
16043
16044         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16045         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
16046         (send_messages), (GST_START_TEST), (gstbus_suite):
16047         * check/gst/gstpipeline.c: (GST_START_TEST):
16048         * check/pipelines/cleanup.c: (run_pipeline):
16049         * check/pipelines/simple_launch_lines.c: (run_pipeline),
16050         (GST_START_TEST):
16051         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
16052         (gst_bus_source_check), (gst_bus_source_dispatch),
16053         (gst_bus_create_watch), (gst_bus_add_watch_full),
16054         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
16055         * gst/gstbus.h:
16056         * tools/gst-launch.c: (event_loop):
16057         * tools/gst-md5sum.c: (event_loop):
16058         GstBusHandler -> GstBusFunc, return value has the same meaning as
16059         any other GSource (FALSE == remove source).
16060         _add_watch() and _add_watch_full() now take a MessageType mask to
16061         only handle specific types of messages.
16062         _poll() returns the GstMessage instead of the message type to avoid
16063         race conditions.
16064         _have_pending() takes a MessageType mask now too.
16065         Added testsuite for multiple bus watches.
16066         Fix testsuites and applications for new bus API.
16067
16068 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16069
16070         * check/Makefile.am:
16071           mark a bunch of the tests as to fix until we fix them
16072
16073 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16074
16075         * common/check.mak:
16076           use GST_PLUGIN settings for valgrind tests as well, so we're
16077           valgrinding the correct thing
16078         * gst/gst.c: (init_post):
16079           plug another leak
16080
16081 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16082
16083         * gst/gst.c: (init_post), (gst_deinit):
16084         * gst/gstelementfactory.c: (gst_element_factory_class_init),
16085         (gst_element_factory_finalize), (gst_element_factory_cleanup):
16086         * gst/gstindex.c: (gst_index_factory_class_init),
16087         (gst_index_factory_finalize):
16088         * gst/gstobject.c: (gst_object_dispose):
16089         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16090         (gst_plugin_load_file), (gst_plugin_desc_free):
16091         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
16092         (gst_plugin_feature_finalize):
16093         * gst/gstregistry.c: (gst_registry_class_init),
16094         (gst_registry_init), (gst_registry_finalize),
16095         (gst_registry_get_default), (gst_registry_deinit):
16096         * gst/gstregistry.h:
16097         * gst/gstregistryxml.c: (load_feature), (load_plugin):
16098           various cleanups and memleak plugging.  make valgrind is happy now.
16099
16100 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16101
16102         * common/check.mak:
16103           add a check-valgrind target
16104
16105 2005-09-18  David Schleef  <ds@schleef.org>
16106
16107         * tools/gst-inspect.c: Revert the GOption code.
16108
16109 2005-09-17  David Schleef  <ds@schleef.org>
16110
16111         * check/Makefile.am: Fix environment variables.
16112         * check/gst/gstplugin.c: Fix for API changes.
16113         * tools/gst-inspect.c: Fix for API changes.
16114         * tools/gst-xmlinspect.c: Fix for API changes.
16115         * gst/gstelementfactory.c:
16116         * gst/gstplugin.c:
16117         * gst/gstplugin.h:
16118         * gst/gstpluginfeature.c:
16119         * gst/gstpluginfeature.h:
16120         * gst/gstregistry.c:
16121         * gst/gstregistry.h:
16122         * gst/gstregistryxml.c:
16123         * gst/gsttypefind.c:
16124         * gst/gsttypefindfactory.c:
16125         * gst/indexers/gstfileindex.c:
16126         * gst/indexers/gstmemindex.c:
16127         * gst/schedulers/Makefile.am:
16128           Change registry to keep track of both plugins and features,
16129           removing the feature tracking from plugins themselves.
16130
16131 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16132
16133         * check/Makefile.am:
16134         * tools/gst-register.1.in:
16135           remove gst-register
16136
16137 2005-09-15  David Schleef  <ds@schleef.org>
16138
16139         * check/gst/gstplugin.c:
16140         * gst/gstelementfactory.c:
16141         * gst/gstplugin.c:
16142         * gst/gstpluginfeature.c:
16143         * gst/gstregistry.c:
16144           Getting tired of debugging.  Disabled all the unreffing of
16145           plugins and features, which fixes the segfaults, but of
16146           course leaks like crazy.  At least playbin works.
16147
16148 2005-09-15  David Schleef  <ds@schleef.org>
16149
16150         * check/gst/gstplugin.c: (register_check_elements),
16151         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
16152         More testing
16153         * gst/elements/gsttypefindelement.c: Fix refcounting.
16154         * gst/gsttypefind.c:
16155         * gst/gsttypefindfactory.c:
16156         * gst/gsttypefindfactory.h:
16157
16158 2005-09-15  David Schleef  <ds@schleef.org>
16159
16160         * gst/gstindex.c: get refcounting correct.
16161         * gst/gstregistry.c: Handle the case where a feature/plugin is
16162           not found.
16163
16164 2005-09-15  David Schleef  <ds@schleef.org>
16165
16166         * check/Makefile.am:
16167         * check/gst/gstplugin.c: Add test
16168         * gst/gstplugin.c: Fix problems noticed by testsuite
16169         * gst/gstplugin.h:
16170         * gst/gstregistry.c: 
16171         * gst/gstregistry.h:
16172
16173 2005-09-15  David Schleef  <ds@schleef.org>
16174
16175         * gst/gstplugin.c: Implement semi-decent recounting and locking
16176           in plugins and plugin features.
16177         * gst/gstplugin.h:
16178         * gst/gstpluginfeature.c:
16179         * gst/gstpluginfeature.h:
16180         * gst/gstregistry.c:
16181
16182 2005-09-15  Michael Smith <msmith@fluendo.com>
16183
16184         * gst/gstregistry.c: (gst_registry_get_feature_list):
16185           Implement this. Makes oggdemux work; decodebin still broken.
16186
16187 2005-09-14  David Schleef  <ds@schleef.org>
16188
16189         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
16190           #316076)
16191         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
16192         * gst/check/Makefile.am:
16193         * libs/gst/controller/Makefile.am:
16194         * libs/gst/dataprotocol/Makefile.am:
16195
16196 2005-09-14  David Schleef  <ds@schleef.org>
16197
16198         * configure.ac: Remove getbits library.  Nothing uses it, and
16199           it should be in something like liboil if someone did want
16200           to use it.
16201         * libs/gst/Makefile.am:
16202         * libs/gst/getbits/Makefile.am:
16203         * libs/gst/getbits/gbtest.c:
16204         * libs/gst/getbits/getbits.c:
16205         * libs/gst/getbits/getbits.h:
16206         * libs/gst/getbits/gstgetbits_generic.c:
16207         * libs/gst/getbits/gstgetbits_i386.s:
16208         * libs/gst/getbits/gstgetbits_inl.h:
16209
16210 2005-09-14  David Schleef  <ds@schleef.org>
16211
16212         * gst/Makefile.am: Dist glib-compat.h
16213
16214 2005-09-14  David Schleef  <ds@schleef.org>
16215
16216         * configure.ac: Remove gst/registries, since it's no longer used.
16217         * gst/registries/Makefile.am:
16218         * gst/registries/gstlibxmlregistry.c:
16219         * gst/registries/gstlibxmlregistry.h:
16220         * gst/registries/gstxmlregistry.c:
16221         * gst/registries/gstxmlregistry.h:
16222         * gst/registries/registrytest.c:
16223
16224 2005-09-14  David Schleef  <ds@schleef.org>
16225
16226         * gst/glib-compat.h:
16227         * gst/gstregistryxml.c:
16228           Convergence is near.  Seriously.
16229
16230 2005-09-14  David Schleef  <ds@schleef.org>
16231
16232         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16233         * gst/glib-compat.h:
16234           Attempt #4 to appease the buildbots.
16235
16236 2005-09-14  David Schleef  <ds@schleef.org>
16237
16238         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16239           Attempt #3.
16240
16241 2005-09-14  David Schleef  <ds@schleef.org>
16242
16243         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16244         Attempt #2.
16245
16246 2005-09-14  David Schleef  <ds@schleef.org>
16247
16248         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
16249           the new functions.
16250
16251 2005-09-14  David Schleef  <ds@schleef.org>
16252
16253         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16254         * gst/glib-compat.h: Add some functions that are in newer versions
16255           of glib than we care to require.
16256         * gst/gstregistryxml.c: Use them.
16257
16258 2005-09-14  David Schleef  <ds@schleef.org>
16259
16260         * po/POTFILES.in: remove gst-register.c
16261
16262 2005-09-14  David Schleef  <ds@schleef.org>
16263
16264         * docs/gst/gstreamer-docs.sgml:
16265         * docs/gst/gstreamer-sections.txt:
16266         * docs/gst/gstreamer.types:
16267         * docs/gst/tmpl/gstelement.sgml:
16268         * docs/gst/tmpl/gstplugin.sgml:
16269         * docs/gst/tmpl/gstpluginfeature.sgml:
16270           Documentation updates for registry changes.
16271
16272 2005-09-14  David Schleef  <ds@schleef.org>
16273
16274         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
16275           because we don't require glib-2.8.
16276
16277 2005-09-14  David Schleef  <ds@schleef.org>
16278
16279         * gst/gstregistryxml.c: Added.  Essentially moved out of the
16280           registries directory.
16281
16282 2005-09-14  David Schleef  <ds@schleef.org>
16283
16284         * check/Makefile.am:
16285         * check/generic/states.c:
16286         * gst/Makefile.am:
16287         * gst/gst.c:
16288         * gst/gst.h:
16289         * gst/gst_private.h:
16290         * gst/gstelementfactory.c:
16291         * gst/gstindex.c:
16292         * gst/gstinfo.c:
16293         * gst/gstplugin.c:
16294         * gst/gstplugin.h:
16295         * gst/gstpluginfeature.c:
16296         * gst/gstpluginfeature.h:
16297         * gst/gstregistry.c:
16298         * gst/gstregistry.h:
16299         * gst/gstregistrypool.c: remove
16300         * gst/gstregistrypool.h: remove
16301         * gst/gsttypefind.c:
16302         * gst/gsttypefindfactory.c:
16303         * gst/gsturi.c:
16304         * tools/Makefile.am:
16305         * tools/gst-compprep.c:
16306         * tools/gst-inspect.c:
16307         * tools/gst-register.c: remove
16308         * tools/gst-xmlinspect.c:
16309           Registry rewrite.  Changes registry from being a file created
16310           by a tool into a simple cache file created automatically by 
16311           libgstreamer.  Removed gst-register (because it's no longer
16312           needed).  Remove registry pools, because we only have one
16313           registry implementation (XML).  Fix up other subsystems as
16314           necessary.
16315
16316 2005-09-13  Michael Smith <msmith@fluendo.com>
16317
16318         * gst/gstconfig.h.in:
16319           Don't Use windows linking attributes for MinGW. Fixes #316157
16320
16321 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16322
16323         * gst/gstutils.c: (set_state_async_thread_func),
16324         (gst_element_set_state_async):
16325           Apparently people think it's better if this function doesn't
16326           try to set the state to whatever state was asked for on the first
16327           call to this function for any object.  Seriously.
16328
16329 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16330
16331         * check/gst/gstpipeline.c: (GST_START_TEST):
16332         * docs/gst/gstreamer-sections.txt:
16333         * gst/gstutils.c: (set_state_async_thread_func),
16334         (gst_element_set_state_async):
16335         * gst/gstutils.h:
16336           add a "gst_element_set_state_async" method that
16337           sets the state and starts a thread to make sure the state
16338           change completes as best as it can
16339
16340 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16341
16342         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16343           codify design+behaviour in testsuite after discussion
16344
16345 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16346
16347         * docs/gst/tmpl/gstelement.sgml:
16348         * docs/manual/appendix-quotes.xml:
16349           add a quote
16350         * gst/gstelement.c: (gst_element_set_state):
16351           add some debug
16352
16353 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
16354
16355         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16356         (gst_base_transform_prepare_output_buf),
16357         (gst_base_transform_handle_buffer):
16358         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
16359         (gst_capsfilter_prepare_buf):
16360           Remove the requirement for sub-classes to call the parent
16361           implementation of prepare_output_buffer with a wrapper function.
16362           
16363         * gst/gsttaglist.h:
16364         * gst/gsttagsetter.h:
16365           Fix #define wrapper
16366
16367 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
16368
16369         * docs/gst/gstreamer-sections.txt:
16370           more doc cleanups
16371
16372 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16373
16374         * docs/gst/gstreamer-sections.txt:
16375         * docs/gst/tmpl/gstelement.sgml:
16376         * docs/gst/tmpl/gstplugin.sgml:
16377         * gst/gstminiobject.c:
16378         * gst/gstvalue.h:
16379           docs now stop throwing warnings
16380
16381 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16382
16383         * docs/gst/gstreamer-sections.txt:
16384         * docs/gst/gstreamer.types:
16385         * docs/gst/tmpl/gstpad.sgml:
16386         * docs/gst/tmpl/gsttypes.sgml:
16387         * gst/base/gstadapter.h:
16388         * gst/base/gstbasesink.h:
16389         * gst/base/gstbasesrc.h:
16390         * gst/gstbin.h:
16391         * gst/gstbuffer.h:
16392         * gst/gstbus.h:
16393         * gst/gstcaps.h:
16394         * gst/gstclock.h:
16395         * gst/gstelement.h:
16396         * gst/gstevent.h:
16397         * gst/gstmessage.h:
16398         * gst/gstpad.h:
16399         * gst/gststructure.c:
16400         * gst/registries/gstlibxmlregistry.h:
16401           various documentation fixes
16402
16403 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16404
16405         * docs/gst/gstreamer-sections.txt:
16406         * docs/gst/tmpl/gstvalue.sgml:
16407           rearrange gstvalue section
16408         * gst/gstutils.c: (gst_element_state_get_name):
16409           NONE -> VOID
16410         * gst/gstvalue.c: (_gst_value_initialize):
16411         * gst/gstvalue.h:
16412           doc updates
16413
16414 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
16415
16416         * check/gst-libs/controller.c:
16417           Header include fix.
16418         * gst/base/gstbasetransform.c:
16419         (gst_base_transform_default_prepare_buf),
16420         (gst_base_transform_handle_buffer):
16421         * gst/base/gstbasetransform.h:
16422           Some more basetransform changes and fixes to enable sub-classes
16423           that modify buffer metadata only.
16424         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
16425         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
16426         (gst_capsfilter_prepare_buf):
16427           If the output pad has fixed allowed caps and input buffers 
16428           don't have any, set the fixed caps on outgoing buffers.
16429
16430 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
16431         * check/elements/identity.c: (GST_START_TEST):
16432           Make the error a little clearer when the test fails because
16433           identity made a copy of the buffer.
16434         * docs/gst/gstreamer-sections.txt:
16435           New symbols in gstbasetransform.h
16436         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16437         (gst_base_transform_init), (gst_base_transform_transform_size),
16438         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16439         (gst_base_transform_default_prepare_buf),
16440         (gst_base_transform_get_unit_size),
16441         (gst_base_transform_buffer_alloc),
16442         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16443         (gst_base_transform_change_state),
16444         (gst_base_transform_set_passthrough),
16445         (gst_base_transform_set_in_place),
16446         (gst_base_transform_is_in_place):
16447         * gst/base/gstbasetransform.h:
16448           Change BaseTransform to separate in_place operate from same_caps
16449           output. in_place implies that the element can perform the transform
16450           on incoming buffers in-place, even if the caps on the output are
16451           different.
16452           Sub-class elements can now implement special buffer allocation
16453           methods for outgoing buffers if they wish to.
16454           Big documentation addition.
16455         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
16456         * gst/elements/gstelements.c:
16457           Changes for basetransform modifications.
16458         * gst/elements/Makefile.am:
16459         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
16460           Compile fix. Extra debug output.
16461
16462 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16463
16464         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
16465         (gst_pad_suite):
16466           add tests for valid pad naming
16467         * gst/check/gstcheck.c: (gst_check_log_message_func),
16468         (gst_check_log_critical_func):
16469           add ASSERT_WARNING
16470           remove printing of code, it is fragile when the code contains
16471           % and the line number is enough info
16472         * gst/check/gstcheck.h:
16473         * gst/gstpad.c: (gst_pad_template_new):
16474           fix memleaks
16475
16476 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16477
16478         * configure.ac:
16479           say what CHECK flags we use
16480         * docs/libs/gstreamer-libs.types:
16481         * libs/gst/controller/Makefile.am:
16482         * libs/gst/controller/gst-controller.c:
16483         * libs/gst/controller/gst-controller.h:
16484         * libs/gst/controller/gst-helper.c:
16485         * libs/gst/controller/gst-interpolation.c:
16486         * libs/gst/controller/gstcontroller.c:
16487         * libs/gst/controller/gsthelper.c:
16488         * libs/gst/controller/gstinterpolation.c:
16489         * tools/gst-inspect.c: (print_plugin_info):
16490           we don't use dashes in header names
16491
16492 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16493
16494         * check/Makefile.am:
16495         * check/gst/.cvsignore:
16496         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
16497         (gst_pipeline_suite), (main):
16498           adding a test for pipelines and state changes
16499         * gst/gstutils.c: (get_state_func):
16500           add some debugging
16501         * gstreamer.spec.in:
16502           fix up spec file
16503
16504 2005-09-08  Michael Smith <msmith@fluendo.com>
16505
16506         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
16507         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
16508         (gst_file_src_is_seekable), (gst_file_src_get_size),
16509         (gst_file_src_start):
16510         * gst/elements/gstfilesrc.h:
16511           Various fixes for unseekable, unmmapable, and non-normal files, so
16512           that fallback to read() rather than mmap() works.
16513         * gst/gstevent.c: (gst_event_new_newsegment):
16514           Allow newsegment events with segment_start == segment_end, as will
16515           correctly happen if you use filesrc on a zero-size file, for
16516           example.
16517
16518 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
16519
16520         * gst/gstplugin.c: (gst_plugin_load_file):
16521           Call g_module_close when we don't load the module
16522
16523         * gst/registries/gstlibxmlregistry.c:
16524         (gst_xml_registry_get_property):
16525           Port leak fix from 0.8
16526
16527 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
16528
16529         * docs/gst/gstreamer-docs.sgml:
16530         * docs/gst/tmpl/.cvsignore:
16531         * docs/gst/tmpl/gsttrace.sgml:
16532         * docs/gst/tmpl/gsttrashstack.sgml:
16533         * gst/Makefile.am:
16534         * gst/gst.h:
16535         * gst/gstelement.h:
16536         * gst/gstevent.h:
16537         * gst/gstmessage.c:
16538         * gst/gstmessage.h:
16539         * gst/gsttag.c:
16540         * gst/gsttag.h:
16541         * gst/gsttaginterface.c:
16542         * gst/gsttaginterface.h:
16543         * gst/gsttaglist.c:
16544         * gst/gsttaglist.h:
16545         * gst/gsttagsetter.c:
16546         * gst/gsttagsetter.h:
16547         * gst/gsttrace.c:
16548         * gst/gsttrace.h:
16549         * gst/gsttrashstack.c:
16550           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
16551           inlined docs for gsttrace, gsttrashstack
16552
16553 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
16554
16555         * gst/Makefile.am:
16556         * gst/elements/gstbufferstore.h:
16557         * gst/elements/gsttypefindelement.c:
16558         * gst/elements/gsttypefindelement.h:
16559         * gst/gst.h:
16560         * gst/gsttypefind.c:
16561         * gst/gsttypefind.h:
16562         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
16563         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
16564         (gst_type_find_factory_dispose),
16565         (gst_type_find_factory_unload_thyself),
16566         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
16567         (gst_type_find_factory_get_caps),
16568         (gst_type_find_factory_get_extensions),
16569         (gst_type_find_factory_call_function):
16570         * gst/gsttypefindfactory.h:
16571         * gst/registries/gstlibxmlregistry.c:
16572         * gst/registries/gstxmlregistry.c:
16573           splitted gsttypefind into gsttypefind, gsttypefindfactory
16574
16575 2005-09-07  Andy Wingo  <wingo@pobox.com>
16576
16577         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
16578         condition whereby the pad's task function is entered before the
16579         pad_mode variable was set.
16580
16581 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
16582
16583         * gst/gstpad.c: (gst_pad_alloc_buffer):
16584           Catch misbehaving pad_alloc functions that don't
16585           set up caps and do it for them.
16586
16587 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
16588
16589         * check/pipelines/simple_launch_lines.c: (run_pipeline):
16590           test for pipe!=NULL
16591         * docs/gst/tmpl/.cvsignore:
16592         * docs/gst/tmpl/gstmemchunk.sgml:
16593         * docs/gst/tmpl/gstparse.sgml:
16594         * docs/gst/tmpl/gsttaglist.sgml:
16595         * docs/gst/tmpl/gsttagsetter.sgml:
16596         * docs/gst/tmpl/gsttypefind.sgml:
16597         * docs/gst/tmpl/gsttypefindfactory.sgml:
16598         * gst/gstmemchunk.c:
16599         * gst/gstparse.c:
16600         * gst/gsttag.c:
16601         * gst/gsttaginterface.c:
16602         * gst/gsttypefind.c:
16603         * gst/gsttypefind.h:
16604           inlined more docs
16605
16606 === release 0.9.2 ===
16607
16608 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16609
16610         * NEWS:
16611         * RELEASE:
16612         * configure.ac:
16613           releasing 0.9.2, "South"
16614
16615 2005-09-05  Andy Wingo  <wingo@pobox.com>
16616
16617         * gst/registries/gstxmlregistry.h:
16618         * gst/registries/gstxmlregistry.c: Um... resurrect...
16619         
16620         * gst/registries/gstxmlregistry.h:
16621         * gst/registries/gstxmlregistry.c: and update to newer API.
16622         Incidentally they should be a bit faster now that they don't have
16623         to parse the caps.
16624         
16625 2005-09-05  Andy Wingo  <wingo@pobox.com>
16626
16627         * gst/registries/gstxmlregistry.h:
16628         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
16629         replaced by the libxml registry a while back
16630
16631 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16632
16633         * docs/gst/tmpl/gstplugin.sgml:
16634         * gst/elements/gstelements.c:
16635         * gst/gst.c:
16636         * gst/gstplugin.c: (gst_plugin_register_func),
16637         (gst_plugin_desc_copy), (gst_plugin_desc_free),
16638         (gst_plugin_get_source):
16639         * gst/gstplugin.h:
16640         * gst/registries/gstlibxmlregistry.c: (load_plugin),
16641         (gst_xml_registry_save_plugin):
16642         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
16643         (gst_xml_registry_save_plugin):
16644         * tools/gst-inspect.c: (print_plugin_info):
16645           add a "source" plugin description field, to represent the source
16646           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
16647           will set it to PACKAGE, which is automake's idea of the name of
16648           the source project.
16649
16650 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16651
16652         * Makefile.am:
16653         * autogen.sh:
16654         * configure.ac:
16655         * docs/Makefile.am:
16656         * docs/faq/Makefile.am:
16657         * docs/gst/tmpl/gstelement.sgml:
16658         * docs/gst/tmpl/gsttypes.sgml:
16659         * docs/htmlinstall.mak:
16660         * docs/manual/Makefile.am:
16661         * docs/pwg/Makefile.am:
16662           reorganize doc build a little
16663           split out docbook and gtk-doc stuff
16664           have two separate --enable's and enable them through autogen
16665           but disable by default in configure (to be similar to other
16666           projects)
16667         * gstreamer.spec.in:
16668           clean up docs install
16669         * po/af.po:
16670         * po/az.po:
16671         * po/ca.po:
16672         * po/cs.po:
16673         * po/de.po:
16674         * po/en_GB.po:
16675         * po/fr.po:
16676         * po/it.po:
16677         * po/nb.po:
16678         * po/nl.po:
16679         * po/ru.po:
16680         * po/sq.po:
16681         * po/sr.po:
16682         * po/sv.po:
16683         * po/tr.po:
16684         * po/uk.po:
16685         * po/vi.po:
16686           translation updates
16687
16688 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
16689
16690         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
16691           Add comment.
16692           
16693         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
16694         (gst_fake_sink_change_state):
16695           Make state change function thread-safe.
16696           
16697         * gst/gstpad.c: (gst_pad_alloc_buffer):
16698           Set offset on generic buffer allocated by fallback.
16699
16700 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
16701
16702         * docs/gst/gstreamer-sections.txt:
16703         * docs/gst/tmpl/gstelement.sgml:
16704         * gst/gstpad.c:
16705         * libs/gst/controller/gst-controller.c:
16706         (gst_controlled_property_set_interpolation_mode),
16707         (gst_controlled_property_new),
16708         (gst_controller_find_controlled_property):
16709          run the wingo-magic script against the docs
16710
16711 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
16712
16713         * docs/gst/gstreamer-docs.sgml:
16714         * docs/gst/gstreamer-sections.txt:
16715         * docs/gst/tmpl/.cvsignore:
16716         * docs/gst/tmpl/gstelementdetails.sgml:
16717         * docs/gst/tmpl/gstelementfactory.sgml:
16718         * gst/gst.c:
16719         * gst/gstbus.c:
16720         * gst/gstelementfactory.c:
16721         * gst/gstelementfactory.h:
16722           merged elementdetails docs into elementfactory docs
16723           inlined both
16724
16725 2005-09-02  Andy Wingo  <wingo@pobox.com>
16726
16727         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
16728         consider this enum an enum and not a flags.
16729
16730 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
16731
16732         * docs/gst/gstreamer-docs.sgml:
16733         * docs/gst/tmpl/.cvsignore:
16734         * docs/gst/tmpl/gstghostpad.sgml:
16735         * docs/gst/tmpl/gstiterator.sgml:
16736         * docs/gst/tmpl/gstmacros.sgml:
16737         * docs/gst/tmpl/gstrealpad.sgml:
16738         * docs/gst/tmpl/gstregistry.sgml:
16739         * docs/gst/tmpl/gstregistrypool.sgml:
16740         * docs/gst/tmpl/gststructure.sgml:
16741         * docs/gst/tmpl/gstsystemclock.sgml:
16742         * docs/gst/tmpl/gsttrace.sgml:
16743         * gst/gstghostpad.c:
16744         * gst/gstmacros.h:
16745         * gst/gstmemchunk.c:
16746         * gst/gstmemchunk.h:
16747         * gst/gstqueue.c:
16748         * gst/gstregistry.c:
16749         * gst/gstregistrypool.c:
16750         * gst/gststructure.c:
16751         * gst/gstsystemclock.c:
16752           more docs inlined
16753
16754 2005-09-02  Andy Wingo  <wingo@pobox.com>
16755
16756         * gst/gstelement.h (GstState): Renamed from GstElementState,
16757         changed to be a normal enum instead of flags.
16758         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
16759         munged to be GST_STATE_CHANGE_*.
16760         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
16761         work with the new state representation.
16762         (GstStateChange): New enumeration of possible state transitions.
16763         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
16764         (GstElementClass::change_state): Pass the GstStateChange along as
16765         an argument. Helps language bindings, so they don't have to use
16766         tricky lock-needing macros like GST_STATE_CHANGE ().
16767
16768         * scripts/update-states (file): New script. Run it on a file to
16769         update it for state naming and API changes. Updates files in
16770         place.
16771
16772         * All files updated for the new API.
16773
16774 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16775
16776         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
16777         * gst/gstutils.c: (gst_util_set_value_from_string),
16778         (gst_util_set_object_arg):
16779           fix a bunch of unchecked return values
16780         * tools/gst-complete.c: (main):
16781         * gstreamer.spec.in:
16782           clean up a little
16783
16784 2005-09-01  Wim Taymans  <wim@fluendo.com>
16785
16786         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16787         (gst_base_sink_event), (gst_base_sink_do_sync),
16788         (gst_base_sink_handle_event):
16789         * gst/base/gstbasesink.h:
16790         Handle newsegments more correctly.
16791
16792         * gst/gstbus.c:
16793         Fix docs.
16794
16795         * gst/gstevent.c: (gst_event_new_newsegment):
16796         A newsegment cannot have a start_time of -1
16797
16798 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
16799
16800         * win32/gstenumtypes.c:
16801         * win32/gstenumtypes.h:
16802           Update
16803
16804 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
16805
16806         * libs/gst/controller/gst-controller.c:
16807         (gst_controlled_property_set_interpolation_mode),
16808         (gst_controlled_property_new):
16809          fixed boolean again
16810
16811 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
16812
16813         * docs/faq/gst-uninstalled:
16814           add -good
16815         * gst/gstevent.c:
16816         * gst/gstevent.h:
16817           remove wrong docs
16818         * gst/gstutils.c: (gst_element_link_filtered):
16819         * gst/gstutils.h:
16820           add gst_element_link_filtered
16821
16822 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
16823
16824         * docs/gst/gstreamer-docs.sgml:
16825         * docs/gst/gstreamer-sections.txt:
16826         * docs/gst/tmpl/.cvsignore:
16827         * docs/gst/tmpl/gsterror.sgml:
16828         * docs/gst/tmpl/gstfilter.sgml:
16829         * docs/gst/tmpl/gsturihandler.sgml:
16830         * docs/gst/tmpl/gsturitype.sgml:
16831         * docs/gst/tmpl/gstutils.sgml:
16832         * docs/gst/tmpl/gstxml.sgml:
16833         * gst/gsterror.c:
16834         * gst/gsterror.h:
16835         * gst/gstfilter.c:
16836         * gst/gsturi.c:
16837         * gst/gsturitype.c:
16838         * gst/gstutils.c:
16839         * gst/gstxml.c:
16840           inlined more docs, fixed double id-ref
16841
16842 2005-08-31  Wim Taymans  <wim@fluendo.com>
16843
16844         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16845         (gst_base_transform_handle_buffer):
16846         Passthrough elements don't need the caps as they don't care.
16847
16848 2005-08-31  Wim Taymans  <wim@fluendo.com>
16849
16850         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16851         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
16852         Don't leak refcounts on buffers.
16853
16854 2005-08-31  Wim Taymans  <wim@fluendo.com>
16855
16856         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
16857         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
16858         (gst_base_transform_chain), (gst_base_transform_change_state):
16859         * gst/base/gstbasetransform.h:
16860         Handle the case where we are not negotiated more gracefully.
16861
16862 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
16863
16864         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
16865         (gst_file_src_map_region):
16866           Set READONLY flag on mmap'ed buffers, otherwise
16867           gst_buffer_make_writable() won't work properly (#314708).
16868
16869 2005-08-31  Wim Taymans  <wim@fluendo.com>
16870
16871         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
16872         passthrough elements can even do inplace on non writable
16873         buffers (as they don't touch them).
16874
16875 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
16876
16877         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
16878         (gst_test_mono_source_set_property),
16879         (gst_test_mono_source_class_init), (GST_START_TEST),
16880         (gst_controller_suite):
16881           more tests (hehe I have the most)
16882         * gst/gstbus.c:
16883           describe popping messages whenusing mulltiple sources
16884         * libs/gst/controller/gst-controller.c:
16885         (gst_controlled_property_set_interpolation_mode),
16886         (gst_controlled_property_new):
16887         * libs/gst/controller/gst-controller.h:
16888         * libs/gst/controller/gst-interpolation.c:
16889           implement boolean properties
16890
16891 2005-08-31  Wim Taymans  <wim@fluendo.com>
16892
16893         * gst/gstminiobject.c: (gst_mini_object_ref):
16894         Cannot assert that the refcount has to be positive
16895         since a disposed object can be resurrected.
16896
16897 2005-08-31  Wim Taymans  <wim@fluendo.com>
16898
16899         * gst/gstpad.c: (gst_pad_init):
16900         Revert change, need to first fix badly behaving 
16901         apps.
16902
16903 2005-08-30  Wim Taymans  <wim@fluendo.com>
16904
16905         * check/elements/fakesrc.c: (setup_fakesrc):
16906         * check/elements/identity.c: (setup_identity):
16907         Activate pads before using them.
16908
16909 2005-08-30  Wim Taymans  <wim@fluendo.com>
16910
16911         * gst/base/gstadapter.c: (gst_adapter_flush):
16912         Flushing out 0 bytes is ok for this function.
16913
16914         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16915         no newsegment gives a warning and sets the start/stop to 
16916         invalid.
16917
16918         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
16919         (gst_base_transform_set_passthrough):
16920         Some debug info.
16921
16922         * gst/gstminiobject.c: (gst_mini_object_ref):
16923         Check refcount here too.
16924
16925         * gst/gstpad.c: (gst_pad_init):
16926         Pads are initially flushing and refusing data.
16927
16928         * gst/gstutils.c: (gst_element_link_pads_filtered):
16929         When adding a capsfilter element make sure it has the
16930         same state as the parent bin.
16931
16932 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
16933
16934         * docs/gst/tmpl/.cvsignore:
16935         * docs/gst/tmpl/gstformat.sgml:
16936         * docs/gst/tmpl/gstversion.sgml:
16937         * gst/gstbus.h:
16938         * gst/gstformat.c:
16939         * gst/gstformat.h:
16940         * gst/gstversion.h.in:
16941           more docs and two more inlined
16942
16943 2005-08-30  Wim Taymans  <wim@fluendo.com>
16944
16945         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
16946         Don't sync to clock.
16947
16948 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
16949
16950         * docs/gst/gstreamer-sections.txt:
16951           ultral33t func10ns deserve to appear in the docs actually
16952         * docs/gst/tmpl/.cvsignore:
16953         * docs/gst/tmpl/gstcompat.sgml:
16954         * docs/gst/tmpl/gstconfig.sgml:
16955         * gst/check/gstcheck.c:
16956         * gst/gstcompat.h:
16957         * gst/gstconfig.h.in:
16958           inlined more docs
16959
16960 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
16961
16962         * docs/gst/tmpl/.cvsignore:
16963         * docs/gst/tmpl/gstquery.sgml:
16964         * docs/gst/tmpl/gstutils.sgml:
16965         * gst/gstquery.c:
16966         * gst/gstquery.h:
16967           inlined and extended docs
16968
16969 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
16970
16971         * check/gst-libs/controller.c: (GST_START_TEST),
16972         (gst_controller_suite):
16973           more tests
16974         * docs/gst/tmpl/gstutils.sgml:
16975         * docs/libs/gstreamer-libs-sections.txt:
16976         * docs/libs/tmpl/gstdataprotocol.sgml:
16977           include path fixes
16978         * examples/controller/audio-example.c: (main):
16979           controller example works now
16980         * gst/gstclock.h:
16981           doc fixes
16982         * tools/gst-inspect.c: (print_element_properties_info):
16983           show param spec flags
16984
16985 2005-08-29  Andy Wingo  <wingo@pobox.com>
16986
16987         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
16988
16989 2005-08-28  Andy Wingo  <wingo@pobox.com>
16990
16991         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
16992         as having two arguments instead of just one. Allows superclasses
16993         to access information on subclasses -- see the terrible for() loop
16994         in gtype.c:g_type_create_instance for the reason why. All callers
16995         changed.
16996
16997 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
16998
16999         * docs/design/part-messages.txt:
17000           update info
17001         * docs/gst/tmpl/.cvsignore:
17002         * docs/gst/tmpl/gstcaps.sgml:
17003         * docs/gst/tmpl/gstclock.sgml:
17004         * gst/gstbus.c:
17005         * gst/gstcaps.c:
17006         * gst/gstcaps.h:
17007         * gst/gstclock.c:
17008         * gst/gstclock.h:
17009         * gst/gstmessage.c:
17010           added descriptions for bus and message
17011           inline caps and clock docs
17012
17013 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
17014
17015         * gst/gstmessage.c:
17016         * gst/gstmessage.h:
17017           doc fixes
17018
17019 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
17020
17021         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
17022           fix div-by-zero
17023
17024 2005-08-26  Andy Wingo  <wingo@pobox.com>
17025
17026         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
17027         element_set_state's return val.
17028         (test_2_elements): Add test that's been disabled for months.
17029
17030         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
17031         can-activate-pull properties.
17032
17033         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
17034         can-activate-pull properties. Implement is_seekable so fakesrc can
17035         operate in pull mode.
17036
17037         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
17038         properties.
17039         (gst_base_sink_activate, gst_base_sink_activate_pull)
17040         (gst_base_sink_activate_push): Make activation mode choosing work.
17041         Cleanups.
17042         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
17043         is right. Make pull mode work. Post an eos before pausing in pull
17044         mode.
17045         (gst_base_sink_change_state): Pay attention to the core's
17046         change_state() return val.
17047         
17048         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
17049         has-getrange properties. Cleanups.
17050         
17051         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
17052         has_getrange and replace with can_activate_pull and
17053         can_activate_push.
17054
17055         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
17056         locking comments. Remove has_loop, has_chain and replace with
17057         can_activate_pull and can_activate_push.
17058
17059 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
17060
17061         * configure.ac:
17062         * examples/Makefile.am:
17063         * examples/metadata/Makefile.am:
17064         * examples/metadata/read-metadata.c: (message_loop),
17065         (have_pad_handler), (make_pipeline), (print_tag), (main):
17066           Add metadata reading example that loops over a list of filenames,
17067           dumping any tags found.
17068
17069         * gst/gstbus.c: (gst_bus_dispose):
17070         * gst/gstelement.c: (gst_element_dispose):
17071           Release a few potentially-held references in dispose.
17072
17073 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
17074
17075         * docs/gst/tmpl/gstminiobject.sgml:
17076           do *not* add tmpl/*.sgml files to CVS!
17077
17078 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
17079
17080         * libs/gst/bytestream/.cvsignore:
17081         * libs/gst/bytestream/Makefile.am:
17082         * libs/gst/bytestream/adapter.c:
17083         * libs/gst/bytestream/adapter.h:
17084         * libs/gst/bytestream/bytestream.c:
17085         * libs/gst/bytestream/bytestream.h:
17086         * libs/gst/bytestream/filepad.c:
17087         * libs/gst/bytestream/filepad.h:
17088           removing obsolete files
17089
17090 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
17091
17092         * docs/gst/gstreamer-docs.sgml:
17093         * docs/libs/gstreamer-libs-docs.sgml:
17094           disabed additional index entries again, as this makes docs-gen just
17095           slow and they aren't useful yet
17096         * docs/libs/gstreamer-libs-sections.txt:
17097           little -section.txt cleanup for libs
17098
17099 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
17100
17101         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17102         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
17103           fix up some debugging
17104         (gst_base_transform_get_unit_size),
17105         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
17106         (gst_base_transform_handle_buffer):
17107         * gst/base/gstbasetransform.h:
17108           handle and store timed NEWSEGMENT events so that subclasses that
17109           calculate time by counting samples have a segment_start time they
17110           need to add to their timestamps - see audioresample
17111
17112 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
17113
17114         * gst/gstbin.h:
17115           removed ';' from the end of macro defs
17116         * docs/gst/gstreamer-docs.sgml:
17117         * docs/gst/gstreamer-sections.txt:
17118         * docs/gst/tmpl/.cvsignore:
17119         * gst/gstbus.h:
17120         * gst/gstelement.c: (gst_element_class_init),
17121         (gst_element_set_state), (activate_pads),
17122         (gst_element_save_thyself):
17123         * gst/gstevent.c: (gst_event_new_newsegment):
17124         * gst/gstevent.h:
17125         * gst/gstiterator.c:
17126         * gst/gstiterator.h:
17127         * gst/gstpad.c:
17128         * gst/gstprobe.h:
17129         * gst/gstutils.c: (gst_pad_query_convert):
17130         * gst/gstutils.h:
17131           fixed parameter name mismatches between source, header and docs
17132           added some more docs, resolved the last batch of unused elements in
17133           docs (now someone needs to doc them)
17134
17135 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
17136
17137         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
17138         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
17139           don't walk through the plugins backwards.  Where is all this
17140           reversed logic coming from ?
17141
17142 2005-08-25  Wim Taymans  <wim@fluendo.com>
17143
17144         * gst/base/gstbasetransform.c: (gst_base_transform_init),
17145         (gst_base_transform_transform_size),
17146         (gst_base_transform_configure_caps),
17147         (gst_base_transform_get_unit_size),
17148         (gst_base_transform_buffer_alloc),
17149         (gst_base_transform_change_state):
17150         * gst/base/gstbasetransform.h:
17151         Cache caps unit_size.
17152         Make sure we cannot negotiate up and downstream at the
17153         same time.
17154
17155 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
17156
17157         * gst/gst.c: (init_pre), (init_post):
17158           register the installed plugin path after the env var
17159         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
17160         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
17161           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
17162           directories, so the tests can prefer uninstalled over installed
17163
17164 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
17165
17166         * gst/base/gstbasetransform.h:
17167           comment
17168         * gst/gstpad.c:
17169           add to docs
17170
17171 2005-08-25  Wim Taymans  <wim@fluendo.com>
17172
17173         * gst/gstbin.c: (bin_bus_handler):
17174         Be a bit more conservative about the posted message.
17175         
17176         * gst/gstbus.c: (gst_bus_post):
17177         Some cleanups, warn wrong return values.
17178
17179 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
17180
17181         * check/gst/gstbin.c: (GST_START_TEST):
17182         * gst/gstbin.c: (bin_bus_handler):
17183         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17184         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17185         (gst_message_new_warning), (gst_message_new_tag),
17186         (gst_message_new_state_changed), (gst_message_new_segment_start),
17187         (gst_message_new_segment_done), (gst_message_new_custom):
17188         * gst/gstmessage.h:
17189         * tools/gst-launch.c: (event_loop):
17190         * tools/gst-md5sum.c: (event_loop):
17191           Revert unpopular change for GST_MESSAGE_SRC to GObject.
17192
17193 2005-08-25  Wim Taymans  <wim@fluendo.com>
17194
17195         * check/generic/states.c: (GST_START_TEST):
17196         Cleanup can be done at the end.
17197
17198         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
17199         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17200         (gst_task_get_state), (gst_task_start), (gst_task_pause):
17201         Oh boy.. Thanks for finding this, Thomas. 
17202
17203 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
17204
17205         * docs/gst/gstreamer.types:
17206           added missing types
17207
17208 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
17209
17210         * docs/gst/gstreamer-docs.sgml:
17211         * docs/gst/gstreamer-sections.txt:
17212         * docs/gst/tmpl/.cvsignore:
17213         * gst/gstbin.c:
17214         * gst/gstiterator.c:
17215         * gst/gstutils.c:
17216         * gst/registries/gstxmlregistry.h:
17217           added missing classes and symbols (123 more to go)
17218           removed removed symbols from section file
17219           fixed many doc-comments
17220
17221 2005-08-24  Wim Taymans  <wim@fluendo.com>
17222
17223         * check/generic/states.c: (GST_START_TEST):
17224         Make sure all tasks are stopped.
17225
17226         * check/gst/gstbin.c: (GST_START_TEST):
17227         Unref after usage for proper valgrinding.
17228
17229         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
17230         Really wait for the task to stop before destroying the
17231         mutex.
17232
17233         * gst/gstqueue.c: (gst_queue_sink_activate_push),
17234         (gst_queue_src_activate_push):
17235         Small cleanups. Don't stop the task when we did not start
17236         it.
17237
17238         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
17239         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17240         (gst_task_get_state), (gst_task_start), (gst_task_pause),
17241         (gst_task_join):
17242         * gst/gsttask.h:
17243         Protect the stream lock with the object lock.
17244         Disallow setting the stream lock when running.
17245         Add cleanup_all to wait for the threadpool to finish.
17246         Remove code to autoallocate a mutex if none was provided.
17247         Add _join() to wait for a task to stop.
17248         Protect the thread pool with a global lock.
17249
17250 2005-08-24  Wim Taymans  <wim@fluendo.com>
17251
17252         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17253         (gst_base_sink_get_times), (gst_base_sink_do_sync),
17254         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
17255         * gst/base/gstbasesink.h:
17256         Handle newsegment events correctly.
17257         Drop buffers out of the segment range.
17258
17259 2005-08-22  Andy Wingo  <wingo@pobox.com>
17260
17261         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
17262         macro, implements an interface and gstimplementsinterface for a
17263         new type.
17264
17265 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17266
17267         * check/Makefile.am:
17268         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
17269           add a test that does a bunch of state changes on elements
17270           needs some fixing for valgrind
17271         * check/states/sinks.c: (gst_object_suite):
17272           whitespace
17273         * gst/gstcaps.h:
17274           add prototype for gst_caps_is_equal_fixed
17275         * gst/gstplugin.c:
17276         * gst/gstregistrypool.c:
17277           doc fixes
17278
17279 2005-08-24  Andy Wingo  <wingo@pobox.com>
17280
17281         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
17282         convert a negative value. Doesn't make much sense. Mostly this is
17283         here to force callers to ensure -1 maps to -1.
17284
17285 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
17286
17287         * docs/pwg/advanced-types.xml:
17288           Well done to Michael for catching my deliberate introduction
17289           of this spelling mistake. 
17290         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
17291         * gst/gstelement.h:
17292           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
17293           unlink pads before removing the element from the bin.
17294
17295 2005-08-24  Andy Wingo  <wingo@pobox.com>
17296
17297         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
17298         the same thing as GST_DEBUG=*:4.
17299         (parse_debug_level, parse_debug_category): New helper parsers.
17300
17301 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17302
17303         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17304         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
17305         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
17306         (gst_base_transform_buffer_alloc),
17307         (gst_base_transform_handle_buffer):
17308           use gboolean return values and pointers to size so we can use the
17309           full GST_BUFFER_SIZE range (guint) for buffer sizes
17310           use GstPadDirection for transform_caps
17311         * gst/base/gstbasetransform.h:
17312           rename get_size to get_unit_size since that's what it is
17313         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
17314           use GstPadDirection for transform_caps
17315         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17316         * gst/gstutils.h:
17317           cleanup and debugging
17318
17319 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
17320
17321         * gst/gstelement.c: (gst_element_class_init),
17322         (gst_element_set_state), (activate_pads),
17323         (gst_element_save_thyself):
17324         * tools/gst-compprep.c: (main):
17325         * tools/gst-inspect.c: (print_element_properties_info):
17326         * tools/gst-xmlinspect.c: (print_element_properties):
17327           Fixed long standing mem-leak
17328
17329 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
17330
17331         * check/gst/gstbin.c: (GST_START_TEST):
17332         * gst/gstbin.c: (bin_bus_handler):
17333         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17334         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17335         (gst_message_new_warning), (gst_message_new_tag),
17336         (gst_message_new_state_changed), (gst_message_new_segment_start),
17337         (gst_message_new_segment_done), (gst_message_new_custom):
17338         * gst/gstmessage.h:
17339         * tools/gst-launch.c: (event_loop):
17340         * tools/gst-md5sum.c: (event_loop):
17341           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
17342           that applications can sensibly post custom messages with references
17343           to their own objects.
17344
17345 2005-08-24  Andy Wingo  <wingo@pobox.com>
17346
17347         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
17348         already.
17349
17350 2005-08-24  Wim Taymans  <wim@fluendo.com>
17351
17352         * gst/base/gstbasetransform.c: (gst_base_transform_init),
17353         (gst_base_transform_transform_caps),
17354         (gst_base_transform_transform_size),
17355         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
17356         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
17357         (gst_base_transform_handle_buffer):
17358         * gst/base/gstbasetransform.h:
17359         Many fixes and new features added by Thomas. Can now also do
17360         transforms with variable sizes and a custom fixate_caps function.
17361
17362 2005-08-24  Wim Taymans  <wim@fluendo.com>
17363
17364         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17365         Some debugging.
17366
17367         * gst/gstclock.h:
17368         Cast to ClockTime before formatting to time.
17369
17370         * gst/gstutils.h:
17371         Cleanups.
17372
17373 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
17374
17375         * check/gst-libs/controller.c: (GST_START_TEST),
17376         (gst_controller_suite):
17377         * docs/gst/tmpl/gstcaps.sgml:
17378         * docs/gst/tmpl/gstghostpad.sgml:
17379         * docs/gst/tmpl/gstquery.sgml:
17380         * docs/gst/tmpl/gstutils.sgml:
17381         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
17382         (gst_object_sink_values), (gst_object_get_value_arrays),
17383         (gst_object_get_value_array):
17384           gracefully handle helper method calls to objects that are not beeing
17385           controlled, added test case for that          
17386
17387 2005-08-23  Wim Taymans  <wim@fluendo.com>
17388
17389         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
17390         (gst_event_new_newsegment), (gst_event_parse_newsegment),
17391         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
17392         (gst_event_parse_qos), (gst_event_new_seek),
17393         (gst_event_parse_seek):
17394         * gst/gstevent.h:
17395         Some more debugging output and doc cleanups.
17396
17397         * gst/gstqueue.c: (gst_queue_handle_sink_event):
17398         Fix possible deadlock.
17399
17400 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17401
17402         * docs/gst/gstreamer-docs.sgml:
17403         * docs/gst/gstreamer-sections.txt:
17404         * docs/gst/gstreamer.types:
17405         * docs/gst/tmpl/.cvsignore:
17406         * gst/gstbin.h:
17407         * gst/gstbus.c:
17408         * gst/gstelement.c:
17409         * gst/gstevent.h:
17410           added 100 symbols from gstreamer-unused.txt to the right sections
17411           fixed more broken comments
17412           added GstBus to docs
17413
17414 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17415
17416         * docs/gst/gstreamer-sections.txt:
17417         * docs/gst/tmpl/.cvsignore:
17418         * docs/gst/tmpl/gstbin.sgml:
17419         * docs/gst/tmpl/gstbuffer.sgml:
17420         * gst/base/gstbasesrc.c:
17421         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
17422         * gst/gstbuffer.c:
17423         * gst/gstbuffer.h:
17424         * tools/gst-launch.1.in:
17425           inlined more doc comments, added missing comments and fixed comments
17426           fixed typos
17427
17428 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17429
17430         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17431           some debugging
17432         * gst/gstcaps.h:
17433           whitespace fixes
17434         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
17435           more debugging
17436         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
17437         * gst/gststructure.h:
17438           add a fixate function for booleans; add a FIXME that these func
17439           names should probably be gst_structure_fixate_*
17440
17441 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17442
17443         * docs/gst/gstreamer-docs.sgml:
17444         * docs/gst/gstreamer-sections.txt:
17445         * gst/Makefile.am:
17446         * gst/gstbin.c: (gst_bin_get_type),
17447         (gst_bin_child_proxy_get_child_by_index),
17448         (gst_bin_child_proxy_get_children_count),
17449         (gst_bin_child_proxy_init):
17450         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17451         (gst_child_proxy_get_child_by_index),
17452         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
17453         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
17454         (gst_child_proxy_get), (gst_child_proxy_set_property),
17455         (gst_child_proxy_set_valist), (gst_child_proxy_set),
17456         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
17457         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
17458         * gst/gstchildproxy.h:
17459         * gst/parse/grammar.y:
17460         * tools/gst-inspect.c: (print_interfaces),
17461         (print_element_properties_info), (print_element_info):
17462           ported gstchildproxy over from 0.8
17463           ported gst-inspect fixes and enhancements over from 0.8
17464
17465 2005-08-22  Wim Taymans  <wim@fluendo.com>
17466
17467         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17468         (gst_base_transform_handle_buffer):
17469         Also call the transform function if we have ANY caps.
17470
17471         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
17472         Fix debug info.
17473
17474 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
17475
17476         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
17477           Don't pretend to handle seek events if the source is not seekable
17478
17479 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
17480
17481         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17482           Remove extra parameter to debug output
17483
17484         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17485         (gst_base_src_do_seek), (gst_base_src_activate_push):
17486           Fix seek event handling.
17487
17488         * gst/gstpipeline.c: (gst_pipeline_change_state):
17489         * gst/gstqueue.c: (gst_queue_handle_sink_event),
17490         (gst_queue_src_activate_push):
17491           Don't start the src pad task on FLUSH_STOP if the pad
17492           isn't linked.
17493           Debug changes.
17494
17495 2005-08-22  Wim Taymans  <wim@fluendo.com>
17496
17497         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
17498         Added check for gst_static_caps_get() refcounting.
17499
17500 2005-08-22  Wim Taymans  <wim@fluendo.com>
17501
17502         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
17503         Make _static_caps_get() refcounting sane.
17504         
17505         * gst/gstelement.c: (gst_element_set_state):
17506         Add g_return_val_if_fail() to protect against segfaults.
17507
17508 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
17509
17510         * docs/gst/tmpl/gstevent.sgml:
17511         * gst/gstevent.c:
17512         * gst/gstevent.h:
17513           inlined remaining docs, added missing doc comments
17514
17515 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17516
17517         * check/gst/gstbin.c: (GST_START_TEST):
17518           since we don't know when preroll is done, use refcount range
17519           check for the sink
17520         * gst/check/gstcheck.h:
17521           add macro for checking refcount range
17522
17523 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17524
17525         * check/Makefile.am:
17526           clean up environment for when registry gets built versus
17527           when actual tests are run; valgrind seems to not report
17528           leaks if GST_PLUGIN_PATH is set to some specific values
17529         * check/gst/gstbin.c: (GST_START_TEST):
17530           add more refcounting checks; maybe this exposes a
17531           preroll lock bug ?
17532         * common/check.mak:
17533         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17534         * gst/check/gstcheck.h:
17535         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
17536         (gst_bin_change_state):
17537         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
17538           add/fix debugging/whitespace
17539
17540 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
17541
17542         * check/gst/gstevent.c: (event_probe), (test_event),
17543         (GST_START_TEST):
17544          Er, don't call gst_bin_watch_for_state_change you idiot.
17545
17546 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
17547
17548         * check/Makefile.am:
17549           Use CHECK_CFLAGS and CHECK_LIBS
17550         * check/gst/gstevent.c: (event_probe), (test_event),
17551         (GST_START_TEST):
17552           Don't leak events.
17553         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17554         (gst_base_src_start), (gst_base_src_stop),
17555         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17556         (gst_base_src_change_state):
17557           Sprinkle gst_base_src_stop liberally around error paths to fix
17558           problems reusing a source after failed state changes.
17559         * gst/base/gsttypefindhelper.c: (helper_find_peek),
17560         (helper_find_suggest), (gst_type_find_helper):
17561           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
17562         * gst/gstevent.h:
17563         * docs/gst/tmpl/gstevent.sgml:
17564           Migrate part of the docs from the SGML file. Wait for ensonic to
17565           tell me how I did it wrong ;)
17566         * tools/gst-typefind.c: (main):
17567           Extra robustness to state changes between files.
17568
17569 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17570
17571         * check/Makefile.am:
17572           don't valgrind the controller test - it's leaking - Stefan, HELP
17573         * gst/check/gstcheck.c: (gst_check_message_error),
17574         (gst_check_chain_func), (gst_check_setup_element),
17575         (gst_check_teardown_element), (gst_check_setup_src_pad),
17576         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
17577         (gst_check_teardown_sink_pad):
17578         * gst/check/gstcheck.h:
17579           add a bunch of methods to set up elements, and src and sink pads
17580         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
17581         * check/elements/identity.c: (setup_identity), (cleanup_identity),
17582         (GST_START_TEST):
17583           use them
17584         * gst/gstmessage.c:
17585         * gst/gsttag.h:
17586           whitespace/doc fixes
17587
17588 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17589
17590         * gst/gstelement.h:
17591           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
17592           be handled by the application and not always printed as well
17593
17594 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17595
17596         * check/Makefile.am:
17597           set GST_TOOLS_DIR
17598         * gst/check/gstcheck.c: (gst_check_message_error):
17599         * gst/check/gstcheck.h:
17600           add a fail_unless_equals_int
17601           add fail_unless for error messages
17602
17603 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17604
17605         * check/Makefile.am:
17606         * check/gst.supp:
17607         * common/Makefile.am:
17608         * common/check.mak:
17609         * common/gst.supp:
17610           factor out some of the common stuff so we can use it
17611
17612 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17613
17614         * check/Makefile.am:
17615         * check/gst/gstiterator.c: (GST_START_TEST):
17616         * check/gst/gstsystemclock.c: (GST_START_TEST),
17617         (gst_systemclock_suite):
17618         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
17619         * gst/gstclock.c:
17620           valgrind more tests
17621
17622 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17623
17624         * check/elements/.cvsignore:
17625         * check/elements/gstfakesrc.c:
17626           rename to name of element
17627         * check/elements/identity.c: (chain_func), (event_func),
17628         (setup_identity), (cleanup_identity), (GST_START_TEST),
17629         (identity_suite), (main):
17630           add a test for identity
17631         * check/Makefile.am:
17632         * pkgconfig/Makefile.am:
17633         * pkgconfig/gstreamer-check.pc.in:
17634         * pkgconfig/gstreamer-check-uninstalled.pc.in:
17635         * gst/check:
17636         * gst/Makefile.am:
17637         * configure.ac:
17638           move the check stuff to a library that gets installed
17639         * check/gst-libs/controller.c: (GST_START_TEST):
17640         * check/gst-libs/gdp.c:
17641         * check/gst/gst.c: (GST_START_TEST):
17642         * check/gst/gstbin.c:
17643         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17644         * check/gst/gstbus.c:
17645         * check/gst/gstcaps.c: (GST_START_TEST):
17646         * check/gst/gstelement.c:
17647         * check/gst/gstghostpad.c:
17648         * check/gst/gstiterator.c:
17649         * check/gst/gstmessage.c:
17650         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
17651         * check/gst/gstobject.c:
17652         * check/gst/gstpad.c: (GST_START_TEST):
17653         * check/gst/gststructure.c: (GST_START_TEST):
17654         * check/gst/gstsystemclock.c: (GST_START_TEST),
17655         (gst_systemclock_suite):
17656         * check/gst/gsttag.c: (gst_tag_suite):
17657         * check/gst/gstvalue.c:
17658         * check/pipelines/cleanup.c:
17659         * check/pipelines/simple_launch_lines.c:
17660         * check/states/sinks.c:
17661           change include statement
17662
17663         * docs/gst/gstreamer-sections.txt:
17664         * docs/gst/tmpl/gstpad.sgml:
17665           document more pad stuff
17666         * gst/gstminiobject.c: (gst_mini_object_ref),
17667         (gst_mini_object_unref):
17668           debug refcounting
17669
17670 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
17671
17672         * docs/gst/tmpl/gst.sgml:
17673         * gst/gst.c:
17674           eliminate another tmpl file, fix spelling in the long-description
17675
17676 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17677
17678         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17679         (test_event), (timediff), (gstevents_suite):
17680           Should fix build on 64-bit arch's
17681
17682 2005-08-18  Andy Wingo  <wingo@pobox.com>
17683
17684         Make sure that when a pipeline goes to PLAYING, that data has
17685         actually hit the sink.
17686
17687         * check/states/sinks.c (test_sink): A sink that doesn't get any
17688         data shouldn't return SUCCESS for going to either PLAYING or
17689         PAUSED. Test also the return values on the way back down.
17690
17691         * gst/gstelement.c (gst_element_set_state): When changing the
17692         state of an element currently changing state asynchronously, go to
17693         lost-state after commiting the pending state. Makes future calls
17694         to get_state continue to return ASYNC.
17695
17696         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
17697         ASYNC when going to PLAYING if we still don't have preroll, as can
17698         happen with live sources.
17699
17700 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17701
17702         * docs/pwg/advanced-types.xml:
17703           Hack long paragraph into 2 chunks as a workaround for buggy
17704           jadetex version in sid and breezy that loops infinitely and
17705           eats all RAM.
17706
17707 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17708
17709         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17710         (test_event), (timediff), (gstevents_suite):
17711           Provide more error margin in clock measurements to allow for 
17712           g_get_current_time inaccuracies.
17713
17714 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17715
17716         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17717         (test_event), (timediff), (gstevents_suite):
17718            Fix error message output so I might be able to tell why the
17719            test works here but fails on the build farm.
17720
17721 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17722
17723         * check/Makefile.am:
17724         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17725         (test_event), (timediff), (gstevents_suite), (main):
17726           I wrote a test!
17727
17728         * docs/design/part-seeking.txt:
17729           Spelling correction
17730
17731         * docs/gst/tmpl/gstevent.sgml:
17732         * docs/gst/tmpl/gstfakesrc.sgml:
17733           Docs updates.
17734
17735         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17736           Treat a buffer-without-newsegment the same as a receiving 
17737           a newsegment not in time format, and disable syncing to the clock
17738           with a warning.
17739
17740         * gst/gstbus.c: (gst_bus_set_sync_handler):
17741           Assert if anyone tries to replace the existing sync_handler for bus, 
17742           as only the owner should be setting it.
17743
17744         * gst/gstevent.h:
17745           Have a fixed set of custom event enums with events identified by
17746           their structure name (as in 0.8), rather than a free-for-all
17747           allowing collisions between enum values from different plugins.
17748
17749         * gst/gstpad.c: (gst_pad_class_init):
17750           Docs change.
17751           
17752         * gst/gstqueue.c: (gst_queue_handle_sink_event):
17753           Handle out-of-band downstream events from the sending thread.
17754
17755 2005-08-17  Andy Wingo  <wingo@pobox.com>
17756
17757         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
17758         play-timeout==0 to mean no timeout at all. In that case, don't
17759         bother with a get_state or a warning, just return directly, even
17760         if it's ASYNC.
17761
17762         * gst/base/gstbasetransform.c: Debug changes.
17763
17764         * gst/gstutils.h:
17765         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
17766         ensure bins post state change messages. A bit of a hack but I can't
17767         think of a way to avoid it.
17768
17769         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
17770
17771 2005-08-16  Andy Wingo  <wingo@pobox.com>
17772
17773         * gst/base/gstadapter.h:
17774         * gst/base/gstadapter.c (gst_adapter_take): New function, like
17775         peek() but you own the data. Not terribly efficient atm.
17776
17777 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17778
17779         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
17780         (gst_element_found_tags):
17781         * gst/gstutils.h:
17782           Add two utility functions for tag handling.
17783
17784 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17785
17786         * docs/manual/advanced-dataaccess.xml:
17787         * docs/manual/basics-helloworld.xml:
17788           Fix docs to use _bin_add() before _link(), which fixes the examples
17789           with recent core versions (reported by Madhan Raj M
17790           <raj_madan@rediffmail.com>, #313199).
17791
17792 2005-08-16  Wim Taymans  <wim@fluendo.com>
17793
17794         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
17795         Added subtract checks.
17796
17797         * docs/design/part-events.txt:
17798         Some more docs about newsegment
17799
17800         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
17801         Fix FIXME
17802
17803         * gst/gstcaps.c: (gst_caps_to_string):
17804         Add comments, cleanups.
17805         
17806         * gst/gstelement.c: (gst_element_save_thyself):
17807         cleanups
17808         
17809         * gst/gstvalue.c: (gst_value_collect_int_range),
17810         (gst_string_unwrap), (gst_value_union_int_int_range),
17811         (gst_value_union_int_range_int_range),
17812         (gst_value_intersect_int_int_range),
17813         (gst_value_intersect_int_range_int_range),
17814         (gst_value_intersect_double_double_range),
17815         (gst_value_intersect_double_range_double_range),
17816         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
17817         (gst_value_subtract_int_range_int),
17818         (gst_value_subtract_double_range_double),
17819         (gst_value_subtract_double_range_double_range),
17820         (gst_value_subtract_from_list), (gst_value_subtract_list),
17821         (gst_value_can_compare), (gst_value_compare_fraction):
17822         Cleanups, add comments, remove unneeded asserts.
17823
17824 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17825
17826         * tools/gst-launch.c: (event_loop):
17827           don't convert NULL structures to strings
17828
17829 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
17830
17831         * docs/gst/gstreamer-sections.txt:
17832           made some defines private
17833         * docs/gst/tmpl/gstconfig.sgml:
17834         * docs/gst/tmpl/gstqueue.sgml:
17835         * docs/gst/tmpl/gsttaglist.sgml:
17836         * docs/gst/tmpl/gsttypes.sgml:
17837         * docs/gst/tmpl/gstutils.sgml:
17838         * docs/pwg/appendix-porting.xml:
17839         * gst/base/gstbasesink.h:
17840         * gst/base/gstbasesrc.c:
17841         * gst/base/gstbasesrc.h:
17842         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
17843         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
17844         * gst/gstelement.c: (gst_element_class_init):
17845         * gst/gstpad.c: (gst_pad_class_init):
17846         * gst/gstqueue.c: (gst_queue_class_init):
17847         * gst/gstxml.c: (gst_xml_class_init):
17848           documented all undocumented signal inline
17849         * libs/gst/controller/gst-controller.h:
17850           added padding
17851
17852 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17853
17854         * docs/pwg/appendix-porting.xml:
17855           Document _set_link_function -> _set_setcaps_function.
17856
17857 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17858
17859         * check/Makefile.am:
17860           add a .check target for running the check
17861         * check/gst-libs/controller.c: (GST_START_TEST):
17862           cosmetic fixups
17863         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17864           complete checks for gstbuffer; would be nice if I could get the
17865           gcov stuff to work so I can see if I actually completed gstbuffer.c
17866         * check/gstcheck.h:
17867           add ASSERT_BUFFER_REFCOUNT
17868
17869 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
17870
17871         * docs/gst/gstreamer-sections.txt:
17872         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
17873         * gst/gsttag.h:
17874           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
17875           spew out a warning if a tag that is already registered
17876           is re-registered, unless it is re-registered with a 
17877           different type (#308438).
17878
17879 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
17880
17881         * docs/pwg/appendix-porting.xml:
17882         * docs/pwg/building-state.xml:
17883           Add some paragraphs about state changes in 0.9 to the PWG
17884           and the porting guide, in particular about the new meaning
17885           of GST_STATE_PAUSED and how to write state change functions
17886           with concurrent access by multiple threads in mind.
17887
17888 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
17889
17890         * docs/gst/gstreamer-docs.sgml:
17891         * docs/libs/gstreamer-libs-docs.sgml:
17892           added deprecation and since indexes
17893         * libs/gst/controller/gst-controller.c:
17894         * libs/gst/controller/gst-helper.c:
17895           added since tags
17896
17897
17898 2005-08-11  Wim Taymans  <wim@fluendo.com>
17899
17900         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
17901         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
17902         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
17903         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
17904         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
17905         (gst_ghost_pad_set_target):
17906         Actually implement (re)setting the target on a ghostpad
17907         as described in the docs.
17908
17909 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
17910
17911         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
17912           Check whether GST_DEBUG_NO_COLOR environment variable is
17913           set and disable coloured debug output if that is the case.
17914
17915 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
17916
17917         * gst/base/gsttypefindhelper.c: (helper_find_peek),
17918         (gst_type_find_helper):
17919           The memory returned by gst_type_find_peek() needs to
17920           stay valid until the end of a typefind function, and
17921           typefind functions may keep results from different 
17922           offsets around, so we can't just unref the buffer from
17923           the previous _peek(), but have to save all buffers 
17924           returned by _peek() until typefinding is done and only
17925           free them then.
17926
17927 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
17928
17929         * docs/gst/gstreamer-sections.txt:
17930         * gst/gstutils.h:
17931           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
17932
17933 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17934
17935         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17936           Fix a pretty good memleak.
17937
17938 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
17939
17940         * gst/gstiterator.h:
17941           Fix wrong include and 'make distcheck'.
17942
17943 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17944
17945         * gst/gstbin.c: (bin_bus_handler):
17946           Use gst_element_post_message() instead.
17947
17948 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
17949
17950         * gst/base/gstadapter.h:
17951         * gst/base/gstbasesink.h:
17952         * gst/base/gstbasesrc.h:
17953         * gst/base/gstbasetransform.h:
17954         * gst/base/gstcollectpads.h:
17955         * gst/base/gstpushsrc.h:
17956         * gst/gstiterator.h:
17957           Add padding to our base elements' class and instance structs and
17958           to GstIterator (you will need to rebuild all plugins and apps!)
17959
17960 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17961
17962         * gst/gstbin.c: (bin_bus_handler):
17963           Make default message forwarding from child->bus to bin->bus
17964           threadsafe and make it not emit warnings if the parent has no bus.
17965
17966 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17967
17968         * gst/gstelement.c: (activate_pads):
17969           On paused->ready, set pad->caps to NULL, as is the documented
17970           behaviour in this state change. Fixes playback of series of
17971           media files when visualization is enabled in Totem.
17972
17973 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17974
17975         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17976           Allow NULL as filter-caps (which means "any").
17977
17978 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
17979
17980         * docs/libs/gstreamer-libs-sections.txt:
17981         * libs/gst/controller/gst-controller.c:
17982         * libs/gst/controller/gst-controller.h:
17983         * libs/gst/controller/gst-helper.c:
17984           adding more entries to the docs and fix small doc-bugs
17985
17986 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
17987
17988         * docs/gst/gstreamer-docs.sgml:
17989         * docs/gst/gstreamer-sections.txt:
17990         * docs/gst/gstreamer.types:
17991         * docs/gst/tmpl/gstbasesink.sgml:
17992         * docs/gst/tmpl/gstbasesrc.sgml:
17993         * docs/gst/tmpl/gstbasetransform.sgml:
17994         * docs/gst/tmpl/gstfakesrc.sgml:
17995         * gst/base/gstcollectpads.c:
17996         * gst/base/gstcollectpads.h:
17997         * libs/gst/controller/gst-controller.c:
17998         * libs/gst/controller/gst-controller.h:
17999         * libs/gst/controller/gst-helper.c:
18000         * libs/gst/controller/gst-interpolation.c:
18001         * libs/gst/controller/lib.c:
18002           added long/short desc for controller docs
18003           added collectpads base class docs
18004           added correct includes to base-class docs
18005
18006 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
18007
18008         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
18009         (gst_test_mono_source_set_property),
18010         (gst_test_mono_source_class_init), (GST_START_TEST),
18011         (gst_controller_suite):
18012         * docs/gst/gstreamer-docs.sgml:
18013         * docs/gst/gstreamer-sections.txt:
18014         * docs/gst/gstreamer.types:
18015         * docs/libs/gstreamer-libs-docs.sgml:
18016         * docs/libs/gstreamer-libs-sections.txt:
18017         * gst/base/gstadapter.c:
18018         * libs/gst/controller/gst-controller.c:
18019         (gst_controlled_property_new), (gst_controlled_property_free),
18020         (gst_controller_new_valist),
18021         (gst_controller_remove_properties_valist),
18022         (gst_controller_sink_values), (_gst_controller_finalize):
18023         * libs/gst/controller/gst-controller.h:
18024         * libs/gst/controller/gst-helper.c:
18025         (gst_object_control_properties), (gst_object_uncontrol_properties),
18026         (gst_object_get_controller), (gst_object_set_controller),
18027         (gst_object_sink_values), (gst_object_get_value_arrays),
18028         (gst_object_get_value_array):
18029           more tests (and fixes) for the controller
18030           more docs for the controller
18031           integrated companies docs for the adapter 
18032
18033 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18034
18035         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
18036         (GST_START_TEST), (fakesrc_suite):
18037           add tests for sizetype
18038
18039 2005-08-04  Andy Wingo  <wingo@pobox.com>
18040
18041         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
18042         fixes buffer_alloc proxying among other things.
18043
18044         * gst/base/gstbasetransform.c:
18045         * gst/base/gstbasetransform.h:
18046         Revert patch to gstbasetransform from 7-28 removing
18047         delay_configure.
18048
18049         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
18050         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
18051         Semantics changed, should return not the size of the output buffer
18052         but the byte size of a buffer with a given caps.
18053
18054         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
18055         debug object.
18056         (gst_base_transform_configure_caps): Don't set out_size here: (in,
18057         out) are not the pad caps until setcaps finishes.
18058         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
18059         not-in-place case as well. Deal with changing from in-place to
18060         not-in-place within calling pad_alloc_buffer. Still a bit
18061         concerned about the overhead here...
18062
18063 2005-08-03  Andy Wingo  <wingo@pobox.com>
18064
18065         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
18066         fixating is an error.
18067
18068 2005-08-04  Edward Hervey  <edward@fluendo.com>
18069
18070         * gst/base/gstadapter.h: 
18071         Added gst_adapter_get_type() to the header
18072
18073 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
18074
18075         * check/Makefile.am:
18076         * check/gst-libs/controller.c:
18077         * libs/gst/controller/gst-controller.c:
18078         (gst_controller_new_valist):
18079           added check test suite for the controller
18080         * gst/base/gstpushsrc.c:
18081           fixed a doc typo
18082
18083 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
18084
18085         * docs/gst/Makefile.am:
18086         * docs/gst/gstreamer-docs.sgml:
18087         * docs/gst/gstreamer-sections.txt:
18088         * docs/gst/gstreamer.types:
18089         * docs/gst/tmpl/gstfakesrc.sgml:
18090         * gst/base/README:
18091         * gst/base/gstbasesink.c:
18092         * gst/base/gstbasesink.h:
18093         * gst/base/gstbasesrc.c:
18094         * gst/base/gstbasesrc.h:
18095         * gst/base/gstbasetransform.c:
18096         * gst/base/gstpushsrc.c:
18097         * gst/base/gstpushsrc.h:
18098           add short/long description docs to base classes
18099           add pushsrc to the docs
18100           remove consolidated doc fragments
18101
18102 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
18103
18104         * configure.ac:
18105         * docs/libs/Makefile.am:
18106         * docs/libs/gstreamer-libs-docs.sgml:
18107         * docs/libs/gstreamer-libs-sections.txt:
18108         * docs/libs/gstreamer-libs.types:
18109         * examples/Makefile.am:
18110         * examples/controller/.cvsignore:
18111         * examples/controller/Makefile.am:
18112         * examples/controller/audio-example.c: (main):
18113         * libs/gst/Makefile.am:
18114         * libs/gst/controller/.cvsignore:
18115         * libs/gst/controller/Makefile.am:
18116         * libs/gst/controller/gst-controller.c:
18117         (on_object_controlled_property_changed), (gst_timed_value_compare),
18118         (gst_timed_value_find),
18119         (gst_controlled_property_set_interpolation_mode),
18120         (gst_controlled_property_new), (gst_controlled_property_free),
18121         (gst_controller_find_controlled_property),
18122         (gst_controller_new_valist), (gst_controller_new),
18123         (gst_controller_remove_properties_valist),
18124         (gst_controller_remove_properties), (gst_controller_set),
18125         (gst_controller_set_from_list), (gst_controller_unset),
18126         (gst_controller_get), (gst_controller_get_all),
18127         (gst_controller_sink_values), (gst_controller_get_value_arrays),
18128         (gst_controller_get_value_array),
18129         (gst_controller_set_interpolation_mode),
18130         (_gst_controller_finalize), (_gst_controller_init),
18131         (_gst_controller_class_init), (gst_controller_get_type):
18132         * libs/gst/controller/gst-controller.h:
18133         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
18134         (g_object_uncontrol_properties), (g_object_get_controller),
18135         (g_object_set_controller), (g_object_sink_values),
18136         (g_object_get_value_arrays), (g_object_get_value_array):
18137         * libs/gst/controller/gst-interpolation.c:
18138         (gst_controlled_property_find_timed_value_node),
18139         (interpolate_none_get), (interpolate_trigger_get),
18140         (interpolate_trigger_get_value_array):
18141         * libs/gst/controller/lib.c: (gst_controller_init):
18142         * pkgconfig/Makefile.am:
18143         * pkgconfig/gstreamer-control-uninstalled.pc.in:
18144         * pkgconfig/gstreamer-control.pc.in:
18145         * testsuite/Makefile.am:
18146         * testsuite/controller/.cvsignore:
18147         * testsuite/controller/Makefile.am:
18148         * testsuite/controller/interpolator.c: (main):
18149           added controller code
18150           removed dparam pc files
18151
18152 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
18153         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
18154         (gst_collectpads_stop):
18155           Broadcast the condition when shutting down, to make sure we wake all
18156           threads up. Shut down pads on finalize, for safety.
18157
18158 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
18159         * gst/base/gstbasetransform.c: (gst_base_transform_init),
18160         (gst_base_transform_handle_buffer),
18161         (gst_base_transform_change_state):
18162           Handle PAUSED->READY->PAUSED transition after negotiation
18163           occurred already.
18164         * gst/gstmessage.c: (gst_message_init):
18165           Extra piece of debug for new messages.
18166
18167 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
18168
18169         * configure.ac:
18170         * docs/gst/tmpl/gstbasesrc.sgml:
18171         * docs/gst/tmpl/gstelement.sgml:
18172         * docs/gst/tmpl/gstevent.sgml:
18173         * docs/gst/tmpl/gstfakesrc.sgml:
18174         * docs/gst/tmpl/gstformat.sgml:
18175         * docs/gst/tmpl/gstghostpad.sgml:
18176         * docs/gst/tmpl/gstpad.sgml:
18177         * docs/gst/tmpl/gstquery.sgml:
18178         * docs/gst/tmpl/gststructure.sgml:
18179         * docs/gst/tmpl/gsttaglist.sgml:
18180         * docs/gst/tmpl/gstvalue.sgml:
18181         * docs/libs/gstreamer-libs-docs.sgml:
18182         * docs/libs/gstreamer-libs-sections.txt:
18183         * docs/libs/gstreamer-libs.types:
18184         * libs/gst/Makefile.am:
18185         * libs/gst/control/.cvsignore:
18186         * libs/gst/control/Makefile.am:
18187         * libs/gst/control/control.c:
18188         * libs/gst/control/control.h:
18189         * libs/gst/control/dparam.c:
18190         * libs/gst/control/dparam.h:
18191         * libs/gst/control/dparam_smooth.c:
18192         * libs/gst/control/dparam_smooth.h:
18193         * libs/gst/control/dparamcommon.h:
18194         * libs/gst/control/dparammanager.c:
18195         * libs/gst/control/dparammanager.h:
18196         * libs/gst/control/dplinearinterp.c:
18197         * libs/gst/control/dplinearinterp.h:
18198         * libs/gst/control/unitconvert.c:
18199         * libs/gst/control/unitconvert.h:
18200         * testsuite/Makefile.am:
18201         * testsuite/dynparams/.cvsignore:
18202         * testsuite/dynparams/Makefile.am:
18203         * testsuite/dynparams/dparamstest.c:
18204         * tools/Makefile.am:
18205         * tools/gst-inspect.c: (print_element_info), (main):
18206         * tools/gst-xmlinspect.c: (print_element_info), (main):
18207           deactivate and remove dparams (libgstcontrol)
18208
18209 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
18210
18211         * gst/elements/gsttypefindelement.c:
18212         (gst_type_find_element_have_type), (gst_type_find_element_init),
18213         (stop_typefinding), (gst_type_find_element_handle_event),
18214         (gst_type_find_element_chain), (gst_type_find_element_getrange):
18215         * gst/elements/gsttypefindelement.h:
18216           Set caps on all outgoing buffers, not just the first one.
18217
18218 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
18219
18220         * gst/elements/gsttypefindelement.c:
18221         (gst_type_find_element_have_type),
18222         (gst_type_find_element_check_set_buffer_caps),
18223         (gst_type_find_element_init), (stop_typefinding),
18224         (gst_type_find_element_handle_event),
18225         (gst_type_find_element_chain), (gst_type_find_element_getrange):
18226         * gst/elements/gsttypefindelement.h:
18227           Set caps on first outgoing buffer when we've found the type.
18228
18229 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
18230
18231         * docs/gst/gstreamer-docs.sgml:
18232         * docs/gst/gstreamer-sections.txt:
18233         * docs/gst/tmpl/gstscheduler.sgml:
18234         * docs/gst/tmpl/gstschedulerfactory.sgml:
18235           Remove some old cruft from docs.
18236
18237 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
18238
18239         * gst/gstpad.h:
18240           Fix inline docs for GstPadLinkReturn.
18241           
18242         * gst/gststructure.c: (gst_structure_has_name):
18243         * gst/gststructure.h:
18244         * docs/gst/gstreamer-sections.txt:
18245           New API: gst_structure_has_name().
18246
18247 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
18248
18249         * configure.ac:
18250           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
18251           and _LARGEFILE_SOURCE in config.h as required. Do not 
18252           export those flags in our .pc files any longer (#142209).
18253
18254           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
18255
18256         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
18257         (gst_file_sink_do_seek), (gst_file_sink_event),
18258         (gst_file_sink_get_current_offset), (gst_file_sink_render):
18259           Redo seek/tell calls with large file support in mind; add some
18260           debugging messages; add log message that tells us when large
18261           file support is unavailable or not enabled for some reason.
18262
18263         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
18264           Add log message that tells us when large file support 
18265           is unavailable or not enabled for some reason.
18266
18267 2005-07-29  Wim Taymans  <wim@fluendo.com>
18268
18269         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18270         Added test for removing an element with ghostpad from a bin.
18271         Fixed test as current implementation does the right thing.
18272
18273         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
18274         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
18275         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
18276         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
18277         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
18278         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
18279         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
18280         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
18281         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
18282         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
18283         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
18284         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
18285         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
18286         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
18287         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
18288         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
18289         * gst/gstghostpad.h:
18290         Clean up ghostpads, remove properties for internal stuff.
18291         Make threadsafe.
18292         Fix refcounting.
18293         Prepare for switching targets, not all use cases work yet.
18294
18295 2005-07-29  Wim Taymans  <wim@fluendo.com>
18296
18297         * docs/design/part-gstghostpad.txt:
18298         Small update.
18299
18300         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18301         (gst_bin_remove_func):
18302         Unlinking pads while holding the bin LOCK is not a good
18303         idea.
18304
18305         * gst/gstpad.c: (gst_pad_class_init),
18306         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
18307         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
18308         No prob setting template after creating the pad.
18309
18310 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
18311
18312         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
18313         (gst_bus_peek), (gst_bus_source_dispatch),
18314         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
18315         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
18316           gst_bus_poll may be called from other threads. Handle
18317           this nicely by not making poll_data disappear off the
18318           stack once gst_bus_poll returns.
18319           gst_bus_peek now increments the refcount on the returned
18320           message.
18321
18322 2005-07-29  Wim Taymans  <wim@fluendo.com>
18323
18324         * docs/design/part-gstghostpad.txt:
18325         Overview of current GhostPad datastructures and use
18326         cases for changing the target.
18327
18328 2005-07-28  Wim Taymans  <wim@fluendo.com>
18329
18330         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18331         Added checks for hierarchy consistency whan adding linked
18332         elements to bins.
18333
18334         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18335         Added check to test element scheduling without bin/pipeline.
18336
18337         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18338         First add elements to bin, then link.
18339         
18340         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18341         (gst_bin_remove_func):
18342         Unlink pads from elements added/removed from bin to maintain
18343         hierarchy consistency.
18344
18345 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18346
18347         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18348         (gst_base_transform_handle_buffer):
18349         * gst/base/gstbasetransform.h:
18350           Remove broken delay_configure (fixes renegotiation of software
18351           scaling pipelines); remove some leftover printf()s.
18352
18353 2005-07-28  Wim Taymans  <wim@fluendo.com>
18354
18355         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18356         Added some more tests for wrong hierarchy
18357
18358         * docs/design/part-overview.txt:
18359         Some updates.
18360
18361         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
18362         Cleanups.
18363
18364         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
18365         (gst_element_dispose):
18366         Some more cleanups.
18367
18368         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18369         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
18370         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18371         (gst_pad_set_caps), (gst_pad_send_event):
18372         Check for correct hierarchy when linking pads. Moving to
18373         strict requirement for ghostpads when linking elements in
18374         different bins.
18375
18376         * gst/gstpad.h:
18377         Clean ups. Added WRONG_HIERARCHY return value.
18378
18379 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18380
18381         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18382           Better debug if no transform is possible.
18383
18384 2005-07-27  Wim Taymans  <wim@fluendo.com>
18385
18386         * docs/random/wtay/network-transp:
18387         Some old doc I had.
18388
18389 2005-07-27  Wim Taymans  <wim@fluendo.com>
18390
18391         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18392         (gst_dp_event_from_packet):
18393         Fix serialization of seek events.
18394
18395 2005-07-27  Wim Taymans  <wim@fluendo.com>
18396
18397         * check/gst-libs/gdp.c: (GST_START_TEST):
18398         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18399         Fix compilation and fix event serialization.
18400
18401 2005-07-27  Wim Taymans  <wim@fluendo.com>
18402
18403         * CHANGES-0.9:
18404         * docs/design/part-TODO.txt:
18405         * docs/design/part-events.txt:
18406         Some docs updates
18407
18408         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18409         (gst_base_sink_event), (gst_base_sink_do_sync),
18410         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18411         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18412         (gst_base_src_do_seek), (gst_base_src_event_handler),
18413         (gst_base_src_loop):
18414         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18415         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18416         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18417         (gst_base_transform_event), (gst_base_transform_handle_buffer),
18418         (gst_base_transform_set_passthrough),
18419         (gst_base_transform_is_passthrough):
18420         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18421         * gst/elements/gstfilesink.c: (gst_file_sink_event):
18422         Event updates.
18423
18424         * gst/gstbuffer.h:
18425         Use faster casts.
18426
18427         * gst/gstelement.c: (gst_element_seek):
18428         * gst/gstelement.h:
18429         Update gst_element_seek.
18430
18431         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
18432         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
18433         (gst_event_new_flush_start), (gst_event_new_flush_stop),
18434         (gst_event_new_eos), (gst_event_new_newsegment),
18435         (gst_event_parse_newsegment), (gst_event_new_tag),
18436         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
18437         (gst_event_parse_qos), (gst_event_new_seek),
18438         (gst_event_parse_seek), (gst_event_new_navigation):
18439         * gst/gstevent.h:
18440         Make GstEvent use GstStructure. Add parsing code, make sure the
18441         API is sufficiently generic.
18442         Mark possible directions of events and serialization.
18443
18444         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
18445         (_gst_message_copy), (gst_message_new_segment_start),
18446         (gst_message_new_segment_done), (gst_message_new_custom),
18447         (gst_message_parse_segment_start),
18448         (gst_message_parse_segment_done):
18449         Small cleanups.
18450
18451         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18452         (gst_pad_set_caps), (gst_pad_send_event):
18453         Update for new events. 
18454         Catch events sent in wrong directions.
18455
18456         * gst/gstqueue.c: (gst_queue_link_src),
18457         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18458         (gst_queue_handle_src_query):
18459         Event updates.
18460
18461         * gst/gsttag.c:
18462         * gst/gsttag.h:
18463         Remove event code from this file.
18464
18465         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18466         (gst_dp_event_from_packet):
18467         Event updates.
18468
18469 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18470
18471         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
18472         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18473         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
18474           Make debugging actually useful.
18475
18476 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18477
18478         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
18479         (gst_pad_fixate_caps):
18480           Implement default fixation once again, so that gst_pad_fixate()
18481           actually does anything at all. This probably needs to be some
18482           sort of a last resort, and use profile-based fixation first, but
18483           since that doesn't exist yet, this is the best we have. Fixes
18484           visualization in Totem.
18485
18486 2005-07-22  Wim Taymans  <wim@fluendo.com>
18487
18488         * docs/design/part-events.txt:
18489         Small update.
18490
18491         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18492         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
18493         (gst_base_sink_activate_pull):
18494         Some more comments.
18495
18496         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
18497         (gst_fake_src_create):
18498         Fix handoff marshall.
18499
18500         * gst/elements/gstidentity.c: (gst_identity_class_init),
18501         (gst_identity_transform_ip):
18502         We're a real inplace element.
18503
18504         * gst/gstbus.c: (gst_bus_post):
18505         Added some comments.
18506
18507         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
18508         * tests/muxing/case1.c: (main):
18509         * tests/sched/dynamic-pipeline.c: (main):
18510         * tests/sched/interrupt1.c: (main):
18511         * tests/sched/interrupt2.c: (main):
18512         * tests/sched/interrupt3.c: (main):
18513         * tests/sched/runxml.c: (main):
18514         * tests/sched/sched-stress.c: (main):
18515         * tests/seeking/seeking1.c: (event_received), (main):
18516         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18517         (main):
18518         * tests/threadstate/threadstate3.c: (main):
18519         * tests/threadstate/threadstate4.c: (main):
18520         * tests/threadstate/threadstate5.c: (main):
18521         Fix the tests.
18522
18523 2005-07-21  Wim Taymans  <wim@fluendo.com>
18524
18525         * docs/design/part-seeking.txt:
18526         Some small additions.
18527
18528         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18529         (gst_base_sink_get_times), (gst_base_sink_do_sync),
18530         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18531         * gst/base/gstbasesink.h:
18532         discont values are gint64, handle the math correctly.
18533
18534         * gst/base/gstbasesrc.c: (gst_base_src_loop):
18535         Make the basesrc report error if the source pad is not linked.
18536
18537         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
18538         (gst_queue_loop), (gst_queue_handle_src_query),
18539         (gst_queue_src_activate_push):
18540         Make queue collect data even if the srcpad is not linked.
18541         Start pushing out data as soon as it is linked.
18542
18543         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
18544         * gst/gstutils.h:
18545         Added gst_flow_get_name() to ease error reporting.
18546
18547 2005-07-20  Wim Taymans  <wim@fluendo.com>
18548
18549         * gst/gstmessage.c: (gst_message_new_segment_start),
18550         (gst_message_new_segment_done), (gst_message_parse_segment_start),
18551         (gst_message_parse_segment_done):
18552         * gst/gstmessage.h:
18553         Added a bunch of messages for advanced seeking.
18554
18555         * gst/parse/grammar.y:
18556         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
18557         (gst_dpman_state_changed):
18558         Fix some new-pad -> pad-added signals
18559
18560 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18561
18562         * docs/manual/appendix-porting.xml:
18563         * docs/pwg/appendix-porting.xml:
18564           Document new-pad/state-change signal renames and the FixedList
18565           type rename.
18566
18567 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18568
18569         * docs/manual/advanced-autoplugging.xml:
18570         * docs/manual/basics-helloworld.xml:
18571         * docs/manual/basics-pads.xml:
18572         * docs/random/ds/0.9-suggested-changes:
18573         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
18574         * gst/gstelement.h:
18575         * gst/gstevent.h:
18576         * gst/gstformat.h:
18577         * gst/gstquery.h:
18578         * gst/gststructure.c: (gst_structure_value_get_generic_type),
18579         (gst_structure_parse_array), (gst_structure_parse_value):
18580         * gst/gstvalue.c: (gst_type_is_fixed),
18581         (gst_value_list_prepend_value), (gst_value_list_append_value),
18582         (gst_value_list_get_size), (gst_value_list_get_value),
18583         (gst_value_transform_array_string), (gst_value_serialize_array),
18584         (gst_value_deserialize_array), (gst_value_intersect_array),
18585         (gst_value_is_fixed), (_gst_value_initialize):
18586         * gst/gstvalue.h:
18587           GstElement::new-pad -> pad-added, GstElement::state-change ->
18588           state-changed, GstValueFixedList -> GstValueArray, add format and
18589           flags as their own arguments in gst_element_seek() (should improve
18590           "bindeability"), remove function generators since they don't work
18591           under a whole bunch of compilers (they were deprecated already
18592           anyway).
18593
18594 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18595
18596         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18597         (_gst_debug_register_funcptr):
18598         * gst/gstinfo.h:
18599           Fix illegal cast on some platforms (#309253).
18600
18601 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18602
18603         * gst/gstmessage.c: (gst_message_new_custom):
18604         * gst/gstmessage.h:
18605           Add _new_custom, make _new_application a macro to _new_custom.
18606
18607 2005-07-20  Wim Taymans  <wim@fluendo.com>
18608
18609         * gst/base/gstbasesrc.c: (gst_base_src_init),
18610         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
18611         * gst/base/gstbasesrc.h:
18612         Add a gboolean to decide when to push out a discont.
18613
18614         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18615         (gst_queue_loop), (gst_queue_handle_src_query),
18616         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
18617         (gst_queue_set_property), (gst_queue_get_property):
18618         Some cleanups.
18619
18620         * tests/threadstate/threadstate1.c: (main):
18621         Make a thread test compile and run... very silly..
18622
18623
18624 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18625
18626         * docs/manual/appendix-porting.xml:
18627           Mention removal of libgstgconf-0.9.la and existence of gconf
18628           elements.
18629
18630 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18631
18632         * docs/pwg/advanced-clock.xml:
18633         * docs/pwg/appendix-porting.xml:
18634         * docs/pwg/intro-preface.xml:
18635         * docs/pwg/other-base.xml:
18636         * docs/pwg/other-manager.xml:
18637         * docs/pwg/other-nton.xml:
18638         * docs/pwg/other-ntoone.xml:
18639         * docs/pwg/other-oneton.xml:
18640         * docs/pwg/pwg.xml:
18641           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
18642           demuxer), remove n-to-n (was never written), fix some code examples
18643           and links and update the porting section to include all this.
18644
18645 2005-07-19  Wim Taymans  <wim@fluendo.com>
18646
18647         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
18648         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
18649         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
18650         (gst_queue_src_activate_push), (gst_queue_change_state),
18651         (gst_queue_get_property):
18652         * gst/gstqueue.h:
18653         Propagate GstFlowReturn more intelligently upstream and output
18654         an ERROR/EOS when streaming stopped due to fatal error.
18655
18656 2005-07-19  Wim Taymans  <wim@fluendo.com>
18657
18658         * tools/gst-launch.c: (check_intr), (event_loop), (main):
18659         Don't block forever for the state change to complete, the
18660         pipeline already did with a sensible timeout.
18661
18662 2005-07-19  Wim Taymans  <wim@fluendo.com>
18663
18664         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18665         Make sure we never call the create function is we
18666         got deactivated.
18667
18668 2005-07-19  Andy Wingo  <wingo@pobox.com>
18669
18670         * gst/parse/parse.l: Attempt to solve bug #172815.
18671
18672 2005-07-19  Wim Taymans  <wim@fluendo.com>
18673
18674         * docs/design/part-clocks.txt:
18675         * docs/design/part-events.txt:
18676         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
18677         Small docs updates.
18678         Only update the seeking values when we are not
18679         busy streaming.
18680
18681 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
18682
18683         * gst/base/gstbasesrc.c: (gst_base_src_loop):
18684           Oops, ignore the result of gst_pad_push_event here.
18685
18686 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
18687
18688         * gst/base/gstbasesrc.c: (gst_base_src_loop),
18689         (gst_base_src_activate_push):
18690           Send discont event from the loop function, as pads
18691           aren't activated yet in the activate_push handler.
18692
18693         * gst/gstbin.c: (bin_bus_handler):
18694           Don't leak element name.
18695
18696 2005-07-18  Andy Wingo  <wingo@pobox.com>
18697
18698         * configure.ac: Use AS_LIBTOOL_TAGS.
18699
18700 2005-07-18  Wim Taymans  <wim@fluendo.com>
18701
18702         * docs/gst/gstreamer.types:
18703         Remove deleted types.
18704
18705 2005-07-18  Wim Taymans  <wim@fluendo.com>
18706
18707         * check/elements/gstfakesrc.c: (GST_START_TEST):
18708         * configure.ac:
18709         * gst/Makefile.am:
18710         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
18711         (init_popt_callback):
18712         * gst/gst.h:
18713         * gst/gst_private.h:
18714         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
18715         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
18716         * gst/gstbin.h:
18717         * gst/gstbus.h:
18718         * gst/gstconfig.h.in:
18719         * gst/gstelement.c: (gst_element_class_init),
18720         (gst_element_set_base_time), (gst_element_get_base_time),
18721         (iterator_fold_with_resync), (gst_element_change_state),
18722         (gst_element_dispose), (gst_element_get_bus):
18723         * gst/gstelement.h:
18724         * gst/gstelementfactory.h:
18725         * gst/gsterror.c: (_gst_core_errors_init):
18726         * gst/gsterror.h:
18727         * gst/gstevent.h:
18728         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18729         * gst/gstindex.c:
18730         * gst/gstinfo.c: (_gst_debug_init):
18731         * gst/gstmessage.c: (_gst_message_copy):
18732         * gst/gstmessage.h:
18733         * gst/gstminiobject.h:
18734         * gst/gstobject.c:
18735         * gst/gstobject.h:
18736         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18737         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
18738         * gst/gstpad.h:
18739         * gst/gstparse.h:
18740         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
18741         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18742         (gst_pipeline_get_last_stream_time):
18743         * gst/gstpipeline.h:
18744         * gst/gstpluginfeature.h:
18745         * gst/gstquery.h:
18746         * gst/gstscheduler.c:
18747         * gst/gstscheduler.h:
18748         * gst/gststructure.h:
18749         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
18750         (gst_task_finalize), (gst_task_func), (gst_task_create),
18751         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
18752         (gst_task_stop), (gst_task_pause):
18753         * gst/gsttask.h:
18754         * gst/gsttypefind.h:
18755         * gst/gsttypes.h:
18756         * gst/registries/gstlibxmlregistry.c: (load_feature),
18757         (gst_xml_registry_load), (gst_xml_registry_save_feature):
18758         * gst/registries/gstxmlregistry.c:
18759         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
18760         * gst/schedulers/threadscheduler.c:
18761         * libs/gst/control/dparammanager.h:
18762         * tools/gst-inspect.c: (print_element_list),
18763         (print_plugin_features), (print_element_features):
18764         * tools/gst-xmlinspect.c: (print_element_list),
18765         (print_plugin_info), (main):
18766         Removed plugable schedulers.
18767         Removed Scheduler/Manager from elements.
18768         Removed gsttypes.h, rearranged includes.
18769         Removed dependency pad<->element, element<>pipeline, and
18770         various others,  fix includes.
18771         implement gst_pad_get_parent() with gst_object_get_parent()
18772         Make GstTask sefcontained.
18773         Fix _get_state() on GstBin, it did not return ASYNC with a 0
18774         timeout.
18775         Fix endless loop in iterator_fold_with_resync.
18776
18777
18778 2005-07-18  Wim Taymans  <wim@fluendo.com>
18779
18780         * gst/Makefile.am:
18781         * gst/gstarch.h:
18782         Remove old file.
18783
18784 2005-07-18  Wim Taymans  <wim@fluendo.com>
18785
18786         * gst/Makefile.am:
18787         No more cothreads.h
18788
18789 2005-07-18  Wim Taymans  <wim@fluendo.com>
18790
18791         * gst/cothreads.c:
18792         * gst/cothreads.h:
18793         Let's remove these.
18794
18795 2005-07-18  Wim Taymans  <wim@fluendo.com>
18796
18797         * docs/design/part-dynamic.txt:
18798         * docs/design/part-events.txt:
18799         * docs/design/part-seeking.txt:
18800         Some more docs in the works.
18801
18802         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18803         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
18804         (gst_base_transform_setcaps), (gst_base_transform_get_size),
18805         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
18806         (gst_base_transform_handle_buffer),
18807         (gst_base_transform_sink_activate_push),
18808         (gst_base_transform_src_activate_pull),
18809         (gst_base_transform_set_passthrough),
18810         (gst_base_transform_is_passthrough):
18811         Refcounting fixes.
18812
18813         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
18814         Cleanups.
18815
18816         * gst/gstevent.c: (gst_event_finalize):
18817         Set SRC to NULL.
18818
18819         * gst/gstutils.c: (gst_element_unlink),
18820         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
18821         (gst_pad_proxy_setcaps):
18822         * gst/gstutils.h:
18823         Add _get_parent_element() to get a pads parent as an element.
18824
18825 2005-07-18  Wim Taymans  <wim@fluendo.com>
18826
18827         * check/gst/gstbin.c: (GST_START_TEST):
18828         Remove bogus test.
18829
18830 2005-07-18  Wim Taymans  <wim@fluendo.com>
18831
18832         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
18833         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
18834         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
18835         (gst_base_sink_event), (gst_base_sink_do_sync),
18836         (gst_base_sink_chain), (gst_base_sink_loop),
18837         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
18838         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18839         Refcounting fixes.
18840         Fix logic for returning ASYNC when not prerolled.
18841
18842 2005-07-18  Wim Taymans  <wim@fluendo.com>
18843
18844         * gst/gstqueue.c: (gst_queue_handle_sink_event):
18845         Fix nasty refcount bug.
18846
18847 2005-07-16 Philippe Khalaf <burger@speedy.org>
18848
18849         * gst/elements/gstfdsrc.c:
18850         * gst/elements/gstfdsrc.h:
18851         * gst/elements/gstelements.c:
18852         * gst/elements/Makefile.am:
18853         Ported fdsrc to 0.9.
18854
18855 2005-07-16  Wim Taymans  <wim@fluendo.com>
18856
18857         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18858         (gst_base_sink_do_sync):
18859         Fix compile error.
18860
18861 2005-07-16  Wim Taymans  <wim@fluendo.com>
18862
18863         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18864         (gst_base_sink_event), (gst_base_sink_get_times),
18865         (gst_base_sink_do_sync), (gst_base_sink_change_state):
18866         * gst/base/gstbasesink.h:
18867         Store and use discont values when syncing buffers as described
18868         in design docs.
18869         
18870         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18871         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
18872         (gst_base_src_activate_push):
18873         Push discont event when starting.
18874
18875         * gst/elements/gstidentity.c: (gst_identity_transform):
18876         Small cleanups.
18877
18878         * gst/gstbin.c: (gst_bin_change_state):
18879         Small cleanups in base_time  distribution.
18880
18881         * gst/gstelement.c: (gst_element_set_base_time),
18882         (gst_element_get_base_time), (gst_element_change_state):
18883         * gst/gstelement.h:
18884         Added methods for the base_time of the element.
18885         Some MT fixes.
18886
18887         * gst/gstpipeline.c: (gst_pipeline_send_event),
18888         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18889         (gst_pipeline_get_last_stream_time):
18890         * gst/gstpipeline.h:
18891         MT fixes.
18892         Handle seeking as described in design doc, remove stream_time
18893         hack.
18894         Cleanups clock and stream_time selection code. Added accessors
18895         for the stream_time.
18896         
18897
18898 2005-07-16  Andy Wingo  <wingo@pobox.com>
18899
18900         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
18901         (#305291).
18902
18903 2005-07-16  Wim Taymans  <wim@fluendo.com>
18904
18905         * check/gst/gstbin.c: (GST_START_TEST):
18906         Make elements silent as the deep_notify refs the
18907         parent, which might make the test fail.
18908
18909         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18910         Don't hold the lock for too long.
18911
18912 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
18913
18914         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18915           Don't unref the caps we passed to gst_caps_make_writable() after
18916           passing them. gst_caps_make_writable() will do that for us.
18917
18918 2005-07-15  Andy Wingo  <wingo@pobox.com>
18919
18920         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
18921         (#157311).
18922
18923         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
18924         own marshalling function for the handoff signal. Properly type the
18925         buffer as a buffer. Fixes some warnings. Should do a more general
18926         solution.
18927         (gst_identity_class_init): Plug into the right marshaller.
18928
18929 2005-07-15  Wim Taymans  <wim@fluendo.com>
18930
18931         * docs/design/part-TODO.txt:
18932         * docs/design/part-clocks.txt:
18933         * docs/design/part-element-sink.txt:
18934         * docs/design/part-events.txt:
18935         * docs/design/part-gstpipeline.txt:
18936         Updated docs, mostly DISCONT related.
18937
18938 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
18939
18940         * docs/pwg/building-pads.xml:
18941           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
18942
18943 2005-07-15  Andy Wingo  <wingo@pobox.com>
18944
18945         * tools/gst-typefind.c: Update, add copyright block.
18946
18947         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
18948         Normalize and truncate caps before fixation.
18949
18950         * gst/gstcaps.h:
18951         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
18952         discards all but the first structure from its argument.
18953
18954 2005-07-15  Wim Taymans  <wim@fluendo.com>
18955
18956         * gst/base/gstbasetransform.c: (gst_base_transform_init),
18957         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
18958         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18959         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18960         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
18961         (gst_base_transform_chain), (gst_base_transform_change_state),
18962         (gst_base_transform_set_passthrough),
18963         (gst_base_transform_is_passthrough):
18964         * gst/base/gstbasetransform.h:
18965         Make passthrough work using the bufferpools.
18966         Changed API a bit, subclasses have to write into a buffer
18967         provided by the base class.
18968         More debug info in nego functions.
18969         
18970         * gst/elements/gstidentity.c: (gst_identity_init),
18971         (gst_identity_transform):
18972         Port to new base class.
18973
18974 2005-07-15  Wim Taymans  <wim@fluendo.com>
18975
18976         * gst/gstmessage.c: (gst_message_new_state_changed):
18977         * tools/gst-launch.c: (event_loop), (main):
18978         Totally dump messages in -launch with the -m option.
18979         Fix message name for State messages,
18980
18981 2005-07-14  Wim Taymans  <wim@fluendo.com>
18982
18983         * gst/base/gstbasesrc.c: (gst_base_src_loop):
18984         Post error messages on errors.
18985
18986 2005-07-14  Wim Taymans  <wim@fluendo.com>
18987
18988         * gst/gstcaps.c: (gst_caps_do_simplify):
18989         Remove debug info.
18990
18991         * gst/gsterror.h:
18992         Define error for stream stopped.
18993
18994         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
18995         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
18996         Do proper return values.
18997
18998         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18999         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
19000         (gst_pad_get_range):
19001         Better return values.
19002
19003         * gst/gstpad.h:
19004         Reorganise return values, add macro to check for fatal errors.
19005
19006         * gst/gstqueue.c: (gst_queue_chain):
19007         Return proper GstFlowReturn values,
19008
19009 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
19010
19011         * docs/gst/gstreamer-sections.txt:
19012         * docs/gst/gstreamer.types:
19013         * docs/gst/tmpl/gst.sgml:
19014         * docs/gst/tmpl/gstbasesink.sgml:
19015         * docs/gst/tmpl/gstbasesrc.sgml:
19016         * docs/gst/tmpl/gstbasetransform.sgml:
19017         * docs/gst/tmpl/gstbin.sgml:
19018         * docs/gst/tmpl/gstbuffer.sgml:
19019         * docs/gst/tmpl/gstcaps.sgml:
19020         * docs/gst/tmpl/gstclock.sgml:
19021         * docs/gst/tmpl/gstcompat.sgml:
19022         * docs/gst/tmpl/gstconfig.sgml:
19023         * docs/gst/tmpl/gstelement.sgml:
19024         * docs/gst/tmpl/gstelementdetails.sgml:
19025         * docs/gst/tmpl/gstelementfactory.sgml:
19026         * docs/gst/tmpl/gstenumtypes.sgml:
19027         * docs/gst/tmpl/gsterror.sgml:
19028         * docs/gst/tmpl/gstevent.sgml:
19029         * docs/gst/tmpl/gstfakesink.sgml:
19030         * docs/gst/tmpl/gstfakesrc.sgml:
19031         * docs/gst/tmpl/gstfilesink.sgml:
19032         * docs/gst/tmpl/gstfilesrc.sgml:
19033         * docs/gst/tmpl/gstfilter.sgml:
19034         * docs/gst/tmpl/gstformat.sgml:
19035         * docs/gst/tmpl/gstghostpad.sgml:
19036         * docs/gst/tmpl/gstimplementsinterface.sgml:
19037         * docs/gst/tmpl/gstindex.sgml:
19038         * docs/gst/tmpl/gstindexfactory.sgml:
19039         * docs/gst/tmpl/gstinfo.sgml:
19040         * docs/gst/tmpl/gstiterator.sgml:
19041         * docs/gst/tmpl/gstmacros.sgml:
19042         * docs/gst/tmpl/gstmemchunk.sgml:
19043         * docs/gst/tmpl/gstminiobject.sgml:
19044         * docs/gst/tmpl/gstobject.sgml:
19045         * docs/gst/tmpl/gstpad.sgml:
19046         * docs/gst/tmpl/gstpadtemplate.sgml:
19047         * docs/gst/tmpl/gstparse.sgml:
19048         * docs/gst/tmpl/gstpipeline.sgml:
19049         * docs/gst/tmpl/gstplugin.sgml:
19050         * docs/gst/tmpl/gstpluginfeature.sgml:
19051         * docs/gst/tmpl/gstquery.sgml:
19052         * docs/gst/tmpl/gstqueue.sgml:
19053         * docs/gst/tmpl/gstregistry.sgml:
19054         * docs/gst/tmpl/gstregistrypool.sgml:
19055         * docs/gst/tmpl/gstscheduler.sgml:
19056         * docs/gst/tmpl/gstschedulerfactory.sgml:
19057         * docs/gst/tmpl/gststructure.sgml:
19058         * docs/gst/tmpl/gstsystemclock.sgml:
19059         * docs/gst/tmpl/gsttaglist.sgml:
19060         * docs/gst/tmpl/gsttagsetter.sgml:
19061         * docs/gst/tmpl/gsttrace.sgml:
19062         * docs/gst/tmpl/gsttrashstack.sgml:
19063         * docs/gst/tmpl/gsttypefind.sgml:
19064         * docs/gst/tmpl/gsttypefindfactory.sgml:
19065         * docs/gst/tmpl/gsttypes.sgml:
19066         * docs/gst/tmpl/gsturihandler.sgml:
19067         * docs/gst/tmpl/gsturitype.sgml:
19068         * docs/gst/tmpl/gstutils.sgml:
19069         * docs/gst/tmpl/gstvalue.sgml:
19070         * docs/gst/tmpl/gstversion.sgml:
19071         * docs/gst/tmpl/gstxml.sgml:
19072         * docs/libs/tmpl/gstcontrol.sgml:
19073         * docs/libs/tmpl/gstdataprotocol.sgml:
19074         * docs/libs/tmpl/gstdparam.sgml:
19075         * docs/libs/tmpl/gstdplinint.sgml:
19076         * docs/libs/tmpl/gstdpman.sgml:
19077         * docs/libs/tmpl/gstdpsmooth.sgml:
19078         * docs/libs/tmpl/gstgetbits.sgml:
19079         * docs/libs/tmpl/gstunitconvert.sgml:
19080         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
19081         (gst_push_src_base_init), (gst_push_src_class_init),
19082         (gst_push_src_init), (gst_push_src_create):
19083         * gst/base/gstpushsrc.h:
19084         * gst/elements/gstelements.c:
19085         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
19086         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
19087         (gst_fake_sink_init), (gst_fake_sink_set_property),
19088         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
19089         (gst_fake_sink_event), (gst_fake_sink_preroll),
19090         (gst_fake_sink_render), (gst_fake_sink_change_state):
19091         * gst/elements/gstfakesink.h:
19092         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
19093         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
19094         (gst_fake_src_base_init), (gst_fake_src_class_init),
19095         (gst_fake_src_init), (gst_fake_src_event_handler),
19096         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
19097         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
19098         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
19099         (gst_fake_src_create_buffer), (gst_fake_src_create),
19100         (gst_fake_src_start), (gst_fake_src_stop):
19101         * gst/elements/gstfakesrc.h:
19102         * gst/elements/gstfilesink.c: (_do_init),
19103         (gst_file_sink_base_init), (gst_file_sink_class_init),
19104         (gst_file_sink_init), (gst_file_sink_dispose),
19105         (gst_file_sink_set_location), (gst_file_sink_set_property),
19106         (gst_file_sink_get_property), (gst_file_sink_open_file),
19107         (gst_file_sink_close_file), (gst_file_sink_query),
19108         (gst_file_sink_event), (gst_file_sink_render),
19109         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
19110         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
19111         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
19112         * gst/elements/gstfilesink.h:
19113         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
19114         (gst_file_src_class_init), (gst_file_src_init),
19115         (gst_file_src_finalize), (gst_file_src_set_location),
19116         (gst_file_src_set_property), (gst_file_src_get_property),
19117         (gst_file_src_map_region), (gst_file_src_map_small_region),
19118         (gst_file_src_create_mmap), (gst_file_src_create_read),
19119         (gst_file_src_create), (gst_file_src_is_seekable),
19120         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
19121         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
19122         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
19123         (gst_file_src_uri_handler_init):
19124         * gst/elements/gstfilesrc.h:
19125           more autistic cleanliness in functions/names/defines
19126
19127 2005-07-13  Andy Wingo  <wingo@pobox.com>
19128
19129         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
19130         source couldn't negotiate.
19131
19132         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
19133         connections again.
19134
19135         * gst/gstutils.h:
19136         * gst/gstutils.c (gst_element_link_pads_filtered): New old
19137         function. I am channeling Hades. Put your boots on suckers!!!
19138
19139 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19140
19141         * testsuite/caps/Makefile.am:
19142         * testsuite/caps/value_compare.c:
19143         * testsuite/caps/value_intersect.c:
19144         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19145           move two testsuite apps over to the check dir
19146
19147 2005-07-12  Wim Taymans  <wim@fluendo.com>
19148
19149         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
19150         Added more debug info in the negotiate process.
19151
19152         * gst/gstmessage.h:
19153         Prepare for segment playback.
19154
19155         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
19156         Better debugging.
19157
19158         * gst/gstutils.c:
19159         Some more docs.
19160
19161         * tools/gst-launch.c: (main):
19162         NULL pipeline on errors.
19163
19164 2005-07-12  Andy Wingo  <wingo@pobox.com>
19165
19166         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
19167         not it comes from a malloc region. Make sure our copy gets freed.
19168
19169 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19170
19171         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19172         * check/gst/gstmessage.c: (GST_START_TEST):
19173         * check/gst/gststructure.c: (GST_START_TEST),
19174         (gst_structure_suite), (main):
19175           more testing
19176         * gst/gstelement.c: (gst_element_message_full):
19177           clean up GError and debug string now that they get copied
19178         * gst/gstmessage.c: (gst_message_new_error),
19179         (gst_message_new_warning), (gst_message_parse_error),
19180         (gst_message_parse_warning):
19181           use GST_TYPE_G_ERROR for structure_new, and take copies of
19182           arguments, so that we don't mess up refcounting
19183
19184 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19185
19186         * check/Makefile.am:
19187           add per-test valgrind targets
19188         * check/gst-libs/gdp.c: (GST_START_TEST),
19189         (gst_data_protocol_suite), (main):
19190           clean up
19191
19192 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19193
19194         * check/Makefile.am:
19195           instate more valgrindable tests
19196         * check/elements/gstfakesrc.c: (chain_func), (event_func),
19197         (GST_START_TEST), (fakesrc_suite):
19198         * check/gst/gstpad.c: (GST_START_TEST):
19199         * check/gst/gststructure.c: (GST_START_TEST):
19200           fix test leaks
19201         * docs/gst/tmpl/gstminiobject.sgml:
19202         * gst/gstpad.c: (gst_pad_finalize):
19203           fix the static mutex leak
19204
19205 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19206
19207         * check/Makefile.am:
19208           add two more tests for valgrinding
19209         * check/gst/gstvalue.c: (GST_START_TEST):
19210           test refcount of deserialized buffer, found a leak
19211         * docs/gst/gstreamer-docs.sgml:
19212         * docs/gst/gstreamer-sections.txt:
19213         * docs/gst/gstreamer.types:
19214         * docs/gst/tmpl/gstminiobject.sgml:
19215           add miniobject to docs
19216         * gst/gstminiobject.c:
19217           add some docs
19218         * gst/gstvalue.c: (gst_value_deserialize_buffer),
19219         (gst_string_unwrap):
19220           fix a hard-to-find invalid write for one of the tests
19221           fix a leak for deserialized buffers
19222
19223 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19224
19225         * docs/pwg/advanced-events.xml:
19226         * docs/pwg/advanced-request.xml:
19227         * docs/pwg/advanced-scheduling.xml:
19228         * docs/pwg/appendix-porting.xml:
19229         * docs/pwg/building-boiler.xml:
19230         * docs/pwg/intro-preface.xml:
19231         * docs/pwg/other-ntoone.xml:
19232           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
19233           of example code and explanation for pad activation, loop() and
19234           getrange() functions and a bit more. Remove old comments pointing
19235           to loop-functions.
19236         * examples/pwg/Makefile.am:
19237           Add loop/getrange examples.
19238
19239 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19240
19241         * configure.ac:
19242           check for valgrind binary + some fixes
19243         * check/gst.supp:
19244           valgrind suppressions for the tests
19245         * check/Makefile.am:
19246           add a valgrind: target that valgrinds the unit tests
19247         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
19248         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19249         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19250         * check/gst/gstghostpad.c:
19251           added some cleanup
19252         * check/gst/gstdata.c:
19253           removed
19254         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
19255         (thread_unref), (gst_mini_object_suite), (main):
19256           added
19257         * gst/gst.c: (gst_deinit):
19258         * gst/gst.h:
19259           add a method to clean up.
19260         * gst/gstsystemclock.c: (gst_system_clock_dispose),
19261         (gst_system_clock_obtain):
19262           allow for disposing the system clock.
19263         * tools/gst-launch.c: (main):
19264           deinit
19265
19266 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19267
19268         * docs/gst/tmpl/gstbasesrc.sgml:
19269         * docs/gst/tmpl/gstfakesrc.sgml:
19270         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19271         (gst_base_src_init), (gst_base_src_set_property),
19272         (gst_base_src_get_property), (gst_base_src_get_range),
19273         (gst_base_src_start):
19274         * gst/base/gstbasesrc.h:
19275           add num-buffers property
19276         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19277         (gst_fakesrc_init), (gst_fakesrc_set_property),
19278         (gst_fakesrc_get_property), (gst_fakesrc_create),
19279         (gst_fakesrc_start):
19280           remove num-buffers property
19281
19282 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19283
19284         * docs/gst/gstreamer-sections.txt:
19285         * docs/gst/tmpl/gstbasesink.sgml:
19286         * docs/gst/tmpl/gstbasesrc.sgml:
19287         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
19288         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
19289         (gst_base_sink_finalize), (gst_base_sink_set_clock),
19290         (gst_base_sink_set_property), (gst_base_sink_get_property),
19291         (gst_base_sink_handle_object), (gst_base_sink_event),
19292         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19293         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
19294         (gst_base_sink_loop), (gst_base_sink_deactivate),
19295         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
19296         (gst_base_sink_change_state):
19297         * gst/base/gstbasesink.h:
19298         * gst/base/gstbasesrc.h:
19299         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
19300         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
19301         (gst_filesink_init):
19302           more macro splitting
19303
19304 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19305
19306         * gst/gstelement.c: (gst_element_get_bus):
19307           add debug
19308         * tools/gst-launch.c: (check_intr), (event_loop):
19309           fix bus leaks
19310
19311 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19312
19313         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
19314           fix a caps leak
19315
19316 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19317
19318         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19319         (gst_base_src_finalize):
19320           add finalize method and clean up properly
19321         * gst/gstpipeline.c: (gst_pipeline_dispose):
19322           add debug
19323
19324 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19325
19326         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
19327         (gst_bin_suite):
19328           add more things to check
19329         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19330         * gst/gstelement.c:
19331           more debug
19332
19333 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19334
19335         * check/elements/gstfakesrc.c: (chain_func), (event_func),
19336         (GST_START_TEST), (fakesrc_suite):
19337         * check/gst-libs/gdp.c: (GST_START_TEST):
19338         * check/gst/gst.c: (GST_START_TEST):
19339         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19340         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19341         * check/gst/gstbus.c: (GST_START_TEST):
19342         * check/gst/gstcaps.c: (GST_START_TEST):
19343         * check/gst/gstdata.c: (GST_START_TEST):
19344         * check/gst/gstelement.c: (GST_START_TEST):
19345         * check/gst/gstghostpad.c: (GST_START_TEST):
19346         * check/gst/gstiterator.c: (GST_START_TEST):
19347         * check/gst/gstmessage.c: (GST_START_TEST):
19348         * check/gst/gstobject.c: (GST_START_TEST):
19349         * check/gst/gstpad.c: (GST_START_TEST):
19350         * check/gst/gststructure.c: (GST_START_TEST):
19351         * check/gst/gstsystemclock.c: (GST_START_TEST),
19352         (gst_systemclock_suite):
19353         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19354         * check/gst/gstvalue.c: (GST_START_TEST):
19355         * check/pipelines/cleanup.c: (GST_START_TEST):
19356         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19357         * check/states/sinks.c: (GST_START_TEST):
19358         * check/gstcheck.c: (gst_check_init):
19359         * check/gstcheck.h:
19360           add debugging category
19361           use GST_START_TEST now, so we add a debug line
19362
19363 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19364
19365         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
19366           add test for state change message on a bin
19367         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
19368           add another test
19369         * gst/gstbin.c: (gst_bin_init):
19370         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
19371         * gst/gstelement.c: (gst_element_post_message),
19372         (gst_element_set_state):
19373         * gst/gstelementfactory.c: (gst_element_factory_create):
19374         * gst/gstmessage.c: (gst_message_new):
19375         * gst/gstscheduler.c:
19376           various debugging additions and cleanups
19377
19378 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19379
19380         * check/Makefile.am:
19381         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
19382         (main):
19383           adding tests for elements
19384         * gst/gstelement.c: (gst_element_dispose):
19385
19386 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19387
19388         * gst/registries/gstlibxmlregistry.c: (load_feature):
19389           plug more leaks.  A simple gst_init() now is leakfree, yay.
19390
19391 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19392
19393         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
19394         (gst_xml_registry_load):
19395           plug another memleak
19396
19397 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19398
19399         * configure.ac:
19400           use GST_SET_ERROR_CFLAGS
19401         * docs/faq/cvs.xml:
19402           change to ERROR_CFLAGS
19403
19404 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19405
19406         * configure.ac:
19407           make GST_ERROR_CFLAGS overridable and re-enable Werror
19408         * docs/faq/cvs.xml:
19409           add a note about error CFLAGS
19410         * docs/gst/tmpl/gstfakesrc.sgml:
19411         * gst/elements/gstfakesrc.c:
19412           comment out some unused code
19413         * gst/gst.c: (split_and_iterate):
19414         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
19415         (load_feature):
19416           plug some memleaks
19417
19418 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19419
19420         * common/Makefile.am:
19421         * common/gtk-doc.mak:
19422         * docs/gst/Makefile.am:
19423           factor out gtk-doc.mak
19424
19425 2005-07-07  Wim Taymans  <wim@fluendo.com>
19426
19427         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
19428         (gst_thread_scheduler_dispose):
19429         Unlock the STREAM_LOCK completely.
19430
19431 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19432
19433         * check/Makefile.am:
19434         * check/elements/.cvsignore:
19435         * check/elements/gstfakesrc.c: (chain_func), (event_func),
19436         (START_TEST), (fakesrc_suite), (main):
19437         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19438         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19439         (gst_fakesrc_create), (gst_fakesrc_start):
19440         * gst/elements/gstfakesrc.h:
19441           adding a first element test
19442
19443 2005-07-07  Andy Wingo  <wingo@pobox.com>
19444
19445         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
19446         debug message.
19447
19448 2005-07-07  Wim Taymans  <wim@fluendo.com>
19449
19450         * gst/gstquery.c:
19451         * gst/gstquery.h:
19452         Remove old types
19453
19454 2005-07-07  Wim Taymans  <wim@fluendo.com>
19455
19456         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19457         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
19458         Allow subclasses to implement their own negotiation.
19459
19460 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19461
19462         * docs/design/part-gstbin.txt:
19463         * docs/design/part-gstpipeline.txt:
19464           Update design notes to reflect the movement of
19465           responsibility for bus handling from GstPipeline to
19466           GstBin
19467
19468 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19469
19470         * configure.ac:
19471           Remove unnecessary queue2/3/4 examples.
19472
19473 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19474
19475         * examples/Makefile.am:
19476         * examples/helloworld/helloworld.c: (event_loop), (main):
19477         * examples/queue/queue.c: (event_loop), (main):
19478         * examples/queue2/queue2.c: (main):
19479           Update a couple of the examples to work again.
19480
19481         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19482         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
19483          Spelling corrections and extra debug.
19484         
19485         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
19486         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
19487         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
19488         * gst/gstbin.h:
19489         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
19490         (gst_pipeline_change_state):
19491         * gst/gstpipeline.h:
19492           Move the bus handler for children to the GstBin, and create a
19493           separate bus for receiving messages from children to the one the
19494           bus sends 'upwards' on.
19495
19496 2005-07-06  Wim Taymans  <wim@fluendo.com>
19497
19498         * gst/base/README:
19499         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19500         (gst_base_sink_handle_object), (gst_base_sink_loop),
19501         (gst_base_sink_change_state):
19502         * gst/base/gstbasesink.h:
19503         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19504         (gst_base_src_init), (gst_base_src_setcaps),
19505         (gst_base_src_getcaps), (gst_base_src_loop),
19506         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
19507         (gst_base_src_start), (gst_base_src_change_state):
19508         * gst/base/gstbasesrc.h:
19509         Make basesrc negotiate.
19510         Handle the case where preroll fails in basesink.
19511         Update README.
19512
19513 2005-07-06  Wim Taymans  <wim@fluendo.com>
19514
19515         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
19516         Implement the fixate function.
19517         Clean up acceptcaps.
19518
19519 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19520
19521         * docs/pwg/building-filterfactory.xml:
19522         * docs/pwg/pwg.xml:
19523           Remove never-written filter-factory chapter; I'll add the various
19524           base classes to part 4 ("other element types") later on.
19525
19526 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19527
19528         * docs/pwg/advanced-negotiation.xml:
19529         * docs/pwg/building-boiler.xml:
19530         * docs/pwg/building-pads.xml:
19531         * docs/pwg/pwg.xml:
19532         * examples/pwg/Makefile.am:
19533           Add a chapter on caps negotiation, simplify the original code
19534           samples a bit w.r.t. caps negotiation, add link to the advanced
19535           section. Add a bunch of examples showing different use cases of
19536           different types of caps negotiation. Upstream renegotiation isn't
19537           fully documented yet since nobody knows how that works.
19538
19539 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19540
19541         * check/gst/gstpad.c:
19542         * check/gstcheck.c:
19543         * gst/gstpad.c: (gst_pad_get_internal_links_default):
19544           if pad has no parent, return NULL as list of internal links
19545
19546 2005-07-05  Andy Wingo  <wingo@pobox.com>
19547
19548         * gst/elements/gstfilesrc.c:
19549         * gst/elements/gstfakesrc.c: 
19550         * gst/base/gstpushsrc.c:
19551         * gst/base/gstbasesrc.h: 
19552         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
19553         
19554 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
19555
19556         * Makefile.am:
19557           better report generation target (lcov needs a patch)
19558
19559 2005-07-05  Andy Wingo  <wingo@pobox.com>
19560
19561         * gst/elements, testsuite: Null if we got it...
19562
19563 2005-07-05  Wim Taymans  <wim@fluendo.com>
19564
19565         * configure.ac:
19566         * libs/gst/dataprotocol/Makefile.am:
19567         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
19568         * libs/gst/dataprotocol/dataprotocol.h:
19569         * pkgconfig/Makefile.am:
19570         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
19571         * pkgconfig/gstreamer-dataprotocol.pc.in:
19572         Ported dataprotol to 0.9. 
19573         Added pkgconfig files.
19574
19575 2005-07-05  Andy Wingo  <wingo@pobox.com>
19576
19577         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
19578         Default to returning TRUE for the case when tranform_caps returns
19579         a fixed caps, like for identity or volume.
19580
19581         * check/gst/gstbus.c (pound_bus_with_messages): 
19582         * check/gst/gstmessage.c (START_TEST): 
19583         * check/pipelines/simple_launch_lines.c (got_handoff): Application
19584         message API change.
19585
19586         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
19587         logic weaks here: always run transform_caps, trying passthrough
19588         operation only if the original caps intersects with the transform.
19589
19590         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
19591         source and sink caps.
19592
19593         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
19594         Intersect the peer caps with the pad template before going into
19595         transform_caps.
19596         (gst_base_transform_transform_caps): More debugging.
19597
19598         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
19599         src argument.
19600
19601 2005-07-04  Edward Hervey  <edward@fluendo.com>
19602
19603         * gst/gstutils.c:
19604         * gst/gstutils.h:
19605         (gst_pad_add_*_probe): now returns the signal id for better wrapping
19606         in bindings.
19607
19608 2005-07-04  Andy Wingo  <wingo@pobox.com>
19609
19610         * check/gst/gstpad.c: Only set explicit caps on pads.
19611
19612 2005-07-01  Andy Wingo  <wingo@pobox.com>
19613
19614         * tests/network-clock.scm: Commentary update.
19615
19616         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
19617         Didn't really make sense, not implementable with basetransform,
19618         etc.
19619         (gst_identity_transform): Unref inbuf via make_writable. Feeble
19620         attempt at implementing the sync property, needs an unlock method.
19621
19622         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
19623         New func, by default returns the same caps (the identity
19624         transformation).
19625         (gst_base_transform_getcaps): Uses transform_caps to return
19626         something sensible.
19627         (gst_base_transform_setcaps): Complicated logic to get caps on
19628         both pads, even if they are different, and to call set_caps once
19629         for every time both pads get their caps set.
19630         (gst_base_transform_handle_buffer): Give the ref to the transform
19631         function. Allows in-place modification of the buffer.
19632
19633         * gst/base/gstbasetransform.h (transform_caps): New class method.
19634         Given caps on one side, what can I do on the other.
19635         (set_caps): Take two caps, one for each side of the element.
19636
19637         * gst/gstpad.h:
19638         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
19639         caps in place. This is safe because we can check the mutability of
19640         the caps, and a good idea because fixate functions are just called
19641         as a matter of last resort. (Not actually implemented.)
19642         (gst_pad_set_caps): If the caps we're setting is actually the same
19643         as the existing pad caps, just update the pointer without calling
19644         setcaps. Assert that caps is either NULL or fixed, as per the
19645         docs.
19646
19647         * gst/gstghostpad.c: Update for fixate changes.
19648
19649 2005-07-02  Andy Wingo  <wingo@pobox.com>
19650
19651         * gst/gstcaps.c:
19652         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
19653         two refcounts makes it immutable, which is enough. Doc more.
19654
19655 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
19656
19657         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
19658           Put the mini_object into GValue as a mini_object,
19659           not a gpointer, since that's how we declared
19660           the signal.
19661
19662 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19663
19664         * examples/pwg/Makefile.am:
19665           Fix buildbot again.
19666
19667 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19668
19669         * docs/pwg/building-testapp.xml:
19670           Add extra check.
19671         * examples/pwg/Makefile.am:
19672           Fix buildbot.
19673
19674 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19675
19676         * configure.ac:
19677         * examples/Makefile.am:
19678         * examples/pwg/Makefile.am:
19679         * examples/pwg/extract.pl:
19680           Enable building the PWG examples.
19681         * docs/pwg/advanced-interfaces.xml:
19682           Add URI interface stub.
19683         * docs/pwg/advanced-types.xml:
19684         * docs/pwg/other-autoplugger.xml:
19685         * docs/pwg/appendix-porting.xml:
19686         * docs/pwg/pwg.xml:
19687           Add porting guide (mostly stubs), remove autoplugging (see ADM).
19688         * docs/pwg/building-boiler.xml:
19689         * docs/pwg/building-chainfn.xml:
19690         * docs/pwg/building-pads.xml:
19691         * docs/pwg/building-props.xml:
19692         * docs/pwg/building-state.xml:
19693         * docs/pwg/building-testapp.xml:
19694           Update the building-*.xml parts for 0.9 changes. All examples
19695           code blocks compile in examples/pwg/*.
19696
19697 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19698
19699         * docs/manual/advanced-autoplugging.xml:
19700         * docs/manual/appendix-checklist.xml:
19701         * docs/manual/appendix-integration.xml:
19702         * docs/manual/highlevel-components.xml:
19703           Fix playbin/decodebin examples, update docs a bit, mention bus
19704           instead of signals in various places, mention kmplayer and
19705           kaffeine since they have a working GStreamer backend in the KDE
19706           section.
19707
19708 2005-06-30  Wim Taymans  <wim@fluendo.com>
19709
19710         * CHANGES-0.9:
19711         * docs/design/draft-ghostpads.txt:
19712         * docs/design/draft-push-pull.txt:
19713         * docs/design/draft-query.txt:
19714         * docs/design/part-TODO.txt:
19715         * docs/design/part-query.txt:
19716         Added CHANGES-0.9 doc, updated status of other docs.
19717         
19718         * gst/gstquery.h:
19719         Remove "hmm" macro
19720
19721 2005-06-30  Wim Taymans  <wim@fluendo.com>
19722
19723         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19724         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
19725         (gst_base_sink_change_state):
19726         * gst/base/gstbasesink.h:
19727         Some tweaks, only EOS and a buffer complete a preroll.
19728
19729 2005-06-30  Andy Wingo  <wingo@pobox.com>
19730
19731         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
19732         activate_push down to the internal pad as well.
19733
19734 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
19735
19736         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19737
19738         * gst/gsttaginterface.c:
19739           Some documentation fixes (#307394 and #307397).
19740
19741 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
19742
19743         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19744
19745         * gst/gstvalue.c: (gst_value_intersect_list):
19746           Fix memleak (#309125).
19747
19748 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19749
19750         * docs/manual/advanced-dataaccess.xml:
19751           Fix fakesrc example to compile; doesn't work, bug somewhere...?
19752         * docs/manual/basics-pads.xml:
19753           Add reference for filtered caps to above chapter.
19754
19755 2005-06-30  Wim Taymans  <wim@fluendo.com>
19756
19757         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
19758         (gst_bin_change_state):
19759         Probes are gone.
19760         Lame attempt at making the state change function a bit
19761         more readable.
19762
19763 2005-06-30  Wim Taymans  <wim@fluendo.com>
19764
19765         * docs/design/part-clocks.txt:
19766         * docs/design/part-element-sink.txt:
19767         * docs/design/part-events.txt:
19768         * docs/design/part-preroll.txt:
19769         * docs/design/part-states.txt:
19770         Some more tweeks and additions to the docs.
19771
19772 2005-06-30  Wim Taymans  <wim@fluendo.com>
19773
19774         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19775         (default_have_data), (gst_pad_class_init), (gst_pad_init),
19776         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19777         (gst_pad_check_pull_range), (gst_pad_get_range),
19778         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
19779         * gst/gstpad.h:
19780         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
19781         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19782         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19783         (gst_pad_remove_buffer_probe):
19784         Removed atomic operations, use existing LOCK.
19785         Move exception handling out of main code path.
19786
19787 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19788
19789         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19790         (silly_return_true_function), (gst_pad_class_init),
19791         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19792         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
19793         (gst_pad_send_event):
19794           Fix accumulator, add default value by using _emitv() instead
19795           of _emit() for signal emission.
19796
19797 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19798
19799         * docs/manual/advanced-dataaccess.xml:
19800         * examples/manual/Makefile.am:
19801           Add probe example.
19802         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
19803           Make work (??).
19804
19805 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
19806
19807         * gst/elements/gstfilesink.c: (gst_filesink_render):
19808           Simplify code so that we don't have to handle short
19809           writes and return GST_FLOW_ERROR if an error occured.
19810
19811 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19812
19813         * docs/gst/gstreamer-docs.sgml:
19814           Remove probes more.
19815
19816 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19817
19818         * docs/gst/gstreamer-sections.txt:
19819         * docs/gst/tmpl/gstpad.sgml:
19820         * docs/gst/tmpl/gstprobe.sgml:
19821         * gst/Makefile.am:
19822         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19823         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
19824         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
19825         (gst_pad_push_event), (gst_pad_send_event):
19826         * gst/gstpad.h:
19827         * gst/gstutils.c: (gst_pad_add_data_probe),
19828         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19829         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19830         (gst_pad_remove_buffer_probe):
19831         * gst/gstutils.h:
19832           Remove old probes, add new g-signal-based probes and some utility
19833           functions.
19834
19835 2005-06-29  Edward Hervey  <edward@fluendo.com>
19836
19837         * gst/gstelementfactory.c:
19838         * gst/gstutils.h:
19839         * gst/gstutils.c:
19840         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
19841         the definition to the header file.
19842
19843 2005-06-29  Andy Wingo  <wingo@pobox.com>
19844
19845         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
19846         plugins from the source directory.
19847
19848 2005-06-29  Wim Taymans  <wim@fluendo.com>
19849
19850         * docs/gst/tmpl/gstbuffer.sgml:
19851         * docs/gst/tmpl/gstclock.sgml:
19852         Some fixings for blantently wrong text.
19853
19854 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19855
19856         * check/Makefile.am:
19857         * gst/gst.c: (add_path_func), (init_pre):
19858         * gst/gstregistry.c: (gst_registry_add_path):
19859           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
19860           only scan the GST_PLUGIN_PATH locations, and not add
19861           system locations
19862
19863 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19864
19865         * docs/gst/gstreamer-sections.txt:
19866         * docs/gst/tmpl/gstbasesrc.sgml:
19867         * gst/gstelement.c:
19868         * gst/gstelement.h:
19869         * gst/gstevent.c:
19870         * gst/gstutils.c:
19871           doc fixes
19872
19873 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19874
19875         * docs/manual/advanced-autoplugging.xml:
19876           Fix autoplugging example.
19877
19878 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19879
19880         * docs/manual/advanced-autoplugging.xml:
19881         * docs/manual/mime-world.fig:
19882           Try to get autoplugging working, fix type detection. Fix text
19883           in hello-world image.
19884
19885 2005-06-29  Wim Taymans  <wim@fluendo.com>
19886
19887         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19888         (gst_base_sink_change_state):
19889         Small debug line.
19890
19891         * gst/gstclock.h:
19892         map SIGNAL and BROADCAST to the right function.
19893
19894         * gst/gstobject.h:
19895         Remove redundant braces.
19896
19897         * gst/gstpad.c: (gst_pad_set_caps):
19898         Don't call setcaps function when reseting caps to NULL.
19899
19900         * gst/gstsystemclock.c: (gst_system_clock_dispose),
19901         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
19902         (gst_system_clock_id_unschedule):
19903         Use BROADCAST as this is what we do.
19904
19905 2005-06-29  Wim Taymans  <wim@fluendo.com>
19906
19907         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19908         We are actually prerolling before commiting the state
19909         change. 
19910
19911 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19912
19913         * docs/manual/advanced-clocks.xml:
19914         * docs/manual/advanced-interfaces.xml:
19915         * docs/manual/advanced-metadata.xml:
19916         * docs/manual/advanced-position.xml:
19917         * docs/manual/advanced-schedulers.xml:
19918         * docs/manual/advanced-threads.xml:
19919         * docs/manual/appendix-porting.xml:
19920         * docs/manual/basics-bins.xml:
19921         * docs/manual/basics-bus.xml:
19922         * docs/manual/basics-elements.xml:
19923         * docs/manual/basics-helloworld.xml:
19924         * docs/manual/basics-pads.xml:
19925         * docs/manual/highlevel-components.xml:
19926         * docs/manual/manual.xml:
19927         * docs/manual/thread.fig:
19928           Update (until threads/scheduling) Application Development Manual;
19929           remove GstThread, add GstBus, add simple porting checklist, add
19930           documentation for tag writing, clocks, make all examples until this
19931           part compile and run.
19932         * examples/manual/Makefile.am:
19933           Update from changes to Application Development Manual; add bus
19934           example, remove thread example.
19935
19936 2005-06-28  Wim Taymans  <wim@fluendo.com>
19937
19938         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
19939         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
19940         (gst_bus_source_dispatch):
19941         Add debugging messages.
19942         Make internal methods static.
19943         Handle the case where the bus is flushed in the handler.
19944         
19945         * gst/gstelement.c: (gst_element_get_bus):
19946         Fix refcount in _get_bus();
19947
19948         * gst/gstpipeline.c: (gst_pipeline_change_state),
19949         (gst_pipeline_get_clock_func):
19950         Clock refcounting fixes.
19951         Handle the case where preroll timed out more gracefully.
19952         
19953         * gst/gstsystemclock.c: (gst_system_clock_dispose):
19954         Clean up the internal thread in dispose. This is needed
19955         for subclasses that actually get disposed.
19956         
19957         * gst/schedulers/threadscheduler.c:
19958         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19959         (gst_thread_scheduler_dispose):
19960         Free thread pool in dispose.
19961
19962 2005-06-28  Andy Wingo  <wingo@pobox.com>
19963
19964         * tests/network-clock-utils.scm (debug, print-event): New utils.
19965
19966         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
19967         (*packet-loss*): Unified loss probability.
19968         (network-time): Report out-of-band events.
19969
19970         * tests/plot-data: Add support for out-of-band events. Hack it
19971         into this script instead of passing it down the pipe; should fix
19972         this later.
19973
19974 2005-06-28  Wim Taymans  <wim@fluendo.com>
19975
19976         * docs/gst/gstreamer.types:
19977         * docs/gst/tmpl/gstbasesrc.sgml:
19978         * docs/gst/tmpl/gstpad.sgml:
19979         Docs fixes.
19980
19981 2005-06-28  Wim Taymans  <wim@fluendo.com>
19982
19983         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19984         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
19985         (gst_proxy_pad_do_fixatecaps):
19986         Correctly proxy the check_pull_range function.
19987
19988 2005-06-28  Andy Wingo  <wingo@pobox.com>
19989
19990         * tests/network-clock.scm: Removed need for slib.
19991         
19992 2005-06-28  Wim Taymans  <wim@fluendo.com>
19993
19994         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
19995         (gst_basesink_preroll_queue_flush):
19996         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
19997         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
19998         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19999         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
20000         (gst_proxy_pad_set_property):
20001         * gst/gstpad.c:
20002         * gst/gstpad.h:
20003         * gst/gstqueue.c: (gst_queue_init):
20004         The deprecated pad loop function is removed now.
20005
20006 2005-06-28  Andy Wingo  <wingo@pobox.com>
20007
20008         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
20009         New parameters, simulate network packet loss.
20010
20011         * tests/network-clock-utils.scm: Initialize the RNG.
20012
20013 2005-06-28  Wim Taymans  <wim@fluendo.com>
20014
20015         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
20016         (gst_basesink_event), (gst_basesink_deactivate):
20017         Flushing the preroll queue always needs to unlock the waiters.
20018
20019 2005-06-28  Edward Hervey  <edward@fluendo.com>
20020
20021         * gst/gstpipeline.c: (gst_pipeline_send_event): 
20022         Wheen a seek was successful on a pipeline, set the stream_time to the
20023         seek offset in order to have a synchronized stream_time.
20024
20025 2005-06-28  Wim Taymans  <wim@fluendo.com>
20026
20027         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20028         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
20029         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
20030         (gst_proxy_pad_do_fixatecaps):
20031         Call wrapper function instead of just calling the function
20032         pointers. This takes care of any locking and whatmore.
20033
20034 2005-06-28  Wim Taymans  <wim@fluendo.com>
20035
20036         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
20037         (gst_pad_pull_range):
20038         * gst/gstpad.h:
20039         CONNECTED -> LINKED.
20040
20041 2005-06-28  Andy Wingo  <wingo@pobox.com>
20042
20043         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
20044         source-munging commit!!!
20045
20046         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
20047         (gst_object_sink): Take gpointer arguments, not GstObject --
20048         avoids casts. Like GLib.
20049
20050         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
20051         activate.
20052
20053 2005-06-27  Andy Wingo  <wingo@pobox.com>
20054
20055         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
20056         remaining buffer.
20057
20058         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
20059         returns a sorted copy of the trace list.
20060         (gst_alloc_trace_print_live): New API, only prints traces with
20061         live objects. Sort the list.
20062         (gst_alloc_trace_print_all): Sort the list.
20063         (gst_alloc_trace_print): Align columns.
20064
20065         * gst/elements/gstttypefindelement.c:
20066         * gst/elements/gsttee.c:
20067         * gst/base/gstbasesrc.c:
20068         * gst/base/gstbasesink.c:
20069         * gst/base/gstbasetransform.c:
20070         * gst/gstqueue.c: Adapt for pad activation changes.
20071
20072         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
20073         sched.
20074         (gst_pipeline_dispose): Drop ref on sched.
20075
20076         * gst/gstpad.c (gst_pad_init): Set the default activate func.
20077         (gst_pad_activate_default): Push mode by default.
20078         (pre_activate_switch, post_activate_switch): New stubs, things to
20079         do before and after switching activation modes on pads.
20080         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
20081         the pad's activate function to choose which mode to activate.
20082         Shortcut on deactivation and call the right function directly.
20083         (gst_pad_activate_pull): New API, (de)activates a pad in pull
20084         mode.
20085         (gst_pad_activate_push): New API, same for push mode.
20086         (gst_pad_set_activate_function) 
20087         (gst_pad_set_activatepull_function) 
20088         (gst_pad_set_activatepush_function): Setters for new API.
20089
20090         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
20091         Trace all miniobjects.
20092         (gst_mini_object_make_writable): Unref the arg if we copy, like
20093         gst_caps_make_writable.
20094
20095         * gst/gstmessage.c (_gst_message_initialize): No trace init.
20096
20097         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
20098         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
20099         Adapt for new pad API.
20100
20101         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
20102
20103         * gst/gstelement.h:
20104         * gst/gstelement.c (gst_element_iterate_src_pads) 
20105         (gst_element_iterate_sink_pads): New API functions.
20106         
20107         * gst/gstelement.c (iterator_fold_with_resync): New utility,
20108         should fold into gstiterator.c in some form.
20109         (gst_element_pads_activate): Simplified via use of fold and
20110         delegation of decisions to gstpad->activate.
20111
20112         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
20113         help in debugging.
20114
20115         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
20116         class once in init, like gstmessage. Didn't run into this issue
20117         but it seems correct. Don't initialize a trace, gstminiobject does
20118         that.
20119
20120         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
20121         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
20122         to the bus.
20123         (assert_live_count): New util function, uses alloc traces to check
20124         cleanup.
20125
20126         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
20127         To be modified when unlink drops the internal pad.
20128
20129 2005-06-27  Wim Taymans  <wim@fluendo.com>
20130
20131         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
20132         (gst_bin_change_state):
20133         Cleanup the get_state() function a little, make sure it
20134         iterates the same set of elements.
20135         Added stub iterate_state_order().
20136
20137 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20138
20139         * docs/gst/gstreamer-docs.sgml:
20140         * docs/gst/gstreamer-sections.txt:
20141         * docs/gst/gstreamer.types:
20142         * docs/gst/tmpl/gstbasesink.sgml:
20143         * docs/gst/tmpl/gstbasesrc.sgml:
20144         * docs/gst/tmpl/gstbasetransform.sgml:
20145         * docs/gst/tmpl/gstelement.sgml:
20146         * docs/gst/tmpl/gstiterator.sgml:
20147         * gst/base/gstbasesrc.c:
20148         * gst/base/gstbasesrc.h:
20149         * gst/base/gstbasetransform.h:
20150         * gst/gstelement.c:
20151         * gst/gstiterator.h:
20152           adding basetransform and iterator docs
20153
20154 2005-06-27  Andy Wingo  <wingo@pobox.com>
20155
20156         * docs/design/part-activation.txt: Notes on how activation should
20157         work -- not quite implemented yet.
20158
20159 2005-06-25  Wim Taymans  <wim@fluendo.com>
20160
20161         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
20162         At least get the chain function correct, needs more
20163         fixing.
20164
20165 2005-06-25  Wim Taymans  <wim@fluendo.com>
20166
20167         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20168         (gst_basesink_handle_object), (gst_basesink_event),
20169         (gst_basesink_do_sync), (gst_basesink_handle_event),
20170         (gst_basesink_change_state):
20171         * gst/gsttask.h:
20172         Right, two problems here: ghostpads don't take locks and
20173         glib _rec_mutex_lock_full() with depth==0 still locks.
20174         Catch illegal locking and g_warn them.
20175
20176 2005-06-25  Wim Taymans  <wim@fluendo.com>
20177
20178         * check/states/sinks.c: (START_TEST), (gst_object_suite):
20179         Have to check for completion now...
20180
20181 2005-06-25  Wim Taymans  <wim@fluendo.com>
20182
20183         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20184         (gst_basesink_handle_object), (gst_basesink_event),
20185         (gst_basesink_do_sync), (gst_basesink_handle_event),
20186         (gst_basesink_change_state):
20187         * gst/gstpad.h:
20188         Unlock STREAM_LOCK whatever the recursion was.
20189
20190 2005-06-25  Wim Taymans  <wim@fluendo.com>
20191
20192         * gst/base/gstbasesink.c: (gst_basesink_set_property),
20193         (gst_basesink_preroll_queue_empty),
20194         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
20195         (gst_basesink_event), (gst_basesink_do_sync),
20196         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
20197         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
20198         (gst_basesink_change_state):
20199         Reworked the base sink, handle event and buffer serialisation
20200         correctly and removed possible deadlock.
20201         Handle EOS correctly.
20202
20203 2005-06-25  Wim Taymans  <wim@fluendo.com>
20204
20205         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
20206         (gst_pipeline_change_state):
20207         * tools/gst-launch.c: (check_intr), (event_loop), (main):
20208         Allow elements to post EOS in the state change function.
20209         Fix up -launch, make it exit the poll loop when the
20210         pipeline actually changed state.
20211         Fix up warning parsing in -launch.
20212
20213 2005-06-25  Wim Taymans  <wim@fluendo.com>
20214
20215         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
20216         (gst_tee_sink_activate):
20217         Core takes STREAM_LOCK for us now.
20218
20219 2005-06-25  Wim Taymans  <wim@fluendo.com>
20220
20221         * gst/gstelement.c: (gst_element_get_state_func),
20222         (gst_element_set_state):
20223         * gst/gstelement.h:
20224         * gst/gstmessage.c: (gst_message_parse_error),
20225         (gst_message_parse_warning):
20226         Keep track of current target state while performing a state
20227         change so that subclasses can do something interesting.
20228         Fix parsing of warning/error messages when GError is NULL.
20229
20230 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20231
20232         * docs/gst/Makefile.am:
20233         * docs/gst/gstreamer-docs.sgml:
20234         * docs/gst/gstreamer-sections.txt:
20235         * docs/gst/gstreamer.types:
20236         * docs/gst/tmpl/gstbasesink.sgml:
20237         * docs/gst/tmpl/gstbasesrc.sgml:
20238         * docs/gst/tmpl/gstbin.sgml:
20239         * docs/gst/tmpl/gstcompat.sgml:
20240         * docs/gst/tmpl/gstfakesink.sgml:
20241         * docs/gst/tmpl/gstfakesrc.sgml:
20242         * docs/gst/tmpl/gstfilesink.sgml:
20243         * docs/gst/tmpl/gstfilesrc.sgml:
20244         * docs/gst/tmpl/gstindex.sgml:
20245         * docs/manual/appendix-quotes.xml:
20246         * gst/base/gstbasesrc.h:
20247         * gst/elements/gstfakesrc.h:
20248         * gst/gstmessage.h:
20249           start pulling in base classes and elements in our docs
20250
20251 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
20252
20253         * docs/gst/Makefile.am:
20254         * docs/libs/Makefile.am:
20255           fixed make distcheck with gtk-doc 1.3
20256
20257 2005-06-23  Wim Taymans  <wim@fluendo.com>
20258
20259         * gst/gstelement.c: (gst_element_get_state_func),
20260         (gst_element_set_state), (gst_element_change_state):
20261         When the state did not change, also report NO_PREROLL
20262         when it matters.
20263
20264 2005-06-23  Wim Taymans  <wim@fluendo.com>
20265
20266         * gst/gstpad.c: (gst_pad_event_default):
20267         * gst/gstqueue.c: (gst_queue_loop):
20268         No unsafe task pausing please.
20269
20270 2005-06-23  Wim Taymans  <wim@fluendo.com>
20271
20272         * gst/schedulers/threadscheduler.c:
20273         (gst_thread_scheduler_task_start),
20274         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
20275         Ref the task before pushing it on the threadpool. This
20276         makes sure that we have a ref when the threadfunction is
20277         actually called.
20278
20279 2005-06-23  Andy Wingo  <wingo@pobox.com>
20280
20281         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
20282         offset is greater than the file's size.
20283
20284         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
20285         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
20286         * gst/gstobject.c (gst_object_class_init): Make the class lock
20287         recursive. Wim won't let me drop deep_notify. Decodebin works
20288         again, whoopdy doo.
20289
20290         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
20291         internal pad, and hacks accordingly. Doesn't do it on the target
20292         pad because we change its caps. Probably catches all cases of
20293         interest tho.
20294         (gst_ghost_pad_set_property): Connect to notify::caps as
20295         appropritate.
20296
20297         * tests/network-clock.scm (plot-simulation): Pipe data to the
20298         elite python skript.
20299
20300         * tests/network-clock-utils.scm (define-parameter): New macro,
20301         defines a parameter that can be set via the command line.
20302         (set-parameter!, parse-parameter-arguments): Command line args
20303         parser.
20304
20305         * tests/plot-data: Simple matplotlib-based plotter, takes input on
20306         stdin.
20307
20308 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
20309
20310         * gst/elements/gsttypefindelement.c:
20311         (gst_type_find_element_handle_event):
20312           Don't restart typefinding on a discont.
20313         * gst/gstelement.c: (gst_element_set_state):
20314           Debug spelling fix.
20315         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
20316           Allow changing mode of an active pad.
20317           Debug output fixes.
20318         * gst/registries/gstlibxmlregistry.c: (load_feature):
20319           Don't cast a static pad template to a normal pad template.
20320
20321 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20322
20323         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20324         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20325           remove gst_strtoll completely, since it didn't actually do
20326           anything more than what g_ascii_strtoull already does.
20327           check for range errors when deserializing
20328           do a cast for the unsigned cases; but further fixing needs
20329           a decision on what the interpretation of "(int)" and
20330           deserialization should be for values that fall outside the
20331           type's boundaries (ie, refuse, or interpret as casting)
20332
20333 2005-06-23  Wim Taymans  <wim@fluendo.com>
20334
20335         * check/Makefile.am:
20336         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
20337         * docs/design/part-live-source.txt:
20338         * docs/design/part-states.txt:
20339         * gst/base/gstbasesrc.c: (gst_basesrc_init),
20340         (gst_basesrc_set_live), (gst_basesrc_is_live),
20341         (gst_basesrc_get_range), (gst_basesrc_activate),
20342         (gst_basesrc_change_state):
20343         * gst/base/gstbasesrc.h:
20344         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20345         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
20346         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
20347         * gst/gstelement.c: (gst_element_get_state_func),
20348         (gst_element_set_state):
20349         * gst/gstelement.h:
20350         * gst/gsttypes.h:
20351         * tools/gst-launch.c: (event_loop), (main):
20352         Added support for live sources and other elements that
20353         cannot do preroll.
20354         Updated design docs, added live-source design doc.
20355         Implemented live source functionality in basesrc
20356         Fix error condition in _bin_get_state()
20357         Implement live source handling in -launch.
20358         Added check for live sources.
20359         Fixed case in GstBin where elements were changed state
20360         multiple times.
20361
20362
20363 2005-06-23  Andy Wingo  <wingo@pobox.com>
20364
20365         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
20366         borken refcounting.
20367
20368         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
20369         gst_caps_replace takes care of this for us.
20370
20371         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
20372         gst_pad_set_caps on the target, not just its setcaps() function.
20373
20374         * tests/network-clock.scm: 
20375         * tests/network-clock-utils.scm: A network clock simulator.
20376         Something of an algorithmic testbed before doing something in C.
20377
20378 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20379
20380         * check/Makefile.am:
20381         * check/gst/capslist.h:
20382           copy over from 0.8, and add two with bitmasks specified with
20383           (int) 0xFF...
20384         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20385           add test to parse everything from capslist.h
20386         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
20387         (main):
20388           add test for structure deserialization
20389         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20390           add tests for deserialization of strings to int types
20391         * gst/gststructure.c: (gst_structure_nth_field_name):
20392         * gst/gststructure.h:
20393           add a way to get the name of a field referenced by index
20394         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20395           instead of checking if the resulting long long lies between
20396           min and max, we check if the long long would fit into
20397           a number of bytes for the final type.
20398           This fixes cases where a string represents 2^32 - 1, which
20399           when cast to int would be the (valid) -1, but is bigger than
20400           G_MAXINT
20401
20402 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20403
20404         * gst/parse/grammar.y:
20405           add a log line for type deserialization
20406
20407 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20408
20409         * check/gst/gstvalue.c: (START_TEST):
20410         * gst/gstvalue.c: (gst_value_deserialize):
20411           return long long, not int, so gint64 deserialization actually
20412           works.  Is there any flag that makes the compiler check this ?
20413           Fixes #308559
20414
20415 2005-06-22  Wim Taymans  <wim@fluendo.com>
20416
20417         * gst/gstbuffer.h:
20418         Added convenience macros for setting buffers in GValue.
20419
20420 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20421
20422         * check/gst/.cvsignore:
20423         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20424           add a test deserializing int64, and comment part out because
20425           it fails, yay !
20426
20427 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20428
20429         * check/Makefile.am:
20430         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
20431         * testsuite/Makefile.am:
20432         * testsuite/caps/Makefile.am:
20433         * testsuite/caps/value_serialize.c:
20434         * testsuite/test_gst_init.c:
20435           move a value_serialize test over
20436
20437 2005-06-20  Wim Taymans  <wim@fluendo.com>
20438
20439         * gst/gstpad.c:
20440         Small doc updates.
20441         
20442         * gst/gstvalue.c: (gst_value_compare_buffer),
20443         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
20444         (gst_value_compare_flags), (gst_value_serialize_flags),
20445         (gst_value_deserialize_flags), (_gst_value_initialize):
20446         Fix serialisation of buffers, they are not boxed types anymore
20447
20448 2005-06-20  Wim Taymans  <wim@fluendo.com>
20449
20450         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20451         Testcase to show error in buffer-on-caps serialisation.
20452
20453 2005-06-20  Andy Wingo  <wingo@pobox.com>
20454
20455         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
20456         will be adding to later.
20457
20458         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
20459         if its socks fill with rocks.
20460         (gst_system_clock_obtain): Set the name on object construction.
20461         Avoid double-checked locking.
20462
20463 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
20464
20465         * gst/gsturi.c: (gst_element_make_from_uri):
20466           Fix potential endless loop.
20467
20468 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20469
20470         * check/Makefile.am:
20471           add gsttag
20472         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
20473         (main):
20474           move over from testsuite dir and clean up
20475         * configure.ac:
20476         * gst/gsttag.c:
20477         * testsuite/Makefile.am:
20478         * testsuite/tags/.cvsignore:
20479         * testsuite/tags/Makefile.am:
20480         * testsuite/tags/merge.c:
20481           remove testsuite/tags
20482
20483 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20484
20485         * docs/gst/gstreamer-sections.txt:
20486         * docs/gst/tmpl/gstenumtypes.sgml:
20487         * win32/gstenumtypes.c:
20488           clean up documentation build a little
20489
20490 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20491
20492         * check/gstcheck.h:
20493           add macros for checking refcounts on objects and caps
20494         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
20495           add some more unit tests
20496         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20497         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
20498           fix leaked refcounts (I hope :)) so unittest works
20499         * gst/gstpad.h:
20500           whitespace removal
20501
20502 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20503
20504         * configure.ac: back to HEAD
20505
20506 === release 0.9.1 ===
20507
20508 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20509
20510         * NEWS:
20511         * RELEASE:
20512           updated
20513
20514 2005-06-17  Andy Wingo  <wingo@pobox.com>
20515
20516         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
20517         assert; it's always possible that the pad gets deactivated in
20518         between the checks in gstpad.c and the implementation. Rely on
20519         finish_preroll() to return a FLUSHING or similar instead of on the
20520         assert.
20521         
20522         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
20523         clock and post an EOS message if we come out of finish_preroll in
20524         the playing state.
20525
20526 2005-06-16  David Schleef  <ds@schleef.org>
20527
20528         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20529         (gst_capsfilter_set_property): Allow NULL as possible value
20530         for filter_caps property, indicating GST_CAPS_ANY.
20531
20532 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20533
20534         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
20535           fix debug output
20536         * gst/schedulers/Makefile.am:
20537           use libgst prefix
20538         * gstreamer.spec.in:
20539           fix spec for it
20540
20541 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20542
20543         * gstreamer.spec.in:
20544           clean up
20545
20546 2005-06-08  Andy Wingo  <wingo@pobox.com>
20547
20548         * gst/gstutils.c: RPAD fixes all around.
20549         (gst_element_link_pads): Refcounting fixes.
20550
20551         * tools/gst-inspect.c:
20552         * tools/gst-xmlinspect.c:
20553         * parse/grammar.y:
20554         * gst/base/gsttypefindhelper.c:
20555         * gst/base/gstbasesink.c:
20556         * gst/gstqueue.c: RPAD fixes.
20557
20558         * gst/gstghostpad.h:
20559         * gst/gstghostpad.c: New ghost pad implementation as full proxy
20560         pads. The tricky thing is they provide both source and sink
20561         interfaces, since they proxy the internal pad for the external
20562         pad, and vice versa. Implement with lower-level ProxyPad objects,
20563         with the interior proxy pad as a child of the exterior ghost pad.
20564         Should write a doc on this.
20565         
20566         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
20567         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
20568         gst_object API.
20569         
20570         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
20571         pads are real pads. No ghost pads in this file. Not documenting
20572         the myriad s/RPAD/PAD/ and REALIZE fixes.
20573         (gst_pad_class_init): Add properties for "direction" and
20574         "template". Both are construct-only, so they can't change during
20575         the life of the pad. Fixes properly deriving from GstPad.
20576         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
20577         derived objects, just set properties when creating the objects via
20578         g_object_new.
20579         (gst_pad_get_parent): Implement as a function, return NULL if the
20580         parent is not an element.
20581         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
20582         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
20583         
20584         * gst/gstobject.c (gst_object_class_init): Make name a construct
20585         property. Don't set it in the object init.
20586
20587         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
20588         with UNKNOWN direction.
20589         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
20590         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
20591         (gst_element_remove_pad): Remove ghost-pad special cases.
20592         (gst_element_pads_activate): Remove rpad cruft.
20593
20594         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
20595         catch the pad's-parent-not-an-element case.
20596
20597         * gst/gst.h: Include gstghostpad.h.
20598
20599         * gst/gst.c (init_post): No more real, ghost pads.
20600
20601         * gst/Makefile.am: Add gstghostpad.[ch].
20602
20603         * check/Makefile.am:
20604         * check/gst/gstbin.c:
20605         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
20606         into a bin creates ghost pads, and that the refcounts are right.
20607         Partly moved from gstbin.c.
20608
20609 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20610
20611         * check/gst-libs/.cvsignore:
20612         * check/gst/.cvsignore:
20613         * check/pipelines/.cvsignore:
20614           ignore more
20615         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
20616         (START_TEST), (cleanup_suite), (main):
20617           add some tests related to cleanup after running pipelines
20618
20619 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20620
20621         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
20622           add a testsuite for GstBuffer
20623
20624 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20625
20626         * gst/gstminiobject.h:
20627           add defines for accessing the refcount
20628
20629 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
20630
20631         * Makefile.am: added support for html unit test coverage reports
20632
20633 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
20634
20635         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
20636           Free existing caps if the capsfilter changes. Add a FIXME about
20637           setting those caps on the pads.
20638
20639         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
20640           Before adding a ghost pad to a parent bin, check that there isn't
20641           already one for the element on the bin. Prevents infinite recursion
20642           when using decodebin in parse pipelines. Andy says he'll rewrite the
20643           way this works anyway, so ignore the hack.
20644
20645 2005-06-02  Andy Wingo  <wingo@pobox.com>
20646
20647         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
20648         file size, pass it on to the type find helper.
20649
20650         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
20651         segment_start and segment_end properly according to the seek
20652         method. Segment_end is still a bit flaky because offset can be
20653         negative for CUR and END cases, but it takes -1 as an "unset"
20654         value.
20655
20656 2005-06-02  Wim Taymans  <wim@fluendo.com>
20657
20658         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
20659         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
20660         (gst_basesink_activate):
20661         * gst/base/gstbasesink.h:
20662         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20663         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20664         (gst_pad_query), (gst_pad_start_task):
20665         * gst/gstpad.h:
20666         * gst/gstqueue.c: (gst_queue_bufferalloc),
20667         (gst_queue_handle_sink_event), (gst_queue_chain):
20668         Bufferalloc: return GstFlowReturn to more accuratly report
20669         why allocation failed.
20670
20671 2005-06-02  Wim Taymans  <wim@fluendo.com>
20672
20673         * gst/gstpipeline.c: (gst_pipeline_send_event):
20674         Take snapshot of state without blocking.
20675
20676 2005-06-02  Wim Taymans  <wim@fluendo.com>
20677
20678         * docs/design/part-TODO.txt:
20679         * docs/design/part-caps.txt:
20680         * docs/design/part-clocks.txt:
20681         * docs/design/part-negotiation.txt:
20682         * docs/design/part-preroll.txt:
20683         Small doc updates 
20684
20685 2005-05-30  Wim Taymans  <wim@fluendo.com>
20686
20687         * gst/elements/gstidentity.c: (gst_identity_event),
20688         (gst_identity_transform), (gst_identity_get_property):
20689         Protect last_message property as it is accessed from
20690         multiple threads.
20691
20692 2005-05-30  Wim Taymans  <wim@fluendo.com>
20693
20694         * gst/gstelement.c: (gst_element_init),
20695         (gst_element_pads_activate), (gst_element_change_state):
20696         Slicker pad activation code.
20697
20698 2005-05-30  Wim Taymans  <wim@fluendo.com>
20699
20700         * gst/Makefile.am:
20701         * gst/gstelement.h:
20702         * gst/gstelementfactory.h:
20703         * gst/gsttypes.h:
20704         Move elementfactory methods to separate .h file.
20705
20706 2005-05-30  Wim Taymans  <wim@fluendo.com>
20707
20708         * docs/design/part-overview.txt:
20709         * gst/gstsystemclock.h:
20710         Small typo fixes, doc updates.
20711
20712 2005-05-30  Wim Taymans  <wim@fluendo.com>
20713
20714         * gst/gst.c: (gst_init_get_popt_table), (init_post),
20715         (init_popt_callback):
20716         Remove cpu-opt flag.
20717
20718 2005-05-30  Wim Taymans  <wim@fluendo.com>
20719
20720         * gst/gstbuffer.c: (gst_subbuffer_finalize),
20721         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
20722         * gst/gstbuffer.h:
20723         Avoid typechecking in places where not needed.
20724         Added accessor for malloc_data.
20725
20726 2005-05-30  Wim Taymans  <wim@fluendo.com>
20727
20728         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
20729         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
20730         (gst_pad_configure_sink), (gst_pad_configure_src),
20731         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
20732         (gst_pad_start_task):
20733         Propagate errors from _set_caps() in configure_src/sink
20734         functions instead of returning TRUE.
20735         FLUSH events can travel up and downstream
20736
20737
20738 2005-05-30  Wim Taymans  <wim@fluendo.com>
20739
20740         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20741         (gst_basesink_activate):
20742         Handle EOS in preroll.
20743
20744 2005-05-30  Wim Taymans  <wim@fluendo.com>
20745
20746         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20747         (gst_queue_loop), (gst_queue_handle_src_event):
20748         Remove old pieces of code
20749         Flushing the queue in an upstream event is a very bad idea.
20750
20751 2005-05-26  Andy Wingo  <wingo@pobox.com>
20752
20753         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
20754         gst_value_set_mini_object so as to add a ref on the object (which
20755         will be removed when the value is unset).
20756
20757         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
20758         arg type in ::handoff.
20759
20760         * gst/gstelement.c (gst_element_change_state): Also deactivate
20761         pads in READY->NULL, just in case the element didn't make it to
20762         PAUSED. Wingo tested, Wim approved.
20763
20764 2005-05-26  Wim Taymans  <wim@fluendo.com>
20765
20766         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20767         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20768         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
20769         A flushing pad cannot be used to alloc_buffer from.
20770
20771 2005-05-26  Wim Taymans  <wim@fluendo.com>
20772
20773         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
20774         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
20775         (gst_bus_source_dispatch), (gst_bus_source_finalize),
20776         (gst_bus_create_watch), (gst_bus_add_watch_full):
20777         * gst/gstbus.h:
20778         Implement a real GSource and use g_main_context_wakeup() to
20779         signal new messages instead of the socketpair.
20780
20781 2005-05-25  Wim Taymans  <wim@fluendo.com>
20782
20783         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
20784         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
20785         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20786         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20787         (gst_pad_send_event), (gst_pad_start_task):
20788         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
20789         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20790         (gst_queue_sink_activate), (gst_queue_src_activate),
20791         (gst_queue_change_state):
20792         * gst/gstqueue.h:
20793         Fix state changes for non sinks. We now change sinks, then elements
20794         with unconnected srcpads, then the rest.
20795         More efficient queue unlocking in flush and state changes.
20796         Set the pad activate mode even if it does not have an activate
20797         function.
20798
20799 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20800
20801         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
20802           Don't go in pull mode for non-seekable sources.
20803         * gst/elements/gsttypefindelement.h:
20804         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
20805         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
20806         (free_entry), (stop_typefinding),
20807         (gst_type_find_element_handle_event), (find_peek),
20808         (gst_type_find_element_chain), (do_pull_typefind),
20809         (gst_type_find_element_change_state):
20810           Allow typefinding (w/o seeking) in push-mode, simplified version
20811           of what was in 0.8.
20812         * gst/gstutils.c: (gst_buffer_join):
20813         * gst/gstutils.h:
20814           gst_buffer_join() from 0.8.
20815
20816 2005-05-25  Wim Taymans  <wim@fluendo.com>
20817
20818         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20819         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20820         (gst_pad_send_event), (gst_pad_start_task):
20821         Disable attempt at mode switching until it is figured out.
20822
20823 2005-05-25  Wim Taymans  <wim@fluendo.com>
20824
20825         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
20826         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20827         (gst_basesink_finish_preroll), (gst_basesink_chain),
20828         (gst_basesink_loop), (gst_basesink_activate),
20829         (gst_basesink_change_state):
20830         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
20831         (gst_basesrc_get_range), (gst_basesrc_loop),
20832         (gst_basesrc_activate):
20833         * gst/elements/gsttee.c: (gst_tee_sink_activate):
20834         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
20835         (gst_real_pad_init), (gst_real_pad_set_property),
20836         (gst_real_pad_get_property), (gst_pad_set_active),
20837         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
20838         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
20839         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
20840         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
20841         (gst_pad_event_default_dispatch), (gst_pad_event_default),
20842         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
20843         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
20844         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
20845         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
20846         (gst_pad_stop_task):
20847         * gst/gstpad.h:
20848         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20849         (gst_queue_loop), (gst_queue_src_activate):
20850         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
20851         (gst_task_get_state):
20852         * gst/gsttask.h:
20853         * gst/schedulers/threadscheduler.c:
20854         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
20855         Implement gst_pad_pause/start/stop_task(), take STREAM lock
20856         in task function.
20857         Remove ACTIVE pad flag, use FLUSHING everywhere
20858         Added _pad_chain(), _pad_get_range() to call chain/getrange 
20859         functions.
20860         Add locks around IS_FLUSHING when reading.
20861         Take STREAM lock in chain(), get_range() functions so plugins
20862         don't need to take it anymore.
20863         
20864
20865
20866 2005-05-25  Wim Taymans  <wim@fluendo.com>
20867
20868         * tools/gst-launch.c: (event_loop):
20869         Unref message after using its contents instead of
20870         before.
20871
20872 2005-05-24  Wim Taymans  <wim@fluendo.com>
20873
20874         * docs/design/draft-ghostpads.txt:
20875         * docs/design/draft-push-pull.txt:
20876         * docs/design/draft-query.txt:
20877         * docs/design/part-overview.txt:
20878         Docs updates, added general overview doc.
20879
20880 2005-05-21  David Schleef  <ds@schleef.org>
20881
20882         * docs/gst/tmpl/old/GstBin.sgml:
20883         * docs/gst/tmpl/old/GstBuffer.sgml:
20884         * docs/gst/tmpl/old/GstCaps.sgml:
20885         * docs/gst/tmpl/old/GstClock.sgml:
20886         * docs/gst/tmpl/old/GstCompat.sgml:
20887         * docs/gst/tmpl/old/GstData.sgml:
20888         * docs/gst/tmpl/old/GstElement.sgml:
20889         * docs/gst/tmpl/old/GstEvent.sgml:
20890         * docs/gst/tmpl/old/GstIndex.sgml:
20891         * docs/gst/tmpl/old/GstStructure.sgml:
20892         * docs/gst/tmpl/old/GstTag.sgml:
20893         * docs/gst/tmpl/old/cothreads.sgml:
20894         * docs/gst/tmpl/old/cothreads_compat.sgml:
20895         * docs/gst/tmpl/old/gettext.sgml:
20896         * docs/gst/tmpl/old/gobject2gtk.sgml:
20897         * docs/gst/tmpl/old/grammar.tab.sgml:
20898         * docs/gst/tmpl/old/gst-i18n-app.sgml:
20899         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
20900         * docs/gst/tmpl/old/gst_private.sgml:
20901         * docs/gst/tmpl/old/gstaggregator.sgml:
20902         * docs/gst/tmpl/old/gstarch.sgml:
20903         * docs/gst/tmpl/old/gstatomic_impl.sgml:
20904         * docs/gst/tmpl/old/gstbufferstore.sgml:
20905         * docs/gst/tmpl/old/gstdata_private.sgml:
20906         * docs/gst/tmpl/old/gstdisksink.sgml:
20907         * docs/gst/tmpl/old/gstdisksrc.sgml:
20908         * docs/gst/tmpl/old/gstelementfactory.sgml:
20909         * docs/gst/tmpl/old/gstextratypes.sgml:
20910         * docs/gst/tmpl/old/gstfakesink.sgml:
20911         * docs/gst/tmpl/old/gstfakesrc.sgml:
20912         * docs/gst/tmpl/old/gstfdsink.sgml:
20913         * docs/gst/tmpl/old/gstfdsrc.sgml:
20914         * docs/gst/tmpl/old/gstfilesink.sgml:
20915         * docs/gst/tmpl/old/gstfilesrc.sgml:
20916         * docs/gst/tmpl/old/gsthttpsrc.sgml:
20917         * docs/gst/tmpl/old/gstidentity.sgml:
20918         * docs/gst/tmpl/old/gstindexfactory.sgml:
20919         * docs/gst/tmpl/old/gstmarshal.sgml:
20920         * docs/gst/tmpl/old/gstmd5sink.sgml:
20921         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
20922         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
20923         * docs/gst/tmpl/old/gstpadtemplate.sgml:
20924         * docs/gst/tmpl/old/gstpipefilter.sgml:
20925         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
20926         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
20927         * docs/gst/tmpl/old/gstshaper.sgml:
20928         * docs/gst/tmpl/old/gstspider.sgml:
20929         * docs/gst/tmpl/old/gstspideridentity.sgml:
20930         * docs/gst/tmpl/old/gststatistics.sgml:
20931         * docs/gst/tmpl/old/gsttee.sgml:
20932         * docs/gst/tmpl/old/gsttimecache.sgml:
20933         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
20934         * docs/gst/tmpl/old/gstxmlregistry.sgml:
20935         * docs/gst/tmpl/old/gthread-cothreads.sgml:
20936         * docs/gst/tmpl/old/types.sgml:
20937           I didn't intend to add these or check them in.
20938
20939 2005-05-19  David Schleef  <ds@schleef.org>
20940
20941         * configure.ac: Use -no-common everywhere.  In a sane world, it
20942           would be the default in libtool, because without it, you can't
20943           build DLLs on Windows.
20944         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
20945         * docs/gst/gstreamer-sections.txt:
20946         * docs/gst/tmpl/gstcpu.sgml:
20947         * docs/gst/tmpl/gstdata.sgml:
20948         * docs/gst/tmpl/gstthread.sgml:
20949
20950 2005-05-19  David Schleef  <ds@schleef.org>
20951
20952         * gst/gstminiobject.c: (gst_value_set_mini_object),
20953         (gst_value_take_mini_object), (gst_value_get_mini_object):
20954         * gst/gstminiobject.h: Add GValue set/get functions.
20955
20956 2005-05-19  Wim Taymans  <wim@fluendo.com>
20957
20958         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
20959         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
20960         (gst_subbuffer_init), (gst_buffer_is_span_fast):
20961         * gst/gstbuffer.h:
20962         * gst/gstbus.c: (gst_bus_post):
20963         * gst/gstelement.c: (gst_element_get_random_pad):
20964         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
20965         Make subbufer unref the parent in finalize.
20966         some more debugging info.
20967
20968
20969 2005-05-19  Wim Taymans  <wim@fluendo.com>
20970
20971         * gst/base/gstbasesink.c: (gst_basesink_class_init),
20972         (gst_basesink_init), (gst_basesink_finalize),
20973         (gst_basesink_activate), (gst_basesink_change_state):
20974         Don't free preroll queue too early.
20975
20976 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20977
20978         * gst/Makefile.am:
20979         * gst/ROADMAP:
20980           Hi, I'm outdated. Please shoot me.
20981
20982 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20983
20984         * gst/gstpipeline.c: (gst_pipeline_send_event):
20985           Do not access variables after they have been deleted.
20986
20987 2005-05-19  Wim Taymans  <wim@fluendo.com>
20988
20989         * tools/gst-inspect.c: (print_plugin_features):
20990         A plugin feature does unfortunatly not use the
20991         object name yet...
20992
20993 2005-05-18  Wim Taymans  <wim@fluendo.com>
20994
20995         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
20996         Port _span() functions to new subbuffers.
20997
20998 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20999
21000         * gst/gstbin.c: (gst_bin_add_func):
21001           Fix clock settery in bins when adding kids after the clock has
21002           been selected.
21003
21004 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21005
21006         * gst/elements/gstidentity.c: (gst_identity_class_init):
21007           Workaround until signals support GstMiniObject.
21008
21009 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
21010
21011         * gst/gstbuffer.c:
21012         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
21013
21014 2005-05-18  Wim Taymans  <wim@fluendo.com>
21015
21016         * gst/base/Makefile.am:
21017         * gst/base/gstadapter.c: (gst_adapter_base_init),
21018         (gst_adapter_class_init), (gst_adapter_init),
21019         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
21020         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
21021         (gst_adapter_flush), (gst_adapter_available),
21022         (gst_adapter_available_fast):
21023         * gst/base/gstadapter.h:
21024         Ported and added adapter to the base classes.
21025
21026 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
21027
21028         * gst/gst.c:
21029         * gst/gstmessage.c:
21030           Make sure the class is reffed/unreffed once before threads can be
21031           used.  Fixes #304551.
21032
21033 2005-05-17  Wim Taymans  <wim@fluendo.com>
21034
21035         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
21036         (gst_basesink_chain_unlocked), (gst_basesink_activate):
21037         * gst/gstminiobject.c: (gst_mini_object_get_type),
21038         (gst_mini_object_free):
21039         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
21040         (gst_pad_push), (gst_pad_push_event):
21041         * gst/gstqueue.c: (gst_queue_change_state):
21042         Don't queue buffers in basesink when we are flushing.
21043         Unref buffer when flushing in basesink.
21044         Flush queue when going to READY
21045         Unref buffer when _push() returns an error.
21046         Don't free MiniObject instance when refcount is incremented
21047         in _finalize() so that we can recover objects.
21048
21049 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
21050
21051         * docs/manual/advanced-schedulers.xml:
21052         * docs/manual/appendix-checklist.xml:
21053         * docs/pwg/advanced-clock.xml:
21054         * docs/pwg/advanced-interfaces.xml:
21055         * docs/pwg/advanced-request.xml:
21056         * docs/pwg/advanced-types.xml:
21057         * docs/pwg/intro-preface.xml:
21058         * examples/plugins/example.c: (gst_example_get_type),
21059         (gst_example_class_init), (gst_example_chain),
21060         (gst_example_set_property), (gst_example_get_property),
21061         (gst_example_change_state), (plugin_init):
21062         * examples/plugins/example.h:
21063           small doc fixes
21064
21065 2005-05-17  Wim Taymans  <wim@fluendo.com>
21066
21067         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
21068         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
21069         * gst/gstqueue.c: (gst_queue_change_state):
21070         Clear queue when going to READY.
21071         Remove IN_SETCAPS flag too.
21072
21073 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
21074
21075         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
21076           Remove implicit cast from gboolean to GstElementStateReturn;
21077           make sure we still return failure in paused => ready case if
21078           the parent class fails to change state and our own stop 
21079           vfunc succeeds.
21080
21081 2005-05-17  Wim Taymans  <wim@fluendo.com>
21082
21083         * tools/gst-launch.c: (event_loop):
21084         Message was unreffed too soon.
21085
21086 2005-05-16  Andy Wingo  <wingo@pobox.com>
21087
21088         * gst/gstbin.c (sink_iterator_filter): Err... um...
21089
21090         * check/gst/gstbin.c (test_ghost_pads): New test for the
21091         ghosting-if-elements-not-in-same-bin behavior.
21092
21093 2005-05-16  David Schleef  <ds@schleef.org>
21094
21095         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
21096         accessing refcount directly.
21097
21098 2005-05-15  David Schleef  <ds@schleef.org>
21099
21100         * check/Makefile.am: remove GstData checks
21101         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
21102         * gst/Makefile.am: add miniobject, remove data
21103         * gst/gst.h: add miniobject, remove data
21104         * gst/gstdata.c: remove
21105         * gst/gstdata.h: remove
21106         * gst/gstdata_private.h: remove
21107         * gst/gsttypes.h: remove GstEvent and GstMessage
21108         * gst/gstelement.c: (gst_element_post_message): fix for API changes
21109         * gst/gstmarshal.list: change BOXED -> OBJECT
21110
21111         Implement GstMiniObject.
21112         * gst/gstminiobject.c:
21113         * gst/gstminiobject.h:
21114
21115         Modify to be subclasses of GstMiniObject.
21116         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
21117         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
21118         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
21119         (gst_subbuffer_get_type), (gst_subbuffer_init),
21120         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
21121         (gst_buffer_span):
21122         * gst/gstbuffer.h:
21123         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
21124         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
21125         (_gst_event_copy), (gst_event_new):
21126         * gst/gstevent.h:
21127         * gst/gstmessage.c: (_gst_message_initialize),
21128         (gst_message_get_type), (gst_message_class_init),
21129         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
21130         (gst_message_new), (gst_message_new_error),
21131         (gst_message_new_warning), (gst_message_new_tag),
21132         (gst_message_new_state_changed), (gst_message_new_application):
21133         * gst/gstmessage.h:
21134         * gst/gstprobe.c: (gst_probe_perform),
21135         (gst_probe_dispatcher_dispatch):
21136         * gst/gstprobe.h:
21137         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
21138         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
21139         (_gst_query_copy), (gst_query_new):
21140
21141         Update elements for GstData -> GstMiniObject changes
21142         * gst/gstquery.h:
21143         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
21144         (gst_queue_chain), (gst_queue_loop):
21145         * gst/elements/gstbufferstore.c:
21146         (gst_buffer_store_add_buffer_func),
21147         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
21148         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21149         (gst_fakesink_render):
21150         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
21151         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
21152         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
21153         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
21154         (gst_filesrc_create_read):
21155         * gst/elements/gstidentity.c: (gst_identity_class_init):
21156         * gst/elements/gsttypefindelement.c:
21157         (gst_type_find_element_src_event), (free_entry_buffers),
21158         (gst_type_find_element_handle_event):
21159         * libs/gst/dataprotocol/dataprotocol.c:
21160         (gst_dp_header_from_buffer):
21161         * libs/gst/dataprotocol/dataprotocol.h:
21162         * libs/gst/dataprotocol/dp-private.h:
21163
21164 2005-05-15  David Schleef  <ds@schleef.org>
21165
21166         * gst/elements/gstelements.c: Don't include headers that were
21167         just removed.
21168
21169 2005-05-15  David Schleef  <ds@schleef.org>
21170
21171         * gst/elements/Makefile.am: Remove some elements that don't
21172         need to be in the core (or even exist at all).
21173         * gst/elements/gstaggregator.c:
21174         * gst/elements/gstaggregator.h:
21175         * gst/elements/gstmd5sink.c:
21176         * gst/elements/gstmd5sink.h:
21177         * gst/elements/gstmultifilesrc.c:
21178         * gst/elements/gstmultifilesrc.h:
21179         * gst/elements/gstpipefilter.c:
21180         * gst/elements/gstpipefilter.h:
21181         * gst/elements/gstshaper.c:
21182         * gst/elements/gstshaper.h:
21183         * gst/elements/gststatistics.c:
21184         * gst/elements/gststatistics.h:
21185         * po/POTFILES.in: Remove above files.
21186
21187 2005-05-14  Andy Wingo  <wingo@pobox.com>
21188
21189         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
21190         so as to get the refs right.
21191         (sink_iterator_filter): New function, wraps bin_element_is_sink,
21192         unreffing objects that don't pass the filter.
21193
21194         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
21195         gst_element_set_bus.
21196         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
21197         normal cases, this will destroy the bus.
21198
21199         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
21200         object.
21201
21202         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
21203         has no sinks.
21204
21205 2005-05-13  Andy Wingo  <wingo@pobox.com>
21206
21207         * gst/gstutils.c (gst_element_link_pads): Instead of calling
21208         gst_pad_link, call pad_link_maybe_ghosting,
21209         (pad_link_maybe_ghosting): Links pads, making sure that the
21210         elements being linked are in the same bin.
21211         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
21212         Helpers for pad_link_maybe_ghosting.
21213
21214 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
21215
21216         * configure.ac:
21217           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
21218
21219 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
21220
21221         * docs/design/part-element-source.txt:
21222           Mention GstPushSrc
21223
21224 2005-05-12  Wim Taymans  <wim@fluendo.com>
21225
21226         * gst/base/gstbasesink.c: (gst_basesink_init),
21227         (gst_basesink_activate):
21228         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
21229         (gst_basesrc_is_seekable):
21230         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21231         (bin_element_is_sink), (gst_bin_change_state):
21232         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21233         * gst/gstelement.h:
21234         Identify sinks by their flag to avoid overly complicated
21235         checks (fow now).
21236         Do state changes even for elements not reachable from the
21237         sinks.
21238         BaseSink is a sink now :)
21239         Some more debugging info in the basesrc.
21240
21241
21242 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21243
21244         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
21245           Implement _query on a bin, similar to _send_event.
21246
21247 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
21248
21249         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
21250           Discont event offset format should be GST_FORMAT_BYTES,
21251           not GST_FORMAT_TIME.
21252
21253 2005-05-12  Wim Taymans  <wim@fluendo.com>
21254
21255         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
21256         Same fix as Ronald's but without the signal. 
21257
21258 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21259
21260         * gst/gstutils.c: (gst_element_query_position):
21261           No, an element is not a pad.
21262
21263 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21264
21265         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
21266         (gst_bin_get_state):
21267           If a child is removed from a bin while we remove the child from
21268           the bin and while we're retrieving its state, signal this to the
21269           get_state function so we abort the wait (instead of waiting for
21270           a timeout) and can immediately re-iterate over all other elements.
21271
21272 2005-05-12  Wim Taymans  <wim@fluendo.com>
21273
21274         * gst/base/Makefile.am:
21275         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
21276         (gst_basesrc_start):
21277         * gst/base/gstbasesrc.h:
21278         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
21279         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
21280         (gst_pushsrc_init), (gst_pushsrc_create):
21281         * gst/base/gstpushsrc.h:
21282         Added is_seekable to BaseSrc
21283         Added simple PushSrc.
21284
21285 2005-05-11  Wim Taymans  <wim@fluendo.com>
21286
21287         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21288         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21289         (gst_element_link_pads), (gst_element_query_position),
21290         (gst_element_query_convert), (intersect_caps_func),
21291         (gst_pad_query_position), (gst_pad_query_convert):
21292         Fix refcounting in utils function.
21293         No point in trying to activate a pad when it's added, it could
21294         be added from the state change function and then we deadlock, the
21295         element has to decide what to do.
21296
21297 2005-05-10  Andy Wingo  <wingo@pobox.com>
21298
21299         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
21300         *all* the arguments.
21301
21302         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
21303         stream lock if it's a FLUSH_DONE; normal flushes don't get the
21304         lock (according to the docs -- if this is wrong change the docs).
21305
21306         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
21307         flush messages in the NULL state.
21308
21309         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
21310         message immediately and return.
21311         (gst_bus_set_flushing): New function. If a bus is flushing, it
21312         flushes out any queued messages and immediately unrefs new
21313         messages. This is so when an element goes to NULL, all of the
21314         unhandled messages coming from it can be freed, and their
21315         references to the element dropped. In other words: message source
21316         ref considered harmful :P
21317
21318         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
21319         we're finished with it.
21320
21321         * gst/gstmessage.c (gst_message_new_state_changed): 
21322
21323 2005-05-10  Wim Taymans  <wim@fluendo.com>
21324
21325         * gst/gstvalue.c: (gst_value_compare_flags),
21326         (gst_value_serialize_flags), (gst_value_deserialize_flags),
21327         (_gst_value_initialize):
21328         Added flags serialize/deserialize/compare code.
21329
21330 2005-05-09  Andy Wingo  <wingo@pobox.com>
21331
21332         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
21333         Intersect the peer's caps with our caps.
21334
21335 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21336
21337         * gst/base/gsttypefindhelper.c: (helper_find_peek):
21338         * gst/elements/gsttypefindelement.c: (find_peek):
21339           Handle negative offsets better. Fixes decodebin.
21340
21341 2005-05-09  Wim Taymans  <wim@fluendo.com>
21342
21343         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
21344         (gst_base_transform_event):
21345         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
21346         Implement accept_caps.
21347         Fix silly lock/unlock mismatch in base class.
21348
21349 2005-05-09  Wim Taymans  <wim@fluendo.com>
21350
21351         * docs/design/draft-push-pull.txt:
21352         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
21353         * gst/elements/gstfilesink.c: (gst_filesink_init),
21354         (gst_filesink_query):
21355         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
21356         (gst_type_find_handle_src_query), (find_element_get_length):
21357         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
21358         * gst/gstelement.h:
21359         * gst/gstmessage.c:
21360         * gst/gstmessage.h:
21361         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
21362         (gst_real_pad_get_caps_unlocked),
21363         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
21364         (gst_pad_event_default_dispatch), (gst_pad_event_default),
21365         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
21366         (gst_real_pad_dispose), (gst_real_pad_finalize),
21367         (gst_pad_load_and_link), (gst_pad_save_thyself),
21368         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
21369         (gst_pad_check_pull_range), (gst_pad_pull_range),
21370         (gst_pad_template_get_type), (gst_pad_template_class_init),
21371         (gst_pad_template_init), (gst_pad_template_dispose),
21372         (name_is_valid), (gst_static_pad_template_get),
21373         (gst_pad_template_new), (gst_static_pad_template_get_caps),
21374         (gst_pad_template_get_caps), (gst_pad_set_element_private),
21375         (gst_pad_get_element_private), (gst_pad_start_task),
21376         (gst_pad_pause_task), (gst_pad_stop_task),
21377         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
21378         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
21379         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
21380         (gst_ghost_pad_new):
21381         * gst/gstpad.h:
21382         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
21383         (gst_query_new_position), (gst_query_set_position),
21384         (gst_query_parse_position), (gst_query_new_convert),
21385         (gst_query_set_convert), (gst_query_parse_convert):
21386         * gst/gstquery.h:
21387         * gst/gstqueryutils.c:
21388         * gst/gstqueryutils.h:
21389         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21390         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21391         (gst_queue_handle_src_query):
21392         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21393         (gst_element_query_position), (gst_element_query_convert),
21394         (intersect_caps_func), (gst_pad_query_position),
21395         (gst_pad_query_convert):
21396         * gst/gstutils.h:
21397         * tools/gst-inspect.c: (print_pad_info):
21398         * tools/gst-xmlinspect.c: (print_element_info):
21399         Remove old query functions. Ported old code.
21400         Added position/convert helper functions to gstutils.
21401         Reordered gstpad.c code, grouping relevant things.
21402         Remove gst_message_new(), always need to speficy a specific
21403         message.
21404
21405
21406 2005-05-09  Andy Wingo  <wingo@pobox.com>
21407
21408         * gst/gstiterator.h: Add some includes.
21409
21410         * gst/gstqueryutils.h: Include more headers.
21411
21412         * gst/gstpad.h:
21413         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
21414         some uses of gst_pad_query.
21415
21416         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
21417         NULL out parameters.
21418         (gst_query_new_position): New proc, allocates a new position
21419         query.
21420
21421         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
21422         gstqueryutils.c to the build.
21423
21424         * gst/gststructure.c (gst_structure_set_valist): Implement with
21425         the generic G_VALUE_COLLECT.
21426         
21427 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
21428
21429         * gst/Makefile.am: (gst_headers):
21430         Added gstqueryutils.h to the list of headers to install, that was
21431         a 'nachty' move wingo :)
21432
21433 2005-05-06  Andy Wingo  <wingo@pobox.com>
21434
21435         * gst/gstquery.h
21436         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
21437         GstData, init a memchunk.
21438         (standard_definitions): Add a few query types, deprecate a few.
21439         (gst_query_get_type): New proc.
21440         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
21441         implementation.
21442         (gst_query_new_application, gst_query_get_structure): New public
21443         procs.
21444
21445         * docs/design/draft-query.txt: Removed LINKS from the query types,
21446         because all the rest can be dispatched to other pads -- seemed
21447         ugly to have a query that couldn't be dispatched. internal_links
21448         is fine as a pad method.
21449
21450         * gst/gstpad.h: Add query2 as a pad method, add the new functions
21451         in gstpad.c, but maintain binary compatibility for the moment.
21452         Will fix before 0.9 is out.
21453
21454         * gst/gstqueryutils.c: 
21455         * gst/gstqueryutils.h: New files, implement 3 methods for each
21456         query type: parse_query, parse_response, and set. Probably need an
21457         allocator as well.
21458
21459         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
21460
21461         * gst/elements/gstfilesink.c (gst_filesink_query2):
21462         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
21463         query_types, and formats methods.
21464
21465         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
21466         (gst_pad_set_query2_function): New functions.
21467         (gst_real_pad_init): Set query2_default as the default query2
21468         function. Basically just dispatches to internally linked pads.
21469
21470         Needs review!
21471         
21472         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
21473         without using the atomic operations. Only one thread can possibly
21474         be accessing the data at this point. Changed so as to avoid
21475         gst_atomic operations.
21476
21477 2005-05-06  Wim Taymans  <wim@fluendo.com>
21478
21479         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
21480         Also set caps if we use the fallback buffer alloc.
21481
21482 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
21483
21484         * docs/gst/Makefile.am:
21485         * docs/gst/gstreamer-docs.sgml:
21486         * docs/gst/gstreamer-sections.txt:
21487         * docs/gst/tmpl/gstatomic.sgml:
21488         * docs/gst/tmpl/gstmemchunk.sgml:
21489         * testsuite/elements/struct_i386.h:
21490         * win32/GStreamer.vcproj:
21491         * win32/Makefile:
21492           Purge GstAtomic stuff from docs and win32 makefiles as well
21493
21494 2005-05-06  Wim Taymans  <wim@fluendo.com>
21495
21496         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
21497         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
21498         * gst/gstpad.c: (gst_pad_peer_get_caps):
21499         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21500         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21501         (gst_queue_src_activate), (gst_queue_change_state):
21502         * gst/gstqueue.h:
21503         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21504         (intersect_caps_func):
21505         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
21506         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
21507         Some fixes for the peer_get_caps() change.
21508
21509 2005-05-06  Wim Taymans  <wim@fluendo.com>
21510
21511         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21512         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
21513         (gst_basesink_activate):
21514         Actually do something with error codes returned from the push
21515         functions.
21516
21517 2005-05-06  Wim Taymans  <wim@fluendo.com>
21518
21519         * docs/design/part-element-sink.txt:
21520         * docs/design/part-element-source.txt:
21521         * gst/base/gstbasesink.c: (gst_basesink_class_init),
21522         (gst_basesink_event), (gst_basesink_activate):
21523         * gst/base/gstbasesink.h:
21524         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
21525         (gst_basesrc_activate):
21526         * gst/base/gstbasesrc.h:
21527         * gst/gstelement.c: (gst_element_pads_activate):
21528         Some more documentation.
21529         Fixed scheduling decision in _pads_activate().
21530
21531 2005-05-05  Andy Wingo  <wingo@pobox.com>
21532
21533         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
21534         the test suite.
21535
21536 2005-05-05  Wim Taymans  <wim@fluendo.com>
21537
21538         * gst/base/Makefile.am:
21539         * gst/base/gstbasesink.h:
21540         * gst/base/gstbasesrc.c: (gst_basesrc_init),
21541         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
21542         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
21543         (gst_collectpads_class_init), (gst_collectpads_init),
21544         (gst_collectpads_finalize), (gst_collectpads_new),
21545         (gst_collectpads_set_function), (gst_collectpads_add_pad),
21546         (find_pad), (gst_collectpads_remove_pad),
21547         (gst_collectpads_is_active), (gst_collectpads_collect),
21548         (gst_collectpads_collect_range), (gst_collectpads_start),
21549         (gst_collectpads_stop), (gst_collectpads_peek),
21550         (gst_collectpads_pop), (gst_collectpads_available),
21551         (gst_collectpads_read), (gst_collectpads_flush),
21552         (gst_collectpads_chain):
21553         * gst/base/gstcollectpads.h:
21554         * gst/elements/Makefile.am:
21555         * gst/elements/gstelements.c:
21556         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21557         (gst_fakesink_get_times), (gst_fakesink_event),
21558         (gst_fakesink_preroll), (gst_fakesink_render):
21559         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
21560         (gst_filesink_init), (gst_filesink_set_location),
21561         (gst_filesink_open_file), (gst_filesink_close_file),
21562         (gst_filesink_pad_query), (gst_filesink_event),
21563         (gst_filesink_render), (gst_filesink_change_state):
21564         * gst/elements/gstfilesink.h:
21565         Added object to help in making collect pad based elements.
21566         Ported filesink.
21567         Make event function in sink baseclass return gboolean.
21568
21569 2005-05-05  Wim Taymans  <wim@fluendo.com>
21570
21571         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
21572         (gst_bin_get_by_name):
21573         * gst/gstbuffer.h:
21574         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
21575         (gst_clock_finalize):
21576         * gst/gstdata.c: (gst_data_replace):
21577         * gst/gstdata.h:
21578         * gst/gstelement.c: (gst_element_request_pad),
21579         (gst_element_pads_activate):
21580         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
21581         (gst_object_unref):
21582         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21583         (gst_pad_set_checkgetrange_function),
21584         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
21585         (gst_pad_check_pull_range), (gst_pad_pull_range),
21586         (gst_static_pad_template_get_caps), (gst_pad_start_task),
21587         (gst_pad_pause_task), (gst_pad_stop_task):
21588         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21589         (gst_element_request_pad), (gst_pad_proxy_getcaps):
21590         Fix name lookup in GstBin.
21591         Added _data_replace() function and _buffer_replace()
21592         Use finalize method to clean up clock.
21593         Fix refcounting on request pads.
21594         Fix pad schedule mode error.
21595         Some more object refcounting debug info,
21596
21597
21598 2005-05-04  Andy Wingo <wingo@pobox.com>
21599
21600         * check/Makefile.am:
21601         * docs/gst/tmpl/gstatomic.sgml:
21602         * docs/gst/tmpl/gstplugin.sgml:
21603         * gst/base/gstbasesink.c: (gst_basesink_activate):
21604         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
21605         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
21606         (gst_basesrc_query), (gst_basesrc_set_property),
21607         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
21608         (gst_basesrc_activate):
21609         * gst/base/gstbasesrc.h:
21610         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
21611         (gst_base_transform_src_activate):
21612         * gst/elements/gstelements.c:
21613         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21614         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
21615         * gst/elements/gsttee.c: (gst_tee_sink_activate):
21616         * gst/elements/gsttypefindelement.c: (find_element_get_length),
21617         (gst_type_find_element_checkgetrange),
21618         (gst_type_find_element_activate):
21619         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
21620         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
21621         (gst_caps_load_thyself):
21622         * gst/gstelement.c: (gst_element_pads_activate),
21623         (gst_element_save_thyself), (gst_element_restore_thyself):
21624         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
21625         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
21626         * gst/gstpad.h:
21627         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
21628         (gst_xml_parse_file), (gst_xml_parse_memory),
21629         (gst_xml_get_element), (gst_xml_make_element):
21630         * gst/indexers/gstfileindex.c: (gst_file_index_load),
21631         (_file_index_id_save_xml), (gst_file_index_commit):
21632         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
21633         (read_enum), (load_pad_template), (load_feature), (load_plugin),
21634         (load_paths):
21635         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
21636         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
21637         * tools/gst-complete.c: (main):
21638         * tools/gst-compprep.c: (main):
21639         * tools/gst-inspect.c: (print_element_properties_info):
21640         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
21641         * tools/gst-xmlinspect.c: (print_element_properties):
21642         GCC 4 fixen.
21643         
21644 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21645
21646         * gst/gstplugin.c: (gst_plugin_check_module),
21647         (gst_plugin_check_file), (gst_plugin_load_file):
21648             apply patch from #172526 to make register work on MacOSX
21649
21650 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21651
21652         * docs/gst/tmpl/gstconfig.sgml:
21653         * gst/gstconfig.h.in:
21654           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
21655         * testsuite/debug/printf_extension.c: (main):
21656           Do not use GST_PTR_FORMAT on pointers to types with
21657           sizeof < sizeof(gpointer).  Fixes test on 64-bit
21658         * testsuite/elements/property.h:
21659           use correct printf format
21660
21661 2005-05-02  Wim Taymans  <wim@fluendo.com>
21662
21663         * docs/design/draft-push-pull.txt:
21664         * docs/design/draft-query.txt:
21665         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
21666         (gst_basesrc_start):
21667         Added draft for new query API.
21668         Added draft for better selecting scheduling methods.
21669         Make basesrc ignore length if the subclass does not support
21670         it.
21671
21672 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21673
21674         * gst/Makefile.am:
21675           possible fixes for automake-1.5 - _LIBADD is reserved
21676
21677 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21678
21679         * docs/faq/Makefile.am:
21680         * docs/manual/Makefile.am:
21681         * docs/manuals.mak:
21682         * docs/pwg/Makefile.am:
21683         * gst/Makefile.am:
21684           possible fixes for automake-1.5
21685
21686 2005-04-28  Wim Taymans  <wim@fluendo.com>
21687
21688         * gst/base/gstbasesink.c: (gst_basesink_base_init),
21689         (gst_basesink_pad_getcaps), (gst_basesink_init),
21690         (gst_basesink_do_sync):
21691         * gst/gstclock.c: (gst_clock_entry_new):
21692         * gst/gstevent.c: (gst_event_discont_get_value):
21693         * gst/gstpipeline.c: (pipeline_bus_handler),
21694         (gst_pipeline_change_state):
21695         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
21696         Better debugging of clocking info.
21697         Allow NULL values when getting discont values.
21698
21699 2005-04-27  Wim Taymans  <wim@fluendo.com>
21700
21701         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
21702         * check/gst/gstpad.c: (gst_pad_suite):
21703         Increase timeout for checks.
21704
21705 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
21706
21707         * check/Makefile.am:
21708           fix the broken rule for cleanup.  Apparently this rule is
21709           only needed on FC2, so maybe this warrants further autotool
21710           inspection.
21711
21712 2005-04-26  Wim Taymans  <wim@fluendo.com>
21713
21714         * gst/gsttrashstack.h:
21715         Ooohh. a nasty one! After having a failed pop() from the stack,
21716         it's possible that the stack is empty. In that case, don't
21717         follow the NULL pointer.
21718
21719 2005-04-25  Wim Taymans  <wim@fluendo.com>
21720
21721         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21722         (gst_pad_set_checkgetrange_function),
21723         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
21724         (gst_pad_check_pull_range), (gst_pad_pull_range),
21725         (gst_static_pad_template_get_caps), (gst_pad_start_task),
21726         (gst_pad_pause_task), (gst_pad_stop_task):
21727         * gst/gstplugin.c: (gst_plugin_load):
21728         * gst/gstplugin.h:
21729         Remove gst_library_load as it does more harm than good with
21730         the new g_module flags.
21731         Revert bogus caps template check in pad linking, pad caps
21732         are important when linking not the template, which is more
21733         general than the current caps.
21734
21735 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21736
21737         * gst/autoplug/.cvsignore:
21738         * gst/autoplug/Makefile.am:
21739         * gst/autoplug/gstsearchfuncs.c:
21740         * gst/autoplug/gstsearchfuncs.h:
21741         * gst/autoplug/gstspider.c:
21742         * gst/autoplug/gstspider.h:
21743         * gst/autoplug/gstspideridentity.c:
21744         * gst/autoplug/gstspideridentity.h:
21745         * gst/autoplug/spidertest.c:
21746           Die, spider, die.
21747
21748 2005-04-25  Wim Taymans  <wim@fluendo.com>
21749
21750         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21751         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
21752         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
21753         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
21754         * gst/gstpad.h:
21755         Added stubs for unimplemented functions. 
21756
21757 2005-04-24  David Schleef  <ds@schleef.org>
21758
21759         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
21760         please fix.
21761
21762 2005-04-24  David Schleef  <ds@schleef.org>
21763
21764         Convert everything from GstAtomicInt to g_atomic_int_*, and
21765         remove gstatomic.
21766         * gst/Makefile.am:
21767         * gst/gstatomic.c:
21768         * gst/gstatomic.h:
21769         * gst/gstatomic_impl.h:
21770         * gst/gstbuffer.c:
21771         * gst/gstcaps.c:
21772         * gst/gstcaps.h:
21773         * gst/gstclock.c:
21774         * gst/gstclock.h:
21775         * gst/gstdata.c:
21776         * gst/gstdata.h:
21777         * gst/gstdata_private.h:
21778         * gst/gstevent.c:
21779         * gst/gstinfo.c:
21780         * gst/gstinfo.h:
21781         * gst/gstmessage.c:
21782         * gst/gstobject.c:
21783         * gst/gstobject.h:
21784         * gst/gststructure.c:
21785         * gst/gststructure.h:
21786         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
21787         * gst/gstutils.h:
21788
21789 2005-04-24  David Schleef  <ds@schleef.org>
21790
21791         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
21792         make the regressions tests work.  Remove some code that is no
21793         longer true.
21794         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
21795         Disable warning for pads without templates.
21796
21797 2005-04-24  David Schleef  <ds@schleef.org>
21798
21799         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
21800         functions that handle filtered links.
21801         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
21802         removed functions.
21803         * gst/gstutils.c: Fix/remove utility functions that handle
21804         filtered caps.
21805         * gst/gstutils.h:
21806         * gst/gstvalue.c: Add serialization/deserialization of caps
21807         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
21808         requires fixing so that the filter caps notation creates
21809         a capsfilter element and sets the filter_caps property.  I
21810         think everyone probably wants to keep the shorthand notation.
21811         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
21812         * docs/gst/tmpl/gstpad.sgml:
21813
21814         * gst/elements/gstelements.c: Register capsfilter element.
21815         * gst/Makefile.am: fix spacing
21816         * docs/random/ds/0.9-suggested-changes: random
21817
21818 2005-04-23  David Schleef  <ds@schleef.org>
21819
21820         * gst/elements/Makefile.am:
21821         * gst/elements/gstcapsfilter.c: New element that acts like an
21822         identity, but filters caps.  Will eventually replace filtered
21823         caps in pad linking.
21824         * gst/gstutils.c: (gst_element_create_all_pads): New function
21825         to create all the ALWAYS pads that are registered with an
21826         element class.  This functionality should eventually be
21827         merged in with GstElement initialization.
21828         * gst/gstutils.h:
21829         * testsuite/trigger/README: part of trigger test code that should
21830         have been checked in a long time ago.
21831
21832 2005-04-23  David Schleef  <ds@schleef.org>
21833
21834         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
21835         needed with new versions of libtool (nobody will confirm this),
21836         and hard to carry around.
21837         * gst/autoplug/Makefile.am:
21838         * gst/base/Makefile.am:
21839         * gst/elements/Makefile.am:
21840         * gst/indexers/Makefile.am:
21841         * gst/schedulers/Makefile.am:
21842         * libs/gst/bytestream/Makefile.am:
21843         * libs/gst/control/Makefile.am:
21844         * libs/gst/dataprotocol/Makefile.am:
21845         * libs/gst/getbits/Makefile.am:
21846
21847 2005-04-21  Wim Taymans  <wim@fluendo.com>
21848
21849         * docs/design/draft-push-pull.txt:
21850         * docs/design/part-MT-refcounting.txt:
21851         * docs/design/part-TODO.txt:
21852         * docs/design/part-caps.txt:
21853         * docs/design/part-events.txt:
21854         * docs/design/part-gstbus.txt:
21855         * docs/design/part-gstpipeline.txt:
21856         * docs/design/part-messages.txt:
21857         * docs/design/part-push-pull.txt:
21858         * docs/design/part-query.txt:
21859         Some more docs.
21860
21861 2005-04-21  Wim Taymans  <wim@fluendo.com>
21862
21863         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
21864         (gst_message_new), (gst_message_new_error),
21865         (gst_message_new_warning), (gst_message_new_tag),
21866         (gst_message_new_state_changed), (gst_message_new_application),
21867         (gst_message_get_structure):
21868         * gst/gstmessage.h:
21869         * gst/gststructure.c: (gst_structure_set_parent_refcount),
21870         (gst_structure_copy_conditional):
21871         Use parent refcount in GstMessage to ensure GstStructure
21872         consistency.
21873         Cleaned up headers a bit.
21874         
21875
21876 2005-04-20  Wim Taymans  <wim@fluendo.com>
21877
21878         * gst/base/gstbasesink.c: (gst_basesink_base_init),
21879         (gst_basesink_pad_getcaps), (gst_basesink_init),
21880         (gst_basesink_chain_unlocked):
21881         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
21882         (gst_type_find_helper):
21883         * gst/elements/gsttypefindelement.c:
21884         (gst_type_find_element_have_type), (gst_type_find_element_init),
21885         (stop_typefinding), (gst_type_find_element_handle_event),
21886         (find_suggest), (gst_type_find_element_chain),
21887         (gst_type_find_element_checkgetrange),
21888         (gst_type_find_element_getrange), (do_typefind),
21889         (gst_type_find_element_activate):
21890         * gst/gstbuffer.c: (_gst_buffer_sub_free),
21891         (gst_buffer_default_free), (gst_buffer_default_copy),
21892         (gst_buffer_set_caps):
21893         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
21894         (gst_caps_replace):
21895         * gst/gstmessage.c: (gst_message_new),
21896         (gst_message_new_state_changed):
21897         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21898         (gst_pad_set_checkgetrange_function),
21899         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
21900         (gst_pad_set_caps), (gst_pad_check_pull_range),
21901         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
21902         * gst/gstpad.h:
21903         * gst/gsttypefind.c: (gst_type_find_register):
21904         Make gst_caps_replace() work like other _replace() functions.
21905         Use _caps_replace() where possible.
21906         Make sure _message_new() initialises its field.
21907         Add gst_static_pad_template_get_caps()
21908
21909
21910 2005-04-18  Andy Wingo  <wingo@pobox.com>
21911
21912         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
21913         on the peer, not the pad. I think that was a typo. Pass an extra
21914         arg to see if random access is possible. Activate the pads as
21915         PULL_RANGE if possible.
21916
21917         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
21918
21919         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
21920         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
21921         to PROP_....
21922
21923 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21924
21925         * docs/faq/using.xml:
21926           Add note on gstreamer-properties (#154996).
21927
21928 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21929
21930         * docs/random/bbb/optional-properties:
21931           Some analysis on optional properties.
21932
21933 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21934
21935         * docs/gst/tmpl/gstelementfactory.sgml:
21936         * gst/gstelement.h:
21937         * gst/gstelementfactory.c: (gst_element_factory_init),
21938         (gst_element_factory_cleanup), (gst_element_register),
21939         (__gst_element_factory_add_static_pad_template),
21940         (gst_element_factory_get_static_pad_templates),
21941         (gst_element_factory_can_src_caps),
21942         (gst_element_factory_can_sink_caps):
21943         * gst/registries/Makefile.am:
21944         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
21945         (gst_xml_registry_class_init), (gst_xml_registry_init),
21946         (gst_xml_registry_new), (gst_xml_registry_set_property),
21947         (gst_xml_registry_get_property), (get_time), (make_dir),
21948         (gst_xml_registry_get_perms_func),
21949         (plugin_times_older_than_recurse), (plugin_times_older_than),
21950         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
21951         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
21952         (add_to_char_array), (read_string), (read_uint), (read_enum),
21953         (load_pad_template), (load_feature), (load_plugin), (load_paths),
21954         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
21955         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
21956         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
21957         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
21958         (gst_xml_registry_rebuild):
21959         * gst/registries/gstlibxmlregistry.h:
21960         * tools/gst-compprep.c: (main):
21961         * tools/gst-inspect.c: (print_pad_templates_info):
21962         * tools/gst-xmlinspect.c: (print_element_info):
21963           Use libxml2 for registry parsing, use staticpadtemplates in
21964           elementfactories. Makes gst_init() +/- 10x faster.
21965
21966 2005-04-12  Wim Taymans  <wim@fluendo.com>
21967
21968         * gst/base/Makefile.am:
21969         * gst/base/gstbasesink.c: (gst_basesink_base_init),
21970         (gst_basesink_pad_getcaps), (gst_basesink_init),
21971         (gst_basesink_event), (gst_basesink_change_state):
21972         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21973         (gst_basesrc_init), (gst_basesrc_query),
21974         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
21975         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
21976         (gst_basesrc_check_get_range), (gst_basesrc_loop),
21977         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
21978         (gst_basesrc_stop), (gst_basesrc_activate),
21979         (gst_basesrc_change_state):
21980         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21981         (helper_find_suggest), (gst_type_find_helper):
21982         * gst/base/gsttypefindhelper.h:
21983         * gst/elements/Makefile.am:
21984         * gst/elements/gstelements.c:
21985         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21986         (gst_fakesink_get_times), (gst_fakesink_event),
21987         (gst_fakesink_preroll), (gst_fakesink_render):
21988         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21989         (gst_fakesrc_init), (gst_fakesrc_event_handler),
21990         (gst_fakesrc_get_property), (gst_fakesrc_create),
21991         (gst_fakesrc_start), (gst_fakesrc_stop):
21992         * gst/elements/gstfakesrc.h:
21993         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
21994         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
21995         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
21996         (gst_filesrc_create_read), (gst_filesrc_create),
21997         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
21998         (gst_filesrc_start):
21999         * gst/elements/gsttypefindelement.c:
22000         (gst_type_find_element_have_type), (gst_type_find_element_init),
22001         (start_typefinding), (stop_typefinding), (push_buffer_store),
22002         (gst_type_find_element_handle_event),
22003         (gst_type_find_element_chain),
22004         (gst_type_find_element_checkgetrange),
22005         (gst_type_find_element_getrange), (do_typefind),
22006         (gst_type_find_element_activate),
22007         (gst_type_find_element_change_state):
22008         * gst/elements/gsttypefindelement.h:
22009         * gst/gstpipeline.c: (pipeline_bus_handler):
22010         Added typefind helper.
22011         Small preroll fix in the base sink.
22012         Disable typefind code in basesrc.
22013         Crude port of typefindelement.
22014         Fakesrc cleanups.
22015
22016
22017 2005-04-11  Wim Taymans  <wim@fluendo.com>
22018
22019         * check/gst/gstbus.c: (gstbus_suite):
22020         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
22021         * check/gstcheck.h:
22022           Fix up the timeout so that the test does not fail.
22023
22024 2005-04-06  Wim Taymans  <wim@fluendo.com>
22025
22026         * gst/base/README:
22027         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22028         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
22029         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
22030         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
22031         (gst_basesrc_check_get_range), (gst_basesrc_loop),
22032         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
22033         (gst_basesrc_stop), (gst_basesrc_activate),
22034         (gst_basesrc_change_state), (basesrc_find_peek),
22035         (basesrc_find_suggest), (gst_basesrc_type_find):
22036         * gst/base/gstbasesrc.h:
22037         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
22038         (gst_filesrc_class_init), (gst_filesrc_init),
22039         (gst_filesrc_finalize), (gst_filesrc_set_location),
22040         (gst_filesrc_set_property), (gst_filesrc_get_property),
22041         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
22042         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
22043         (gst_filesrc_create_read), (gst_filesrc_create),
22044         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
22045         * gst/elements/gstfilesrc.h:
22046         * gst/gstelement.c: (gst_element_get_state_func),
22047         (gst_element_lost_state), (gst_element_pads_activate):
22048         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22049         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
22050         (gst_pad_pull_range):
22051         * gst/gstpad.h:
22052         More work on the generic source base class, implement seeking,
22053         query.
22054         Make filesrc extend the base source class.
22055         Added gst_pad_set_checkgetrange_function to GstPad.
22056
22057 2005-04-06  Andy Wingo  <wingo@pobox.com>
22058
22059         * pkgconfig/gstreamer-base.pc.in:
22060         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
22061
22062         * pkgconfig/Makefile.am:
22063         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
22064
22065 2005-04-04  Wim Taymans  <wim@fluendo.com>
22066
22067         * gst/base/Makefile.am:
22068         * gst/base/README:
22069         * gst/base/gstbasesink.c: (gst_basesink_base_init),
22070         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22071         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22072         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
22073         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22074         (gst_basesrc_base_init), (gst_basesrc_class_init),
22075         (gst_basesrc_init), (gst_basesrc_get_formats),
22076         (gst_basesrc_get_query_types), (gst_basesrc_query),
22077         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
22078         (gst_basesrc_set_property), (gst_basesrc_get_property),
22079         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
22080         (gst_basesrc_loop), (gst_basesrc_activate),
22081         (gst_basesrc_change_state):
22082         * gst/base/gstbasesrc.h:
22083         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
22084         (gst_fakesrc_class_init), (gst_fakesrc_init),
22085         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
22086         (gst_fakesrc_get_property), (gst_fakesrc_create):
22087         * gst/elements/gstfakesrc.h:
22088         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
22089         (gst_filesrc_open_file), (gst_filesrc_loop),
22090         (gst_filesrc_activate), (filesrc_find_peek),
22091         (gst_filesrc_type_find):
22092         Made base source class, make fakesrc extend it.
22093         Add comments to basesink class.
22094         Some filesrc cleanup.
22095
22096 2005-03-31  David Schleef  <ds@schleef.org>
22097
22098         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
22099         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
22100         expected to link against libgstreamer.
22101         * gst/base/Makefile.am: link against libgstreamer
22102         * gst/elements/Makefile.am: same
22103
22104 2005-03-31  Andy Wingo  <wingo@pobox.com>
22105
22106         * tests/instantiate/Makefile.am:
22107         * tests/instantiate/caps.c: Add test to test speed of caps copy
22108         and free.
22109
22110         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
22111         GMemChunk to be fair.
22112
22113         * gst/gsttrashstack.h: Remove warning about using the fallback
22114         trash stack implementation, it's still faster than malloc.
22115
22116 2005-03-30  Andy Wingo  <wingo@pobox.com>
22117
22118         * tests/complexity.c: Add a copyright.
22119
22120 2005-03-31  Wim Taymans  <wim@fluendo.com>
22121
22122         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
22123         (gst_base_transform_class_init), (gst_base_transform_init),
22124         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
22125         (gst_base_transform_get_property),
22126         (gst_base_transform_sink_activate),
22127         (gst_base_transform_src_activate),
22128         (gst_base_transform_change_state):
22129         * gst/base/gstbasetransform.h:
22130         * gst/elements/gstidentity.c: (gst_identity_class_init),
22131         (gst_identity_event), (gst_identity_check_perfect),
22132         (gst_identity_transform), (gst_identity_start),
22133         (gst_identity_stop):
22134         Added start/stop methods to transform base class so subclasses 
22135         don't need to deal with state changes even.
22136
22137 2005-03-31  Wim Taymans  <wim@fluendo.com>
22138
22139         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
22140         (gst_event_new_discontinuous), (gst_event_discont_get_value):
22141         * gst/gstevent.h:
22142         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22143         (gst_pad_pull_range):
22144         Added rate to the discont event to prepare for variable speed
22145         and reverse playback.
22146
22147 2005-03-29  David Schleef  <ds@schleef.org>
22148
22149         * configure.ac:
22150         * testsuite/trigger/Makefile.am:
22151         * testsuite/trigger/trigger.c: A little example program to show
22152         how trigger-based elements can work.
22153
22154 2005-03-29  Wim Taymans  <wim@fluendo.com>
22155
22156         * gst/base/Makefile.am:
22157         * gst/base/README:
22158         * gst/base/gstbasesink.c: (gst_basesink_get_type),
22159         (gst_basesink_base_init), (gst_basesink_class_init),
22160         (gst_basesink_pad_getcaps), (gst_basesink_init),
22161         (gst_basesink_activate), (gst_basesink_change_state):
22162         * gst/base/gstbasesink.h:
22163         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
22164         (gst_base_transform_base_init), (gst_base_transform_finalize),
22165         (gst_base_transform_class_init), (gst_base_transform_init),
22166         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
22167         (gst_base_transform_event), (gst_base_transform_getrange),
22168         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
22169         (gst_base_transform_set_property),
22170         (gst_base_transform_get_property),
22171         (gst_base_transform_sink_activate),
22172         (gst_base_transform_src_activate),
22173         (gst_base_transform_change_state):
22174         * gst/base/gstbasetransform.h:
22175         * gst/elements/gstidentity.c: (gst_identity_finalize),
22176         (gst_identity_class_init), (gst_identity_init),
22177         (gst_identity_event), (gst_identity_check_perfect),
22178         (gst_identity_transform), (gst_identity_set_property),
22179         (gst_identity_get_property), (gst_identity_change_state):
22180         * gst/elements/gstidentity.h:
22181         * gst/gstelement.c: (gst_element_get_state_func),
22182         (gst_element_lost_state), (gst_element_pads_activate):
22183         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22184         (gst_pad_check_pull_range), (gst_pad_pull_range):
22185         * gst/gstpad.h:
22186         Simplify pad activation.
22187         Added function to check if pull_range can be performed.
22188         Error out when pulling inactive or flushing pads.
22189         Removed const from refcounted types as it does not make sense.
22190         Simplify pad templates in basesink
22191         Added base class for simple 1-to-1 transforms.
22192         Make identity subclass the base transform.
22193
22194 2005-03-29  Andy Wingo  <wingo@pobox.com>
22195
22196         * docs/libs/gstreamer-libs-overrides.txt: 
22197         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
22198         really don't understand what's going on, but like whatever. I want
22199         green buildbot!
22200
22201         * docs/gst/Makefile.am:
22202         * docs/libs/Makefile.am: Dist the overrides files.
22203
22204         * check/Makefile.am (clean-local): Remove .libs directories.
22205
22206         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
22207         elements to EXTRA_DIST, so po/ files are happy.
22208
22209         * po/POTFILES.in: Er, remove it here.
22210
22211         * po/POTFILES: Remove gstspider.c.
22212
22213         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
22214
22215         * docs/libs/gstreamer-libs-docs.sgml: 
22216         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
22217         bytestream.
22218
22219         * tests/complexity.c (main): Set the length of the preroll queue
22220         on the sinks to prevent a lockup.
22221
22222         * libs/gst/dataprotocol/Makefile.am: 
22223         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
22224         the same as the one in check/gst-libs/gdp.c.
22225
22226         * po/, docs/gst/: Commit automatic changes to docs and po files.
22227
22228         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
22229         the versioned libgstbase.
22230
22231         * check/Makefile.am: Depend on an unversioned gst-register, seems
22232         to make autoconf happier.
22233
22234         * gst/base/Makefile.am: Make libgstbase a versioned lib.
22235
22236 2005-03-28  Wim Taymans  <wim@fluendo.com>
22237
22238         * configure.ac:
22239         * docs/design/part-gstelement.txt:
22240         * docs/design/part-negotiation.txt:
22241         * docs/design/part-preroll.txt:
22242         * docs/design/part-scheduling.txt:
22243         * docs/design/part-states.txt:
22244         * gst/Makefile.am:
22245         * gst/base/Makefile.am:
22246         * gst/base/README:
22247         * gst/base/gstbasesink.c: (gst_basesink_get_template),
22248         (gst_basesink_base_init), (gst_basesink_class_init),
22249         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22250         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22251         (gst_basesink_set_pad_functions),
22252         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
22253         (gst_basesink_set_property), (gst_basesink_get_property),
22254         (gst_base_sink_get_template), (gst_base_sink_get_caps),
22255         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
22256         (gst_basesink_preroll_queue_push),
22257         (gst_basesink_preroll_queue_empty),
22258         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
22259         (gst_basesink_event), (gst_basesink_get_times),
22260         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
22261         (gst_basesink_chain_unlocked), (gst_basesink_chain),
22262         (gst_basesink_loop), (gst_basesink_activate),
22263         (gst_basesink_change_state):
22264         * gst/base/gstbasesink.h:
22265         * gst/elements/Makefile.am:
22266         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
22267         (gst_fakesink_class_init), (gst_fakesink_init),
22268         (gst_fakesink_set_property), (gst_fakesink_get_property),
22269         (gst_fakesink_get_times), (gst_fakesink_event),
22270         (gst_fakesink_preroll), (gst_fakesink_render),
22271         (gst_fakesink_change_state):
22272         * gst/elements/gstfakesink.h:
22273         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22274         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
22275         * gst/gstelement.c: (gst_element_add_pad),
22276         (gst_element_get_state_func), (gst_element_abort_state),
22277         (gst_element_commit_state), (gst_element_lost_state),
22278         (gst_element_set_state), (gst_element_pads_activate):
22279         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
22280         * gst/gstpipeline.c: (gst_pipeline_send_event),
22281         (gst_pipeline_change_state):
22282         Added state change code.
22283         Added/updated docs.
22284         Added sink base class, make fakesink extend the base class.
22285         Small cleanups in GstPipeline.
22286
22287 2005-03-26  David Schleef  <ds@schleef.org>
22288
22289         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
22290         is broken and should be implemented in a different library.
22291         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
22292         * gst/gst.h: remove gstcpu.h
22293         * gst/gstcpu.c: remove
22294         * gst/gstcpu.h: remove
22295         * gst/Makefile.am.future: Remove this file.  It's ancient.
22296
22297 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22298
22299         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22300         (gst_bin_send_event):
22301           Add default event/set_manager handlers. The set_manager handler
22302           takes care that the manager is distributed over kids that were
22303           already in the bin before the manager was set. The event handler
22304           is a utility virtual function that sends the event over all sinks,
22305           so that gst_element_send_event (bin, event); has the expected
22306           behaviour.
22307         * gst/gstpad.c: (gst_pad_event_default):
22308           Re-install default event handling for discontinuities, so that
22309           seeking works without requiring hacks in applications or extra
22310           code in sinks.
22311         * gst/gstpipeline.c: (gst_pipeline_class_init),
22312         (gst_pipeline_send_event):
22313           Half hack, half utility: set a pipeline to PAUSED for seek events,
22314           since that is the only way we can guarantee a/v sync. Means that
22315           you can do gst_element_seek (pipeline, method, pos); on a pipeline
22316           and it "just works".
22317
22318 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22319
22320         * gst/gstpipeline.c: (gst_pipeline_use_clock):
22321           Lock/unlock mismatch.
22322
22323 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
22324
22325         * docs/faq/gst-uninstalled:
22326           add gst-plugins-base
22327         * docs/gst/Makefile.am:
22328           don't error out until docs are fixed
22329         * docs/gst/gstreamer.types:
22330           remove thread
22331
22332 2005-03-22  Wim Taymans  <wim@fluendo.com>
22333
22334         * check/Makefile.am:
22335         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
22336         * gst/gststructure.c: (gst_structure_set_valist),
22337         (gst_structure_copy_conditional):
22338         Activated more tests.
22339         Added message test.
22340         Added G_TYPE_POINTER to GstStructure.
22341         
22342
22343 2005-03-22  Wim Taymans  <wim@fluendo.com>
22344
22345         * docs/design/part-TODO.txt:
22346         * docs/design/part-events.txt:
22347         * docs/design/part-gstbin.txt:
22348         * docs/design/part-gstbus.txt:
22349         * docs/design/part-gstpipeline.txt:
22350         * docs/design/part-messages.txt:
22351         * gst/gstbus.c:
22352         * gst/gstmessage.c:
22353         Docs updates
22354
22355 2005-03-21  Wim Taymans  <wim@fluendo.com>
22356
22357         * gst/gstbus.c: (gst_bus_post):
22358         Fix copy-and-paste error.
22359
22360 2005-03-21  Wim Taymans  <wim@fluendo.com>
22361
22362         * check/Makefile.am:
22363         * gst/Makefile.am:
22364         * gst/elements/Makefile.am:
22365         * gst/elements/gstelements.c:
22366         * gst/elements/gstfakesink.c: (gst_fakesink_init),
22367         (gst_fakesink_event), (gst_fakesink_chain):
22368         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22369         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
22370         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
22371         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
22372         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22373         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
22374         (gst_fakesrc_loop), (gst_fakesrc_activate),
22375         (gst_fakesrc_change_state):
22376         * gst/elements/gstfakesrc.h:
22377         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
22378         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
22379         (gst_filesrc_open_file), (gst_filesrc_loop),
22380         (gst_filesrc_activate), (gst_filesrc_change_state),
22381         (filesrc_find_peek), (filesrc_find_suggest),
22382         (gst_filesrc_type_find):
22383         * gst/elements/gstidentity.c: (gst_identity_finalize),
22384         (gst_identity_class_init), (gst_identity_init),
22385         (gst_identity_proxy_getcaps), (identity_queue_push),
22386         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
22387         (gst_identity_getrange), (gst_identity_chain),
22388         (gst_identity_sink_loop), (gst_identity_src_loop),
22389         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
22390         (gst_identity_set_property), (gst_identity_get_property),
22391         (gst_identity_change_state):
22392         * gst/elements/gstidentity.h:
22393         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
22394         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
22395         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
22396         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
22397         (gst_tee_sink_activate):
22398         * gst/elements/gsttee.h:
22399         * gst/gst.c: (gst_register_core_elements), (init_post):
22400         * gst/gst.h:
22401         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
22402         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
22403         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
22404         (gst_bin_change_state):
22405         * gst/gstbin.h:
22406         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
22407         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
22408         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
22409         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
22410         (gst_bus_set_sync_handler), (gst_bus_create_watch),
22411         (bus_watch_callback), (bus_watch_destroy),
22412         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
22413         (poll_timeout), (gst_bus_poll):
22414         * gst/gstbus.h:
22415         * gst/gstcaps.h:
22416         * gst/gstdata.h:
22417         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22418         (gst_element_post_message), (gst_element_message_full),
22419         (gst_element_get_state_func), (gst_element_get_state),
22420         (gst_element_abort_state), (gst_element_commit_state),
22421         (gst_element_lost_state), (gst_element_set_state),
22422         (gst_element_pads_activate), (gst_element_change_state),
22423         (gst_element_dispose), (gst_element_set_manager_func),
22424         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
22425         (gst_element_set_manager), (gst_element_get_manager),
22426         (gst_element_set_bus), (gst_element_get_bus),
22427         (gst_element_set_scheduler), (gst_element_get_scheduler):
22428         * gst/gstelement.h:
22429         * gst/gstevent.c: (gst_event_new_segment_seek),
22430         (gst_event_new_flush):
22431         * gst/gstevent.h:
22432         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
22433         (_gst_message_free), (gst_message_get_type), (gst_message_new),
22434         (gst_message_new_eos), (gst_message_new_error),
22435         (gst_message_new_warning), (gst_message_new_tag),
22436         (gst_message_new_state_changed), (gst_message_new_application),
22437         (gst_message_get_structure), (gst_message_parse_tag),
22438         (gst_message_parse_state_changed), (gst_message_parse_error),
22439         (gst_message_parse_warning):
22440         * gst/gstmessage.h:
22441         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
22442         (gst_real_pad_set_property), (gst_pad_set_active),
22443         (gst_pad_is_active), (gst_pad_set_blocked_async),
22444         (gst_pad_set_blocked), (gst_pad_is_blocked),
22445         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
22446         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
22447         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
22448         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
22449         (gst_pad_link_filtered), (gst_pad_relink_filtered),
22450         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
22451         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
22452         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
22453         (gst_pad_set_caps), (gst_pad_configure_sink),
22454         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
22455         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
22456         (gst_real_pad_dispose), (gst_real_pad_finalize),
22457         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
22458         (gst_pad_event_default_dispatch), (gst_pad_event_default),
22459         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
22460         * gst/gstpad.h:
22461         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
22462         (pipeline_bus_handler), (gst_pipeline_change_state),
22463         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
22464         * gst/gstpipeline.h:
22465         * gst/gstprobe.h:
22466         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22467         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
22468         (gst_queue_link_src), (gst_queue_bufferalloc),
22469         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
22470         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
22471         (gst_queue_loop), (gst_queue_handle_src_event),
22472         (gst_queue_handle_src_query), (gst_queue_src_activate),
22473         (gst_queue_change_state):
22474         * gst/gstqueue.h:
22475         * gst/gstscheduler.c: (gst_scheduler_init),
22476         (gst_scheduler_dispose), (gst_scheduler_create_task),
22477         (gst_scheduler_factory_create):
22478         * gst/gstscheduler.h:
22479         * gst/gststructure.c: (gst_structure_get_type),
22480         (gst_structure_copy_conditional):
22481         * gst/gststructure.h:
22482         * gst/gsttaginterface.h:
22483         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22484         (gst_task_init), (gst_task_dispose), (gst_task_create),
22485         (gst_task_get_state), (gst_task_start), (gst_task_stop),
22486         (gst_task_pause):
22487         * gst/gsttask.h:
22488         * gst/gstthread.c:
22489         * gst/gstthread.h:
22490         * gst/gsttypes.h:
22491         * gst/schedulers/Makefile.am:
22492         * gst/schedulers/cothreads_compat.h:
22493         * gst/schedulers/entryscheduler.c:
22494         * gst/schedulers/faircothreads.c:
22495         * gst/schedulers/faircothreads.h:
22496         * gst/schedulers/fairscheduler.c:
22497         * gst/schedulers/gstbasicscheduler.c:
22498         * gst/schedulers/gstoptimalscheduler.c:
22499         * gst/schedulers/gthread-cothreads.h:
22500         * gst/schedulers/threadscheduler.c:
22501         (gst_thread_scheduler_task_get_type),
22502         (gst_thread_scheduler_task_class_init),
22503         (gst_thread_scheduler_task_init),
22504         (gst_thread_scheduler_task_start),
22505         (gst_thread_scheduler_task_stop),
22506         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
22507         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
22508         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
22509         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
22510         (plugin_init):
22511         * libs/gst/Makefile.am:
22512         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
22513         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
22514         (gst_file_pad_parent_set):
22515         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22516         (gst_dp_event_from_packet):
22517         * tests/complexity.c: (main):
22518         * tests/mass_elements.c: (main):
22519         * testsuite/states/locked.c: (message_received), (main):
22520         * testsuite/states/parent.c: (main):
22521         * tools/gst-inspect.c: (print_element_flag_info),
22522         (print_implementation_info), (print_pad_info):
22523         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
22524         (main):
22525         * tools/gst-md5sum.c: (event_loop), (main):
22526         * tools/gst-typefind.c: (main):
22527         * tools/gst-xmlinspect.c: (print_element_info):
22528         Next big merge.
22529         Added GstBus for mainloop integration.
22530         Added GstMessage for sending notifications on the bus.
22531         Added GstTask as an abstraction for pipeline entry points.
22532         Removed GstThread.
22533         Removed Schedulers.
22534         Simplified GstQueue for multithreaded core.
22535         Made _link threadsafe, removed old capsnego.
22536         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
22537         Added pad blocking functions.
22538         Reworked scheduling functions in GstPad to prepare for
22539         scheduling updates soon.
22540         Moved events out of data stream.
22541         Simplified GstEvent types.
22542         Added return values to push/pull.
22543         Removed clocking from GstElement.
22544         Added prototypes for state change function for next merge.
22545         Removed iterate from bins and state change management.
22546         Fixed some elements, disabled others for now.
22547         Fixed -inspect and -launch.
22548         Added check for GstBus.
22549
22550 2005-03-10  Wim Taymans  <wim@fluendo.com>
22551
22552         * docs/design/part-MT-refcounting.txt:
22553         * docs/design/part-clocks.txt:
22554         * docs/design/part-gstelement.txt:
22555         * docs/design/part-gstobject.txt:
22556         * docs/design/part-standards.txt:
22557         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22558         (gst_bin_remove_func), (gst_bin_remove):
22559         * gst/gstbin.h:
22560         * gst/gstbuffer.c:
22561         * gst/gstcaps.h:
22562         * testsuite/clock/clock1.c: (main):
22563         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
22564         (main):
22565         * testsuite/dlopen/loadgst.c: (do_test):
22566         * testsuite/refcounting/bin.c: (add_remove_test1),
22567         (add_remove_test2), (main):
22568         * testsuite/refcounting/element.c: (main):
22569         * testsuite/refcounting/element_pad.c: (main):
22570         * testsuite/refcounting/pad.c: (main):
22571         * tools/gst-launch.c: (sigint_handler_sighandler):
22572         * tools/gst-typefind.c: (main):
22573         Doc updates.
22574         Added doc about clock.
22575         removed gst_bin_iterate_recurse_up(), marked methods
22576         for removal.
22577         Fix more testsuites.
22578
22579 2005-03-09  Wim Taymans  <wim@fluendo.com>
22580
22581         * gst/gstpad.c: (gst_pad_get_direction),
22582         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
22583         (gst_pad_collect_valist):
22584         * testsuite/bins/interface.c: (main):
22585         * testsuite/caps/audioscale.c: (test_caps):
22586         * testsuite/caps/caps.c: (test1), (test2), (test3):
22587         * testsuite/caps/deserialize.c: (main):
22588         * testsuite/caps/enumcaps.c: (main):
22589         * testsuite/caps/filtercaps.c: (main):
22590         * testsuite/caps/intersect2.c: (main):
22591         * testsuite/caps/random.c: (main):
22592         * testsuite/caps/renegotiate.c: (my_fixate), (main):
22593         * testsuite/caps/sets.c: (check_caps):
22594         * testsuite/caps/simplify.c: (check_caps), (main):
22595         * testsuite/caps/subtract.c: (check_caps):
22596         Fix _pad_get_direction wrt ghostpads.
22597         Fix caps testsuite.
22598
22599 2005-03-09  Wim Taymans  <wim@fluendo.com>
22600
22601         * check/Makefile.am:
22602         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
22603         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
22604         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
22605         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
22606         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
22607         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
22608         (gst_bin_remove), (gst_bin_iterate_recurse_up),
22609         (bin_element_is_sink), (gst_bin_iterate_sinks),
22610         (gst_bin_iterate_all_by_interface):
22611         * gst/gstbin.h:
22612         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
22613         (gst_element_change_state), (gst_element_dispose),
22614         (gst_element_finalize), (gst_element_set_loop_function):
22615         * gst/gstelement.h:
22616         * gst/gstiterator.c: (find_custom_fold_func):
22617         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22618         (gst_pad_collectv), (gst_pad_collect_valist),
22619         (gst_pad_template_new):
22620         * gst/gstpipeline.c: (gst_pipeline_class_init),
22621         (gst_pipeline_dispose), (gst_pipeline_set_property),
22622         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
22623         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
22624         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
22625         * gst/gstutils.h:
22626         * gst/schedulers/entryscheduler.c:
22627         * gst/schedulers/gstbasicscheduler.c:
22628         (gst_basic_scheduler_cothreaded_chain),
22629         (gst_basic_scheduler_chain_add_element):
22630         * testsuite/bins/interface.c: (main):
22631         Added GstBin test.
22632         Added GstSystemClock test.
22633         Implemented clock distribution code in GstBin.
22634         Implemented iterate sinks method for future use.
22635         Rearranged gstelement.h
22636         Fix GstIterator comparison bug.
22637         Moved some code to GstPipeline, mostly clocking related.
22638
22639 2005-03-09  Wim Taymans  <wim@fluendo.com>
22640
22641         * configure.ac:
22642         * gst/gst_private.h:
22643         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22644         (gst_bin_remove_func), (gst_bin_remove),
22645         (gst_bin_get_by_name_recurse_up):
22646         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
22647         (gst_clock_id_compare_func), (gst_clock_id_wait),
22648         (gst_clock_id_wait_async), (gst_clock_init),
22649         (gst_clock_adjust_unlocked), (gst_clock_get_time):
22650         * gst/gstelement.h:
22651         * gst/gstinfo.c: (_gst_debug_init):
22652         * gst/gstobject.h:
22653         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22654         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
22655         * gst/gstpad.h:
22656         Bump version number, we're now 0.9.0
22657         Add future debugging category.
22658         Fix NULL _unref() in _get_by_name_recurse_up
22659         Rearrange gstpad.h.
22660         Update some docs.
22661
22662 2005-03-08  Wim Taymans  <wim@fluendo.com>
22663
22664         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
22665         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
22666         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
22667         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
22668         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
22669         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
22670         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
22671         * gst/elements/gstidentity.c: (gst_identity_class_init):
22672         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
22673         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
22674         * gst/elements/gstshaper.c: (gst_shaper_class_init):
22675         * gst/elements/gststatistics.c: (gst_statistics_class_init):
22676         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
22677         (gst_tee_link):
22678         * gst/gstelement.c: (gst_element_class_init),
22679         (gst_element_base_class_init), (gst_element_init),
22680         (gst_element_get_random_pad), (gst_element_wait_state_change),
22681         (gst_element_change_state), (gst_element_dispose),
22682         (gst_element_finalize), (gst_element_set_loop_function):
22683         * gst/gstelement.h:
22684         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
22685         * gst/gstthread.c: (gst_thread_class_init),
22686         (gst_thread_release_children_locks), (gst_thread_change_state):
22687         * gst/schedulers/gstbasicscheduler.c:
22688         (gst_basic_scheduler_loopfunc_wrapper),
22689         (gst_basic_scheduler_chain_wrapper),
22690         (gst_basic_scheduler_src_wrapper),
22691         (gst_basic_scheduler_remove_element):
22692         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
22693         Remove threadsafe properties. Fix elements because GObject
22694         complains when installing a property before declaring a
22695         set/get_property handler.
22696         Rearrange gstelement.h file, use STATE macros for state locks.
22697         Free mutexes in the finalize method instead of dispose.
22698
22699 2005-03-08  Wim Taymans  <wim@fluendo.com>
22700
22701         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
22702         * gst/gstthread.c: (gst_thread_release_children_locks):
22703         Added parentage check.
22704         Fix build og GstThread again.
22705
22706 2005-03-08  Wim Taymans  <wim@fluendo.com>
22707
22708         * docs/design/part-MT-refcounting.txt:
22709         * docs/design/part-conventions.txt:
22710         * docs/design/part-gstobject.txt:
22711         * docs/design/part-relations.txt:
22712         * docs/design/part-standards.txt:
22713         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22714         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
22715         (gst_bin_get_by_name), (gst_bin_get_by_interface),
22716         (gst_bin_iterate_all_by_interface):
22717         * gst/gstbuffer.h:
22718         * gst/gstclock.h:
22719         * gst/gstelement.c: (gst_element_class_init),
22720         (gst_element_change_state), (gst_element_set_loop_function):
22721         * gst/gstelement.h:
22722         * gst/gstiterator.c:
22723         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
22724         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
22725         (gst_object_dispatch_properties_changed), (gst_object_set_name),
22726         (gst_object_set_parent), (gst_object_unparent),
22727         (gst_object_check_uniqueness):
22728         * gst/gstobject.h:
22729         Docs updates, clean up some headers.
22730
22731 2005-03-07  Wim Taymans  <wim@fluendo.com>
22732
22733         * check/.cvsignore:
22734         * check/Makefile.am:
22735         * check/gst-libs/.cvsignore:
22736         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
22737         * check/gst/.cvsignore:
22738         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
22739         (START_TEST), (gstbus_suite), (main):
22740         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
22741         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
22742         (gst_data_suite), (main):
22743         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
22744         (add_fold_func), (gstiterator_suite), (main):
22745         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
22746         (thread_name_object), (thread_name_object_default),
22747         (gst_object_name_compare), (gst_object_suite), (main):
22748         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
22749         (gst_pad_suite), (main):
22750         * check/gstcheck.c: (gst_check_log_message_func),
22751         (gst_check_log_critical_func), (gst_check_init):
22752         * check/gstcheck.h:
22753         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
22754         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
22755         Added checks.
22756
22757 2005-03-07  Wim Taymans  <wim@fluendo.com>
22758
22759         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22760         (gst_list_iterator_next), (gst_list_iterator_resync),
22761         (gst_list_iterator_free), (gst_iterator_new_list),
22762         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
22763         (gst_iterator_free), (gst_iterator_push), (filter_next),
22764         (filter_resync), (filter_uninit), (filter_free),
22765         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
22766         (gst_iterator_foreach), (find_custom_fold_func),
22767         (gst_iterator_find_custom):
22768         * gst/gstiterator.h:
22769         Added missing files.
22770
22771 2005-03-07  Wim Taymans  <wim@fluendo.com>
22772
22773         * Makefile.am:
22774         * configure.ac:
22775         * docs/design/part-MT-refcounting.txt:
22776         * docs/design/part-conventions.txt:
22777         * docs/design/part-gstobject.txt:
22778         * docs/design/part-relations.txt:
22779         * examples/mixer/mixer.c: (main):
22780         * examples/thread/thread.c: (eos), (main):
22781         * gst/Makefile.am:
22782         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
22783         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
22784         (gst_spider_plug_from_srcpad):
22785         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
22786         (gst_spider_identity_change_state),
22787         (gst_spider_identity_sink_loop_type_finding):
22788         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
22789         * gst/elements/gstidentity.c: (gst_identity_init):
22790         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
22791         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
22792         * gst/elements/gsttypefindelement.c: (free_entry):
22793         * gst/gst.c:
22794         * gst/gst.h:
22795         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
22796         (gst_bin_set_clock_func), (gst_bin_auto_clock),
22797         (gst_bin_set_index), (gst_bin_set_element_sched),
22798         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
22799         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
22800         (gst_bin_iterate_elements), (iterate_child_recurse),
22801         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
22802         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
22803         (compare_interface), (gst_bin_get_by_interface),
22804         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
22805         * gst/gstbin.h:
22806         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
22807         (gst_buffer_default_free), (gst_buffer_default_copy),
22808         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
22809         (gst_buffer_create_sub):
22810         * gst/gstbuffer.h:
22811         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
22812         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
22813         (gst_caps_unref), (gst_static_caps_get),
22814         (gst_caps_remove_and_get_structure), (gst_caps_append),
22815         (gst_caps_append_structure), (gst_caps_remove_structure),
22816         (gst_caps_copy_nth), (gst_caps_set_simple),
22817         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
22818         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
22819         (gst_caps_structure_intersect_field), (gst_caps_intersect),
22820         (gst_caps_structure_subtract_field), (gst_caps_subtract),
22821         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
22822         (gst_caps_structure_figure_out_union),
22823         (gst_caps_switch_structures), (gst_caps_do_simplify),
22824         (gst_caps_replace), (gst_caps_from_string),
22825         (gst_caps_copy_conditional):
22826         * gst/gstcaps.h:
22827         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
22828         (_gst_clock_id_free), (gst_clock_id_unref),
22829         (gst_clock_id_compare_func), (gst_clock_id_wait),
22830         (gst_clock_id_wait_async), (gst_clock_class_init),
22831         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
22832         (gst_clock_get_time), (gst_clock_set_time_adjust),
22833         (gst_clock_set_property), (gst_clock_get_property):
22834         * gst/gstclock.h:
22835         * gst/gstcompat.h:
22836         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
22837         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
22838         * gst/gstdata.h:
22839         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22840         (gst_element_requires_clock), (gst_element_provides_clock),
22841         (gst_element_set_clock), (gst_element_clock_wait),
22842         (gst_element_wait), (gst_element_set_time_delay),
22843         (gst_element_is_indexable), (gst_element_add_pad),
22844         (gst_element_add_ghost_pad), (gst_element_remove_pad),
22845         (pad_compare_name), (gst_element_get_static_pad),
22846         (gst_element_request_pad), (gst_element_get_request_pad),
22847         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
22848         (gst_element_class_get_pad_template_list),
22849         (gst_element_class_get_pad_template), (gst_element_error_func),
22850         (gst_element_get_random_pad), (gst_element_get_event_masks),
22851         (gst_element_send_event), (gst_element_seek),
22852         (gst_element_get_query_types), (gst_element_query),
22853         (gst_element_get_formats), (gst_element_convert),
22854         (gst_element_is_locked_state), (gst_element_set_locked_state),
22855         (gst_element_sync_state_with_parent), (gst_element_change_state),
22856         (gst_element_finalize), (gst_element_yield),
22857         (gst_element_interrupt), (gst_element_set_scheduler),
22858         (gst_element_get_scheduler), (gst_element_set_loop_function):
22859         * gst/gstelement.h:
22860         * gst/gstevent.h:
22861         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
22862         (gst_format_get_by_nick), (gst_format_get_details),
22863         (gst_format_iterate_definitions):
22864         * gst/gstformat.h:
22865         * gst/gstindex.c: (gst_index_gtype_resolver):
22866         * gst/gstinfo.c:
22867         * gst/gstinfo.h:
22868         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
22869         (gst_mem_chunk_free):
22870         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
22871         (gst_object_ref), (gst_object_unref), (gst_object_sink),
22872         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
22873         (gst_object_dispatch_properties_changed),
22874         (gst_object_set_name_default), (gst_object_set_name),
22875         (gst_object_get_name), (gst_object_set_name_prefix),
22876         (gst_object_get_name_prefix), (gst_object_set_parent),
22877         (gst_object_get_parent), (gst_object_unparent),
22878         (gst_object_check_uniqueness), (gst_object_save_thyself),
22879         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
22880         (gst_object_set_property), (gst_object_get_property),
22881         (gst_object_get_path_string):
22882         * gst/gstobject.h:
22883         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
22884         (gst_real_pad_init), (gst_real_pad_get_property),
22885         (gst_pad_custom_new), (gst_pad_get_direction),
22886         (gst_pad_set_active), (gst_pad_is_active),
22887         (gst_pad_set_event_function), (gst_pad_is_linked),
22888         (gst_pad_link_free), (gst_pad_link_intersect),
22889         (gst_pad_link_fixate), (gst_pad_set_caps),
22890         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
22891         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
22892         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
22893         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
22894         (gst_pad_get_caps), (gst_pad_peer_get_caps),
22895         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
22896         (gst_pad_realize), (gst_pad_get_allowed_caps),
22897         (gst_real_pad_dispose), (gst_real_pad_finalize),
22898         (gst_pad_collectv), (gst_pad_collect_valist),
22899         (gst_pad_template_dispose), (gst_pad_template_new),
22900         (gst_pad_get_internal_links):
22901         * gst/gstpad.h:
22902         * gst/gstpipeline.c: (gst_pipeline_dispose),
22903         (gst_pipeline_change_state):
22904         * gst/gstpipeline.h:
22905         * gst/gstplugin.c:
22906         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
22907         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
22908         * gst/gstpluginfeature.h:
22909         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
22910         * gst/gstquery.c: (_gst_query_type_initialize),
22911         (gst_query_type_register), (gst_query_type_get_by_nick),
22912         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
22913         * gst/gstquery.h:
22914         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
22915         * gst/gstscheduler.c: (gst_scheduler_add_element),
22916         (gst_scheduler_factory_create):
22917         * gst/gststructure.c: (gst_structure_set_parent_refcount),
22918         (gst_structure_free), (gst_structure_set_name),
22919         (gst_structure_id_set_value), (gst_structure_set_value),
22920         (gst_structure_set_valist), (gst_structure_remove_field),
22921         (gst_structure_remove_fields),
22922         (gst_structure_remove_fields_valist),
22923         (gst_structure_remove_all_fields), (gst_structure_foreach),
22924         (gst_structure_map_in_place),
22925         (gst_caps_structure_fixate_field_nearest_int),
22926         (gst_caps_structure_fixate_field_nearest_double):
22927         * gst/gststructure.h:
22928         * gst/gstsystemclock.c: (gst_system_clock_class_init),
22929         (gst_system_clock_init), (gst_system_clock_dispose),
22930         (gst_system_clock_async_thread),
22931         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
22932         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
22933         * gst/gstsystemclock.h:
22934         * gst/gsttag.c: (gst_tag_list_add_value_internal),
22935         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
22936         * gst/gsttaginterface.c:
22937         * gst/gstthread.c: (gst_thread_dispose),
22938         (gst_thread_release_children_locks), (gst_thread_change_state),
22939         (gst_thread_main_loop):
22940         * gst/gsttrashstack.h:
22941         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
22942         * gst/gsttypes.h:
22943         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22944         (gst_element_request_pad), (gst_element_get_pad_from_template),
22945         (gst_element_request_compatible_pad),
22946         (gst_element_get_compatible_pad_filtered),
22947         (gst_element_get_compatible_pad), (gst_element_state_get_name),
22948         (gst_element_link_pads_filtered), (gst_element_link_filtered),
22949         (gst_element_link_many), (gst_element_link),
22950         (gst_element_link_pads), (gst_element_unlink_pads),
22951         (gst_element_unlink_many), (gst_element_unlink),
22952         (gst_pad_can_link_filtered), (gst_pad_can_link),
22953         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
22954         (gst_object_default_error), (gst_bin_add_many),
22955         (gst_bin_remove_many), (gst_element_populate_std_props),
22956         (gst_element_class_install_std_props), (gst_buffer_merge),
22957         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
22958         (link_fold_func), (gst_pad_proxy_setcaps):
22959         * gst/gstutils.h:
22960         * gst/gstvalue.c: (gst_value_deserialize_string):
22961         * gst/parse/grammar.y:
22962         * gst/schedulers/gstbasicscheduler.c:
22963         (gst_basic_scheduler_cothreaded_chain),
22964         (gst_basic_scheduler_chain_recursive_add),
22965         (gst_basic_scheduler_pad_link):
22966         * gst/schedulers/gstoptimalscheduler.c:
22967         (get_group_schedule_function),
22968         (gst_opt_scheduler_state_transition),
22969         (gst_opt_scheduler_add_element), (element_get_reachables_func):
22970         * libs/gst/bytestream/bytestream.c:
22971         * libs/gst/dataprotocol/dataprotocol.c:
22972         (gst_dp_header_from_buffer):
22973         * po/nb.po:
22974         * po/ru.po:
22975         * tests/threadstate/threadstate2.c: (eos):
22976         * tools/gst-compprep.c: (main):
22977         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
22978         (print_pad_info), (print_children_info):
22979         * tools/gst-launch.c: (idle_func), (main):
22980         * tools/gst-md5sum.c: (idle_func), (main):
22981         * tools/gst-xmlinspect.c: (print_element_info):
22982         First THREADED backport attempt, focusing on adding locks and
22983         making sure the API is threadsafe. Needs more work. More docs
22984         follow this week.
22985
22986 2005-02-24  Andy Wingo  <wingo@pobox.com>
22987
22988         * tests/bench-complexity.scm:
22989         * tests/complexity.gnuplot: New files, good for running complexity
22990         benchmarks.
22991
22992         * tests/Makefile.am:
22993         * tests/complexity.c: New test, sets up N elements, at each level
22994         teeing into M streams per element. Eeeenteresting.
22995
22996         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
22997         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
22998         running bench-mass_elements.scm.
22999
23000         * tests/bench-mass_elements.scm: New script, runs mass_elements
23001         for various numbers of identities, outputting the results to a
23002         file. Requires guile 1.6. Just for testing.
23003
23004 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23005
23006         * gst/schedulers/fairscheduler.c:
23007           compile with debug disabled
23008
23009 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23010
23011         * configure.ac:
23012           hunting season on 0.9 is now OPEN