API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
2
3         * docs/gst/gstreamer-sections.txt:
4         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
5         * gst/gstbuffer.h:
6         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7         (gst_buffer_suite):
8           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
9
10 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
11
12         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
13         (gst_registry_binary_load_pad_template),
14         (gst_registry_binary_load_plugin),
15         (gst_registry_binary_read_cache):
16         * gst/gstregistrybinary.h:
17           Implement no-mmap alternative for registry reading. Do code cleanups.
18           Add more comments about avoiding strdups for all text data. Comments
19           welcome.
20
21 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
22
23         * gst/gstregistrybinary.h (GstBinaryPluginElement,
24           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
25           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
26           Comment structs and reformat to fix the build (that stuff should go
27           into a priv. header).
28
29 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
30
31         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
32         (gst_registry_binary_load_feature):
33         * gst/gstregistrybinary.h:
34           Refactor so that we can implement multiple features. Add support for
35           TypeFindFactory features.
36
37 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
38
39         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
40
41         * configure.ac:
42           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
43
44 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
45
46         * gst/gstbin.c: (gst_bin_element_set_state),
47         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
48         (bin_handle_async_done), (gst_bin_handle_message_func):
49           Fix build with --gst-disable-gst-debug
50
51 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
52
53         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
54           Make sure streaming has finished before calling the ::stop() vfunc,
55           since that vfunc might clear state which is being used in the
56           streaming thread. This fixes a race that caused crashes in
57           audioresample when shutting down a pipeline (#420106).
58
59 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
60
61         * docs/gst/gstreamer-sections.txt:
62           That was one byte missing.
63
64 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
65
66         * configure.ac:
67         * docs/gst/gstreamer-sections.txt:
68         * gst/Makefile.am:
69         * gst/gstconfig.h.in:
70         * gst/gstobject.c: (gst_object_class_init),
71         (gst_signal_object_class_init):
72         * gst/gstobject.h:
73           2nd attempt to have a xml-less build as a joined effort of #413123
74           and #421480.
75
76 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
77
78         * docs/design/draft-tagreading.txt:
79           Added open issues/thoughts to draft.
80
81 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
82
83         * gst/parse/grammar.tab.pre.c:
84         * gst/parse/grammar.tab.pre.h:
85         * gst/parse/lex._gst_parse_yy.pre.c:
86         Update the prebuild parser sources.
87
88 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
89
90         * gst/parse/Makefile.am:
91         And now fix the building of the flex sources. Now everything should
92         work as expected.
93
94 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
95
96         * gst/parse/Makefile.am:
97         Now hopefully fix the build failures by setting proper rule
98         dependencies and moving instead of copying.
99
100 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
101
102         * tests/benchmarks/complexity.gnuplot:
103         * tests/benchmarks/complexity.scm:
104         * tests/benchmarks/mass-elements.gnuplot:
105         * tests/benchmarks/mass-elements.scm:
106           Total licensification.
107
108 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
109
110         * gst/parse/Makefile.am:
111           Fix the build by correcting the rule that gave wrong files to flex.
112
113 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
114
115         * tests/benchmarks/complexity.c:
116         * tests/benchmarks/mass-elements.c:
117           Change licence to LGPL as granted by Benjamin and Andy.
118
119 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
120
121         * gst/parse/Makefile.am:
122         Add correct grammar.tab.h dependency if compiling without new enough
123         flex. Fixes #431150.
124
125 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
126
127         * gst/parse/Makefile.am:
128         Fix typo and use outdated sources if the flex/bison sources are newer
129         than the pregenerated ones but flex is too old. Print a warning in
130         that case. This should fix the build on the build bot.
131
132 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
133
134         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
135         * gst/parse/Makefile.am:
136         * gst/parse/grammar.y:
137         * gst/parse/parse.l:
138         Make the parser reentrant and recursively callable. This requires flex
139         >= 2.5.31, for older versions pregenerated sources are used as we
140         can't bump the build dependency. Finally fixes #349180.
141
142         * gst/gstparse.c: (gst_parse_launch):
143         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
144         now anyway.
145
146         * docs/gst/Makefile.am:
147         * docs/gst/Makefile.am:
148         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
149         (__gst_parse_strfree), (__gst_parse_link_new),
150         (__gst_parse_link_free), (__gst_parse_chain_new),
151         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
152         (gst_parse_element_set), (gst_parse_free_link),
153         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
154         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
155         (_gst_parse_launch):
156         * gst/parse/grammar.tab.pre.h:
157         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
158         (yy_get_previous_state), (yy_try_NUL_trans), (input),
159         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
160         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
161         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
162         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
163         (_gst_parse_yypop_buffer_state),
164         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
165         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
166         (yy_fatal_error), (_gst_parse_yyget_extra),
167         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
168         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
169         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
170         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
171         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
172         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
173         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
174         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
175         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
176         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
177         (_gst_parse_yyfree):
178         If the installed flex version is too old use pre-generated parser
179         sources. These pre-generated parser sources are always updated when
180         the actual flex/bison sources change but require everybody who wants
181         to change something in the parser to have flex >= 2.5.31 installed.
182
183 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
184
185         * common/m4/gst-gettext.m4:
186         * gst/gst-i18n-lib.h:
187           Make --disable-nls to work
188
189 2007-04-17  Wim Taymans  <wim@fluendo.com>
190
191         * gst/gstconfig.h.in:
192         Revert previous change that broke the build.
193
194 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
195
196         * configure.ac:
197         * gst/Makefile.am:
198         * gst/gstconfig.h.in:
199           Drop libxml2 dependency when building with 
200           --enable-binary-registry --disable-loadsave
201
202 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
203
204         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
205         (gst_registry_binary_read_cache):
206         * gst/gstregistrybinary.h:
207           Remove unnecessary <sys/mman.h> include which broke the win32 build
208           with MingW; move includes from header file to .c file, even if the
209           header file isn't installed; use g_strerror() where UTF-8 strings
210           are expected, such as in GST_DEBUG messages.
211
212 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
213
214         * docs/libs/gstreamer-libs-sections.txt:
215         Remove bogus addition for API I didn't end up keeping.
216
217         * libs/gst/base/gstbasesrc.h:
218         Mention Since: 0.10.13 in the documentation.
219
220         Add the API keyword to the previous ChangeLog entry.
221
222 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
223
224         * docs/libs/gstreamer-libs-sections.txt:
225         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
226         (gst_base_src_default_prepare_seek_segment),
227         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
228         * libs/gst/base/gstbasesrc.h:
229         Allow basesrc derived classes to execute seeks in other formats
230         by providing a prepare_seek_segment vmethod. Sub-classes can choose
231         to prepare the GstSegment in any format that their perform_seek method
232         will be able to understand. The default implementation provides the
233         old behaviour of attempting to convert the seek offsets to the 
234         configured native format.
235
236         API: basesrc::prepare_seek_segment vmethod.
237
238 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
239
240         * gst/gstelement.c: (gst_element_get_state_func):
241         Don't output the same debug statement twice.
242
243         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
244         (gst_adapter_peek), (gst_adapter_take_buffer):
245         Optimise the case where we have buffers at the head of the queue that
246         can be joined quickly (because they're contiguous sub-buffers) by
247         merging them together rather than copying data out into new memory.
248
249         * gst/parse/grammar.y:
250         * tests/check/pipelines/parse-launch.c:
251         Fix a leak in an error path for parse_launch, and add a check 
252         for it to the testsuite.
253
254 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
255
256         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
257           Don't deadlock when releasing a pad - gst_pad_set_active may try
258           and take the multiqueue lock too.
259
260 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
261
262         * gst/gsterror.c: (_gst_core_errors_init):
263         * gst/gsterror.h:
264           API: add GST_CORE_ERROR_DISABLED (#392804).
265
266 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
267
268         * docs/faq/gst-uninstalled:
269           don't get empty paths on the PATH variables
270         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
271           Don't format for the uncommon terminal width of 84 characters.
272
273 2007-04-06  Wim Taymans  <wim@fluendo.com>
274
275         * gst/gstpipeline.c: (reset_stream_time),
276         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
277         Only try to select a different pipeline clock when we went back to
278         PAUSED and not when we merely got flushed.
279
280 2007-04-05  Michael Smith  <msmith@fluendo.com>
281
282         * tools/gst-launch.1.in:
283           fractions are better supported in gstreamer than ractions, so
284           suggest using those.
285
286 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
287
288         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
289
290         * po/LINGUAS:
291         * po/da.po:
292           Added Danish translation.
293
294 2007-04-05  Wim Taymans  <wim@fluendo.com>
295
296         * libs/gst/base/gstbasesink.c:
297         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
298         Fix leak caused when refusing newsegment after EOS.
299
300         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
301         (gst_fake_sink_init), (gst_fake_sink_set_property),
302         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
303         (gst_fake_sink_render), (gst_fake_sink_change_state):
304         * plugins/elements/gstfakesink.h:
305         Add num-buffers property to make the element generate EOS after a
306         configurable amount of buffers.
307         API: fakesink::num-buffers property.
308
309         * tests/check/elements/fakesink.c: (GST_START_TEST),
310         (fakesink_suite):
311         Fix GstBus leak in test.
312         Test for fakesink num-buffers.
313
314 2007-04-05  Wim Taymans  <wim@fluendo.com>
315
316         * libs/gst/base/gstbasesink.c:
317         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
318         (gst_base_sink_change_state):
319         Don't accept anything after an EOS, return UNEXPECTED instead.
320
321         * tests/check/elements/fakesink.c: (GST_START_TEST),
322         (fakesink_suite):
323         Unit test for new EOS behaviour.
324
325 2007-04-05  Wim Taymans  <wim@fluendo.com>
326
327         * gst/gstelement.c: (gst_element_get_request_pad):
328         Make padtemplates also work when they don't contain %s or %d.
329
330 2007-04-05  Wim Taymans  <wim@fluendo.com>
331
332         * docs/gst/gstreamer-sections.txt:
333         * gst/gstclock.c: (gst_clock_adjust_unlocked),
334         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
335         * gst/gstclock.h:
336         Improve _adjust_unlocked() so that it overflows less.
337         Add gst_clock_unadjust_unlocked to convert from external time to
338         internal time based on calibration.
339         Add some more debug.
340         API: GstClock::gst_clock_unadjust_unlocked()
341
342 2007-04-03  Wim Taymans  <wim@fluendo.com>
343
344         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
345
346         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
347         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
348         when releasing sink pad. Fixes #425400.
349
350 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
351
352         * docs/random/ensonic/dynlink.txt:
353           More work on proposal for new core api.
354
355         * docs/libs/gstreamer-libs-sections.txt:
356         * libs/gst/base/gstbasetransform.h:
357           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
358           
359         * libs/gst/controller/gstcontroller.c:
360         (on_object_controlled_property_changed),
361         (gst_controller_sync_values),
362         (gst_controller_set_interpolation_mode):
363         * libs/gst/controller/gstcontroller.h:
364           Less verbose logging add docs for unimplemented parts and correctly
365           return when using unavailable parts.
366
367 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
368
369         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
370         Move all the debug to the CLOCK category, and associate it with
371         the clock object.
372
373 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
374
375         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
376         Make take_buffer a bit quicker by removing redundant checks
377         caused by calling gst_adapter_take.
378
379 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
380
381         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
382           Don't leak GCond.
383
384         * tests/check/Makefile.am:
385         * tests/check/elements/.cvsignore:
386         * tests/check/elements/multiqueue.c: (setup_multiqueue),
387         (GST_START_TEST), (multiqueue_suite):
388           Add some dead simple unit tests for the 'multiqueue' element
389           (some bits don't work yet and are disabled for now).
390
391 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
392
393         * gst/gstelement.c: (gst_element_get_request_pad),
394         (gst_element_class_get_request_pad_template):
395           Make gst_element_get_request_pad() create request pads only for
396           request pad templates and not for, say, sometimes pad templates.
397
398 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
399
400         * docs/design/draft-klass.txt:
401           Add example that needs more thinking.
402         
403         * docs/design/draft-missing-plugins.txt:
404           More thoughts about wrapper plugins.
405         
406         * docs/random/ensonic/embedded.txt:
407         * docs/random/ensonic/profiling.txt:
408           More design work.
409
410 2007-03-25  Wim Taymans  <wim@fluendo.com>
411
412         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
413         (gst_base_src_loop):
414         Only push the segment events in the PLAYING state for live sources.
415
416 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
417
418         * gst/gstpipeline.c: (gst_pipeline_change_state):
419         Modify the clock distribution path in PAUSED->PLAYING so that we 
420         never attempt to choose a new clock unless we're actually leaving
421         the PAUSED state for the first time. This prevents choosing a
422         different clock when the state_change gets called for a 2nd time due
423         to some element doing an async state change.
424
425 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
426
427         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
428         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
429         (gst_pad_chain_unchecked), (gst_pad_push):
430         Revert last commit. This needs some more thoughts.
431
432 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
433
434         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
435         (gst_pad_chain_unchecked), (gst_pad_push):
436         Check in set_caps if the caps are compatible with the pad and remove
437         two functions that are redundant now. Fixes #421543.
438
439 2007-03-22  Wim Taymans  <wim@fluendo.com>
440
441         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
442         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
443         Unref some more to make valgrind happy.
444
445 2007-03-22  Wim Taymans  <wim@fluendo.com>
446
447         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
448         (gst_system_clock_id_wait_jitter),
449         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
450         Fix anoying regression that survived a few releases. When adding an
451         async entry while blocking on a sync entry, the sync entry will unblock
452         but still be busy, so it should continue to wait instead of returning
453         _BUSY to the app.
454         Add some comments here and there.
455
456         * tests/check/gst/gstsystemclock.c: (mixed_thread),
457         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
458         Add testcase for this.
459
460 2007-03-22  Wim Taymans  <wim@fluendo.com>
461
462         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
463         Handle errors from the clock sync better, only UNSCHEDULED indicates a
464         WRONG_STATE and can silently pause the task. All other cases should
465         error out.
466
467 2007-03-22  Wim Taymans  <wim@fluendo.com>
468
469         Patch by: <syrjala at sci dot fi>
470
471         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
472         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
473         Improve debugging.
474
475 2007-03-21  Michael Smith  <msmith@fluendo.com>
476
477         * docs/pwg/advanced-types.xml:
478           Fix some errors in the typefinding docs pointed out on irc.
479
480 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
481
482         * libs/gst/base/gstbasesrc.c:
483         Clarify FIXME comment in the face of having added unlock_stop()
484
485 2007-03-21  Wim Taymans  <wim@fluendo.com>
486
487         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
488         Prepare for release where we warn against possible app breakage in the
489         case of live pipelines along with an env var to enable/disable live
490         preroll mode (GST_COMPAT=[no-]live-preroll).
491
492 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
493
494         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
495         So we should use correct constants for checking for None offset.
496
497 2007-03-20  Wim Taymans  <wim@fluendo.com>
498
499         * docs/design/part-block.txt:
500         Mention the fact that the newly switched element should be set to at
501         least PAUSED.
502
503 2007-03-20  Wim Taymans  <wim@fluendo.com>
504
505         * gst/gst.c:
506         Fix compilation with registry disabled as spotted by Saur.
507
508 2007-03-20  Wim Taymans  <wim@fluendo.com>
509
510         Patch by: Olivier Crete <tester at tester dot ca>
511
512         * gst/gstelement.c: (gst_element_sync_state_with_parent):
513         Look at the pending state too when syncing the element state to the
514         parent. Fixes #420133.
515
516 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
517
518         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
519         (gst_base_sink_change_state):
520         * libs/gst/base/gstbasesink.h:
521         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
522         (gst_base_src_default_event), (gst_base_src_unlock_stop),
523         (gst_base_src_deactivate):
524         * libs/gst/base/gstbasesrc.h:
525         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
526         for sub-classes to correctly clear any state they set trying to
527         unlock, such as clearing out unlock commands from a command fd.
528
529         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
530         (gst_fd_sink_render), (gst_fd_sink_unlock),
531         (gst_fd_sink_unlock_stop):
532         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
533         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
534         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
535
536         Implement unlock_stop in fdsrc and fdsink.
537         Implement seeking in fdsrc when a seekable fd is passed, as in
538         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
539
540 2007-03-19  Wim Taymans  <wim@fluendo.com>
541
542         Patch by: Evan Nemerson <evan at coeus dash group dot com>
543
544         * gst/gstelement.c: (gst_element_class_init):
545         Fix pad-added and pad-removed signal signatures so that the pad type is
546         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
547
548 2007-03-19  Wim Taymans  <wim@fluendo.com>
549
550         * docs/gst/gstreamer-sections.txt:
551         Add new element field and method.
552
553         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
554         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
555         (gst_bin_recalc_state), (gst_bin_get_state_func),
556         (gst_bin_element_set_state), (gst_bin_change_state_func),
557         (gst_bin_continue_func), (bin_bus_handler),
558         (bin_push_state_continue), (bin_handle_async_start),
559         (bin_handle_async_done), (gst_bin_handle_message_func):
560         Make async state changes a bit smarter by using new ASYNC_START and
561         ASYNC_DONE messages. This reduces the number of times we run the state
562         recalculation thread.
563         Don't change state of element with a pending ASYNC_START message.
564         Deprecate STATE_DIRTY messages.
565         
566         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
567         (gst_element_get_state_func), (gst_element_continue_state),
568         (gst_element_lost_state), (gst_element_set_state_func),
569         (gst_element_change_state):
570         * gst/gstelement.h:
571         Keep the state that was last set by the app in a new element field.
572         Don't allow state changes when handling an element event.
573         Post ASYNC_START and ASYNC_DONE messages.
574         Change lost_state so that we go to PAUSED and wait for the parent to set
575         us to PLAYING again (so latency calculation can be performed)
576         Export gst_element_change_state() method so that subclasses can use it.
577         API: gst_element_change_state()
578         API: GST_STATE_TARGET
579
580         * gst/gstpipeline.c: (gst_pipeline_class_init),
581         (reset_stream_time), (gst_pipeline_change_state),
582         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
583         Using the new ASYNC_START message we can reset the base_time when
584         needed. This can then be used to implement base_time redistribution in
585         flushing seeks so that we can remove the explicit seek handling.
586         Perform latency query and configuration when going to PLAYING.
587
588         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
589         (gst_base_sink_query), (gst_base_sink_change_state):
590         Post new ASYNC_START/ASYNC_DONE messages.
591
592         * tests/check/generic/sinks.c: (GST_START_TEST):
593         Fix test because the bin will not set the async element to PLAYING right
594         away.
595
596         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
597         Make the message check a little stronger.
598         Handle ASYNC messages.
599
600         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
601         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
602         Expect ASYNC_DONE messages.
603
604 2007-03-19  Wim Taymans  <wim@fluendo.com>
605
606         * docs/gst/gstreamer-sections.txt:
607         * gst/gstmessage.c: (gst_message_new_async_start),
608         (gst_message_new_async_done), (gst_message_parse_info),
609         (gst_message_parse_async_start):
610         * gst/gstmessage.h:
611         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
612         support.
613
614 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
615
616         * tools/gst-inspect.c:
617         (print_plugin_automatic_install_info_codecs):
618           Now that we don't check for the 'Codec' keyword any longer in the
619           klass, we shouldn't spew a warning if the klass isn't a decoder or
620           encoder (since it might be a Source/Network, for example).
621
622 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
623
624         * tools/gst-inspect.c:
625         (print_plugin_automatic_install_info_codecs):
626           Don't require decoder/demuxer/depayloader elements or
627           encoder/muxer/paylader elements to have 'Codec' as part of their
628           factory class string when introspecting a plugin's capabilities.
629           draft-klass.txt mentions that it might be removed in future, and
630           flump3dec doesn't have it as part of its class string, so chances
631           are others might also not have it.
632
633 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
634
635         * po/af.po:
636         * po/az.po:
637         * po/bg.po:
638         * po/ca.po:
639         * po/cs.po:
640         * po/de.po:
641         * po/en_GB.po:
642         * po/fr.po:
643         * po/it.po:
644         * po/nb.po:
645         * po/nl.po:
646         * po/ru.po:
647         * po/sq.po:
648         * po/sr.po:
649         * po/sv.po:
650         * po/tr.po:
651         * po/uk.po:
652         * po/vi.po:
653         * po/zh_CN.po:
654         * po/zh_TW.po:
655           Update translations from translation project
656
657 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
658
659         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
660         (gst_child_proxy_set_property):
661           Invert precondition check to be alike the ones in the mimiced gobject
662           api.
663
664 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
665
666         * docs/design/draft-tagreading.txt:
667         * docs/random/ensonic/audiobaseclasses.txt:
668           Do some Architect work.
669
670         * gst/gstobject.c: (gst_object_set_name):
671           Add a WARNING.
672
673         * gst/gstpad.c:
674           Add docs that point from gst_pad_get_range to gst_pad_pull_range
675
676 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
677
678         * gst/gstsystemclock.c: (gst_system_clock_init),
679         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
680         Defer starting the async system clock thread until the first async
681         wait is scheduled. Fixes #414986.
682
683 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
684
685         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
686         (gst_single_queue_free):
687           Fix small leak (free GstSingleQueue structure too, not only contents).
688
689 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
690
691         * gst/gstbin.c:(gst_bin_add):
692         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
693         * win32/common/libgstbase.def:
694         * win32/common/libgstreamer.def:
695         Add new exported functions.
696
697 2007-03-09  Wim Taymans  <wim@fluendo.com>
698
699         * docs/plugins/gstreamer-plugins-sections.txt:
700         Fix GstTee docs.
701
702 2007-03-09  Wim Taymans  <wim@fluendo.com>
703
704         * docs/gst/gstreamer-sections.txt:
705         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
706         * gst/gstbuffer.h:
707         Add metadata copy functions. Fixes #393099.
708
709         * gst/gstutils.c: (gst_buffer_stamp):
710         * libs/gst/base/gstbasetransform.c:
711         (gst_base_transform_prepare_output_buffer):
712         Use new metadata copy functions.
713
714 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
715
716         * plugins/elements/gstidentity.c: (gst_identity_class_init),
717         (gst_identity_init), (gst_identity_check_perfect),
718         (gst_identity_check_imperfect_timestamp),
719         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
720         (gst_identity_set_property), (gst_identity_get_property):
721         * plugins/elements/gstidentity.h:
722         Separate out check-imperfect-timestamp and check-imperfect-offset.
723         Put back check-perfect as it was to keep compatibility.
724
725 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
726
727         * gst/gstelement.c: (gst_element_dispose):
728         There's no need to warn if VOID_PENDING is not NONE here, as
729         long as the state is NULL it's ok, and that's checked immediately
730         above.
731
732 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
733
734         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
735         Fix check for perfect stream to ignore buffers with -1 
736         offsets/offset ends when checking data contiguity.
737
738 2007-03-08  Wim Taymans  <wim@fluendo.com>
739
740         * tools/gst-launch.c: (event_loop):
741         Print INFO messages.
742
743 2007-03-08  Wim Taymans  <wim@fluendo.com>
744
745         * libs/gst/base/gstbasetransform.c:
746         (gst_base_transform_sink_eventfunc),
747         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
748         (gst_base_transform_activate):
749         * libs/gst/base/gstbasetransform.h:
750         Add support for dropping buffers with custom GstFlowReturn.
751         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
752         buffers or dropped buffers.
753
754         * docs/libs/gstreamer-libs-sections.txt:
755         docs for new custom return code.
756
757         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
758         Use drop support in base class to implement drop-probability.
759
760 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
761
762         * gst/gst.c: (load_plugin_func):
763         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
764         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
765         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
766           Remove newlines at end of debug log strings.
767
768 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
769
770         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
771         Only post bus message at max, once per buffer received.
772
773 2007-03-07  Wim Taymans  <wim@fluendo.com>
774
775         * docs/design/Makefile.am:
776         * docs/design/part-synchronisation.txt:
777         Add doc about synchronisation
778
779         * docs/design/draft-latency.txt:
780         * docs/design/part-TODO.txt:
781         * docs/design/part-clocks.txt:
782         * docs/design/part-events.txt:
783         * docs/design/part-gstbus.txt:
784         * docs/design/part-gstpipeline.txt:
785         * docs/design/part-live-source.txt:
786         * docs/design/part-messages.txt:
787         * docs/design/part-overview.txt:
788         * docs/design/part-streams.txt:
789         * docs/design/part-trickmodes.txt:
790         Documentation updates.
791
792 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
793
794         * gstreamer.doap:
795         Update the doap file.
796
797 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
798
799         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
800         Rename non-perfect to imperfect for Mike and for the sanctity of the
801         language.
802         Also make sure bus message gets emitted for data-incontiguities.
803
804 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
805
806         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
807         (gst_identity_start):
808         * plugins/elements/gstidentity.h:
809         Emit bus message if check-perfect is true and we encounter a
810         non-perfect stream between 2 consecutive buffers.
811         Fixes #415394.
812
813 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
814
815         * configure.ac:
816         Back to CVS
817
818 === release 0.10.12 ===
819
820 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
821
822         * configure.ac:
823           releasing 0.10.12, "Inevitable Demise"
824
825 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
826
827         * configure.ac:
828          Version 0.10.11.2 (0.10.12 pre-release)
829          Bump libtool versioning.
830
831 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
832
833         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
834           Log flow-names and not numbers.
835
836 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
837
838         * configure.ac:
839           Convert to new AG_GST style.
840
841 2007-02-28  Wim Taymans  <wim@fluendo.com>
842
843         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
844         Don't unref query twice.
845
846 2007-02-28  Wim Taymans  <wim@fluendo.com>
847
848         * gst/gstvalue.c: (gst_value_transform_object_string),
849         (_gst_value_initialize):
850         Implement GstObject -> string transform so we print object names
851         when serializing GValues containing GstObjects.
852
853 2007-02-28  Wim Taymans  <wim@fluendo.com>
854
855         * docs/gst/gstreamer-sections.txt:
856         Add new stuff to docs.
857
858 2007-02-28  Wim Taymans  <wim@fluendo.com>
859
860         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
861         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
862         (gst_base_sink_change_state):
863         Improve latency query code.
864         Don't leak latency events.
865
866         * tests/check/gst/gstbin.c: (GST_START_TEST):
867         Improve debugging.
868
869 2007-02-28  Wim Taymans  <wim@fluendo.com>
870
871         * gst/gstelement.c: (gst_element_message_full),
872         (gst_element_get_state_func):
873         * gst/gstelement.h:
874         Improve docs a little. Added Since: for new macro.
875
876         * gst/gstobject.c: (gst_object_sink):
877         * gst/gstpipeline.c: (gst_pipeline_change_state),
878         (gst_pipeline_set_new_stream_time):
879         * gst/gstpipeline.h:
880         Improve debugging and docs.
881
882         * gst/gstutils.c: (gst_element_state_change_return_get_name):
883         Improve debugging.
884
885 2007-02-28  Wim Taymans  <wim@fluendo.com>
886
887         * gst/gstelement.c: (gst_element_message_full),
888         (gst_element_set_locked_state), (gst_element_get_state_func),
889         (gst_element_change_state):
890         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
891         Documentation updates.
892         Small code cleanups.
893
894         * gst/gstmessage.c: (gst_message_new_info),
895         (gst_message_parse_info):
896         * gst/gstmessage.h:
897         API: gst_message_new_info()
898         API: gst_message_parse_info()
899         Add INFO message create and parse code.
900
901 2007-02-28  Wim Taymans  <wim@fluendo.com>
902
903         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
904         (bin_query_latency_done):
905         Also report the live parameter of a latency query.
906
907 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
908
909         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
910           Copy the current generic/states example from -base and adapt so
911           we can use the exact same code everywhere.
912           Check a STATES_IGNORE_ELEMENTS env var which can be used
913           to ignore certain element factories for this test, which is
914           what is being done in -base
915         * tests/check/Makefile.am:
916           Mention this environment variable.
917
918 2007-02-27  Wim Taymans  <wim@fluendo.com>
919
920         * docs/gst/gstreamer-sections.txt:
921         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
922         (gst_bus_timed_pop), (gst_bus_pop):
923         * gst/gstbus.h:
924         API: gst_bus_timed_pop()
925         Implement gst_bus_timed_pop() to do a blocking timed wait for a
926         message to arrive on the bus.
927
928         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
929         (gst_bus_suite):
930         Two unit tests for new _timed_pop() function.
931
932 2007-02-23  Wim Taymans  <wim@fluendo.com>
933
934         * gst/gstpipeline.c: (gst_pipeline_change_state),
935         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
936         Don't ref a NULL clock in _provide_clock_func().
937         Don't allow an INVALID delay.
938         Don't try to calculate base_time with an invalid start_time.
939         Also distribute and notify a NULL clock when it was selected.
940
941         * tools/gst-launch.c: (event_loop):
942         Don't crash when a NULL clock was selected in the pipeline.
943
944 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
945
946         * docs/design/Makefile.am:
947         * docs/design/draft-missing-plugins.txt:
948         * docs/random/draft-missing-plugins.txt:
949           Some small updates: update plugin system identifier prefix
950           ('gstreamer.net' to 'gstreamer'), mention our new install
951           API in libgstbaseutils rather than libgimme-codec, add
952           reference to the online docs.
953
954 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
955
956         * win32/common/config.h:
957           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
958           use moap cl ci to only check in what is mentioned in the ChangeLog.
959
960 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
961
962         * docs/gst/gstreamer-sections.txt:
963         * gst/gstelement.h:
964           Fix up documentation to link to the correct GstGError section.
965           Add GST_ELEMENT_INFO macro since someone else added a Info message.
966
967 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
968
969         * tools/gst-launch.c: (event_loop):
970           Make sure that we actually show the important message part of a
971           warning message.
972           No need to check if the gerror is not NULL to free; first of all
973           g_free accepts NULL; and second the default error handler would
974           segfault if gerror was NULL.
975
976 2007-02-21  Wim Taymans  <wim@fluendo.com>
977
978         * docs/gst/gstreamer-sections.txt:
979         Removed docs as well.
980
981 2007-02-21  Wim Taymans  <wim@fluendo.com>
982
983         * gst/gstmessage.c: (gst_message_parse_duration):
984         * gst/gstmessage.h:
985         Remove new messages for release.
986
987 2007-02-20  Wim Taymans  <wim@fluendo.com>
988
989         * docs/design/part-gstghostpad.txt:
990         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
991         (gst_ghost_pad_new_full):
992         Make the ghostpad a parent of the internal pad again for better backward
993         compatibility. Don't write code that relies on this however.
994
995         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
996         (gst_pad_link_check_hierarchy):
997         Require that parents should be GstElements in the hierarchy check.
998
999 2007-02-20  Wim Taymans  <wim@fluendo.com>
1000
1001         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
1002         (gst_bin_change_state_func), (bin_query_min_max_init),
1003         (bin_query_latency_fold), (bin_query_latency_done),
1004         (gst_bin_query):
1005         Improve debug info.
1006         Implement latency query.
1007
1008 2007-02-20  Wim Taymans  <wim@fluendo.com>
1009
1010         * docs/design/part-gstghostpad.txt:
1011         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
1012         (gst_ghost_pad_internal_do_activate_push),
1013         (gst_ghost_pad_internal_do_activate_pull),
1014         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1015         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
1016         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
1017         Do not set the internal pad as a parent anymore so we can avoid
1018         hierarchy linking errors when the ghostpad has no parent yet. This also
1019         fixes failed activation because of unlinked internal pads, which in
1020         turn fixes the impossible case where you have to activate a pad before
1021         you can add it to a running element.
1022         Also fix the docs.
1023
1024         * gst/gstpad.c: (pre_activate), (post_activate),
1025         (gst_pad_set_active), (gst_pad_activate_pull),
1026         (gst_pad_activate_push), (gst_pad_check_pull_range):
1027         Add some more debug info.
1028         Mark activation mode in pre_activate so that we don't try to activate in
1029         endless loops. Fixes #385084.
1030
1031 2007-02-19  Wim Taymans  <wim@fluendo.com>
1032
1033         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
1034         (gst_base_transform_check_get_range):
1035         Implement a checkgetrange function instead of relying on the default
1036         core behaviour that assumes we can operate in pull mode if we have a
1037         getrange function. First step at fixing #385084.
1038
1039 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
1040
1041         * gst/gstchildproxy.h:
1042         * libs/gst/base/gstbasesink.h:
1043         * libs/gst/base/gstbasesrc.h:
1044         * libs/gst/base/gstbasetransform.h:
1045         More docs coverage and some ChangeLog surgery (add missing names)
1046
1047 2007-02-15  Wim Taymans  <wim@fluendo.com>
1048
1049         * docs/design/part-TODO.txt:
1050         * docs/design/part-activation.txt:
1051         * docs/design/part-block.txt:
1052         * docs/design/part-buffering.txt:
1053         * docs/design/part-clocks.txt:
1054         * docs/design/part-element-source.txt:
1055         * docs/design/part-events.txt:
1056         * docs/design/part-gstbin.txt:
1057         * docs/design/part-gstbus.txt:
1058         * docs/design/part-gstpipeline.txt:
1059         * docs/design/part-live-source.txt:
1060         * docs/design/part-messages.txt:
1061         * docs/design/part-overview.txt:
1062         * docs/design/part-qos.txt:
1063         * docs/design/part-query.txt:
1064         * docs/design/part-states.txt:
1065         * docs/design/part-trickmodes.txt:
1066         Some doc updates. Start renaming from stream_time to running_time where
1067         it was used wrongly.
1068
1069 2007-02-15  Wim Taymans  <wim@fluendo.com>
1070
1071         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1072         Answer LATENCY query.
1073
1074 2007-02-15  Wim Taymans  <wim@fluendo.com>
1075
1076         * tests/check/gst/gstevent.c: (event_probe), (test_event),
1077         (GST_START_TEST):
1078         Improve debugging.
1079
1080 2007-02-15  Wim Taymans  <wim@fluendo.com>
1081
1082         * gst/gstpad.c: (gst_pad_get_internal_links_default),
1083         (gst_pad_dispatcher):
1084         Improve debugging of default pad dispatcher and query functions.
1085
1086 2007-02-15  Wim Taymans  <wim@fluendo.com>
1087
1088         * docs/gst/gstreamer-sections.txt:
1089         Remove old unused method.
1090
1091 2007-02-13  Wim Taymans  <wim@fluendo.com>
1092
1093         * tests/check/gst/gstsegment.c: (GST_START_TEST):
1094         Fix check
1095
1096 2007-02-13  Wim Taymans  <wim@fluendo.com>
1097
1098         * docs/design/part-seeking.txt:
1099         Some small update.
1100
1101         * gst/gstsegment.c: (gst_segment_set_seek):
1102         Revert old bogus change that should make seeking work again.
1103
1104 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
1105
1106         * docs/random/ensonic/dynlink.txt:
1107         * docs/random/ensonic/interfaces.txt:
1108         * docs/random/ensonic/receipies.txt:
1109           Possible dynamic reconnection api, plus some type fixes the other two
1110           docs.
1111
1112 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
1113
1114         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1115         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1116         Also check for an absolute path following file:// in the filesrc
1117         element. Remove redundant check and call g_path_is_absolute() on the
1118         unescaped location.
1119
1120 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
1121
1122         * docs/design/draft-klass.txt:
1123           Add existing category analysis.
1124           
1125         * gst/gstcaps.c:
1126           Fix doc example, framerate is a fraction.
1127
1128 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
1129
1130         * configure.ac:
1131         * docs/gst/Makefile.am:
1132         * docs/libs/Makefile.am:
1133         * docs/plugins/Makefile.am:
1134           Add crossreferences to glib/gobject docs.
1135
1136 2007-02-12  Wim Taymans  <wim@fluendo.com>
1137
1138         * docs/design/draft-latency.txt:
1139         Small update.
1140
1141         * docs/libs/gstreamer-libs-sections.txt:
1142         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1143         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
1144         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
1145         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
1146         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
1147         (gst_base_sink_get_position), (gst_base_sink_query),
1148         (gst_base_sink_change_state):
1149         * libs/gst/base/gstbasesink.h:
1150         API: gst_base_sink_query_latency() to let subclasses query the upstream
1151         latency.
1152         API: gst_base_sink_get_latency() to let subclasses query the configured
1153         latency in the sink.
1154         Implement query and set latency.
1155         Update some docs.
1156         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
1157         don't continue preroll when we are flushing. Fixes #405284.
1158
1159         * tests/check/pipelines/stress.c: (change_state_timeout),
1160         (quit_timeout), (GST_START_TEST), (stress_suite):
1161         Test for #405284.
1162
1163 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
1164
1165         Patch by: René Stadler <mail at renestadler de>
1166
1167         * docs/gst/gstreamer-sections.txt:
1168         * gst/gsttaglist.c: (_gst_tag_initialize):
1169         * gst/gsttaglist.h:
1170           API: add GST_TAG_REFERENCE_LEVEL (#403597).
1171
1172 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
1173
1174         * docs/libs/Makefile.am:
1175           Fix path to core docs.
1176
1177         * gst/gstbin.c: (gst_bin_get_by_interface),
1178         (gst_bin_iterate_all_by_interface):
1179           Refix docs by also renaming 'interface' to 'iface' in implementation.
1180
1181         * docs/gst/gstreamer-sections.txt:
1182         * gst/gstcaps.c:
1183         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1184         * gst/gstchildproxy.h:
1185         * gst/gstelementfactory.c:
1186         * gst/gstpadtemplate.h:
1187         * libs/gst/controller/gstcontroller.c:
1188         (gst_controlled_property_new):
1189           Document more.
1190
1191 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
1192
1193         * gst/gstbin.h:(gst_bin_get_by_interface),
1194         (gst_bin_iterate_all_by_interface):
1195         Replace interface parameter name by iface as interface is 
1196         a reserved keyword in Visual Studio for C++ projects so it removes
1197         a build error for application developpers using VS.
1198         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
1199         Fix a bug on Windows in uri format check. Now the prefix checked
1200         is file:// and next we check if the path after file:// is absolute.
1201         * win32/common/libgstbase.def:
1202         * win32/common/libgstdataprotocol.def:
1203         * win32/common/libgstgstreamer.def:
1204         Add new exported functions.
1205
1206 2007-02-09  Andy Wingo  <wingo@pobox.com>
1207
1208         * tests/check/pipelines/simple-launch-lines.c
1209         (simple_launch_lines_suite, test_tee): Disable tee test until I
1210         have time to fix it :-(
1211
1212         * tests/check/Makefile.am (noinst_HEADERS): 
1213         * tests/check/libs/libsabi.c: 
1214         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
1215         * tests/check/gst/gstabi.c: 
1216         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
1217
1218         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
1219         tests for push and pull tee behavior.
1220
1221         * plugins/elements/gsttee.h: 
1222         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
1223         mark as deprecated as well as unimplemented. It was a crack idea.
1224         Add support for tee operating in pull mode, off by default.
1225
1226         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
1227         normal-case logs down to LOG, raise errors to WARNING.
1228         (gst_registry_xml_read_cache): Don't log before calling a function
1229         that logs.
1230
1231         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
1232         exit (registry finalize).
1233         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
1234         DEBUG log when we emit signals that people don't even have the
1235         chance to connect to.
1236         (gst_registry_scan_path_level): Less logging in the normal case.
1237
1238 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
1239
1240         Patch by: Michal Benes <michal dot benes at itonis dot tv>
1241
1242         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1243         Correctly generate EOS for non-seekable files. We don't have a total
1244         length for them and would get an unexpected end of file if we only
1245         special-cased for regular files. (Fixes: #404569)
1246
1247 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
1248
1249         * tests/check/elements/filesrc.c: (GST_START_TEST),
1250         (filesrc_suite):
1251         Add unit test for the GstURIHandler interface in filesrc. This also
1252         tests the newly added file://localhost/foo/bar support.
1253
1254 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
1255
1256         * gst/gstelementfactory.h:
1257           The klass string is not a hierarchy. Add reference to the design doc
1258           for more information and common types.
1259
1260 2007-02-02  Wim Taymans  <wim@fluendo.com>
1261
1262         * gst/gstquery.c: (gst_query_new_latency):
1263         Remove old structure field.
1264
1265 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
1266
1267         * tools/gst-launch.1.in:
1268           Give example for network streaming (#351998)
1269
1270 2007-02-02  Wim Taymans  <wim@fluendo.com>
1271
1272         * docs/gst/gstreamer-sections.txt:
1273         Add docs for new methods.
1274
1275         * gst/gstevent.c: (gst_event_new_latency),
1276         (gst_event_parse_latency):
1277         * gst/gstevent.h:
1278         Add new LATENCY event to configure latency in a pipeline.
1279         API: gst_event_new_latency
1280         API: gst_event_parse_latency
1281
1282         * gst/gstmessage.c: (gst_message_new_buffering),
1283         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
1284         (gst_message_new_latency), (gst_message_parse_buffering),
1285         (gst_message_parse_lost_preroll):
1286         * gst/gstmessage.h:
1287         Added messages used in draft-latency.
1288         API: gst_message_new_lost_preroll
1289         API: gst_message_parse_lost_preroll
1290         API: gst_message_new_prerolled
1291         API: gst_message_new_latency
1292
1293         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1294         (gst_query_parse_latency):
1295         * gst/gstquery.h:
1296         Implemented new latency query as in design doc.
1297         API: gst_query_new_latency
1298         API: gst_query_set_latency
1299         API: gst_query_parse_latency
1300
1301 2007-02-02  Wim Taymans  <wim@fluendo.com>
1302
1303         * docs/design/draft-latency.txt:
1304         Slight redesign to allow for dynamic latency adjustments.
1305
1306         * docs/design/part-negotiation.txt:
1307         Fix some typos.
1308
1309 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
1310
1311         reviewed by: Wim Taymans <wim@fluendo.com>
1312
1313         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1314         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1315         Allow file://localhost/foo/bar URLs and correctly fail for every other
1316         hostname that one sets. This was gnomevfssrc is linked for those if
1317         installed as it can handle it (#403172)
1318
1319 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
1320
1321         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1322
1323         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1324         (unref_data), (gst_collect_pads_add_pad_full):
1325         * libs/gst/base/gstcollectpads.h:
1326         Don't put the previously added destroy notify in the GstCollectData
1327         struct as all it's padding is already used and we don't want to break
1328         ABI. Instead put in the pad's GObject data for now. This should be
1329         cleaned up for 0.11 (#402393).
1330
1331 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
1332
1333         reviewed by: Wim Taymans <wim@fluendo.com>
1334
1335         * docs/libs/gstreamer-libs-sections.txt:
1336         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1337         (unref_data), (gst_collect_pads_add_pad),
1338         (gst_collect_pads_add_pad_full):
1339         * libs/gst/base/gstcollectpads.h:
1340         API: Add function to specify a destroy notification for custom
1341         GstCollectData when adding new pads in GstCollectPads (#402393).
1342
1343 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
1344
1345         * po/sv.po:
1346           Update Swedish translation (#378255).
1347
1348 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
1349
1350         * docs/design/draft-klass.txt:
1351           Fix the previous change, this is a list of categories and not a hierarchy.
1352
1353 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
1354
1355         * docs/design/draft-klass.txt:
1356           Add info about how to get a list of used classes.
1357
1358 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
1359
1360         * plugins/elements/gsttypefindelement.c:
1361         (gst_type_find_element_chain_do_typefinding),
1362         (gst_type_find_element_change_state):
1363           Don't leak found caps in chain function (no idea why that never
1364           showed up as a leak anywhere).
1365
1366 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
1367
1368         * gst/gstplugin.h:
1369           Fix and expand GstPluginDesc API docs.
1370
1371 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
1372
1373         * gst/gstcaps.c:
1374         * gst/gstelementfactory.c:
1375         * gst/gstpadtemplate.h:
1376           api doc fixes
1377
1378         * libs/gst/controller/gstcontroller.c:
1379         (gst_controlled_property_new):
1380         * tests/examples/controller/audio-example.c:
1381           comment fixes
1382
1383 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
1384
1385         * configure.ac:
1386           comment about refining the xml deps
1387
1388         * docs/manuals.mak:
1389           comments about moving away from jade for docs
1390         
1391         * gst/gst.c:
1392           recommit the ifdefs to use the binary registry
1393         
1394         * gst/gstbin.c: (gst_bin_change_state_func):
1395           this break is obsolete
1396
1397         * gst/gstelementfactory.h:
1398           better GST_ELEMENT_DETAILS docs, add comment about translation
1399
1400         * gst/gstinfo.h:
1401           remove eol slash
1402
1403         * gst/gstobject.c: (gst_signal_object_get_type):
1404           add G_UNLIKELY as usual
1405
1406         * gst/gstpad.c: (gst_pad_event_default):
1407           add fall trhu comment
1408
1409         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1410         (gst_registry_binary_initialize_magic),
1411         (gst_registry_binary_save_string),
1412         (gst_registry_binary_save_pad_template),
1413         (gst_registry_binary_save_feature),
1414         (gst_registry_binary_save_plugin),
1415         (gst_registry_binary_write_cache),
1416         (gst_registry_binary_check_magic),
1417         (gst_registry_binary_load_pad_template),
1418         (gst_registry_binary_load_feature),
1419         (gst_registry_binary_load_plugin),
1420         (gst_registry_binary_read_cache):
1421           comment typo and formatting
1422
1423         * gst/gstutils.c: (gst_element_state_get_name),
1424         (gst_element_state_change_return_get_name):
1425           remove obsolete breaks
1426
1427         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1428           add FIXME 0.11 and remove cpp comment
1429
1430 2007-01-29  Edward Hervey  <edward@fluendo.com>
1431
1432         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1433         Fix print statement in an even more portable way.
1434
1435 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
1436
1437         * docs/gst/gstreamer-sections.txt:
1438         * gst/gstutils.h:
1439           API: add GST_ROUND_DOWN_* macros (#401781).
1440
1441 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
1442
1443         * docs/gst/gstreamer.types.in:
1444         * gst/gstregistry.c: (gst_registry_class_init):
1445           Document registry signals and make gtk-doc pick them up (#401381).
1446
1447 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
1448
1449         * docs/pwg/building-testapp.xml:
1450           Add some audioconverts and audioresample to the pipeline, and some
1451           more comments and error handling.
1452
1453 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
1454
1455         * docs/manual/manual.xml:
1456         * docs/pwg/pwg.xml:
1457           Fix typo (#400987).
1458
1459 2007-01-26  Wim Taymans  <wim@fluendo.com>
1460
1461         * gst/gstcaps.c: (gst_static_caps_get):
1462         Init caps flags too.
1463
1464 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
1465
1466         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
1467
1468         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1469         If not using mmap'ed files try to seek to the end instead of the
1470         start to determine whether we can seek at all. This fixes the case
1471         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
1472         seeks for everything afterwards fail. Fixes #400656
1473
1474 2007-01-25  Wim Taymans  <wim@fluendo.com>
1475
1476         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
1477         Add some refcount debugging.
1478         Make gst_static_caps_get threadsafe, which is needed when autoplugging
1479         in multiple streaming threads.
1480
1481 2007-01-25  Wim Taymans  <wim@fluendo.com>
1482
1483         Patch by: David Schleef <ds at schleef dot org>
1484
1485         * docs/libs/gstreamer-libs-sections.txt:
1486         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
1487         * libs/gst/base/gstadapter.h:
1488         API: gst_adapter_copy() that can reduce the amount of memcpy when
1489         getting data from the adapter. Fixes #388201.
1490
1491 2007-01-25  Edward Hervey  <edward@fluendo.com>
1492
1493         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1494         In print statements, "%x" is for guint. Fixes build on macosx.
1495
1496 2007-01-24  Edward Hervey  <edward@fluendo.com>
1497
1498         * plugins/elements/gstmultiqueue.c:
1499         (gst_multi_queue_loop):
1500         Small fix.
1501         (single_queue_overrun_cb), (single_queue_underrun_cb),
1502         (single_queue_check_full), (gst_single_queue_new):
1503         Implement single queue growth system.
1504         This uses the extra-size properties, and will grow single queues by
1505         that much if one goes full whereas there are others empty. This is
1506         called extra-mode in the code.
1507         When a single queue's levels go back below the initial max-size
1508         limits, it is no longer in extra-mode. This is to ensure we don't
1509         consume too much memory.
1510         Fixes #399875
1511
1512 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
1513
1514         * gst/gst.c: (gst_init_get_option_group):
1515           Make warning about late g_thread_init() calls a bit more explicit,
1516           so that it's more obvious to application developers what they need
1517           to do if a user files a bug against their application.
1518
1519 2007-01-22  Edward Hervey  <edward@fluendo.com>
1520
1521         * plugins/elements/gstmultiqueue.c:
1522         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
1523         Remove previous hack of unsetting the flushing flag for the source pad
1524         instead of activating it. Instead, fix the source pad activate function
1525         so that it no longer depends on having a parent set or not.
1526
1527 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
1528
1529         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
1530
1531         * docs/manual/basics-bus.xml:
1532           Fix example code, gst_element_unref() doesn't exist any longer.
1533
1534 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
1535
1536         Patch by: Mark Nauwelaerts <manauw at skynet be>
1537
1538         * gst/gstpad.c:
1539           Fix two docs typoes (#399094).
1540
1541 2007-01-19  Edward Hervey  <edward@fluendo.com>
1542
1543         * docs/faq/gst-uninstalled:
1544         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
1545         depending on libgstbaseutils can work in uninstalled environment.
1546
1547 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
1548
1549         * gst/gsttaglist.h:
1550         * gst/gsttagsetter.c:
1551         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
1552         statement for new tag.
1553
1554 2007-01-17  Edward Hervey  <edward@fluendo.com>
1555
1556         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
1557         When dynamically creating single queues, activate sinkpad before adding
1558         it.
1559         We should be doing the same thing for the source pad, but we can't
1560         since it would call a method which needs the parent to be set in order
1561         to work propertly. Instead of activating the source pad, we just unset
1562         the flushing flag, which is the minimal requirement for adding a pad
1563         to an element in a state greater than READY.
1564
1565 2007-01-17  Edward Hervey  <edward@fluendo.com>
1566
1567         * docs/faq/gst-uninstalled:
1568         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
1569         Mac OS X.
1570
1571 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
1572
1573         * tests/check/gst/gstabi.c:
1574         * tests/check/gst/struct_hppa.h:
1575         * tests/check/libs/libsabi.c:
1576         * tests/check/libs/struct_hppa.h:
1577           Add ABI structs for HPPA (see #393796).
1578
1579 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
1580
1581         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
1582           Actually write ABI structs to the file specified in the GST_ABI
1583           environment variable, as the message we print claims we would.
1584
1585 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1586
1587         * tests/check/gst/gsttask.c:
1588           Fix header comment.
1589
1590 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1591
1592         * gst/gsttaglist.c: (_gst_tag_initialize):
1593           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
1594           previous two entries.
1595
1596 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1597
1598         * docs/gst/gstreamer-sections.txt:
1599         * gst/gsttaglist.c: (_gst_tag_initialize):
1600         * gst/gsttaglist.h:
1601           Add tag support for beat-per-minute.
1602
1603 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1604
1605         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1606         (gst_registry_binary_initialize_magic),
1607         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
1608         (gst_registry_binary_save_pad_template),
1609         (gst_registry_binary_save_feature),
1610         (gst_registry_binary_save_plugin),
1611         (gst_registry_binary_write_cache),
1612         (gst_registry_binary_check_magic),
1613         (gst_registry_binary_load_pad_template),
1614         (gst_registry_binary_load_feature),
1615         (gst_registry_binary_load_plugin),
1616         (gst_registry_binary_read_cache):
1617         * gst/gstregistrybinary.h:
1618           Use glib types, cleanup comments, impement interfaces and uri-types.
1619
1620 2007-01-13  Andy Wingo  <wingo@pobox.com>
1621
1622         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
1623         getrange() to return buffers with other caps, while we fix
1624         demuxers and typefind, or otherwise change part-negotiation.txt.
1625
1626 2007-01-12  Andy Wingo  <wingo@pobox.com>
1627
1628         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
1629         Factor start/stop into this private function instead of partially
1630         in activate functions and partially in the change_state function.
1631         Fixes setup before the element has changed from READY->PAUSED, as
1632         is the case in pull-mode pipelines.
1633         (gst_base_transform_sink_activate_push)
1634         (gst_base_transform_src_activate_pull): Refactor to use
1635         gst_base_transform_activate().
1636         (gst_base_transform_change_state): Removed, not needed any more.
1637
1638         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1639         Truncate before fixating.
1640         
1641         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1642         Don't set_caps() if the result of fixating is ANY, as it's not
1643         supported, and not necessary in the case of a link with no
1644         template caps on either side. Fixes tests/check/libs/basesrc in
1645         some pull-mode tests.
1646
1647         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
1648         (gst_base_transform_init, gst_base_transform_sink_activate_push)
1649         (gst_base_transform_src_activate_pull): 
1650         Track the activation mode.
1651         (gst_base_transform_setcaps): In pull mode, when activating the
1652         src pad, after activating the sink pad, activate the sink pad's
1653         peer, as discussed in part-negotiation.txt.
1654
1655         * libs/gst/base/gstbasesrc.h: 
1656         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
1657         vmethod, as in basesink.
1658
1659         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
1660
1661         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
1662         mode, first proxy the setcaps to the peer pad.
1663         (gst_base_sink_pad_fixate): Add a fixate function that calls the
1664         new fixate vmethod.
1665         (gst_base_sink_default_activate_pull): Rename from
1666         gst_base_sink_activate_pull.
1667         (gst_base_sink_negotiate_pull): New function, performs negotiation
1668         in pull mode before calling ::activate_pull().
1669         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
1670         vmethod instead of the default implementation. I have no idea how
1671         this worked before. Negotiate before calling activate_pull.
1672
1673         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
1674         sink pads in pull mode. In addition to being correct, fixes
1675         filesrc ! decodebin ! identity ! fakesink.
1676         (gst_pad_get_range, gst_pad_pull_range): Don't call
1677         gst_pad_set_caps() if the caps changes; instead error out with
1678         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
1679
1680 2007-01-12  Andy Wingo  <wingo@pobox.com>
1681
1682         * docs/design/part-negotiation.txt: Update with more policy.
1683
1684 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
1685
1686         * libs/gst/check/gstbufferstraw.h:
1687         * libs/gst/check/gstcheck.h:
1688           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
1689           belongs.
1690
1691 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
1692
1693         * tests/check/Makefile.am:
1694         * tests/check/gst/.cvsignore:
1695         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
1696         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
1697         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
1698         (GST_START_TEST), (gst_tag_setter_suite):
1699           Add minimal unit test for beforementioned GstTagSetter bug.
1700
1701 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
1702
1703         Patch by: René Stadler <mail at renestadler dot de>
1704
1705         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1706           gst_tag_list_merge() returns a new list, so it's not the best idea
1707           to ingore its return value. Effectively meant that tags could only
1708           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
1709           Also add function guard to require a non-NULL taglist as input (has
1710           always been so due to gst_tag_list_copy(), just making it explicit).
1711
1712 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
1713
1714         * docs/random/draft-missing-plugins.txt:
1715           Some additions: mention new API that is supposed to be used at the
1716           various stages; short blob about new gst-inspect introspection
1717           option; mention potential future problem with plugins that have
1718           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
1719
1720 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
1721
1722         * tools/gst-inspect.c:
1723         (print_plugin_automatic_install_info_codecs),
1724         (print_plugin_automatic_install_info_protocols),
1725         (print_plugin_automatic_install_info), (main):
1726         Add --print-plugin-auto-install-info option to gst-inspect, so we can
1727         introspect plugin files and get machine-parsable output that corresponds
1728         to the last bit of the missing-plugin installer string (small gotcha:
1729         doesn't take into account ranks).
1730
1731 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
1732
1733         * configure.ac:
1734         * docs/gst/gstreamer-sections.txt:
1735         * gst/Makefile.am:
1736         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
1737         (gst_registry_lookup_locked):
1738         * gst/gstregistry.h:
1739         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1740         (gst_registry_binary_initialize_magic),
1741         (gst_registry_binary_save_string),
1742         (gst_registry_binary_save_pad_template),
1743         (gst_registry_binary_save_feature),
1744         (gst_registry_binary_save_plugin),
1745         (gst_registry_binary_write_cache),
1746         (gst_registry_binary_check_magic),
1747         (gst_registry_binary_load_pad_template),
1748         (gst_registry_binary_load_feature),
1749         (gst_registry_binary_load_plugin),
1750         (gst_registry_binary_read_cache):
1751         * gst/gstregistrybinary.h:
1752         * gst/gstregistryxml.c: (load_feature),
1753         (gst_registry_xml_read_cache):
1754           commit binary registry (disabled by default, see #359653)
1755
1756 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
1757
1758         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
1759           Fix 'make check' too.
1760
1761 2007-01-10  Andy Wingo  <wingo@pobox.com>
1762
1763         * docs/design/part-negotiation.txt: Fix a typo, add a couple
1764         notes.
1765         
1766         * docs/design/part-negotiation.txt: Update with, um, one way that
1767         pull-mode negotiation might work?
1768
1769         * gst/gstpad.h: 
1770         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
1771         that the pad must be a src pad; makes sense to call it the other
1772         way in pull mode, and the logic is symmetric anyway.
1773
1774 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
1775
1776         * plugins/elements/gstfilesink.c:
1777           Include <stdio.h> for fseeko().
1778
1779 2007-01-10  Wim Taymans  <wim@fluendo.com>
1780
1781         * gst/gstevent.c:
1782         * gst/gstevent.h:
1783         Reserve LATENCY event.
1784
1785 2007-01-09  Wim Taymans  <wim@fluendo.com>
1786
1787         * docs/design/draft-latency.txt:
1788         Updates.
1789
1790 2007-01-09  Wim Taymans  <wim@fluendo.com>
1791
1792         * docs/design/draft-latency.txt:
1793         Updates.
1794
1795         * gst/gstelement.h:
1796         * gst/gststructure.c:
1797         * gst/gsttrace.c:
1798         Small typo fixes.
1799
1800 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
1801
1802         * tests/check/.cvsignore:
1803           Ignore test-registry.xml as well.
1804
1805 2007-01-09  Wim Taymans  <wim@fluendo.com>
1806
1807         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
1808         unref data at the end when we are done with the pad.
1809
1810 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
1811
1812         * docs/gst/gstreamer-sections.txt:
1813         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
1814         (init_post), (gst_deinit), (gst_update_registry):
1815         * gst/gst.h:
1816           API: add gst_update_registry() (#391296).
1817
1818         * tests/check/Makefile.am:
1819         * tests/check/gst/gstregistry.c:
1820         * tests/check/gst/.cvsignore:
1821           Simple unit test for the above.
1822
1823 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
1824
1825         * gst/gstregistry.c: (gst_registry_scan_path_level):
1826           Plugin extension on HP-UX is .sl, add that to the list of approved
1827           plugin extensions (see #393796).
1828
1829         * tests/check/gst/gstpad.c: (GST_START_TEST):
1830           ulong => gulong. Fixes compilation with HP-UX compiler.
1831
1832         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1833           Fix compilation if valgrind headers are not available.
1834
1835 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
1836
1837         * win32/common/libgstreamer.def: 
1838           Add new exported function.
1839         * win32/vs6/libgstbase.dsp: 
1840           Add gstdataqueue.c to the build.
1841         * win32/vs6/libgstcoreelements.dsp:
1842           Add gstmultiqueue.c to the build.
1843         
1844 2007-01-06  Andy Wingo  <wingo@pobox.com>
1845
1846         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
1847         activate_pull(), providing for a way to specialize the process of
1848         spawning a thread to pull on the sink pad. There is a default
1849         implementation.
1850
1851         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
1852         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
1853         (gst_base_sink_init): Renamed pad activation functions (inserting
1854         "_pad" in their names). Refactor to use the new activate_pull
1855         vmethod, as appropriate.
1856         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
1857         default activate_pull function to start a task pulling from the
1858         sink pad, as before.
1859
1860         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
1861         on the pads if necessary, as in push()/chain(). Update docs.
1862         Shouldn't affect existing pull() usage as it is currently only
1863         being used on buffers without caps.
1864
1865 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1866
1867         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1868         (init_pre):
1869           Call g_thread_init() first thing in gst_init() / gst_check_init().
1870           When initialisation is done via gst_init_get_option_group() and
1871           GOption parsing, issue a warning if the GLib thread system has not
1872           been initialised yet by the time gst_init_get_option_group() is
1873           called, as it's quite likely other GLib functions such as
1874           g_option_context_new() have been called already then, and
1875           g_thread_init() must be called before any other GLib function. The
1876           application in question must be fixed in that case, since memory
1877           corruption might happen otherwise.
1878           We issue the warning because even if the GLib folks decide to work
1879           around the problem on their end in future, this is still an issue
1880           with all GLib versions >= 2.10.0, so we should warn until we depend
1881           on a GLib version we know to be safe.
1882           Update documentation as well.
1883           Closes bug #391278.
1884
1885 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1886
1887         * tools/gst-inspect.c: (main):
1888         * tools/gst-launch.c: (main):
1889         * tools/gst-typefind.c: (main):
1890         * tools/gst-xmlinspect.c: (main):
1891           Call g_thread_init() really really early, before any other GLib
1892           function (see #342564 and recent discussion on gtk-devel-list).
1893
1894 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1895
1896         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
1897
1898         * gst/gst_private.h:
1899         * gst/gstconfig.h.in:
1900         * gst/gstinfo.h:
1901           On win32, all the __declspec stuff for symbol exporting is
1902           apparently only needed with MSVC, but doesn't work with MingW.
1903           Fixes compilation with MingW and #391909.
1904
1905 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1906
1907         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
1908           Change some GST_ERROR_OBJECT that aren't really errors to
1909           GST_WARNING_OBJECT in order to reduce terminal spam.
1910
1911 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
1912
1913         * tests/check/Makefile.am:
1914           disable test again, as there seem to be still race problems
1915
1916 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
1917
1918         * tests/check/Makefile.am:
1919         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1920         (GST_START_TEST), (queue_suite):
1921           enable queue test again, add tests for the leaky behaviour
1922
1923 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
1924
1925         * configure.ac:
1926         * tests/examples/Makefile.am:
1927           Compile adapter test/example only if the required headers are
1928           available (fixes #391915).
1929
1930 2007-01-01  David Schleef  <ds@schleef.org>
1931
1932         * gst/gstplugin.c:
1933           Restore the previous signal handler for SIGSEGV instead of
1934           setting to default, since we may have stolen it away from
1935           someone.  (i.e., Mono)
1936
1937 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
1938
1939         * docs/random/draft-missing-plugins.txt:
1940           Some small additions and clarifications.
1941
1942 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
1943
1944         * gst/gstregistryxml.c: (gst_registry_save_escaped):
1945           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
1946           since that can lead to random memory corruptions and crashes
1947           (may or may not be related to #383244, #386711, and #386711).
1948
1949 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1950
1951         * tests/check/.cvsignore:
1952         * tests/check/Makefile.am:
1953           sync .cvsignome and CLEANFILES
1954
1955 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1956
1957         * tests/check/Makefile.am:
1958           fix distcheck
1959
1960 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1961
1962         * docs/design/part-states.txt:
1963           two tiny additional comments
1964         
1965         * gst/gststructure.c:
1966           doc fixing
1967
1968         * tests/check/Makefile.am:
1969         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1970         (GST_START_TEST):
1971           disable test for now, unless it gets fixed
1972
1973 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1974
1975         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1976         (GST_START_TEST):
1977           fix race in underrun test
1978
1979 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1980
1981         * tests/check/elements/.cvsignore:
1982           ignore more
1983
1984         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1985         (GST_START_TEST):
1986           try to narrow test failure
1987
1988 2006-12-21  David Schleef  <ds@schleef.org>
1989
1990         * plugins/elements/gstfakesrc.c:
1991           Use g_random_int_range(), since it produces better random
1992           numbers in a range than almost-correct floating point code.
1993
1994 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1995
1996         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1997         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1998         (gst_check_teardown_sink_pad):
1999           do not automatically (de)activate pads
2000
2001         * tests/check/Makefile.am:
2002         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2003         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
2004           add new, yet simple tests for queue
2005
2006         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
2007         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
2008         * tests/check/elements/filesrc.c: (cleanup_filesrc),
2009         (GST_START_TEST):
2010         * tests/check/elements/identity.c: (cleanup_identity):
2011           consistent pad (de)activation
2012
2013 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
2014
2015         Patch by: Sebastian Dröge  <slomo ubuntu com>
2016
2017         * libs/gst/base/gstcollectpads.c:
2018           Fix two doc typos (#387866).
2019
2020 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
2021
2022         * docs/manual/advanced-dparams.xml:
2023           Fix typo (g_object_control_properties() doesn't exist).
2024
2025 2006-12-19  Edward Hervey  <edward@fluendo.com>
2026
2027         * gst/gstsegment.c: (gst_segment_set_seek):
2028         Fine tune the cases where the segment start/stop values are really
2029         updated.
2030         * tests/check/gst/gstsegment.c: (GST_START_TEST):
2031         Add tests for the return values of gst_segment_set_seek().
2032
2033 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
2034
2035         * gst/gst.c:
2036           Docs typo fix.
2037
2038         * plugins/elements/gstqueue.c: (gst_queue_class_init),
2039         (gst_queue_init):
2040           Fix incorrect documentation and flesh it out a bit more.
2041           Set default values for the max properties on the GParamSpec as well,
2042           so it shows up correctly in gst-inspect.
2043
2044 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
2045
2046         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
2047           Correct docs of queue, add more detail and crosslink it more.
2048
2049 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
2050
2051         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2052           Print additional debug info when the stream isn't perfectly
2053           timestamped; don't try to use invalid durations.
2054
2055 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
2056
2057         * docs/design/Makefile.am:
2058           Dist new design docs.
2059
2060 2006-12-16  Wim Taymans  <wim@fluendo.com>
2061
2062         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2063
2064         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
2065         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
2066         (gst_collect_pads_stop), (gst_collect_pads_event),
2067         (gst_collect_pads_chain):
2068         * libs/gst/base/gstcollectpads.h:
2069         Add refcounting to the collectpads data so we can track when it's safe
2070         to free the data. Fixes #383382.
2071
2072 2006-12-15  Wim Taymans  <wim@fluendo.com>
2073
2074         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
2075         (gst_collect_pads_remove_pad):
2076         Automatically activate/deactivate pads when they are added to a
2077         started/stoped collectpads.
2078
2079 2006-12-15  Wim Taymans  <wim@fluendo.com>
2080
2081         * gst/gstelement.c: (gst_element_add_pad):
2082         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
2083         * gst/gstpad.c: (gst_pad_init):
2084         Set pads to FLUSHING when they are created. Check, warn and fix when a
2085         demuxer adds an inactive pad to itself when running. Fixes #339326.
2086
2087 2006-12-15  Wim Taymans  <wim@fluendo.com>
2088
2089         * gst/gstelement.c: (gst_element_class_init),
2090         (gst_element_default_send_event), (gst_element_send_event),
2091         (gst_element_default_query), (gst_element_query):
2092         Expose default element send_event and query handling as vmethods that
2093         subclasses can chain up to.
2094
2095 2006-12-15  Wim Taymans  <wim@fluendo.com>
2096
2097         * gst/gstelement.c: (gst_element_set_state_func):
2098         Small documentation fixes.
2099
2100 2006-12-15  Wim Taymans  <wim@fluendo.com>
2101
2102         * docs/design/draft-latency.txt:
2103         Checked in draft for handling latency in pipelines.
2104
2105 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2106
2107         * Makefile.am:
2108         * gstreamer.doap:
2109         * gstreamer.spec.in:
2110           adding .doap file
2111
2112 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
2113
2114         * gst/gst.c: (init_pre), (init_post):
2115           init_pre() and init_post() might be called via our GOptionGroup or
2116           from gst_init(), and we should skip both of them if we've already
2117           been initialised, otherwise we will init some things twice or add
2118           two default log functions.
2119
2120 2006-12-13  Edward Hervey  <edward@fluendo.com>
2121
2122         * docs/manual/basics-bus.xml:
2123         No, gst_main_loop does not exist. Its g_main_loop.
2124         Discovered by somebody who abused the copy-paste technique of coding :)
2125
2126 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
2127
2128         * gst/gstghostpad.c:
2129           Log ghostpad debug stuff to the GST_PADS category as well rather
2130           than just to the default category.
2131
2132 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
2133
2134         * configure.ac:
2135         * gst/gst.c: (init_pre):
2136           Add some basic system details such as OS and architecture
2137           to the debug output if possible, courtesy of uname().
2138
2139 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
2140
2141         * docs/gst/running.xml:
2142           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
2143           environment variables.
2144
2145 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
2146
2147         * tests/check/gst/gstbin.c: (GST_START_TEST):
2148         It is acceptable to have a refcount of 2 or 3 at this point in the
2149         test, because the pipeline might be just posting its state_change
2150         message. The next line then waits for that message to appear using
2151         bus_poll, so that should be fine too.
2152
2153 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
2154
2155         * gst/gst.c: (ensure_current_registry_forking):
2156         Ignore EINTR when reading from the child registry pipe.
2157         Explicitly ignore the return value from close, since it makes no
2158         difference.
2159
2160         * gst/gstminiobject.c: (gst_mini_object_ref),
2161         (gst_mini_object_unref):
2162         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
2163
2164         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
2165         When removing cached plugins, remove their features too, so they're
2166         not visible after they've disappeared.
2167
2168         * gst/gstutils.c: (prepare_link_maybe_ghosting):
2169         In the unlikely case that we are linking pads with no parents, don't
2170         crash trying to get the non-existent parent bin.
2171
2172         * gst/parse/grammar.y:
2173         Output debug in the PIPELINE category
2174
2175 2005-03-08  Wim Taymans  <wim@fluendo.com>
2176
2177         Patch by: René Stadler <mail at renestadler dot de>
2178
2179         * gst/gstclock.c: (gst_clock_new_periodic_id):
2180         Reject invalid clock times for interval of periodic ids.
2181         Fixes ##383506.
2182
2183 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
2184
2185         * gst/gstelementfactory.c: (gst_element_factory_create):
2186         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2187         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
2188         * tools/gst-inspect.c: (print_element_info):
2189         Fix refcounting of gst_plugin_feature_load to match the docs. 
2190         Fixes: #380129
2191
2192 2006-12-07  Wim Taymans  <wim@fluendo.com>
2193
2194         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
2195         (gst_base_sink_get_position):
2196         Improve debugging of events.
2197
2198 2006-12-07  Wim Taymans  <wim@fluendo.com>
2199
2200         Patch by: René Stadler <mail at renestadler dot de>
2201
2202         * gst/gstclock.c: (gst_clock_id_wait):
2203         Make period ids add the interval to the origial requested time instead
2204         of the possibly updated time which can be wrong when there are multiple
2205         waiters for the same id. Fixes #382592.
2206
2207         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
2208         (gst_system_clock_id_wait_jitter_unlocked),
2209         (gst_system_clock_id_wait_jitter):
2210         Fix restart in the async notify thread when an async entry is added to
2211         the front of the list. Fixes #381492. 
2212
2213         * tests/check/gst/gstsystemclock.c: (store_callback),
2214         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
2215         Added test for multiple async waits.
2216         Added test for async wait order.
2217
2218 2006-12-07  Wim Taymans  <wim@fluendo.com>
2219
2220         * gst/gstbin.c: (gst_bin_query):
2221         Add some more docs about the POSITION query.
2222
2223 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
2224
2225         * configure.ac:
2226         Bump version nano - back to CVS.
2227
2228 === release 0.10.11 ===
2229
2230 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
2231
2232         * configure.ac:
2233           releasing 0.10.11, "Love never runs on time"
2234
2235 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
2236
2237         * win32/common/libgstbase.def:
2238         * win32/common/libgstreamer.def:
2239         * win32/vs8/libgstbase.vcproj:
2240         * win32/vs8/libgstcoreelements.vcproj:
2241         * win32/vs8/libgstreamer.vcproj:
2242         Fix compilation on win32 under VS8
2243         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2244         Partially fixes #381175
2245
2246 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
2247
2248         * gst/gstvalue.c: (gst_value_compare_fraction):
2249         If someone is foolish enough to compare 2 fractions with denominator =
2250         0, return UNORDERED rather than aborting.
2251
2252 2006-11-28  Edward Hervey  <edward@fluendo.com>
2253
2254         * libs/gst/base/Makefile.am:
2255         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
2256         (gst_data_queue_base_init), (gst_data_queue_class_init),
2257         (gst_data_queue_init), (gst_data_queue_new),
2258         (gst_data_queue_cleanup), (gst_data_queue_finalize),
2259         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
2260         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
2261         (gst_data_queue_is_empty), (gst_data_queue_is_full),
2262         (gst_data_queue_set_flushing), (gst_data_queue_push),
2263         (gst_data_queue_pop), (gst_data_queue_drop_head),
2264         (gst_data_queue_set_property), (gst_data_queue_get_property):
2265         * libs/gst/base/gstdataqueue.h:
2266         New GstDataQueue object for threadsafe queueing. Most useful for
2267         elements that need some queueing functionnality.
2268         * docs/libs/gstreamer-libs-docs.sgml:
2269         * docs/libs/gstreamer-libs-sections.txt:
2270         Insert documentation for GstDataQueue
2271         * plugins/elements/Makefile.am:
2272         * plugins/elements/gstelements.c:
2273         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2274         (gst_multi_queue_class_init), (gst_multi_queue_init),
2275         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2276         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
2277         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
2278         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2279         (gst_multi_queue_loop), (gst_multi_queue_chain),
2280         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2281         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
2282         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
2283         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
2284         (wake_up_next_non_linked), (compute_next_non_linked),
2285         (single_queue_overrun_cb), (single_queue_underrun_cb),
2286         (single_queue_check_full), (gst_single_queue_new):
2287         * plugins/elements/gstmultiqueue.h:
2288         New multiqueue element, using GstDataQueue. Used for queuing multiple
2289         streams.
2290         Closes #344639 and #347785
2291
2292 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
2293
2294         * docs/pwg/advanced-types.xml:
2295           add more missing type details
2296
2297         * tools/gst-run.c: (main):
2298           remove unused variable
2299
2300 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
2301
2302         * docs/libs/Makefile.am:
2303         * docs/libs/gstreamer-libs.types:
2304           add types of base classes to enable gobject specific stuff in the docs
2305
2306         * docs/random/ensonic/embedded.txt:
2307           more ideas about isolating platform specific things
2308
2309 2006-11-20  Wim Taymans  <wim@fluendo.com>
2310
2311         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
2312
2313         * libs/gst/check/gstcheck.h:
2314         Fix compilation and running against 0.9.4. Fixes #377332.
2315
2316 2006-11-20  Wim Taymans  <wim@fluendo.com>
2317
2318         * gst/gstsegment.c: (gst_segment_set_seek),
2319         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2320         (gst_segment_to_running_time):
2321         Fix boundary checking in to_running_time() and to_stream_time().
2322         Fixes #377183.
2323
2324         * tests/check/gst/gstsegment.c: (GST_START_TEST):
2325         stream and running time can now be calculated for the complete
2326         clipped segment.
2327
2328 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
2329
2330         * gst/gstpad.c: (gst_pad_push_event):
2331           Can't access event structure after giving away ownership of
2332           the event.
2333
2334 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
2335
2336         * docs/random/ensonic/embedded.txt:
2337         * docs/random/ensonic/profiling.txt:
2338         * docs/random/ensonic/receipies.txt:
2339           more thinking
2340
2341 2006-11-13  Wim Taymans  <wim@fluendo.com>
2342
2343         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2344
2345         * gst/gstpad.c:
2346         Fix documentation for gst_pad_dispatcher. Fixes #374475.
2347
2348 2006-11-13  Wim Taymans  <wim@fluendo.com>
2349
2350         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
2351
2352         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
2353         Store new length in segment duration so we don't keep on calling the
2354         potentially expensize get_size() call. Fixes #370865.
2355
2356 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
2357
2358         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
2359
2360         * win32/common/libgstreamer.def:
2361           Add two missing symbols (#366492).
2362
2363 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
2364
2365         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
2366         (gst_adapter_take_buffer):
2367         Fix format string to use all its arguments.
2368         Remove useless >= check on a guint
2369
2370 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
2371
2372         * tests/examples/adapter/.cvsignore:
2373         Ignore build file as commanded by the build-bot
2374
2375 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
2376
2377         * tests/examples/adapter/Makefile.am:
2378         * tests/examples/adapter/adapter_test.c: (run_test_take),
2379         (run_test_take_buffer), (run_tests), (main):
2380
2381         Add new files from the previous commit
2382
2383 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
2384
2385         * Makefile.am:
2386         * configure.ac:
2387         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
2388         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
2389         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
2390         * libs/gst/base/gstadapter.h:
2391         * tests/check/libs/adapter.c: (create_and_fill_adapter),
2392         (GST_START_TEST), (gst_adapter_suite):
2393         * tests/examples/Makefile.am:
2394         Do some optimisation work in GstAdapter to avoid copies in more cases.
2395         It could still do slightly better by merging buffers when
2396         gst_buffer_is_span_fast is true, but is already faster. 
2397
2398         Also, avoid traversing a single-linked list to append each incoming 
2399         buffer inside the adapter.
2400
2401         Add simple test app that times the adapter behaviour in different
2402         situations, and extend the unit test to check that bytes enter and
2403         exit the adapter in their original order.
2404
2405 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
2406
2407         * docs/random/draft-missing-plugins.txt:
2408           Update: use element message instead of adding a new message
2409           type to the core; don't provide GStreamer API to initiate the
2410           plugin download, just provide API to compose the strings needed
2411           and let an external libgimmestuff handle the rest.
2412
2413 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
2414
2415         * tools/gst-inspect.c: (print_element_properties_info):
2416         Print a string instead of 'unknown type' for GValueArray properties
2417
2418 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
2419
2420         * docs/random/draft-missing-plugins.txt:
2421         More small fixes.
2422
2423 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2424
2425         * tests/examples/typefind/typefind.c: (type_found), (main):
2426           Make typefind element example work again (#371894); add a
2427           license header.
2428
2429 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2430
2431         * docs/random/draft-missing-plugins.txt:
2432           Commit initial draft about how to deal with missing plugins,
2433           needs work (API too).
2434
2435 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
2436
2437         * docs/pwg/advanced-types.xml:
2438           documents the new caps elements (see #363118)
2439
2440 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2441
2442         * gst/gstplugin.c: (gst_plugin_load_file):
2443         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
2444         (gst_file_src_map_region), (gst_file_src_start):
2445         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
2446         (gst_file_index_commit):
2447           Use g_strerror() instead of strerror() - we want UTF-8.
2448
2449 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2450
2451         Patch by: Peter Kjellerstedt <pkj at axis com>
2452
2453         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2454           Another printf fix (#371493).
2455
2456 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2457
2458         * tests/check/gst/gsttag.c:
2459           relicence (okay with author=company)
2460
2461 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2462
2463         * gst/gstpad.c: (gst_pad_event_default_dispatch),
2464         (gst_pad_push_event):
2465           Enhance debug and improve docs
2466         
2467         * gst/gsturi.c:
2468           Fix docs
2469
2470 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2471
2472         * docs/random/ensonic/distributed.txt:
2473         * docs/random/ensonic/profiling.txt:
2474           more ideas
2475
2476 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2477
2478         * docs/gst/gstreamer-sections.txt:
2479           add new API and fix the build
2480           
2481         * gst/gstbin.c: (gst_bin_recalc_state):
2482         * gst/gstelement.c: (gst_element_message_full),
2483         (gst_element_get_state_func), (gst_element_set_state_func):
2484           use new API and improve logging
2485         
2486         * gst/gstutils.c: (gst_element_state_change_return_get_name):
2487         * gst/gstutils.h:
2488           API: add function to get StateChangereturn names to improve logs 
2489
2490 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
2491
2492         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2493           I'm considering shooting the next person to put strerror stuff
2494           in the translateable part of the message.
2495
2496 2006-11-03  Wim Taymans  <wim@fluendo.com>
2497
2498         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2499         Get the type and printf conversion specifiers right.
2500
2501 2006-11-03  Wim Taymans  <wim@fluendo.com>
2502
2503         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2504
2505         * gst/gstpad.c: (gst_pad_init), (pre_activate),
2506         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
2507         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
2508         Some small cleanups. Improve debugging.
2509         * gst/gstpad.h:
2510         Signal all waiting threads with a broadcast instead of just one.
2511         Fixes #369942.
2512
2513 2006-11-03  Wim Taymans  <wim@fluendo.com>
2514
2515         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2516         (gst_fd_src_create):
2517         Add some debugging. 
2518         Only update fd when it's different from the old.
2519
2520 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2521
2522         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
2523           Printf fixes for PPC/OSX, take two (#369366).
2524
2525 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2526
2527         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
2528
2529         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2530         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2531         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2532           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
2533           don't cast to long long for portability reasons, but use
2534           GLib's types instead.
2535
2536 2006-10-30  Michael Smith  <msmith@fluendo.com>
2537
2538         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2539           Get the arguments to lseek() the right way around.
2540           Fixes 367677.
2541
2542 2006-10-30  Wim Taymans  <wim@fluendo.com>
2543
2544         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
2545
2546         * gst/gstinfo.h:
2547         _declspec should be __declspec (two underscores, not one). Fixes 366572.
2548
2549 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
2550
2551         Patch by: Kjartan Maraas  <kmaraas at gnome org>
2552
2553         * docs/design/part-MT-refcounting.txt:
2554         * docs/random/wtay/capsnego2-docs:
2555         * gst/gstclock.c:
2556         * gst/gstxml.c:
2557           Typo fixes (#366212).
2558
2559 2006-10-28  Wim Taymans  <wim@fluendo.com>
2560
2561         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2562
2563         * gst/gst.c:
2564         * win32/common/libgstbase.def:
2565         * win32/common/libgstreamer.def:
2566         * win32/vs8/libgstbase.vcproj:
2567         * win32/vs8/libgstcontroller.vcproj:
2568         Add needed entries in .def files.
2569         Use HAVE_UNISTD_H.
2570         Rearrange def files in vs8 solutions. Fixes #366286.
2571
2572 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
2573
2574         * win32/common/gstconfig.h:
2575           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
2576           hand-made win32 gstconfig.h. Fixes #366321.
2577
2578 2006-10-27  Wim Taymans  <wim@fluendo.com>
2579
2580         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
2581         (gst_ghost_pad_new_full):
2582         Make acceptcaps return TRUE when we don't have a target, just like
2583         setcaps does.
2584
2585 2006-10-27  Wim Taymans  <wim@fluendo.com>
2586
2587         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2588         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
2589
2590 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
2591
2592         * gst/gststructure.c: (gst_structure_id_set_value):
2593           If someone tries to set a non-UTF8 string field on a structure,
2594           don't just print a warning, but also ignore the request and do
2595           not change/add that field to the structure.
2596
2597         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2598           Test for the above.
2599
2600 2006-10-25  David Schleef  <ds@schleef.org>
2601
2602         * gst/gstinfo.c:
2603           g_hash_table_insert() needs a cast to a non-const pointer duh.
2604
2605 2006-10-25  David Schleef  <ds@schleef.org>
2606
2607         * gst/gstinfo.c:
2608         * gst/gstinfo.h:
2609           Change name parameter of _gst_debug_register_funcptr to const
2610           to reflect the constness of its use in the function as well
2611           as to quiet a gcc warning.
2612
2613 2006-10-25  Edward Hervey  <edward@fluendo.com>
2614
2615         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2616         Don't push the buffer if it's empty.
2617         Closes #363095
2618
2619 2006-10-24  Wim Taymans  <wim@fluendo.com>
2620
2621         * gst/gstevent.h:
2622         Add small comment.
2623
2624         * libs/gst/base/gstbasetransform.c:
2625         (gst_base_transform_sink_eventfunc):
2626         Debug segment values *after* updating them as this is more
2627         interesting.
2628
2629 2006-10-23  Wim Taymans  <wim@fluendo.com>
2630
2631         * docs/design/part-events.txt:
2632         Update some docs.
2633
2634         * docs/design/part-block.txt:
2635         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
2636         (gst_pad_push_event):
2637         Revert BLOCKING patch, it tries to be smart without really having a
2638         clear idea what or how. So, now we discard all FLUSHING events again on
2639         a blocking pad. Should fix gnonlin again.
2640
2641 2006-10-23  Wim Taymans  <wim@fluendo.com>
2642
2643         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2644
2645         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2646         (gst_base_src_start), (gst_base_src_activate_push):
2647         Make sure size is always initialized. Fixes #364388.
2648
2649 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
2650
2651         * docs/random/ensonic/distributed.txt:
2652           add some ideas about doing distributed processing
2653
2654         * docs/random/ensonic/profiling.txt:
2655           get_rusage look promising
2656
2657 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
2658
2659         * docs/manual/basics-helloworld.xml:
2660           Add a cast in example to fix compile warning
2661
2662 2006-10-18  Wim Taymans  <wim@fluendo.com>
2663
2664         * gst/gstsegment.c: (gst_segment_set_last_stop),
2665         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2666         Relax arg checking again, -1 is allowed.
2667
2668 2006-10-18  Wim Taymans  <wim@fluendo.com>
2669
2670         * gst/gstsegment.c: (gst_segment_set_last_stop),
2671         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2672         _set_last_stop() must be with a value != -1
2673         A _TYPE_SET to -1 means seek to 0.
2674         Calc last_stop correctly for negative rates.
2675         Make sure we work with positive durations when updating a segment.
2676
2677 2006-10-18  Wim Taymans  <wim@fluendo.com>
2678
2679         * docs/design/part-live-source.txt:
2680         * gst/gstclock.h:
2681         Small docs fixes.
2682
2683 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
2684
2685         * gst/gstbuffer.h:
2686           Add an explicit cast to GstBuffer** to keep old code that added an
2687           explicit cast to GstMiniObject** for gst_mini_object_replace()
2688           compiling without warning.
2689
2690 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
2691
2692         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
2693           check for validity of dates
2694
2695 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
2696
2697         * docs/gst/gstreamer-sections.txt:
2698           Forgot this one, makes gtk-doc shut up.
2699
2700 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
2701
2702         Patch by: Peter Kjellerstedt <pkj at axis com>
2703
2704         * gst/gstobject.h:
2705           Don't define xmlNodePtr to gpointer if the core was built with
2706           --disable-loadsave and --disable-registry, this will break
2707           applications that want to use libxml2 but are buildling against a
2708           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
2709           instead so we don't have to mess with the libxml2 namespace
2710           (#361675).
2711
2712 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
2713
2714         * gst/gstbuffer.h:
2715           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
2716           type-punned pointer warnings.
2717
2718 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2719
2720         * gst/gstelement.h:
2721           Add casts to the correct return type to state <=> state transition
2722           macros.
2723
2724 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
2725
2726         * docs/design/part-live-source.txt:
2727           describe howto handle latency
2728         
2729         * docs/random/ensonic/profiling.txt:
2730           more ideas
2731
2732         * tools/gst-plot-timeline.py:
2733           fix log parsing for solaris, remove unused function
2734
2735 2006-10-16  Wim Taymans  <wim@fluendo.com>
2736
2737         * docs/design/part-trickmodes.txt:
2738         * gst/gstevent.c:
2739         Update some docs regarding reverse playback.
2740
2741 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2742
2743         Patch by: Marcus Granado  <mrc dot gran at gmail com>
2744
2745         * win32/vs8/grammar.vcproj:
2746           Error out with a warning if glib-genmarshal.exe is not in path,
2747           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
2748
2749 2006-10-13  Wim Taymans  <wim@fluendo.com>
2750
2751         * gst/gstsegment.c: (gst_segment_set_seek):
2752         When seeking to stop -1, set last_stop (current position) to the
2753         duration of the segment.
2754
2755 2006-10-13  Wim Taymans  <wim@fluendo.com>
2756
2757         * gst/gstelement.h:
2758         Clarify _NO_PREROLL a bit more.
2759
2760         * gst/gstevent.c:
2761         Fix docs.
2762
2763         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
2764         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
2765         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
2766         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
2767         due to wrong locking order. Fixes #361769.
2768         Remove some redundant/misplaced checks in pad_block.
2769
2770         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2771         For negative rates, count backwards from the duration.
2772
2773 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
2774
2775         * gst/gsterror.c: (_gst_library_errors_init):
2776           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
2777           up with something better).
2778
2779 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
2780
2781         * win32/vs6/libgstreamer.dsp:
2782         * win32/vs7/libgstreamer.vcproj:
2783         * win32/vs8/libgstreamer.vcproj:
2784           Don't reference glib-compat.c which is currently not used and not
2785           disted; add gstquark.c which was recently added. Fixes #361730.
2786
2787 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
2788
2789         * win32/common/libgstbase.def:
2790         * win32/common/libgstcontroller.def:
2791         * win32/common/libgstreamer.def:
2792           Add gst_caps_merge() and a bunch of other recently-added functions.
2793           Fixes #361732.
2794
2795 2006-10-11  Wim Taymans  <wim@fluendo.com>
2796
2797         * docs/plugins/gstreamer-plugins.args:
2798         * docs/plugins/inspect/plugin-coreelements.xml:
2799         * docs/plugins/inspect/plugin-coreindexers.xml:
2800         Update element args.
2801
2802         * gst/gstsystemclock.c:
2803         Small comment update.
2804
2805         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
2806         (gst_tee_request_new_pad), (gst_tee_release_pad),
2807         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
2808         (gst_tee_sink_activate_pull):
2809         * plugins/elements/gsttee.h:
2810         Some tee loving:
2811         Add default property defines.
2812         Implement release pad function.
2813         Give properties better blubs etc.
2814         Activate pads before adding them to a running tee.
2815         Do simple buffer_alloc on the first requested pad.
2816         Post error when activation fails.
2817
2818 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
2819
2820         * gst/gst.c: (ensure_current_registry_forking):
2821           Check return value of write() to make compiler happy.
2822
2823 2006-10-11  Wim Taymans  <wim@fluendo.com>
2824
2825         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2826
2827         * plugins/elements/gstqueue.c: (gst_queue_chain):
2828         Recheck queue filledness after signalling the overrun when we're about
2829         to leak downstream because we released the lock when emitting the signal
2830         and the queue could be empty again. Fixes #352345.
2831
2832 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
2833
2834         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2835           Fix refcounting here too, just like we did for _new_valist() a few
2836           days ago (#357180) (thanks to René Stadler). Also remove all those
2837           'Since: 0.9' from the gtk-doc blobs.
2838
2839         * tests/check/libs/controller.c: (controller_refcount_new_list),
2840         (gst_controller_suite):
2841           Unit test for the above.
2842
2843 2006-10-10  Wim Taymans  <wim@fluendo.com>
2844
2845         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
2846
2847         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2848         (gst_pad_save_thyself):
2849         Update some docs.
2850         Write pad direction in XML output. Fixes #345496.
2851
2852 2006-10-10  Wim Taymans  <wim@fluendo.com>
2853
2854         Patch by: René Stadler <mail at renestadler dot de>
2855
2856         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2857         (gst_controller_new_list), (_gst_controller_dispose),
2858         (_gst_controller_finalize), (_gst_controller_class_init):
2859         Take ref to controlled object so that it cannot disappear. 
2860         Fixes #357432.
2861
2862 2006-10-10  Wim Taymans  <wim@fluendo.com>
2863
2864         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2865         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2866         (gst_check_teardown_sink_pad):
2867         Activate/deactivate pads in setup/teardown respectively.
2868
2869 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2870
2871         Patch by: Josep Torre Valles <josep@fluendo.com>
2872
2873         * gst/Makefile.am:
2874         Cast values when making gstenumtypes.h.  This pacifies Forte
2875         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
2876         in the enumeration.
2877
2878 2006-10-09  Wim Taymans  <wim@fluendo.com>
2879
2880         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
2881         Rename some more @cur to @start to fix docs. 
2882
2883         * gst/gstsegment.c: (gst_segment_set_seek):
2884         Fix typo.
2885         time and start must always stay in sync as defined in design doc.
2886
2887         * gst/gsttaglist.c: (gst_tag_list_is_empty):
2888         Rename param to fix docs.
2889
2890         * tests/check/gst/gstsegment.c: (GST_START_TEST):
2891         Check that start and time are in sync.
2892
2893         * tests/check/pipelines/parse-launch.c:
2894         (gst_parse_test_element_change_state):
2895         Activate pad before adding to the element.
2896
2897 2006-10-09  Wim Taymans  <wim@fluendo.com>
2898
2899         * docs/design/part-qos.txt:
2900         Fix typo.
2901
2902         * gst/gstevent.c:
2903         * gst/gstevent.h:
2904         Update seek event docs regarding negative rates.
2905         Rename @cur to @start. 
2906
2907         * gst/gstsegment.c: (gst_segment_set_seek):
2908         * gst/gstsegment.h:
2909         Update set_seek docs regarding negative rates.
2910         Correctly update last_stop to @stop when dealing with negative
2911         rates.
2912         Rename @cur to @start. 
2913
2914         * tests/check/gst/gstpad.c: (GST_START_TEST):
2915         Activate pads before trying to use them.
2916
2917         * tests/check/gst/gstsegment.c: (GST_START_TEST),
2918         (gst_segment_suite):
2919         Add simple check for segments and negative rates.
2920
2921 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
2922
2923         * gst/gsttaglist.c: (gst_tag_list_is_empty):
2924         * gst/gsttaglist.h:
2925         * docs/gst/gstreamer-sections.txt:
2926           API: add gst_tag_list_is_empty() (#360467).
2927
2928         * tests/check/gst/gsttag.c: (GST_START_TEST):
2929           And a test case.
2930
2931 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2932
2933         * gst/gstmessage.h:
2934         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
2935         a value that doesn't fit on enumeration.
2936
2937 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2938
2939         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2940         Remove local debugging system and use Gstreamer's instead.
2941
2942 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2943
2944         Patch by: Josep Torre Valles <josep@fluendo.com>
2945
2946         * common/m4/gst-error.m4:
2947         Disable warning of statement not reached on Forte.
2948         * gst/gstmessage.h:
2949         Fix warning on Forte (value doesn't fit on enumeration).
2950         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
2951         Fix warning on Forte (value doesn't fit on enumeration).
2952         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2953         DEBUG macro says it takes minimum of 2 args and so Forte
2954         complains about the use with just 1 arg.
2955         * plugins/elements/gstfdsink.c:
2956         * plugins/elements/gstfdsrc.c:
2957         * plugins/elements/gstfilesink.c:
2958         * plugins/elements/gstfilesrc.c:
2959         Use correct return type for the uri handler implementations.
2960
2961         All these fix warnings in Forte.  Fixes bug #360860.
2962
2963 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
2964
2965         * gst/gstelement.h:
2966           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
2967           format string, so don't use G_GNUC_PRINTF for those versions.
2968
2969 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
2970
2971         * gst/gsttaglist.c: (gst_is_tag_list):
2972         * gst/gsttaglist.h:
2973           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
2974
2975         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2976           Small test for the above.
2977
2978 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
2979
2980         * gst/gsttaglist.h:
2981           Less tabs, more spaces.
2982
2983 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
2984
2985         * gst/gstinfo.h:
2986           Those two function declarations do actually belong there, revert
2987           commit from yesterday that turned them intro macros.
2988
2989 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2990
2991         Patch by: Josep Torre Valles <josep@fluendo.com>
2992
2993         * gst/gst.c: (gst_init_get_option_group):
2994         Fix empty declaration and type mismatch.
2995         * gst/gstbin.c: (gst_bin_change_state_func):
2996         Fix type mismatch.
2997         * gst/gstelement.c: (gst_element_continue_state),
2998         (gst_element_set_state_func), (gst_element_change_state),
2999         (gst_element_change_state_func):
3000         Fix type mismatches.
3001         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
3002         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
3003         Cast as appropriate.
3004         * gst/gstobject.c: (gst_class_signal_connect):
3005         Cast as appropriate.  The function pointer parameter really
3006         has the wrong type but would break API if we change it.
3007         * gst/gstquery.c:
3008         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
3009         order of including string.h.
3010         * gst/gstutils.c: (gst_element_state_get_name):
3011         Remove unreachable line.
3012         * gst/gstxml.c: (gst_xml_parse_doc):
3013         Fix type mismatch.
3014         All these caught by Forte.
3015
3016 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3017
3018         Patch by: Josep Torre Valles <josep@fluendo.com>
3019
3020         * common/m4/gst-error.m4:
3021         Fixed bug #360151.
3022         We need to disable warnings on Forte for empty declarations
3023         due to gst-indent adding ;s to lines that just use macros
3024         where the macro actually doesn't need a ; at end to end
3025         statement.
3026
3027 2006-10-06  Wim Taymans  <wim@fluendo.com>
3028
3029         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
3030         (gst_file_sink_close_file), (gst_file_sink_event),
3031         (gst_file_sink_render):
3032         Add some FIXME for the NEWSEGMENT handling.
3033
3034 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3035
3036         * gst/parse/grammar.y:
3037         Remove static function gst_parse_element_lock as all it does
3038         is return.  Looks like cruft from 0.8.
3039
3040 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3041
3042         Patch by: Josep Torre Valles <josep@fluendo.com>
3043
3044         * common/m4/gst-error.m4:
3045         * configure.ac:
3046         * libs/gst/net/Makefile.am:
3047         Fix a compilation issue with Forte on Solaris.  inet_aton is in
3048         libresolv.
3049
3050 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
3051
3052         * gst/gstpad.c: (pre_activate):
3053         * gst/gstregistry.c: (gst_registry_scan_path_level):
3054         * gst/gstregistryxml.c: (load_plugin):
3055         * libs/gst/controller/gstcontroller.c:
3056         (gst_controlled_property_set_interpolation_mode):
3057         * libs/gst/dataprotocol/dataprotocol.c:
3058         (gst_dp_packet_from_event_1_0):
3059         * libs/gst/net/gstnetclientclock.c:
3060         (gst_net_client_clock_observe_times):
3061         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3062           Printf fixes.
3063
3064 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
3065
3066         * configure.ac:
3067         * docs/gst/gstreamer-sections.txt:
3068         * gst/gstconfig.h.in:
3069         * gst/gstelement.h:
3070         * gst/gstinfo.h:
3071           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
3072           whether we can use G_GNUC_PRINTF in other header files and at
3073           least check the printf format/arguments of debug messages and
3074           GST_ELEMENT_ERROR messages when the printf extension is not
3075           being used.
3076           Replace more tabs with spaces in gstinfo.h and remove two spurious
3077           function declarations in GST_DISABLE_DEBUG part with macros.
3078
3079 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
3080
3081         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
3082           More docs for the sync-message signal (mention that it is not
3083           emitted by default); log message structures of messages posted on
3084           the bus as well.
3085
3086 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
3087
3088         * gst/gst.c: (ensure_current_registry_forking):
3089         Use a pipe pair to receive status results from the forked child, and
3090         ignore the result from waitpid. Fixes #355499
3091
3092 2006-10-02  Wim Taymans  <wim@fluendo.com>
3093
3094         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3095         (gst_ghost_pad_suite):
3096         Fix leak in check.
3097
3098 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
3099
3100         * gst/gstpad.c:
3101           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
3102
3103 2006-10-02  Edward Hervey  <edward@fluendo.com>
3104
3105         * docs/design/part-block.txt:
3106         Further explain the use of flushing on blocked pads.
3107         * docs/gst/gstreamer-sections.txt:
3108         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
3109         (gst_pad_push_event):
3110         * gst/gstpad.h:
3111         Added new GstPadFlag : GST_PAD_BLOCKING.
3112         Adds the notion of pads really blocking, which enables to properly
3113         handle FLUSH_START/FLUSH_STOP events on blocked pads.
3114         Fixes #358999
3115         API: gst_pad_is_blocking()
3116         API: GST_PAD_IS_BLOCKING() macro
3117         API: GST_PAD_BLOCKING GstPadFlag
3118         
3119 2006-10-02  Wim Taymans  <wim@fluendo.com>
3120
3121         Patch by: mrcgran <mrc.gran at gmail dot com>
3122
3123         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
3124         Filter the proxied caps against the padtemplate if we have one.
3125
3126         * gst/gstquery.c: (gst_query_new_segment):
3127         Add include for gstinfo.h so that compilation with
3128         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
3129
3130 2006-10-02  Wim Taymans  <wim@fluendo.com>
3131
3132         Patch by: Alessandro Decina  <alessandro at nnva org>
3133
3134         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
3135         (gst_file_sink_set_location), (gst_file_sink_open_file),
3136         (gst_file_sink_close_file), (gst_file_sink_event),
3137         (gst_file_sink_render):
3138         Set file to NULL when closing filesink so that we can set a new filename
3139         in READY. Fixes #358613.
3140
3141 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
3142
3143         Patch by: Alessandro Decina  <alessandro at nnva org>
3144
3145         * gst/gstevent.c: (_gst_event_copy):
3146           Fix gst_mini_object_make_writable() and gst_event_copy() for events
3147           with event structures by setting the parent refcount address of the
3148           copied structure to the address of the refcount member of the newly
3149           copied event rather than the address of the refcount member of the
3150           original event. Fixes #358737.
3151
3152         * tests/check/gst/gstevent.c: (GST_START_TEST):
3153           Unit test for the above.
3154
3155 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
3156
3157         * docs/design/Makefile.am:
3158           Dist some more files.
3159
3160 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
3161
3162         * tests/check/libs/controller.c: (GST_START_TEST),
3163         (gst_controller_suite):
3164           Add test for the previous fix; add some more tests
3165           for correct refcounting behaviour; fix a few leaks
3166           in test cases; call gst_controller_init() at start
3167           of all tests.
3168
3169 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
3170
3171         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3172         (gst_controller_set_from_list):
3173           Don't g_return_val_if_fail() on timed values with invalid timestamps
3174           inside a critical section without unlocking the mutex. Spotted by
3175           René Stadler. (#357617)
3176           Also, fix up refcounting properly: when returning an existing
3177           controller, we should increase the reference only once and not
3178           once per property and when trying to control a property again
3179           we should also increase the refcount.
3180
3181 2006-09-29  Wim Taymans  <wim@fluendo.com>
3182
3183         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3184         * libs/gst/net/gstnettimeprovider.c:
3185         (gst_net_time_provider_thread):
3186         Stop reading commands when EOF as well.
3187
3188         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3189         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3190         * plugins/elements/gstidentity.c: (gst_identity_class_init):
3191         Unify description of the dump property.
3192
3193 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
3194
3195         * tests/examples/manual/.cvsignore:
3196         OK, so it's actually cvsignore that needs changing. Stop laughing.
3197
3198 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
3199
3200         * tests/examples/manual/Makefile.am:
3201         Gah, declare vars *before* using them
3202
3203 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
3204
3205         * gst/gst.c: (init_pre), (scan_and_update_registry),
3206         (ensure_current_registry_nonforking),
3207         (ensure_current_registry_forking), (ensure_current_registry),
3208         (init_post), (gst_debug_help), (gst_deinit):
3209         * gst/gst_private.h:
3210         * gst/gstregistry.c: (gst_registry_finalize),
3211         (gst_registry_remove_features_for_plugin_unlocked),
3212         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3213         (gst_registry_scan_path),
3214         (_priv_gst_registry_remove_cache_plugins),
3215         (_priv_gst_registry_cleanup):
3216         * gst/gstregistry.h:
3217         Re-commit the registry changes, along with an extra fix:
3218           When a cached plugin is encountered at a different file path,
3219           update the stored path in the registry cache so that the parent
3220           process knows where it actually is now when it re-reads the registry
3221           cache. Fixes the thing that broke distcheck with the previous commit.
3222
3223         * tests/check/Makefile.am:
3224         Clean up files named 'core' too when running make clean.
3225
3226         * tests/examples/manual/Makefile.am:
3227         Set up a registry path for running these tests, and clean it properly
3228         for distcheck.
3229
3230 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
3231
3232         * configure.ac:
3233         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
3234         want gmodule-no-export-2.0.pc instead so that we don't drag in
3235         --export-dynamic on every project that links to GStreamer.
3236
3237         Also, make our export regex only match the start of symbols, rather 
3238         than any symbol that contains '_gst' somewhere.
3239
3240         * libs/gst/check/Makefile.am:
3241         The libgstcheck we build does however need export-dynamic, as it
3242         produces some symbols that don't match our _gst... style regex.
3243         Fixes: #318031
3244
3245 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
3246
3247         * gst/gst.c: (init_pre), (scan_and_update_registry),
3248         (ensure_current_registry_nonforking),
3249         (ensure_current_registry_forking), (ensure_current_registry),
3250         (init_post), (gst_debug_help), (gst_deinit):
3251         * gst/gst_private.h:
3252         * gst/gstregistry.c: (gst_registry_finalize),
3253         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3254         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
3255         (_gst_registry_cleanup):
3256         * gst/gstregistry.h:
3257           Revert previous change until I figure out why it breaks distcheck.
3258
3259 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
3260
3261         * gst/gst.c: (init_pre), (scan_and_update_registry),
3262         (ensure_current_registry_nonforking),
3263         (ensure_current_registry_forking), (ensure_current_registry),
3264         (init_post), (gst_debug_help), (gst_deinit):
3265
3266           Make init_pre and init_post take the full complement of GOptionFunc
3267           args so they can return useful GErrors. Make the registry updating
3268           functions do so.
3269
3270           Call _priv_gst_registry_remove_cache_plugins after scanning files to
3271           ensure that the registry we're about to write out doesn't contain
3272           stale information about old-deleted plugin files.
3273
3274           Make _priv_gst_registry_remove_cache_plugins return a boolean so
3275           that deletion of plugin files is considered a registry change.
3276
3277         * gst/gst_private.h:
3278         * gst/gstregistry.c: (gst_registry_finalize),
3279         (gst_registry_remove_features_for_plugin_unlocked),
3280         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3281         (gst_registry_scan_path),
3282         (_priv_gst_registry_remove_cache_plugins),
3283         (_priv_gst_registry_cleanup):
3284         * gst/gstregistry.h:
3285         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
3286         by adding _priv prefix, so that they won't appear in the global
3287         symbol table. They still do atm though because of #318031. Move the
3288         prototypes to gst_private.h
3289
3290         When removing a plugin, remove all features for that plugin too. 
3291         Fixes #340878.
3292
3293 2006-09-27  Wim Taymans  <wim@fluendo.com>
3294
3295         * docs/random/moving-plugins:
3296         Make it clear that the "compiled-in descriptions" really mean
3297         the element details.
3298
3299         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3300         (gst_base_sink_wait_preroll):
3301         Update docs.
3302
3303         * docs/libs/gstreamer-libs-sections.txt:
3304         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3305         (gst_base_src_get_range), (gst_base_src_activate_push):
3306         * libs/gst/base/gstbasesrc.h:
3307         Added function to block while waiting for PLAYING, this function
3308         is used by live sources that block on the clock.
3309         API: gst_base_src_wait_playing()
3310
3311 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
3312
3313         Patch by: Peter Kjellerstedt <pkj at axis com>
3314
3315         * Makefile.am:
3316           gst-element-check.m4 is generated and should therefore be
3317           copied from the build dir rather than the source dir (#357593).
3318           'make distcheck' hasn't noticed this because we were disting
3319           the file as well, so stop doing that.
3320
3321 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
3322
3323         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3324           Add some tests for gst_caps_intersect().
3325
3326         * tools/gst-launch.c: (event_loop):
3327           Print all buffering percentages we get, even the 100% one.
3328
3329 2006-09-26  Wim Taymans  <wim@fluendo.com>
3330
3331         * tools/gst-inspect.c: (print_element_properties_info),
3332         (print_signal_info):
3333         Fix printing of flags to match the look of enums.
3334
3335 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3336
3337         * gst/gstelementfactory.c:
3338           Fix typo in docs blurb.
3339
3340 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3341
3342         * gst/gsturi.c: (search_by_entry):
3343           Don't assert/crash here if a uri handler doesn't return any
3344           supported protocols. The list of protocols could be generated
3345           dynamically at runtime or at plugin registration, and an error
3346           in the underlying library shouldn't be fatal (#353301).
3347
3348 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3349
3350         * gst/gstinfo.c:
3351           Fix warning if HAVE_PRINTF_EXTENSION is undefined
3352           (spotted by Peter Kjellerstedt).
3353
3354 2006-09-23  Wim Taymans  <wim@fluendo.com>
3355
3356         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
3357
3358         * libs/gst/base/gstbasesrc.c:
3359         (gst_base_src_default_check_get_range), (gst_base_src_start),
3360         (gst_base_src_activate_push), (gst_base_src_activate_pull),
3361         (gst_base_src_change_state):
3362         Match _start/_stop calls in the activate functions. Remove redundant
3363         _stop call from the state change function. Fixes #356910.
3364         Turn failure DEBUG into ERROR. 
3365
3366 2006-09-22  Wim Taymans  <wim@fluendo.com>
3367
3368         * docs/design/part-buffering.txt:
3369         * gst/gstmessage.c: (gst_message_new_buffering),
3370         (gst_message_parse_buffering):
3371         Update docs about buffering.
3372
3373         * docs/design/part-trickmodes.txt:
3374         Fix typo.
3375
3376 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
3377
3378         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3379         (gst_controller_new_list):
3380           Ref instances when returning them again (fixes #357180)
3381
3382 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
3383
3384         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
3385           Don't forget to release proxy lock when there's an error.
3386
3387 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
3388
3389         * gst/gstcaps.h:
3390           Add extra initialisers for Caps things, to fix some plugin warnings
3391           when using -Wextra
3392
3393 2006-09-18  Wim Taymans  <wim@fluendo.com>
3394
3395         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3396           Also set template on the internal pad so that a getcaps from the 
3397           target pad returns the template caps.
3398
3399 2006-09-18  Wim Taymans  <wim@fluendo.com>
3400
3401         * gst/gstelement.c: (gst_element_post_message),
3402         (gst_element_dispose):
3403         Use _DEBUG_OBJECT some more.
3404
3405         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3406         Avoid typechecks.
3407
3408         * tools/gst-launch.c: (main):
3409         If the toplevel element is not a GstPipeline, it must be put in a
3410         pipeline so that a bus and clock is selected.
3411
3412 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
3413
3414         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3415           JITTER, RATE, and LATENCY query should be handled by the
3416           default case and not by the CONVERT query code.
3417
3418 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
3419
3420         * gst/gstformat.c: (gst_format_register):
3421           Fix locking order (must take lock before using n_values).
3422
3423         * gst/gstvalue.c: (gst_value_serialize_enum),
3424         (gst_value_deserialize_enum_iter_cmp),
3425         (gst_value_deserialize_enum):
3426           Fix serialisation/deserialisation of custom registered GstFormats.
3427
3428         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3429           Unit test for custom format serialisation/deserialisation.
3430
3431 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
3432
3433         * docs/pwg/building-boiler.xml:
3434         * plugins/elements/gstcapsfilter.c:
3435         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
3436         section.
3437
3438 2006-09-16  Edward Hervey  <edward@fluendo.com>
3439
3440         * libs/gst/base/gstbasetransform.c:
3441         (gst_base_transform_buffer_alloc):
3442         Check if requested caps are the same as the sinks caps IF
3443         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
3444         is FALSE.
3445         This fixes the renegotiation issues stated in #352827.
3446
3447 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3448
3449         * configure.ac:
3450         * docs/manual/advanced-autoplugging.xml:
3451         * tests/examples/Makefile.am:
3452         * tests/examples/manual/.cvsignore:
3453         * tests/examples/manual/Makefile.am:
3454         * tests/examples/manual/extract.pl:
3455           Extract the manual examples again like we used to do.
3456           Fix one of them.
3457
3458 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3459
3460         * win32/common/config.h:
3461           update for version
3462
3463 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
3464
3465         * gst/gsterror.c:
3466           Documents how to receive errors.
3467
3468 2006-09-15  Wim Taymans  <wim@fluendo.com>
3469
3470         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
3471         (event_loop), (main):
3472         Added some comments here and there.
3473         Post an application message when an interrupt is caught instead of doing
3474         an uncontrolled state change.
3475         Clean up the event loop.
3476         Handle buffering messages, pause/resume the pipeline.
3477         Make shutdown because of an interrupt more reliable.
3478
3479 2006-09-15  Wim Taymans  <wim@fluendo.com>
3480
3481         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3482         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
3483         (gst_base_sink_preroll_object):
3484         Make sure that our internal state is correct when we commit our state
3485         asynchronously. This solves a race where a state change to PLAYING
3486         could cause the sink to remain blocked in preroll in some situations.
3487
3488 2006-09-15  Wim Taymans  <wim@fluendo.com>
3489
3490         * tools/gst-inspect.c: (print_element_properties_info),
3491         (print_signal_info):
3492         List flags as hex so it's easier to deal with.
3493
3494 2006-09-15  Wim Taymans  <wim@fluendo.com>
3495
3496         * docs/libs/gstreamer-libs-sections.txt:
3497         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
3498         (gst_base_sink_do_sync):
3499         * libs/gst/base/gstbasesink.h:
3500         Expose logic to wait for preroll so that subclasses such as audiosink
3501         can also use this method.
3502         API: gst_base_sink_wait_preroll()
3503
3504 2006-09-15  Wim Taymans  <wim@fluendo.com>
3505
3506         * gst/gstobject.c: (gst_object_set_parent):
3507         * gst/gstpipeline.c: (do_pipeline_seek):
3508         Small cleanups in docs and code.
3509
3510         * gst/gstsegment.c: (gst_segment_clip):
3511         * tests/check/gst/gstsegment.c: (GST_START_TEST):
3512         if stop == start and start is in the segment, no clipping should be
3513         done. Also add a test for this.
3514
3515 2006-09-15  Wim Taymans  <wim@fluendo.com>
3516
3517         * docs/design/part-buffering.txt:
3518         * docs/gst/gstreamer-sections.txt:
3519         * gst/gstmessage.c: (gst_message_new_buffering),
3520         (gst_message_parse_buffering):
3521         * gst/gstmessage.h:
3522         Added methods to create and parse BUFFERING messages.
3523         Added preliminary docs about buffering.
3524         API: gst_message_new_buffering
3525         API: gst_message_parse_buffering
3526
3527 2006-09-06  Wim Taymans  <wim@fluendo.com>
3528
3529         * gst/gstbin.c:
3530         Update documentation.
3531
3532         * gst/gstelement.c: (gst_element_class_init),
3533         (gst_element_release_request_pad), (gst_element_set_clock),
3534         (gst_element_get_index), (gst_element_add_pad),
3535         (gst_element_remove_pad), (gst_element_get_random_pad),
3536         (gst_element_send_event), (gst_element_get_query_types),
3537         (gst_element_query), (gst_element_post_message),
3538         (gst_element_message_full), (gst_element_continue_state),
3539         (gst_element_lost_state), (gst_element_save_thyself),
3540         (gst_element_restore_thyself):
3541         Documentation updates.
3542         Rename last bit of the new-pad -> pad-added signal rename.
3543         Fix the case where an element query would only work if the source
3544         pad was linked.
3545         Avoid some useless type checking in message handling.
3546
3547         * gst/gstevent.c:
3548         * gst/gstevent.h:
3549         * gst/gstutils.c:
3550         Documentation updates.
3551
3552 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3553
3554         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3555           add an INFO line for when we actually update the fd
3556
3557 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3558
3559         * configure.ac:
3560           back to TRUNK
3561
3562 === release 0.10.10 ===
3563
3564 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
3565
3566         * configure.ac:
3567           releasing 0.10.10, "Pais"
3568
3569 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
3570
3571         * docs/manual/advanced-position.xml:
3572           Fix typo in sample code.
3573
3574 2006-09-05  Wim Taymans  <wim@fluendo.com>
3575
3576         * libs/gst/net/gstnetclientclock.c: (inet_aton),
3577         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
3578         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
3579         * libs/gst/net/gstnetclientclock.h:
3580         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3581         * libs/gst/net/gstnettimepacket.h:
3582         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
3583         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
3584         (gst_net_time_provider_thread), (gst_net_time_provider_new):
3585         * libs/gst/net/gstnettimeprovider.h:
3586         Make stuff compile on windows. Fixes #345295.
3587
3588 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
3589
3590         * gst/gst.c: (ensure_current_registry_forking):
3591           Print better details when child was terminated by signal.
3592
3593 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
3594
3595         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
3596           Print a warning rather than g_assert() if a plugin feature
3597           is a URI handler but returns no protocols (#353976).
3598
3599 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
3600
3601         * docs/random/moving-plugins:
3602         Fix two typos.         
3603
3604 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
3605
3606         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
3607           Fix locking order, handle NULL function values properly.
3608
3609         * gst/gstinfo.h:
3610           Fix docs.
3611
3612         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3613           Initialise variable before using it and fix debug statement to
3614           print the address of the function rather than the address of the
3615           variable on the stack holding the address of the function.
3616
3617 2006-09-01  Wim Taymans  <wim@fluendo.com>
3618
3619         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
3620         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
3621         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
3622         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
3623         (gst_ghost_pad_parent_unset),
3624         (gst_ghost_pad_internal_do_activate_push),
3625         (gst_ghost_pad_internal_do_activate_pull),
3626         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3627         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3628         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
3629         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
3630         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
3631         (gst_ghost_pad_new_no_target_from_template),
3632         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3633         More cleanups.
3634         Avoid needless typechecking in macros.
3635         Since the internal pad is always present and never changes, there is
3636         no need to locking or ref when retrieving it.
3637         Improve debugging a bit.
3638         Handle link errors when setting the target. Fixes #341029.
3639
3640 2006-09-01  Wim Taymans  <wim@fluendo.com>
3641
3642         * docs/libs/gstreamer-libs-sections.txt:
3643         * docs/plugins/gstreamer-plugins-sections.txt:
3644         Fix docs some more.
3645
3646         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3647         (gst_collect_pads_event):
3648         * libs/gst/base/gstcollectpads.h:
3649         Documentation updates.
3650         Free queued buffer when removing a pad.
3651
3652 2006-08-31  Michael Smith  <msmith@fluendo.com>
3653
3654         * gst/gstutils.c: (gst_element_link_pads),
3655         (gst_element_link_pads_filtered):
3656           Ensure that we set a capsfilter to NULL if we failed to link it
3657           when doing filtered linking, to avoid criticals.
3658
3659           No need to check for unreffing srcpad, which is explicly NULLed
3660           above (a trivial code cleanup).
3661
3662 2006-08-31  Wim Taymans  <wim@fluendo.com>
3663
3664         * docs/design/part-gstghostpad.txt:
3665         Update ascii art in documentation.
3666
3667         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
3668         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
3669         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
3670         (gst_ghost_pad_internal_do_activate_push),
3671         (gst_ghost_pad_internal_do_activate_pull),
3672         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3673         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3674         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
3675         (gst_ghost_pad_set_target):
3676         Small cleanups and leak fixes.
3677         Remove some checks now that the internal pad is never NULL.
3678         Fix the case where linking pads without a target would create nasty
3679         criticals. Fixes #341029.
3680         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
3681         value of _set_target().
3682
3683         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3684         (gst_ghost_pad_suite):
3685         Some more tests for creating and linking untargeted ghostpads.
3686
3687 2006-08-31  Edward Hervey  <edward@fluendo.com>
3688
3689         * docs/gst/gstreamer-sections.txt:
3690         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
3691         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
3692         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
3693         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
3694         (gst_ghost_pad_new_from_template),
3695         (gst_ghost_pad_new_no_target_from_template):
3696         * gst/gstghostpad.h:
3697         Refactored *_new() functions.
3698         Templates are now used as a g_object_new() parameter.
3699         Use template in _do_getcaps() if we don't have a target.
3700         Small documentation cleanups.
3701         Added two new constructors:
3702         gst_ghost_pad_new_from_template()
3703         gst_ghost_pad_new_no_target_from_template()
3704         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3705         (gst_ghost_pad_suite):
3706         Added tests for new ghostpad instanciation functions.
3707
3708         API additions: gst_ghost_pad_new_from_template,
3709         gst_ghost_pad_new_no_target_from_template
3710
3711 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
3712
3713         * docs/random/ensonic/profiling.txt:
3714           Ideas about qos profiling.
3715
3716 2006-08-29  Wim Taymans  <wim@fluendo.com>
3717
3718         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
3719         Code cleanups.
3720         Fix memleak.
3721
3722 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
3723
3724         * gst/gstxml.c:
3725           Improve and detypofy docs.
3726
3727         * tests/check/Makefile.am:
3728         * tests/check/gst/.cvsignore:
3729         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
3730           Add a basic test suite for GstXML.
3731
3732 2006-08-29  Wim Taymans  <wim@fluendo.com>
3733
3734         * gst/gstelement.c: (activate_pads), (clear_caps),
3735         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
3736         Clear the pad caps when the element shut down all of the pads and
3737         is not streaming data that could modify the caps. 
3738         Fixes #352958.
3739
3740 2006-08-28  Michael Smith  <msmith@fluendo.com>
3741
3742         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3743           Revert previous change; I misunderstood single-segment mode.
3744
3745 2006-08-28  Michael Smith  <msmith@fluendo.com>
3746
3747         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3748           Unset DISCONT on buffers when using single-segment mode.
3749
3750 2006-08-28  Wim Taymans  <wim@fluendo.com>
3751
3752         * gst/gstcaps.c: (gst_caps_merge_structure):
3753         * gst/gstcaps.h:
3754         Fix docs and indentation again.
3755
3756         * tests/check/gst/gstquery.c: (GST_START_TEST):
3757         Fix leak in tests and add some more tests.
3758
3759 2006-08-28  Edward Hervey  <edward@fluendo.com>
3760
3761         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3762         Inform GstSegment of the last stop position in order for the current
3763         segment to have a proper duration if it doesn't have a specific stop
3764         position from which a duration could be calculated.
3765         This bug was noticeable when a non-flushing, non-update new segment was
3766         followed by another segment (all buffers from the new segment were being
3767         dropped).
3768
3769 2006-08-28  Wim Taymans  <wim@fluendo.com>
3770
3771         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3772         Small comment update.
3773
3774         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3775         (gst_identity_transform_ip):
3776         Drop-probability is broken, mention this in the code with a 
3777         FIXME and also in the property description.
3778         Make silent also be silent about the drop messages.
3779
3780 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
3781
3782         * docs/manual/appendix-win32.xml:
3783           Remove mention of popt, we don't depend on that any
3784           longer (#353136). Add some comments pointing out that
3785           this section is slightly outdated.
3786
3787 2006-08-28  Wim Taymans  <wim@fluendo.com>
3788
3789         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3790
3791         * gst/gstquery.c: (gst_query_new_segment):
3792         * tests/check/gst/gstquery.c: (GST_START_TEST):
3793         Initialize variables when creating a new segment query.
3794         Fixes #353121.
3795
3796 2006-08-28  Wim Taymans  <wim@fluendo.com>
3797
3798         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3799
3800         * gst/gstelement.c: (gst_element_get_bus):
3801         * tests/check/gst/gstelement.c: (GST_START_TEST):
3802         Check for NULL before _reffing the bus. Fixes #353122.
3803
3804 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
3805
3806         * docs/manual/basics-bus.xml:
3807           Docs update: fix wrong callback return value explanation; add
3808           some lines about the implicit relationship between main loop
3809           and main context; remove duplicate main loop variable declaration.
3810
3811 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
3812
3813         * tests/check/gst/gstcaps.c: (GST_START_TEST):
3814           Don't leak caps in unit test; add a few more simple
3815           checks. 
3816
3817 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
3818
3819         * docs/gst/gstreamer-sections.txt:
3820         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
3821         (gst_caps_structure_is_subset), (gst_caps_merge),
3822         (gst_caps_merge_structure):
3823         * gst/gstcaps.h:
3824         * libs/gst/base/gstbasetransform.c:
3825         (gst_base_transform_transform_caps):
3826         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3827           implement caps merging (fixes #352580)
3828
3829 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
3830
3831         * tools/Makefile.am:
3832         * tools/gst-plot-timeline.py:
3833           add debug-log plotting developer tool (#340674)
3834
3835 2006-08-23  Wim Taymans  <wim@fluendo.com>
3836
3837         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
3838         (gst_pad_stop_task):
3839         Improve debugging for task functions.
3840
3841         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
3842         (gst_task_start), (gst_task_pause), (gst_task_join):
3843         Make sure that the task function started and finished after a 
3844         join(). 
3845         Don't try to push the task function on the threadpool multiple
3846         times.
3847         Improve the g_warning message with some useful suggestions
3848         about how to fix the problem. 
3849
3850 2006-08-23  Wim Taymans  <wim@fluendo.com>
3851
3852         * gst/gstutils.c: (gst_pad_proxy_getcaps):
3853         Handle RESYNC correctly in _proxy_getcaps.
3854
3855 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
3856
3857         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
3858         (gst_xml_parse_memory), (gst_xml_get_element):
3859           Chain up to parent class in dispose function and also
3860           unref the elements in the toplevel_elements GList.
3861           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
3862           Always return a reference in gst_xml_get_element() rather
3863           than only sometimes.
3864
3865         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
3866           Don't leak GstXml object.
3867
3868 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
3869
3870         * docs/gst/gstreamer-sections.txt:
3871         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
3872         (gst_caps_merge):
3873         * gst/gstcaps.h:
3874         * libs/gst/base/gstbasetransform.c:
3875         (gst_base_transform_transform_caps):
3876           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
3877           in a better way
3878
3879 2006-08-21  Edward Hervey  <edward@fluendo.com>
3880
3881         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
3882         Implement GObject::dispose virtual method in GstXML so we can free the
3883         top_elements GList.
3884
3885 2006-08-21  Wim Taymans  <wim@fluendo.com>
3886
3887         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
3888         (gst_buffer_create_sub):
3889         Copy duration/offset_end/caps when creating a subbuffer of the
3890         complete parent.
3891         Make the subbuffer read-only when we make the metadata writable for
3892         now. Fixes #351768.
3893
3894         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3895         Added check for metadata copy when creating subbuffers.
3896
3897 2006-08-21  Edward Hervey  <edward@fluendo.com>
3898
3899         * libs/gst/base/gstbasetransform.c:
3900         (gst_base_transform_buffer_alloc):
3901         Only call downstream buffer_alloc if transform element is passthrough
3902         or always_in_place. Closes #350449.
3903
3904 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3905
3906         * ChangeLog:
3907           ChangeLog surgery to add comments to previous changes
3908
3909 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3910
3911         * gst/gst.c:
3912           Add comments
3913
3914         * gst/gstpad.c: (gst_pad_set_active):
3915           Be more verbose in the log
3916
3917         * libs/gst/base/gstbasetransform.c:
3918         (gst_base_transform_transform_caps):
3919           Simplify caps to get rid of duplicates, fixes #345444
3920
3921 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3922
3923         * gst/gstvalue.c:
3924         * gst/gstvalue.h:
3925           Use these optimizations only internally.
3926
3927 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3928
3929         * gst/gstvalue.c: (gst_value_compare_list),
3930         (gst_value_compare_fraction_range),
3931         (gst_value_intersect_fraction_fraction_range),
3932         (gst_value_intersect_fraction_range_fraction_range),
3933         (gst_value_subtract_fraction_fraction_range),
3934         (gst_value_subtract_fraction_range_fraction_range),
3935         (gst_value_get_compare_func), (gst_value_compare),
3936         (gst_value_compare_with_func):
3937         * gst/gstvalue.h:
3938           Saves the expensive lookup of the compare function in many cases
3939          (#345444)
3940
3941 2006-08-18  Edward Hervey  <edward@fluendo.com>
3942
3943         * tests/check/gst/gstinfo.c: (gst_info_suite):
3944         Disable test that require gstdebug if it wasn't built in core.
3945
3946 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
3947
3948         * docs/random/ensonic/logging.txt:
3949           update ideas
3950           
3951         * gst/gstinfo.c: (gst_debug_log_default):
3952           reorder fields, save some columns, add optional color codes for log
3953           levels
3954
3955 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
3956
3957         * docs/random/ensonic/logging.txt:
3958           add ideas about making the logs a bit more useful
3959
3960 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
3961
3962         * docs/pwg/advanced-events.xml:
3963         * docs/pwg/titlepage.xml:
3964           Update for 0.10 API (#340627). Add myself
3965           to authors list.
3966
3967 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
3968
3969         * docs/libs/gstreamer-libs-docs.sgml:
3970         * docs/libs/gstreamer-libs-sections.txt:
3971         * libs/gst/check/gstbufferstraw.c:
3972           Make gstcheck stuff show up in docs (still needs to
3973           be documented properly though).
3974
3975 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
3976
3977         * docs/gst/gstreamer-sections.txt:
3978         * gst/Makefile.am:
3979         * gst/gst.c: (init_post):
3980         * gst/gst_private.h:
3981         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3982         * gst/gstquark.h:
3983         * gst/gstquery.c: (gst_query_new_position),
3984         (gst_query_set_position), (gst_query_parse_position),
3985         (gst_query_new_duration), (gst_query_set_duration),
3986         (gst_query_parse_duration), (gst_query_new_convert),
3987         (gst_query_set_convert), (gst_query_parse_convert),
3988         (gst_query_new_segment), (gst_query_set_segment),
3989         (gst_query_parse_segment), (gst_query_new_seeking),
3990         (gst_query_set_seeking), (gst_query_parse_seeking):
3991         Add internal helpers for pre-registering quarks from static strings
3992         and using the quark values directly instead of looking them up when
3993         creating and parsing queries. Can be used for event construction too.
3994         Closes #350432.
3995
3996 2006-08-16  Wim Taymans  <wim@fluendo.com>
3997
3998         * gst/gstbin.c:
3999         Fix bogus docs.
4000
4001 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
4002
4003         * gst/gstutils.c: (gst_util_set_value_from_string):
4004           Fix memleak (#351502).
4005
4006         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4007           Add unit test for most of gst_util_set_value_from_string()
4008           (not that one would want to encourage use of this function).
4009
4010 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
4011
4012         * libs/gst/check/gstcheck.h:
4013           Use const gchar * variables in fail_unless_equals_string
4014           macro to avoid compiler warnings (and don't use tabs for
4015           indenting).
4016
4017 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
4018
4019         * tools/gst-launch.c: (print_tag):
4020           More space on the left for the tag names, to cater
4021           for the 'extended comment' tag (not touching the
4022           string for the first line since it's translated).
4023
4024 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
4025
4026         * libs/gst/check/gstcheck.h:
4027           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
4028           print something when they fail.
4029
4030 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
4031
4032         * docs/gst/gstreamer-sections.txt:
4033         * gst/gsttaglist.c: (_gst_tag_initialize):
4034         * gst/gsttaglist.h:
4035           API: add GST_TAG_EXTENDED_COMMENT (#350935).
4036           Also change merge function for GST_TAG_COMMENT to
4037           use_first.
4038
4039 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
4040
4041         * gst/gstinfo.c: (gst_debug_print_object):
4042           Make GST_PTR_FORMAT print messages as well.
4043
4044         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
4045         (GST_START_TEST), (gst_info_suite):
4046           More tests.
4047
4048 2006-08-14  Edward Hervey  <edward@fluendo.com>
4049
4050         * gst/gstelementfactory.c: (gst_element_register):
4051         If the GstElementClass doesn't have a GstElementDetails with all fields
4052         filled up correctly (longname, description AND author), then error out
4053         nicely instead of crashing.
4054
4055 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
4056
4057         * gst/gststructure.c:
4058           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
4059
4060         * gst/gstvalue.h:
4061           Expand on the difference between arrays and lists as we use them.
4062           
4063 2006-08-14  Wim Taymans  <wim@fluendo.com>
4064
4065         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4066         If the parent state change function failed, don't assume we can safely
4067         stop the source, this will be done when the pads are deactivated.
4068
4069 2006-08-14  Wim Taymans  <wim@fluendo.com>
4070
4071         * gst/gstbuffer.c:
4072         * gst/gsttask.c: (gst_task_join):
4073         Small doc updates.
4074
4075         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4076         (gst_pad_stop_task):
4077         When pad (de)activation failed for some reason, restore the old
4078         activation mode and set the pad to flushing instead of assuming the
4079         pad is deactivated.
4080         If the _task_join() failed, reinstall the task on the pad so that it can
4081         be stopped later and return an error.
4082
4083 2006-08-11  Andy Wingo  <wingo@pobox.com>
4084
4085         * configure.ac:
4086         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
4087         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
4088         is only for users of API that don't want to see deprecated
4089         functions in the headers; people that want to compile out
4090         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
4091         CFLAGS. Fixes the build of multifdsink, or will soon..
4092
4093 2006-08-11  Wim Taymans  <wim@fluendo.com>
4094
4095         * docs/gst/gstreamer-sections.txt:
4096         Add GstClockClass vmethod docs.
4097
4098         * gst/gstcaps.h:
4099         Mark #endif with comment for associated #if
4100
4101         * gst/gstclock.c: (gst_clock_id_wait):
4102         * gst/gstclock.h:
4103         Add vmethod wait_jitter to avoid an unneeded _get_time() for
4104         most clock implementations.
4105         Document vmethods.
4106         Flesh out docs about resolution methods.
4107         API: GstClockClass::wait_jitter
4108
4109         * gst/gstsystemclock.c: (gst_system_clock_class_init),
4110         (gst_system_clock_async_thread),
4111         (gst_system_clock_id_wait_jitter_unlocked),
4112         (gst_system_clock_id_wait_jitter):
4113         Use base class wait_jitter variant for improved performance
4114         due to less clock polling.
4115
4116 2006-08-11  Edward Hervey  <edward@fluendo.com>
4117
4118         * gst/gst.c: (gst_init_check), (init_post):
4119         Set gst as being initialized before scanning/updating the registry,
4120         since there might be my python plugin loader that calls gst_init() and
4121         we don't want to loop back in.
4122         Closes #350879
4123
4124 2006-08-11  Wim Taymans  <wim@fluendo.com>
4125
4126         * docs/design/part-qos.txt:
4127         Bring docs in line with the code. Mostly the sign of the jitter was
4128         wrong in the docs. Fixes #349943.
4129
4130         * gst/gstclock.c:
4131         Fix the docs for the jitter.
4132
4133         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
4134         (gst_event_parse_tag), (gst_event_new_buffer_size),
4135         (gst_event_parse_buffer_size), (gst_event_parse_qos),
4136         (gst_event_new_seek), (gst_event_parse_seek),
4137         (gst_event_new_navigation):
4138         Make sure the GstStructure has no parent when creating custom
4139         events.
4140         Add some more argument checking so that we avoid 0.0 rates.
4141         Flesh out the docs for the QoS event some more.
4142
4143 2006-08-11  Wim Taymans  <wim@fluendo.com>
4144
4145         * docs/gst/gstreamer-sections.txt:
4146         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4147         (ensure_current_registry_forking), (ensure_current_registry),
4148         (parse_one_option), (parse_goption_arg), (gst_deinit),
4149         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
4150         * gst/gst.h:
4151         Doc updates.
4152         Added API and command line option to disable registry forking in
4153         addition to the environment variable.
4154         Constify some static arrays.
4155         Added some more debug.
4156         Don't deinit twice.
4157         API: gst_registry_fork_is_enabled()
4158         API: gst_registry_fork_set_enabled()
4159         API: --gst-disable-registry-fork command line option
4160         Fixes #348918.
4161
4162 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
4163
4164         * gst/gst.c: (gst_init):
4165           Fix typo in error message.
4166
4167 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
4168
4169         * libs/gst/controller/gstcontroller.h:
4170           fix ABI size-correction
4171
4172         * tests/check/libs/gdp.c: (gst_dp_suite):
4173           make tests that use deprecated API conditional
4174
4175 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
4176
4177         * docs/libs/gstreamer-libs-sections.txt:
4178         * libs/gst/controller/gstcontroller.c:
4179         (_gst_controller_get_property), (_gst_controller_set_property),
4180         (_gst_controller_init), (_gst_controller_class_init):
4181         * libs/gst/controller/gstcontroller.h:
4182         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
4183         (gst_object_set_control_rate):
4184           API: add gst_object_{s,g}et_control_rate(), add private data section,
4185           fix docs
4186
4187         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
4188         * libs/gst/dataprotocol/dataprotocol.h:
4189           add deprecation guards to make gtk-doc happy and allow disabling cruft
4190
4191 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
4192
4193         * tests/check/Makefile.am:
4194         * tests/check/gst/.cvsignore:
4195           Let's enable the new unit test as well.
4196
4197 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
4198
4199         * configure.ac:
4200         * docs/gst/gstreamer-sections.txt:
4201         * gst/gstconfig.h.in:
4202         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
4203         (_gst_info_printf_extension_ptr),
4204         (_gst_info_printf_extension_segment):
4205           API: add GST_SEGMENT_FORMAT, which is a printf extension we
4206           register that lets us easily dump GstSegments into debug
4207           logs (#350419).
4208
4209         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
4210         (info_segment_format_printf_extension), (gst_info_suite):
4211           Add simple unit test that logs a bunch of different segments (not
4212           valgrinded at the moment because of leaks in
4213           gst_debug_add_log_function).
4214
4215 2006-08-09  Edward Hervey  <edward@fluendo.com>
4216
4217         * libs/gst/base/gstbasetransform.c:
4218         (gst_base_transform_buffer_alloc):
4219         Even if we can't figure out the proper format to request downstream,
4220         call buffer_alloc() downstream with the input parameters without setting
4221         the caps on the srcpad. This will force negotiation in the chain
4222         function.
4223         Closes #350449
4224
4225 2006-08-08  Edward Hervey  <edward@fluendo.com>
4226
4227         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4228         Unlinking from a pad without a target is now a perfectly valid case
4229         which should NOT raise an assertion.
4230         This case would happen if a linked ghostpad its target set to NULL after
4231         it was previously linked.
4232
4233 2006-08-08  Edward Hervey  <edward@fluendo.com>
4234
4235         * tests/check/libs/gdp.c:
4236         Also comment out the test (see below).
4237
4238 2006-08-08  Edward Hervey  <edward@fluendo.com>
4239
4240         * tests/check/libs/gdp.c: (gst_dp_suite):
4241         Use the architecture information from config.h and not gcc macros
4242         in order to properly disable a test that fails on PPC64.
4243
4244 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
4245
4246         * gst/gstelement.c: (gst_element_remove_pad):
4247           Don't crash printing the warning if the pad has no parent.
4248
4249 2006-08-02  Wim Taymans  <wim@fluendo.com>
4250
4251         * libs/gst/dataprotocol/dataprotocol.c:
4252         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
4253         (gst_dp_crc), (gst_dp_header_payload_length),
4254         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
4255         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
4256         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
4257         (gst_dp_event_from_packet), (gst_dp_validate_header),
4258         (gst_dp_validate_payload):
4259         Make debug category static
4260         Constify the crc table.
4261         Do some more arg checking in public functions.
4262         Fix some docs and do some small cleanups.
4263
4264         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
4265         Add some more checks to see if GDP deals with bogus input.
4266
4267 2006-07-31  Wim Taymans  <wim@fluendo.com>
4268
4269         * gst/gstvalue.c: (gst_value_compare_list):
4270         Fix GstValueList comparison code. Fixes #347293.
4271
4272         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4273         Check to test GstValueList comparison.
4274
4275 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
4276
4277         * gst/gstelementfactory.c: (gst_element_factory_create):
4278         Remove unnecessary ref/unref pair
4279
4280         * gst/parse/grammar.y:
4281         Make sure to free the parse buffer on all code paths.
4282         Move a g_free up to the error handler where it's easier to see.
4283
4284         * tests/check/gst/gstevent.c: (test_event):
4285         Extending timeout for downstream travelling events to 10 seconds to
4286         hopefully avoid intermittent failure on the buildbots.
4287
4288         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
4289         Don't manually set the state of the src element - it will happen as a
4290         natural consequence of the pipeline changing state, and that way it
4291         will do it in the right order too.
4292
4293 2006-07-31  Wim Taymans  <wim@fluendo.com>
4294
4295         * libs/gst/base/gstbasetransform.c:
4296         (gst_base_transform_buffer_alloc):
4297         Use OBJECT_LOCK and refcounting to get the pad caps in the
4298         buffer_alloc function because the caps could change while we are
4299         busy with them. Fixes #349105
4300
4301 2006-07-31  Wim Taymans  <wim@fluendo.com>
4302
4303         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
4304         Protect _PAD_CAPS with OBJECT_LOCK.
4305
4306 2006-07-31  Wim Taymans  <wim@fluendo.com>
4307
4308         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4309         (gst_pad_get_property), (gst_pad_activate_pull),
4310         (gst_pad_activate_push), (gst_pad_set_blocked_async),
4311         (gst_pad_set_activate_function),
4312         (gst_pad_set_activatepull_function),
4313         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
4314         (gst_pad_set_getrange_function),
4315         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
4316         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4317         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
4318         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
4319         (gst_pad_set_acceptcaps_function),
4320         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
4321         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
4322         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
4323         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
4324         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
4325         (gst_pad_configure_sink), (gst_pad_configure_src),
4326         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
4327         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
4328         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
4329         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
4330         (gst_pad_send_event):
4331         Use _DEBUG_OBJECT when it makes sense.
4332         Protect GST_PAD_CAPS with the OBJECT_LOCK.
4333         Small cleanups and code reflows.
4334         Avoid caps refcounting in _accept_caps.
4335         Refactor alloc_buffer so that the code performed on the peer is in a
4336         separate function. Also if the pad does not implement a buffer alloc
4337         function, we should still check if the pad is flushing before falling
4338         back to the default allocator.
4339
4340 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
4341
4342         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4343         Make all uses of identity and fakesink have silent=true to avoid
4344         serialising every passing data structure, which is breaking tests
4345         on FC4 for some unknown reason.
4346
4347 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
4348
4349         * gst/parse/Makefile.am:
4350         * gst/parse/grammar.y:
4351         * gst/parse/parse.l:
4352           Reverted previous patch as it required to bump the flex dependency to
4353           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
4354
4355 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
4356
4357         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
4358
4359         * gst/parse/Makefile.am:
4360         * gst/parse/grammar.y:
4361         * gst/parse/parse.l:
4362           push & pop the state of the lexer for reentrant use case
4363           Fixes #349180
4364
4365 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
4366
4367         * libs/gst/base/gstbasesrc.h:
4368           Note in the docs that the ::newsegment vfunc is not actually used by
4369           GstBaseSrc.
4370
4371 2006-07-28  Wim Taymans  <wim@fluendo.com>
4372
4373         * libs/gst/base/gstcollectpads.c:
4374         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
4375         (gst_collect_pads_clear), (gst_collect_pads_flush),
4376         (gst_collect_pads_event), (gst_collect_pads_chain):
4377         When flushing a pad, also clear the queued buffer so that we don't
4378         accidentally use it when we shouldn't.
4379         Fix leaks by inreffing incomming buffer.
4380         Flush out queued buffers in case of errors.
4381         Fixes #347452.
4382
4383 2006-07-28  Wim Taymans  <wim@fluendo.com>
4384
4385         * docs/random/phonon-gst:
4386         Random notes about a Phonon backend.
4387
4388 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
4389
4390         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4391         Extra debug output
4392         * tests/check/libs/gdp.c: (gst_dp_suite):
4393         Take a whack at fixing the ppc compile using a different define to
4394         disable the broken test.
4395
4396         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4397         Remove excess g_print()
4398
4399 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
4400
4401         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4402         Oops, meant to uncomment this line too to dampen the noise a bit.
4403
4404 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
4405
4406         * gst/parse/grammar.y:
4407         * gst/parse/parse.l:
4408         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4409         (GST_START_TEST), (parse_suite):
4410         Fix some of the leaks exposed by extending the parse-launch testsuite,
4411         and move the 3 I can't figure out into a separate test that won't run
4412         the pipelines unless the appropriate line is uncommented.
4413
4414 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
4415
4416         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4417           Requesting 0 bytes before the end of the file should result in
4418           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
4419           unit test.
4420
4421 2006-07-27  Wim Taymans  <wim@fluendo.com>
4422
4423         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
4424         Fix useless assert, a uint is always positive.
4425
4426         * gst/gststructure.c: (gst_structure_nth_field_name),
4427         (gst_structure_foreach), (gst_structure_map_in_place):
4428         Check input arguments for public functions to avoid obvious crashes.
4429
4430         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
4431         * plugins/elements/gstfakesink.h:
4432         Do less useless typechecking.
4433
4434 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
4435
4436         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4437           Do not use mmap() by default since there are a number of error
4438           conditions that we would like to handle in a non-fatal way that
4439           will result in a SIGBUS if we use mmap(). Examples: external
4440           devices (USB harddrive, portable music player) being unplugged
4441           while in use; file on mounted CD/DVD that can't be read because
4442           the medium is partly damaged. Fixes #348455 and #348475.
4443
4444 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
4445
4446         * gst/gstquery.h:
4447         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
4448         rates are a gdouble
4449
4450 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
4451
4452         * gst/gstregistry.c:
4453           Move big documentation comment into class section header, so that it
4454           appears in the API docs.
4455
4456 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4457
4458         * docs/gst/gstreamer-sections.txt:
4459         Oops. Commit the docs additions too for new API.
4460         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
4461
4462 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4463
4464         * gst/gststructure.c: (gst_structure_id_set),
4465         (gst_structure_id_set_valist):
4466         * gst/gststructure.h:
4467         Add API for setting values into structures without performing
4468         a quark lookup, if the appropriate quark is already known.
4469
4470         API: gst_structure_id_set
4471         API: gst_structure_id_set_valist
4472
4473         * gst/parse/grammar.y:
4474         * gst/parse/parse.l:
4475         Remove some dead code shown by the coverage information.
4476         Don't throw a critical g_warning when encountering a syntax error,
4477         just warn and let the normal error path handle it.
4478
4479         * plugins/elements/gstelements.c:
4480         Bump the rank of filesink up to PRIMARY so that it is preferred over
4481         gnomevfssink for file:// sink uri's
4482
4483         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4484         (GST_START_TEST), (run_delayed_test),
4485         (gst_parse_test_element_base_init),
4486         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
4487         (gst_parse_test_element_change_state),
4488         (gst_register_parse_element), (parse_suite):
4489         Beef up the tests for parse syntax to check that more error cases
4490         fail as they are supposed to. Increases the test coverage a bit.
4491
4492 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
4493
4494         * docs/manual/basics-elements.xml:
4495           Fix gst_element_link() example.
4496
4497         * gst/gstutils.c:
4498           Mention in API docs that one should usually gst_bin_add()
4499           elements to a bin or pipeline before doing the linking.
4500           
4501 2006-07-26  Wim Taymans  <wim@fluendo.com>
4502
4503         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
4504         (gst_subbuffer_get_type), (gst_buffer_create_sub):
4505         Avoid function call for known types by keeping the buffer and
4506         subbuffer GType global.
4507
4508         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4509         Random silly optimisations in read() path.
4510
4511 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4512
4513         * tools/gst-launch.c: (main):
4514           If the top-level of the parse is a normal bin, it doesn't do the
4515           right logic to run as a top-level element, so place it inside a
4516           pipeline.
4517
4518 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
4519
4520         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
4521           Remove superfluous g_object_notify() calls, GObject does
4522           that for us automatically.
4523
4524 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
4525
4526         * gst/gstinfo.h:
4527           on Win32, use dllspec to export the debug category symbols
4528
4529 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
4530
4531         * gst/gsttaglist.c: (_gst_tag_initialize):
4532           Allow more than one GST_TAG_IMAGE per taglist.
4533
4534 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
4535
4536         * gst/gstminiobject.c:
4537           update docs
4538         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
4539         (gst_fd_src_create):
4540           log recurring events at LOG level
4541           add more debug for when the fd gets set
4542
4543 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
4544
4545         * gst/gstparse.c: (gst_parse_launch):
4546           Also remove reentrance checks if flex is MT safe (#348179)
4547          Fix my empty ChangeLog entry below
4548
4549 2006-07-21  Andy Wingo  <wingo@pobox.com>
4550
4551         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
4552
4553         * libs/gst/check/Makefile.am
4554         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
4555         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
4556         * libs/gst/check/gstbufferstraw.h:
4557         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
4558         functions, thus proving I am still a GStreamer haxor. OK I wrote
4559         them a long time ago, but anyways.
4560
4561 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
4562
4563         * configure.ac:
4564         * gst/gstparse.c: (gst_parse_launch):
4565           Check for flex version and omit mutex if we have a MT save flex
4566           (fixes #348179)
4567
4568 2006-07-21  Wim Taymans  <wim@fluendo.com>
4569
4570         * gst/gstparse.c: (gst_parse_launch):
4571         Protect recursive calls to _parse with a recursive mutex
4572         and busy flag.
4573
4574 2006-07-21  Wim Taymans  <wim@fluendo.com>
4575
4576         * tests/check/gst/gstpad.c: (GST_START_TEST):
4577         Fix leak in test.
4578
4579 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
4580
4581         * gst/gstparse.c: (gst_parse_launch):
4582           Do not hang on recursive usage of gst_parse_launch()
4583
4584 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
4585
4586         * gst/gsttaglist.c:
4587           Add some more docs, comments and FIXME 0.11s here and there
4588           and also fix some typos.
4589
4590 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
4591
4592         * gst/gstsegment.h:
4593           Convert tabs to spaces for better readability. 
4594
4595 2006-07-20  Edward Hervey  <edward@fluendo.com>
4596
4597         * tests/check/libs/gdp.c: (gst_dp_suite):
4598         the test_buffer test fails at line 140 on ppc64 at the following
4599         check:
4600         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
4601                 GST_BUFFER_FLAG_IN_CAPS),
4602                 "GST_BUFFER_IN_CAPS flag should have been copied !");
4603         See bug #348114 for more details.
4604
4605 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
4606
4607         * docs/pwg/advanced-scheduling.xml:
4608         * gst/gstpad.c:
4609           Fix typos (#348000).
4610
4611 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
4612
4613         * docs/pwg/intro-basics.xml:
4614           Fix wrong links (#347927).
4615
4616 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
4617
4618         * gst/gstregistry.h:
4619         * gst/gstregistryxml.c: (load_feature),
4620         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
4621         * win32/common/config.h:
4622           make --disable-index work (#342564)
4623
4624 2006-07-18  Wim Taymans  <wim@fluendo.com>
4625
4626         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4627
4628         * gst/Makefile.am:
4629         * gst/gsttrace.h:
4630         The attached patch adds two missing defines to gsttrace.h when tracing
4631         is disabled.  It also corrects one existing define.
4632         Fixes #347756.
4633
4634 2006-07-17  Wim Taymans  <wim@fluendo.com>
4635
4636         * docs/gst/gstreamer-sections.txt:
4637         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
4638         * gst/gst.h:
4639         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
4640         Add two functions to check and change the SIGSEGV behaviour
4641         when loading plugins.
4642         Don't mess with the SIGSEGV handler when we were told not to.
4643         Fixes #347794.
4644         API: gst_segtrap_is_enabled
4645         API: gst_segtrap_set_enabled
4646
4647 2006-07-14  Wim Taymans  <wim@fluendo.com>
4648
4649         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4650         * tests/check/elements/filesrc.c: (GST_START_TEST):
4651         Revert fix for regression in #347408 after release.
4652
4653 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
4654
4655         Patch by: Antoine Tremblay <hexa00 at gmail com>
4656
4657         * gst/gstutils.c: (gst_element_unlink):
4658           Free iterator when done (#347311).
4659
4660         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4661           And add a test case for this.
4662
4663 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
4664
4665         * configure.ac:
4666         Bump nano back to CVS
4667
4668 === release 0.10.9 ===
4669
4670 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
4671
4672         * configure.ac:
4673           releasing 0.10.9, "On the road again"
4674
4675 2006-07-13  Wim Taymans  <wim@fluendo.com>
4676
4677         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4678         * tests/check/elements/filesrc.c: (GST_START_TEST):
4679         Revert pull-0 fix for release. Disable check. Fixes #347408.
4680
4681 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4682
4683         * libs/gst/dataprotocol/dataprotocol.c:
4684         (gst_dp_event_from_packet_1_0):
4685           Fixes #347337: failure to deserialize event packets with
4686           empty payload (only event type)
4687
4688 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4689
4690         * gst/Makefile.am:
4691           do not install a .c file in the header directory
4692
4693 2006-07-13  Edward Hervey  <edward@fluendo.com>
4694
4695         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
4696         GhostPad no longer implicitely use the padtemplates of the targets.
4697         Fixes #347384
4698
4699 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
4700
4701         * gst/gstvalue.c: (gst_value_compare_list),
4702         (gst_value_compare_array), (_gst_value_initialize):
4703         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4704         Make GstValueArray comparison be order dependent as designed.
4705         Add checks for value lists and value array comparisons.
4706         Fixes #347221
4707
4708 2006-07-11  Edward Hervey  <edward@fluendo.com>
4709
4710         * gst/gstbin.c: (activate_pads),
4711         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
4712         (gst_bin_change_state_func):
4713         (de)activate src pads before calling state_change on the childs.
4714         This is to avoid the case where a src ghostpad is blocked (holding the
4715         stream lock), which would block the deactivation of the ghostpad's
4716         target pad.
4717         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
4718         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
4719         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
4720         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
4721         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
4722         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4723         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
4724         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
4725         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
4726         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
4727         (gst_ghost_pad_class_init),
4728         (gst_ghost_pad_internal_do_activate_push),
4729         (gst_ghost_pad_internal_do_activate_pull),
4730         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4731         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4732         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
4733         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
4734         GhostPads now create their internal GstProxyPad at creation (and not
4735         when they're linked, as it was being done previously).
4736         The internal and target pads are linked straight away.
4737         The data will also travel through the other pad in order to make
4738         pad blocking and probes non-hackish (the probe/block now really happens
4739         on the GhostPad and not on the target).
4740         * gst/gstpad.c: (gst_pad_set_blocked_async),
4741         (gst_pad_link_prepare), (gst_pad_push_event):
4742         Remove previous ghostpad cruft.
4743         * gst/gstutils.c: (gst_pad_add_data_probe),
4744         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4745         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4746         (gst_pad_remove_buffer_probe):
4747         Remove previous ghost pad cruft.
4748         Added more detailed debug statements.
4749         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4750         Fix the testsuite for refcounting changes.
4751         The comments about who has references were correct, but the refcount
4752         being checked wasn't the same (!?!).
4753
4754         Fixes #341029
4755
4756 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
4757
4758         * docs/gst/gstreamer-sections.txt:
4759         * gst/gstconfig.h.in:
4760         More docs for configuration options, add docs to gtk-doc.
4761
4762 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
4763
4764         * gst/Makefile.am:
4765         * gst/gstconfig.h.in:
4766         * win32/common/config.h:
4767         Fix build when disabling tracing (fixes #344016). Also start to document
4768         the defines that disable the sub-systems.
4769
4770 2006-07-10  Edward Hervey  <edward@fluendo.com>
4771
4772         * gst/gst.c: (ensure_current_registry_forking):
4773         let's make valgrind happy...
4774
4775 2006-07-09  Wim Taymans  <wim@fluendo.com>
4776
4777         * gst/gstelement.c: (activate_pads),
4778         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
4779         Better pad activation code: Reset the collect value too on resync.
4780         Add some comments.
4781
4782 2006-07-09  Wim Taymans  <wim@fluendo.com>
4783
4784         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
4785         (gst_pad_activate_push):
4786         Use some more macros where it makes sense.
4787         Allow pad mode switching instead of asserting. When a pad
4788         is activated in one mode and we activate it in another, 
4789         deactivate it first before activating it in a different mode.
4790         Fixes #329198.
4791
4792 2006-07-08  Andy Wingo  <wingo@pobox.com>
4793
4794         * tools/gst-launch.c (main): Handle err == NULL.
4795
4796         * gst/gst.c (init_post, ensure_current_registry)
4797         (ensure_current_registry_forking)
4798         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
4799         factoring out the registry scanning into separate functions. Don't
4800         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
4801         Better environment var name/interface suggestions accepted.
4802
4803 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4804
4805         * gst/gstobject.c: (gst_object_set_name_default),
4806         (gst_object_set_name):
4807           Random micro-optimisation: don't use a hash table
4808           with strings as keys and the usual strdup/strcmp
4809           involved, but rather just use the GQuark of the
4810           type name as key, since it needs to be looked up
4811           anyway to get the type name string.
4812
4813         * tests/check/gst/gstobject.c: (GST_START_TEST):
4814           Fix various leaks.
4815
4816 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4817
4818         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
4819         (gst_bin_iterate_all_by_interface):
4820           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
4821           GTypes are gulongs and thus the top 4 bytes might be cut
4822           off on some platforms when doing GPOINTER_TO_INT, leading
4823           to invalid GTypes and bad things happening (see RH bug #179654).
4824           Also add a check to make sure the type passed in is really
4825           an interface type.
4826
4827 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4828
4829         * .cvsignore:
4830           Ignore more.
4831
4832 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4833
4834         * Makefile.am:
4835         * configure.ac:
4836         * gst-element-check.m4:
4837         * gst-element-check.m4.in:
4838           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
4839           instead of the unversioned gst-inspect (#324176, #168659).
4840
4841 2006-07-06  Wim Taymans  <wim@fluendo.com>
4842
4843         * gst/gstmessage.h:
4844         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
4845         warnings.
4846
4847 2006-07-06  Wim Taymans  <wim@fluendo.com>
4848
4849         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4850         (gst_base_src_wait), (gst_base_src_update_length),
4851         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
4852         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
4853         (gst_base_src_loop), (gst_base_src_start),
4854         (gst_base_src_activate_pull):
4855         Update docs.
4856         blocksize == 0 now means the default blocksize when working in push
4857         based mode.
4858         Remove some pointless asserts in _wait function.
4859         Fix offset/length calculations and EOS handling. We can now pull 0
4860         bytes as well, which is allowed.
4861         use _check_get_range() to decide if we can operate in _pull based
4862         mode.
4863         Fix refcounting leak when check_get_range function was not 
4864         implemented.
4865         API GstBaseSrc::blocksize range can be 0 too now (default)
4866
4867         * tests/check/elements/filesrc.c: (GST_START_TEST),
4868         (filesrc_suite):
4869         Added check to test _get_range() behaviour.
4870
4871 2006-07-06  Wim Taymans  <wim@fluendo.com>
4872
4873         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
4874         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
4875         (gst_pad_pull_range):
4876         * gst/gstpad.h:
4877         Lots of comments and docs added to the pad functions.
4878         Flesh out the expected behaviour of the get_range() functions.
4879
4880 2006-07-06  Wim Taymans  <wim@fluendo.com>
4881
4882         * gst/gstbus.h:
4883         * gst/gstclock.h:
4884         * gst/gstevent.h:
4885         * gst/gstiterator.h:
4886         * gst/gstpad.h:
4887         * gst/gstplugin.h:
4888         * gst/gsttask.h:
4889         Remove comma at end of enumerator list. 
4890
4891 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
4892
4893         * win32/common/libgstbase.def:
4894         * win32/common/libgstdataprotocol.def:
4895         * win32/common/libsgtreamer.def:
4896         Add new exported functions.
4897
4898 2006-07-05  Wim Taymans  <wim@fluendo.com>
4899
4900         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
4901         Add some more docs here and there.
4902
4903 2006-07-05  Wim Taymans  <wim@fluendo.com>
4904
4905         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
4906         (gst_base_sink_loop), (gst_base_sink_get_position):
4907         When operating in pull mode update the offset so that we
4908         read sequentially.
4909
4910 2006-07-05  Wim Taymans  <wim@fluendo.com>
4911
4912         * gst/gstregistryxml.c: (read_string):
4913         Avoid strdup. (will happen in libxml, but hey!)
4914
4915         * gst/gsturi.c:
4916         Add some more docs.
4917
4918 2006-07-05  Wim Taymans  <wim@fluendo.com>
4919
4920         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
4921         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
4922         (gst_buffer_suite):
4923         No point in checking if the size of the subbuffer > 0, the
4924         code handles it correclty as demonstrated by unit test.
4925         Also add a unit test for the zero sized _new_and_alloc and
4926         _copy. Fixes #346663.
4927
4928 2006-07-05  Wim Taymans  <wim@fluendo.com>
4929
4930         * libs/gst/base/gstbasetransform.c:
4931         (gst_base_transform_prepare_output_buffer),
4932         (gst_base_transform_buffer_alloc),
4933         (gst_base_transform_handle_buffer):
4934         Make sure the buffer we pass to transform_ip has a refcount of
4935         1 and thus is writable. Fixes #343196
4936
4937 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
4938
4939         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4940         (gst_file_src_init), (gst_file_src_set_property),
4941         (gst_file_src_get_property), (gst_file_src_map_region):
4942         * plugins/elements/gstfilesrc.h:
4943         Add "sequential" property, off by default, to use madvise and hint
4944         to the kernel that sequential access is desired.
4945         Touch all retrieved pages by default to ensure they are pulled
4946         into memory. (Closes #345720)
4947
4948 2006-07-03  Wim Taymans  <wim@fluendo.com>
4949
4950         * docs/design/part-block.txt:
4951         * docs/design/part-dynamic.txt:
4952         Small docs updates.
4953
4954 2006-07-03  Wim Taymans  <wim@fluendo.com>
4955
4956         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
4957         (gst_caps_unref), (gst_static_caps_get),
4958         (gst_caps_append_structure):
4959         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4960         Use GSlice when the glib we build against is >= 2.10
4961
4962 2006-07-03  Wim Taymans  <wim@fluendo.com>
4963
4964         * gst/gstelement.c: (gst_element_pads_activate):
4965         Small cleanup in pad activation code.
4966
4967 2006-07-03  Wim Taymans  <wim@fluendo.com>
4968
4969         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4970
4971         * gst/gst-i18n-app.h:
4972         * gst/gst-i18n-lib.h:
4973         * tools/gst-inspect.c: (print_signal_info):
4974         The attached patch will make the inclusion of gettext.h unconditional in
4975         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
4976         libintl.h in tools/gst-inspect.c.
4977         This allows use of --disable-nls again and fixes #344642.
4978
4979 2006-07-03  Edward Hervey  <edward@fluendo.com>
4980
4981         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
4982         Implement pad blocking on events according to part-block.txt.
4983         More comments on behaviour.
4984         * tests/check/gst/gstevent.c: (test_event):
4985         Send event to peer pad of blocked pad (else it will block).
4986
4987 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4988
4989         * libs/gst/check/gstcheck.c: (gst_check_message_error),
4990         (gst_check_run_suite):
4991           if we get the wrong message, give us the types as string
4992         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4993           Fix a translatable
4994         * tests/check/elements/filesrc.c: (GST_START_TEST):
4995           add a test for trying to open a non-existing file
4996
4997 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4998
4999         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5000           add a test for adding self
5001
5002 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5003
5004         * libs/gst/check/gstcheck.h:
5005           add some assert_ as alias for fail_unless_*
5006         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
5007           increase test coverage
5008
5009 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5010
5011         * Makefile.am:
5012           include lcov.mak for lcov coverage generation
5013         * tools/Makefile.am:
5014           add to CLEANFILES
5015
5016 2006-07-02  Edward Hervey  <edward@fluendo.com>
5017
5018         * tests/check/elements/.cvsignore:
5019         moaping
5020
5021 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5022
5023         * configure.ac:
5024           don't set CFLAGS and friends for gcov, done from GST_GCOV now
5025         * tests/check/Makefile.am:
5026           clean up gcov files
5027
5028 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5029
5030         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
5031           remove gst_caps_simplify; it was not declared and not used
5032           and deprecated in 0.8
5033
5034 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5035
5036         * docs/faq/gst-uninstalled:
5037           don't put empty paths on PYTHONPATH
5038         * docs/gst/gstreamer-sections.txt:
5039           remove some symbols that are not there
5040
5041 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5042
5043         * gst/gstcaps.c: (gst_caps_compare_structures):
5044           whitespace fixes
5045         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5046         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5047           add more tests
5048
5049 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5050
5051         * libs/gst/dataprotocol/Makefile.am:
5052           build dataprotocol test by linking to the lib, instead of
5053           compiling the source, so we get coverage
5054         * tests/check/Makefile.am:
5055         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
5056         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
5057           add a test for filesrc
5058
5059 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5060
5061         * tests/check/gst/gststructure.c: (GST_START_TEST),
5062         (gst_structure_suite):
5063           Push coverage from 59.04% to 70.00%
5064
5065 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5066
5067         * tests/check/Makefile.am:
5068           gst-inspect every element; this makes sure that we also get
5069           coverage on element's get/set functions
5070
5071 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5072
5073         * configure.ac:
5074           set CFLAGS and friends to -O0 if gcov is being used
5075           add GCOV LIBS
5076         * gst/Makefile.am:
5077         * libs/gst/base/Makefile.am:
5078         * libs/gst/check/Makefile.am:
5079         * libs/gst/controller/Makefile.am:
5080         * libs/gst/dataprotocol/Makefile.am:
5081         * libs/gst/net/Makefile.am:
5082         * plugins/elements/Makefile.am:
5083         * plugins/indexers/Makefile.am:
5084           add makefile rules to generate gcov data and clean up
5085         * tests/check/Makefile.am:
5086           add a coverage target that generates an html overview
5087           of coverage data
5088
5089 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5090
5091         * tests/check/elements/fakesink.c:
5092         * tests/check/elements/fakesrc.c:
5093         * tests/check/elements/fdsrc.c:
5094         * tests/check/elements/identity.c:
5095         * tests/check/generic/sinks.c: (gst_sinks_suite):
5096         * tests/check/generic/states.c:
5097         * tests/check/gst/gst.c:
5098         * tests/check/gst/gstabi.c:
5099         * tests/check/gst/gstbin.c:
5100         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
5101         * tests/check/gst/gstbus.c: (gst_bus_suite):
5102         * tests/check/gst/gstcaps.c: (GST_START_TEST):
5103         * tests/check/gst/gstelement.c:
5104         * tests/check/gst/gstevent.c: (gst_event_suite):
5105         * tests/check/gst/gstghostpad.c:
5106         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
5107         * tests/check/gst/gstmessage.c: (gst_message_suite):
5108         * tests/check/gst/gstminiobject.c:
5109         * tests/check/gst/gstobject.c:
5110         * tests/check/gst/gstpad.c:
5111         * tests/check/gst/gstpipeline.c:
5112         * tests/check/gst/gstplugin.c:
5113         * tests/check/gst/gstquery.c: (gst_query_suite):
5114         * tests/check/gst/gstsegment.c: (gst_segment_suite):
5115         * tests/check/gst/gststructure.c:
5116         * tests/check/gst/gstsystemclock.c:
5117         * tests/check/gst/gsttag.c:
5118         * tests/check/gst/gsttask.c: (gst_task_suite):
5119         * tests/check/gst/gstutils.c:
5120         * tests/check/gst/gstvalue.c:
5121         * tests/check/libs/adapter.c:
5122         * tests/check/libs/basesrc.c:
5123         * tests/check/libs/collectpads.c:
5124         * tests/check/libs/controller.c:
5125         * tests/check/libs/gdp.c: (gst_dp_suite):
5126         * tests/check/libs/gstnetclientclock.c:
5127         * tests/check/libs/gstnettimeprovider.c:
5128         * tests/check/libs/libsabi.c: (libsabi_suite):
5129         * tests/check/libs/typefindhelper.c:
5130         * tests/check/pipelines/cleanup.c:
5131         * tests/check/pipelines/parse-launch.c:
5132         * tests/check/pipelines/simple-launch-lines.c:
5133         * tests/check/pipelines/stress.c: (stress_suite):
5134           use the new macro
5135
5136 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5137
5138         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
5139         * libs/gst/check/gstcheck.h:
5140           create a macro and function so that the simple unit test
5141           case can be just one macro to create main()
5142
5143 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
5144
5145         * gst/gstbin.c: (gst_bin_restore_thyself):
5146         * gst/gstxml.c: (gst_xml_make_element):
5147           Fix deserialisation from XML. Set parent manually
5148           instead of using gst_bin_add(), since gst_bin_add()
5149           will unlink all pads of the element being added.
5150           Fixes #341667.
5151
5152 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
5153
5154         Patch by: Peter Kjellerstedt <pkj at axis com>
5155
5156         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
5157           Fix missing g_strdup() and double free when using the
5158           --gst-plugin-load command line option (#346097).
5159
5160 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
5161
5162         * gst/gstinfo.c:
5163           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
5164
5165         * libs/gst/net/gstnetclientclock.c:
5166         * libs/gst/net/gstnettimeprovider.c:
5167           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
5168
5169 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
5170
5171         * docs/manual/advanced-dataaccess.xml:
5172           Fix buffer probe example compilation in
5173           ADM (#345708).
5174         
5175 2006-06-22  Edward Hervey  <edward@fluendo.com>
5176
5177         * gst/gstelement.c: (gst_element_pads_activate):
5178         We need to deactivate src pads first and then sink pads.
5179         The reason is the src pads might be blocking while holding the streaming
5180         lock, so we need to deactivate them first so that deactivating the sink
5181         pads doesn't block (since it will require the streaming lock).
5182
5183 2006-06-22  Wim Taymans  <wim@fluendo.com>
5184
5185         * libs/gst/base/gstbasetransform.c:
5186         (gst_base_transform_buffer_alloc):
5187         Forgot to remove two unneeded unrefs.
5188         Simplify a check _is_equal allready checks the obvious case.
5189
5190 2006-06-22  Wim Taymans  <wim@fluendo.com>
5191
5192         * docs/design/part-block.txt:
5193         Some docs about what pad_block should do.
5194
5195 2006-06-22  Wim Taymans  <wim@fluendo.com>
5196
5197         * gst/gstcaps.c: (gst_caps_replace):
5198         Fix crasher when passed NULL. Doc clarification.
5199         Optimize for the trivial case.
5200
5201         * gst/gstpipeline.c: (gst_pipeline_change_state):
5202         Small cleanups.
5203
5204         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5205         Small documentation cleanup.
5206
5207         * libs/gst/base/gstbasetransform.c:
5208         (gst_base_transform_buffer_alloc):
5209         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
5210         is what we need and it avoids a whole lot of redundant 
5211         refcount operations.
5212
5213 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
5214
5215         Patch by: Philip Jägenstedt  <philip at lysator liu se>
5216
5217         * docs/manual/advanced-dataaccess.xml:
5218           Fix 'Embedding static elements' section to use
5219           GST_PLUGIN_DEFINE_STATIC (#345607).
5220
5221 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5222
5223         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
5224           Attempt to 'fix' spuriously failing test case: it seems like the
5225           timeout of half a second is simply too small when the system is under
5226           load otherwise, and the timeout doesn't really seem to serve any
5227           particular purpose here. Give the pipeline a few seconds to preroll
5228           first, and then give it another half a second to go from PAUSED to
5229           PLAYING and marshal the message into the main thread.
5230
5231 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5232
5233         * tools/gst-feedback-m.m:
5234           Don't only use unversioned tools, try versioned tools as well
5235           (#345086).
5236
5237 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5238
5239         * gst/gstbus.c: (gst_bus_class_init):
5240           Fix some typos, make docs more explicit.
5241
5242 2006-06-20  Wim Taymans  <wim@fluendo.com>
5243
5244         * tests/check/gst/gstghostpad.c: (block_callback),
5245         (GST_START_TEST), (gst_ghost_pad_suite):
5246         Added some more ghostpad tests, mainly blocking
5247         and probes.
5248
5249 2006-06-16  Wim Taymans  <wim@fluendo.com>
5250
5251         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
5252         (gst_file_sink_close_file), (gst_file_sink_do_seek),
5253         (gst_file_sink_event), (gst_file_sink_render):
5254         * plugins/elements/gstfilesink.h:
5255         Check if we can seek in the file instead of assuming
5256         we always can. Post an error when we are asked to seek in a
5257         non-seekable file (like a fifo). Fixes #343312.
5258         Some cleanups.
5259
5260 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
5261
5262         * tools/gst-launch.1.in:
5263           Un-garble (fourcc) bit in filtered caps section.
5264
5265 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
5266
5267         * docs/manual/advanced-autoplugging.xml:
5268         * docs/manual/basics-helloworld.xml:
5269         * docs/manual/highlevel-components.xml:
5270           Don't leak bus reference in sample code.
5271
5272 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
5273
5274         * autogen.sh:
5275           Add default for new --enable-plugin-docs switch.
5276
5277         * configure.ac:
5278           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
5279           Fixes #344039.
5280
5281         * docs/Makefile.am:
5282           Use new ENABLE_PLUGIN_DOCS conditional.
5283
5284 2006-06-14  Wim Taymans  <wim@fluendo.com>
5285
5286         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
5287         Make it clear with a FIXME and a real define what the #if 0
5288         previously disabled.
5289
5290 2006-06-14  Wim Taymans  <wim@fluendo.com>
5291
5292         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
5293         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5294         * libs/gst/base/gstbasetransform.c:
5295         (gst_base_transform_sink_eventfunc):
5296         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
5297         Don't randomly and silently reset a segment when the format 
5298         changes as this is a bug somewhere upstream. Fixes #330379.
5299
5300 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5301
5302         Patch by: Wouter Paesen  <wouter at kangaroot net>
5303
5304         * libs/gst/controller/gstcontroller.c:
5305         (gst_controlled_property_new):
5306           Fix controlling of float properties (#344849).
5307
5308         * tests/check/libs/controller.c:
5309         (gst_test_mono_source_get_property),
5310         (gst_test_mono_source_set_property),
5311         (gst_test_mono_source_class_init), (GST_START_TEST):
5312           While we're at it, add some float stuff to unit test.
5313
5314 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5315
5316         * docs/README:
5317         * docs/images/gdp-header.svg:
5318           add a gdp image
5319         * docs/libs/Makefile.am:
5320         * docs/libs/gdp-header.png:
5321         * libs/gst/dataprotocol/dataprotocol.c:
5322           add it to the API docs
5323         * docs/manual/intro-motivation.xml:
5324           fix typo
5325
5326 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
5327
5328         * gst/gst.c: (scan_and_update_registry), (init_post):
5329           If the fork()'ed child process can't write the updated registry cache
5330           file to disk for some reason, make it exit with a failure exit code,
5331           so that the parent can then re-scan the plugins itself and update the
5332           registry structures in memory and work with that (rather than failing
5333           when creating elements because seemingly no plugins are available).
5334           Refactor registry scanning code into separate function for this and
5335           also separate fork() and non-fork() code paths. Fixes #344748.
5336
5337 2006-06-13  Wim Taymans  <wim@fluendo.com>
5338
5339         * docs/manual/advanced-dataaccess.xml:
5340         Fix wrong PluginDesc. Fixes #344755.
5341
5342 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
5343
5344         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5345           Fix silly bug that prevented us from creating
5346           ~/.gstreamer-0.10 and writing the registry in one
5347           go (the first call to g_mkstemp() would overwrite the
5348           placeholder in the template string, so the second call
5349           to g_mkstemp() after creating the missing directory
5350           would then error out with 'invalid argument').
5351
5352 2006-06-13  Edward Hervey  <edward@fluendo.com>
5353
5354         * gst/gst.c: (init_post):
5355         Free string.
5356
5357 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5358
5359         * gst/glib-compat-private.h:
5360         * gst/glib-compat.c:
5361         * gst/glib-compat.h:
5362         * gst/gstvalue.c: (gst_value_serialize_flags):
5363           remove GLib 2.6 compatibility code
5364
5365 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
5366
5367         * gst/parse/Makefile.am:
5368           Fix build with 'make -j N' even more (#340016).
5369
5370 2006-06-12  Wim Taymans  <wim@fluendo.com>
5371
5372         * docs/gst/gstreamer-sections.txt:
5373         Fix docs.
5374
5375 2006-06-12  Wim Taymans  <wim@fluendo.com>
5376
5377         * gst/gstsegment.c: (gst_segment_set_duration),
5378         (gst_segment_set_last_stop), (gst_segment_set_seek),
5379         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5380         (gst_segment_to_running_time), (gst_segment_clip):
5381         Use G_UNLIKELY to help the compiler a bit.
5382
5383 2006-06-12  Wim Taymans  <wim@fluendo.com>
5384
5385         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
5386
5387         * gst/gstevent.c: (gst_event_get_type):
5388         * gst/gstmessage.c:
5389         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
5390         (gst_pad_push):
5391         constify quark registration strings. Fixes #344115
5392         Avoid unneeded type checking is _pad_push() by internally
5393         calling gst_pad_chain_unchecked().
5394
5395 2006-06-12  Wim Taymans  <wim@fluendo.com>
5396
5397         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
5398         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
5399         (gst_subbuffer_finalize), (gst_buffer_create_sub),
5400         (gst_buffer_is_span_fast), (gst_buffer_span):
5401         Init _type for consistency.
5402         Use _FLAGS macro to avoid type check.
5403         Avoid unneeded type checks in subbufer code.
5404
5405 2006-06-12  Wim Taymans  <wim@fluendo.com>
5406
5407         * gst/gst.c: (gst_debug_help):
5408         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
5409         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5410         (gst_plugin_feature_list_free):
5411         * gst/gstregistry.c: (gst_registry_add_plugin),
5412         (gst_registry_add_feature), (gst_registry_plugin_filter),
5413         (gst_registry_feature_filter), (gst_registry_find_plugin),
5414         (gst_registry_find_feature), (gst_registry_get_plugin_list),
5415         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
5416         * gst/gstregistryxml.c: (load_feature),
5417         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
5418         * gst/gstminiobject.c: (gst_mini_object_unref),
5419         (gst_mini_object_replace), (gst_value_mini_object_free),
5420         (gst_value_mini_object_copy):
5421         Use _CAST macros to avoid unneeded type checking.
5422         Added some more G_UNLIKELY.
5423
5424 2006-06-12  Wim Taymans  <wim@fluendo.com>
5425
5426         * gst/gstbuffer.h:
5427         Avoid unneeded type checking.
5428         API: GST_BUFFER_IS_DISCONT
5429
5430         * gst/gstminiobject.h:
5431         Avoid type check in flag accessor.
5432
5433         * gst/gstelementfactory.h:
5434         * gst/gstplugin.h:
5435         * gst/gstpluginfeature.h:
5436         Add _CAST macros.
5437         API: GST_ELEMENT_FACTORY_CAST
5438         API: GST_PLUGIN_CAST
5439         API: GST_PLUGIN_FEATURE_CAST
5440
5441 2006-06-12  Wim Taymans  <wim@fluendo.com>
5442
5443         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
5444         (gst_object_unref):
5445         Add G_UNLIKELY in type registration.
5446         Avoid type check in _ref/_unref since that is also
5447         done in glib.
5448
5449 2006-06-12  Wim Taymans  <wim@fluendo.com>
5450
5451         * gst/gsterror.c: (gst_g_error_get_type):
5452         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5453         (gst_static_pad_template_get_type):
5454         * gst/gsttaglist.c: (gst_tag_list_get_type):
5455         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
5456         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
5457         * gst/gsturi.c: (gst_uri_handler_get_type):
5458         * gst/gstvalue.c: (gst_date_get_type):
5459         * gst/gstxml.c: (gst_xml_get_type):
5460         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5461         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5462         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
5463         Add G_UNLIKELY in type registration.
5464
5465 2006-06-12  Wim Taymans  <wim@fluendo.com>
5466
5467         * tools/gst-inspect.c: (print_signal_info):
5468         Properly print enum values.
5469
5470 2006-06-12  Wim Taymans  <wim@fluendo.com>
5471
5472         * gst/gstinfo.c: (gst_debug_set_active),
5473         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
5474         * gst/gstinfo.h:
5475         Add some G_[UN]LIKELY.
5476         Maintain __gst_debug_min to avoid formatting the arguments of
5477         debug messages that will be dropped anyway to avoid a lot of 
5478         overhead from the debugging system.
5479
5480 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5481
5482         * po/POTFILES.in:
5483         * po/POTFILES.skip:
5484           add missing files containing translatable strings, tell intltool about
5485           one exception
5486
5487 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5488
5489         * tests/check/libs/.cvsignore:
5490         add test-binary to ignore list
5491
5492 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5493
5494         * docs/libs/gstreamer-libs-docs.sgml:
5495         reorder (put dp into a chapter) and indent
5496
5497 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5498
5499         * configure.ac:
5500           back to HEAD
5501
5502 === release 0.10.8 ===
5503
5504 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
5505
5506         * configure.ac:
5507           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
5508
5509 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5510
5511         * gst/gst.c: (init_post):
5512           move pid declaration to declaration block
5513
5514 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5515
5516         * gst/gst.c: (init_post):
5517           use _exit() instead of exit() in our forked child; this ensures
5518           that none of the registered exit handlers from whatever is using
5519           GStreamer get executed.  This fixes gnome-mixer-applet failing
5520           to load, because ORBit would shut down.
5521           Spotted by: Edward Hervey  <edward@fluendo.com>
5522           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
5523           Fixes #344474
5524
5525 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5526
5527         * configure.ac:
5528           back to TRUNK
5529
5530 === release 0.10.7 ===
5531
5532 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
5533
5534         * configure.ac:
5535           releasing 0.10.7, "Soepeke, ik zie ou"
5536
5537 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
5538
5539         * configure.ac:
5540         * po/af.po:
5541         * po/az.po:
5542         * po/bg.po:
5543         * po/ca.po:
5544         * po/cs.po:
5545         * po/de.po:
5546         * po/en_GB.po:
5547         * po/fr.po:
5548         * po/it.po:
5549         * po/nb.po:
5550         * po/nl.po:
5551         * po/ru.po:
5552         * po/sq.po:
5553         * po/sr.po:
5554         * po/sv.po:
5555         * po/tr.po:
5556         * po/uk.po:
5557         * po/vi.po:
5558         * po/zh_CN.po:
5559         * po/zh_TW.po:
5560         * win32/common/config.h:
5561           0.10.6.2 prerelease
5562
5563 2006-06-07  Wim Taymans  <wim@fluendo.com>
5564
5565         * gst/gstindex.c: (gst_index_gtype_resolver):
5566         * tools/gst-xmlinspect.c: (print_plugin_info):
5567         Fix leak spotted by coverity checker. Fixes #343827
5568         Fix another other leak found by paolo borelli.
5569
5570 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5571
5572         * libs/gst/dataprotocol/dataprotocol.c:
5573         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5574         (gst_dp_version_get_type), (gst_dp_init),
5575         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
5576         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
5577         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
5578         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
5579         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
5580         (gst_dp_packetizer_free):
5581         * libs/gst/dataprotocol/dataprotocol.h:
5582           API: add a GstDPPacketizer object, and create/free functions
5583           API: add GstDPVersion enum
5584           Add 1.0 event function that uses the string serialization
5585           Serialize more useful buffer flags
5586           Fixes #343988
5587
5588 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5589
5590         * tests/check/Makefile.am:
5591         * tests/check/gst/gstabi.c:
5592         * tests/check/gst/struct_ppc64.h:
5593         * tests/check/libs/libsabi.c:
5594         * tests/check/libs/struct_ppc64.h:
5595           add ppc64 structure sizes
5596
5597 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5598
5599         * tests/check/Makefile.am:
5600         * tests/check/gst/gstabi.c:
5601         * tests/check/gst/struct_x86_64.h:
5602         * tests/check/libs/libsabi.c:
5603         * tests/check/libs/struct_x86_64.h:
5604           generate and add structure size lists for x86_64
5605
5606 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5607
5608         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5609         * libs/gst/check/gstcheck.h:
5610           factor out the method from tests that checks size of structures,
5611           and add code to generate the header containing these sizes
5612         * tests/check/gst/gstabi.c: (GST_START_TEST):
5613         * tests/check/gst/struct_i386.h:
5614         * tests/check/libs/libsabi.c: (GST_START_TEST):
5615         * tests/check/libs/struct_i386.h:
5616           use it
5617
5618 2006-06-06  Michael Smith  <msmith@fluendo.com>
5619
5620         * gst/gstsegment.h:
5621           Don't use c++-style comments, fixes #343929
5622
5623 2006-06-05  Edward Hervey  <edward@fluendo.com>
5624
5625         * gst/gst.c:
5626         plugin_paths is not used if we build without registry support.
5627
5628         * gst/gstsegment.c: (gst_segment_copy): 
5629         _copy() was always returning NULL...
5630
5631 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5632
5633         * libs/gst/dataprotocol/dataprotocol.c:
5634         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5635         (gst_dp_packet_from_event):
5636           factor out CRC code
5637
5638 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5639
5640         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
5641           make sure we unset caps
5642
5643 2006-06-02  Michael Smith  <msmith@fluendo.com>
5644
5645         * libs/gst/check/gstcheck.c: (gst_check_init),
5646         (gst_check_chain_func):
5647         * libs/gst/check/gstcheck.h:
5648           Add a cond/mutex to the check support lib, signal this whenever we
5649           add to the buffers list. This will allow tests to not busy-wait on
5650           the buffer-list.
5651
5652 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5653
5654         * libs/gst/dataprotocol/dataprotocol.c:
5655         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5656         (gst_dp_packet_from_event):
5657           factor out some common header init code
5658
5659 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5660
5661         * docs/libs/gstreamer-libs-sections.txt:
5662         * docs/libs/tmpl/gstdataprotocol.sgml:
5663         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
5664         * libs/gst/dataprotocol/dataprotocol.h:
5665           API: make gst_dp_crc() public
5666
5667 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
5668
5669         * plugins/indexers/gstindexers.c: (plugin_init):
5670         conditionally register fileindexer (fixes #343598)
5671
5672 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
5673
5674         * gst/gsttagsetter.h:
5675         Can't cast ifaces to a class
5676
5677         * libs/gst/net/gstnetclientclock.h:
5678         * libs/gst/net/gstnettimeprovider.h:
5679         * plugins/elements/gstfakesink.h:
5680         * plugins/elements/gstfakesrc.h:
5681         * plugins/elements/gstfdsink.h:
5682         * plugins/elements/gstfdsrc.h:
5683         * plugins/elements/gstfilesink.h:
5684         * plugins/elements/gstfilesrc.h:
5685         * plugins/elements/gstidentity.h:
5686         * plugins/elements/gstqueue.h:
5687         * plugins/elements/gsttee.h:
5688         * plugins/indexers/gstfileindex.c:
5689         * plugins/indexers/gstmemindex.c:
5690         * tests/old/examples/plugins/example.h:
5691         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
5692
5693 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5694
5695         * libs/gst/dataprotocol/dataprotocol.c:
5696         (gst_dp_header_from_buffer):
5697           make sure we zero the whole ABI-compatible area
5698
5699 2006-06-01  Wim Taymans  <wim@fluendo.com>
5700
5701         Patch by: Alessandro Decina <alessandro at nnva dot org>
5702
5703         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
5704         Make sure the EOS flag is cleared from pads after a flush
5705         or stop. Fixes #343538.
5706
5707         * tests/check/libs/collectpads.c: (GST_START_TEST),
5708         (gst_collect_pads_suite):
5709         Added test for collectpads reusage after EOS.
5710
5711 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
5712
5713         * gst/gst.c:
5714          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
5715         * win32/common/libgstbase.def:
5716          export gst_collect_pads_set_flushing
5717         * win32/common/libgstreamer.def:
5718          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
5719          gst_value_fraction_multiply
5720         * win32/vs6/gst_inspect.dsp:
5721          add a link to intl.lib
5722
5723 2006-05-30  Wim Taymans  <wim@fluendo.com>
5724
5725         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5726         (gst_collect_pads_chain):
5727         Handle the case where a pad is removed from the collection
5728         that could cause the other pads to become collectable.
5729
5730 2006-05-30  Wim Taymans  <wim@fluendo.com>
5731
5732         * gst/gstelement.c:
5733         Clarify the use of _release_request_pad() and
5734         _get_request_pad() a bit better.
5735
5736         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
5737         (gst_adapter_take_buffer):
5738         Fix some doc and comment typos.
5739
5740 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5741
5742         * docs/gst/gstreamer-sections.txt:
5743         * docs/libs/gstreamer-libs-sections.txt:
5744           add declared symbols
5745
5746 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
5747
5748         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5749         Add debug that can be enabled using a #define at the top of the file,
5750         for dumping stats about how late/early we were when waking up from
5751         waiting on the clock.
5752
5753 2006-05-30  Wim Taymans  <wim@fluendo.com>
5754
5755         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
5756         When rebuilding the pad list, don't leak the previous list.
5757
5758 2006-05-30  Wim Taymans  <wim@fluendo.com>
5759
5760         Patch by: Lutz Mueller <lutz at topfrose dot de>
5761
5762         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5763         (gst_base_src_get_query_types), (gst_base_src_update_length):
5764         Publish supported query types.
5765         Update last_stop field in get_range mode so the position
5766         query works. Fixes #342321.
5767
5768 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
5769
5770         * docs/gst/gstreamer-sections.txt:
5771         * gst/gsttaglist.c: (_gst_tag_initialize):
5772         * gst/gsttaglist.h:
5773           API: add GST_TAG_PREVIEW_IMAGE (#343341).
5774
5775 2006-05-30  Wim Taymans  <wim@fluendo.com>
5776
5777         Patch by: Alessandro Decina <alessandro at nnva dot org>
5778
5779         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5780         Unlock mutex when removing an unknown pad.
5781         Fixes #343334.
5782
5783         * tests/check/Makefile.am:
5784         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
5785         (push_event), (setup), (teardown), (GST_START_TEST),
5786         (gst_collect_pads_suite), (main):
5787         Added collecpads check, disabled for now as check crashes for
5788         some reason.
5789
5790 2006-05-29  Wim Taymans  <wim@fluendo.com>
5791
5792         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
5793         Don't leak pads lists.
5794
5795 2006-05-29  Wim Taymans  <wim@fluendo.com>
5796
5797         * docs/libs/gstreamer-libs-sections.txt:
5798         * libs/gst/base/gstcollectpads.c:
5799         (gst_collect_pads_set_flushing_unlocked),
5800         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
5801         (gst_collect_pads_stop):
5802         * libs/gst/base/gstcollectpads.h:
5803         API: gst_collect_pads_set_flushing()
5804         Added api to set the pads to flushing, useful for seeking
5805         code in elements using collectpads.
5806         Clear segment when receiving a flush.
5807
5808 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
5809
5810         * gst/gst.c: (add_path_func), (init_post):
5811           Don't scan registry paths passed via --gst-plugin-path immediately
5812           (will crash, because absolutely nothing is set up and no types are
5813           registered etc.); do this later in init_post(). Fixes #343057.
5814
5815 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5816
5817         * gst/gst.c: (init_post):
5818           if we have fork, fork while reading/rebuilding the registry
5819           so the parent doesn't take the hit of having all plugins loaded
5820           in memory.  Fixes #342777.
5821         * configure.ac:
5822           Check if we have fork()
5823         * win32/common/config.h.in:
5824           no fork() on win32
5825
5826 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
5827
5828         * plugins/elements/gstelements.c:
5829         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5830         (gst_file_src_init), (gst_file_src_set_property),
5831         (gst_file_src_get_property), (gst_file_src_start):
5832         * plugins/elements/gstfilesrc.h:
5833           API: GstFileSrc::use-mmap
5834
5835         Add a use-mmap property to enable easier testing of all code paths.
5836         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
5837         in the absence of gnomevfssrc. (Closes #340501)
5838
5839 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5840
5841         * tools/gst-inspect.c:
5842         Add missing include, removes warning of ngettext not being defined on
5843         some arches.
5844
5845 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
5846
5847         * gst/gstvalue.c: (gst_value_deserialize_fraction):
5848         Handle NULL input and output pointers silently as a failed conversion,
5849         rather than g_warnings.
5850
5851 2006-05-25  Wim Taymans  <wim@fluendo.com>
5852
5853         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
5854         Initialize variable before using. Fixes #342820.
5855
5856 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
5857
5858         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
5859           Fix off-by-one bug that would only allow peeks of N-1 bytes
5860           from the start even if the buffer to typefind on contains
5861           in fact N bytes of data (makes vorbis typefinding from a
5862           vorbis identification header buffer work).
5863
5864         * tests/check/Makefile.am:
5865         * tests/check/libs/.cvsignore:
5866         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
5867         (gst_typefindhelper_suite), (main), (foobar_typefind),
5868         (plugin_init):
5869           Add very basic unit test for gst_type_find_helper_for_buffer()
5870           that checks for the problem fixed above.
5871
5872 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5873
5874         * tools/gst-inspect.c: (print_interfaces),
5875         (print_element_properties_info), (print_element_list), (main):
5876           add more translatable strings
5877
5878 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
5879
5880         Patch by: Julien Moutte  <julien at moutte net>
5881
5882         * docs/gst/gstreamer-sections.txt:
5883           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
5884           
5885         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
5886         (gst_fake_sink_preroll):
5887         * plugins/elements/gstfakesink.h:
5888           API: Add new GstFakeSink::preroll-handoff signal (#337100).
5889
5890 2006-05-23  Wim Taymans  <wim@fluendo.com>
5891
5892         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
5893         * gst/gstpad.h:
5894         Added _CUSTOM error and success GstFlowReturn that can be
5895         used be elements internally. 
5896         Added macro to check for SUCCESS flowreturns.
5897         API: GST_FLOW_CUSTOM_SUCCESS
5898         API: GST_FLOW_CUSTOM_ERROR
5899         API: GST_FLOW_IS_SUCCESS
5900
5901         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5902         Added check for GstFlowReturn sanity.
5903
5904 2006-05-23  Wim Taymans  <wim@fluendo.com>
5905
5906         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5907
5908         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5909         (gst_collect_pads_event):
5910         clear/reset segment info in FLUSH_STOP.
5911         Fixes #336929.
5912
5913 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
5914
5915         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
5916         (gst_collect_pads_check_collected):
5917         Flush queued buffer on _stop(), fixes playing again (#342454)
5918
5919 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5920
5921         * tests/check/gst/gststructure.c: (GST_START_TEST),
5922         (gst_structure_suite):
5923           add a test for a complete structure
5924
5925 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
5926
5927         * docs/faq/developing.xml:
5928         * docs/faq/faq.xml:
5929         * docs/faq/troubleshooting.xml:
5930         * docs/faq/using.xml:
5931           Some minor FAQ updates that won't change the fact that
5932           our FAQ is badly structured, full of information hardly
5933           anyone new to GStreamer needs to know and lacking lots
5934           of information people constantly ask for.
5935           
5936 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
5937
5938         * gst/gstpad.c: (gst_pad_set_caps):
5939           Short-circuit gst_pad_set_caps if setting the existing
5940           caps pointer again, and avoid printing debug and 
5941           reffing/unreffing the caps.
5942
5943         * plugins/elements/gstqueue.c: (gst_queue_push_one):
5944           There's actually no need to set the caps before pushing -
5945           the acceptcaps method will handle it anyway.
5946
5947 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
5948
5949         * docs/gst/gstreamer-sections.txt:
5950         * win32/common/libgstreamer.def:
5951         * gst/gstutils.c: (gst_element_seek_simple):
5952         * gst/gstutils.h:
5953           API: add gst_element_seek_simple() (#342238).
5954
5955 2006-05-18  Edward Hervey  <edward@fluendo.com>
5956
5957         * gst/gsttypefind.c: (gst_type_find_get_type):
5958         * gst/gsttypefind.h:
5959         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
5960         registered for GstTypeFind pointers. This allows wrapping the structure
5961         in bindings (i.e. gst-python).
5962
5963 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
5964
5965         * gst/gsttagsetter.c:
5966           Docs additions and fixes (see #339918).
5967
5968 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
5969
5970         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5971         The caps intersection algorithm can produce multiple copies of the
5972         caps. Until that is fixed, we need to simplify the result to be
5973         sure whether the allowed caps are fixed or not.
5974
5975         * plugins/elements/gstqueue.c: (gst_queue_init),
5976         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
5977         (gst_queue_push_one):
5978         Proxied buffer alloc should not set the caps on the source pad.
5979         When pushing buffers, we always accept the caps change that triggers.
5980         This prevents negotiation errors caused by caps changing mid-stream 
5981         and then being refused on our source pad (because upstream is now
5982         refusing those caps).
5983
5984 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
5985
5986         * tests/examples/helloworld/helloworld.c: (main):
5987           Must plug audioconvert and audioresample between decoder
5988           and audio sink.
5989
5990 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
5991
5992         * gst/gstregistryxml.c: (read_string), (load_pad_template),
5993         (load_feature), (load_plugin):
5994         Allow empty strings for some of the plugin fields so we don't 
5995         drop valid plugin entries that were written out correctly
5996         (Fixes #341479)
5997
5998 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
5999         
6000         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
6001           Use g_remove and g_rename instead of remove and rename that don't 
6002           handle utf8 characters. rename was failing for users who had specific
6003           characters in their name then the registry was built at each 
6004           gstreamer init.
6005         * win32/vs6/gst_inspect.dsp:
6006         * win32/vs6/gst_launch.dsp:
6007         * win32/vs6/libgstbase.dsp:
6008         * win32/vs6/libgstcoreelements.dsp:
6009         * win32/vs6/libgstreamer.dsp:
6010           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
6011           build of libgstreamer and clean unused libraries in projects link 
6012           settings.
6013
6014 2006-05-17  Edward Hervey  <edward@fluendo.com>
6015
6016         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6017         The queue is not responsible for pushing an EOS when receiving a fatal
6018         flow error. It's up to the real element driving the pipeline to do that.
6019
6020 2006-05-16  Edward Hervey  <edward@fluendo.com>
6021
6022         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6023         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
6024         buffer returned a fatal error. It should just send an EOS and stop
6025         its task.
6026         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
6027         when pushing buffers on the queue and will be able to handle the event.
6028
6029 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
6030
6031         * docs/manual/basics-bins.xml:
6032         * docs/manual/basics-init.xml:
6033           Fix typos and minor errors in sample code (#341856).
6034
6035 2006-05-16  Wim Taymans  <wim@fluendo.com>
6036
6037         * docs/design/part-qos.txt:
6038         Fix indexes in formulas to make more sense.
6039
6040 2006-05-15  Wim Taymans  <wim@fluendo.com>
6041
6042         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6043         Don't report POSITION based on clock time if sync is
6044         disabled in a sink.
6045
6046 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
6047
6048         * gst/gstobject.h:
6049           Add cast to make compiler happy - refcount variable was a gint
6050           in GstObject but is a guint in GObject and g_atomic_int_get()
6051           wants a gint *.
6052
6053 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
6054
6055         * gst/parse/Makefile.am:
6056           chain commands using &&, which also makes parallel make work
6057
6058 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
6059
6060         * docs/gst/gstreamer-sections.txt:
6061         * gst/gstevent.c:
6062         * gst/gstevent.h:
6063         * gst/gstmessage.h:
6064           Minor docs fixes.
6065
6066 === release 0.10.6 ===
6067
6068 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
6069
6070         * configure.ac:
6071           releasing 0.10.6, "Take the cannoli"
6072
6073 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
6074
6075         * tools/gst-launch.c: (print_tag):
6076           Fix use of uninitialized variable in the hypothetical
6077           case that some broken plugin creates a GST_TAG_IMAGE
6078           tag containing a NULL buffer (#341667).
6079
6080 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
6081
6082         * tools/gst-launch.c: (print_tag):
6083           Print something more intelligible for image tags when
6084           using the -t switch (#341556).
6085
6086 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6087
6088         * Makefile.am:
6089           updates for win32
6090         * configure.ac:
6091           define GST_MAJORMINOR so we have it available in win32/common/config.h
6092           Possibly remove it from our Makefile.am files later
6093         * win32/common/config.h:
6094         * win32/common/config.h.in:
6095           added GST_MAJORMINOR
6096         * win32/common/gstenumtypes.c: (register_gst_resource_error):
6097         * win32/common/gstversion.h:
6098           updated
6099
6100 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
6101
6102         * win32/MANIFEST:
6103           Update win32 files listing.
6104         * win32/common/gstversion.h:
6105           Add GST_MAJORMINOR definition.
6106         * win32/common/libgstreamer.def:
6107           Add new exported functions.
6108           
6109 2006-05-12  Michael Smith  <msmith@fluendo.com>
6110
6111         * gst/gstplugin.c: (gst_plugin_load_file):
6112           If an so file has no plugin entry point, unload the module.
6113
6114 2006-05-11  Wim Taymans  <wim@fluendo.com>
6115
6116         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
6117         (gst_queue_set_property):
6118         Don't forget to signal the _chain or _loop function 
6119         when the queue size or thresholds change since that might
6120         cause them to make progres again.
6121
6122 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
6123
6124         * gst/gstclock.c: (gst_clock_class_init):
6125         * gst/gstindex.c: (gst_index_class_init):
6126         * gst/gstobject.c: (gst_object_class_init):
6127         * gst/gstpad.c: (gst_pad_class_init):
6128         * gst/gstpipeline.c: (gst_pipeline_class_init):
6129         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6130         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
6131         * libs/gst/base/gstbasetransform.c:
6132         (gst_base_transform_class_init):
6133         * libs/gst/net/gstnetclientclock.c:
6134         (gst_net_client_clock_class_init):
6135         * libs/gst/net/gstnettimeprovider.c:
6136         (gst_net_time_provider_class_init):
6137         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
6138         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6139         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6140         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
6141         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6142         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
6143         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
6144         * plugins/elements/gstidentity.c: (gst_identity_class_init):
6145         * plugins/elements/gsttee.c: (gst_tee_class_init):
6146         * tests/old/examples/plugins/example.c: (gst_example_class_init):
6147         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6148           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
6149
6150 2006-05-11  Wim Taymans  <wim@fluendo.com>
6151
6152         * gst/gstbuffer.c: (_gst_buffer_initialize):
6153         Register subbufer along with the buffer type so that
6154         it does not accidentally gets registered from N
6155         different streaming threads in a non threadsafe way.
6156
6157 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
6158
6159         * gst/gstbuffer.h:
6160         * gst/gstevent.h:
6161         * gst/gstmessage.h:
6162           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
6163           gst_event_ref() and gst_message_ref() functions again
6164           (ugly hack, please do fix if there's a better way besides
6165           overrides.txt, which doesn't seem to work).
6166
6167 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6168
6169         * libs/gst/check/gstcheck.h:
6170           add an assert for setting state to avoid lots of repetitive code
6171           in the future
6172
6173 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6174
6175         * gst/gstvalue.c: (gst_value_serialize_flags):
6176           fix a leak if no flags are set
6177         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6178           fix leak in tests
6179
6180 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
6181
6182         * docs/manual/basics-pads.xml:
6183           Expand a bit on caps and filtered links and update
6184           examples that were still using the no longer existing
6185           gst_pad_link_filtered() (#338206).
6186
6187 2006-05-10  Wim Taymans  <wim@fluendo.com>
6188
6189         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6190         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
6191         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
6192         (gst_collect_pads_stop):
6193         * libs/gst/base/gstcollectpads.h:
6194         No need to call _stop in _finalize.
6195         Iterate the main pad list in _finalize.
6196         Added some more debug.
6197         Free lists and data in the right order.
6198         Also free data whem doing _remove_pad when stopped for
6199         backward compatibility protect ::started with PAD_LOCK as
6200         well.
6201
6202 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6203
6204         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
6205         (gst_structure_parse_value):
6206           add some comments
6207           rename a method so that it actually says what it does better
6208
6209 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6210
6211         * gst/gstevent.c: (_gst_event_initialize):
6212         * gst/gstformat.c: (_gst_format_initialize):
6213           make sure some essential types used by events are registered
6214           as part of gst_init()
6215         * gst/gstvalue.c: (gst_value_serialize_flags):
6216           if no flags are set, serialize them to a value that represents NONE
6217           so that deserializing them works
6218         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6219           add tests for serialization and deserialization of flags
6220
6221 2006-05-10  Wim Taymans  <wim@fluendo.com>
6222
6223         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
6224         (gst_collect_pads_collect_range), (gst_collect_pads_available),
6225         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
6226         (gst_collect_pads_event), (gst_collect_pads_chain):
6227         Update docs.
6228         Better debug info.
6229         Catch and return errors from the collect function
6230         Refuse data on eos pads.
6231
6232 2006-05-10  Edward Hervey  <edward@fluendo.com>
6233
6234         * gst/gstinterface.h:
6235         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
6236         GInterface type checking.
6237         They were previously using non-defined macros.
6238
6239 2006-05-09  Wim Taymans  <wim@fluendo.com>
6240
6241         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
6242         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
6243         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
6244         (gst_collect_pads_start), (gst_collect_pads_stop),
6245         (gst_collect_pads_peek), (gst_collect_pads_pop),
6246         (gst_collect_pads_available), (gst_collect_pads_read),
6247         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
6248         (gst_collect_pads_is_collected), (gst_collect_pads_event),
6249         (gst_collect_pads_chain):
6250         * libs/gst/base/gstcollectpads.h:
6251         Clean up the mess that is collectpads, add comments and
6252         FIXMEs where needed.
6253         Maintain a separate pad list so we can add pads while
6254         collecting the other ones. For this we need a new separate 
6255         lock (see comics).
6256         Fix memory leak in finalize.
6257         Refactor some weird code to set/unset pad flushing flags, mark
6258         with comments.
6259         Don't crash in _available, _read, _flush when we're EOS.
6260
6261         * tests/check/libs/.cvsignore:
6262         Ignore adapter check binary.
6263
6264 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6265
6266         * gst/gstindex.c: (gst_index_resolver_get_type):
6267         * plugins/elements/gstfakesink.c:
6268         (gst_fake_sink_state_error_get_type):
6269         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6270         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
6271         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
6272           Const-ify GEnumValue arrays.
6273
6274 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6275
6276         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6277           Add test case for flags + gst_buffer_make_metadata_writable().
6278
6279 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6280
6281         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
6282           gst_buffer_make_metadata_writable() should maintain the
6283           buffer flags (those that make sense at least) (see #340859).
6284
6285 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6286
6287         * tools/gst-inspect.c:
6288         * tools/gst-launch.c:
6289         * tools/gst-typefind.c:
6290         * tools/gst-xmlinspect.c:
6291         * tools/tools.h:
6292           Fix up includes: need to include stdlib.h in tools.h for exit().
6293
6294 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6295
6296         * gst/gsttaglist.c: (_gst_tag_initialize):
6297         * gst/gsttaglist.h:
6298           API: add GST_TAG_IMAGE tag (#340721).
6299
6300 2006-05-08  Wim Taymans  <wim@fluendo.com>
6301
6302         * gst/gstquery.c:
6303         Added some docs for the segment query.
6304
6305 2006-05-08  Wim Taymans  <wim@fluendo.com>
6306
6307         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6308         (gst_base_src_loop), (gst_base_src_change_state):
6309         Always push non-flushing serialized events in the streaming 
6310         thread.
6311
6312 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
6313
6314         * gst/gsterror.c: (_gst_stream_errors_init):
6315           Add a missing error string.
6316
6317 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
6318
6319         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
6320         Add applied_rate to the debug
6321
6322         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6323         Copy applied_rate into the outgoing NEWSEGMENT event
6324
6325 2006-05-08  Wim Taymans  <wim@fluendo.com>
6326
6327         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
6328
6329         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
6330         (gst_base_sink_change_state):
6331         call ::unlock before taking the PREROLL_LOCK so we can safely
6332         handle elements that lock in ::render.
6333         Fixes #340174.
6334
6335 2006-05-08  Edward Hervey  <edward@fluendo.com>
6336
6337         * autogen.sh: (CONFIGURE_DEF_OPT): 
6338         Darwin's libtoolize is in fact called glibtoolize.
6339         Adding glibtoolize to the list of accepted names for libtoolize.
6340
6341 2006-05-08  Wim Taymans  <wim@fluendo.com>
6342
6343         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6344         Unify error handling, don't post an error message
6345         when a push() returns EOS but perform our normal EOS
6346         handling code. Fixes #340772.
6347
6348 2006-05-08  Wim Taymans  <wim@fluendo.com>
6349
6350         * docs/design/part-overview.txt:
6351         Make upsteam/downstream concepts more clear.
6352         Give an example of serialized/non-serialized events.
6353
6354         * docs/design/part-events.txt:
6355         * docs/design/part-streams.txt:
6356         Mention applied_rate.
6357
6358         * docs/design/part-trickmodes.txt:
6359         Mention applied rate, flesh out some more use cases.
6360
6361         * gst/gstevent.c: (gst_event_new_new_segment),
6362         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
6363         (gst_event_parse_new_segment_full), (gst_event_new_tag),
6364         (gst_event_parse_tag), (gst_event_new_buffer_size),
6365         (gst_event_parse_buffer_size), (gst_event_new_qos),
6366         (gst_event_parse_qos), (gst_event_parse_seek),
6367         (gst_event_new_navigation):
6368         * gst/gstevent.h:
6369         Add applied_rate field to NEWSEGMENT event.
6370         API: gst_event_new_new_segment_full()
6371         API: gst_event_parse_new_segment_full()
6372
6373         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
6374         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
6375         (gst_segment_to_stream_time), (gst_segment_to_running_time):
6376         * gst/gstsegment.h:
6377         Add applied_rate to GstSegment structure.
6378         Make calculation of stream_time and running_time more correct
6379         wrt rate/applied_rate.
6380         Add some more docs.
6381         API: GstSegment::applied_rate field
6382         API: gst_segment_set_newsegment_full();
6383
6384         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6385         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
6386         * libs/gst/base/gstbasetransform.c:
6387         (gst_base_transform_sink_eventfunc),
6388         (gst_base_transform_handle_buffer):
6389         Parse and use applied_rate in the GstSegment field.
6390
6391         * tests/check/gst/gstevent.c: (GST_START_TEST):
6392         Add check for applied_rate field.
6393
6394         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6395         (gstsegments_suite):
6396         Add more checks for various GstSegment operations.
6397
6398 2006-05-08  Wim Taymans  <wim@fluendo.com>
6399
6400         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6401         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
6402         (gst_base_sink_get_position), (gst_base_sink_change_state):
6403         Store the sync time of the buffer end position separatly in a
6404         new variable eos_rtime so we can properly sync the EOS event.
6405         Fixes #340697.
6406         Fix the docs for gst_base_sink_set_qos_enabled().
6407         Don't set segment start to invalid value when we receive a 
6408         non TIME newsegment.
6409         get closer to handling position reporting for negative rates 
6410         correctly.
6411
6412 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
6413
6414         * gst/gstcaps.c:
6415         Docs about how to print caps for debug purposes.
6416
6417         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
6418         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
6419
6420 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
6421
6422         * gst/gstelement.c:
6423           use full enum names and preprend a '%' in docs strings to make recent 
6424           gtk-doc turn that into a link
6425
6426 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6427
6428         * docs/manual/basics-bins.xml:
6429         * docs/manual/basics-bus.xml:
6430         * docs/manual/basics-pads.xml:
6431           Some typo fixes, some additions, some clarifications. 
6432
6433 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6434
6435         * tools/gst-inspect.c: (main):
6436         * tools/gst-launch.c: (main):
6437         * tools/gst-run.c: (main):
6438         * tools/gst-typefind.c: (main):
6439         * tools/gst-xmlinspect.c: (main):
6440           Use the string passed to g_option_context_new() for
6441           what it's intended for - the program name is already
6442           printed elsewhere.
6443
6444 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6445
6446         * tools/Makefile.am:
6447         * tools/gst-inspect.c: (main):
6448         * tools/gst-launch.c: (main):
6449         * tools/gst-xmlinspect.c: (main):
6450         * tools/tools.h:
6451           Add back --version command line option (#340460).
6452
6453         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
6454           Add --version option and use GOption for argument parsing; refactor a
6455           bit; accept directories as arguments and recurse into them; lastly,
6456           print a decent error message when things go wrong.
6457
6458 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6459
6460         * docs/manual/basics-bins.xml:
6461         Don't mention GstThread (#340611)
6462         * docs/manual/basics-elements.xml:
6463         Update link to GObject tutorial (#340607)
6464         
6465 2006-05-05  Wim Taymans  <wim@fluendo.com>
6466
6467         * gst/gstbuffer.h:
6468         * gst/gstminiobject.c:
6469         Add note about refcounting and miniobject/buffer writeability
6470         to docs. Fixes #340604
6471
6472         * gst/gstelementfactory.h:
6473         Added some explanation about @klass.
6474
6475 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6476
6477         * docs/manual/intro-motivation.xml:
6478         * docs/manual/manual.xml:
6479         Avoid CORBA & Bonobo references (#340598)
6480
6481 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6482
6483         * docs/manual/basics-bus.xml:
6484         * docs/manual/basics-pads.xml:
6485         Fix up some inaccuracies and omissions (#340609)
6486         
6487 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6488
6489         * gst/gstghostpad.c:
6490           Small typo in docs (#340625)
6491
6492 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6493
6494         * gst/parse/Makefile.am:
6495           Make 'make -j' proof (see #340698).
6496
6497 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6498
6499         * configure.ac:
6500           Require GLib-2.8 here as well.
6501
6502 2006-05-05  Wim Taymans  <wim@fluendo.com>
6503
6504         * gst/glib-compat.c:
6505         * gst/gst.c: (init_pre):
6506         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6507         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
6508         (gst_object_dispatch_properties_changed):
6509         * gst/gstobject.h:
6510         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
6511         * gst/gststructure.c: (gst_structure_set_valist):
6512         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6513         Remove pre glib2.8 compatibility, fixes #340508
6514
6515 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6516
6517         * gst/gsttaglist.h:
6518           Mention type of tags in doc blurbs.
6519
6520 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
6521
6522         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6523         (gst_pad_configure_src), (gst_pad_push):
6524         Restore acceptcaps checking behaviour now that good plugins have
6525         been released.
6526
6527 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6528
6529         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
6530
6531         * gst/gst.c:
6532         * gst/gstbus.c:
6533         * gst/gstclock.c:
6534         * gst/gstevent.c:
6535         * gst/gstformat.c:
6536         * gst/gstmessage.c:
6537         * gst/gstparse.c:
6538         * gst/gstquery.c:
6539         * gst/gstutils.c:
6540         * gst/parse/Makefile.am:
6541         * libs/gst/base/gstadapter.c:
6542         * libs/gst/base/gstbasesrc.c:
6543         * libs/gst/base/gstpushsrc.c:
6544         * libs/gst/base/gsttypefindhelper.c:
6545         * plugins/elements/gstfakesrc.c:
6546         * plugins/elements/gstidentity.c:
6547           Make sure gstprivate.h and/or config.h are
6548           always included first, otherwise some of our
6549           defines (like _FILE_OFFSET_BITS) might be
6550           redefined in the system headers. Fixes build
6551           on opensolaris (#340016).
6552
6553 2006-05-04  Wim Taymans  <wim@fluendo.com>
6554
6555         * docs/libs/gstreamer-libs-sections.txt:
6556         API: addition: gst_adapter_take_buffer()
6557         
6558         * libs/gst/base/gstadapter.c: (gst_adapter_push),
6559         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
6560         (gst_adapter_available_fast):
6561         * libs/gst/base/gstadapter.h:
6562         Prepare for optimizing the hell out of this hugely inefficient
6563         piece of code. 
6564         Added gst_adapter_take_buffer() so we can at least start thinking
6565         about subbuffering and merging.
6566         Added some comments.
6567
6568         * tests/check/Makefile.am:
6569         * tests/check/libs/adapter.c: (GST_START_TEST),
6570         (gst_adapter_suite), (main):
6571         Added GstAdapter check.
6572
6573 2006-05-04  Wim Taymans  <wim@fluendo.com>
6574
6575         * docs/design/part-overview.txt:
6576         Fix some typos, add blurb about buffer flags.
6577
6578 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6579
6580         * docs/libs/gstreamer-libs-sections.txt:
6581           make sure GstBaseTransformClass shows up in the docs
6582         * libs/gst/base/gstbasetransform.c:
6583         * libs/gst/base/gstbasetransform.h:
6584           move docs so gtk-doc picks it up now
6585
6586 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
6587
6588         * docs/libs/gstreamer-libs-sections.txt:
6589           add missing symbols to docs
6590
6591 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
6592
6593         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6594           back out the newsegment handling change, see #340060 for ongoing
6595           discussion
6596
6597 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
6598
6599         * tools/gst-run.c: (get_candidates), (main):
6600           Fix wrong g_file_test() usage (see glib docs for why it doesn't
6601           work); fix typo in error message. Fixes #340079.
6602
6603 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
6604
6605         * common/Makefile.am:
6606         * docs/Makefile.am:
6607         * docs/faq/Makefile.am:
6608         * docs/gst/Makefile.am:
6609         * docs/libs/Makefile.am:
6610         * docs/manual/Makefile.am:
6611         * docs/plugins/Makefile.am:
6612         * docs/pwg/Makefile.am:
6613         * docs/slides/Makefile.am:
6614         * docs/upload.mak:
6615         * common/upload.mak:
6616           move upload.mak to common
6617
6618 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
6619
6620         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6621           add more asserts on refcounts
6622           do more cleanup at end of tests
6623           fix test leaks showing in FC5
6624
6625 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
6626
6627         * plugins/elements/gsttypefindelement.c:
6628         (gst_type_find_element_handle_event):
6629         reverted wrong change and reflowed code to avoid others falling into
6630         this trap
6631
6632 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6633
6634         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6635           fix changelog entry about last collectpads change,
6636           add notes about proper fix
6637
6638 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6639
6640         * gst/gst.c:
6641         * gst/gstregistry.c: (gst_registry_scan_path_level),
6642         (gst_registry_scan_path):
6643         * gst/gstregistry.h:
6644           only write out registry if it has changed, fixes #338339
6645
6646 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6647
6648         * gst/gstbin.c:
6649         * gst/gstpipeline.c:
6650         * plugins/elements/gstcapsfilter.c:
6651         * plugins/elements/gstfakesink.c:
6652         * plugins/elements/gstfakesrc.c:
6653         * plugins/elements/gstfdsink.c:
6654         * plugins/elements/gstfdsrc.c:
6655         * plugins/elements/gstfilesink.c:
6656         * plugins/elements/gstfilesrc.c:
6657         * plugins/elements/gstidentity.c:
6658         * plugins/elements/gstqueue.c:
6659         * plugins/elements/gsttee.c:
6660         * plugins/elements/gsttypefindelement.c:
6661         (gst_type_find_element_handle_event):
6662           make GstElementDetails const
6663
6664 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6665
6666         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6667         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6668         (gst_collect_pads_is_collected), (gst_collect_pads_event):
6669           more detailed debug and formatting cleanup,
6670           forward newsegments to src-pad (so that e.g. adder not eats them)
6671
6672 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6673
6674         * gst/gstutils.c: (gst_element_link_pads):
6675           cleanup double code
6676
6677 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6678
6679         * libs/gst/controller/gstcontroller.c:
6680         (gst_controller_sync_values):
6681           some little tuning
6682         * tests/check/libs/controller.c: (GST_START_TEST),
6683         (gst_controller_suite):
6684           a new test for live value handling
6685
6686 2006-04-28  Wim Taymans  <wim@fluendo.com>
6687
6688         * gst/gstutils.c: (push_and_ref):
6689         Added some more docs.
6690         Fix refcount issue whith gst_element_found_tags() helper 
6691         function. Fixes #338335
6692
6693         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6694         Added testsuite for gst_element_found_tags().
6695
6696 2006-04-28  Michael Smith  <msmith@fluendo.com>
6697
6698         * gst/gstvalue.c: (gst_value_serialize_flags):
6699           Avoid NULL dereference when trying to serialize flags containing
6700           invalid values.
6701
6702 2006-04-28  Michael Smith  <msmith@fluendo.com>
6703
6704         * plugins/elements/gsttypefindelement.c:
6705         (gst_type_find_element_handle_event):
6706           If we get EOS before any data is accumulated, don't use
6707           uninitialised local variables.
6708
6709 2006-04-28  Michael Smith  <msmith@fluendo.com>
6710
6711         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6712         (gst_dp_event_from_packet):
6713           Fixes in reading/writing events over GDP (not currently used?) - 
6714           dereferencing NULL events for unknown/invalid event types, memory
6715           leak, and change g_warning to GST_WARNING.
6716
6717 2006-04-28  Wim Taymans  <wim@fluendo.com>
6718
6719         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
6720         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6721         (gst_base_sink_get_position), (gst_base_sink_change_state):
6722         When frame dropping is enabled, we should not ignore frames
6723         without a duration.
6724         Update some documentation.
6725
6726 2006-04-28  Wim Taymans  <wim@fluendo.com>
6727
6728         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6729         (gst_base_src_send_event), (gst_base_src_change_state):
6730         Documentation updates.
6731
6732 2006-04-28  Wim Taymans  <wim@fluendo.com>
6733
6734         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
6735         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
6736         handle EAGAIN, EINTR and short writes correctly. Also clean
6737         up some error cases, avoid a deadlock on bad file descriptors and
6738         use GST_DEBUG_OBJECT.
6739         Fixes #339843
6740
6741 2006-04-28  Wim Taymans  <wim@fluendo.com>
6742
6743         * gst/gstvalue.c: (gst_value_serialize_buffer),
6744         (gst_value_deserialize_buffer):
6745         Don't try to serialize a GValue with a NULL buffer. 
6746         Fixes #339821.
6747
6748         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6749         Added check for serialisation of NULL buffers.
6750
6751 2006-04-28  Wim Taymans  <wim@fluendo.com>
6752
6753         * gst/gstminiobject.c: (gst_value_take_mini_object):
6754         Taking a NULL miniobject is valid, fix the case where
6755         we try to unref the NULL miniobject.
6756
6757 2006-04-28  Wim Taymans  <wim@fluendo.com>
6758
6759         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
6760
6761         * gst/gstbin.c: (gst_bin_handle_message_func):
6762         Update docs.
6763         Don't leak bin refcount when a state recalc is
6764         in progress and we delay another one #339808.
6765
6766 2006-04-28  Wim Taymans  <wim@fluendo.com>
6767
6768         * docs/design/part-TODO.txt:
6769         Mention QoS as an ongoing work item.
6770
6771         * docs/design/part-buffering.txt:
6772         New doc about buffering that needs to be fleshed out
6773         at some point.
6774
6775         * docs/design/part-qos.txt:
6776         More QoS policy for decoders/demuxers/transforms
6777
6778         * docs/design/part-trickmodes.txt:
6779         Small update.
6780
6781 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
6782
6783         * configure.ac:
6784           back to HEAD
6785
6786 === release 0.10.5 ===
6787
6788 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
6789
6790         * configure.ac:
6791           releasing 0.10.5, "Fogo"
6792
6793 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6794
6795         patch by: Wim Taymans
6796
6797         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6798         (gst_pad_configure_src), (gst_pad_push):
6799         * gst/gstpipeline.c: (gst_pipeline_init):
6800           Fix internal data flow errors.  Fixes #338711.
6801
6802 2006-04-12  Wim Taymans  <wim@fluendo.com>
6803
6804         * tests/check/gst/gstelement.c: (GST_START_TEST):
6805         Don't leak the factory.
6806
6807 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6808
6809         * configure.ac:
6810         * win32/common/config.h:
6811           prerelease
6812
6813 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
6814
6815         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6816         (gst_controller_unset_all):
6817           Free allocated GstTimedValues when freeing list nodes.
6818           Should fix leaks 'make check-valgrind' complains about.
6819
6820         * win32/common/libgstcontroller.def:
6821           Add gst_controller_unset_all.
6822
6823 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
6824
6825         * docs/libs/gstreamer-libs-sections.txt:
6826         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6827         (gst_controller_unset_all):
6828         * libs/gst/controller/gstcontroller.h:
6829         API: Added new method gst_controller_unset_all()
6830         fixed gst_controller_unset()
6831         * tests/check/libs/controller.c: (GST_START_TEST),
6832         (gst_controller_suite):
6833         Added two testcases for new and fixed method
6834
6835 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
6836
6837         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6838           MSG_DONTWAIT is not defined on Cygwin, so work
6839           around that (fixes #317048).
6840           
6841 2006-04-11  Wim Taymans  <wim@fluendo.com>
6842
6843         * gst/gstelementfactory.c: (gst_element_register),
6844         (gst_element_factory_create), (gst_element_factory_make):
6845         Some cleanups.
6846         Fixed a FIXME.
6847         Updated docs (Fixes #131079)
6848
6849         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6850         Small cleanups.
6851
6852         * tests/check/gst/gstelement.c: (GST_START_TEST),
6853         (gst_element_suite):
6854         Added testcase for elementfactory class field.
6855
6856 2006-04-10  Wim Taymans  <wim@fluendo.com>
6857
6858         * gst/gstsegment.c:
6859         Added some more docs.
6860
6861         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
6862         (gst_base_sink_reset_qos):
6863         Calculate more accurate rate values.
6864
6865 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
6866
6867         * gst/gst_private.h:
6868           add a new #ifdef to use __declspec(dllimport) only for
6869           other modules and not for gstreamer core
6870         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
6871           use gst_guint64_to_gdouble for conversion
6872         * win32/common/libgstreamer.def:
6873           add new exported functions
6874         * win32/vs6/gst_inspect.dsp:
6875         * win32/vs6/gst_launch.dsp:
6876         * win32/vs6/libgstbase.dsp:
6877         * win32/vs6/libgstcontroller.dsp:
6878         * win32/vs6/libgstcoreelements.dsp:
6879         * win32/vs6/libgstdataprotocol.dsp:
6880         * win32/vs6/libgstnet.dsp:
6881           update project files
6882
6883 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
6884
6885         * gst/gstbuffer.c: (gst_subbuffer_class_init):
6886         * gst/gstclock.c: (gst_clock_class_init):
6887         * gst/gstelement.c: (gst_element_class_init):
6888         * gst/gstindex.c: (gst_index_class_init):
6889         * gst/gstindexfactory.c: (gst_index_factory_class_init):
6890         * gst/gstobject.c: (gst_object_class_init),
6891         (gst_signal_object_class_init):
6892         * gst/gstpad.c: (gst_pad_class_init):
6893         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
6894         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
6895         * gst/gstregistry.c: (gst_registry_class_init):
6896         * gst/gstsystemclock.c: (gst_system_clock_class_init):
6897         * gst/gsttask.c: (gst_task_class_init):
6898         * gst/gstxml.c: (gst_xml_class_init):
6899         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6900         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6901         (gst_base_src_loop):
6902         * libs/gst/controller/gstcontroller.c:/
6903         (_gst_controller_class_init):
6904         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6905         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
6906         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
6907         * tests/old/examples/plugins/example.c: (gst_example_class_init):
6908         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6909         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
6910
6911 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
6912
6913         * gst/gstpad.c: (gst_pad_link):
6914           Must set peer pads before calling the link function, otherwise
6915           a task started from a link function might get a flow-not-linked
6916           result when trying to push because the other thread where the
6917           linking happens hasn't had a chance to set the peers yet. This
6918           might happen for example when a queue gets linked to a downstream
6919           element, as queue starts a streaming task when its source pad
6920           gets linked. Happens in real life when playing back flac/musepack
6921           files in playbin (#332390).
6922           
6923 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
6924
6925         * gst/gstindex.h:
6926         * gst/gstxml.h:
6927         * libs/gst/base/gstadapter.h:
6928         * libs/gst/base/gstbasesink.h:
6929         * libs/gst/base/gstbasesrc.h:
6930         * libs/gst/base/gstbasetransform.h:
6931         * libs/gst/base/gstcollectpads.h:
6932         * libs/gst/base/gstpushsrc.h:
6933         Fix broken GObject macros
6934
6935 2006-04-07  Wim Taymans  <wim@fluendo.com>
6936
6937         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6938         Initialize start and stop times, thanks valgrind.
6939
6940 2006-04-07  Wim Taymans  <wim@fluendo.com>
6941
6942         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6943         Be a bit nicer to badly behaving upstream elements that expect
6944         us to deal with non TIME segments and timestamps (such as fakesrc
6945         in the testsuite).
6946
6947 2006-04-07  Wim Taymans  <wim@fluendo.com>
6948
6949         * gst/gstbus.c:
6950         Small documentation clarification about the signal watch.
6951
6952         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6953         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
6954         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6955         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6956         (gst_base_sink_get_position_last),
6957         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
6958         Convert and store timestamps in stream time and running time, the
6959         raw timestamps are not useful, also document this better.
6960         Use different window sizes for good and bad QoS observations so
6961         we react to badness a little quicker.
6962         Keep track of the amount of rendered and dropped buffers.
6963         Send QoS timestamps in running time.
6964
6965         * libs/gst/base/gstbasetransform.c:
6966         (gst_base_transform_sink_eventfunc),
6967         (gst_base_transform_handle_buffer):
6968         Compare QoS timestamps against running time.
6969
6970 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
6971
6972         * gst/gstpad.c:
6973           Typo fixes in docs.
6974
6975 2006-04-06  Michael Smith  <msmith@fluendo.com>
6976
6977         * gst/gstpad.c: (gst_pad_set_property):
6978           Use g_value_get_object() instead of g_value_dup_gst_object(),
6979           to avoid double-reffing the pad template (which we then sink,
6980           so this worked previously if (and only if) the pad template
6981           was floating.
6982
6983         * gst/gstpadtemplate.c: (gst_pad_template_init),
6984         (gst_pad_template_pad_created):
6985           Never return floating references to pad templates, create
6986           them as initially-sunken.
6987
6988           Document an extra function (and make this stop sinking our
6989           pad template, since that is now guaranteed to do nothing,
6990           since we created it sunken).
6991
6992         * gst/gstghostpad.c:
6993           Fix docs typo.
6994
6995 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
6996
6997         * gst/gstinfo.c: (__gst_in_valgrind):
6998           Add some newlines.
6999
7000         * plugins/elements/gsttypefindelement.c:
7001         (gst_type_find_element_chain):
7002           Don't leak buffer caps.
7003
7004 2006-04-06  Michael Smith  <msmith@fluendo.com>
7005
7006         * gst/parse/grammar.y:
7007           Fix a leak in parse-launch for any source-or-sink named element 
7008           references used.
7009
7010         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7011           Unref the pipeline if it exists after we've failed parsing.
7012
7013 2006-04-05  Michael Smith  <msmith@fluendo.com>
7014
7015         * gst/gstpipeline.c: (gst_pipeline_init):
7016           When we create a pipeline bus, initially create it in flushing mode.
7017           Fixes leaks in at least one test, and makes a new pipeline work the
7018           same as one that has gone to READY and then back to NULL.
7019
7020         * gst/gstelement.c:
7021           Typo fix in docs.
7022
7023 2006-04-05  Michael Smith  <msmith@fluendo.com>
7024
7025         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7026           Unref a pad we reffed.
7027         * tests/check/gst/gstutils.c: (GST_START_TEST):
7028           Unref bins
7029
7030 2006-04-05  Michael Smith  <msmith@fluendo.com>
7031
7032         * gst/gstquery.c: (gst_query_set_formats),
7033         (gst_query_set_formatsv):
7034           Fix leaking GValues in queries, as shown by valgrind/testsuite.
7035
7036 2006-04-05  Michael Smith  <msmith@fluendo.com>
7037
7038         * tests/check/generic/sinks.c: (GST_START_TEST):
7039           Fix a variety of memleaks in sinks check, which are only sometimes 
7040           shown by running the tests under valgrind (weird?).
7041
7042 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
7043
7044         * docs/version.entities.in:
7045           Fix the substituted entity name after thomas' changes on the
7046           weekend.
7047
7048 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7049
7050         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
7051         VALGRIND_PRINTF
7052         
7053 2006-04-05  Andy Wingo  <wingo@pobox.com>
7054
7055         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
7056
7057         * libs/gst/base/gstbasetransform.c
7058         (gst_base_transform_sink_eventfunc): When resetting our segment on
7059         FLUSH_STOP, also update the flag saying we haven't seen a
7060         newsegment.
7061
7062 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
7063
7064         Patch by: Paolo Borelli  <pborelli at katamail dot com>
7065
7066         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
7067         (gst_plugin_check_license):
7068           minor clean-ups: G_DEFINE_TYPE already takes care of the
7069           parent_class stuff, no need to do it twice. Mark array of
7070           license strings as constant. (#337103)
7071           
7072 2006-04-04  Michael Smith  <msmith@fluendo.com>
7073
7074         * tools/gst-inspect.c: (print_element_list):
7075           Free the right plugin list; fixes a memory leak.
7076
7077 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
7078
7079         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
7080
7081         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
7082           Don't error out on empty buffers (#336945).
7083           
7084 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
7085
7086         * docs/libs/gstreamer-libs-sections.txt:
7087         * gst/gsttaglist.c:
7088         * libs/gst/base/gstbasesink.c:
7089         * libs/gst/base/gstbasesink.h:
7090         * libs/gst/base/gstbasesrc.c:
7091         * libs/gst/base/gstbasesrc.h:
7092           Documentation updates. Make BaseSink and BaseSrc docs contain the
7093           class structure so that people can actually see the prototypes for
7094           virtual functions they're supposed to be overriding.
7095
7096 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
7097
7098         * plugins/elements/gsttypefindelement.c:
7099         (gst_type_find_element_chain):
7100           More debug info; when skipping typefinding, send cached
7101           events in all cases.
7102
7103 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7104
7105         * configure.ac:
7106           use new AS_VERSION and AS_NANO macros
7107         * gst/gst-i18n-lib.h:
7108         * gst/gst.c:
7109         * gst/gsterror.c:
7110         * gst/gstversion.h.in:
7111         * win32/common/config.h:
7112         * win32/common/config.h.in:
7113           update accordingly
7114
7115 2006-03-31  Michael Smith  <msmith@fluendo.com>
7116
7117         * plugins/elements/gsttypefindelement.c:
7118         (gst_type_find_element_chain):
7119           Do not typefind content if the buffers already have caps.
7120           Neccesary for icydemux (#333657), and the right thing to do anyway.
7121
7122 2006-03-30  Wim Taymans  <wim@fluendo.com>
7123
7124         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7125         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
7126         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
7127         (gst_base_sink_record_qos_observation),
7128         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7129         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
7130         (gst_base_sink_change_state):
7131         More QoS measurements as described in the design doc.
7132         Get rid of ringbuffer with observations, running average is
7133         more simple and equally good.
7134         Calculates valid proportion now.
7135         Added beginning of flood measurement.
7136
7137 2006-03-29  Wim Taymans  <wim@fluendo.com>
7138
7139         * docs/design/part-qos.txt:
7140         * gst/gstclock.c:
7141         Small documentation updates and additions.
7142
7143 2006-03-29  Wim Taymans  <wim@fluendo.com>
7144
7145         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
7146         (gst_base_src_send_event), (gst_base_src_loop),
7147         (gst_base_src_change_state):
7148         Perform the EOS logic when we reach the segment stop position.
7149         Fix compilation on gcc4.1
7150
7151 2006-03-29  Wim Taymans  <wim@fluendo.com>
7152
7153         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7154
7155         * plugins/elements/gstqueue.c: (gst_queue_init),
7156         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
7157         (gst_queue_set_property):
7158         * plugins/elements/gstqueue.h:
7159         In queue, when EOS is received, if minimum threshold > max_size -
7160         current_level, there is chance that queue blocks forever in conditional
7161         item del wait. This is because the queue is not emptied completely due
7162         to minimum threshold.  Here is another approach. Instead of setting
7163         cur_levels to max in EOS, just zero all minimum threshold levels. This
7164         should make sure that queue gives out all data. When going to READY
7165         (stop) state, just reset the original minimum threshold levels.
7166         Fixes #336336.
7167
7168 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
7169
7170         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
7171         (gst_type_find_element_handle_event),
7172         (gst_type_find_element_send_cached_events),
7173         (gst_type_find_element_change_state):
7174         * plugins/elements/gsttypefindelement.h:
7175           When typefinding is done in push mode, we should cache
7176           events we receive during typefinding instead of just
7177           dropping them (e.g. newsegment, custom events from
7178           dvdreadsrc etc.) and then send them out once we've
7179           determined the type of the stream (and decodebin
7180           has had a chance to plug in a decoder/demuxer).
7181           
7182 2006-03-27  Wim Taymans  <wim@fluendo.com>
7183
7184         * docs/design/part-qos.txt:
7185         First QoS ideas.
7186
7187 2006-03-27  Wim Taymans  <wim@fluendo.com>
7188
7189         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
7190
7191         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
7192         (gst_base_src_send_event), (gst_base_src_change_state):
7193         Handle element seek correctly when we are streaming.
7194         Fixes #326998.
7195
7196 2006-03-24  Michael Smith  <msmith@fluendo.com>
7197
7198         * docs/faq/gst-uninstalled:
7199           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
7200           allow you to correctly run intalled applications built against old 
7201           core, using plugins that require updated core (e.g. running
7202           installed totem against a full uninstalled gstreamer stack)
7203
7204 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
7205
7206         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
7207         more debug details
7208
7209 2006-03-24  Wim Taymans  <wim@fluendo.com>
7210
7211         * docs/gst/gstreamer-sections.txt:
7212         Rearrange the order of the methods so that related methods
7213         are grouped together in sections.
7214
7215 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
7216
7217         * gst/gstelement.c:
7218           Little clarification in the docs
7219
7220 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
7221
7222         * docs/README:
7223         formatting fix
7224         * plugins/elements/gstidentity.c:
7225         * plugins/elements/gstqueue.c:
7226         * plugins/elements/gsttee.c:
7227         * plugins/elements/gsttypefindelement.c:
7228         GST_ELEMENT_DETAILS formatting
7229
7230 2006-03-24  Wim Taymans  <wim@fluendo.com>
7231
7232         * libs/gst/base/gstbasesink.h:
7233         Only add fields, not insert or we break ABI.
7234
7235 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
7236
7237         * win32/common/libgstbase.def:
7238         * win32/common/libgstreamer.def:
7239           Update, add recently added functions.
7240
7241 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
7242
7243         * docs/gst/gstreamer-sections.txt:
7244         * gst/gstutils.c: (gst_pad_query_peer_position),
7245         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
7246         * gst/gstutils.h:
7247           API: add some new utility functions:
7248            - gst_pad_query_peer_position()
7249            - gst_pad_query_peer_duration()
7250            - gst_pad_query_peer_convert()
7251           
7252 2006-03-23  Wim Taymans  <wim@fluendo.com>
7253
7254         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7255         (gst_base_sink_init), (gst_base_sink_finalize),
7256         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
7257         (gst_base_sink_set_property), (gst_base_sink_get_property),
7258         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
7259         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
7260         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
7261         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7262         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
7263         (gst_base_sink_preroll_object), (gst_base_sink_event),
7264         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
7265         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
7266         (gst_base_sink_query), (gst_base_sink_change_state):
7267         Decouple max-lateness and the fact that QoS messages are generated
7268         with a new property (qos).
7269         added API: GstBaseSink::async_play()
7270         Add vmethod so subclasses can be notified of ASYNC playing
7271         state changes.
7272         Collect timestamp start and stop to report better current
7273         position in EOS/PLAYING/PAUSED/READY/NULL.
7274         Refactor QoS/frame dropping and other measurements.
7275         API: GstBaseSrc::qos
7276         Fixes #326311
7277
7278         * libs/gst/base/gstbasesink.h:
7279         Added Private struct.
7280         API: gst_base_sink_set_qos_enabled()
7281         API: gst_base_sink_is_qos_enabled()
7282
7283 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
7284
7285         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
7286           If compiling against GLib-2.8 or newer, try to read the
7287           registry file using GMappedFile first before falling back
7288           to fopen() + fread() (#332151).
7289
7290 2006-03-22  Wim Taymans  <wim@fluendo.com>
7291
7292         * gst/gstinfo.c: (gst_debug_set_active),
7293         (gst_debug_category_set_threshold):
7294         Disable debugging unless explicitly activated.
7295         Fixes #335480.
7296
7297 2006-03-22  Wim Taymans  <wim@fluendo.com>
7298
7299         * gst/gstelement.c: (gst_element_set_locked_state),
7300         (gst_element_dispose):
7301         Cleanup the error case.
7302
7303         * gst/gstobject.c: (gst_object_dispose):
7304         print a critical when some object was disposed with
7305         a parent, also revive the object since it might
7306         crash the parent.
7307
7308 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
7309
7310         * tools/gst-launch.1.in:
7311           Fix another typo.
7312
7313 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7314
7315         * configure.ac:
7316         * tests/check/Makefile.am:
7317           disable some tests when we don't have a registry
7318         * tests/check/gst/gstutils.c: (gst_utils_suite):
7319           don't build the part that needs parsing
7320
7321 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7322
7323         * gst/Makefile.am
7324         * tests/examples/Makefile.am:
7325           fix --disable-parse build
7326
7327 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7328
7329         * tools/gst-feedback.1.in:
7330           Fix typo: s/feeback/feedback/ (#133494).
7331
7332 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7333
7334         * tools/Makefile.am:
7335         * tools/gst-launch.1.in:
7336           Add FILES section and correct entry about GST_REGISTRY_PATH
7337           environment variable (#133495; #133494).
7338
7339 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7340
7341         * tools/Makefile.am:
7342         * tools/gst-md5sum.1.in:
7343         * tools/gst-md5sum.c:
7344           Remove gst-md5sum and man page (the md5sink element
7345           required was removed ages ago)
7346
7347 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7348
7349         * gst/gststructure.c: (gst_structure_id_set_value):
7350           Make sure that string fields in structures/taglists
7351           contain valid UTF-8 - we don't want to pass rubbish to
7352           applications because of a buggy plugin (cp. #334167).
7353
7354 2006-03-21  Edward Hervey  <edward@fluendo.com>
7355
7356         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
7357         (gst_bin_handle_message_func):
7358         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
7359         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
7360         (gst_element_set_bus_func):
7361         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
7362         * gst/gstminiobject.c: (gst_value_set_mini_object),
7363         (gst_value_take_mini_object):
7364         * gst/gstpad.c: (gst_pad_set_pad_template):
7365         * gst/gstpipeline.c: (gst_pipeline_dispose),
7366         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
7367         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
7368         (gst_collect_pads_chain):
7369         * libs/gst/net/gstnettimeprovider.c:
7370         (gst_net_time_provider_set_property):
7371         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
7372         It's in fact all issues with gst_*object_replace().
7373
7374 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7375
7376         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
7377         
7378         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7379         * pkgconfig/gstreamer-check.pc.in:
7380           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
7381
7382 2006-03-21  Edward Hervey  <edward@fluendo.com>
7383
7384         * gst/gstbuffer.h:
7385         * gst/gstevent.h:
7386         * gst/gstmessage.h:
7387         gst_[buffer|event|message]_ref() macros are replaced by a static
7388         inline functions because gcc-4.1 will about if the return value
7389         isn't used.
7390         * tests/check/gst/gstevent.c: (event_probe):
7391         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
7392
7393 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
7394
7395         * gst/gstutils.h:
7396         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
7397         the type' case. (Closes: #335195 for now). In the future, when we
7398         depend on GLib 2.10, we could also intern the type name using
7399         g_intern_static_string()
7400
7401 2006-03-20  Wim Taymans  <wim@fluendo.com>
7402
7403         * gst/gstbin.c: (gst_bin_handle_message_func),
7404         (bin_query_max_init), (bin_query_position_fold),
7405         (bin_query_position_done), (gst_bin_query):
7406         Position query should also take max of all streams.
7407
7408 2006-03-20  Wim Taymans  <wim@fluendo.com>
7409
7410         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7411         (gst_fake_src_finalize):
7412         Fix leaks in fakesrc.
7413
7414         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7415         Fix leaks in the testcase.
7416
7417 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
7418
7419         * gst/gst_private.h:
7420           add win32 specific import decoration(__declspec(dllimport)) 
7421           for all extern GstDebugCategory * variables
7422         * win32/common/libgstbase.def:
7423         * win32/common/libgstcontroller.def:
7424         * win32/common/libgstreamer.def:
7425           Add some exports, remove empty lines
7426         * win32/common/libgstdataprotocol.def:
7427         * win32/common/libgstdataprotocol.dsp:
7428         * win32/common/libgstnet.def:
7429         * win32/common/libgstnet.dsp:
7430           new project files and exportation files added
7431         
7432 2006-03-19  Wim Taymans  <wim@fluendo.com>
7433
7434         * tests/check/libs/basesrc.c: (eos_event_counter):
7435         Use proper return value for probe.
7436
7437 2006-03-17  Wim Taymans  <wim@fluendo.com>
7438
7439         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7440         (gst_pad_push):
7441         Don't leak buffers, caps and pads on negotiation errors.
7442
7443 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
7444
7445         * docs/faq/cvs.xml:
7446         * docs/faq/dependencies.xml:
7447         * docs/faq/developing.xml:
7448         * docs/faq/faq.xml:
7449         * docs/faq/general.xml:
7450         * docs/faq/getting.xml:
7451         * docs/faq/legal.xml:
7452         * docs/faq/troubleshooting.xml:
7453         * docs/faq/using.xml:
7454         Faq review and update.
7455
7456 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
7457
7458         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7459         (gst_pad_push):
7460         Don't pound the cpu to pieces by checking get_caps when accept_caps
7461         is called with the same caps as the pad already has.
7462         Use GST_DEBUG_OBJECT when outputting caps change information.
7463
7464 2006-03-15  Wim Taymans  <wim@fluendo.com>
7465
7466         * gst/gstclock.c: (gst_clock_class_init):
7467         Fix docs.
7468
7469 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
7470
7471         * gst/gstbuffer.h:
7472         Documentation fix.
7473
7474         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
7475         (gst_pad_accept_caps), (gst_pad_configure_sink),
7476         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
7477         Make the default acceptcaps behaviour be to check the requested 
7478         caps against the gst_pad_get_caps output. 
7479
7480         Ensure that gst_pad_accept_caps is used to check caps when a pad
7481         doesn't have a setcaps function, so that pads automatically refuse 
7482         caps that they don't allow in their pad template. (Fixes #332986)
7483
7484         When a buffer with attached caps is pushed, ensure that the source 
7485         pad receives those caps even if the element didn't call
7486         gst_pad_set_caps first.
7487
7488 2006-03-15  Wim Taymans  <wim@fluendo.com>
7489
7490         * libs/gst/base/gstadapter.c:
7491         Add some docs.
7492
7493 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
7494
7495         * win32/common/libgstbase.def:
7496         * win32/common/libgstcontroller.def:
7497         * win32/common/libgstreamer.def:
7498           Add a whole bunch of missing functions (#334434).
7499
7500 2006-03-14  Wim Taymans  <wim@fluendo.com>
7501
7502         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7503         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
7504         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
7505         Better debug info when we receive a segment event.
7506         Reorganize a bit so we can pass the get_times() results around.
7507         Use the segment format when calculating the running time.
7508         Don't do QoS is sync is disabled or we have no clock or the
7509         element does not want us to sync to the clock.
7510         Don't drop buffers if QoS is disabled for now.
7511
7512 2006-03-14  Wim Taymans  <wim@fluendo.com>
7513
7514         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
7515         Marked the stats property as unimplemented so people don't get
7516         wild ideas.
7517         Add debug message when regression goes wrong.
7518         Added some more docs.
7519
7520 2006-03-14  Wim Taymans  <wim@fluendo.com>
7521
7522         * gst/gstsegment.c: (gst_segment_to_stream_time):
7523         Return correct return type in case of errors.
7524
7525 2006-03-14  Wim Taymans  <wim@fluendo.com>
7526
7527         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
7528           Don't segfault on invalid formats.
7529
7530 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7531
7532         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7533           Can't use gst_segment_to_running_time() when the segment
7534           is not in GST_TIME_FORMAT (like with filesink, for example).
7535           Stops flac encoding pipelines from spewing critical warnings
7536           at EOS (#331248).
7537           
7538 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7539
7540         * gst/gstpipeline.c: (gst_pipeline_class_init):
7541           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
7542
7543         * plugins/elements/gsttypefindelement.c:
7544         (gst_type_find_element_handle_event):
7545           Don't try to typefind empty streams.
7546
7547 2006-03-14  Wim Taymans  <wim@fluendo.com>
7548
7549         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
7550         (gst_base_sink_do_qos):
7551         Separate QoS calculation.
7552         Only drop buffers when lateness is bigger than the 
7553         duration of the buffer.
7554
7555 2006-03-13  Wim Taymans  <wim@fluendo.com>
7556
7557         * gst/gstpipeline.c: (gst_pipeline_set_property),
7558         (gst_pipeline_get_property), (do_pipeline_seek),
7559         (gst_pipeline_change_state), (gst_pipeline_set_delay),
7560         (gst_pipeline_get_delay):
7561         Don't deadlock when reading properties.
7562
7563 2006-03-13  Wim Taymans  <wim@fluendo.com>
7564
7565         * libs/gst/base/gstbasetransform.c:
7566         (gst_base_transform_class_init), (gst_base_transform_init),
7567         (gst_base_transform_sink_event),
7568         (gst_base_transform_sink_eventfunc),
7569         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
7570         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7571         (gst_base_transform_set_property),
7572         (gst_base_transform_get_property),
7573         (gst_base_transform_change_state), (gst_base_transform_update_qos),
7574         (gst_base_transform_set_qos_enabled),
7575         (gst_base_transform_is_qos_enabled):
7576         * libs/gst/base/gstbasetransform.h:
7577         Make basetransform virtual method for src events too.
7578         Handle QOS in basetransform.
7579         API: gst_base_transform_update_qos()
7580         API: gst_base_transform_set_qos_enabled()
7581         API: gst_base_transform_is_qos_enabled()
7582
7583 2006-03-13  Wim Taymans  <wim@fluendo.com>
7584
7585         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7586         (gst_base_sink_do_sync):
7587         Small cleanups.
7588         Use QOS debug category.
7589
7590 2006-03-13  Wim Taymans  <wim@fluendo.com>
7591
7592         * plugins/elements/gstqueue.c:
7593         Very small doc update.
7594
7595 2006-03-13  Wim Taymans  <wim@fluendo.com>
7596
7597         * gst/gst_private.h:
7598         * gst/gstinfo.c: (_gst_debug_init):
7599         Added QOS debug category
7600
7601 2006-03-13  Wim Taymans  <wim@fluendo.com>
7602
7603         * docs/gst/gstreamer-sections.txt:
7604         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
7605         * gst/gstbin.h:
7606         * gst/gstbus.c: (gst_bus_class_init):
7607         * gst/gstbus.h:
7608         * gst/gstclock.c:
7609         * gst/gstelement.c: (gst_element_set_locked_state):
7610         * gst/gstsegment.c:
7611         Documentation updates.
7612
7613         * gst/gstpipeline.c: (gst_pipeline_get_type),
7614         (gst_pipeline_class_init), (gst_pipeline_init),
7615         (gst_pipeline_dispose), (gst_pipeline_set_property),
7616         (gst_pipeline_get_property), (do_pipeline_seek),
7617         (gst_pipeline_send_event), (gst_pipeline_change_state),
7618         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
7619         (gst_pipeline_get_delay):
7620         * gst/gstpipeline.h:
7621         Added methods for setting the delay.
7622         API: gst_pipeline_set_delay()
7623         API: gst_pipeline_get_delay()
7624         Add pipeline debug category
7625         Various cleanups.
7626         Updated docs.
7627         Don't reset stream time when seek failed.
7628
7629 2006-03-13  Wim Taymans  <wim@fluendo.com>
7630
7631         * docs/design/draft-klass.txt:
7632         * docs/design/part-clocks.txt:
7633         * docs/design/part-events.txt:
7634         * docs/design/part-gstbin.txt:
7635         * docs/design/part-gstpipeline.txt:
7636         * docs/design/part-messages.txt:
7637         * docs/design/part-negotiation.txt:
7638         * docs/design/part-overview.txt:
7639         * docs/design/part-preroll.txt:
7640         * docs/design/part-seeking.txt:
7641         * docs/design/part-states.txt:
7642         * docs/design/part-streams.txt:
7643         Documentation updates.
7644
7645 2006-03-12  Julien MOUTTE  <julien@moutte.net>
7646
7647         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
7648         us to leak strings...
7649
7650 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7651
7652         * libs/gst/net/gstnettimeprovider.c:
7653           fix docs
7654         * win32/common/config.h:
7655           update
7656
7657 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
7658
7659         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
7660
7661         * configure.ac:
7662           Don't check for libgnomeui (leftover from old examples
7663           that aren't built or disted any longer) (#334303).
7664           
7665 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
7666
7667         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
7668         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
7669           Emit RESOURCE_NO_SPACE_LEFT error here as well when
7670           there's no space left on the device.
7671
7672 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
7673
7674         * gst/gstclock.h:
7675           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
7676           to cast the input to GstClockTime before comparing with
7677           another GstClockTime value.
7678
7679 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7680
7681         * configure.ac:
7682           back to trunk
7683
7684 === release 0.10.4 ===
7685
7686 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
7687
7688         * configure.ac:
7689           releasing 0.10.4, "Light"
7690
7691 2006-03-10  Michael Smith  <msmith@fluendo.com>
7692
7693         * libs/gst/dataprotocol/dataprotocol.c:
7694           Fix docs for dataprocotol to not get the return types completely
7695           wrong for a few functions.
7696
7697 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
7698
7699         * docs/gst/gstreamer-sections.txt:
7700         * gst/gstpipeline.c: (gst_pipeline_class_init),
7701         (gst_pipeline_init), (gst_pipeline_set_property),
7702         (gst_pipeline_get_property), (gst_pipeline_change_state),
7703         (gst_pipeline_set_auto_flush_bus),
7704         (gst_pipeline_get_auto_flush_bus):
7705         * gst/gstpipeline.h:
7706           Add new API: gst_pipeline_set_auto_flush_bus() and
7707           gst_pipeline_get_auto_flush_bus() to disable automatic
7708           flushing of the pipeline's GstBus when going from READY
7709           to NULL state (#332045).
7710
7711 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
7712
7713         * docs/gst/gstreamer-sections.txt:
7714         * gst/gsturi.c: (gst_uri_has_protocol):
7715         * gst/gsturi.h:
7716            Add new API: gst_uri_has_protocol() (#333779).
7717
7718 2006-03-09  Wim Taymans  <wim@fluendo.com>
7719
7720         * gst/gstclock.c: (gst_clock_entry_new),
7721         (gst_clock_id_compare_func), (gst_clock_id_wait),
7722         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
7723         (gst_clock_init), (gst_clock_get_internal_time),
7724         (gst_clock_set_master), (do_linear_regression),
7725         (gst_clock_add_observation), (gst_clock_set_property):
7726         * gst/gstclock.h:
7727         Review docs.
7728         Small cleanups.
7729         Fix a possible segfault when the window-size is made smaller.
7730         Calculate jitter before performing the clock wait. Ideally
7731         the clock implementation should calculate jitter but we need
7732         API breakage for that.
7733
7734         * gst/gstsystemclock.c: (gst_system_clock_init):
7735         Docs review.
7736         
7737         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7738         Remove leftover else
7739
7740         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7741         (gst_systemclock_suite):
7742         Added check to test GST_CLOCK_DIFF.
7743
7744 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
7745
7746         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
7747         (gst_type_find_helper_get_range):
7748           If we are provided with the size, we should implement
7749           GstTypeFind::get_length, so that typefind functions who
7750           want to can actually peek at the middle of a file.
7751
7752 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
7753
7754         * docs/manual/advanced-dataaccess.xml:
7755           Add some very very basic error checking.
7756
7757         * docs/pwg/appendix-checklist.xml:
7758           Some updates to the list of things to check when writing an element.
7759
7760 2006-03-08  Wim Taymans  <wim@fluendo.com>
7761
7762         * docs/design/part-element-transform.txt:
7763         Added some docs about the design of tranform elements.
7764
7765         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7766         (gst_base_src_loop), (gst_base_src_change_state):
7767         Mark buffers with the DISCONT flag.
7768
7769 2006-03-08  Michael Smith  <msmith@fluendo.com>
7770
7771         * gst/gstregistry.h:
7772         * gst/gstregistryxml.c: (gst_registry_save),
7773         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
7774         (gst_registry_xml_save_pad_template),
7775         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
7776         (gst_registry_xml_write_cache):
7777           Rewrite registry-saving to avoid race conditions and check for
7778           failed writes.
7779
7780 2006-03-08  Wim Taymans  <wim@fluendo.com>
7781
7782         * libs/gst/base/gstbasetransform.c:
7783         (gst_base_transform_transform_caps),
7784         (gst_base_transform_transform_size),
7785         (gst_base_transform_prepare_output_buffer),
7786         (gst_base_transform_get_unit_size),
7787         (gst_base_transform_buffer_alloc),
7788         (gst_base_transform_handle_buffer),
7789         (gst_base_transform_change_state):
7790         Cleanups, separate normal flow from errors, add sensible
7791         DEBUG lines.
7792         Don't try to renegotiate when allocating an output buffer.
7793         Also copy DISCONT buffer flag when copying a buffer.
7794         Reset the transform after we finish streaming, not during.
7795
7796 2006-03-08  Wim Taymans  <wim@fluendo.com>
7797
7798         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7799         Use last buffer timestamp in qos message.
7800
7801 2006-03-07  Wim Taymans  <wim@fluendo.com>
7802
7803         Patch by: Christophe Fergeau
7804
7805         * docs/pwg/advanced-tagging.xml:
7806         * docs/pwg/building-pads.xml:
7807           fixes #333416
7808
7809 2006-03-07  Wim Taymans  <wim@fluendo.com>
7810
7811         * docs/libs/gstreamer-libs-sections.txt:
7812         Added basesink new methods.
7813
7814         * gst/gstevent.c:
7815         * gst/gstevent.h:
7816         Docs updates. Flesh out the QoS docs.
7817
7818         * libs/gst/base/gstadapter.c:
7819         Small doc clarification about ownership and flushing.
7820
7821         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
7822         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7823         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
7824         (gst_base_sink_get_property), (gst_base_sink_do_sync):
7825         * libs/gst/base/gstbasesink.h:
7826         API additions: 
7827         Added new methods to allow subclass to control max-lateness 
7828         and sync.
7829         Generate very basic QoS events based on last sync observation.
7830         Updated docs, fix typo, added some QoS blurb.
7831
7832         * libs/gst/base/gstbasesrc.c:
7833         Remove obsolete _get_state() calls from docs.
7834
7835 2006-03-07  Wim Taymans  <wim@fluendo.com>
7836
7837         * docs/libs/gstreamer-libs-sections.txt:
7838         * libs/gst/base/gstbasetransform.h:
7839         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
7840         Fix docs for GstBaseSrc.
7841
7842 2006-03-07  Wim Taymans  <wim@fluendo.com>
7843
7844         * docs/gst/gstreamer-sections.txt:
7845         * gst/gstbuffer.h:
7846         * gst/gstvalue.c:
7847         * libs/gst/base/gstbasetransform.h:
7848         Small documentation fixes.
7849
7850 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7851
7852         * gst/gstvalue.c:
7853           Document thread-unsafety of gst_value_register_foo_func()
7854           when used at the same time as gst_value_foo() (#322628).
7855
7856 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7857
7858         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
7859         (gst_push_src_check_get_range):
7860           Push sources don't support pull mode by default.
7861
7862 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
7863
7864         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7865         (gst_base_src_init), (gst_base_src_pad_check_get_range),
7866         (gst_base_src_default_check_get_range):
7867         * libs/gst/base/gstbasesrc.h:
7868           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
7869           provide default implementation, and rename
7870           gst_base_src_check_get_range() to
7871           gst_base_src_pad_check_get_range() for clarity.
7872
7873 2006-03-06  Wim Taymans  <wim@fluendo.com>
7874
7875         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7876         Make property overridable.
7877
7878 2006-03-06  Wim Taymans  <wim@fluendo.com>
7879
7880         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7881         (gst_base_sink_init), (gst_base_sink_set_property),
7882         (gst_base_sink_get_property), (gst_base_sink_do_sync):
7883         * libs/gst/base/gstbasesink.h:
7884         API addition: Make max-lateness a property.
7885
7886 2006-03-06  Wim Taymans  <wim@fluendo.com>
7887
7888         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
7889         (gst_base_sink_do_sync), (gst_base_sink_render_object):
7890         Don't ever draw a frame that is >10ms late.
7891
7892 2006-03-06  Michael Smith  <msmith@fluendo.com>
7893
7894         * gst/gstmessage.c: (_gst_message_copy):
7895           When copying a message, set the parent_refcount of the enclosed
7896           structure to point at the copy, not the original message.
7897
7898 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
7899
7900         Patch by: Christophe Fergeau
7901
7902         * gst/gstutils.h:
7903           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
7904           usable in c++ code (#333417)
7905
7906 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7907
7908         * gst/gstclock.h:
7909           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
7910
7911 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
7912
7913         * libs/gst/base/gstbasetransform.c:
7914         (gst_base_transform_transform_caps):
7915           Make sure caps are writable before passing them to
7916           gst_caps_append().
7917
7918 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
7919
7920         * gst/gsterror.h:
7921           Fix some minor docs errors.
7922
7923 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
7924
7925           Patch by: Ross Burton <ross at burtonini dot com>
7926
7927         * gst/gsterror.c: (_gst_resource_errors_init):
7928         * gst/gsterror.h:
7929           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
7930
7931 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
7932
7933         * gst/gst.c:
7934         Add a check and output a g_warning when GStreamer is built
7935         against GLib 2.6 but running against 2.8 or higher, and vice 
7936         versa. (Closes: #323542)
7937
7938 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
7939
7940         * gst/parse/parse.l:
7941           Commit patch for parse_launch syntax from #331255. Removes 
7942           support for quoted strings and mimetypes when writing filtered 
7943           caps. See the bug report for more details - I'm pretty sure this
7944           obscure feature is not in use by _anyone_ anywhere.
7945
7946           With this simple change, the size of the gstreamer.so here 
7947           drops from 2193KB to 1565KB.
7948
7949 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
7950
7951         * plugins/elements/gsttypefindelement.h:
7952         * plugins/elements/gsttypefindelement.c:
7953         (gst_type_find_element_src_event), (start_typefinding),
7954         (stop_typefinding), (gst_type_find_element_handle_event),
7955         (gst_type_find_element_chain),
7956         (gst_type_find_element_chain_do_typefinding):
7957           Use gst_type_find_helper_for_buffer() for chain-based
7958           typefinding.
7959
7960 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
7961
7962         * plugins/elements/gsttypefindelement.c:
7963         (gst_type_find_element_class_init),
7964         (gst_type_find_element_set_property),
7965         (gst_type_find_element_get_property):
7966           Deprecate "maximum" property (not only was it only taken into
7967           account for typefinding in push-mode anyway, it also was never
7968           actually possible to set it in the first place because the
7969           property was registered with the numeric property ID for the
7970           "minimum" property). Register "maximum" property correctly,
7971           for the sake of future copy'n'pasters. Remove some cruft
7972           from property get/set functions.
7973
7974 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
7975
7976         * plugins/elements/gsttypefindelement.c:
7977         (gst_type_find_element_activate):
7978           Use gst_type_find_helper_get_range() here, so we
7979           can honour the "minimum" property and also emit
7980           the signal with the correct probability of the found caps.
7981
7982 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
7983
7984         * docs/libs/gstreamer-libs-sections.txt:
7985         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7986         (helper_find_suggest), (gst_type_find_helper_get_range),
7987         (gst_type_find_helper):
7988         * libs/gst/base/gsttypefindhelper.h:
7989           New API: gst_type_find_helper_get_range() (#333042).
7990
7991 2006-03-02  Michael Smith  <msmith@fluendo.com>
7992
7993         * gst/gstregistryxml.c: (load_feature):
7994           Asserting on a failure to read part of the registry is Not Cool.
7995           Just log a warning and return NULL (which is already handled)
7996
7997 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
7998
7999         * win32/common/libgstbase.def:
8000           added export of gst_type_find_helper_for_buffer
8001         * win32/common/libgstbase.def:
8002           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
8003           gst_ghost_pad_get_target
8004
8005 2006-02-28  Wim Taymans  <wim@fluendo.com>
8006
8007         * docs/design/draft-klass.txt:
8008         We use Filter now.
8009         Added Connector to mark elements that are only used to
8010         allow pipeline connections.
8011         Moved Debug to extra feature since most of them are 
8012         functionally something else.
8013
8014 2006-02-28  Wim Taymans  <wim@fluendo.com>
8015
8016         * docs/design/draft-klass.txt:
8017         Some updates and clarifications.
8018
8019 2006-02-28  Wim Taymans  <wim@fluendo.com>
8020
8021         * docs/design/draft-klass.txt:
8022         Proposal for klass field values.
8023
8024         * docs/design/part-streams.txt:
8025         Start of a doc describing stream anatomy.
8026
8027 2006-02-28  Wim Taymans  <wim@fluendo.com>
8028
8029         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
8030         Help the compiler a bit with type registration.
8031         Use existing forward cod path instead of duplicating it when 
8032         handling a message.
8033         
8034         * gst/gstbus.c: (gst_bus_get_type):
8035         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
8036         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
8037         * gst/gstclock.c: (gst_clock_get_type):
8038         * gst/gstelement.c: (gst_element_get_type),
8039         * gst/gstelementfactory.c: (gst_element_factory_get_type):
8040         * gst/gstindexfactory.c: (gst_index_factory_get_type):
8041         * gst/gstminiobject.c: (gst_mini_object_get_type):
8042         * gst/gstpad.c: (gst_pad_get_type):
8043         * gst/gstsegment.c: (gst_segment_get_type):
8044         * gst/gststructure.c: (gst_structure_get_type):
8045         * gst/gstsystemclock.c: (gst_system_clock_get_type):
8046         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
8047         * gst/gstvalue.c:
8048         Help compiler with type registration.
8049
8050         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8051         Small doc update.
8052
8053 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
8054
8055         * plugins/elements/gsttypefindelement.c:
8056         (gst_type_find_element_handle_event):
8057           When we get an EOS event and have not found a type yet
8058           (most likely because we had not yet accumulated
8059           TYPE_FIND_MIN_SIZE of data yet), try to determine the
8060           type given the data we have so far. Fixes typefinding
8061           for very short streams again, most notably quicktime
8062           redirections as used on Apple's trailer site (#331701).
8063
8064 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
8065
8066         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
8067         (gst_type_find_helper):
8068           Try typefinding factories with the highest rank first.
8069
8070 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
8071
8072         * docs/libs/gstreamer-libs-docs.sgml:
8073         * docs/libs/gstreamer-libs-sections.txt:
8074         * libs/gst/base/gsttypefindhelper.c:
8075           Add section for typefind helper and add documentation
8076           for the old and the new function.
8077
8078 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
8079
8080         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
8081         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
8082         (gst_type_find_helper_for_buffer):
8083         * libs/gst/base/gsttypefindhelper.h:
8084           New API: gst_type_find_helper_for_buffer() (#332723).
8085           
8086 2006-02-27  Michael Smith  <msmith@fluendo.com>
8087
8088         Patch by: Loïc Minier
8089
8090         * configure.ac:
8091         * docs/Makefile.am:
8092         * docs/slides/Makefile.am:
8093           prevent CVS directories getting disted.
8094
8095 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
8096
8097         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
8098           Use the REFCOUNTING category for caps refcounting.
8099           
8100 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
8101
8102         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
8103           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
8104
8105 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
8106
8107         * plugins/elements/gsttypefindelement.c:
8108         (gst_type_find_element_activate):
8109           Use gst_pad_check_pull_range() before _activate_pull()
8110           to avoid unnecessary open/close (see #331690).
8111
8112 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
8113
8114         * gst/gstutils.c:
8115           Docs enhancement: make it crystal clear what the
8116           gst_pad_add_*_probe() callbacks should look like.
8117
8118 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
8119
8120         * libs/gst/base/gstbasesrc.c:
8121           Document how applications can stop recording from
8122           live sources (see #330996).
8123
8124 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8125
8126         * tests/check/Makefile.am:
8127         * tests/check/libs/basesrc.c: (eos_event_counter),
8128         (basesrc_eos_events_pull), (basesrc_eos_events_push),
8129         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
8130         (gst_basesrc_suite), (main):
8131           ... and add some tests for the base source EOS stuff.
8132
8133 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8134
8135         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
8136           Test case originally showed the problem fixed below,
8137           but was then amended. Add checks back at the place
8138           where they used to be.
8139
8140 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8141
8142         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8143         (gst_base_src_init), (gst_base_src_loop),
8144         (gst_base_src_activate_push), (gst_base_src_activate_pull),
8145         (gst_base_src_change_state):
8146         * libs/gst/base/gstbasesrc.h:
8147           Don't unconditionally send EOS when going from PAUSED to
8148           READY state, esp. make sure we don't send two EOS events
8149           in some cases (e.g. one when reaching EOS and one when
8150           going from PAUSED to READY). Also, we don't want to send
8151           EOS events when operating in pull mode. However, we do
8152           want to send an EOS event when shutting down a live
8153           source explicitly, for example (fixes #330996).
8154           
8155 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8156
8157         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8158           Update src->read_position after a seek when not using mmap.
8159           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
8160
8161 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
8162
8163         * gst/Makefile.am:
8164         * gst/gstparse.h:
8165         * gst/gstutils.c:
8166         * gst/gstutils.h:
8167         Make things work with --disable-parse as they do with 
8168         --disable-load-save - the symbols involved disappear, but the
8169         header is still installed and GST_DISABLE_PARSE is included via
8170         gstconfig.h
8171
8172 2006-02-20  Julien MOUTTE  <julien@moutte.net>
8173
8174         * libs/gst/base/gstbasetransform.c:
8175         (gst_base_transform_change_state): Fix a stupid bug. I was 
8176         sure I compiled that.
8177
8178 2006-02-20  Julien MOUTTE  <julien@moutte.net>
8179
8180         * gst/gstpad.c: (gst_pad_set_blocked_async):
8181         * gst/gstutils.c: (gst_pad_add_data_probe),
8182         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8183         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8184         (gst_pad_remove_buffer_probe): Make those function act on the
8185         ghostpad target when it's a ghostpad. (Closes #331727)
8186
8187 2006-02-20  Julien MOUTTE  <julien@moutte.net>
8188
8189         * libs/gst/base/gstbasetransform.c:
8190         (gst_base_transform_change_state): Make basetransform reusable.
8191         (Closes #331898)
8192
8193 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
8194
8195         * docs/random/release:
8196         Move the current documentation of how to do a release to the top
8197         of the file.
8198
8199         * gst/gstbin.c: (gst_bin_class_init),
8200         (gst_bin_handle_message_func):
8201         Allow multiple state-recalculation threads. (Closes #328873)
8202
8203 2006-02-19  Julien MOUTTE  <julien@moutte.net>
8204
8205         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
8206         * gst/gstpad.c: (gst_pad_set_event_function),
8207         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8208         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
8209         2 strings. You can't use the STR_NULL macro on that.
8210
8211 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
8212
8213         * gst/gstpad.c: (gst_pad_set_event_function),
8214         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8215         (gst_pad_set_getcaps_function)
8216         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
8217           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
8218           So now, we can use --gst-debug-level=5 on Windows
8219         * win32/common/libgstcontroller.def:
8220           Added export of gst_controller_init
8221         * win32/vs6/libgstcontroller.dsp:
8222           Fixed Release post build configuration
8223
8224 2006-02-17  Wim Taymans  <wim@fluendo.com>
8225
8226         * tests/check/gst/gstquery.c: (GST_START_TEST):
8227         Added another check.
8228
8229 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
8230
8231         * plugins/elements/gsttypefindelement.c: (find_peek):
8232           We can do peeks at non-zero offsets, as long as they
8233           fall within the buffer we have.
8234
8235 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
8236
8237         * tests/check/Makefile.am:
8238         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
8239         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
8240         (parse_suite), (main):
8241           Add testsuite for parse launch syntax
8242
8243 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
8244
8245         * plugins/elements/gsttypefindelement.c:
8246         (gst_type_find_element_chain):
8247           When typefinding is unsuccessful in the chain function, don't
8248           error out immediately. Only error out with NO_CAPS_FOUND if
8249           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
8250           otherwise simply wait for more data so we can try typefinding
8251           again with more data later. Also, don't attempt to typefind
8252           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
8253           this should improve typefinding from network sources where the
8254           size of the first buffer can be somewhat random.
8255
8256 2006-02-14  Wim Taymans  <wim@fluendo.com>
8257
8258         * docs/gst/gstreamer-sections.txt:
8259         * gst/gstpadtemplate.c:
8260         * gst/gstpadtemplate.h:
8261         Fix padtemplate docs, fixes #328805.
8262
8263 2006-02-14  Wim Taymans  <wim@fluendo.com>
8264
8265         * tools/gst-launch.c: (main):
8266         NO_PREROLL is not an ERROR so don't send confusing messages
8267         to the user.
8268
8269 2006-02-14  Wim Taymans  <wim@fluendo.com>
8270
8271         Patch by: Torsten Schoenfeld
8272
8273         * gst/gstregistry.c: (gst_registry_get_default),
8274         (_gst_registry_cleanup):
8275         Protect default registry with lock and ref/sink it.
8276         Fixes #324818
8277
8278 2006-02-14  Wim Taymans  <wim@fluendo.com>
8279
8280         * gst/gstbuffer.c:
8281         * gst/gstquery.c: (gst_query_list_add_format),
8282         (gst_query_set_formatsv), (gst_query_parse_formats_length),
8283         (gst_query_parse_formats_nth):
8284         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8285         Docs fixes.
8286
8287 2006-02-14  Wim Taymans  <wim@fluendo.com>
8288
8289         * docs/gst/gstreamer-sections.txt:
8290         Reworked query docs.
8291
8292         * gst/gstquery.c: (gst_query_new_formats),
8293         (gst_query_list_add_format), (gst_query_set_formats),
8294         (gst_query_set_formatsv), (gst_query_parse_formats_length),
8295         (gst_query_parse_formats_nth):
8296         * gst/gstquery.h:
8297         Flesh out formats query, added some new methods.
8298         Fix part of #324398.
8299
8300         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
8301         Added query creation tests.
8302
8303 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
8304
8305         * gst/gstpad.c: (fixate_value):
8306         Add a default fixation for fraction lists.
8307
8308 2006-02-13  Wim Taymans  <wim@fluendo.com>
8309
8310         * gst/gsttask.c: (gst_task_init), (gst_task_func),
8311         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
8312         (gst_task_join):
8313         * gst/gsttask.h:
8314         Detect and warn for obvious deadlocks. fixes #320340
8315         Fix error case where lock was not released.
8316
8317         * tests/check/Makefile.am:
8318         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
8319         (task_func), (gst_element_suite), (main):
8320         Add task check.
8321
8322 2006-02-13  Wim Taymans  <wim@fluendo.com>
8323
8324         * docs/gst/gstreamer-sections.txt:
8325         * gst/gstbus.c:
8326         Add new functions to docs.
8327
8328 2006-02-13  Wim Taymans  <wim@fluendo.com>
8329
8330         * docs/design/part-TODO.txt:
8331         Updated TODO list, basesrc supports seeking to non-bytes
8332         formats.
8333
8334         * docs/design/part-element-sink.txt:
8335         Update docs.
8336
8337         * gst/gstbin.c: (bin_replace_message),
8338         (gst_bin_handle_message_func):
8339         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
8340         * gst/gstevent.c: (gst_event_finalize):
8341         * gst/gstpad.c: (gst_pad_event_default_dispatch),
8342         (gst_pad_send_event):
8343         Use shiny new _TYPE_NAME macros.
8344
8345         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8346         Move debug statement up.
8347
8348         * gst/gstelement.c: (gst_element_set_locked_state):
8349         Add some debugging.
8350
8351 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
8352
8353         * docs/gst/gstreamer-sections.txt:
8354         * gst/gstmessage.h:
8355         * gst/gstquery.h:
8356           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
8357           macros (#330906). Also, document the already existing
8358           GST_QUERY_TYPE macro.
8359
8360 2006-02-13  Wim Taymans  <wim@fluendo.com>
8361
8362         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
8363         (event_probe), (GST_START_TEST):
8364         Only events up to the pipeline EOS are counted, there are
8365         some more when going to NULL currently which we don't care
8366         about for now.
8367
8368 2006-02-13  Wim Taymans  <wim@fluendo.com>
8369
8370         * gst/gstpad.c: (gst_pad_send_event):
8371         Correctly check flushing and emit probes. fixes #330125
8372
8373 2006-02-10  Andy Wingo  <wingo@pobox.com>
8374
8375         * gst/gstbus.c (gst_bus_class_init): Declare our private data
8376         structure.
8377         (gst_bus_init): Cache the location of the private data in the
8378         instance structure.
8379         (gst_bus_enable_sync_message_emission) 
8380         (gst_bus_disable_sync_message_emission): Implement new public
8381         functions.
8382         (gst_bus_post): Emit the sync-message signal if the user asked for
8383         it. Fixes #330684.
8384
8385         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
8386         location of the bus-private structure.
8387         (gst_bus_enable_sync_message_emission)
8388         (gst_bus_disable_sync_message_emission): API addition
8389
8390 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
8391
8392         Patch by: Vincent Torri
8393
8394         * docs/pwg/building-boiler.xml:
8395         PWG patch from #326800
8396
8397 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
8398
8399         * configure.ac:
8400         * docs/Makefile.am:
8401         * docs/design/Makefile.am:
8402           Dist design docs.
8403
8404 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
8405
8406         * configure.ac:
8407           back to CVS
8408
8409 === release 0.10.3 ===
8410
8411 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
8412
8413         * configure.ac:
8414           releasing 0.10.3, "Like a virgin"
8415
8416 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
8417
8418         * configure.ac:
8419           2nd prerelease of 0.10.3
8420           Bump libtool versioning.
8421
8422 2006-02-07  Andy Wingo  <wingo@pobox.com>
8423
8424         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
8425         update last_stop if we're in TIME format and the timestamp is
8426         valid.
8427
8428         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
8429         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
8430         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
8431         If we get a new newsegment with a different format, adapt
8432         accordingly.
8433
8434         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
8435         of 0. Not a problem, really.
8436
8437         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
8438         warn if sync=true.
8439
8440 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
8441
8442         * configure.ac:
8443           Prelease of 0.10.3
8444
8445 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
8446
8447         * win32/vs7:
8448           project files updated to the default vs7 configuration
8449         * win32/common/libgstbase.def:
8450         * win32/common/libgstreamer.def:
8451           added new symbols,
8452           removed empty lines,
8453           sorted all exported symbols alphabetically
8454         * win32/common/dirent.c:
8455         * win32/common/dirent.h:
8456         * win32/common/gchar.h:
8457           use windows line end.
8458           
8459 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
8460
8461         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8462           Send EOS event when stopping.
8463
8464 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
8465
8466         * docs/README:
8467           Tell folks what to do if the plugin-foobar.xml file
8468           hasn't been generated for a newly-added plugin.
8469
8470 2006-02-05  Julien MOUTTE  <julien@moutte.net>
8471
8472         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8473         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8474         (gst_collect_pads_start), (gst_collect_pads_stop),
8475         (gst_collect_pads_event): Collectpads now holds a reference
8476         to the GstPad that was added. Indeed we don't want to look
8477         at pads that might just go away with no warning...
8478
8479 2006-02-05  Julien MOUTTE  <julien@moutte.net>
8480
8481         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8482         (gst_collect_pads_start), (gst_collect_pads_stop),
8483         (gst_collect_pads_event), (gst_collect_pads_chain):
8484         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
8485         Mark Nauwelaerts's patch on bug #328491.
8486
8487 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8488
8489         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
8490         (gst_utils_suite):
8491           Add some simple tests for gst_parse_bin_from_description() and
8492           gst_bin_find_unconnected_pad() (#329069).
8493
8494 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8495
8496         * tools/gst-launch.c: (event_loop), (main):
8497           Catch errors during preroll (#320084).
8498
8499 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
8500
8501         * plugins/elements/gsttypefindelement.c:
8502         (gst_type_find_element_activate):
8503           Post TYPE_NOT_FOUND error message when typefinding
8504           is unsuccessful in the activate function as well.
8505
8506 2006-02-02  Wim Taymans  <wim@fluendo.com>
8507
8508         * docs/design/part-element-sink.txt:
8509         Updated doc.
8510
8511 2006-02-02  Wim Taymans  <wim@fluendo.com>
8512
8513         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
8514         (gst_base_sink_render_object),
8515         (gst_base_sink_queue_object_unlocked):
8516         Only keep track of prerollable items when we are 
8517         prerolling.
8518         Before rendering after preroll, always check if we
8519         have queued items.
8520         Added some more debugging.
8521
8522 2006-02-02  Wim Taymans  <wim@fluendo.com>
8523
8524         * gst/gstelement.c: (gst_element_continue_state),
8525         (gst_element_set_state_func), (gst_element_change_state):
8526         Fixed #326576, been running this for quite some time with
8527         no regressions at all.
8528
8529 2006-02-02  Wim Taymans  <wim@fluendo.com>
8530
8531         * common/gst.supp:
8532         Added more suppressions
8533
8534 2006-02-02  Wim Taymans  <wim@fluendo.com>
8535
8536         * docs/design/part-element-sink.txt:
8537         Updated document.
8538
8539         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8540         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
8541         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
8542         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
8543         (gst_base_sink_do_sync), (gst_base_sink_render_object),
8544         (gst_base_sink_preroll_object),
8545         (gst_base_sink_queue_object_unlocked),
8546         (gst_base_sink_queue_object), (gst_base_sink_event),
8547         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
8548         (gst_base_sink_loop), (gst_base_sink_activate_pull),
8549         (gst_base_sink_get_position), (gst_base_sink_change_state):
8550         * libs/gst/base/gstbasesink.h:
8551         Totally refactored matching the design doc.
8552         Use two segments, one to clip incomming buffers and another to
8553         perform sync.
8554         Handle queueing correctly, bypass the queue when playing.
8555         Make EOS cancelable.
8556         Handle errors correctly when operating in pull based mode.
8557
8558         * tests/check/elements/fakesink.c: (GST_START_TEST),
8559         (fakesink_suite):
8560         Added new check for sinks.
8561
8562 2006-02-02  Wim Taymans  <wim@fluendo.com>
8563
8564         * gst/gstsegment.c: (gst_segment_clip):
8565         No reason to refuse to clip when start == -1
8566
8567 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
8568
8569         * docs/README:
8570         * docs/manual/intro-basics.xml:
8571         * docs/manual/intro-preface.xml:
8572         * docs/manual/manual.xml:
8573         * docs/pwg/advanced-dparams.xml:
8574         * docs/pwg/intro-basics.xml:
8575         * docs/pwg/intro-preface.xml:
8576         * docs/pwg/pwg.xml:
8577           describe dparams (controller) for plugins
8578           unify docs a little more
8579
8580 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
8581
8582         * docs/gst/gstreamer-sections.txt:
8583         * gst/gstutils.c: (element_find_unconnected_pad),
8584         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
8585         * gst/gstutils.h:
8586           Add new API: gst_parse_bin_from_description() and
8587           gst_bin_find_unconnected_pad() (#329069).
8588
8589 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
8590
8591         * docs/manual/README:
8592           uncover a nasty detail of the docs build
8593
8594 2006-01-31  Wim Taymans  <wim@fluendo.com>
8595
8596         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
8597         Don't cache duration messages if we're not going to use or
8598         free them.
8599
8600 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
8601
8602         * docs/manual/advanced-dparams.xml:
8603         * docs/pwg/advanced-dparams.xml:
8604           more dparam docs
8605         * gst/gstindex.c:
8606           fix docs
8607         * libs/gst/controller/lib.c: (gst_controller_init):
8608           init just once
8609
8610 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
8611
8612         * gst/gstelement.c: (gst_element_message_full):
8613           also show file/line/func if no additional debug was given
8614
8615 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
8616         
8617         * win32/vs7/grammar.vcproj:
8618           activate copy of autogenerated files for Release mode
8619
8620 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
8621         
8622         * win32/common/libgstreamer.def:
8623           export gst_value_compare
8624
8625 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
8626
8627         * plugins/elements/Makefile.am:
8628         * plugins/elements/gstelements.c:
8629         * plugins/elements/gstfdsink.c: (_do_init),
8630         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
8631         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
8632         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
8633         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
8634         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
8635         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
8636         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
8637         * plugins/elements/gstfdsink.h:
8638         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
8639
8640 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
8641
8642         * docs/manual/advanced-dparams.xml:
8643           describe controller
8644         * docs/manual/advanced-position.xml:
8645         * docs/manual/basics-init.xml:
8646         * docs/manual/manual.xml:
8647         * docs/manual/titlepage.xml:
8648         * docs/pwg/pwg.xml:
8649         * docs/pwg/titlepage.xml:
8650           cleanup xml (more to come)
8651         * libs/gst/controller/gstcontroller.c:
8652           fix typo
8653
8654 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
8655         
8656         * win32/vs6/grammar.dsp:
8657           add autogen of gstmarshal.c,h for Release mode
8658                 
8659 2006-01-30  Wim Taymans  <wim@fluendo.com>
8660
8661         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8662         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
8663         (gst_base_sink_handle_object), (gst_base_sink_event),
8664         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
8665         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8666         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
8667         (gst_base_sink_deactivate), (gst_base_sink_activate),
8668         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8669         (gst_base_sink_query), (gst_base_sink_change_state):
8670         Basesink cleanups, remove some old code.
8671         Handle the case where a subclass can preroll in the render
8672         method (mostly audiosinks).
8673         Handle more events.
8674         Remove some locks around variables that are now protected
8675         with the PREROLL_LOCK (clock_id, flushing, ..).
8676         Optimize position query some more, do correct locking.
8677         Remove old code to push queue in state change, this is not
8678         needed anymore since preroll blocks on all prerollable items 
8679         now.
8680         Almost implemented as described in design doc.
8681
8682 2006-01-30  Wim Taymans  <wim@fluendo.com>
8683
8684         * tests/check/gst/gstbin.c: (GST_START_TEST):
8685         Wait for refcount to settle down before checking.
8686
8687 2006-01-30  Wim Taymans  <wim@fluendo.com>
8688
8689         * docs/design/part-element-sink.txt:
8690         Pseudo code overview of desired sink behaviour regarding
8691         preroll.
8692
8693 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
8694         * win32/vs6/grammar.dsp:
8695           fix some bugs in Release mode for autogenerated files
8696                 
8697 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
8698         * win32/common/libgstbase.def:
8699         * win32/common/libgstreamer.def:
8700           export some new symbols: gst_base_src_set_format,
8701           gst_iterator_next, gst_structure_set_valist
8702
8703 2006-01-29  Julien MOUTTE  <julien@moutte.net>
8704
8705         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8706         Set pad functions unconditionally. Fixes #329105.
8707
8708 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
8709         * win32/vs8:
8710           add vs8 project files created by Sergey Scobich
8711
8712 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
8713
8714         * gst/gstutils.c: (gst_element_unlink_pads):
8715         Don't leak pad references.
8716
8717         * tests/check/elements/fakesink.c: (GST_START_TEST):
8718         * tests/check/generic/sinks.c: (GST_START_TEST):
8719         * tests/check/generic/states.c: (GST_START_TEST):
8720         * tests/check/gst/gstbin.c: (GST_START_TEST):
8721         * tests/check/gst/gstcaps.c: (GST_START_TEST):
8722         * tests/check/gst/gstelement.c: (GST_START_TEST):
8723         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8724         * tests/check/gst/gstiterator.c: (GST_START_TEST):
8725         * tests/check/gst/gstvalue.c: (GST_START_TEST):
8726         Fix a bunch of leaks. Make generic/sinks.c
8727         use a bit less cpu by slowing the buffer rate
8728         between fakesrc and fakesink.
8729         
8730 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
8731         * gst/gstcaps.c:
8732         * gst/gstelement.c: (gst_element_send_event):
8733         * gst/gstevent.c:
8734         * gst/gstinfo.c:
8735         * gst/gstiterator.c:
8736         * gst/gstiterator.h:
8737         * gst/gstpad.c: (gst_pad_send_event):
8738         * gst/gststructure.c:
8739         * gst/gsturi.c:
8740         * gst/gstutils.c:
8741         * gst/gstvalue.c:
8742         * libs/gst/base/gstadapter.c:
8743           doc fixes, to link to function, just write gst_cool_function(), don't
8744           prefix with '#'
8745
8746 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
8747
8748         * plugins/elements/gsttee.c: (gst_tee_do_push),
8749         (gst_tee_handle_buffer):
8750         Always prefer an actual return value from a src
8751         pad in place of NOT_LINKED. This means we return
8752         WRONG_STATE when all src pads are WRONG_STATE
8753         instead of NOT_LINKED.
8754
8755         Lock when replacing the last message to prevent
8756         racing with the get_property method.
8757
8758         Add debug output
8759
8760 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
8761
8762         * tests/check/Makefile.am:
8763         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
8764         (main):
8765         Add a very simple check that should have caught the memleak I fixed
8766         last night (if not for the slice allocator hiding it)
8767
8768 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
8769
8770         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8771         (gst_bin_remove_func), (gst_bin_handle_message_func),
8772         (bin_query_duration_fold), (bin_query_generic_fold):
8773         Clean up references to the clock provider when disposed or when
8774         handling a clock-lost message from it.
8775
8776         Unref sinks when performing a query via gst_iterator_fold, as the
8777         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
8778
8779         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
8780         (gst_clock_set_master):
8781         Drop our reference to the master clock, if any, when we are disposed.
8782
8783         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
8784         Chain up in dispose. 
8785
8786 2006-01-26  Wim Taymans  <wim@fluendo.com>
8787
8788         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8789         Add some debugging.
8790
8791 2006-01-26  Julien MOUTTE  <julien@moutte.net>
8792
8793         * plugins/elements/gsttee.c: (gst_tee_do_push),
8794         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
8795         handles pad being NOT_LINKED or in WRONG_STATE.
8796
8797 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
8798
8799         * win32/MANIFEST:
8800           more updating
8801
8802 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
8803
8804         * win32/MANIFEST:
8805           remove obsolete entry
8806
8807 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
8808
8809         * docs/gst/gstreamer-sections.txt:
8810         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
8811         (gst_bin_iterate_sources), (gst_bin_send_event):
8812         * gst/gstbin.h:
8813         * gst/gstelement.c: (gst_element_send_event):
8814         * gst/gstevent.c:
8815         * gst/gstpad.c: (gst_pad_send_event):
8816           added code for downstream events, reviewed docs in gstevent.c
8817
8818 2006-01-25  Julien MOUTTE  <julien@moutte.net>
8819
8820         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8821         We only query position using the clock in the playing state.
8822         Query peer in the other cases.
8823         * win32/common/config.h: Updates.
8824
8825 2006-01-24  Wim Taymans  <wim@fluendo.com>
8826
8827         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8828         A clock entry that is scheduled for the exact time of the
8829         clock is still in time.
8830
8831         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8832         (gst_base_sink_do_sync):
8833         Add some more debug info.
8834
8835 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
8836
8837         * win32/vs7:
8838           Add new vs7 project files and solution.
8839
8840 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
8841
8842         * win32/vs7:
8843           all files removed as they were out-dated.
8844
8845 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8846
8847         * docs/random/release:
8848           update notes
8849         * gst/gstbin.c: (gst_bin_init):
8850         * gst/gstbus.c: (gst_bus_new):
8851         * gst/gstbus.h:
8852         * gst/gstpipeline.c: (gst_pipeline_init):
8853           use gst_bus_new(), improve logging, fix docs
8854         * win32/common/config.h:
8855           update for cvs build
8856
8857 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8858
8859         * autogen.sh:
8860           up required version of automake to 1.7
8861
8862 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
8863
8864         * win32/common/libgstreamer.def:
8865           export gst_buffer_is_metadata_writable
8866
8867 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
8868
8869         * docs/gst/gstreamer-sections.txt:
8870         * gst/gstevent.h:
8871           Add gst_event_replace() (#327001)
8872
8873 2006-01-20  Wim Taymans  <wim@fluendo.com>
8874
8875         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8876         Make it actually compile too..
8877
8878 2006-01-20  Wim Taymans  <wim@fluendo.com>
8879
8880         * gst/gstcaps.c:
8881         Clarify behaviour of _is_equal() when passing NULL parameters.
8882
8883         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8884         (gst_pad_set_caps):
8885         Cleanups. Don't unref NULL caps.
8886         When setting the same caps, protect caps of the pad with
8887         proper lock.
8888         Use full functionality of _is_equal() when comparing caps.
8889
8890 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
8891
8892         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
8893         Don't loop infinitely if there are no buffers to present. Partially
8894         fixes #327197, but collectpads is just broken for reusing elements
8895         to do multiple encodes atm.
8896
8897 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
8898
8899         * tools/gst-inspect.c: (print_element_features):
8900         * tools/gst-xmlinspect.c: (main):
8901         URL_HANDLER is not a plugin feature we can search for in
8902         the registry.
8903
8904 2006-01-19  Edward Hervey  <edward@fluendo.com>
8905
8906         * gst/gstelement.c: (gst_element_pads_activate): 
8907         When activating, do src pads first, then sink pads.
8908         When de-activating, do sink pads first, then src pads.
8909
8910 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8911
8912         * docs/gst/gstreamer-sections.txt:
8913         Add gst_index_add_associationv to the docs
8914
8915 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8916
8917         * gst/gstevent.c:
8918           Fix docs typo
8919
8920         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
8921         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
8922           Do some refactoring. Doesn't actually change functionality,
8923           but makes landing the DRAIN event easier later.
8924
8925 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
8926
8927         * docs/pwg/advanced-scheduling.xml:
8928           Update from 0.9.x to 0.10 API and make example a bit
8929           clearer.
8930
8931 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8932
8933         * docs/gst/gstreamer-sections.txt:
8934         Add gst_buffer_(is|make)_metadata_writable methods.
8935
8936 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8937
8938         * docs/design/part-sparsestreams.txt:
8939         Update sparse streams doc, hopefully for greater clarity
8940
8941 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
8942
8943         * docs/design/part-events.txt:
8944         Remove mention of FILLER events.
8945         Add DRAIN event.
8946
8947         * docs/design/part-sparsestreams.txt:
8948         Write some things about using NEWSEGMENT to keep sparse streams
8949         flowing.
8950
8951 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
8952
8953         * gst/gstbin.c: (gst_bin_dispose):
8954           Guard gst_object_unref call against a NULL object (dispose
8955           can theoretically be called multiple times).
8956           
8957 2006-01-18  Wim Taymans  <wim@fluendo.com>
8958
8959         * gst/gstbin.c: (gst_bin_element_set_state):
8960         * gst/gstclock.c: (gst_clock_id_wait):
8961         Added some more debug info.
8962
8963         * libs/gst/base/gstadapter.c:
8964         Added more docs.
8965
8966         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8967         (gst_base_sink_do_sync), (gst_base_sink_chain):
8968         Added some comments.
8969
8970 2006-01-18  Wim Taymans  <wim@fluendo.com>
8971
8972         * tests/check/Makefile.am:
8973         * tests/check/elements/fakesink.c: (chain_async_buffer),
8974         (chain_async), (chain_async_return), (GST_START_TEST),
8975         (fakesink_suite), (main):
8976         Added fakesink test that checks prerolling and clipping
8977         behaviour.
8978
8979         * tests/check/gst/gstutils.c: (GST_START_TEST):
8980         Make check run faster so that buildbots don't timeout.
8981
8982 2006-01-18  Wim Taymans  <wim@fluendo.com>
8983
8984         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8985         (gst_base_sink_do_sync):
8986         Some cleanups.
8987         When the sink finishes blocking on the preroll buffer, it can
8988         immediatly render it instead of rendering when the next buffer
8989         arrives.
8990
8991 2006-01-18  Wim Taymans  <wim@fluendo.com>
8992
8993         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
8994         (gst_base_sink_get_property), (gst_base_sink_do_sync),
8995         (gst_base_sink_chain):
8996         Small cleanups.
8997         GST_ELEMENT_CLOCK and sync are protected with LOCK.
8998         Don't store _last_stop if the buffer is dropped.
8999
9000 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
9001
9002         * plugins/elements/gsttypefindelement.c:
9003         (gst_type_find_element_class_init):
9004           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
9005           object method handler that sets the caps on the pad and we want
9006           that to happen before we emit the signal (fixes e.g. feeding a
9007           plain text file to decodebin).
9008
9009 2006-01-18  Christian Schaller  <Christian@fluendo.com>
9010
9011         * gst/gstplugin.c: Add MPL and Proprietary as license options
9012
9013 2006-01-18  Andy Wingo  <wingo@pobox.com>
9014
9015         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
9016         symbol was exported before, it appears this was just an oversight.
9017         Fixes #168703.
9018         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
9019
9020         * gst/gstindex.c (gst_index_add_associationv): Changed int in
9021         prototype to gint. OK since this prototype was not in the header.
9022
9023 2006-01-17  Andy Wingo  <wingo@pobox.com>
9024
9025         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
9026         registry while we remove plugins.
9027
9028         * tools/gst-inspect.c (print_element_info): Don't unref the
9029         factory arg, that should be the responsibility of whatever code
9030         received the ref. Fixes a double-free when called from
9031         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
9032         (main): Unref the factory if we have one.
9033         (print_element_list): No change -- relies on the
9034         plugin_feature_list_free to free the list of features.
9035
9036 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
9037
9038         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
9039         (gst_buffer_make_metadata_writable):
9040         * gst/gstbuffer.h:
9041         * libs/gst/base/gstbasetransform.c:
9042         (gst_base_transform_prepare_output_buf):
9043         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9044         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9045           Replace gst_buffer_(make|is)_metadata_writable patch now
9046           that the release is out.
9047
9048 2006-01-17  Andy Wingo  <wingo@pobox.com>
9049
9050         * gst/gstregistry.c: Reflow design comment. Update so as to speak
9051         in the present tense without reference to versions.
9052
9053         * gst/gstregistry.c (gst_registry_add_plugin)
9054         (gst_registry_remove_plugin, gst_registry_remove_feature)
9055         (gst_registry_find_feature, gst_registry_get_feature_list)
9056         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
9057         (gst_registry_lookup, gst_registry_scan_path)
9058         (_gst_registry_remove_cache_plugins)
9059         (gst_registry_get_feature_list_by_plugin): Add argument
9060         validation.
9061
9062 === release 0.10.2 ===
9063
9064 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
9065
9066         * configure.ac:
9067           releasing 0.10.2, "If man is five"
9068
9069 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
9070
9071         * gst/gstbuffer.c:
9072         * gst/gstbuffer.h:
9073         * libs/gst/base/gstbasetransform.c:
9074         (gst_base_transform_prepare_output_buf):
9075         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9076         * tests/check/gst/gstbuffer.c: (gst_test_suite):
9077           Back out patch until after the release.
9078
9079 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
9080
9081         * gst/gstminiobject.c:
9082           Spelling fix in docs.
9083         * ChangeLog - remove conflict indicator
9084
9085 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
9086
9087         Reviewed By: Andy Wingo
9088
9089         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
9090         (gst_buffer_make_metadata_writable):
9091         * gst/gstbuffer.h:
9092           Add gst_buffer_(is|make)_metadata_writable as analogues of
9093           gst_buffer_(is|make)_writable.
9094
9095         * libs/gst/base/gstbasetransform.c:
9096         (gst_base_transform_prepare_output_buf):
9097         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9098           Use name gst_buffer_(is|make)_metadata_writable functions.
9099
9100         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9101           Test gst_buffer_(is|make)_metadata_writable
9102         
9103           (Closes: #324162)
9104
9105 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9106
9107         * docs/manual/Makefile.am:
9108           don't do parallel make
9109         * configure.ac:
9110           AC_SUBST HOST_CPU
9111         * win32/common/config.h.in:
9112           add generations for HOST_CPU and GST_MAJORMINOR
9113         * win32/common/config.h:
9114           commit generated result
9115
9116 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
9117
9118         * docs/manual/appendix-integration.xml:
9119           Update GNOME integration section to use gst_init_get_option_group()
9120           instead of the old popt stuff (#322911). Also, GNOME applications
9121           should  now use gconf*sink and gconf*src instead of the old gconf
9122           helper lib we had.
9123
9124 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
9125
9126
9127         * docs/gst/gstreamer-docs.sgml:
9128         * docs/gst/gstreamer-sections.txt:
9129         * docs/libs/gstreamer-libs-sections.txt:
9130           add new API entries to the docs
9131         * libs/gst/controller/Makefile.am:
9132         * libs/gst/controller/gstcontroller.c:
9133         * libs/gst/controller/gstcontroller.h:
9134         * libs/gst/controller/gstcontrollerprivate.h:
9135         * libs/gst/controller/gsthelper.c:
9136         * libs/gst/controller/gstinterpolation.c:
9137           move private structs to private header
9138         * po/README:
9139           gstreamer-0.7 -> gstreamer-0.10
9140         * tests/check/libs/struct_i386.h:
9141           remove private structs
9142
9143 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9144
9145         * plugins/indexers/Makefile.am:
9146           Fixes as part of #317048
9147
9148 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9149
9150         * plugins/indexers/Makefile.am:
9151           fix #316086 - compilation when mmap is missing
9152
9153 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
9154
9155         * libs/gst/base/gstbasesink.c:
9156           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
9157           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
9158         * win32/common/config.h:
9159           added some defines GST_MAJORMINOR and HOST_CPU
9160         * win32/common/libgstbase.def:
9161         * win32/common/libgstreamer.def:
9162           added some exported functions.
9163
9164 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
9165
9166         * libs/gst/controller/gstcontroller.c:
9167         (gst_controlled_property_set_interpolation_mode),
9168         (gst_controlled_property_new):
9169         * libs/gst/controller/gstcontroller.h:
9170         * libs/gst/controller/gstinterpolation.c:
9171         (interpolate_none_get_string_value_array):
9172           make G_TYPE_STRING controlable
9173
9174 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
9175
9176         * tools/README:
9177         * tools/gst-feedback.1.in:
9178         * tools/gst-inspect.1.in:
9179         * tools/gst-launch.1.in:
9180         * tools/gst-md5sum.1.in:
9181         * tools/gst-typefind.1.in:
9182         * tools/gst-xmlinspect.1.in:
9183         * tools/gst-xmllaunch.1.in:
9184           cleanup man-pages, remove reference to gst-register, document env-vars
9185
9186 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
9187
9188         * gst/gstbuffer.c: (gst_buffer_span):
9189           gst_buffer_span should copy the timestamp of the first buffer
9190           if they were both originally overlapping subbuffers of the 
9191           same parent, using the same logic as the 'slow copy' case.
9192
9193 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
9194
9195         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
9196           Need to awaken ALL the pads when we pop a buffer, otherwise
9197           collectpads only works when there is 2 input streams.
9198
9199 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
9200
9201         * docs/random/ensonic/media-device-daemon.txt:
9202           more ideas (dbus)
9203         * gst/gstbuffer.c:
9204           fix doc example, add clarification
9205         * tools/gst-launch.1.in:
9206           add initial info about GST_PLUGIN_PATH, needs more work
9207
9208 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
9209
9210         * docs/manual/basics-bins.xml:
9211         * docs/manual/basics-elements.xml:
9212         * docs/manual/intro-basics.xml:
9213           Some more minor docs additions and updates.
9214
9215 2006-01-11  Wim Taymans  <wim@fluendo.com>
9216
9217         * docs/manual/basics-bins.xml:
9218         * docs/manual/basics-elements.xml:
9219         Some small fixes as pointed out by Ser-ver on IRC.
9220
9221 2006-01-10  Edward Hervey  <edward@fluendo.com>
9222
9223         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9224         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
9225         the single-segment mode.
9226
9227 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
9228
9229         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9230
9231         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
9232         (gst_base_src_perform_seek), (gst_base_src_send_event),
9233         (gst_base_src_set_property), (gst_base_src_get_property),
9234         (gst_base_src_loop), (gst_base_src_start),
9235         (gst_base_src_activate_push):
9236         * libs/gst/base/gstbasesrc.h:
9237           Name (private) union; makes Sun's Forte compiler happy (#324900).
9238
9239 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
9240
9241         * README:
9242           gst-register is gone.
9243
9244 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9245
9246         * gst/gstvalue.c: (_gst_value_initialize):
9247           make the G_TYPE_DATE instantiation work if debug is disabled
9248
9249 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
9250
9251         * gst/gstmessage.c: (gst_message_parse_tag),
9252         (gst_message_parse_error), (gst_message_parse_warning):
9253           Don't crash when return location for error/warning debug
9254           string is NULL; add fact that return locations can be
9255           NULL to docs where appropriate.
9256
9257 2006-01-05  Wim Taymans  <wim@fluendo.com>
9258
9259         * gst/gstplugin.c: (gst_plugin_load_file):
9260         Replace strdup by g_strdup.
9261
9262 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9263
9264         * docs/pwg/advanced-types.xml:
9265           fix doc borkage
9266
9267 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9268
9269         submitted by: Abel Cheung
9270
9271         * po/LINGUAS:
9272         * po/zh_TW.po:
9273           Added Chinese (traditional) translation
9274
9275 2006-01-04  Wim Taymans  <wim@fluendo.com>
9276
9277         * docs/manual/basics-pads.xml:
9278         * docs/plugins/Makefile.am:
9279         * docs/plugins/gstreamer-plugins-docs.sgml:
9280         * docs/plugins/gstreamer-plugins-sections.txt:
9281         * docs/pwg/advanced-clock.xml:
9282         * docs/pwg/advanced-scheduling.xml:
9283         * docs/pwg/advanced-types.xml:
9284         * plugins/elements/gstfdsink.c:
9285         * plugins/elements/gstfdsrc.c:
9286         * plugins/elements/gstfdsrc.h:
9287         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9288         * plugins/elements/gstidentity.h:
9289         * plugins/elements/gstqueue.h:
9290         * plugins/elements/gsttee.c:
9291         * plugins/elements/gsttee.h:
9292         * plugins/elements/gsttypefindelement.c:
9293         (gst_type_find_element_class_init):
9294         * plugins/elements/gsttypefindelement.h:
9295         Small updates to various docs.
9296         Added core plugins to docs.
9297
9298 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9299
9300         * common/gst.supp:
9301           add a suppression for liboil's uninitialized variable
9302
9303 2006-01-02  James Livingston  <jrl at ids dot org dot au>
9304
9305         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9306
9307         * gst/gstutils.h:
9308           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
9309           macro, so that gcc doesn't complain if the -Wmissing-prototypes
9310           compiler switch is being used (#325429).
9311
9312 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
9313
9314         * gst/gstbin.c: (gst_bin_query):
9315           Disable duration query caching in bins until it gets
9316           fixed (see #324807).
9317
9318 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
9319
9320         * tools/gst-inspect.c: (print_element_properties_info):
9321           Handle properties of POINTER and BOXED type.
9322
9323 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
9324
9325         * gst/gst.c: (init_post):
9326           Init tags stuff and some other things before loading
9327           any static plugins (there may be other static plugins
9328           than just the GStreamer ones, and they may want to
9329           register their own tags or formats or whatever, and
9330           preferably without segfaulting).
9331
9332         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
9333           Print at least a warning in the debug logs if we drop a
9334           query just because we don't know how to adjust the value
9335           in the particular format.
9336
9337 2005-12-24  David Schleef  <ds@schleef.org>
9338
9339         * tools/gstreamer-completion:
9340           Replacement for gst-complete written in sh and sed.  Only
9341           completes names of features, but that's 90% of what I want
9342           it for.  Properties are not available in registry.xml.  (Maybe
9343           they should be...)
9344
9345 === release 0.10.1 ===
9346
9347 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
9348
9349         * configure.ac:
9350           releasing 0.10.1, "Nollaig chridheil"
9351
9352 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
9353
9354         * docs/faq/cvs.xml:
9355           Add missing quote, should be make ERROR_CFLAGS="".
9356
9357 2005-12-20  Wim Taymans  <wim@fluendo.com>
9358
9359         * docs/design/part-trickmodes.txt:
9360         More documentation on trickmodes.
9361
9362 2005-12-20  Edward Hervey  <edward@fluendo.com>
9363
9364         * gst/gstcaps.c: (gst_static_caps_get_type):
9365         * gst/gstcaps.h:
9366           API addition: GST_TYPE_STATIC_CAPS
9367         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
9368         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
9369         * gst/gstpadtemplate.h:
9370           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
9371         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
9372         bindings.
9373
9374 2005-12-18  Wim Taymans  <wim@fluendo.com>
9375
9376         * libs/gst/base/gstadapter.c:
9377         * libs/gst/base/gstadapter.h:
9378         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9379         (gst_base_sink_get_position):
9380         * libs/gst/base/gstbasesink.h:
9381         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9382         (gst_base_src_default_query), (gst_base_src_default_do_seek),
9383         (gst_base_src_do_seek), (gst_base_src_perform_seek),
9384         (gst_base_src_send_event), (gst_base_src_update_length),
9385         (gst_base_src_get_range), (gst_base_src_loop),
9386         (gst_base_src_start):
9387         * libs/gst/base/gstbasesrc.h:
9388         * libs/gst/base/gstbasetransform.h:
9389         * libs/gst/base/gstcollectpads.h:
9390         * libs/gst/base/gstpushsrc.c:
9391         * libs/gst/base/gstpushsrc.h:
9392         * libs/gst/dataprotocol/dataprotocol.c:
9393         * libs/gst/dataprotocol/dataprotocol.h:
9394         * libs/gst/net/gstnetclientclock.h:
9395         * libs/gst/net/gstnettimeprovider.h:
9396         Documentation updates.
9397
9398 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
9399
9400         * docs/manual/basics-helloworld.xml:
9401           Remove superfluous closing bracket in helloworld example.
9402
9403 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
9404
9405         * tools/gst-launch.1.in:
9406           Update gst-launch man page; add a section with useful
9407           environment variables. Fixes #323882.
9408
9409 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
9410
9411         * gst/gst.c:
9412         * gst/gst_private.h:
9413           change some char* into char[]
9414
9415 2005-12-16  Wim Taymans  <wim@fluendo.com>
9416
9417         * gst/gstregistryxml.c: (load_feature):
9418         Cleanups.
9419         Don't use g_object_unref on GstObjects so that we avoid
9420         leaks on unsafe glibs.
9421
9422 2005-12-16  Wim Taymans  <wim@fluendo.com>
9423
9424         * gst/gstbin.c: (gst_bin_recalc_state):
9425         Small doc updates.
9426
9427 2005-12-16  Wim Taymans  <wim@fluendo.com>
9428
9429         * common/check.mak:
9430         Added make forever target for check.
9431
9432 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9433
9434         * gst/gst.c: (init_post):
9435           make the registry cache file HOST_CPU-dependent
9436
9437 2005-12-16  Andy Wingo  <wingo@pobox.com>
9438
9439         * plugins/elements/gstbufferstore.c
9440         (gst_buffer_store_cleared_func): Pay attention to g_list_append
9441         return value.
9442
9443         * tests/check/gst/gstobject.c
9444         (test_fake_object_name_threaded_unique): Pay attention to
9445         g_list_sort return value.
9446
9447 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9448
9449         * tools/gst-feedback-m.m:
9450           Update for 0.9/0.10 (fixes #323870).
9451
9452 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
9453
9454         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
9455           Fix lcopy for mini objects, the mini object needs to be ref'ed.
9456           
9457         * tests/check/gst/gstminiobject.c: (my_foo_init),
9458         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
9459         (test_value_collection), (gst_mini_object_suite):
9460           Add test to ensure refcounts end up as expected when passing
9461           GstMiniObjects through g_object_get() and g_object_set().
9462
9463 2005-12-14  Julien MOUTTE  <julien@moutte.net>
9464
9465         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9466         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
9467         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
9468         of collectpads. This version removes a lot of races without
9469         touching API/ABI. Yay !
9470
9471 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
9472
9473         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
9474           Don't allow activation of a srcpad in pull_range if it has no
9475           getrange function.
9476           Change some debug statements to be a little clearer
9477
9478         * plugins/elements/gsttypefindelement.c:
9479         (gst_type_find_handle_src_query):
9480           Check that we have a peer before executing queries thereupon.
9481
9482         * tests/examples/metadata/read-metadata.c: (message_loop):
9483           Use gst_bus_pop instead of gst_bus_poll when we just want it to
9484           immediately return us any available message with 0 timeout.
9485
9486 2005-12-12  Michael Smith  <msmith@fluendo.com>
9487
9488         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9489           Don't unref factories after calling them.
9490         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
9491         * plugins/elements/gsttypefindelement.c:
9492         (gst_type_find_element_chain):
9493           Free lists of factories after using them. Fixing typefinding memory
9494           leaks.
9495
9496 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9497
9498         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
9499         (gst_plugin_feature_load):
9500           more meaningful debug output
9501         * configure.ac:
9502         * tests/Makefile.am:
9503         * tests/old/examples/Makefile.am:
9504           make make distcheck happy again
9505
9506 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9507
9508         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9509           Catch the special case where we are operating chain-based,
9510           but the downstream peer pad has no chain function. Emit a
9511           custom error message in this case instead of letting the
9512           core generate one implying that this is some sort of core
9513           bug. It's not, it just means that whatever got plugged
9514           into the pipeline downstream when we announced the type
9515           can only operate pull-based, while our source can only
9516           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
9517           Error string has not been marked for translation yet, as
9518           it probably needs some more work first.
9519
9520         (gst_type_find_element_get_best_possibility):
9521           Add helper function to find the best of all available
9522           found possibilities that qualify given the min. threshold.
9523
9524         (gst_type_find_element_handle_event):
9525           Fix the case where we get an EOS while still in TYPEFIND
9526           mode (we want to chose the best of all possible types,
9527           not just the first type that happens to be in our unsorted
9528           list of possible types).
9529
9530         (gst_type_find_element_chain):
9531           Make sure we return GST_FLOW_ERROR when we errored out
9532           in stop_typefinding(); also, don't just find the best of
9533           all found type entries and then use the last examined
9534           type entry, but actually use the best entry.
9535
9536 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9537
9538         * tests/examples/typefind/typefind.c: (type_found):
9539         * tests/examples/xml/runxml.c: (xml_loaded):
9540           More gcc4 fixes and a mem leak fix.
9541
9542 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9543
9544         * tests/examples/xml/createxml.c: (object_saved):
9545           gcc 4 fixes
9546
9547 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9548
9549         * tests/Makefile.am:
9550           enable the examples even more
9551
9552 2005-12-12  Andy Wingo  <wingo@pobox.com>
9553
9554         * libs/gst/net/gstnettimeprovider.c
9555         (gst_net_time_provider_class_init, gst_net_time_provider_init)
9556         (gst_net_time_provider_set_property)
9557         (gst_net_time_provider_get_property):
9558         API addition: Export "active" as a GObject property.
9559         (gst_net_time_provider_thread): Only respond to time queries if
9560         the time provider is active.
9561
9562         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
9563         NetTimeProvider, preserving binary compat.
9564
9565 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9566
9567         * tests/examples/controller/audio-example.c: (main):
9568         * tests/examples/launch/Makefile.am:
9569           convert comments again
9570
9571 2005-12-12  Wim Taymans  <wim@fluendo.com>
9572
9573         * libs/gst/base/gstpushsrc.c:
9574         Fix typo.
9575
9576 2005-12-12  Wim Taymans  <wim@fluendo.com>
9577
9578         * docs/libs/gstreamer-libs-sections.txt:
9579         Added new symbol to docs.
9580
9581         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9582         (gst_base_src_init), (gst_base_src_set_format),
9583         (gst_base_src_default_query), (gst_base_src_query),
9584         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
9585         (gst_base_src_perform_seek), (gst_base_src_send_event),
9586         (gst_base_src_default_event), (gst_base_src_event_handler),
9587         (gst_base_src_set_property), (gst_base_src_get_property),
9588         (gst_base_src_wait), (gst_base_src_do_sync),
9589         (gst_base_src_update_length), (gst_base_src_get_range),
9590         (gst_base_src_check_get_range), (gst_base_src_loop),
9591         (gst_base_src_default_negotiate), (gst_base_src_start),
9592         (gst_base_src_activate_push), (gst_base_src_activate_pull),
9593         (gst_base_src_change_state):
9594         * libs/gst/base/gstbasesrc.h:
9595         Implement seeking to other formats than _BYTES.
9596         Implement more seeking methods correctly.
9597         Doc updates.
9598         Added query vmethod.
9599         Added do_seek vmethod to make life easier for subclasses
9600         when seeking.
9601         API addition: gst_base_src_set_format()
9602
9603 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9604
9605         * tests/examples/Makefile.am:
9606           added that too
9607
9608 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9609
9610         * configure.ac:
9611         * docs/random/ensonic/media-device-daemon.txt:
9612         * tests/examples/controller/.cvsignore:
9613         * tests/examples/controller/Makefile.am:
9614         * tests/examples/controller/audio-example.c: (main):
9615         * tests/examples/helloworld/.cvsignore:
9616         * tests/examples/helloworld/Makefile.am:
9617         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
9618         * tests/examples/launch/.cvsignore:
9619         * tests/examples/launch/Makefile.am:
9620         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
9621         * tests/examples/metadata/.cvsignore:
9622         * tests/examples/metadata/Makefile.am:
9623         * tests/examples/metadata/read-metadata.c: (message_loop),
9624         (make_pipeline), (print_tag), (main):
9625         * tests/examples/queue/.cvsignore:
9626         * tests/examples/queue/Makefile.am:
9627         * tests/examples/queue/queue.c: (event_loop), (main):
9628         * tests/examples/typefind/.cvsignore:
9629         * tests/examples/typefind/Makefile.am:
9630         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
9631         (main):
9632         * tests/examples/xml/.cvsignore:
9633         * tests/examples/xml/Makefile.am:
9634         * tests/examples/xml/createxml.c: (object_saved), (main):
9635         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
9636         * tests/old/examples/Makefile.am:
9637         * tests/old/examples/TODO:
9638         * tests/old/examples/controller/.cvsignore:
9639         * tests/old/examples/controller/Makefile.am:
9640         * tests/old/examples/controller/audio-example.c:
9641         * tests/old/examples/helloworld/.cvsignore:
9642         * tests/old/examples/helloworld/Makefile.am:
9643         * tests/old/examples/helloworld/helloworld.c:
9644         * tests/old/examples/launch/.cvsignore:
9645         * tests/old/examples/launch/Makefile.am:
9646         * tests/old/examples/launch/mp3parselaunch.c:
9647         * tests/old/examples/launch/mp3play:
9648         * tests/old/examples/manual/Makefile.am:
9649         * tests/old/examples/metadata/Makefile.am:
9650         * tests/old/examples/metadata/read-metadata.c:
9651         * tests/old/examples/queue/.cvsignore:
9652         * tests/old/examples/queue/Makefile.am:
9653         * tests/old/examples/queue/queue.c:
9654         * tests/old/examples/typefind/.cvsignore:
9655         * tests/old/examples/typefind/Makefile.am:
9656         * tests/old/examples/typefind/typefind.c:
9657         * tests/old/examples/xml/.cvsignore:
9658         * tests/old/examples/xml/Makefile.am:
9659         * tests/old/examples/xml/createxml.c:
9660         * tests/old/examples/xml/runxml.c:
9661           applied some simple fixing to some examples
9662           re-enabled the working examples
9663
9664 2005-12-12  Wim Taymans  <wim@fluendo.com>
9665
9666         * gst/gstsegment.c: (gst_segment_init),
9667         (gst_segment_set_last_stop), (gst_segment_set_seek),
9668         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
9669         (gst_segment_to_running_time):
9670         Added more documentation.
9671         Make sure the last_pos value is updated properly.
9672         Make sure to_stream_time and to_running_time don't
9673         operate on wrong values.
9674
9675         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9676         Update check.
9677
9678 2005-12-12  Michael Smith  <msmith@fluendo.com>
9679
9680         * plugins/elements/gsttypefindelement.c: (free_entry),
9681         (gst_type_find_element_chain):
9682           Now that we're not leaking factories, make sure we keep references
9683           to them while we need them.
9684
9685 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9686
9687         * tests/check/gst/struct_i386.h:
9688           ifdef out the XML structs
9689
9690 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9691
9692         * gst/gstvalue.c: (gst_value_transform_double_fraction):
9693           floor is not needed, F is always positive; this obviates the
9694           need for adding -lm when building without libxml
9695
9696 2005-12-12  Wim Taymans  <wim@fluendo.com>
9697
9698         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9699         Take current playback rate into account when reporting
9700         the position.
9701
9702 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9703
9704         * docs/manual/mime-world.fig:
9705           Let's try this again, this time with a file that is
9706           actually in XFig format.
9707
9708 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9709
9710         * docs/manual/mime-world.fig:
9711           Add audioconvert element to diagram so that it
9712           matches the text and the code (fixes #319526).
9713
9714 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9715
9716         * docs/pwg/building-chainfn.xml:
9717         * docs/pwg/building-pads.xml:
9718         * docs/pwg/building-state.xml:
9719         * docs/pwg/other-source.xml:
9720           Update state change stuff for 0.10 (fixes #322969).
9721
9722 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9723
9724         * docs/manual/advanced-dataaccess.xml:
9725         * docs/manual/appendix-checklist.xml:
9726         * docs/manual/appendix-programs.xml:
9727         * docs/manual/basics-pads.xml:
9728         * docs/manual/highlevel-components.xml:
9729         * docs/manual/manual.xml:
9730           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
9731           add converters in front of pipelines; remove curly
9732           brackets for threads stuff, they no longer exist; use
9733           GST_TYPE_FRACTION for framerates; update some pieces of
9734           code to 0.10, but there's plenty more to do.
9735
9736         * docs/manual/appendix-porting.xml:
9737           Expand on asynchroneous state changes; s/0.9/0.10/;
9738           mention disappearance of gst_init_get_popt_table()
9739           (fixes #322916).
9740
9741 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9742
9743         * docs/faq/using.xml:
9744           Spider no longer exists, and neither does gst-launch-ext.
9745           Update examples to use decodebin and playbin and put
9746           converters in front of sinks (fixes #323726).
9747
9748 2005-12-09  Michael Smith  <msmith@fluendo.com>
9749
9750         * plugins/elements/gsttypefindelement.c: (find_peek),
9751         (gst_type_find_element_chain):
9752           Fix leaking element factories in typefinding.
9753           Fix problem where we forgot about a probable type on non-seekable
9754           files, and thus later mis-typefound it.
9755
9756 2005-12-09  Michael Smith  <msmith@fluendo.com>
9757
9758         * common/m4/gst-makecontext.m4:
9759         * common/m4/gst-mcsc.m4:
9760         * configure.ac:
9761         * win32/common/config.h:
9762         * win32/common/config.h.in:
9763           Remove makecontext stuff; not used in 0.10 and causes problems on
9764           HPUX according to bug #322441
9765
9766 2005-12-07  Wim Taymans  <wim@fluendo.com>
9767
9768         * tests/check/Makefile.am:
9769         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
9770         (main):
9771         * tests/check/libs/struct_i386.h:
9772         Added ABI check for libs
9773
9774 2005-12-07  Wim Taymans  <wim@fluendo.com>
9775
9776         * tests/check/Makefile.am:
9777         And add the struct_i386.h to dist.
9778
9779 2005-12-07  Wim Taymans  <wim@fluendo.com>
9780
9781         * tests/check/Makefile.am:
9782         * tests/check/gst/.cvsignore:
9783         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
9784         (main):
9785         * tests/check/gst/struct_i386.h:
9786         Added check for ABI compatibility.
9787
9788 2005-12-07  Wim Taymans  <wim@fluendo.com>
9789
9790         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9791         (gst_fake_src_get_times), (gst_fake_src_create):
9792         Fix broken sync option, fixes #323259
9793
9794 2005-12-07  Wim Taymans  <wim@fluendo.com>
9795
9796         * gst/gstbuffer.c:
9797         Small docs update.
9798
9799         * gst/gstcaps.c: (gst_caps_is_equal):
9800         Don't assert on NULL <--> X. Fixes #323260
9801
9802         * gst/gstminiobject.c: (gst_mini_object_replace):
9803         If we're doing atomic operations, we might just as well use
9804         the proper way to get an atomic pointer.
9805
9806         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9807         Clean up debugging.
9808
9809 2005-12-07  Michael Smith  <msmith@fluendo.com>
9810
9811         * gst/parse/grammar.y:
9812           Remove handling of { } for threads.
9813
9814 2005-12-06  David Schleef  <ds@schleef.org>
9815
9816         * libs/gst/base/gstbasetransform.c: speling fix.
9817
9818 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9819
9820         * docs/libs/tmpl/gstdataprotocol.sgml:
9821         * docs/random/omega/testing/gstobject.c:
9822         * gst/gst.c:
9823         * gst/gstclock.c:
9824         * gst/gstelement.c:
9825         * gst/gstelementfactory.c:
9826         * gst/gsterror.c:
9827         * gst/gstevent.c:
9828         * gst/gstghostpad.c:
9829         * gst/gstinfo.c:
9830         * gst/gstpadtemplate.c:
9831         * gst/gstregistryxml.c:
9832         * gst/gsttaglist.c:
9833         * gst/gsttagsetter.c:
9834         * gst/gsttypefind.c:
9835         * gst/gstvalue.c:
9836         * libs/gst/base/gstbasesrc.c:
9837         * libs/gst/net/gstnetclientclock.c:
9838         * libs/gst/net/gstnettimeprovider.c:
9839         * plugins/elements/gstfakesrc.c:
9840         * plugins/elements/gstfdsrc.c:
9841         * plugins/elements/gstfilesrc.c:
9842         * plugins/elements/gstidentity.c:
9843         * plugins/elements/gstqueue.c:
9844         * plugins/elements/gsttypefindelement.c:
9845         * plugins/indexers/gstfileindex.c:
9846         * plugins/indexers/gstmemindex.c:
9847         * tests/check/gst/gsttag.c:
9848         * tests/old/examples/cutter/cutter.c:
9849         * tests/old/examples/mixer/mixer.c:
9850         * tests/old/examples/xml/runxml.c: (main):
9851         * tests/old/testsuite/caps/normalisation.c:
9852         * tests/old/testsuite/debug/global.c:
9853         * tests/old/testsuite/parse/parse1.c:
9854         * tools/gst-xmlinspect.c:
9855         * win32/common/dirent.c:
9856           expand tabs
9857
9858 === release 0.10.0 ===
9859
9860 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9861
9862         * configure.ac:
9863           releasing 0.10.0, "Maroilles"
9864
9865 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9866
9867         submitted by: Funda Wang <fundawang@linux.net.cn>
9868
9869         * po/LINGUAS:
9870         * po/zh_CN.po:
9871           added Chinese (Traditional) translation
9872
9873 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9874
9875         * docs/gst/gstreamer-sections.txt:
9876         * docs/libs/tmpl/gstdataprotocol.sgml:
9877         * docs/random/thomasvs/TODO:
9878         * gst/gstutils.c:
9879         * gst/gstutils.h:
9880           fix docs
9881
9882 2005-12-05  Andy Wingo  <wingo@pobox.com>
9883
9884         patch by: Wim Taymans <wim@fluendo.com>
9885
9886         * libs/gst/base/gstbasetransform.c
9887         (gst_base_transform_prepare_output_buf)
9888         (gst_base_transform_buffer_alloc):
9889         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
9890         alloc_buffer_and_set_caps.
9891
9892         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
9893         set_caps on the source pad.
9894         (gst_pad_alloc_buffer_and_set_caps): New function, does what
9895         alloc_buffer used to do. Fixes #322874.
9896
9897         * docs/gst/gstreamer-sections.txt: 
9898         * docs/design/part-negotiation.txt: 
9899         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
9900         changes.
9901
9902 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9903
9904         patch by: Sebastien Moutte
9905
9906         * win32/MANIFEST:
9907         * win32/common/config.h.in:
9908         * win32/vs6/libgstcontroller.dsp:
9909           win32 build fixes
9910
9911 2005-12-05  Wim Taymans  <wim@fluendo.com>
9912
9913         * gst/gstcaps.c: (gst_caps_is_equal):
9914         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9915         (gst_fake_src_create):
9916         Back out previous code changes, leave doc updates, file bugs 
9917         instead. 
9918
9919 2005-12-05  Wim Taymans  <wim@fluendo.com>
9920
9921         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9922         (gst_fake_src_get_times), (gst_fake_src_create):
9923         * plugins/elements/gstfakesrc.h:
9924         Fix broken sync code.
9925
9926 2005-12-05  Wim Taymans  <wim@fluendo.com>
9927
9928         * gst/gstcaps.c: (gst_caps_is_equal):
9929         Comparing NULL against !NULL yields different caps, not a
9930         failure.
9931
9932 2005-12-05  Wim Taymans  <wim@fluendo.com>
9933
9934         * gst/gstpipeline.c:
9935         Fix small typo in docs.
9936
9937 2005-12-05  Andy Wingo  <wingo@pobox.com>
9938
9939         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
9940
9941         * gst/gst.c (init_post): remove hard-coded 0.9 location for
9942         registries/plugins with a MAJORMINOR one.
9943         (plugin_desc): Rename library from gstcoreleements to
9944         staticelements. Fixes #323222.
9945
9946 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
9947
9948         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
9949           Change debug category to 'collectpads' from 'collect_pads'
9950           (fixes #323250).
9951
9952 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9953
9954         patch by: Sebastien Moutte
9955
9956         * libs/gst/controller/gstinterpolation.c:
9957           use convert function for uint64/double
9958         * win32/vs6/libgstcontroller.dsp:
9959           link to GLib
9960
9961 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9962
9963         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
9964         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
9965         * gst/gstutils.h:
9966         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9967           add tests that seem to show that the guint64/gdouble conversions
9968           are correct.
9969
9970 2005-12-02  Wim Taymans  <wim@fluendo.com>
9971
9972         * gst/gstregistry.c: (gst_registry_add_path):
9973         * gst/gstregistry.h:
9974         * gst/gstregistryxml.c:
9975         Fix docs again.
9976
9977 2005-12-02  Wim Taymans  <wim@fluendo.com>
9978
9979         * gst/gstutils.c: (gst_util_uint64_scale_int64),
9980         (gst_util_uint64_scale_int):
9981         Small cleanup.
9982
9983         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9984         Add debug log line.
9985
9986         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
9987         Add FIXME.
9988
9989 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9990
9991         * win32/MANIFEST:
9992         * win32/common/config.h:
9993         * win32/vs6/gstreamer.dsw:
9994         * win32/vs6/libgstcoreelements.dsp:
9995         * win32/vs6/libgstelements.dsp:
9996           renamed core elements plugin
9997
9998 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9999
10000         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
10001         (get_candidates):
10002           do piece-wise major/minor comparison so 0.9 < 0.10
10003           also allow .exe extensions for tools
10004
10005 2005-12-02  Michael Smith  <msmith@fluendo.com>
10006
10007         * gst/gst.c:
10008           Escape a % to make gtkdoc happier; bug 322958.
10009
10010 === release 0.9.7 ===
10011
10012 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10013
10014         * configure.ac:
10015           releasing 0.9.7, "My Dog Has No Nose"
10016
10017 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10018
10019         * common/gst-xmlinspect.py:
10020         * configure.ac:
10021         * docs/libs/tmpl/gstdataprotocol.sgml:
10022         * docs/random/release:
10023         * po/af.po:
10024         * po/az.po:
10025         * po/bg.po:
10026         * po/ca.po:
10027         * po/cs.po:
10028         * po/de.po:
10029         * po/en_GB.po:
10030         * po/fr.po:
10031         * po/it.po:
10032         * po/nb.po:
10033         * po/nl.po:
10034         * po/ru.po:
10035         * po/sq.po:
10036         * po/sr.po:
10037         * po/sv.po:
10038         * po/tr.po:
10039         * po/uk.po:
10040         * po/vi.po:
10041         * win32/common/config.h:
10042         * win32/common/config.h.in:
10043         * win32/vs6/gst_inspect.dsp:
10044         * win32/vs6/gst_launch.dsp:
10045         * win32/vs6/libgstbase.dsp:
10046         * win32/vs6/libgstelements.dsp:
10047         * win32/vs6/libgstreamer.dsp:
10048         * win32/vs7/GStreamer.vcproj:
10049         * win32/vs7/gst-inspect.vcproj:
10050         * win32/vs7/gst-launch.vcproj:
10051         * win32/vs7/libgstbase.vcproj:
10052           bump GST_MAJORMINOR to 0.10
10053           reset libtool version
10054
10055 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10056
10057         * po/LINGUAS:
10058         * po/bg.po:
10059           Added Bulgarian translation by (Alexander Shopov)
10060
10061 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10062
10063         * tests/check/gst/gstplugin.c:
10064           fix test
10065
10066 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10067
10068         * common/gst-xmlinspect.py:
10069         * common/gtk-doc-plugins.mak:
10070         * configure.ac:
10071         * docs/Makefile.am:
10072         * docs/gst/Makefile.am:
10073         * docs/gst/gstreamer-docs.sgml:
10074         * docs/gst/gstreamer-sections.txt:
10075         * docs/gst/gstreamer.types:
10076         * docs/gst/gstreamer.types.in:
10077         * docs/plugins/Makefile.am:
10078         * docs/plugins/gstreamer-plugins-docs.sgml:
10079         * docs/plugins/gstreamer-plugins-sections.txt:
10080         * docs/plugins/gstreamer-plugins.types:
10081         * docs/plugins/inspect.stamp:
10082         * docs/plugins/inspect/plugin-coreelements.xml:
10083         * docs/plugins/inspect/plugin-coreindexers.xml:
10084         * docs/plugins/scanobj-build.stamp:
10085         * gstreamer.spec.in:
10086         * plugins/elements/Makefile.am:
10087         * plugins/elements/gstelements.c:
10088         * plugins/elements/gstfakesink.c:
10089         * plugins/elements/gstfakesrc.c:
10090         * plugins/elements/gstfilesink.c:
10091         * plugins/elements/gstfilesrc.c:
10092         * plugins/elements/gstqueue.c:
10093         * plugins/indexers/Makefile.am:
10094         * plugins/indexers/gstindexers.c:
10095           document core plugins in a separate document just like all the
10096           others
10097           rename these plugins to something starting with core
10098
10099 2005-12-01  Andy Wingo  <wingo@pobox.com>
10100
10101         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
10102         padding here before, but it missed the commit.
10103
10104 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10105
10106         * libs/gst/controller/gstinterpolation.c:
10107           whitespace prices have crashed, we should feel free to use some now
10108           use gst_guint64_to_gdouble
10109
10110 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10111
10112         * libs/gst/controller/gstcontroller.c:
10113         * libs/gst/controller/gsthelper.c:
10114         * libs/gst/controller/gstinterpolation.c:
10115         * libs/gst/controller/lib.c:
10116           wrap config.h include
10117
10118 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10119
10120         * docs/gst/gstreamer-sections.txt:
10121           update docs
10122
10123 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10124
10125         * plugins/elements/gstelements.c:
10126         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
10127         (gst_fd_sink__class_init), (gst_fd_sink__init),
10128         (gst_fd_sink__chain), (gst_fd_sink__set_property),
10129         (gst_fd_sink__get_property):
10130         * plugins/elements/gstfdsink.h:
10131         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
10132         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
10133         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
10134         (gst_fd_src_unlock), (gst_fd_src_set_property),
10135         (gst_fd_src_get_property), (gst_fd_src_create),
10136         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
10137         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
10138         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
10139         (gst_fd_src_uri_handler_init):
10140         * plugins/elements/gstfdsrc.h:
10141         * plugins/elements/gstqueue.c: (gst_queue_get_type):
10142           more anal cleanup
10143
10144 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10145
10146         * docs/gst/Makefile.am:
10147         * docs/gst/gstreamer.types.in:
10148         * gst/Makefile.am:
10149           fix the docs build
10150
10151 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10152
10153         * configure.ac:
10154         * gst/Makefile.am:
10155         * gst/gst.c:
10156         * gst/gstplugin.h:
10157         * gst/gstregistry.h:
10158         * tests/benchmarks/complexity.c:
10159         * tests/benchmarks/mass-elements.c:
10160         * tests/check/Makefile.am:
10161         * tools/Makefile.am:
10162         * tools/gst-inspect.c:
10163         * tools/gst-xmlinspect.c:
10164           various fixes to make
10165           --disable-nls --disable-registry --disable-loadsave
10166           --disable-parse --disable-gst-debug
10167           work and get the core .so down to 360444 bytes after stripping
10168
10169 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10170
10171         * Makefile.am:
10172         * configure.ac:
10173           descend into tests
10174         * docs/random/thomasvs/TODO:
10175         * tests/Makefile.am:
10176         * tests/README:
10177           add a README
10178
10179 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10180
10181         * win32/GStreamer.vcproj:
10182         * win32/MANIFEST:
10183         * win32/Makefile:
10184         * win32/Makefile.inspect:
10185         * win32/Makefile.launch:
10186         * win32/Makefile.register:
10187         * win32/README.txt:
10188         * win32/gst-inspect.vcproj:
10189         * win32/gst-launch.vcproj:
10190         * win32/gst-register.vcproj:
10191         * win32/gstelements.vcproj:
10192         * win32/gstgetbits.def:
10193         * win32/gstgetbits.vcproj:
10194         * win32/gstreamer-dbg.def:
10195         * win32/gstreamer.def:
10196         * win32/libgstbase.def:
10197         * win32/libgstbase.vcproj:
10198         * win32/link_oldruntime.c:
10199         * win32/mman.c:
10200         * win32/mman.h:
10201         * win32/mman.inl:
10202         * win32/msvc71.sln:
10203           move even more stuff, win32/ is nice and clean now
10204
10205 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10206
10207         * libs/gst/control/.cvsignore:
10208         * win32/MANIFEST:
10209         * win32/config.h:
10210         * win32/dirent.c:
10211         * win32/dirent.h:
10212         * win32/gstbytestream.def:
10213         * win32/gstbytestream.vcproj:
10214         * win32/gstconfig.h:
10215         * win32/gstenumtypes.c:
10216         * win32/gstenumtypes.h:
10217         * win32/gstoptimalscheduler.vcproj:
10218         * win32/gstversion.h:
10219         * win32/gtchar.h:
10220         * win32/testsuite/bins.vcproj:
10221         * win32/testsuite/bytestream.vcproj:
10222         * win32/testsuite/caps.vcproj:
10223         * win32/testsuite/cleanup.vcproj:
10224         * win32/testsuite/clock.vcproj:
10225         * win32/testsuite/debug.vcproj:
10226         * win32/testsuite/dlopen.vcproj:
10227         * win32/testsuite/dynparams.vcproj:
10228         * win32/testsuite/elements.vcproj:
10229         * win32/testsuite/ghostpads.vcproj:
10230         * win32/testsuite/indexers.vcproj:
10231         * win32/testsuite/negotiation.vcproj:
10232         * win32/testsuite/parse.vcproj:
10233         * win32/testsuite/plugin.vcproj:
10234         * win32/testsuite/refcounting.vcproj:
10235         * win32/testsuite/schedulers.vcproj:
10236         * win32/testsuite/states.vcproj:
10237         * win32/testsuite/tags.vcproj:
10238         * win32/testsuite/threads.vcproj:
10239           remove old win32 stuff that isn't maintained and should be
10240           reorganized
10241
10242 2005-11-30  Andy Wingo  <wingo@pobox.com>
10243
10244         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
10245         loading the gst.interfaces python module bork.
10246
10247         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
10248         available since GLib 2.2. Fixes #318031.
10249
10250 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10251
10252         * Makefile.am:
10253         * check/.cvsignore:
10254         * check/Makefile.am:
10255         * check/elements/.cvsignore:
10256         * check/elements/fakesrc.c:
10257         * check/elements/fdsrc.c:
10258         * check/elements/identity.c:
10259         * check/generic/.cvsignore:
10260         * check/generic/states.c:
10261         * check/gst-libs/.cvsignore:
10262         * check/gst-libs/controller.c:
10263         * check/gst-libs/gdp.c:
10264         * check/gst/.cvsignore:
10265         * check/gst/capslist.h:
10266         * check/gst/gst.c:
10267         * check/gst/gstbin.c:
10268         * check/gst/gstbuffer.c:
10269         * check/gst/gstbus.c:
10270         * check/gst/gstcaps.c:
10271         * check/gst/gstelement.c:
10272         * check/gst/gstevent.c:
10273         * check/gst/gstghostpad.c:
10274         * check/gst/gstiterator.c:
10275         * check/gst/gstmessage.c:
10276         * check/gst/gstminiobject.c:
10277         * check/gst/gstobject.c:
10278         * check/gst/gstpad.c:
10279         * check/gst/gstpipeline.c:
10280         * check/gst/gstplugin.c:
10281         * check/gst/gstsegment.c:
10282         * check/gst/gststructure.c:
10283         * check/gst/gstsystemclock.c:
10284         * check/gst/gsttag.c:
10285         * check/gst/gstutils.c:
10286         * check/gst/gstvalue.c:
10287         * check/net/.cvsignore:
10288         * check/net/gstnetclientclock.c:
10289         * check/net/gstnettimeprovider.c:
10290         * check/pipelines/.cvsignore:
10291         * check/pipelines/cleanup.c:
10292         * check/pipelines/simple_launch_lines.c:
10293         * check/pipelines/stress.c:
10294         * check/states/.cvsignore:
10295         * check/states/sinks.c:
10296         * configure.ac:
10297         * examples/Makefile.am:
10298         * examples/appreader/.cvsignore:
10299         * examples/appreader/Makefile.am:
10300         * examples/appreader/appreader.c:
10301         * examples/controller/.cvsignore:
10302         * examples/controller/Makefile.am:
10303         * examples/controller/audio-example.c:
10304         * examples/cutter/.cvsignore:
10305         * examples/cutter/Makefile.am:
10306         * examples/cutter/cutter.c:
10307         * examples/cutter/cutter.h:
10308         * examples/events/Makefile.am:
10309         * examples/events/seek.c:
10310         * examples/helloworld/.cvsignore:
10311         * examples/helloworld/Makefile.am:
10312         * examples/helloworld/helloworld.c:
10313         * examples/helloworld2/.cvsignore:
10314         * examples/helloworld2/Makefile.am:
10315         * examples/helloworld2/helloworld2.c:
10316         * examples/launch/.cvsignore:
10317         * examples/launch/Makefile.am:
10318         * examples/launch/mp3parselaunch.c:
10319         * examples/launch/mp3play:
10320         * examples/manual/.cvsignore:
10321         * examples/manual/Makefile.am:
10322         * examples/manual/extract.pl:
10323         * examples/metadata/Makefile.am:
10324         * examples/metadata/read-metadata.c:
10325         * examples/mixer/.cvsignore:
10326         * examples/mixer/Makefile.am:
10327         * examples/mixer/mixer.c:
10328         * examples/mixer/mixer.h:
10329         * examples/pingpong/.cvsignore:
10330         * examples/pingpong/Makefile.am:
10331         * examples/pingpong/pingpong.c:
10332         * examples/plugins/.cvsignore:
10333         * examples/plugins/Makefile.am:
10334         * examples/plugins/example.c:
10335         * examples/plugins/example.h:
10336         * examples/pwg/.cvsignore:
10337         * examples/pwg/Makefile.am:
10338         * examples/pwg/extract.pl:
10339         * examples/queue/.cvsignore:
10340         * examples/queue/Makefile.am:
10341         * examples/queue/queue.c:
10342         * examples/queue2/.cvsignore:
10343         * examples/queue2/Makefile.am:
10344         * examples/queue2/queue2.c:
10345         * examples/queue3/.cvsignore:
10346         * examples/queue3/Makefile.am:
10347         * examples/queue3/queue3.c:
10348         * examples/queue4/.cvsignore:
10349         * examples/queue4/Makefile.am:
10350         * examples/queue4/queue4.c:
10351         * examples/retag/.cvsignore:
10352         * examples/retag/Makefile.am:
10353         * examples/retag/retag.c:
10354         * examples/retag/transcode.c:
10355         * examples/thread/.cvsignore:
10356         * examples/thread/Makefile.am:
10357         * examples/thread/thread.c:
10358         * examples/typefind/.cvsignore:
10359         * examples/typefind/Makefile.am:
10360         * examples/typefind/typefind.c:
10361         * examples/xml/.cvsignore:
10362         * examples/xml/Makefile.am:
10363         * examples/xml/createxml.c:
10364         * examples/xml/runxml.c:
10365         * tests/Makefile.am:
10366         * tests/check/Makefile.am:
10367         * testsuite/.cvsignore:
10368         * testsuite/Makefile.am:
10369         * testsuite/Rules:
10370         * testsuite/caps/.cvsignore:
10371         * testsuite/caps/Makefile.am:
10372         * testsuite/caps/app_fixate.c:
10373         * testsuite/caps/audioscale.c:
10374         * testsuite/caps/caps.c:
10375         * testsuite/caps/caps.h:
10376         * testsuite/caps/caps_strings:
10377         * testsuite/caps/compatibility.c:
10378         * testsuite/caps/deserialize.c:
10379         * testsuite/caps/enumcaps.c:
10380         * testsuite/caps/eratosthenes.c:
10381         * testsuite/caps/filtercaps.c:
10382         * testsuite/caps/fixed.c:
10383         * testsuite/caps/fraction-convert.c:
10384         * testsuite/caps/fraction-multiply-and-zero.c:
10385         * testsuite/caps/intersect2.c:
10386         * testsuite/caps/intersection.c:
10387         * testsuite/caps/normalisation.c:
10388         * testsuite/caps/random.c:
10389         * testsuite/caps/renegotiate.c:
10390         * testsuite/caps/sets.c:
10391         * testsuite/caps/simplify.c:
10392         * testsuite/caps/string-conversions.c:
10393         * testsuite/caps/structure.c:
10394         * testsuite/caps/subtract.c:
10395         * testsuite/caps/union.c:
10396         * testsuite/debug/.cvsignore:
10397         * testsuite/debug/Makefile.am:
10398         * testsuite/debug/category.c:
10399         * testsuite/debug/commandline.c:
10400         * testsuite/debug/global.c:
10401         * testsuite/debug/output.c:
10402         * testsuite/debug/printf_extension.c:
10403         * testsuite/dlopen/.cvsignore:
10404         * testsuite/dlopen/Makefile.am:
10405         * testsuite/dlopen/dlopen_gst.c:
10406         * testsuite/dlopen/loadgst.c:
10407         * testsuite/elements/.cvsignore:
10408         * testsuite/elements/Makefile.am:
10409         * testsuite/elements/gst-inspect-check.in:
10410         * testsuite/elements/struct_i386.h:
10411         * testsuite/elements/struct_size.c:
10412         * testsuite/indexers/.cvsignore:
10413         * testsuite/indexers/Makefile.am:
10414         * testsuite/indexers/cache1.c:
10415         * testsuite/indexers/indexdump.c:
10416         * testsuite/parse/.cvsignore:
10417         * testsuite/parse/Makefile.am:
10418         * testsuite/parse/parse1.c:
10419         * testsuite/parse/parse2.c:
10420         * testsuite/plugin/.cvsignore:
10421         * testsuite/plugin/Makefile.am:
10422         * testsuite/plugin/README:
10423         * testsuite/plugin/dynamic.c:
10424         * testsuite/plugin/linked.c:
10425         * testsuite/plugin/loading.c:
10426         * testsuite/plugin/registry.c:
10427         * testsuite/plugin/static.c:
10428         * testsuite/plugin/static2.c:
10429         * testsuite/plugin/testplugin.c:
10430         * testsuite/plugin/testplugin2.c:
10431         * testsuite/plugin/testplugin2_s.c:
10432         * testsuite/plugin/testplugin_s.c:
10433         * testsuite/refcounting/.cvsignore:
10434         * testsuite/refcounting/Makefile.am:
10435         * testsuite/refcounting/bin.c:
10436         * testsuite/refcounting/element.c:
10437         * testsuite/refcounting/element_pad.c:
10438         * testsuite/refcounting/mainloop.c:
10439         * testsuite/refcounting/mem.c:
10440         * testsuite/refcounting/mem.h:
10441         * testsuite/refcounting/object.c:
10442         * testsuite/refcounting/pad.c:
10443         * testsuite/refcounting/sched.c:
10444         * testsuite/refcounting/thread.c:
10445         * testsuite/states/.cvsignore:
10446         * testsuite/states/Makefile.am:
10447         * testsuite/states/bin.c:
10448         * testsuite/states/locked.c:
10449         * testsuite/states/parent.c:
10450         * testsuite/threads/.cvsignore:
10451         * testsuite/threads/159566.c:
10452         * testsuite/threads/159852.c:
10453         * testsuite/threads/Makefile.am:
10454         * testsuite/threads/queue.c:
10455         * testsuite/threads/signals.c:
10456         * testsuite/threads/staticrec.c:
10457         * testsuite/threads/thread.c:
10458         * testsuite/threads/threadb.c:
10459         * testsuite/threads/threadc.c:
10460         * testsuite/threads/threadd.c:
10461         * testsuite/threads/threade.c:
10462         * testsuite/threads/threadf.c:
10463         * testsuite/threads/threadg.c:
10464         * testsuite/threads/threadh.c:
10465         * testsuite/threads/threadi.c:
10466           move all of these under tests
10467
10468 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10469
10470         * configure.ac:
10471         * tests/Makefile.am:
10472           fix distcheck
10473
10474 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10475
10476         * docs/gst/gstreamer-sections.txt:
10477         * tests/sched/.cvsignore:
10478         * tests/sched/Makefile.am:
10479         * tests/sched/cases/(fs-fs).xml:
10480         * tests/sched/cases/(fs-i-fs).xml:
10481         * tests/sched/cases/(fs-i-i-fs).xml:
10482         * tests/sched/cases/(fs-i-q[i-fs]).xml:
10483         * tests/sched/dynamic-pipeline.c:
10484         * tests/sched/interrupt1.c:
10485         * tests/sched/interrupt2.c:
10486         * tests/sched/interrupt3.c:
10487         * tests/sched/runtestcases:
10488         * tests/sched/runxml.c:
10489         * tests/sched/sched-stress.c:
10490         * tests/sched/sort.c:
10491         * tests/sched/testcases:
10492         * tests/sched/testcases1.tc:
10493         * tests/seeking/.cvsignore:
10494         * tests/seeking/Makefile.am:
10495         * tests/seeking/seeking1.c:
10496         * tests/threadstate/.cvsignore:
10497         * tests/threadstate/Makefile.am:
10498         * tests/threadstate/test1.c:
10499         * tests/threadstate/test2.c:
10500         * tests/threadstate/threadstate1.c:
10501         * tests/threadstate/threadstate2.c:
10502         * tests/threadstate/threadstate3.c:
10503         * tests/threadstate/threadstate4.c:
10504         * tests/threadstate/threadstate5.c:
10505           remove obsolete tests
10506         * configure.ac:
10507         * tests/bench-complexity.scm:
10508         * tests/bench-mass_elements.scm:
10509         * tests/complexity.c:
10510         * tests/complexity.gnuplot:
10511         * tests/instantiate/.cvsignore:
10512         * tests/instantiate/Makefile.am:
10513         * tests/instantiate/caps.c:
10514         * tests/mass_elements.c:
10515         * tests/network-clock-utils.scm:
10516         * tests/network-clock.scm:
10517         * tests/plot-data:
10518         First pass at cleaning up tests/ dir before moving the rest
10519         Combined with CVS surgery
10520
10521 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10522
10523         * po/POTFILES.in:
10524           queue has moved, update
10525
10526 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10527
10528         * docs/gst/gstreamer-sections.txt:
10529           remove double entries from the docs
10530         * gst/gst_private.h:
10531         * gst/gstinfo.c: (_gst_debug_init):
10532           remove the THREAD debug category
10533         * gst/Makefile.am:
10534         * gst/gstqueue.c:
10535         * gst/gstqueue.h:
10536         * docs/gst/gstreamer.types:
10537         * plugins/elements/gstqueue.c: (gst_queue_get_type),
10538         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
10539           completely move queue and fix up debugging categories
10540
10541 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10542
10543         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10544           make initialization portable, using LL is not
10545
10546 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10547
10548         * win32/common/gstconfig.h:
10549           add large padding
10550
10551 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10552
10553         * win32/common/libgstreamer.def:
10554           rename symbols; sort base section
10555
10556 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10557
10558         * gst/gstclock.c: (do_linear_regression):
10559           remove crack non-portable handrolled DEBUG macro
10560
10561 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10562
10563         * docs/random/release:
10564           update notes
10565         * win32/common/gstenumtypes.c: (register_gst_object_flags),
10566         (gst_object_flags_get_type), (register_gst_bin_flags),
10567         (gst_bin_flags_get_type), (register_gst_buffer_flag),
10568         (gst_buffer_flag_get_type), (register_gst_bus_flags),
10569         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10570         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
10571         (gst_caps_flags_get_type), (register_gst_clock_return),
10572         (gst_clock_return_get_type), (register_gst_clock_entry_type),
10573         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10574         (gst_clock_flags_get_type), (register_gst_state),
10575         (gst_state_get_type), (register_gst_state_change_return),
10576         (gst_state_change_return_get_type), (register_gst_state_change),
10577         (gst_state_change_get_type), (register_gst_element_flags),
10578         (gst_element_flags_get_type), (register_gst_core_error),
10579         (gst_core_error_get_type), (register_gst_library_error),
10580         (gst_library_error_get_type), (register_gst_resource_error),
10581         (gst_resource_error_get_type), (register_gst_stream_error),
10582         (gst_stream_error_get_type), (register_gst_event_type_flags),
10583         (gst_event_type_flags_get_type), (register_gst_event_type),
10584         (gst_event_type_get_type), (register_gst_seek_type),
10585         (gst_seek_type_get_type), (register_gst_seek_flags),
10586         (gst_seek_flags_get_type), (register_gst_format),
10587         (gst_format_get_type), (register_gst_index_certainty),
10588         (gst_index_certainty_get_type), (register_gst_index_entry_type),
10589         (gst_index_entry_type_get_type),
10590         (register_gst_index_lookup_method),
10591         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10592         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10593         (gst_index_resolver_method_get_type), (register_gst_index_flags),
10594         (gst_index_flags_get_type), (register_gst_debug_level),
10595         (gst_debug_level_get_type), (register_gst_debug_color_flags),
10596         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10597         (gst_iterator_result_get_type), (register_gst_iterator_item),
10598         (gst_iterator_item_get_type), (register_gst_message_type),
10599         (gst_message_type_get_type), (register_gst_mini_object_flags),
10600         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10601         (gst_pad_link_return_get_type), (register_gst_flow_return),
10602         (gst_flow_return_get_type), (register_gst_activate_mode),
10603         (gst_activate_mode_get_type), (register_gst_pad_direction),
10604         (gst_pad_direction_get_type), (register_gst_pad_flags),
10605         (gst_pad_flags_get_type), (register_gst_pad_presence),
10606         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10607         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10608         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10609         (gst_plugin_error_get_type), (register_gst_plugin_flags),
10610         (gst_plugin_flags_get_type), (register_gst_rank),
10611         (gst_rank_get_type), (register_gst_query_type),
10612         (gst_query_type_get_type), (register_gst_tag_merge_mode),
10613         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10614         (gst_tag_flag_get_type), (register_gst_task_state),
10615         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10616         (gst_alloc_trace_flags_get_type),
10617         (register_gst_type_find_probability),
10618         (gst_type_find_probability_get_type), (register_gst_uri_type),
10619         (gst_uri_type_get_type), (register_gst_parse_error),
10620         (gst_parse_error_get_type):
10621         * win32/common/gstenumtypes.h:
10622         * win32/common/gstversion.h:
10623           update visual studio generated files
10624
10625 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10626
10627         * win32/vs6/libgstbase.dsp:
10628         * win32/vs6/libgstelements.dsp:
10629           update project files for new locations
10630
10631 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10632
10633         * Makefile.am:
10634           remove some files
10635         * README:
10636           reinstate and update
10637         * DEVEL:
10638         * REQUIREMENTS:
10639           removed
10640         * LICENSE:
10641         * docs/random/LICENSE:
10642           moved to random
10643
10644 2005-11-30  Edward Hervey  <edward@fluendo.com>
10645
10646         * gst/gsttypefind.c: (gst_type_find_register):
10647         * gst/gsttypefind.h:
10648         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
10649         (gst_type_find_factory_dispose):
10650         * gst/gsttypefindfactory.h:
10651         Fix memory leak in GstTypeFindFactory.
10652
10653 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10654
10655         * gst/gst.c:
10656         * plugins/elements/Makefile.am:
10657         * plugins/elements/gstelements.c:
10658         * plugins/elements/gstqueue.c:
10659           move queue from core to the elements plugin
10660
10661 2005-11-29  Andy Wingo  <wingo@pobox.com>
10662
10663         * libs/gst/base/gstbasetransform.h: 
10664         * libs/gst/base/gstbasesrc.h: 
10665         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
10666
10667         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
10668         of pointers by which to pad very extensible base classes (like the
10669         ones in libs/gst/base).
10670
10671 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10672
10673         * docs/gst/gstreamer-docs.sgml:
10674         * docs/gst/gstreamer-sections.txt:
10675         * docs/libs/gstreamer-libs-docs.sgml:
10676         * docs/libs/gstreamer-libs-sections.txt:
10677           moving documentation from core to lib
10678
10679 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10680
10681         * check/Makefile.am:
10682         * configure.ac:
10683         * docs/gst/Makefile.am:
10684         * gst/Makefile.am:
10685         * gst/base/.cvsignore:
10686         * gst/base/Makefile.am:
10687         * gst/base/README:
10688         * gst/base/gstadapter.c:
10689         * gst/base/gstadapter.h:
10690         * gst/base/gstbasesink.c:
10691         * gst/base/gstbasesink.h:
10692         * gst/base/gstbasesrc.c:
10693         * gst/base/gstbasesrc.h:
10694         * gst/base/gstbasetransform.c:
10695         * gst/base/gstbasetransform.h:
10696         * gst/base/gstcollectpads.c:
10697         * gst/base/gstcollectpads.h:
10698         * gst/base/gstpushsrc.c:
10699         * gst/base/gstpushsrc.h:
10700         * gst/base/gsttypefindhelper.c:
10701         * gst/base/gsttypefindhelper.h:
10702         * gst/check/Makefile.am:
10703         * gst/check/gstcheck.c:
10704         * gst/check/gstcheck.h:
10705         * gst/net/Makefile.am:
10706         * gst/net/gstnet.h:
10707         * gst/net/gstnetclientclock.c:
10708         * gst/net/gstnetclientclock.h:
10709         * gst/net/gstnettimepacket.c:
10710         * gst/net/gstnettimepacket.h:
10711         * gst/net/gstnettimeprovider.c:
10712         * gst/net/gstnettimeprovider.h:
10713         * libs/gst/Makefile.am:
10714         * libs/gst/base/Makefile.am:
10715         * libs/gst/base/gstbasetransform.c:
10716         * libs/gst/check/Makefile.am:
10717         * plugins/elements/Makefile.am:
10718         * po/POTFILES.in:
10719           CVS surgery + support to move base, check, and net out of gst
10720           and into libs/gst
10721
10722 2005-11-29  Andy Wingo  <wingo@pobox.com>
10723
10724         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
10725
10726         * gst/gststructure.h (struct _GstStructure): Only one pointer of
10727         padding.
10728
10729         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
10730
10731         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
10732
10733         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
10734
10735         * gst/gstobject.h: (struct _GstObject): Only one pointer of
10736         padding; reduces object size by about 30%. We don't expect
10737         anything else to go into gstobject.
10738
10739         * gst/gstminiobject.h (struct _GstMiniObject)
10740         (struct _GstMiniObjectClass): Only one pointer of padding; the
10741         payload is only a pointer and two ints anyway. For the class there
10742         are only two methods as well.
10743         
10744         * gst/gstelement.h (struct _GstElementClass): Removed
10745         the state_changed signal callback, it is not used.
10746
10747 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10748
10749         * docs/gst/gstreamer.types:
10750           fix includes, though they are a little dinky
10751
10752 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10753
10754         * check/Makefile.am:
10755           look in the right place for elements, a lot more chance of
10756           success
10757         * gst/Makefile.am:
10758           remove indexers and elements subdirs
10759         * plugins/Makefile.am:
10760           make indexers conditional
10761
10762 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10763
10764         * Makefile.am:
10765         * configure.ac:
10766         * plugins/elements/Makefile.am:
10767         * plugins/elements/gstcapsfilter.c:
10768         * plugins/elements/gstfilesink.c:
10769         * plugins/elements/gstfilesrc.c:
10770         * plugins/elements/gstidentity.c:
10771         * plugins/indexers/Makefile.am:
10772           do CVS surgery and related build fixery to move elements
10773           and indexers in a new gstreamer/plugins directory, out of the
10774           gst/ directory
10775
10776 2005-11-29  Andy Wingo  <wingo@pobox.com>
10777
10778         * check/Makefile.am:
10779         * pkgconfig/gstreamer-net-uninstalled.pc.in:
10780         * pkgconfig/gstreamer-net.pc.in:
10781         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
10782         #322257.
10783
10784 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10785
10786         * tools/Makefile.am:
10787         * tools/gst-complete.1.in:
10788         * tools/gst-complete.c:
10789         * tools/gst-compprep.1.in:
10790         * tools/gst-compprep.c:
10791           removing -compprep and -complete
10792
10793 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10794
10795         * gst/gstevent.c: (gst_event_new_new_segment),
10796         (gst_event_parse_new_segment):
10797         * gst/gstevent.h:
10798           fix #320529 - clean up new_segment API and structure.
10799           Let's hope everyone was using the methods, and not the structure.
10800
10801 2005-11-29  Edward Hervey  <edward@fluendo.com>
10802
10803         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10804         (gst_base_sink_event), (gst_base_sink_do_sync),
10805         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
10806         Properly handle non GST_FORMAT_TIME segment
10807         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
10808         Properly handle non GST_FORMAT_TIME segment
10809         * gst/gstsegment.c:
10810         This function is valid if the accumulator is 0 and the format
10811         is different from the requested format.
10812         
10813 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
10814
10815         * docs/gst/gstreamer-sections.txt:
10816         Add gst_query_new_seeking and gst_query_parse_seeking to the
10817         docs.
10818
10819 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
10820
10821         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
10822           Treat a pad alloc with new caps the same as if we were not
10823           negotiated, in order to allow a changing upstream output
10824           to produce a new format of data.
10825
10826 2005-11-29  Edward Hervey  <edward@fluendo.com>
10827
10828         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10829         (gst_base_transform_event), (gst_base_transform_eventfunc):
10830         The event virtual method is now properly implemented, with a default
10831         handler
10832         Sub classes should call the parent_class event method. They should
10833         return FALSE if they had a problem handling the given event, or don't
10834         want GstBaseTransform to send that even downstream
10835         * gst/elements/gstidentity.c: (gst_identity_class_init),
10836         (gst_identity_init), (gst_identity_event),
10837         (gst_identity_transform_ip), (gst_identity_set_property),
10838         (gst_identity_get_property):
10839         * gst/elements/gstidentity.h:
10840         Added the single-segment boolean property.
10841         If set to TRUE, it will output a single segment of data, starting from
10842         0, will eat up all incoming newsegment, and modify the timestamp of the
10843         buffers accordingly
10844
10845 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
10846
10847         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
10848           Don't ref NULL target pad (#322751). Improve docs.
10849
10850 2005-11-29  Michael Smith  <msmith@fluendo.com>
10851
10852         * gst/gstregistryxml.c: (load_plugin):
10853           Don't crash if we failed to load a feature from a plugin. 
10854
10855 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10856
10857         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10858         (GST_START_TEST):
10859           use more check API and less GLib API
10860
10861 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10862
10863         * Makefile.am:
10864           don't run checks if we don't have check
10865         * common/check.mak:
10866           remove the registry when running make torture
10867         * docs/gst/gstreamer-sections.txt:
10868           remove second multiply
10869         * gst/gstqueue.c: (gst_queue_loop):
10870           fix a compile warning when disabling debug
10871
10872 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
10873
10874         * gst/gstinfo.h:
10875         Hey! Let's print the pad name if the pointer != NULL instead
10876         of when it == NULL :-)
10877
10878 2005-11-28  Wim Taymans  <wim@fluendo.com>
10879
10880         * check/gst/gstutils.c: (GST_START_TEST):
10881         Updated check, add some scaling accuracy checking code.
10882
10883         * gst/gstutils.c: (gst_util_div128_64),
10884         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
10885         (gst_util_uint64_scale_int):
10886         Fix 6 times faster division code. Optimize for common 
10887         1/1 and less common X/1 cases.
10888
10889 2005-11-28  Wim Taymans  <wim@fluendo.com>
10890
10891         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10892         More checks.
10893
10894         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
10895         (do_linear_regression), (gst_clock_add_observation):
10896         Cleanups.
10897         Release lock when the clock cannot be slaved.
10898         Catch the case where the regression returned an invalid denominator.
10899
10900         * gst/gstutils.c: (gst_util_div128_64_iterate),
10901         (gst_util_div128_64), (gst_util_uint64_scale_int64),
10902         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10903         Add protentially more performant non-iterative 128/64 divide function
10904         that unfortunatly does not work yet.
10905         Shortcut the trivial 0/X = 0 case.
10906         Remove the warnings on overflow.
10907
10908 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10909
10910         * gst/gstplugin.c: (gst_plugin_register_func):
10911           everything causing a plugin not to load should be at least a WARNING
10912
10913 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
10914
10915         * docs/random/ensonic/dparams.txt:
10916           some TODOs for the next dev cycle
10917         * libs/gst/controller/gstcontroller.c:
10918         (gst_controlled_property_set_interpolation_mode),
10919         (gst_controlled_property_new):
10920         * libs/gst/controller/gstcontroller.h:
10921           use base type to assign acccessor functions
10922
10923 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
10924
10925         * check/Makefile.am:
10926         Oops, that should have been top_srcdir
10927
10928 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
10929
10930         * check/Makefile.am:
10931         * check/elements/fdsrc.c: (GST_START_TEST):
10932         Use a cmdline define to specify the location of a file to use for
10933         testing, to avoid breaking distcheck.
10934
10935 2005-11-28  Andy Wingo  <wingo@pobox.com>
10936
10937         * gst/gstpad.c (fixate_value): Use array functions for arrays.
10938
10939 2005-11-28  Edward Hervey  <edward@fluendo.com>
10940
10941         * tools/gst-launch.c: (main):
10942         Clarify the output strings, makes it easier to translate.
10943         Fixes #322626
10944
10945 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10946
10947         * gst/Makefile.am:
10948           don't try and build net if we don't even have <sys/socket.h>
10949
10950 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
10951
10952         * check/Makefile.am:
10953         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
10954         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
10955           Add tests for fdsrc seekability
10956
10957         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
10958         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
10959         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
10960         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
10961         * gst/elements/gstfdsrc.h:
10962           fdsrc should not be a 'live' source.
10963           Implement seeking on seekable fd's.
10964
10965         * gst/gstquery.c: (gst_query_new_seeking),
10966         (gst_query_parse_seeking):
10967         * gst/gstquery.h:
10968           Implement SEEKING query functions: 
10969             *_new_seeking and *_parse_seeking
10970
10971 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
10972
10973         * gst/gstelement.c: (gst_element_dispose):
10974           don't loop forever
10975
10976         * gst/gstiterator.c:
10977         * gst/gststructure.c:
10978           doc fixes
10979
10980         * libs/gst/controller/gstcontroller.c:
10981         (gst_controlled_property_set_interpolation_mode):
10982         * libs/gst/controller/gstcontroller.h:
10983         * libs/gst/controller/gstinterpolation.c:
10984         (interpolate_none_get_enum_value_array):
10985           support controlling enums
10986
10987 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
10988
10989         * gst/gstvalue.c:
10990           Improve documentation for gst_value_union().
10991
10992         * gst/gstvalue.h:
10993           Change return value for union, intersect and subtract functions
10994           from gint to gboolean.
10995
10996 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
10997
10998         * gst/gstvalue.c: (gst_value_serialize_any_list),
10999         (gst_value_transform_any_list_string),
11000         (gst_value_deserialize_list), (gst_value_deserialize_array),
11001         (gst_value_set_int_range), (gst_value_deserialize_int_range),
11002         (gst_value_set_double_range), (gst_value_deserialize_double_range),
11003         (gst_value_set_fraction_range_full),
11004         (gst_value_deserialize_fraction_range),
11005         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
11006         (gst_value_deserialize_boolean),
11007         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
11008         (gst_value_serialize_float), (gst_value_deserialize_float),
11009         (gst_string_wrap), (gst_value_deserialize_string),
11010         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
11011         (gst_value_union_int_range_int_range),
11012         (gst_value_intersect_int_range_int_range),
11013         (gst_value_intersect_double_range_double_range),
11014         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
11015         (gst_value_subtract_int_range_int_range),
11016         (gst_value_subtract_double_double_range),
11017         (gst_value_subtract_double_range_double_range),
11018         (gst_value_deserialize_fraction):
11019         * gst/gstvalue.h:
11020           Use gint, gdouble and gchar in our API instead of int, double and
11021           char (and make usage in gstvalue.c more consistent).
11022
11023 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
11024
11025         * check/Makefile.am:
11026         * libs/gst/controller/Makefile.am:
11027         * libs/gst/dataprotocol/Makefile.am:
11028           fix up Makefile.am and remove GST_ENABLE_NEW
11029
11030 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
11031
11032         * configure.ac:
11033         * gst/Makefile.am:
11034         * gst/base/Makefile.am:
11035         * gst/check/Makefile.am:
11036         * gst/elements/Makefile.am:
11037         * gst/net/Makefile.am:
11038           update LDFLAGS use some more
11039
11040 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
11041
11042         * common/m4/gst-doc.m4:
11043           Fixes #312589
11044
11045 2005-11-26  Edward Hervey  <edward@fluendo.com>
11046
11047         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11048         This shouldn't issue a g_warning since it returns NULL if it
11049         couldn't find the plugin, and all functions using this behave
11050         properly on a NULL return. Switching to a GST_WARNING.
11051
11052 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
11053
11054         * gst/gstbin.c: (gst_bin_handle_message_func):
11055         Don't leak clock messages.
11056
11057 2005-11-25  Wim Taymans  <wim@fluendo.com>
11058
11059         * gst/gstutils.c: (gst_util_uint64_scale_int64),
11060         (gst_util_uint64_scale_int):
11061         Optimisations, remove unneeded vars.
11062
11063 2005-11-25  Wim Taymans  <wim@fluendo.com>
11064
11065         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11066         Added more checks for the high precision uint64 cases.
11067
11068         * gst/gstutils.c: (gst_util_uint64_scale_int64),
11069         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
11070         Implement high precision (guint64 * guint64) / guint64.
11071
11072 2005-11-24  Wim Taymans  <wim@fluendo.com>
11073
11074         * gst/base/gstbasesrc.c: (gst_base_src_query):
11075         Fix wrong percentage query.
11076
11077         * gst/gstutils.c: (gst_util_uint64_scale),
11078         (gst_util_uint64_scale_int):
11079         Add some more common cases that can be handled 
11080         efficiently to _scale.
11081
11082 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11083
11084         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
11085         (gst_mini_object_suite):
11086           don't use check calls from threads; check probably isn't
11087           threadsafe and using a lock to make it threadsafe would
11088           defeat the purpose of this check
11089         * gst/check/gstcheck.c:
11090         * gst/check/gstcheck.h:
11091           use GST_DEBUG some more
11092
11093 2005-11-24  Wim Taymans  <wim@fluendo.com>
11094
11095         * gst/gstutils.c: (gst_util_uint64_scale),
11096         (gst_util_uint64_scale_int):
11097         Chain trivial case to _scale_int.
11098
11099 2005-11-24  Wim Taymans  <wim@fluendo.com>
11100
11101         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11102         Added test for scaling.
11103
11104         * gst/gstclock.h:
11105         Small doc fix.
11106
11107         * gst/gstutils.c: (gst_util_uint64_scale_int):
11108         Implemented high precision scaling code.
11109
11110 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
11111
11112         * gst/gstinfo.h:
11113           do not crash on pad==NULL
11114
11115 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11116
11117         Patch by: Stefan Kost
11118
11119         * common/gtk-doc.mak:
11120         * docs/gst/Makefile.am:
11121         * docs/libs/Makefile.am:
11122           Fix distcheck issues for the libraries docs build
11123           Closes #319599.
11124
11125 2005-11-24  Michael Smith <msmith@fluendo.com>
11126
11127         * docs/manual/basics-helloworld.xml:
11128           Fix bug #315027: memory leak in example code in docs.
11129
11130 2005-11-24  Michael Smith <msmith@fluendo.com>
11131
11132         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11133           Unlock the PREROLL_LOCK in a failure case.
11134
11135 2005-11-24  Wim Taymans  <wim@fluendo.com>
11136
11137         * docs/gst/gstreamer-sections.txt:
11138         * gst/base/gstadapter.h:
11139         * gst/base/gstbasesink.h:
11140         * gst/base/gstbasesrc.h:
11141         * gst/base/gstbasetransform.h:
11142         * gst/base/gstpushsrc.h:
11143         * gst/elements/gstfakesink.h:
11144         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
11145         * gst/elements/gstfakesrc.h:
11146         * gst/elements/gstfilesink.h:
11147         * gst/elements/gstfilesrc.h:
11148         * gst/gst.c:
11149         * gst/gstbin.c:
11150         * gst/gstbuffer.c: (_gst_buffer_copy):
11151         * gst/gstbus.h:
11152         * gst/gstcaps.c:
11153         * gst/gstchildproxy.c:
11154         * gst/gstclock.c:
11155         * gst/gstelement.c:
11156         * gst/gstelementfactory.c:
11157         * gst/gstelementfactory.h:
11158         * gst/gstevent.c:
11159         * gst/gstghostpad.h:
11160         * gst/gstindex.h:
11161         * gst/gstinterface.h:
11162         * gst/gstminiobject.c:
11163         * gst/gstminiobject.h:
11164         * gst/gstpad.c:
11165         * gst/gstpad.h:
11166         * gst/gstpadtemplate.h:
11167         * gst/gstpipeline.h:
11168         * gst/gstpluginfeature.h:
11169         * gst/gstquery.h:
11170         * gst/gstqueue.h:
11171         * gst/gsttaglist.c:
11172         * gst/gsttaglist.h:
11173         * gst/gsttagsetter.c:
11174         * gst/gsttagsetter.h:
11175         * gst/gsttrace.c:
11176         * gst/gsttrace.h:
11177         * gst/gsttypefind.h:
11178         * gst/gsturi.h:
11179         * gst/gstvalue.c:
11180         * gst/net/gstnetclientclock.c:
11181         * gst/net/gstnetclientclock.h:
11182         * gst/net/gstnettimepacket.c:
11183         * gst/net/gstnettimeprovider.c:
11184         * gst/net/gstnettimeprovider.h:
11185         Doc fixes.
11186
11187 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
11188
11189         * configure.ac: back to HEAD
11190
11191 === release 0.9.6 ===
11192
11193 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
11194
11195         * configure.ac:
11196           releasing 0.9.6, "Always On Time"
11197
11198 2005-11-23  Wim Taymans  <wim@fluendo.com>
11199
11200         * docs/gst/gstreamer-sections.txt:
11201         * gst/glib-compat.c:
11202         * gst/gsttagsetter.c:
11203         * gst/gstvalue.c:
11204         * gst/net/gstnetclientclock.c:
11205         * gst/net/gstnettimepacket.h:
11206         Doc updates.
11207
11208 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
11209
11210         * docs/faq/using.xml:
11211         * docs/libs/tmpl/gstcontrol.sgml:
11212         * docs/manual/advanced-dparams.xml:
11213         * docs/manual/appendix-checklist.xml:
11214         * docs/manual/basics-elements.xml:
11215         * docs/pwg/other-source.xml:
11216         * docs/random/moving-plugins:
11217         * gst/gstpad.c:
11218         * tools/gst-launch.1.in:
11219           remove mentions of sinesrc
11220
11221 2005-11-23  Michael Smith <msmith@fluendo.com>
11222
11223         * docs/gst/gstreamer-sections.txt:
11224           Update for new API and API changes.
11225         * gst/gstobject.h:
11226           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
11227         * gst/gstvalue.c:
11228           Documentation typo fix.
11229         * gst/net/gstnettimepacket.c:
11230           Documentation fixes for arguments.
11231
11232 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
11233
11234         * gst/gststructure.c: (gst_structure_get_fraction),
11235         (gst_structure_parse_value),
11236         (gst_structure_fixate_field_nearest_fraction):
11237         * gst/gststructure.h:
11238         * gst/gstutils.c: (gst_util_uint64_scale_int):
11239         * gst/gstutils.h:
11240         * scripts/update-funcnames:
11241         API Changes. 
11242         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
11243         Make gst_structure_fixate_field_nearest_fraction take a numerator
11244         and denominator argument instead of a GValue
11245         add gst_structure_get_fraction helper function.
11246
11247 2005-11-23  Wim Taymans  <wim@fluendo.com>
11248
11249         * docs/design/part-TODO.txt:
11250         Update TODO.
11251
11252         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11253         * gst/net/gstnetclientclock.h:
11254         Use parent fields for timeout and window_size.
11255
11256 2005-11-23  Andy Wingo  <wingo@pobox.com>
11257
11258         * check/net/gstnetclientclock.c (test_functioning): Adjust to
11259         rate_num/rate_denom change.
11260
11261         * gst/net/gstnetclientclock.c
11262         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
11263         OBJECT_LOCK. Don't call add_observation with the lock.
11264
11265         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
11266         fraction.
11267         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
11268         rate fraction.
11269         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
11270         deal with rate as a fraction whose numerator and denominator are
11271         GstClockTime values.
11272         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
11273         master; the other fields are protected by the SLAVE_LOCK.
11274         (do_linear_regression): Note that this must be called with the
11275         SLAVE_LOCK.
11276         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
11277         OBJECT_LOCK. Call set_calibration instead of touching the
11278         variables directly.
11279         (gst_clock_set_property, gst_clock_get_property): Protect
11280         master/slave parameters with the SLAVE_LOCK.
11281
11282         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
11283         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
11284         note that all of the instance variables that add_observation and
11285         the set_master functions use are protected by that lock and not
11286         the OBJECT_LOCK.
11287         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
11288
11289         * gst/gstclock.c (gst_clock_add_observation): No longer requires
11290         the caller to take the object lock.
11291
11292 2005-11-23  Wim Taymans  <wim@fluendo.com>
11293
11294         * gst/gsterror.c: (_gst_core_errors_init):
11295         * gst/gsterror.h:
11296         Add error for clock stuff.
11297
11298         * gst/gstpipeline.c: (gst_pipeline_change_state),
11299         (gst_pipeline_set_clock):
11300         Post clock error when clock cannot be used in a pipeline.
11301
11302 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
11303
11304         * docs/gst/gstreamer-sections.txt:
11305           make two symbols from gstinfo private for the docs
11306         * gst/base/gstcollectpads.h:
11307         * gst/gstutils.c:
11308           fix doc typos, update docs
11309
11310 2005-11-22  Wim Taymans  <wim@fluendo.com>
11311
11312         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11313         (gst_base_sink_wait), (gst_base_sink_do_sync),
11314         (gst_base_sink_handle_event):
11315         * gst/base/gstbasesink.h:
11316         No need to store the clock, the parent element class already
11317         has it.
11318
11319         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
11320         Updates for clock_set returning a gboolean
11321
11322         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
11323         (gst_clock_id_wait_async), (gst_clock_class_init),
11324         (gst_clock_init), (gst_clock_finalize),
11325         (gst_clock_get_internal_time), (gst_clock_get_time),
11326         (gst_clock_slave_callback), (gst_clock_set_master),
11327         (gst_clock_get_master), (do_linear_regression),
11328         (gst_clock_add_observation), (gst_clock_set_property),
11329         (gst_clock_get_property):
11330         * gst/gstclock.h:
11331         Implement master/slave. When setting a clock as a slave, a
11332         periodic timeout is scheduled to sample master and slave times.
11333         Then the slave clock is recalibrated to match offset and rate
11334         of the master clock.
11335         Update logging a bit.
11336         Add flag so that a clock can state that is cannot be slaved to
11337         another clock.
11338
11339         * gst/gstelement.c: (gst_element_set_clock):
11340         * gst/gstelement.h:
11341         The set clock returns a gboolean for when an element cannot
11342         deal with the selected clock in the pipeline. 
11343
11344         * gst/gstpipeline.c: (gst_pipeline_change_state),
11345         (gst_pipeline_set_clock):
11346         * gst/gstpipeline.h:
11347         Handle the case where the selected clock cannot be set on
11348         the pipeline.
11349
11350         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
11351         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
11352         (gst_net_client_clock_set_property),
11353         (gst_net_client_clock_get_property),
11354         (gst_net_client_clock_observe_times):
11355         * gst/net/gstnetclientclock.h:
11356         Use regression code in GstClock parent, remove duplicated
11357         functionality.
11358
11359 2005-11-22  Michael Smith <msmith@fluendo.com>
11360
11361         * gst/gstutils.c: (gst_util_clock_time_scale):
11362         * gst/gstutils.h:
11363         * docs/gst/gstreamer-sections.txt:
11364           Rename method to have extra underscore.
11365
11366 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11367
11368         * gst/elements/Makefile.am:
11369         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
11370         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11371         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
11372         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
11373         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
11374         * gst/elements/gstfakesrc.h:
11375         * gst/gstqueue.c: (queue_leaky_get_type):
11376           correctly fix GEnumValues so that nick is the short lowercase
11377           dashed tag
11378         * tools/gst-inspect.c: (print_element_properties_info):
11379           also show the nick, since it's useful to use from parse_launch
11380           syntax
11381           Fixes #322139
11382
11383 2005-11-22  Michael Smith <msmith@fluendo.com>
11384
11385         * gst/gstutils.c: (gst_util_clocktime_scale):
11386         * gst/gstutils.h:
11387         * docs/gst/gstreamer-sections.txt:
11388           Add util method for scaling a clocktime by a fraction. Useful 
11389           implementation is left as an exercise for the reader.
11390
11391 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11392
11393         * gst/gstvalue.c: (gst_value_collect_fraction_range):
11394         If needed, allocate storage in the destination value during
11395         collection.
11396
11397 2005-11-22  Edward Hervey  <edward@fluendo.com>
11398
11399         * docs/gst/gstreamer-sections.txt:
11400         * gst/Makefile.am:
11401         * gst/gst.h:
11402         * gst/gsturitype.c:
11403         * gst/gsturitype.h:
11404         * gst/gstutils.c: (gst_util_set_object_arg):
11405         * tools/gst-compprep.c: (main):
11406         * tools/gst-inspect.c: (print_element_properties_info):
11407         Removed GstURI, closes bug #321061
11408
11409 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11410
11411         * check/gst/gststructure.c: (GST_START_TEST):
11412         * gst/gststructure.c: (gst_structure_parse_value):
11413           Oops, broke automatic string type parsing.
11414           Add a test to catch it in future.
11415
11416 2005-11-22  Andy Wingo  <wingo@pobox.com>
11417
11418         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
11419         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
11420         Actually rename the function implementations. Grr.
11421
11422 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11423
11424         * check/gst/capslist.h:
11425           Comment test cases
11426         * check/gst/gststructure.c: (GST_START_TEST),
11427         (gst_structure_suite):
11428           Test automatic value type detection in gst_structure_from_string.
11429         * gst/gststructure.c: (gst_structure_parse_value):
11430           Add fraction as a type we try and guess automatically in
11431           caps/structure strings.
11432
11433 2005-11-22  Andy Wingo  <wingo@pobox.com>
11434
11435         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
11436
11437         * gst/gsttagsetter.h:
11438         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
11439         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
11440         (gst_tag_setter_add_tag_valist)
11441         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
11442         _add_values, _add_valist, and _add_valist_values. Since this is an
11443         interface the function suffixes should be more explicit so
11444         language binding don't end up with element.add_valist ->
11445         gst_tag_setter_add_valist, for example. Fixes #322069.
11446
11447 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11448
11449         * check/gst/gstcaps.c: (GST_START_TEST):
11450           Extend caps string tests to check that a caps to string
11451           conversion is reversible and produces the same caps.
11452
11453         * gst/gststructure.c: (gst_structure_value_get_generic_type):
11454           Output "fraction" as the generic type fraction range, so caps
11455           serialisation and deserialisation works.
11456         * check/gst/capslist.h:
11457         * gst/gstvalue.c: (gst_value_deserialize_fraction):
11458           Support 'MIN' and 'MAX' for deserialising fractions.
11459
11460 2005-11-22  Andy Wingo  <wingo@pobox.com>
11461
11462         * gst/gstevent.h (gst_event_new_new_segment)
11463         (gst_event_parse_new_segment, gst_event_new_buffer_size)
11464         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
11465         Renamed from *_newsegment, *_buffersize, *_notarget.
11466
11467         * scripts/update-funcnames: New script, performs the changes
11468         listed above.
11469
11470 2005-11-22  Wim Taymans  <wim@fluendo.com>
11471
11472         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11473         Make sure the GstFlowReturn is returned.
11474
11475         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
11476         (gst_bus_add_signal_watch):
11477         * gst/gstbus.h:
11478         add gst_bus_add_signal_watch_full.
11479
11480         * gst/gstplugin.c: (gst_plugin_load_file):
11481         Small style cleanup.
11482
11483 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11484
11485         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
11486           Block the fakesrc srcpad when we send an event, to avoid
11487           contention on the stream_lock causing random test failures.
11488
11489 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11490
11491         * check/gst/gstvalue.c: (GST_START_TEST):
11492         * gst/gstvalue.c: (gst_value_fraction_subtract):
11493           Fix subtraction.
11494
11495 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
11496
11497         * gst/gst.h:
11498           include "gstchildproxy.h"
11499         * gst/gstchildproxy.h:
11500         * libs/gst/controller/gstcontroller.h:
11501           use G_GNUC_NULL_TERMINATED
11502
11503 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11504
11505         * check/gst/capslist.h:
11506         * check/gst/gstcaps.c: (GST_START_TEST):
11507         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11508         * gst/gststructure.c: (gst_structure_parse_range),
11509         (gst_structure_fixate_field_nearest_fraction):
11510         * gst/gststructure.h:
11511         * gst/gstvalue.c: (gst_value_init_fraction_range),
11512         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
11513         (gst_value_collect_fraction_range),
11514         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
11515         (gst_value_set_fraction_range_full),
11516         (gst_value_get_fraction_range_min),
11517         (gst_value_get_fraction_range_max),
11518         (gst_value_serialize_fraction_range),
11519         (gst_value_transform_fraction_range_string),
11520         (gst_value_compare_fraction_range),
11521         (gst_value_deserialize_fraction_range),
11522         (gst_value_intersect_fraction_fraction_range),
11523         (gst_value_intersect_fraction_range_fraction_range),
11524         (gst_value_subtract_fraction_fraction_range),
11525         (gst_value_subtract_fraction_range_fraction),
11526         (gst_value_subtract_fraction_range_fraction_range),
11527         (gst_value_collect_fraction), (gst_value_fraction_multiply),
11528         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
11529         (gst_value_transform_string_fraction), (_gst_value_initialize):
11530         * gst/gstvalue.h:
11531           Implement fraction ranges and extend GstFraction to support
11532           arithmetic subtraction, as well as deserialization from integer
11533           strings such as "100"
11534           Add a testsuite as for int and double range set operations
11535
11536 2005-11-21  Andy Wingo  <wingo@pobox.com>
11537
11538         * gst/gsttaglist.h: 
11539         * gst/gstcaps.h: 
11540         * gst/gststructure.h: Add glib-compat.h.
11541
11542 2005-11-21  Wim Taymans  <wim@fluendo.com>
11543
11544         * gst/gstbin.c: (gst_bin_change_state_func):
11545         Fix for #321595
11546
11547 2005-11-21  Wim Taymans  <wim@fluendo.com>
11548
11549         * gst/gstsegment.h:
11550         And add a nice define too.
11551
11552 2005-11-21  Wim Taymans  <wim@fluendo.com>
11553
11554         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
11555         (gst_segment_new), (gst_segment_free), (gst_segment_init),
11556         (gst_segment_set_duration), (gst_segment_set_last_stop),
11557         (gst_segment_set_seek), (gst_segment_set_newsegment),
11558         (gst_segment_to_stream_time), (gst_segment_to_running_time),
11559         (gst_segment_clip):
11560         * gst/gstsegment.h:
11561         Make binding friendly.
11562
11563 2005-11-21  Andy Wingo  <wingo@pobox.com>
11564
11565         * gst/gsttagsetter.h: 
11566         * gst/gsttaglist.h: 
11567         * gst/gststructure.h: 
11568         * gst/gstcaps.h: 
11569         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
11570         #319940.
11571
11572         * gst/gsterror.c (_gst_core_errors_init):
11573         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
11574         category.
11575
11576         * gst/Makefile.am (gst_headers): Add glib-compat.h.
11577         (noinst_HEADERS): noinst the -private.
11578
11579 2005-11-21  Michael Smith <msmith@fluendo.com>
11580
11581         * gst/gstplugin.h:
11582         * gst/gstregistry.h:
11583           Remove unimplemented declarations for which we can see no sensible
11584           use.
11585
11586 2005-11-21  Andy Wingo  <wingo@pobox.com>
11587
11588         * gst/gst.h: Include glib-compat.h.
11589
11590         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
11591
11592         * gst/glib-compat.c: Include the public and the private header.
11593
11594         * gst/glib-compat-private.h: Copied here from glib-compat.h.
11595
11596         * gst/gstvalue.c: 
11597         * gst/gstpad.c: 
11598         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
11599
11600         * check/gst/gstevent.c (create_custom_events): Check that
11601         FLUSH_STOP is serialized.
11602
11603         * check/elements/identity.c (event_func): 
11604         * check/elements/fakesrc.c (event_func): No stream lock, the core
11605         takes it.
11606
11607         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
11608         stream lock taking, yay.
11609
11610         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
11611         ensure that core takes the stream lock.
11612
11613         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
11614         lock name change.
11615
11616         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
11617         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
11618         it already. For the flush start we do take it though so we get the
11619         right preroll state change messages.
11620
11621         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
11622         the stream lock here, the core does it for us.
11623
11624         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
11625         GST_STREAM_GET_LOCK.
11626         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
11627         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
11628         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
11629         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
11630         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
11631         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
11632
11633         * gst/gstpad.c: Update for stream lock name change.
11634
11635         * gst/base/gstbasesink.c: Update for preroll lock name change.
11636
11637 2005-11-21  Wim Taymans  <wim@fluendo.com>
11638
11639         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
11640         (gst_clock_get_master):
11641         * gst/gstclock.h:
11642         * gst/gstsystemclock.c: (gst_system_clock_init):
11643         Convert Clock flags to object flags.
11644         Added methods to manage master/slave clocks.
11645
11646 2005-11-21  Wim Taymans  <wim@fluendo.com>
11647
11648         * check/gst/gstsegment.c: (GST_START_TEST):
11649         * docs/design/part-TODO.txt:
11650         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11651         (gst_base_sink_event), (gst_base_sink_do_sync),
11652         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11653         (gst_base_sink_query), (gst_base_sink_change_state):
11654         * gst/base/gstbasesink.h:
11655         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
11656         (gst_base_src_default_newsegment),
11657         (gst_base_src_configure_segment), (gst_base_src_do_seek),
11658         (gst_base_src_get_range), (gst_base_src_loop),
11659         (gst_base_src_change_state):
11660         * gst/base/gstbasesrc.h:
11661         * gst/base/gstbasetransform.c:
11662         (gst_base_transform_prepare_output_buf),
11663         (gst_base_transform_event), (gst_base_transform_change_state):
11664         * gst/base/gstbasetransform.h:
11665         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11666         (gst_collect_pads_event):
11667         * gst/base/gstcollectpads.h:
11668         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
11669         (gst_fake_src_create):
11670         * gst/elements/gstfakesrc.h:
11671         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
11672         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11673         (gst_segment_set_last_stop), (gst_segment_set_seek),
11674         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11675         (gst_segment_to_running_time), (gst_segment_clip):
11676         * gst/gstsegment.h:
11677         More segment updates, replace code in plugins with segment
11678         helper functions.
11679
11680 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
11681
11682         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
11683         Don't ignore sscanf results
11684
11685 2005-11-21  Andy Wingo  <wingo@pobox.com>
11686
11687         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
11688
11689         * *.h:
11690         * *.c: Ran scripts/update-macros. Oh yes.
11691
11692         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
11693         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
11694         GST_GET_LOCK, etc.
11695
11696         * scripts/update-macros: New script. Run it on your files to
11697         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
11698         well.
11699
11700 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
11701
11702         * docs/gst/Makefile.am:
11703         * docs/gst/gstreamer-docs.sgml:
11704         * docs/gst/gstreamer-sections.txt:
11705         * docs/gst/gstreamer.types:
11706         * gst/gstinfo.h:
11707           more docs fixes, add new api to the docs
11708
11709 2005-11-21  Andy Wingo  <wingo@pobox.com>
11710
11711         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
11712         state_broadcast call.
11713
11714         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
11715
11716 2005-11-21  Julien MOUTTE  <julien@moutte.net>
11717
11718         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
11719         function calls for arrays.
11720
11721 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
11722
11723         * docs/random/ensonic/media-device-daemon.txt:
11724           wild idea, can this be done?
11725         * docs/gst/gstreamer-sections.txt:
11726         * gst/gsterror.h:
11727         * gst/gstfilter.c:
11728         * gst/gstfilter.h:
11729         * gst/gstplugin.h:
11730         * gst/gstpluginfeature.c:
11731         * gst/gsttrace.c:
11732         * gst/gstvalue.c:
11733         * gst/gstvalue.h:
11734           doc fixes and additions
11735
11736 2005-11-21  Andy Wingo  <wingo@pobox.com>
11737
11738         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
11739         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
11740         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
11741         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
11742         private to the basesrc implementation.
11743
11744         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
11745         behalf of event function if necessary. It should no longer be
11746         necessary to take the stream lock in pad's event functions. Fixes
11747         #320299.
11748
11749 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
11750         * docs/gst/gstreamer-sections.txt:
11751         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
11752         (gst_structure_fixate_field_nearest_double),
11753         (gst_structure_fixate_field_boolean):
11754         * gst/gststructure.h:
11755         * win32/common/libgstreamer.def:
11756         * win32/gstreamer.def:
11757
11758         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
11759         (#322027)
11760
11761 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
11762
11763         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
11764         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
11765         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
11766         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
11767         (gst_fdsrc_uri_handler_init):
11768         * gst/elements/gstfdsrc.h:
11769           Port fd:// URI handler from 0.8 to fdsrc
11770
11771 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11772
11773         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
11774         (gst_value_serialize_fourcc):
11775         * gst/gstvalue.h:
11776           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
11777           consistent with our other format defines (#320324).
11778
11779 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11780
11781         * gst/gstvalue.c: (gst_value_is_fixed):
11782           Revert previous commit. Value lists are by definition
11783           not fixed, as they are a list of possible values.
11784
11785 2005-11-21  Andy Wingo  <wingo@pobox.com>
11786
11787         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
11788         during the stable series if we need it. Fixes #319178.
11789
11790         * gst/gstevent.c (gst_event_new_filler): Removed.
11791
11792         * check/gst/gstevent.c: Update comment about filler events.
11793
11794 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11795
11796         * gst/gstvalue.c: (gst_value_is_fixed):
11797           Should handle both value arrays and value lists.
11798
11799 2005-11-21  Andy Wingo  <wingo@pobox.com>
11800
11801         patch by: Alessandro Dessina <alessandro nnva org>
11802
11803         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
11804         functions to access arrays. Fixes #321962.
11805
11806 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11807
11808         * docs/gst/gstreamer.types:
11809           gst_collectpads_get_type => gst_collect_pads_get_type.
11810           
11811         * gst/base/gstbasetransform.c:
11812           Remove unused SIGNAL_HANDOFF enum.
11813
11814 2005-11-21  Andy Wingo  <wingo@pobox.com>
11815
11816         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
11817         the event type (upstream, downstream, serialized). Renamed
11818         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
11819         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
11820         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
11821
11822         * gst/gstevent.c: Update for new CUSTOM event names.
11823
11824         * check/gst/gstevent.c: Update check for new CUSTOM event names.
11825
11826         * gst/gstevent.h:
11827         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
11828         bug #319392.
11829
11830 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11831
11832         * docs/gst/gstreamer-sections.txt:
11833         * win32/common/libgstbase.def:
11834         * win32/libgstbase.def:
11835         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11836         (gst_collect_pads_class_init), (gst_collect_pads_init),
11837         (gst_collect_pads_finalize), (gst_collect_pads_new),
11838         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
11839         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
11840         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
11841         (gst_collect_pads_start), (gst_collect_pads_stop),
11842         (gst_collect_pads_peek), (gst_collect_pads_pop),
11843         (gst_collect_pads_available), (gst_collect_pads_read),
11844         (gst_collect_pads_flush), (gst_collect_pads_event),
11845         (gst_collect_pads_chain):
11846         * gst/base/gstcollectpads.h:
11847           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
11848           unimplemented functions as unimplemented. Add padding to
11849           GstCollectData. (#320766, #320423)
11850
11851 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11852
11853         * gst/gstmessage.c:
11854           Improve docs for DURATION message (usage of duration parameter)
11855           (#320113)
11856
11857 2005-11-20  Wim Taymans  <wim@fluendo.com>
11858
11859         * check/Makefile.am:
11860         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
11861         (main):
11862         * gst/Makefile.am:
11863         * gst/gst.h:
11864         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11865         (gst_segment_set_seek), (gst_segment_set_newsegment),
11866         (gst_segment_to_stream_time), (gst_segment_to_running_time),
11867         (gst_segment_clip):
11868         * gst/gstsegment.h:
11869         Added segment helper structure and methods. Not fully implemented
11870         yet.
11871         Added segment check.
11872
11873 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
11874
11875         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11876           Add a deserialisation test for fractions
11877         * examples/metadata/read-metadata.c: (message_loop),
11878         (make_pipeline), (main):
11879           Fix up metadata reading sample.
11880         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11881           Debug format fix
11882         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
11883           Don't try and fixate empty caps
11884         * gst/gst_private.h:
11885           Wrap in G_BEGIN_DECLS/G_END_DECLS
11886         * gst/gstvalue.c: (gst_value_collect_fraction),
11887         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
11888         (gst_value_transform_string_fraction),
11889         (gst_value_compare_fraction):
11890           Add some extra guards to ensure that we don't end up 
11891           with an invalid denominator of 0 in a gstfraction and
11892           that fractions always get reduced.
11893
11894 2005-11-20  Wim Taymans  <wim@fluendo.com>
11895
11896         * docs/gst/gstreamer-sections.txt:
11897         * gst/gstbuffer.h:
11898         * gst/gstelement.c:
11899         * gst/gstformat.c:
11900         * gst/gstformat.h:
11901         * gst/gstindex.h:
11902         * gst/gstquery.c:
11903         * gst/gstquery.h:
11904         * gst/gstvalue.c:
11905         Doc fixes.
11906
11907 2005-11-20  Wim Taymans  <wim@fluendo.com>
11908
11909         * docs/design/part-TODO.txt:
11910         * gst/gstcaps.h:
11911         Make a proper enum of the flag.
11912
11913 2005-11-19  Wim Taymans  <wim@fluendo.com>
11914
11915         * docs/design/part-TODO.txt:
11916         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
11917         (gst_format_to_quark), (gst_format_register):
11918         * gst/gstformat.h:
11919         * gst/gstquery.c: (_gst_query_initialize),
11920         (gst_query_type_get_name), (gst_query_type_to_quark),
11921         (gst_query_type_register):
11922         * gst/gstquery.h:
11923         Add type to quark and type to string conversions.
11924
11925 2005-11-19  Andy Wingo  <wingo@pobox.com>
11926
11927         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
11928         #320097.
11929
11930 2005-11-19  Wim Taymans  <wim@fluendo.com>
11931
11932         * docs/design/part-TODO.txt:
11933         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
11934         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
11935         (gst_bin_handle_message_func):
11936         * gst/gstbin.h:
11937         Make message handling overridable.
11938
11939 2005-11-19  Andy Wingo  <wingo@pobox.com>
11940
11941         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
11942
11943         * gst/gstclock.h:
11944         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
11945         be a GstClockTime.
11946         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
11947         is a GstClockTime. Fixes #321710.
11948
11949         * gst/gstclock.h (GstClock): Remove offset property. Add
11950         internal_calibration and external_calibration. Fix padding. Pad
11951         also by GstClockTime so we don't run into problems.
11952
11953         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
11954         (gst_clock_get_rate_offset): Remove.
11955         (gst_clock_set_time_adjust): Remove. Fixes #321712.
11956
11957         * gst/gstutils.h:
11958         * gst/gstutils.c (g_static_rec_cond_wait)
11959         (g_static_rec_cond_timed_wait): Removed, no longer needed.
11960
11961         * gst/gstbin.c: Remove terrible continue_state prototype.
11962
11963         * gst/gstelement.h (gst_element_continue_state): Make public.
11964
11965         * gst/gstelement.h:
11966         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
11967         by continue_state. Fixes #319389.
11968
11969         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
11970         Really fixes #168438. However I don't see anywhere where the
11971         filter function is called... stupid GStreamer...
11972         
11973         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
11974         don't have a dispose function, so it won't get called when the
11975         object is unreffed, but oh well!
11976
11977         * gst/gstindex.c (gst_index_set_filter_full): New API function,
11978         allows a destroy function to be set so user_data can be freed.
11979         Fixes #168438.
11980         (gst_index_set_filter): Call gst_index_set_filter_full.
11981
11982         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
11983
11984         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
11985         string should produce an error, given the lack of a way to
11986         represent NULL strings. Fixes #165650.
11987         
11988         * gst/gstvalue.h: 
11989         * gst/gstvalue.c (gst_value_array_append_value) 
11990         (gst_value_array_prepend_value, gst_value_array_get_size) 
11991         (gst_value_array_get_value): New API, copied from
11992         gst_value_list_*, only operates on arrays.
11993         (gst_value_list_append_value, gst_value_list_prepend_value) 
11994         (gst_value_list_concat, gst_value_list_get_size) 
11995         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
11996
11997         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
11998         init_list, because it works on both.
11999         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
12000         (gst_value_copy_list_or_array): Renamed from copy_list.
12001         (gst_value_free_list_or_array): Renamed from free_list.
12002         (gst_value_collect_list_or_array): Renamed from collect_list.
12003         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
12004         (gst_value_list_or_array_peek_pointer): Renamed from
12005         list_peek_pointer.
12006         (_gst_value_array_value_table, _gst_value_list_value_table):
12007         Update value table functions.
12008         (gst_value_compare_list_or_array): Renamed from compare_list.
12009
12010         * gsttaglist.h: Whoops, foreach function returns void. Also fix
12011         some constness.
12012
12013         * gst/gsttaglist.c:
12014         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
12015         GstTagList*. Fixes #143472.
12016
12017         * gst/gststructure.h: Clarify what the foreach/map functions can
12018         or can't do to their arguments.
12019
12020 2005-11-18  Wim Taymans  <wim@fluendo.com>
12021
12022         * gst/gstclock.c: (gst_clock_set_calibration),
12023         (gst_clock_get_calibration):
12024         Doc and API fixes.
12025         Calibration can be set with internal time equal to current
12026         internal time too.
12027
12028 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
12029
12030         * gst/gsterror.c:
12031         * gst/gsterror.h:
12032           document
12033
12034 2005-11-18  Andy Wingo  <wingo@pobox.com>
12035
12036         * configure.ac: 
12037         * pkgconfig/gstreamer-net.pc.in:
12038         * pkgconfig/gstreamer-net-uninstalled.pc.in:
12039         * pkgconfig/Makefile.am: Add net pkgconfig files.
12040
12041 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
12042
12043         * gst/gstcaps.c:
12044         * gst/gstghostpad.c:
12045         * gst/gsttrace.c:
12046         * gst/gstvalue.c:
12047         * gst/gstvalue.h:
12048           docs fixes
12049
12050 2005-11-18  Andy Wingo  <wingo@pobox.com>
12051
12052         * gst/net/gstnetclientclock.c: Turn off debugging.
12053
12054         * check/net/gstnetclientclock.c (test_functioning): Assert that the
12055         times connverge somewhat. Can't make a real test.
12056
12057         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
12058         integer arithmetic. Return the minimum of the domain, which can be
12059         set as "internal" for gst_clock_set_calibration.
12060         (gst_net_client_clock_observe_times): Call _set_calibration.
12061         (gst_net_client_clock_new): Call _set_calibration instead of
12062         rate_offset.
12063
12064         * check/net/gstnetclientclock.c (test_functioning): Use the right
12065         adjustment api.
12066
12067         * gst/gstclock.h:
12068         * gst/gstclock.c (gst_clock_get_calibration) 
12069         (gst_clock_set_calibration): New functions, obsolete the ones I
12070         added yesterday. Doh. Precision issues mean we have to extrapolate
12071         from a point in the more recent past than 1970.
12072         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
12073         obsolete.
12074         (gst_clock_adjust_unlocked): Use the right calibration data.
12075
12076 2005-11-18  Edward Hervey  <edward@fluendo.com>
12077
12078         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
12079         Also reset the ->current_* values in READY->PAUSED
12080
12081 2005-11-18  Andy Wingo  <wingo@pobox.com>
12082
12083         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
12084         Whoops, check the right fd. Also add some debugging.
12085         (gst_net_client_clock_observe_times): Adjust for int64 offset.
12086         (do_linear_regression): Add a crapload of debugging. Subtract off
12087         the minimum values from the input series to discard unneeded bits.
12088         Use only int arithmetic. There is still double arithmetic when
12089         calculating the intercept that needs fixing. Return boolean to
12090         indicate success; FALSE would mean the domain or range is too
12091         great. Still needs fixes.
12092
12093 2005-11-18  Wim Taymans  <wim@fluendo.com>
12094
12095         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
12096         For the current position in stream time, we need to subtract
12097         accumulated time.
12098         
12099         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
12100         Release lock before calling the callback function of async
12101         entries.
12102
12103 2005-11-18  Andy Wingo  <wingo@pobox.com>
12104
12105         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
12106         Port goes all the way to MAXUINT16.
12107
12108         * gst/net/gstnettimeprovider.c: Make the port range the same as
12109         for the kernel: 0 assigns, otherwise ports are less than
12110         MAXUINT16.
12111
12112         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
12113         port change.
12114
12115         * check/net/gstnetclientclock.c (test_functioning): Add the start
12116         of another test. 
12117
12118 2005-11-18  Wim Taymans  <wim@fluendo.com>
12119
12120         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
12121         (gst_bin_remove_func), (bin_bus_handler):
12122         * gst/gstbin.h:
12123         Removing a clock provider from a bin, triggers a clock lost message
12124         so that a new clock will be selected.
12125         Adding a clock to a bin triggers a clock provider message.
12126         Make sure we reselect a clock when we received a clock lost message.
12127         Keep a reference to the element that provided the clock.
12128
12129 2005-11-18  Andy Wingo  <wingo@pobox.com>
12130
12131         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
12132         the clock initially so it produces values around the base time.
12133         (gst_net_client_clock_class_init): Typo fix.
12134         (gst_net_client_clock_thread): Add note on when the socket gets
12135         closed.
12136
12137 2005-11-17  Wim Taymans  <wim@fluendo.com>
12138
12139         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
12140         Free remote and local time arrays.
12141
12142 2005-11-17  Wim Taymans  <wim@fluendo.com>
12143
12144         * gst/net/gstnetclientclock.c: (do_linear_regression),
12145         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
12146         Fix compilation, uninitialized vars and a forgotten continue.
12147
12148 2005-11-17  Andy Wingo  <wingo@pobox.com>
12149
12150         * check/Makefile.am (check_PROGRAMS): 
12151         * check/net/gstnetclientclock.c: Add a most minimal test for the
12152         net client clock. More to come later.
12153
12154         * gst/net/gstnet.h: 
12155         * gst/net/Makefile.am: Add netclientclock.
12156
12157         * gst/net/gstnetclientclock.h:
12158         * gst/net/gstnetclientclock.c: New files, implement an untested
12159         GstClock that takes its time from a network time provider.
12160         Implements the algorithm in network-clock.scm.
12161
12162         * tests/network-clock.scm (*window-size*): Rename from
12163         *queue-length*.
12164         * tests/network-clock.scm (network-time): 
12165         * tests/network-clock-utils.scm (q-push): Update callers.
12166
12167 2005-11-17  Wim Taymans  <wim@fluendo.com>
12168
12169         * gst/gstbin.c: (gst_bin_provide_clock_func),
12170         (gst_bin_sort_iterator_new):
12171         And unref the child too..
12172
12173 2005-11-17  Wim Taymans  <wim@fluendo.com>
12174
12175         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12176         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
12177         Refactor the sort iterator so it can be used while holding the
12178         LOCK too.
12179         Make clock selection select a clock closest to the source.
12180
12181 2005-11-17  Michael Smith <msmith@fluendo.com>
12182
12183         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
12184         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
12185         * gst/gstclock.h:
12186           Anonymous structs are a gcc (and some other compilers) extension, so
12187           don't use them. Since this is only for ABI-compatibility, and our
12188           API/ABI freeze is over in a few days, this whole thing will only
12189           last a few days, so don't bother trying to think up a meaningful
12190           name for the struct.
12191
12192 2005-11-17  Andy Wingo  <wingo@pobox.com>
12193
12194         * gst/gstclock.h (GstClock): Add rate and offset properties,
12195         preserving ABI stability. Add rate/offset accessors. Will file bug
12196         for the freeze break.
12197
12198         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
12199         and offset, trying to keep precision and avoiding
12200         underflow/overflow.
12201         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
12202         functions. Make gst_clock_set_time_adjust obsolete.
12203         (gst_clock_set_time_adjust): Note that this function is obsolete.
12204         Will file bug soon.
12205
12206         * gst/base/gstbasetransform.h: Make the ABI-stability hack
12207         greppable by using GST_PADDING-1+1.
12208
12209 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
12210
12211         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12212
12213         * gst/gstmessage.c: (gst_message_parse_clock_lost):
12214           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
12215
12216         * gst/gstpadtemplate.h:
12217         * gst/gstpluginfeature.h:
12218           Don't use c++ style comments in headers (#321638).
12219
12220 2005-11-16  Andy Wingo  <wingo@pobox.com>
12221
12222         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
12223         buffer.
12224
12225         * check/net/gstnettimeprovider.c: Check to see that the time
12226         provider actually provides times. Works, yo!
12227
12228 2005-11-16  Wim Taymans  <wim@fluendo.com>
12229
12230         * check/Makefile.am:
12231         Enable more tests.
12232
12233         * check/elements/fakesrc.c: (GST_START_TEST):
12234         Set element to NULL before disposing it.
12235
12236 2005-11-16  Andy Wingo  <wingo@pobox.com>
12237
12238         * gst/net/Makefile.am:
12239         * gst/net/gstnet.h:
12240         * gst/net/gstnettimeprovider.c: 
12241         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
12242         provider, include it from gstnet.h, and add it to the build.
12243
12244         * gst/net/gstnettimepacket.h: 
12245         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
12246         sending and receiving.
12247
12248 2005-11-16  Wim Taymans  <wim@fluendo.com>
12249
12250         * check/Makefile.am:
12251         Enable valgrind check.
12252
12253         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
12254         (gst_fake_src_alloc_buffer):
12255         Fix memleak.
12256
12257 2005-11-16  Wim Taymans  <wim@fluendo.com>
12258
12259         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
12260         Call parent finalize too.
12261
12262 2005-11-16  Wim Taymans  <wim@fluendo.com>
12263
12264         * check/Makefile.am:
12265         Enable valgrind check that should work fine now.
12266
12267         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12268         * gst/gstqueue.c: (gst_queue_init):
12269         Fix memleaks in pad allocation.
12270
12271 2005-11-16  Andy Wingo  <wingo@pobox.com>
12272
12273         * gst/net/Makefile.am:
12274         * gst/net/gstnet.h: New part of core to hold network elements and
12275         objects. Put in core because it exposes API that applications want
12276         to use. The library is named libgstnet-tempname right now because
12277         of the existing libgstnet in gst-plugins-base. Solution is
12278         probably to rename the one in plugins-base; will file a bug for
12279         the freeze break.
12280
12281         * gst/net/gstnettimeprovider.c: 
12282         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
12283         get_time call over the network.
12284
12285         * configure.ac: 
12286         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
12287
12288         * check/Makefile.am:
12289         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
12290         get additions shortly.
12291
12292 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12293
12294         * gst/gstpad.c: (gst_pad_new_from_static_template):
12295         * gst/gstpad.h:
12296           add gst_pad_new_from_static_template functions
12297         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
12298         (gst_check_setup_sink_pad):
12299         * gst/elements/gsttee.c: (gst_tee_init):
12300           and use them
12301
12302 2005-11-16  Wim Taymans  <wim@fluendo.com>
12303
12304         * gst/gstpad.c: (gst_pad_pause_task):
12305         Removed warning, it's not really an error either.
12306
12307 2005-11-16  Wim Taymans  <wim@fluendo.com>
12308
12309         * gst/base/gstbasetransform.c:
12310         (gst_base_transform_prepare_output_buf),
12311         (gst_base_transform_event):
12312         Check if the caps are NULL, this can happen if the element
12313         is shutting down and the pad caps are set to NULL.
12314
12315 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12316
12317         * gst/elements/gsttee.c: (gst_tee_init):
12318           fix pad template leak in tee
12319
12320 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12321
12322         * gst/glib-compat.c: (g_value_dup_gst_object):
12323         * gst/glib-compat.h:
12324         * gst/gstpad.c: (gst_pad_set_property):
12325           use gst_object_ref when setting the pad template; this will
12326           trigger the pad template leaks on GLib 2.6 and the slaves
12327
12328 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12329
12330         * gst/glib-compat.c: (gst_flags_get_first_value):
12331         * gst/glib-compat.h:
12332         * gst/gstregistryxml.c:
12333           remove functions copied from GLib 2.6
12334
12335 2005-11-16  Michael Smith <msmith@fluendo.com>
12336
12337         * gst/Makefile.am:
12338           Don't link against VALGRIND_LIBS. That was always the wrong thing to
12339           do, but only breaks with newer valgrind versions. We're not a
12340           valgrind tool, we have no link-time dependencies on libcoregrind.
12341
12342 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12343
12344         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12345           some debug changes
12346         * gst/gstmessage.h:
12347           typo fixes
12348
12349 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12350
12351         * gst/base/gstbasesrc.c: (gst_base_src_init):
12352         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12353         * gst/gstqueue.c: (gst_queue_init):
12354         * gst/gstregistryxml.c: (load_feature):
12355           Revert all these unrefs, they don't even pass make check !
12356
12357 2005-11-15  Johan Dahlin  <johan@gnome.org>
12358
12359         * gst/base/gstbasesrc.c: (gst_base_src_init):
12360         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12361         * gst/gstqueue.c: (gst_queue_init): 
12362         Free pad templates, fixes a couple of leaks.
12363
12364 2005-11-15  Daniel Fischer  <dan at f3c dot com>
12365
12366         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12367
12368         * gst/gstpad.c: (gst_pad_get_property):
12369           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
12370           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
12371           (#321452)
12372
12373 2005-11-15  Wim Taymans  <wim@fluendo.com>
12374
12375         * gst/gstevent.c:
12376         Small doc update.
12377
12378 2005-11-15  Andy Wingo  <wingo@pobox.com>
12379
12380         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
12381
12382         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
12383         using GST_CLOCK_TIME_NONE to disable base time management.
12384         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
12385         time if it was NONE before.
12386         (gst_pipeline_change_state): Only munge the base time if
12387         stream_time != GST_CLOCK_TIME_NONE.
12388
12389         * check/gst/gstpipeline.c (test_base_time): Punt around the
12390         problem of the probe not being called, because that's not the
12391         issue I'm looking at. Add a check that setting stream_time to NONE
12392         disables base time management.
12393         
12394 2005-11-15  Wim Taymans  <wim@fluendo.com>
12395
12396         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12397         segment_stop == -1 at startup.
12398
12399         * gst/base/gstbasetransform.c: (gst_base_transform_event),
12400         (gst_base_transform_change_state):
12401         Init segment values at start.
12402
12403 2005-11-15  Wim Taymans  <wim@fluendo.com>
12404
12405         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12406         0 segment values are 0 in any format.
12407
12408         * gst/base/gstbasetransform.c: (gst_base_transform_event):
12409         * gst/base/gstbasetransform.h:
12410         Parse newsegment correctly in basetransform
12411
12412         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12413         Sync to clock using updated segment values.
12414
12415 2005-11-15  Andy Wingo  <wingo@pobox.com>
12416
12417         * check/gst/gstpipeline.c (test_base_time): Add check that the
12418         base time and stream time are reset correctly.
12419
12420 2005-11-15  Wim Taymans  <wim@fluendo.com>
12421
12422         * docs/design/part-TODO.txt:
12423         Some more TODO items.
12424
12425 2005-11-15  Andy Wingo  <wingo@pobox.com>
12426
12427         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
12428         error if the user selected "no clock" as the clocking method.
12429
12430         * check/gst/gstpipeline.c (test_base_time): New test for buffer
12431         timestamps with live capture.
12432
12433         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
12434         is 0 but we are a live source, timestamp the buffers using the
12435         element's clock.
12436
12437 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
12438
12439         * docs/gst/gstreamer-sections.txt:
12440         * gst/gsterror.c:
12441         * gst/gstghostpad.c:
12442         * gst/gstobject.h:
12443         * gst/gstxml.c:
12444           more section docs
12445
12446 2005-11-14  Wim Taymans  <wim@fluendo.com>
12447
12448         * common/gst.supp:
12449           add suppressions from Wim's Debian machine
12450
12451 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12452
12453         * common/gst.supp:
12454           add suppressions from Andy's AMD64 Ubuntu machine
12455
12456 2005-11-14  Andy Wingo  <wingo@pobox.com>
12457
12458         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
12459         STATE_LOCK not necessary. Fixes #311489.
12460
12461         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
12462         #305291.
12463
12464         * gst/gstindex.c (gst_index_add_object): Note in the docs that
12465         this function is not implemented.
12466
12467 2005-11-14  Julien MOUTTE  <julien@moutte.net>
12468
12469         * gst/base/gstbasetransform.c:
12470         (gst_base_transform_prepare_output_buf):
12471         Ref the source pad caps while we need them.
12472         Fixes (#321386)
12473
12474 2005-11-11  Wim Taymans  <wim@fluendo.com>
12475
12476         * docs/gst/gstreamer-sections.txt:
12477         Added some docs for GstCollectData.
12478
12479         * gst/base/gstadapter.c:
12480         Some small code example fix.
12481
12482         * gst/base/gstcollectpads.c:
12483         * gst/base/gstcollectpads.h:
12484         Document some more.
12485
12486 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
12487
12488         * configure.ac: back to HEAD
12489
12490 === release 0.9.5 ===
12491
12492 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
12493
12494         * configure.ac:
12495           releasing 0.9.5, "Bike Lunch Day"
12496
12497 2005-11-11  Wim Taymans  <wim@fluendo.com>
12498
12499         * gst/gstbuffer.c: (_gst_buffer_copy):
12500         Copy more flags.
12501
12502         * gst/gstcaps.c: (gst_caps_is_equal):
12503         Fix some docs.
12504         Make _is_equal fast in the trivial cases.
12505
12506         * gst/gstminiobject.c:
12507         * gst/gstminiobject.h:
12508         More docs. Spifify .h file.
12509
12510         * gst/gstutils.c:
12511         Small doc update.
12512
12513 2005-11-11  Wim Taymans  <wim@fluendo.com>
12514
12515         * gst/base/gstbasetransform.c:
12516         (gst_base_transform_prepare_output_buf),
12517         (gst_base_transform_handle_buffer):
12518         Small cleanups.
12519         If we're processing a buffer and need to allocate an output
12520         buffer, we cannot accept a format change. If we did get a 
12521         format change, we have to alloc a buffer ourselves of the 
12522         right size.
12523
12524 2005-11-11  Wim Taymans  <wim@fluendo.com>
12525
12526         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
12527         While checking the flag for reentrancy in the gstcaps function
12528         is nice to detect recursive invocations, it also makes it 
12529         impossible to call getcaps from multiple threads, which must be
12530         possible. So, checking for recursive calls has to go.
12531
12532 2005-11-11  Michael Smith <msmith@fluendo.com>
12533
12534         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12535           Don't sync on buffers that fall partially outside our current
12536           segment. Prevents an assertion failure/abort playing some files.
12537
12538 2005-11-10  Andy Wingo  <wingo@pobox.com>
12539
12540         * check/gst/gstbin.c (test_message_state_changed_children): Style
12541         fix..
12542
12543         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
12544         gst_bus_poll with the signal watch. Ensures that poll and a signal
12545         watch see the same messages.
12546
12547         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
12548         a poll and a watch at the same time get the same messages.
12549
12550 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12551
12552         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
12553         * gst/gstcaps.c: (gst_caps_intersect):
12554           Don't call gst_caps_do_simplify - it doesn't respect order of caps
12555           and it's not needed.
12556
12557 2005-11-10  Wim Taymans  <wim@fluendo.com>
12558
12559         * docs/design/part-TODO.txt:
12560         Updated todo.
12561
12562 2005-11-10  Wim Taymans  <wim@fluendo.com>
12563
12564         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12565         * gst/base/gstbasesrc.c: (gst_base_src_wait),
12566         (gst_base_src_do_sync), (gst_base_src_get_range):
12567         Implement clock sync in base class.
12568
12569 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12570
12571         patch by: Tim-Philipp Müller <tim at centricular dot net>
12572
12573         * gst/gststructure.c: (gst_structure_parse_field),
12574         (gst_structure_from_string):
12575           Forward-port a 0.8 patch to handle escaped spaces in structure string,
12576           so that gst_parse_launch() can deal with spaces in filtered link
12577           caps (fixes #164479)
12578         * check/gst/capslist.h:
12579         * check/gst/gststructure.c: (GST_START_TEST):
12580           add unit tests for this change
12581
12582 2005-11-10  Wim Taymans  <wim@fluendo.com>
12583
12584         * docs/gst/gstreamer-sections.txt:
12585         * gst/gstelement.c:
12586         * gst/gstelement.h:
12587         Fix docs, move some STATE macros to private.
12588
12589 2005-11-10  Wim Taymans  <wim@fluendo.com>
12590
12591         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12592         Added check for bug #317341
12593
12594         * gst/gstbuffer.c:
12595         * gst/gstbuffer.h:
12596         Some more spiffifying.
12597
12598         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
12599         Call peer linkfunction if we are a source pad. Totally fixes
12600         #317341
12601
12602         * gst/gstpad.c:
12603         Update docs, source pads should call the peer linkfunction
12604         so they can atomically perform the pad link.
12605
12606 2005-11-09  Wim Taymans  <wim@fluendo.com>
12607
12608         * gst/gstbuffer.c:
12609         * gst/gstbuffer.h:
12610         Uber-spiffy-spiffify some more.
12611
12612 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
12613
12614         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
12615         * gst/elements/gstfilesink.c: (gst_file_sink_init):
12616         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12617         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
12618         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
12619         * gst/gstpad.c: (gst_pad_init):
12620           Use GST_DEBUG_FUNCPTR() more extensively.
12621
12622 2005-11-09  Wim Taymans  <wim@fluendo.com>
12623
12624         * gst/gstobject.c: (gst_object_class_init):
12625         * gst/gstobject.h:
12626         Documentation fixes.
12627
12628 2005-11-09  Edward Hervey  <edward@fluendo.com>
12629
12630         * gst/gsttypefindfactory.c:
12631         Fix docs.
12632         
12633 2005-11-09  Edward Hervey  <edward@fluendo.com>
12634
12635         * gst/base/gsttypefindhelper.c:
12636         * gst/gsttypefind.c:
12637         * gst/gsttypefind.h:
12638         Fix docs.
12639
12640 2005-11-09  Wim Taymans  <wim@fluendo.com>
12641
12642         * gst/gstiterator.c:
12643         Fix revision data.
12644
12645         * gst/gsttask.c:
12646         * gst/gsttask.h:
12647         Fix docs.
12648
12649 2005-11-09  Wim Taymans  <wim@fluendo.com>
12650
12651         * gst/gstevent.h:
12652         * gst/gsturi.h:
12653         Fix docs.
12654
12655 2005-11-09  Wim Taymans  <wim@fluendo.com>
12656
12657         * docs/gst/gstreamer-sections.txt:
12658         Moved the message async delivery private lock and cond
12659         to the private section.
12660
12661         * gst/gstmessage.c:
12662         * gst/gstmessage.h:
12663         Fixed docs.
12664
12665 2005-11-09  Edward Hervey  <edward@fluendo.com>
12666
12667         * docs/gst/gstreamer-sections.txt:
12668         * gst/gsturi.c:
12669         * gst/gsturi.h:
12670         Document GstURIHandler
12671
12672 2005-11-09  Wim Taymans  <wim@fluendo.com>
12673
12674         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
12675         (gst_iterator_find_custom):
12676         * gst/gstiterator.h:
12677         Fix iterator docs.
12678
12679 2005-11-09  Wim Taymans  <wim@fluendo.com>
12680
12681         * gst/gstbin.h:
12682         Document another field.
12683
12684         * gst/gststructure.c:
12685         * gst/gststructure.h:
12686         Document.
12687
12688 2005-11-09  Wim Taymans  <wim@fluendo.com>
12689
12690         * gst/gstbin.h:
12691         Documented structs.
12692
12693 2005-11-09  Wim Taymans  <wim@fluendo.com>
12694
12695         * docs/gst/gstreamer-sections.txt:
12696         Added some new macros.
12697
12698         * gst/gstclock.c:
12699         * gst/gstclock.h:
12700         * gst/gstobject.h:
12701         Docs updates.
12702
12703 2005-11-09  Wim Taymans  <wim@fluendo.com>
12704
12705         * docs/design/part-TODO.txt:
12706         Some more items for the TODO
12707
12708         * gst/gstcaps.c:
12709         * gst/gstcaps.h:
12710         Document GstCaps.
12711
12712 2005-11-09  Andy Wingo  <wingo@pobox.com>
12713
12714         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
12715         to work on something else now tho...
12716
12717         * gst/base/gstadapter.c: More adapter docs.
12718
12719         * gst/elements/gstfilesink.c (gst_file_sink_start) 
12720         (gst_file_sink_stop): New functions, replace the state change
12721         handler.
12722         (gst_file_sink_class_init): Hook up the start and stop functions.
12723         (gst_file_sink_base_init): Don't set the state change handler any
12724         more. It was a bit ugly too, being set from here...
12725         (gst_file_sink_get_property, gst_file_sink_set_property):
12726         Cleanups...
12727         (gst_file_sink_set_location): More robust check that doesn't call
12728         GST_STATE. Ugggggg.
12729
12730 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
12731
12732         * gst/base/gstbasetransform.c: (gst_base_transform_event):
12733           Hold STREAM_LOCK while pushing newsegment or tag events as well.
12734
12735 2005-11-08  Wim Taymans  <wim@fluendo.com>
12736
12737         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
12738         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12739         (gst_base_sink_chain), (gst_base_sink_change_state):
12740         * gst/base/gstbasesink.h:
12741         * gst/base/gstbasesrc.h:
12742         * gst/gstelement.h:
12743         * gst/gstevent.h:
12744         Avoid excessive typechecking in macros.
12745
12746         * gst/gstminiobject.c: (gst_mini_object_get_type),
12747         (gst_mini_object_init), (gst_mini_object_new),
12748         (gst_mini_object_free):
12749         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12750         (gst_object_finalize):
12751         Remove cruft code, optimize alloc_trace.
12752
12753 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12754
12755         * docs/faq/gst-uninstalled:
12756           fix up PS1 for systems that try to reset it
12757
12758 2005-11-07  Wim Taymans  <wim@fluendo.com>
12759
12760         * gst/base/gstbasesrc.c: (gst_base_src_init),
12761         (gst_base_src_get_range):
12762         Set the segment_end to -1 initially. Fixed typefind.
12763
12764 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
12765
12766         * gst/base/gstadapter.c:
12767           Debug category should be 'adapter', not 'GstAdapter'.
12768           
12769         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
12770         (gst_collectpads_class_init), (gst_collectpads_init),
12771         (gst_collectpads_peek), (gst_collectpads_pop),
12772         (gst_collectpads_event), (gst_collectpads_chain):
12773           Add debug category and some debugging output. Use boilerplate
12774           macros. Remove some extraneous words from docs.
12775
12776 2005-11-05  Andy Wingo  <wingo@pobox.com>
12777
12778         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
12779         macro.
12780
12781 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
12782
12783         * docs/gst/gstreamer-sections.txt:
12784         * gst/gstcaps.h:
12785         * gst/gstinfo.c:
12786         * gst/gstminiobject.h:
12787         * gst/gstobject.h:
12788         * gst/gstutils.h:
12789           more docs added
12790
12791 2005-11-04  Wim Taymans  <wim@fluendo.com>
12792
12793         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12794         Small update to stop at the configured segment_end
12795         position.
12796
12797 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
12798
12799         * gst/gstregistry.c:
12800         * gst/gstregistry.h:
12801           added missing docs
12802
12803 2005-11-04  Edward Hervey  <edward@fluendo.com>
12804
12805         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12806         Check if we are doing a segment seek and have arrived at the
12807         end of that segment.
12808
12809 2005-11-04  Wim Taymans  <wim@fluendo.com>
12810
12811         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
12812         Don't leak a mutex unlock in case of an error.
12813
12814         * gst/gstbus.h:
12815         Doc fixes.
12816
12817 2005-11-04  Wim Taymans  <wim@fluendo.com>
12818
12819         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
12820         (gst_bus_post):
12821         Get the context to wake up only once.
12822
12823 2005-11-03  Wim Taymans  <wim@fluendo.com>
12824
12825         * check/states/sinks.c: (GST_START_TEST):
12826         Uncomment fixed check.
12827
12828         * docs/design/part-TODO.txt:
12829         Updated TODO.
12830
12831         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12832         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12833         (gst_base_sink_get_position):
12834         If we are going to PLAYING, post the right pending state
12835         when we post the intermediate paused message.
12836
12837         * gst/gstelement.c: (gst_element_continue_state),
12838         (gst_element_set_state_func), (gst_element_change_state):
12839         Don't post state changes that were between the same state
12840         and were not ASYNC.
12841
12842 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
12843
12844         * docs/gst/gstreamer-sections.txt:
12845         * gst/gstcaps.h:
12846         * gst/gstinfo.c:
12847         * gst/gstminiobject.h:
12848         * gst/gstobject.h:
12849         * gst/gstutils.h:
12850           more docs and doc style fixes
12851
12852 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
12853
12854         * docs/gst/gstreamer-sections.txt:
12855         * gst/gstelement.c:
12856         * gst/gstminiobject.c:
12857         doc fixes
12858
12859 2005-11-03  Andy Wingo  <wingo@pobox.com>
12860
12861         * check/states/sinks.c (test_livesrc_sink): Add checks that the
12862         state-changed messages actually have the right order and the right
12863         values.
12864
12865 2005-11-03  Wim Taymans  <wim@fluendo.com>
12866
12867         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
12868         Added some more checks. Specifically the case where NO_PREROLL
12869         elements are in the pipeline.
12870
12871         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12872         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12873         (gst_base_sink_get_position):
12874         Post READY->PAUSED state change messages too.
12875         Fix bug where VOID was posted as pending state...
12876
12877         * gst/gstbin.c: (gst_bin_recalc_state):
12878         use _element_continue_state() to continue the state change.
12879
12880         * gst/gstelement.c: (gst_element_continue_state),
12881         (gst_element_commit_state), (gst_element_set_state_func),
12882         (gst_element_change_state), (gst_element_change_state_func):
12883         Lots of state change cleanups, assign the STATE_RETURN in
12884         a new continue_state() function that also propagates the
12885         last return value from a state change to the app.
12886         Update some debug statements with proper category.
12887
12888 2005-11-03  Wim Taymans  <wim@fluendo.com>
12889
12890         * docs/design/part-events.txt:
12891         * docs/design/part-gstpipeline.txt:
12892         * docs/design/part-messages.txt:
12893         * docs/design/part-overview.txt:
12894         * docs/design/part-seeking.txt:
12895         * docs/design/part-states.txt:
12896         * docs/design/part-trickmodes.txt:
12897         * docs/manual/advanced-position.xml:
12898         Small docs updates.
12899
12900         * gst/gstobject.h:
12901         People think !! is ugly, this looks better.
12902
12903         * gst/gstpad.c: (gst_pad_set_blocked_async):
12904         Remove !! since it's fixed elsewhere now.
12905
12906 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
12907
12908         * gst/gstminiobject.h:
12909         * gst/gstobject.h:
12910           Add !! to _FLAG_IS_SET macros to make the result boolean.
12911
12912 2005-11-03  Edward Hervey  <edward@fluendo.com>
12913
12914         * gst/gstpad.c: (gst_pad_set_blocked_async):
12915         comparing a flag and a gboolean rarely returns coherent results...
12916         Added two characters (!!) to make that work correctly.
12917         
12918 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
12919
12920         * gst/gstbus.c: (gst_bus_class_init):
12921           Fix some typos.
12922           
12923         * gst/gstqueue.c: (gst_queue_loop):
12924           Don't assume a miniobject that isn't a buffer is an
12925           event (it could be that there is a refcounting
12926           problem somewhere and the pointer is stale and
12927           refers to an already destroyed miniobject).
12928
12929 2005-11-03  Julien MOUTTE  <julien@moutte.net>
12930
12931         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
12932
12933 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
12934
12935         * docs/manual/advanced-position.xml:
12936           Update seek example and explanations to current 0.9 API.
12937
12938         * gst/elements/gsttypefindelement.c:
12939         (gst_type_find_element_activate):
12940           Remove FIXME comment now that the found caps
12941           are unreffed.
12942
12943 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12944
12945         * gst/gstregistryxml.c: (load_feature):
12946           Add another GST_STR_NULL instance
12947
12948 2005-11-02  Edward Hervey  <edward@fluendo.com>
12949
12950         * gst/gstpad.c: (handle_pad_block):
12951         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
12952         
12953 2005-11-02  Wim Taymans  <wim@fluendo.com>
12954
12955         * gst/gstbin.c:
12956         Fix typo in docs.
12957
12958         * gst/gstelement.c: (gst_element_commit_state):
12959         Remove unused value.
12960
12961         * gst/gstiterator.c:
12962         Mention that the returned element is reffed in the docs.
12963
12964 2005-11-02  Wim Taymans  <wim@fluendo.com>
12965
12966         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
12967         (gst_pad_push), (gst_pad_push_event):
12968         Unlock blocked pads when they are flushed.
12969
12970 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12971
12972         * docs/README:
12973         * docs/gst/gstreamer-sections.txt:
12974         * gst/gstbin.c:
12975           doc updates
12976         * gst/gstregistry.c: (gst_registry_scan_path_level):
12977           fix for a nasty little missed situation where an installed plug-in
12978           which was in the cache did not get overridden by an uninstalled one
12979           which was earlier in the plugin path because the newly created plugin
12980           for the uninstalled one (not in the registry) didn't get its
12981           ->registered set to TRUE
12982
12983 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
12984
12985         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
12986         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
12987         (gst_collectpads_is_active), (gst_collectpads_collect),
12988         (gst_collectpads_collect_range), (gst_collectpads_start),
12989         (gst_collectpads_stop), (gst_collectpads_peek),
12990         (gst_collectpads_pop), (gst_collectpads_available),
12991         (gst_collectpads_read), (gst_collectpads_flush):
12992           Guard public API with assertions.
12993         
12994         * gst/gstpad.c:
12995           Fix docs for gst_pad_set_link_function().
12996
12997 2005-11-02  Johan Dahlin  <johan@gnome.org>
12998
12999         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
13000         Unref found_caps after we used it.
13001
13002 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
13003
13004         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
13005           Don't try to ref NULL.
13006
13007 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13008
13009         * win32/common/config.h.in:
13010           provide a GST_FUNCTION that just gives a string for now
13011
13012 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13013
13014         * win32/common/gstenumtypes.c: (register_gst_object_flags),
13015         (gst_object_flags_get_type), (register_gst_bin_flags),
13016         (gst_bin_flags_get_type), (register_gst_buffer_flag),
13017         (gst_buffer_flag_get_type), (register_gst_bus_flags),
13018         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
13019         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
13020         (gst_clock_return_get_type), (register_gst_clock_entry_type),
13021         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
13022         (gst_clock_flags_get_type), (register_gst_state),
13023         (gst_state_get_type), (register_gst_state_change_return),
13024         (gst_state_change_return_get_type), (register_gst_state_change),
13025         (gst_state_change_get_type), (register_gst_element_flags),
13026         (gst_element_flags_get_type), (register_gst_core_error),
13027         (gst_core_error_get_type), (register_gst_library_error),
13028         (gst_library_error_get_type), (register_gst_resource_error),
13029         (gst_resource_error_get_type), (register_gst_stream_error),
13030         (gst_stream_error_get_type), (register_gst_event_type),
13031         (gst_event_type_get_type), (register_gst_seek_type),
13032         (gst_seek_type_get_type), (register_gst_seek_flags),
13033         (gst_seek_flags_get_type), (register_gst_format),
13034         (gst_format_get_type), (register_gst_index_certainty),
13035         (gst_index_certainty_get_type), (register_gst_index_entry_type),
13036         (gst_index_entry_type_get_type),
13037         (register_gst_index_lookup_method),
13038         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
13039         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
13040         (gst_index_resolver_method_get_type), (register_gst_index_flags),
13041         (gst_index_flags_get_type), (register_gst_debug_level),
13042         (gst_debug_level_get_type), (register_gst_debug_color_flags),
13043         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
13044         (gst_iterator_result_get_type), (register_gst_iterator_item),
13045         (gst_iterator_item_get_type), (register_gst_message_type),
13046         (gst_message_type_get_type), (register_gst_mini_object_flags),
13047         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
13048         (gst_pad_link_return_get_type), (register_gst_flow_return),
13049         (gst_flow_return_get_type), (register_gst_activate_mode),
13050         (gst_activate_mode_get_type), (register_gst_pad_direction),
13051         (gst_pad_direction_get_type), (register_gst_pad_flags),
13052         (gst_pad_flags_get_type), (register_gst_pad_presence),
13053         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
13054         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
13055         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
13056         (gst_plugin_error_get_type), (register_gst_plugin_flags),
13057         (gst_plugin_flags_get_type), (register_gst_rank),
13058         (gst_rank_get_type), (register_gst_query_type),
13059         (gst_query_type_get_type), (register_gst_tag_merge_mode),
13060         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
13061         (gst_tag_flag_get_type), (register_gst_task_state),
13062         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
13063         (gst_alloc_trace_flags_get_type),
13064         (register_gst_type_find_probability),
13065         (gst_type_find_probability_get_type), (register_gst_uri_type),
13066         (gst_uri_type_get_type), (register_gst_parse_error),
13067         (gst_parse_error_get_type):
13068         * win32/common/gstversion.h:
13069           update win32 copies
13070
13071 2005-11-01  Luca Ognibene  <luogni@tin.it>
13072
13073         * gst/gst.c:
13074           fix docs. popt is dead, long live GOption.
13075
13076 2005-10-31  Wim Taymans  <wim@fluendo.com>
13077
13078         * gst/gstbuffer.h:
13079         Small doc fix.
13080
13081 2005-10-31  Andy Wingo  <wingo@pobox.com>
13082
13083         * Boo!
13084
13085         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
13086
13087         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
13088         need to serialize property notifications on GLib 2.8. GLib 2.6 has
13089         the possibility of deadlocks here if code calling notify() or
13090         set() has a lock that can be taken in another notify handler (ABBA
13091         with class lock and e.g. python GIL state lock).
13092
13093 2005-10-28  Julien MOUTTE  <julien@moutte.net>
13094
13095         * gst/gstbus.c: Doc updates.
13096
13097 2005-10-28  Wim Taymans  <wim@fluendo.com>
13098
13099         * docs/design/part-TODO.txt:
13100         * gst/gstiterator.c:
13101         * gst/gstsystemclock.c:
13102         * gst/gstsystemclock.h:
13103         Doc updates.
13104
13105 2005-10-28  Edward Hervey  <edward@fluendo.com>
13106
13107         * docs/gst/gstreamer-docs.sgml:
13108         * docs/gst/gstreamer-sections.txt:
13109         the GstURIType documentation page is private, it only defines GstURIType
13110         which should be defined in the GstURIHandler page
13111         
13112 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13113
13114         * gst/gstbin.c: (gst_bin_class_init):
13115         * gst/gstbin.h:
13116         * gst/gstutils.c:
13117         Documentation updates.
13118
13119 2005-10-28  Wim Taymans  <wim@fluendo.com>
13120
13121         * docs/gst/gstreamer-sections.txt:
13122         * gst/gstclock.c:
13123         * gst/gstclock.h:
13124         Documented the clocks.
13125
13126 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
13127
13128         * docs/gst/gstreamer-sections.txt:
13129           move some macros to private sections
13130         * gst/gstminiobject.c:
13131         * gst/gstminiobject.h:
13132           add descriptions provided by ds and some more
13133         * gst/gstpad.h:
13134           mark macro as to be removed
13135
13136 2005-10-28  Wim Taymans  <wim@fluendo.com>
13137
13138         * docs/design/part-TODO.txt:
13139         Add an item to TODO.
13140
13141         * gst/gstiterator.c: (gst_iterator_fold),
13142         (gst_iterator_find_custom):
13143         * gst/gstiterator.h:
13144         Add iterator docs.
13145
13146 2005-10-28  Wim Taymans  <wim@fluendo.com>
13147
13148         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13149         (gst_base_transform_init):
13150         Don't leak class.
13151
13152         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
13153         An EOS event marks the queue as completely filled.
13154
13155 2005-10-27  Wim Taymans  <wim@fluendo.com>
13156
13157         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13158         (gst_base_sink_do_sync), (gst_base_sink_get_position):
13159         Some more debugging.
13160
13161         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
13162         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
13163         (gst_base_transform_event), (gst_base_transform_getrange),
13164         (gst_base_transform_chain):
13165         * gst/base/gstbasetransform.h:
13166         Fix debugging,
13167         Protect transform and concurrent buffer alloc with a new lock.
13168         Try not to break ABI/API.
13169
13170 2005-10-27  Wim Taymans  <wim@fluendo.com>
13171
13172         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
13173         (gst_base_src_init), (gst_base_src_query),
13174         (gst_base_src_default_newsegment),
13175         (gst_base_src_configure_segment), (gst_base_src_do_seek),
13176         (gst_base_src_send_event), (gst_base_src_event_handler),
13177         (gst_base_src_pad_get_range), (gst_base_src_loop),
13178         (gst_base_src_unlock), (gst_base_src_default_negotiate),
13179         (gst_base_src_start), (gst_base_src_deactivate),
13180         (gst_base_src_activate_push), (gst_base_src_change_state):
13181         Move some stuff around and cleanup things.
13182
13183 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
13184
13185         * gst/base/gstbasesrc.c: (gst_base_src_query):
13186           Add missing break statements.
13187
13188 2005-10-27  Wim Taymans  <wim@fluendo.com>
13189
13190         * check/gst/gstbin.c: (GST_START_TEST):
13191         An extra refcount is taken in basesrc.
13192
13193         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
13194         (gst_base_src_get_range), (gst_base_src_pad_get_range),
13195         (gst_base_src_loop):
13196         Small cleanups, check for flushing after being unlocked from the 
13197         LIVE_LOCK. take refcounts correctly (not yet everywhere).
13198         Don't send out EOS when going to READY.
13199
13200 2005-10-27  Wim Taymans  <wim@fluendo.com>
13201
13202         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13203         (gst_base_sink_get_position):
13204         Some more debug.
13205
13206         * gst/gstbin.c: (message_check), (bin_replace_message),
13207         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13208         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13209         (bin_query_duration_init), (bin_query_duration_fold),
13210         (bin_query_duration_done), (bin_query_generic_fold),
13211         (gst_bin_query):
13212         * tools/gst-launch.c: (main):
13213         Remove old option.
13214
13215 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
13216
13217         * examples/controller/audio-example.c: (main):
13218         * examples/queue/queue.c: (event_loop):
13219         * gst/base/gstbasetransform.h:
13220         * gst/gstelement.c: (gst_element_send_event):
13221         * gst/gstevent.h:
13222         * gst/gstpad.c: (gst_pad_send_event):
13223           fixing examples
13224           fixing docs typos
13225           changing log priority in error situations
13226
13227 2005-10-25  Wim Taymans  <wim@fluendo.com>
13228
13229         * gst/gstbin.c: (message_check), (bin_replace_message),
13230         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13231         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13232         (bin_query_duration_init), (bin_query_duration_fold),
13233         (bin_query_duration_done), (bin_query_generic_fold),
13234         (gst_bin_query):
13235         Some doc and debug updates.
13236         Cache previously requested query DURATION for speed. invalidate
13237         cached duration if element posts a DURATION message.
13238
13239 2005-10-25  Wim Taymans  <wim@fluendo.com>
13240
13241         * docs/design/part-TODO.txt:
13242         Update TODO.
13243
13244         * gst/gstbin.c: (message_check), (bin_replace_message),
13245         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13246         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13247         (bin_query_duration_init), (bin_query_duration_fold),
13248         (bin_query_duration_done), (bin_query_generic_fold),
13249         (gst_bin_query):
13250         Handle SEGMENT_START/DONE messages correctly.
13251         More evolved query algorithm that handles duration queries
13252         correctly.
13253
13254         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
13255         (gst_element_get_state_func), (gst_element_abort_state),
13256         (gst_element_commit_state), (gst_element_lost_state):
13257         Some more debugging.
13258
13259         * gst/gstmessage.h:
13260         Added doc.
13261
13262 2005-10-25  Wim Taymans  <wim@fluendo.com>
13263
13264         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13265         Don't use invalid stream_time.
13266
13267         * gst/gstevent.c: (gst_event_new_newsegment):
13268         stream_time in newsegment cannot be undefined.
13269
13270 2005-10-24  Wim Taymans  <wim@fluendo.com>
13271
13272         * gst/gstbus.c:
13273         Doc fix.
13274
13275         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
13276         (gst_queue_loop):
13277         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
13278
13279 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
13280
13281         * docs/libs/tmpl/gstdparam.sgml:
13282         * docs/libs/tmpl/gstdplinint.sgml:
13283         * docs/libs/tmpl/gstdpman.sgml:
13284         * docs/libs/tmpl/gstdpsmooth.sgml:
13285         * docs/libs/tmpl/gstunitconvert.sgml:
13286           these are obsolete
13287
13288 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13289
13290         * configure.ac:
13291           back to HEAD
13292
13293 === release 0.9.4 ===
13294
13295 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13296
13297         * configure.ac:
13298           releasing 0.9.4, "Tyrannosaurus Rex"
13299
13300 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
13301
13302         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13303         (gst_file_sink_get_current_offset):
13304           Use fseeko() and ftello() if available. When falling back on
13305           lseek() to get the current offset, fflush() first to make sure
13306           everything is up-to-date and we get the right offset.
13307
13308 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13309
13310         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13311         * gst/base/gstbasesrc.c: (gst_base_src_loop):
13312         * gst/gsterror.c: (_gst_stream_errors_init):
13313         * gst/gsterror.h:
13314         * gst/gstqueue.c: (gst_queue_loop):
13315         * po/POTFILES.in:
13316           remove prematurely added error category and clean up the instances
13317
13318 2005-10-21  Wim Taymans  <wim@fluendo.com>
13319
13320         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13321         (gst_base_sink_get_position), (gst_base_sink_query),
13322         (gst_base_sink_change_state):
13323         Simply set the right flag when going to playing, that's all
13324         we need to do instead of calling a function inside the object
13325         lock (that could take the lock as well and deadlock)
13326
13327 2005-10-21  Wim Taymans  <wim@fluendo.com>
13328
13329         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
13330         (gst_base_src_loop):
13331         Don't warn, the peer element knows what to do best when
13332         the seek failed, it might try something else.
13333
13334 2005-10-21  Wim Taymans  <wim@fluendo.com>
13335
13336         * gst/base/gstbasesrc.c: (gst_base_src_init),
13337         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
13338         Fix seeking.
13339
13340 2005-10-21  Wim Taymans  <wim@fluendo.com>
13341
13342         * docs/design/part-segments.txt:
13343         More docs.
13344
13345         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13346         Correctly set caps, even on the subbufer.
13347
13348 2005-10-21  Wim Taymans  <wim@fluendo.com>
13349
13350         * docs/gst/gstreamer-docs.sgml:
13351         * docs/gst/gstreamer-sections.txt:
13352         * gst/gstelement.h:
13353         * gst/gstevent.c:
13354         * gst/gstevent.h:
13355         * gst/gstmessage.h:
13356         * gst/gstpad.h:
13357         * gst/gstparse.h:
13358         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
13359         * gst/gsttask.h:
13360         * gst/gstutils.c:
13361         * gst/gstutils.h:
13362         And 2% more doc coverage.
13363
13364 2005-10-21  Andy Wingo  <wingo@pobox.com>
13365
13366         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
13367         position reporting.
13368
13369 2005-10-20  Wim Taymans  <wim@fluendo.com>
13370
13371         * gst/gsterror.c: (gst_error_get_message):
13372         * gst/gstparse.h:
13373         * gst/gstquery.h:
13374         * gst/gststructure.c:
13375         * gst/gsttrace.c:
13376         * gst/gstutils.c:
13377         More docs.
13378
13379 2005-10-20  Wim Taymans  <wim@fluendo.com>
13380
13381         * gst/gstbuffer.h:
13382         * gst/gstpad.c:
13383         * gst/gstparse.c:
13384         Another 1% more coverage.
13385
13386 2005-10-20  Wim Taymans  <wim@fluendo.com>
13387
13388         * docs/gst/gstreamer-sections.txt:
13389         * gst/gstelement.c: (gst_element_get_state_func),
13390         (gst_element_abort_state), (gst_element_commit_state),
13391         (gst_element_lost_state):
13392         * gst/gstevent.h:
13393         * gst/gstquery.c: (gst_query_set_position),
13394         (gst_query_parse_position), (gst_query_set_duration),
13395         (gst_query_parse_duration), (gst_query_new_convert):
13396         * gst/gstutils.c:
13397         Yay! 1% more docs coverage.
13398
13399 2005-10-20  Wim Taymans  <wim@fluendo.com>
13400
13401         * gst/gstpad.h:
13402         * gst/gstquery.c: (gst_query_set_position),
13403         (gst_query_parse_position), (gst_query_set_duration),
13404         (gst_query_parse_duration), (gst_query_new_convert):
13405         * gst/gstquery.h:
13406         * gst/gstutils.c: (gst_element_query_convert):
13407         * gst/gstutils.h:
13408         Docs and consistency fixes.
13409
13410 2005-10-20  Wim Taymans  <wim@fluendo.com>
13411
13412         * gst/gsttask.c:
13413         * gst/gsttask.h:
13414         More docs.
13415
13416 2005-10-20  Wim Taymans  <wim@fluendo.com>
13417
13418         * gst/gstbin.c: (message_check), (bin_replace_message),
13419         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13420         (update_degree), (gst_bin_sort_iterator_next),
13421         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
13422         Reworked the message handling a bit, cache the messages instead of
13423         only the senders. alows us to do more in the future.
13424
13425 2005-10-20  Wim Taymans  <wim@fluendo.com>
13426
13427         * docs/design/part-TODO.txt:
13428         Update TODO
13429
13430         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13431         (gst_base_sink_query):
13432         Don't use clock time to report position when in EOS.
13433
13434 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
13435
13436         * tools/gst-inspect.c: (print_interfaces),
13437         (print_element_properties_info), (print_element_info):
13438           Fix interface output with gst-inspect -a; don't print
13439           newlines after double/float properties.
13440
13441 2005-10-20  Wim Taymans  <wim@fluendo.com>
13442
13443         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13444         (gst_base_sink_query):
13445         Speed up current position calculation.
13446
13447         * gst/base/gstbasesrc.c: (gst_base_src_query),
13448         (gst_base_src_default_newsegment):
13449         Correctly set stream position in newsegment.
13450
13451         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
13452         (update_degree), (gst_bin_sort_iterator_next),
13453         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
13454         * gst/gstmessage.c: (gst_message_new_custom):
13455         Clean up debugging info
13456
13457         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13458         (gst_queue_loop), (gst_queue_handle_src_query):
13459         Pause task faster.
13460
13461 2005-10-19  Wim Taymans  <wim@fluendo.com>
13462
13463         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13464         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13465         Fix query handling again.
13466
13467 2005-10-19  Wim Taymans  <wim@fluendo.com>
13468
13469         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13470         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13471         * gst/base/gstbasesrc.c: (gst_base_src_query):
13472         * gst/elements/gstfilesink.c: (gst_file_sink_query):
13473         * gst/elements/gsttypefindelement.c:
13474         (gst_type_find_handle_src_query), (find_element_get_length),
13475         (gst_type_find_element_activate):
13476         API change fix.
13477
13478         * gst/gstquery.c: (gst_query_new_position),
13479         (gst_query_set_position), (gst_query_parse_position),
13480         (gst_query_new_duration), (gst_query_set_duration),
13481         (gst_query_parse_duration), (gst_query_set_segment),
13482         (gst_query_parse_segment):
13483         * gst/gstquery.h:
13484         Bundling query position/duration is not a good idea since duration
13485         does not change much and we don't want to recalculate it for every
13486         position query, so they are separated again..
13487         Base value in segment query is not needed.
13488
13489         * gst/gstqueue.c: (gst_queue_handle_src_query):
13490         * gst/gstutils.c: (gst_element_query_position),
13491         (gst_element_query_duration), (gst_pad_query_position),
13492         (gst_pad_query_duration):
13493         * gst/gstutils.h:
13494         Updates for query API change.
13495         Added some docs here and there.
13496
13497 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
13498
13499         * check/gst/gstbin.c: (GST_START_TEST):
13500         * check/gst/gstghostpad.c: (GST_START_TEST):
13501         * check/pipelines/cleanup.c: (GST_START_TEST):
13502           wait on thread to die so we can check refcount correctly
13503
13504 2005-10-18  Wim Taymans  <wim@fluendo.com>
13505
13506         * check/pipelines/stress.c: (GST_START_TEST):
13507         Make check a little more time consuming.
13508
13509 2005-10-18  Wim Taymans  <wim@fluendo.com>
13510
13511         * check/Makefile.am:
13512         * check/pipelines/stress.c: (GST_START_TEST),
13513         (simple_launch_lines_suite), (main):
13514         Small state change torture test.
13515
13516         * docs/design/part-states.txt:
13517         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13518         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
13519         (gst_base_sink_change_state):
13520         Never take state lock from streaming thread, clean up ugly
13521         hacks. Unfortunatly core does not yet support nice ways to
13522         async commit state.
13523         
13524         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
13525         (bin_bus_handler):
13526         Start state recalc if a STATE_DIRTY message is posted, but only
13527         on the toplevel bin.
13528
13529         * gst/gstelement.c: (gst_element_sync_state_with_parent),
13530         (gst_element_get_state_func), (gst_element_abort_state),
13531         (gst_element_commit_state), (gst_element_lost_state),
13532         (gst_element_set_state_func), (gst_element_change_state):
13533         * gst/gstelement.h:
13534         State variables are now protected with the LOCK, the state
13535         lock is only used to serialize _set_state().
13536
13537 2005-10-18  Wim Taymans  <wim@fluendo.com>
13538
13539         * check/gst/gstbin.c: (GST_START_TEST):
13540         * check/gst/gstmessage.c: (GST_START_TEST):
13541         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13542         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
13543         (bin_bus_handler):
13544         * gst/gstelement.c: (gst_element_abort_state),
13545         (gst_element_commit_state), (gst_element_lost_state):
13546         * gst/gstmessage.c: (gst_message_new_state_changed),
13547         (gst_message_new_state_dirty), (gst_message_new_segment_start),
13548         (gst_message_new_segment_done), (gst_message_new_duration),
13549         (gst_message_parse_state_changed),
13550         (gst_message_parse_segment_start),
13551         (gst_message_parse_segment_done), (gst_message_parse_duration):
13552         * gst/gstmessage.h:
13553         * tools/gst-launch.c: (event_loop):
13554         Seriously, this is better than a previous commit as we only need
13555         to notify the fact that an element changed state in a streaming
13556         thread, marking the state of the parents dirty, hence the 
13557         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
13558         message.
13559
13560 2005-10-18  Wim Taymans  <wim@fluendo.com>
13561
13562         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
13563         (gst_bin_recalc_func):
13564         * gst/gstelement.c: (gst_element_set_clock),
13565         (gst_element_abort_state), (gst_element_lost_state):
13566         Cleanups, prepare for state change fixes.
13567
13568 2005-10-18  Wim Taymans  <wim@fluendo.com>
13569
13570         * gst/gstbin.h:
13571         * gst/gstelement.c: (gst_element_class_init),
13572         (gst_element_set_state), (gst_element_set_state_func):
13573         * gst/gstelement.h:
13574         Pending ABI changes.
13575         GThreadPool in GstBinClass to monitor async state changes.
13576         state_cookie in GstElement to detect concurrent gst/set state.
13577         set_state is now virtual too in case a very complicated element
13578         has to be constructed.
13579
13580 2005-10-18  Wim Taymans  <wim@fluendo.com>
13581
13582         * check/gst/gstbin.c: (GST_START_TEST):
13583         * check/gst/gstmessage.c: (GST_START_TEST):
13584         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13585         * gst/gstbin.c: (bin_bus_handler):
13586         * gst/gstelement.c: (gst_element_commit_state),
13587         (gst_element_lost_state):
13588         * gst/gstmessage.c: (gst_message_new_state_changed),
13589         (gst_message_new_segment_start), (gst_message_new_segment_done),
13590         (gst_message_new_duration), (gst_message_parse_state_changed),
13591         (gst_message_parse_segment_start),
13592         (gst_message_parse_segment_done), (gst_message_parse_duration):
13593         * gst/gstmessage.h:
13594         * tools/gst-launch.c: (event_loop):
13595         Make messages future proof.
13596         state-change gets a flag if it was a message comming from the
13597         streaming thread.
13598         segment-start/stop can also be specified in other formats.
13599         A message to notify an app that a pipeline changed playback 
13600         duration.
13601         Also fix a GstMessage leak in -launch
13602
13603 2005-10-18  Andy Wingo  <wingo@pobox.com>
13604
13605         * gst/gstelement.c (gst_element_dispose): More helpful message.
13606
13607 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13608
13609         reviewed by: <delete if not using a buddy>
13610
13611         * common/gtk-doc.mak:
13612
13613 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13614
13615         * gst/gstregistry.c: (gst_registry_scan_path_level):
13616           unref a plug-in we get that was already initialized
13617
13618 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
13619
13620         * docs/gst/gstreamer-sections.txt:
13621         * docs/libs/gstreamer-libs-sections.txt:
13622         * gst/gstelement.h:
13623           add new api entries
13624           hide internal macro
13625
13626 2005-10-17  Andy Wingo  <wingo@pobox.com>
13627
13628         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
13629         cleanup.
13630
13631         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
13632
13633         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
13634
13635         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
13636         (gst_element_get_state_func): Better debug message.
13637         (gst_element_commit_state): s/INFO/DEBUG/.
13638         (gst_element_lost_state, gst_element_change_state): 
13639
13640         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
13641         (gst_message_new_custom): s/INFO/LOG/.
13642
13643 2005-10-17  Michael Smith <msmith@fluendo.com>
13644
13645         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13646           Check if end time is valid using end time, not start time.
13647
13648 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
13649
13650         * check/gst-libs/controller.c: (GST_START_TEST),
13651         (gst_controller_suite):
13652         * libs/gst/controller/gstcontroller.c:
13653         (gst_controlled_property_set_interpolation_mode):
13654         * libs/gst/controller/gstcontroller.h:
13655         * libs/gst/controller/gstinterpolation.c:
13656         * testsuite/controller/.cvsignore:
13657         * testsuite/controller/Makefile.am:
13658         * testsuite/controller/interpolator.c:
13659           merge controller testsuites
13660           fix broken tests
13661           remove mem-chunk from docs
13662
13663 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
13664
13665         * gst/gstmemchunk.c:
13666         * gst/gstmemchunk.h:
13667         * gst/gsttrashstack.c:
13668         * gst/gsttrashstack.h:
13669           out.  get out.  you're fired.  to the Attic !
13670
13671 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
13672
13673         * gst/gstcaps.c: (gst_caps_intersect):
13674           fix signedness issues in a (hopefully) correct way
13675         * gst/gstelement.c: (gst_element_pads_activate):
13676           some debugging
13677         * gst/gstobject.c: (gst_object_set_parent):
13678           some debugging
13679
13680 2005-10-17  Julien MOUTTE  <julien@moutte.net>
13681
13682         * gst/gstvalue.h: Fix prototypes.
13683
13684 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13685
13686         * docs/gst/gstreamer-sections.txt:
13687         * gst/gst.c: (gst_version_string):
13688         * gst/gst.h:
13689         * gst/gstversion.h.in:
13690         * win32/common/libgstreamer.def:
13691           add gst_version_string ()
13692
13693 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13694
13695         * configure.ac:
13696           clean up further
13697         * gst/gst.c: (init_post):
13698         * win32/common/config.h.in:
13699           it's PLUGINDIR now
13700         * gst/gstcaps.c: (gst_caps_intersect):
13701           use gint64, the range could be bigger than a guint
13702
13703 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13704
13705         * gst/gstclock.h:
13706           document potential problem in 2038
13707
13708 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13709
13710         * gst/gstcaps.c: (gst_caps_intersect):
13711           Fix guint j diving under 0
13712
13713 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13714
13715         * configure.ac:
13716         * win32/common/config.h:
13717         * win32/common/config.h.in:
13718           check for process.h, declares getpid() on Windows
13719         * gst/gstinfo.c:
13720           include process.h if we have it
13721         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
13722         * gst/gstmemchunk.h:
13723           fix signedness issues
13724         * win32/common/libgstreamer.def:
13725           fix get_type's
13726
13727 2005-10-16  Julien MOUTTE  <julien@moutte.net>
13728
13729         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
13730         fix. Because of unsigned ints, caps intersection was going nuts and
13731         trying to access structures with G_MAXUINT index. That fixes
13732         videotestsrc ! ffmpegcolorspace ! fakesink
13733         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
13734         consistency.
13735
13736 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13737
13738         * configure.ac:
13739           use the gettext macro
13740         * gst/elements/gstelements.c:
13741         * gst/gst.c:
13742         * gst/indexers/gstindexers.c:
13743           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
13744         * win32/common/config.h:
13745           updated config.h
13746         * win32/common/config.h.in:
13747           add the template to generate config.h
13748         * win32/common/gstenumtypes.c:
13749         * win32/common/gstversion.h:
13750           updated copies
13751
13752 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13753
13754         * gst/gst.c: (gst_version):
13755         * gst/gstversion.h.in:
13756           add the nano
13757
13758 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
13759
13760         * gst/gstevent.h:
13761           Oops, add missing closing bracket.
13762
13763 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13764
13765         * configure.ac:
13766           use common m4's for argument checking
13767
13768 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
13769
13770         * docs/gst/gstreamer-sections.txt:
13771         * gst/gstevent.h:
13772           Add GST_EVENT_TYPE_NAME() macro.
13773
13774 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13775
13776         * gst/gstinfo.c:
13777         * gst/gstpluginfeature.c:
13778         * gst/gsttask.c:
13779           privatize more symbols
13780
13781 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13782
13783         * configure.ac:
13784           add srcdir, builddir includes to GST_ALL_CFLAGS, since
13785           everything that uses GStreamer API should have the includes
13786
13787 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13788
13789         * docs/gst/gstreamer-sections.txt:
13790         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13791         * gst/gstvalue.h:
13792           give each value a _get_type, removes the DATA exports
13793
13794 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13795
13796         * gst/gst.c:
13797         * gst/gst.h:
13798           remove _gst_registry_auto_load, not used anymore
13799         * gst/gstbin.c: (gst_bin_get_type):
13800         * gst/gstbin.h:
13801         * gst/gstelement.c: (gst_element_get_type):
13802         * gst/gstelement.h:
13803         * gst/gstobject.c: (gst_object_get_type):
13804         * gst/gstobject.h:
13805         * gst/gstpad.c: (gst_pad_get_type):
13806         * gst/gstpad.h:
13807           make _get_type functions similar, fixes data export from library
13808
13809 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13810
13811         * configure.ac:
13812           correctly make conditionals
13813         * gst/elements/Makefile.am:
13814         * gst/elements/gstelements.c:
13815           fix typo causing fdsrc not to build
13816
13817 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13818
13819         * testsuite/Makefile.am:
13820         * testsuite/bytestream/.cvsignore:
13821         * testsuite/bytestream/Makefile.am:
13822         * testsuite/bytestream/filepadsink.c:
13823         * testsuite/bytestream/gstbstest.c:
13824         * testsuite/bytestream/test1.c:
13825         * testsuite/bytestream/testfile1:
13826         * testsuite/caps/normalisation.c:
13827         * testsuite/caps/random.c: (main):
13828         * testsuite/cleanup/.cvsignore:
13829         * testsuite/cleanup/Makefile.am:
13830         * testsuite/cleanup/cleanup1.c:
13831         * testsuite/cleanup/cleanup2.c:
13832         * testsuite/cleanup/cleanup3.c:
13833         * testsuite/cleanup/cleanup4.c:
13834         * testsuite/cleanup/cleanup5.c:
13835         * testsuite/controller/interpolator.c:
13836         * testsuite/debug/printf_extension.c: (main):
13837         * testsuite/elements/tee.c:
13838         * testsuite/negotiation/.cvsignore:
13839         * testsuite/negotiation/Makefile.am:
13840         * testsuite/negotiation/pad_link.c:
13841         * testsuite/pad/Makefile.am:
13842         * testsuite/pad/chainnopull.c:
13843         * testsuite/pad/getnopush.c:
13844         * testsuite/pad/link.c:
13845         * testsuite/refcounting/sched.c: (create_pipeline):
13846         * testsuite/registry/Makefile.am:
13847         * testsuite/registry/gst-print-formats.c:
13848         * testsuite/schedulers/.cvsignore:
13849         * testsuite/schedulers/142183-2.c:
13850         * testsuite/schedulers/142183.c:
13851         * testsuite/schedulers/143777-2.c:
13852         * testsuite/schedulers/143777.c:
13853         * testsuite/schedulers/147713.c:
13854         * testsuite/schedulers/147819.c:
13855         * testsuite/schedulers/147894-2.c:
13856         * testsuite/schedulers/147894.c:
13857         * testsuite/schedulers/Makefile.am:
13858         * testsuite/schedulers/group_link.c:
13859         * testsuite/schedulers/queue_link.c:
13860         * testsuite/schedulers/relink.c:
13861         * testsuite/schedulers/unlink.c:
13862         * testsuite/schedulers/unref.c:
13863         * testsuite/schedulers/useless_iteration.c:
13864         * testsuite/states/bin.c:
13865           clean out/remove some stuff from the testsuite directories
13866
13867 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13868
13869         * configure.ac:
13870           check for some headers
13871         * gst/elements/Makefile.am:
13872         * gst/elements/gstelements.c:
13873           don't compile fdsrc without sys/socket.h
13874         * gst/indexers/Makefile.am:
13875         * gst/indexers/gstindexers.c: (plugin_init):
13876           don't compile fileindex without mmap
13877
13878 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13879
13880         * configure.ac:
13881           reorganize
13882           clean up
13883           document more
13884           remove cruft
13885         * check/Makefile.am:
13886         * docs/gst/Makefile.am:
13887         * examples/helloworld/Makefile.am:
13888         * gst/Makefile.am:
13889         * gst/base/Makefile.am:
13890         * gst/check/Makefile.am:
13891         * gst/elements/Makefile.am:
13892         * gst/indexers/Makefile.am:
13893         * gst/parse/Makefile.am:
13894         * libs/gst/controller/Makefile.am:
13895         * libs/gst/dataprotocol/Makefile.am:
13896         * examples/helloworld/helloworld.c: (event_loop):
13897           compile fixes, though it's not being compiled currently
13898
13899 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
13900
13901         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
13902           Add some simple tests for the new taglist date API.
13903
13904 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
13905
13906         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
13907         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
13908           Beautify 'last-message' output: print 'none' for buffer timestamps
13909           and durations if none is set; improve alignment with next messages.
13910
13911 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
13912
13913         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
13914         * gst/gstpluginfeature.h:
13915         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
13916         * gst/gstregistry.h:
13917         * docs/gst/gstreamer-sections.txt:
13918           Add new API to check plugin feature version requirements.
13919
13920         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
13921           Some basic tests for the above.         
13922
13923 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13924
13925         * gst/gststructure.c: (gst_structure_to_string):
13926           guard against NULL printf - happens when for example
13927           a message structure with GstClock gets serialized
13928
13929 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
13930
13931         * gst/base/gstcollectpads.c: (gst_collectpads_event):
13932           Fix presumable copy'n'pasto.
13933
13934 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13935
13936         * gst/elements/gstfakesrc.h:
13937         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
13938         * gst/elements/gsttypefindelement.c:
13939           fix some signedness
13940         * gst/elements/gstfilesink.c: (gst_file_sink_render):
13941           I wonder if this could actually write +2GB files before
13942
13943 2005-10-13  Andy Wingo  <wingo@pobox.com>
13944
13945         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
13946         Fix Timmeke Waymans bug.
13947         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
13948         string of the proper length to gst_caps_from_string. There's a
13949         potential for, before this fix, that this could cause someone
13950         connecting over the network to cause a segfault if the payload is
13951         not NUL-terminated.
13952
13953 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
13954
13955         * docs/design/draft-push-pull.txt:
13956         * docs/design/part-overview.txt:
13957         * docs/random/TODO-pre-0.9:
13958         * docs/random/old/ChangeLog.gstreamer:
13959         * gst/base/gstpushsrc.c:
13960         * gst/gstclock.c:
13961           fixed typos
13962
13963 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13964
13965         * gst/glib-compat.c: (gst_flags_get_first_value):
13966         * gst/glib-compat.h:
13967         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
13968         (gst_value_compare_double), (gst_value_serialize_flags):
13969           GLib 2.6 g_flags_get_first_value has a bug that triggers an
13970           infinite loop
13971
13972 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13973
13974         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13975         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13976           fix up debugging
13977         * tools/gst-launch.c: (event_loop):
13978           print out clock nicely
13979
13980 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
13981
13982         * docs/gst/gstreamer-sections.txt:
13983         * gst/gsttaglist.h:
13984         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
13985         (gst_tag_list_get_date_index):
13986           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
13987           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
13988
13989 2005-10-13  Julien MOUTTE  <julien@moutte.net>
13990
13991         * gst/base/gstcollectpads.c: (gst_collectpads_event),
13992         (gst_collectpads_chain):
13993         * gst/base/gstcollectpads.h: Handle newsegment and store informations
13994         in CollectData.
13995
13996 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
13997
13998         * docs/gst/gstreamer-sections.txt:
13999         * gst/gst.c:
14000         * gst/gsterror.h:
14001         * tools/gst-inspect.c: (main):
14002         * tools/gst-launch.c: (main):
14003         * tools/gst-run.c: (main):
14004         * tools/gst-xmlinspect.c: (main):
14005           fix GOption context leaks
14006           doc fixes
14007
14008 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14009
14010         * gst/gstbus.c:
14011           use HAVE_UNISTD_H
14012         * win32/common/config.h:
14013           update config
14014         * win32/vs6/grammar.dsp:
14015         * win32/vs6/libgstelements.dsp:
14016         * win32/vs6/libgstreamer.dsp:
14017           update vs6 files
14018
14019 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14020
14021         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14022         * gst/base/gstbasesrc.c: (gst_base_src_query):
14023           fix more guint64<->gdouble conversions
14024
14025 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14026
14027         * Makefile.am:
14028           add win32-update target
14029         * win32/common/gstconfig.h:
14030         * win32/common/gstenumtypes.c:
14031         * win32/common/gstenumtypes.h:
14032         * win32/common/gstversion.h:
14033           add files that visual studio can't generate
14034
14035 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14036
14037         * Makefile.am:
14038           add a win32-update target
14039         * configure.ac:
14040
14041 2005-10-12  Wim Taymans  <wim@fluendo.com>
14042
14043         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
14044         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
14045         * gst/gstelement.c: (gst_element_commit_state),
14046         (gst_element_set_state):
14047         Protect flags with proper lock.
14048         unref provided cached clock in dispose.
14049
14050 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
14051
14052         * gst/gst.c:
14053         * gst/gstminiobject.h:
14054         * gst/gstpad.h:
14055         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
14056           removed unused flags from miniobject
14057           doc fixes
14058
14059 2005-10-12  Wim Taymans  <wim@fluendo.com>
14060
14061         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
14062         (gst_file_sink_event), (gst_file_sink_render):
14063         Flush before seeking.
14064
14065 2005-10-12  Andy Wingo  <wingo@pobox.com>
14066
14067         * gst/gst.c (gst_init_check): Ignore unknown options, as has
14068         always been the case.
14069
14070 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
14071
14072         * check/gst/gstbin.c: (GST_START_TEST):
14073         * docs/gst/gstreamer-sections.txt:
14074         * gst/base/gstbasesink.c: (gst_base_sink_init):
14075         * gst/base/gstbasesrc.c: (gst_base_src_init),
14076         (gst_base_src_get_range), (gst_base_src_check_get_range),
14077         (gst_base_src_start), (gst_base_src_stop):
14078         * gst/base/gstbasesrc.h:
14079         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
14080         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
14081         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
14082         (bin_bus_handler):
14083         * gst/gstbin.h:
14084         * gst/gstbuffer.h:
14085         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
14086         * gst/gstbus.h:
14087         * gst/gstelement.c: (gst_element_is_locked_state),
14088         (gst_element_set_locked_state), (gst_element_commit_state),
14089         (gst_element_set_state):
14090         * gst/gstelement.h:
14091         * gst/gstindex.c: (gst_index_init):
14092         * gst/gstindex.h:
14093         * gst/gstminiobject.h:
14094         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
14095         (gst_object_set_parent):
14096         * gst/gstobject.h:
14097         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
14098         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
14099         * gst/gstpad.h:
14100         * gst/gstpadtemplate.h:
14101         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
14102         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14103         * gst/gstpipeline.h:
14104         * gst/indexers/gstfileindex.c: (gst_file_index_load),
14105         (gst_file_index_commit):
14106         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
14107         * testsuite/pad/link.c: (gst_test_src_init),
14108         (gst_test_filter_init), (gst_test_sink_init):
14109         * testsuite/states/locked.c: (main):
14110           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
14111           moved bitshift from macro to enum definition
14112
14113 2005-10-12  Wim Taymans  <wim@fluendo.com>
14114
14115         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
14116         * gst/elements/gstfilesink.c: (gst_file_sink_event),
14117         (gst_file_sink_render):
14118         Some more debugging info.
14119
14120 2005-10-12  Wim Taymans  <wim@fluendo.com>
14121
14122         * docs/design/part-states.txt:
14123         * tools/gst-launch.c: (main):
14124         Some doc updates.
14125         Revert non-intentional change.
14126
14127 2005-10-12  Wim Taymans  <wim@fluendo.com>
14128
14129         * check/gst/gstbin.c: (GST_START_TEST):
14130         * check/gst/gstelement.c: (GST_START_TEST):
14131         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
14132         * check/gst/gstghostpad.c: (GST_START_TEST):
14133         * check/gst/gstpipeline.c: (GST_START_TEST):
14134         * check/pipelines/simple_launch_lines.c: (run_pipeline):
14135         * check/states/sinks.c: (GST_START_TEST):
14136         * gst/elements/gsttypefindelement.c: (stop_typefinding):
14137         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14138         (gst_bin_remove_func), (gst_bin_get_state_func),
14139         (gst_bin_recalc_state), (gst_bin_change_state_func),
14140         (bin_bus_handler):
14141         * gst/gstelement.c: (gst_element_get_state_func),
14142         (gst_element_get_state), (gst_element_abort_state),
14143         (gst_element_commit_state), (gst_element_set_state),
14144         (gst_element_change_state), (gst_element_change_state_func):
14145         * gst/gstelement.h:
14146         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
14147         (gst_pipeline_provide_clock_func):
14148         * gst/gstutils.c: (gst_element_link_pads_filtered):
14149         * tools/gst-launch.c: (main):
14150         * tools/gst-typefind.c: (main):
14151         Use GstClockTime in _get_state() instead of GTimeVal.
14152         Remove old code in gstutils.c
14153
14154 2005-10-12  Andy Wingo  <wingo@pobox.com>
14155
14156         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
14157         removed.
14158
14159         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
14160         there is no task. Shouldn't affect any code, as nothing in our
14161         plugins checks this return value.
14162         (gst_pad_stop_task): Also take the stream lock if the pad has no
14163         task. Docs updated.
14164
14165 2005-10-12  Wim Taymans  <wim@fluendo.com>
14166
14167         * gst/gstpad.c: (pre_activate), (post_activate),
14168         (gst_pad_activate_pull), (gst_pad_activate_push):
14169         Cleanup activation code. Reset old state if
14170         activation failed.
14171
14172 2005-10-12  Wim Taymans  <wim@fluendo.com>
14173
14174         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14175         (gst_base_sink_change_state):
14176         No need to prerol after receiving EOS.
14177
14178         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
14179         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
14180         * gst/elements/gstidentity.c: (gst_identity_event):
14181         Print events more verbosely.
14182
14183 2005-10-12  Wim Taymans  <wim@fluendo.com>
14184
14185         * check/Makefile.am:
14186         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
14187         * check/states/sinks2.c:
14188         Moved sinks2 testcode in sinks check.
14189
14190         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14191         (gst_bin_remove_func), (gst_bin_recalc_state),
14192         (gst_bin_change_state_func), (bin_bus_handler):
14193         Fix potential race condition when _get_state() iterated over an
14194         ASYNC element right before it posted a state completion.
14195
14196         * gst/gstclock.h:
14197         Do proper cast here.
14198
14199         * gst/gstevent.c: (gst_event_new_newsegment),
14200         (gst_event_parse_newsegment):
14201         A playback rate of 0.0 is not allowed.
14202
14203 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14204
14205         * win32/common/config.h:
14206         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
14207         (_trewinddir), (_ttelldir), (_tseekdir):
14208         * win32/common/dirent.h:
14209         * win32/common/gtchar.h:
14210         * win32/common/libgstbase.def:
14211         * win32/common/libgstreamer.def:
14212         * win32/vs6/grammar.dsp:
14213         * win32/vs6/gst_inspect.dsp:
14214         * win32/vs6/gst_launch.dsp:
14215         * win32/vs6/gstreamer.dsw:
14216         * win32/vs6/libgstbase.dsp:
14217         * win32/vs6/libgstelements.dsp:
14218         * win32/vs6/libgstreamer.dsp:
14219           Visual Studio 6 project files, and a new common directory.
14220           Phear.
14221
14222 2005-10-11  Wim Taymans  <wim@fluendo.com>
14223
14224         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14225         (gst_base_sink_do_sync), (gst_base_sink_query),
14226         (gst_base_sink_change_state):
14227         * gst/base/gstbasesink.h:
14228         Correctly parse newsegment info.
14229
14230 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14231
14232         * gst/gst.c: (init_post):
14233           split plugin paths correctly
14234
14235 2005-10-11  Wim Taymans  <wim@fluendo.com>
14236
14237         * check/gst/gstevent.c: (GST_START_TEST):
14238         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14239         (gst_base_sink_change_state):
14240         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
14241         * gst/base/gstbasetransform.c: (gst_base_transform_event):
14242         * gst/elements/gstfilesink.c: (gst_file_sink_event):
14243         * gst/gstevent.c: (gst_event_new_newsegment),
14244         (gst_event_parse_newsegment):
14245         * gst/gstevent.h:
14246         Added extra flag to newsegment for future API freeze.
14247         Updated check and base elements.
14248
14249 2005-10-11  Julien MOUTTE  <julien@moutte.net>
14250
14251         * gst/base/gstcollectpads.c: (gst_collectpads_init),
14252         (gst_collectpads_add_pad), (gst_collectpads_pop),
14253         (gst_collectpads_event), (gst_collectpads_chain):
14254         * gst/base/gstcollectpads.h: Handle EOS correctly.
14255
14256 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14257
14258         * tools/gst-launch.c: (main):
14259           more null protecting
14260
14261 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14262
14263         * gst/gst-i18n-lib.h:
14264           check for ENABLE_NLS, not GETTEXT_PACKAGE
14265         * gst/gstregistry.c: (gst_registry_add_plugin),
14266         (gst_registry_scan_path_level),
14267         (_gst_registry_remove_cache_plugins):
14268           protect possibly NULL strings
14269         * gst/parse/types.h:
14270           config.h already included before
14271         * tools/gst-inspect.c: (main):
14272           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
14273           check for ENABLE_NLS, not GETTEXT_PACKAGE
14274         * tools/gst-launch.c: (main):
14275           check for ENABLE_NLS, not GETTEXT_PACKAGE
14276
14277 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14278
14279         * configure.ac:
14280           if we don't have glib, fail before testing 2.8
14281         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
14282           fix a leak, should fix plugins-base testsuite
14283
14284 2005-10-11  Andy Wingo  <wingo@pobox.com>
14285
14286         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
14287         take the mode we're going to as an arg. Go head and set the mode
14288         and flushing flags now, so that if the activate function starts a
14289         thread all the flags will be in the right state.
14290         (post_activate): Renamed also. Just handle making sure streaming
14291         finishes for the deactivation case, and setting the deactivated
14292         mode.
14293         (gst_pad_set_active): Complain loudly if deactivation fails.
14294         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
14295         (gst_pad_activate_push): Adapt to pre/post_activate changes,
14296         remove the terrible hack.
14297
14298 2005-10-11  Wim Taymans  <wim@fluendo.com>
14299
14300         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14301         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
14302         (gst_bin_recalc_state), (gst_bin_change_state_func),
14303         (gst_bin_dispose), (bin_bus_handler):
14304         * gst/gstbin.h:
14305         Prepare to make current EOS message queue more generic.
14306         Fix some typos.
14307
14308         * gst/gstevent.c: (gst_event_new_newsegment),
14309         (gst_event_parse_newsegment):
14310         * gst/gstevent.h:
14311         Rename base to stream_time.
14312
14313         * gst/gstmessage.h:
14314         Fix typo in docs.
14315
14316 2005-10-11  Wim Taymans  <wim@fluendo.com>
14317
14318         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14319         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
14320         (gst_bin_change_state_func), (bin_bus_handler):
14321         * gst/gstbin.h:
14322         Work on proper clock selection.
14323
14324 2005-10-11  Edward Hervey  <edward@fluendo.com>
14325
14326         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
14327         * libs/gst/controller/gstcontroller.h:
14328         Added GList* version of _remove_properties() in order to be able to wrap
14329         it in bindings.
14330
14331 2005-10-11  Wim Taymans  <wim@fluendo.com>
14332
14333         * docs/design/part-states.txt:
14334         Some more docs.
14335
14336         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
14337         (gst_bin_change_state_func), (bin_bus_handler):
14338         Doc updates. Don't distribute the same clock over and over again.
14339
14340         * gst/gstclock.c:
14341         * gst/gstclock.h:
14342         Doc updates.
14343
14344         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
14345         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
14346         (gst_pad_send_event):
14347         * gst/gstpad.h:
14348         Make probe emission threadsafe again.
14349         Register quarks and move _get_name() from utils.
14350         Doc updates.
14351
14352         * gst/gstpipeline.c: (gst_pipeline_class_init),
14353         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14354         Only redistribute the clock of it changed.
14355
14356         * gst/gstsystemclock.h:
14357         Doc updates. 
14358
14359         * gst/gstutils.c:
14360         * gst/gstutils.h:
14361         Moved the _flow_get_name() to GstPad.
14362
14363 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14364
14365         * check/gst-libs/gdp.c: (GST_START_TEST):
14366         * check/gst/gstcaps.c: (GST_START_TEST):
14367         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
14368         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
14369         (gst_dp_packet_from_caps):
14370           fix more valgrind warnings before turning up the heat
14371
14372 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14373
14374         * gst/parse/grammar.y:
14375           some cleanup before the hacking
14376
14377 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14378
14379         * gst/base/gstbasesrc.c: (gst_base_src_query):
14380           use conversions
14381         * gst/gstutils.c: (gst_guint64_to_gdouble),
14382         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
14383         * gst/gstutils.h:
14384           externalize, basesrc uses it
14385           obviously the implementation needs testing
14386
14387 2005-10-10  Wim Taymans  <wim@fluendo.com>
14388
14389         * tests/sched/Makefile.am:
14390         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
14391         (make_pipeline3), (make_pipeline4), (print_elem), (main):
14392
14393 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14394
14395         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
14396           apparently converting from guint64 to double is not implemented
14397           on MSVC
14398
14399 2005-10-10  Wim Taymans  <wim@fluendo.com>
14400
14401         * check/Makefile.am:
14402         * check/generic/states.c: (GST_START_TEST):
14403         * check/gst/gstbin.c: (GST_START_TEST):
14404         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
14405         * check/states/sinks.c: (GST_START_TEST):
14406         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
14407         (main):
14408         Check fixes, use API as stated in design docs, remove hacks.
14409
14410         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14411         (gst_base_sink_change_state):
14412         Catch stopping our task while we're shutting down.
14413
14414         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
14415         (gst_bin_remove_func), (gst_bin_get_state_func),
14416         (gst_bin_recalc_state), (gst_bin_change_state_func),
14417         (bin_bus_handler):
14418         * gst/gstbin.h:
14419         * gst/gstelement.c: (gst_element_init),
14420         (gst_element_get_state_func), (gst_element_abort_state),
14421         (gst_element_commit_state), (gst_element_lost_state),
14422         (gst_element_set_state), (gst_element_change_state),
14423         (gst_element_change_state_func):
14424         * gst/gstelement.h:
14425         New state change algorithm (see #318116)
14426
14427         * gst/gstpipeline.c: (gst_pipeline_class_init),
14428         (gst_pipeline_init), (gst_pipeline_set_property),
14429         (gst_pipeline_get_property), (do_pipeline_seek),
14430         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14431         * gst/gstpipeline.h:
14432         Remove crude state change hacks.
14433
14434         * gst/gstutils.h:
14435         Remove crude hacks.
14436
14437         * tools/gst-launch.c: (main):
14438         Fixes for state change. Needs some more work to fully use the
14439         new stuff.
14440
14441 2005-10-10  Andy Wingo  <wingo@pobox.com>
14442
14443         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
14444
14445         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
14446         this flag, but it's not even in GLib 2.6. Odd. Hack around the
14447         issue.
14448
14449 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14450
14451         * gst/gstiterator.c: (gst_iterator_new):
14452           Fix my previous commit: GTypes passed to gst_iterator_new()
14453           can be fundamental types.
14454
14455 2005-10-10  Wim Taymans  <wim@fluendo.com>
14456
14457         * gst/gstelement.c: (gst_element_iterate_pad_list),
14458         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
14459         (gst_element_iterate_sink_pads):
14460         Use src/sink pads lists for the respective iterators instead
14461         of filtering.
14462
14463 2005-10-10  Andy Wingo  <wingo@pobox.com>
14464
14465         Merged in popt removal + GOption addition patch from Ronald, bug
14466         #169772.
14467
14468         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
14469         GstElement macros around, remove popt-related symbols, add goption
14470         stuff.
14471
14472         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
14473         
14474         * docs/gst/Makefile.am:
14475         * docs/libs/Makefile.am: No POPT_CFLAGS.
14476         
14477         * examples/manual/Makefile.am:
14478         * docs/manual/basics-init.xml: Doc updates with an example.
14479         
14480         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
14481         (gst_init), (parse_one_option), (parse_goption_arg):
14482         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
14483         bit of hand merging and debugging to get the GOption stuff working
14484         tho.
14485         
14486         * tests/Makefile.am:
14487         * tools/Makefile.am:
14488         * tools/gst-inspect.c: (main):
14489         * tools/gst-launch.c: (main):
14490         * tools/gst-run.c: (main):
14491         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
14492
14493 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14494
14495         * gst/gstiterator.c: (gst_iterator_new):
14496           Add assertions to make sure passed GType is likely to really
14497           be a GType (as the compiler won't catch it if the size and
14498           GType arguments get mixed up, see #318447).
14499
14500 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
14501
14502         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14503
14504         * gst/gstbin.c: (gst_bin_iterate_sorted):
14505           Pass GType and size arguments to gst_iterator_new() in the right
14506           order (maybe we should make _new() take the GType as first argument
14507           just like _new_list()?) (#318447).
14508           
14509
14510 2005-10-10  Wim Taymans  <wim@fluendo.com>
14511
14512         * gst/gstelement.c: (gst_element_finalize):
14513         And free the GStaticRecMutex too
14514
14515 2005-10-10  Andy Wingo  <wingo@pobox.com>
14516
14517         * gst/gstelement.c (gst_element_init, gst_element_finalize):
14518         Allocate and free the mutex properly.
14519
14520         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
14521         New macros.
14522         (GstElement): The state_lock is now recursive. Rebuild your
14523         plugins, suckers. Old macros adapted.
14524
14525         * docs/gst/gstreamer-sections.txt: Doc updates.
14526
14527         * gst/gstutils.h:
14528         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
14529         (g_static_rec_cond_wait): Ported from state changes patch, while
14530         we wait on bug #317802 to be solved in a well-distributed GLib.
14531
14532         * gst/gstelement.c (gst_element_change_state_func): Renamed from
14533         gst_element_change_state, variable name changes.
14534         (gst_element_change_state): Split out of gst_element_set_state in
14535         preparation for the state change merge. Doesn't pay attention to
14536         the 'transition' argument.
14537         (gst_element_set_state): Updates, hopefully purely cosmetic.
14538         (gst_element_sync_state_with_parent): MT-safety. Ported from the
14539         state change patch.
14540         (gst_element_get_state_func): Renamed from get_state, cosmetic
14541         changes.
14542
14543 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14544
14545         * gst/elements/gstelements.c:
14546         * win32/GStreamer.vcproj:
14547         * win32/config.h:
14548         * win32/dirent.c: (_tseekdir):
14549         * win32/gst-inspect.vcproj:
14550         * win32/gst-launch.vcproj:
14551         * win32/gstconfig.h:
14552         * win32/gstelements.vcproj:
14553         * win32/gstenumtypes.c: (gst_object_flags_get_type):
14554         * win32/gstreamer.def:
14555         * win32/msvc71.sln:
14556           updates for the win32 build (patch from Sebastien Moutte)
14557
14558 2005-10-10  Andy Wingo  <wingo@pobox.com>
14559
14560         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
14561         gst_bin_get_state, cleaned up (but no logic changes).
14562         (bin_element_is_sink): Comment updates.
14563         (sink_iterator_filter): Remove needless cast.
14564         (gst_bin_iterate_sinks): Doc update.
14565         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
14566         cleaned up (but no logic changes).
14567
14568         * check/states/sinks.c (test_src_sink): Cleanups from the state
14569         change patch.
14570         (test_livesrc_sink): Sync on the state.
14571
14572         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
14573         the state change patch.
14574
14575         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
14576         change patch.
14577
14578         * check/gst/gstbin.c: Merge in some style fixes and additional
14579         checks from Wim's state change patch.
14580
14581 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14582
14583         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14584         (gst_type_find_helper):
14585           Check whether we have the requested data already in our list of
14586           cached buffers before pulling a new buffer; also make the buffer
14587           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
14588
14589 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14590
14591         * gst/gstcaps.c:
14592         * gst/gstevent.c:
14593           doc updates
14594         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14595           don't use long long, it's not portable.  Replacing with
14596           gint64 seems to work; let's hope no skeletons fall out of the closet.
14597
14598 2005-10-10  Andy Wingo  <wingo@pobox.com>
14599
14600         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
14601
14602 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
14603
14604         * docs/gst/gstreamer-sections.txt:
14605         * gst/gstevent.c:
14606         * gst/gstevent.h:
14607         * gst/gstinfo.c:
14608         * gst/gstinfo.h:
14609         * gst/gstmessage.c: (gst_message_parse_state_changed):
14610         * gst/gstpad.c:
14611         * gst/gstpad.h:
14612           more docs, fix compilation
14613
14614 2005-10-09  Philippe Khalaf <burger@speedy.org>
14615         * gst/gstmessage.c:
14616           Fixed a few forgotten variables on previous commit
14617
14618 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
14619
14620         * gst/base/gsttypefindhelper.c: (helper_find_peek):
14621           Fix evil typefind crasher: getrange() might return a short
14622           buffer at the end of a file, but gst_type_find_peek() must
14623           either return the full data as requested or NULL, but
14624           never a short buffer.
14625
14626 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14627
14628         * gst/gstmessage.c: (gst_message_new_state_changed),
14629         (gst_message_parse_state_changed):
14630         * gst/gstmessage.h:
14631           don't use "new", it's a C++ keyword
14632
14633 2005-10-08  Wim Taymans  <wim@fluendo.com>
14634
14635         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
14636         * gst/gstelement.c: (gst_element_post_message):
14637         * gst/gstpipeline.c: (gst_pipeline_change_state):
14638         Small docs and debug updates.
14639
14640 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
14641
14642         * docs/gst/gstreamer-sections.txt:
14643         * gst/gstelementfactory.c:
14644         * gst/gstevent.c:
14645         * gst/gsttaglist.c:
14646           more docs
14647
14648 2005-10-08  Wim Taymans  <wim@fluendo.com>
14649
14650         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
14651         (gst_bin_dispose), (bin_bus_handler):
14652         Fix typos, add comments.
14653         Clear EOS list when going to PAUSED from any direction and do it
14654         in a threadsafe way.
14655         Get base time in a threadsafe way too.
14656         Fix confusing debug in the change_state function.
14657         Various other small cleanups.
14658         
14659         * gst/gstelement.c: (gst_element_post_message):
14660         Fix very verbose bus posting code.
14661
14662         * gst/gstpipeline.c: (gst_pipeline_class_init),
14663         (gst_pipeline_set_property), (gst_pipeline_get_property),
14664         (gst_pipeline_change_state):
14665         Small ARG_ -> PROP_ cleanup
14666
14667 2005-10-08  Wim Taymans  <wim@fluendo.com>
14668
14669         * gst/gstbin.c: (is_eos), (bin_bus_handler):
14670         Do a less CPU demanding EOS check because we can.
14671
14672 2005-10-08  Wim Taymans  <wim@fluendo.com>
14673
14674         * libs/gst/dataprotocol/dataprotocol.c:
14675         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14676         (gst_dp_packet_from_event):
14677         * libs/gst/dataprotocol/dataprotocol.h:
14678         * libs/gst/dataprotocol/dp-private.h:
14679         It's about time we bump the version number.
14680         Since event types don't fit in the guint8 anymore describing
14681         the payload type, make payload type 16 bits wide.
14682
14683 2005-10-08  Wim Taymans  <wim@fluendo.com>
14684
14685         * docs/design/part-TODO.txt:
14686         * docs/design/part-clocks.txt:
14687         * docs/design/part-events.txt:
14688         * docs/design/part-gstbin.txt:
14689         * docs/design/part-gstelement.txt:
14690         * docs/design/part-gstpipeline.txt:
14691         * docs/design/part-live-source.txt:
14692         * docs/design/part-messages.txt:
14693         * docs/design/part-overview.txt:
14694         * docs/design/part-states.txt:
14695         Many doc updates.
14696
14697 2005-10-08  Wim Taymans  <wim@fluendo.com>
14698
14699         * gst/gstevent.c:
14700         * gst/gstevent.h:
14701         Fix event quark registration.
14702         Add some space between events so we can insert them in the
14703         right groups.
14704
14705 2005-10-08  Wim Taymans  <wim@fluendo.com>
14706
14707         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14708         (gst_base_sink_handle_buffer):
14709         Better log message.
14710
14711         * gst/gstbus.h:
14712         * gst/gstelement.h:
14713         More docs.
14714
14715         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
14716         (gst_queue_set_property), (gst_queue_get_property):
14717         * gst/gstqueue.h:
14718         Remove old unused properties.
14719
14720 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
14721         * docs/gst/gstreamer-sections.txt:
14722         * gst/gstmessage.c:
14723         * gst/gstmessage.h:
14724         * gst/gstminiobject.c:
14725         * gst/gstminiobject.h:
14726         * gst/gstobject.h:
14727         * gst/gstpad.h:
14728         * gst/gstutils.h:
14729           lots of new docs and doc fixes
14730
14731 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14732
14733         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
14734         * gst/gstplugin.h:
14735         * gst/gstregistry.c: (gst_registry_lookup_locked),
14736         (gst_registry_scan_path_level):
14737         * gst/gstregistryxml.c: (load_plugin):
14738           Only ever load one plugin for a given plugin basename.
14739           This ensures correct overriding of GST_PLUGIN_PATH over
14740           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
14741           system installed plugins.
14742
14743 2005-10-08  Wim Taymans  <wim@fluendo.com>
14744
14745         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14746         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
14747         Prepare for doing QOS.
14748
14749 2005-10-08  Wim Taymans  <wim@fluendo.com>
14750
14751         * check/gst/gstbin.c: (GST_START_TEST):
14752         * check/pipelines/cleanup.c: (GST_START_TEST):
14753         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14754         Allow new clock message too.
14755
14756 2005-10-08  Wim Taymans  <wim@fluendo.com>
14757
14758         * gst/gstmessage.c: (gst_message_new_error),
14759         (gst_message_new_warning), (gst_message_new_tag),
14760         (gst_message_new_state_changed), (gst_message_new_clock_provide),
14761         (gst_message_new_clock_lost), (gst_message_new_new_clock),
14762         (gst_message_new_segment_start), (gst_message_new_segment_done),
14763         (gst_message_parse_state_changed),
14764         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
14765         (gst_message_parse_new_clock):
14766         * gst/gstmessage.h:
14767         Also carry the clock in question.
14768
14769 2005-10-08  Wim Taymans  <wim@fluendo.com>
14770
14771         * gst/gstmessage.c: (gst_message_new_custom),
14772         (gst_message_new_eos), (gst_message_new_error),
14773         (gst_message_new_warning), (gst_message_new_tag),
14774         (gst_message_new_state_changed), (gst_message_new_clock_provide),
14775         (gst_message_new_new_clock), (gst_message_new_segment_start),
14776         (gst_message_new_segment_done), (gst_message_parse_state_changed),
14777         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
14778         * gst/gstmessage.h:
14779         Clean up.
14780         Added clock related messages.
14781
14782         * gst/gstpipeline.c: (gst_pipeline_change_state):
14783         Post message when the clock changed.
14784
14785         * tools/gst-launch.c: (event_loop):
14786         Print new clock.
14787
14788 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
14789
14790         * tools/gst-inspect.c: (print_element_properties_info):
14791           Can't pass NULL strings to g_print() on windows.
14792
14793 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14794
14795         * docs/Makefile.am:
14796         * docs/gst/Makefile.am:
14797         * docs/gst/gstreamer-docs.sgml:
14798         * docs/gst/running.xml:
14799         * docs/version.entities.in:
14800           add a chapter on running GStreamer.
14801           document GST_DEBUG and GST_PLUGIN* env vars
14802
14803 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14804
14805         * Makefile.am:
14806           remove include dir
14807         * configure.ac:
14808           remove PLUGINS_BUILDDIR stuff
14809         * gst/gst.c: (init_post):
14810           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
14811         * idiottest.mak:
14812           remove, it was condescending and not needed
14813
14814 2005-10-08  Wim Taymans  <wim@fluendo.com>
14815
14816         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
14817         (gst_base_sink_handle_object), (gst_base_sink_event),
14818         (gst_base_sink_wait), (gst_base_sink_handle_event),
14819         (gst_base_sink_change_state):
14820         * gst/base/gstbasesink.h:
14821         Repost EOS message while going to PLAYING if still EOS.
14822         Make sure that when receiving a FLUSH_START we don't attempt
14823         to sync on the clock anymore.
14824
14825 2005-10-08  Wim Taymans  <wim@fluendo.com>
14826
14827         * tools/gst-launch.c: (event_loop):
14828         Better message printout.
14829
14830 2005-10-08  Wim Taymans  <wim@fluendo.com>
14831
14832         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
14833         (gst_bin_child_proxy_get_children_count):
14834         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14835         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
14836         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
14837         (gst_child_proxy_set_valist):
14838         * gst/parse/grammar.y:
14839         Make ChildProxy threadsafe and fix mem leaks.
14840
14841 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14842
14843         * gst/gst.c: (init_post):
14844           debug the GST_PLUGIN_ env vars
14845
14846 2005-10-08  Wim Taymans  <wim@fluendo.com>
14847
14848         * check/gst/gstbin.c: (GST_START_TEST):
14849         * check/gst/gstmessage.c: (GST_START_TEST):
14850         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
14851         * gst/gstelement.c: (gst_element_commit_state),
14852         (gst_element_lost_state):
14853         * gst/gstmessage.c: (gst_message_new_state_changed),
14854         (gst_message_parse_state_changed):
14855         * gst/gstmessage.h:
14856         * tools/gst-launch.c: (event_loop):
14857         Added extra field to STATE_CHANGE message with the pending
14858         state, which will be different from the new state soon.
14859
14860 2005-10-08  Wim Taymans  <wim@fluendo.com>
14861
14862         * gst/gstbus.c: (gst_bus_pop):
14863         * gst/gstclock.c:
14864         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
14865         Small cleanups and doc updates.
14866
14867 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14868
14869         * gst/gst.c: (init_pre):
14870         * gst/gstbin.c: (gst_bin_add_func):
14871           log distributing clocks and base time
14872         * gst/gstregistry.c: (gst_registry_add_plugin),
14873         (gst_registry_scan_path_level), (gst_registry_scan_path):
14874           clean up the debugging output a little
14875         * gst/gstutils.c: (gst_element_state_get_name):
14876           warn about a memleak (I've actually seen this be used, though
14877           it was probably a bug)
14878
14879 2005-10-07  Wim Taymans  <wim@fluendo.com>
14880
14881         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14882         (gst_base_src_init), (gst_base_src_default_newsegment),
14883         (gst_base_src_newsegment), (gst_base_src_do_seek),
14884         (gst_base_src_loop), (gst_base_src_start):
14885         * gst/base/gstbasesrc.h:
14886         Make the newsegment event customizable by subclasses.
14887
14888 2005-10-07  Wim Taymans  <wim@fluendo.com>
14889
14890         * gst/gstevent.c: (gst_event_new_buffersize),
14891         (gst_event_parse_buffersize):
14892         * gst/gstevent.h:
14893         New event for future idea.
14894
14895 2005-10-07  Andy Wingo  <wingo@pobox.com>
14896
14897         * gst/gstelement.c (gst_element_post_message): Doc update.
14898
14899         * docs/gst/gstreamer-sections.txt: Update.
14900
14901         * gst/gstmessage.c (gst_message_new_application): Made into a
14902         function like honest API calls.
14903         (gst_message_new_element): New message type.
14904
14905         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
14906
14907         * check/elements/fakesrc.c (test_no_preroll): New check, checks
14908         that setting a live fakesrc to PAUSED returns NO_PREROLL both
14909         times.
14910
14911         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
14912         NO_PREROLL from gst_element_change_state to fall through.
14913
14914 2005-10-07  Wim Taymans  <wim@fluendo.com>
14915
14916         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
14917         (gst_ghost_pad_do_activate_push):
14918         Activating a ghostpad with no internal pad in push mode
14919         is ok.
14920
14921 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14922
14923         * gst/gstobject.h:
14924           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
14925           Fixes compilation on Windows.
14926
14927 2005-10-07  Michael Smith <msmith@fluendo.com>
14928
14929         * tools/gst-inspect.c:
14930           Print out feature and plugin count at the end when printing out
14931           all features.
14932
14933 2005-10-04  Michael Smith <msmith@fluendo.com>
14934
14935         * gst/gsterror.c: (_gst_stream_errors_init):
14936           Add another error string used in a few existing plugins.
14937
14938         * gst/gstplugin.c:
14939         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14940         * tools/gst-inspect.c: (print_element_info):
14941           When a feature disappears from a plugin (and the feature exists in
14942           the cached registry file), things went horribly wrong. This isn't a
14943           complete fix, we should actually be removing the 'missing' features
14944           from the features list when we load the actual plugin. That's not
14945           yet implemented. 
14946
14947 2005-10-04  Johan Dahlin  <johan@gnome.org>
14948
14949         * check/gst/gstiterator.c: (GST_START_TEST):
14950         * gst/gstbin.c: (gst_bin_iterate_elements),
14951         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
14952         * gst/gstelement.c: (gst_element_iterate_pads):
14953         * gst/gstformat.c: (gst_format_iterate_definitions):
14954         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
14955         (gst_iterator_new_list), (gst_iterator_filter):
14956         * gst/gstiterator.h:
14957         * gst/gstquery.c: (gst_query_type_iterate_definitions):
14958         Add a GType to GstIterator, update callsites and tests.
14959
14960 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14961
14962         * gst/gstpad.c: (gst_pad_event_default_dispatch):
14963           give events a chance to be handled by event probes when the pad
14964           is not linked
14965
14966 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14967
14968         * gst/gstevent.c: (gst_event_type_get_name),
14969         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
14970         * gst/gstevent.h:
14971           add string representations for event types
14972
14973 2005-10-06  Wim Taymans  <wim@fluendo.com>
14974
14975         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
14976         Don't use NULL pointers.
14977
14978 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14979
14980         * gst/gst_private.h:
14981         * gst/gstbus.c:
14982         * gst/gstelement.c:
14983         * gst/gstinfo.c:
14984         * gst/gstpluginfeature.c:
14985           widen the debug category in output to fit the biggest one we have
14986           add a bus category and use it
14987           play with the colors
14988           fix up some categories
14989
14990 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14991
14992         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
14993           add push activation of sink ghost pads.
14994           Andye, please verify
14995
14996 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14997
14998         * gst/gstutils.c: (gst_element_link_pads):
14999           fix a bug in the case where neither element has a pad
15000         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15001           add a test for that case
15002
15003 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15004
15005         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
15006           emit have-data before checking for peers.  This allows
15007           for probe handlers to connect elements.  This helps autopluggers.
15008         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
15009         (gst_pad_suite):
15010           add six checks, linked/unlinked with no/true/false probe
15011
15012 2005-10-04  Wim Taymans  <wim@fluendo.com>
15013
15014         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
15015         (gst_fake_sink_event), (gst_fake_sink_preroll),
15016         (gst_fake_sink_render), (gst_fake_sink_change_state):
15017         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
15018         (gst_fake_src_get_property), (gst_fake_src_create),
15019         (gst_fake_src_stop):
15020         * gst/elements/gstidentity.c: (gst_identity_stop):
15021         Protect last_message with lock.
15022
15023 2005-10-04  Edward Hervey  <edward@fluendo.com>
15024
15025         * gst/gstformat.h: 
15026         Added precision in the comments for GST_FORMAT_DEFAULT
15027
15028 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
15029
15030         * tools/gst-launch.c: (main):
15031           Don't try to run erroneous pipelines.
15032
15033 2005-10-04  Julien MOUTTE  <julien@moutte.net>
15034
15035         * gst/gstbus.c: We don't need this header.
15036
15037 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15038
15039         * configure.ac:
15040           back to development
15041
15042 === release 0.9.3 ===
15043
15044 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15045
15046         * README:
15047         * configure.ac:
15048           Releasing 0.9.3, "Unregistered"
15049
15050 2005-10-03  Andy Wingo  <wingo@pobox.com>
15051
15052         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
15053         whereby calling a pad's activatepush() function can start a thread
15054         that starts to push or pull before the pad gets the FLUSHING flag
15055         unset. Hack around it by holding the stream lock until the flag is
15056         set. Need to replace this with a proper solution. Together with
15057         the ghost pad fixes, this fixes mp3 playing/tagreading.
15058
15059         * docs/design/part-gstghostpad.txt: Add a note about activation of
15060         proxy pads outside of ghost pads.
15061
15062         * gst/gstghostpad.c: Implement the ghost pad activation design.
15063
15064 2005-10-02  Andy Wingo  <wingo@pobox.com>
15065
15066         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
15067         It is volatile, after all.
15068
15069         * docs/design/part-gstghostpad.txt: Flesh out activation with
15070         ghost pads.
15071
15072         * gst/base/gstbasesrc.c (gst_base_src_init): Use
15073         GST_DEBUG_FUNCPTR.
15074
15075 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
15076
15077         * configure.ac:
15078           Fix (unused) AM_CONDITIONAL tests.
15079
15080 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
15081
15082         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15083
15084         * gst/gstutils.c: (gst_pad_query_convert):
15085           Add assertion that makes sure src_val is >=0, just like
15086           gst_query_new_convert() has. (#315895)
15087
15088 2005-09-30  Edward Hervey  <edward@fluendo.com>
15089
15090         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
15091         Let's not iterate pads we're not interested in, it avoids getting 
15092         sky-high refcounts on sinkpad.
15093
15094 2005-09-30  Wim Taymans  <wim@fluendo.com>
15095
15096         * gst/gstelement.c: (gst_element_set_state),
15097         (gst_element_change_state):
15098         Small tweak, element in ASYNC remains ASYNC.
15099
15100 2005-09-30  Wim Taymans  <wim@fluendo.com>
15101
15102         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15103         Only error is an error.
15104
15105         * gst/gstbin.c: (gst_bin_change_state):
15106         Better debugging.
15107
15108         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
15109         Also call pad_block in pad alloc.
15110
15111         * gst/gstutils.c: (gst_flow_get_name):
15112         Better debugging.
15113
15114 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
15115
15116         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15117         (gst_base_src_get_range):
15118           Fix documentation typos. Add some more debug info.
15119
15120 2005-09-29  David Schleef  <ds@schleef.org>
15121
15122         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
15123           more end-user friendly.
15124         * tools/gst-inspect.c: (main): Check if command-line argument is
15125           a file and attempt to load that file as a plugin.
15126
15127 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15128
15129         * check/gst/gstbin.c:
15130         * check/states/sinks.c:
15131           fix tests for the new warning
15132         * check/gst/gstpipeline.c:
15133           add a test for pipeline and bus interaction
15134         * gst/gstelement.c:
15135           elements should be NULL if they get disposed; add a warning if not
15136
15137 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15138
15139         * gst/gstobject.c:
15140           for 2.6 refcounting, make debug log more correct by printing
15141           the actual refcounts at the time of swap (Wim)
15142
15143 2005-09-29  Andy Wingo  <wingo@pobox.com>
15144
15145         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
15146         removes signal watches previously added via
15147         gst_bus_add_signal_watch.
15148         (gst_bus_add_signal_watch): Don't return the source id, just store
15149         it on the bus if there wasn't an id already.
15150
15151         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
15152         add_signal_watch and remove_signal_watch.
15153
15154 2005-09-29  Edward Hervey  <edward@fluendo.com>
15155
15156         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
15157         Better if we actually iterate the list :)
15158
15159 2005-09-29  Wim Taymans  <wim@fluendo.com>
15160
15161         * check/gst/gstbin.c: (GST_START_TEST):
15162         Change for new bus API.
15163
15164         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
15165         (send_messages), (GST_START_TEST), (gstbus_suite):
15166         Change for new bus signal API.
15167
15168         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
15169         (gst_bus_source_prepare), (gst_bus_source_check),
15170         (gst_bus_create_watch), (gst_bus_add_watch_full),
15171         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
15172         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
15173         * gst/gstbus.h:
15174         Remove support for multiple GSources operating on different
15175         message types as it is too complex and unneeded when using
15176         signals.
15177         Added support for receiving signals from the bus.
15178
15179 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15180
15181         * docs/libs/tmpl/gstdataprotocol.sgml:
15182         * docs/manual/advanced-dataaccess.xml:
15183         * gst/elements/gstcapsfilter.c:
15184         * gst/gstutils.c:
15185           rename filter-caps to caps property
15186
15187 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
15188
15189         * gst/gstvalue.c: (gst_value_deserialize_fraction):
15190           More robust fraction string parsing.
15191
15192         * docs/pwg/appendix-porting.xml:
15193           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
15194
15195 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
15196
15197         * gst/gstcaps.c: (gst_caps_do_simplify):
15198           Thou shalt not free a structure and then continue using it
15199           in the next loop iteration.
15200
15201         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
15202         (gst_caps_suite):
15203           Add test case for caps simplification.
15204
15205 2005-09-29  Wim Taymans  <wim@fluendo.com>
15206
15207         * check/gst/gstbin.c: (GST_START_TEST):
15208         Oops.
15209
15210 2005-09-29  Wim Taymans  <wim@fluendo.com>
15211
15212         * check/gst/gstbin.c: (GST_START_TEST):
15213         Add bus to bin.
15214
15215         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
15216         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15217         (find_element), (gst_bin_sort_iterator_next),
15218         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15219         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15220         (gst_bin_change_state), (gst_bin_dispose):
15221         A bin does not have a bus, it gets the bus from the parent.
15222
15223         * gst/gstelement.c: (gst_element_requires_clock),
15224         (gst_element_provides_clock), (gst_element_is_indexable),
15225         (gst_element_is_locked_state), (gst_element_change_state),
15226         (gst_element_set_bus_func):
15227         Small cleanups.
15228
15229         * gst/gstpipeline.c: (gst_pipeline_class_init),
15230         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
15231         The pipeline provides a bus.
15232
15233 2005-09-28  Johan Dahlin  <johan@gnome.org>
15234
15235         * gst/gstmessage.c (gst_message_parse_state_changed): Use
15236         gst_structure_get_enum instead of gst_structure_get_int
15237
15238         * gst/gststructure.c (gst_structure_get_enum): Impl.
15239
15240         * gst/gststructure.h (gst_structure_get_enum): Add
15241
15242         * docs/gst/gstreamer-sections.txt: Ditto
15243
15244         * gst/gstmessage.c (gst_message_new_state_changed): Use
15245         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
15246         which does introspection.
15247         Reviewed by Christian Schaller
15248
15249 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
15250
15251         * gst/gstinfo.c: (gst_debug_log_default):
15252           don't do dummy g_strdup()s
15253         * libs/gst/controller/gstcontroller.c:
15254         (on_object_controlled_property_changed),
15255         (gst_controlled_property_new), (gst_controller_new_valist),
15256         (gst_controller_new_list),
15257         (gst_controller_remove_properties_valist), (gst_controller_set),
15258         (gst_controller_get), (gst_controller_sync_values),
15259         (gst_controller_get_value_array), (_gst_controller_class_init),
15260         (gst_controller_get_type):
15261         * libs/gst/controller/gstcontroller.h:
15262         * libs/gst/controller/gstinterpolation.c:
15263         (gst_controlled_property_find_timed_value_node):
15264           convert // to /**/ comments
15265
15266 2005-09-28  Wim Taymans  <wim@fluendo.com>
15267
15268         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
15269         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
15270         (gst_bus_sync_signal_handler):
15271         * gst/gstbus.h:
15272         Added async-message and sync-message signals to the bus.
15273         Added helper BusFunc to emit signals for all posted messages.
15274
15275         * gst/gstmessage.c: (gst_message_type_get_name),
15276         (gst_message_type_to_quark), (gst_message_get_type):
15277         * gst/gstmessage.h:
15278         Register quarks for message names.
15279
15280 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
15281
15282         * docs/libs/gstreamer-libs-sections.txt:
15283         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
15284         (gst_controller_new_list):
15285         * libs/gst/controller/gstcontroller.h:
15286           added another constructor for language bindings
15287
15288 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15289
15290         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15291           add another check
15292         * gst/gstbus.c:
15293           add some doc
15294         * gst/gstinfo.c: (_gst_debug_init):
15295           slightly more readable color for refcount debugging
15296
15297 2005-09-28  Wim Taymans  <wim@fluendo.com>
15298
15299         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15300         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15301         (find_element), (gst_bin_sort_iterator_next),
15302         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15303         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15304         (gst_bin_change_state), (gst_bin_dispose):
15305         Small doc fixes. get_clock -> provide_clock.
15306
15307         * gst/gstelement.c: (gst_element_class_init),
15308         (gst_element_provides_clock), (gst_element_provide_clock),
15309         (gst_element_get_clock), (gst_element_commit_state),
15310         (gst_element_lost_state):
15311         * gst/gstelement.h:
15312         Make get/set_clock() symetric. Add provide_clock vmethod since
15313         that is actually what this function does.
15314
15315         * gst/gstpipeline.c: (gst_pipeline_class_init),
15316         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
15317         (gst_pipeline_get_clock):
15318         get_clock -> provide_clock.
15319
15320 2005-09-28  Andy Wingo  <wingo@pobox.com>
15321
15322         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
15323         lieu of real docs...
15324
15325         * gst/elements/gstfdsrc.c: Cleaned up a bit.
15326
15327 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
15328
15329         * gst/elements/gstcapsfilter.c:
15330         * gst/elements/gstfakesink.c:
15331         * gst/elements/gstfakesrc.c:
15332         * gst/elements/gstfdsink.c:
15333         * gst/elements/gstfdsrc.c:
15334         * gst/elements/gstfilesink.c:
15335         * gst/elements/gstfilesrc.c:
15336         * gst/elements/gstidentity.c:
15337         * gst/elements/gsttee.c:
15338         * gst/elements/gsttypefindelement.c:
15339           Make element details static.
15340
15341 2005-09-28  Wim Taymans  <wim@fluendo.com>
15342
15343         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15344         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15345         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15346         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15347         (gst_bin_change_state), (gst_bin_dispose):
15348         Some documentation updates.
15349         Clean up dispose handlers.
15350
15351         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
15352         * gst/gstpad.c: (gst_pad_dispose):
15353         Clean up dispose handler.
15354
15355         * gst/gstpipeline.c: (gst_pipeline_change_state):
15356         Removed spurious UNLOCK.
15357
15358 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
15359
15360         * docs/gst/gstreamer-sections.txt:
15361         * gst/base/gstbasesrc.h:
15362         * gst/gstelement.h:
15363         * gst/gstevent.h:
15364         * gst/gstobject.h:
15365         * gst/gstpad.h:
15366         * gst/gstpipeline.c:
15367         * gst/gstpipeline.h:
15368         * gst/gstutils.h:
15369         * gst/gstxml.h:
15370           added two new functions to the docs
15371                 documents all undocumented GstXXXFlags
15372                 completed some incomplete docs 
15373
15374 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
15375
15376         * gst/gstbin.c: (gst_bin_dispose):
15377         * gst/gstelement.c: (gst_element_dispose):
15378           remove now useless and leaky resurrection code in dispose
15379         * gst/base/gstbasesrc.c: (gst_base_src_init):
15380         * gst/gstelementfactory.c: (gst_element_factory_create):
15381         * gst/gstobject.c: (gst_object_set_parent):
15382           add some debugging
15383
15384 2005-09-27  Wim Taymans  <wim@fluendo.com>
15385
15386         * docs/design/part-TODO.txt:
15387         Update TODO.
15388
15389         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15390         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15391         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15392         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15393         (gst_bin_change_state):
15394         * gst/gstelement.h:
15395         Remove element variable, we keep element info in the iterator now.
15396
15397 2005-09-27  Andy Wingo  <wingo@pobox.com>
15398
15399         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
15400         values.
15401
15402 2005-09-27  Wim Taymans  <wim@fluendo.com>
15403
15404         * check/gst/gstbin.c: (GST_START_TEST):
15405         Enable check that works now.
15406
15407         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15408         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15409         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15410         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15411         (gst_bin_change_state):
15412         * gst/gstbin.h:
15413         Redid the state change algorithm using a topological sort algo.
15414         Handles all cases correctly.
15415         Exposed iterator for state change order.
15416
15417         * gst/gstelement.h:
15418         Temp storage for state changes. Need to get rid of this soon.
15419
15420 2005-09-27  Wim Taymans  <wim@fluendo.com>
15421
15422         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
15423         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
15424         (link_fold_func), (gst_pad_proxy_setcaps):
15425         Leak fixes, the fold functions need to unref the passed object and
15426         _get_parent_*() returns ref to parent.
15427
15428 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
15429
15430         * check/gst/gstbuffer.c: (test_make_writable):
15431           Plug leak in test case and fix 'make check-valgrind'
15432
15433 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
15434
15435         * gst/gstbuffer.c: (gst_subbuffer_init):
15436           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
15437           works correctly in all circumstances (we could have just copied
15438           the parent buffer's readonly flag, but conceptually it seems
15439           cleaner to mark all subbuffers as read-only). (based on patch
15440           by Alessandro Decina, #314710).
15441         
15442         * check/gst/gstbuffer.c: (create_read_only_buffer),
15443         (test_make_writable), (test_subbuffer_make_writable),
15444         (gst_test_suite):
15445           Add some tests for gst_buffer_make_writable().
15446
15447 2005-09-27  Wim Taymans  <wim@fluendo.com>
15448
15449         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
15450         use gst_object_has_ancestor().
15451
15452         * gst/gstobject.c: (gst_object_has_ancestor):
15453         * gst/gstobject.h:
15454         gst_object_has_ancestor() copied from gstbin.c as it is a
15455         useful function.
15456
15457         * tests/instantiate/create.c: (create_all_elements):
15458         * tests/lat.c: (handoff_src), (handoff_sink):
15459         * tests/sched/runxml.c: (main):
15460         * tests/seeking/seeking1.c: (main):
15461         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15462         (main):
15463         Fix compilation of some tests.
15464
15465 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
15466
15467         * gst/gsterror.h:
15468           Remove comment. GST_TYPE_G_ERROR is here to stay,
15469           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
15470           (#316961, #300610).
15471
15472 2005-09-26  Wim Taymans  <wim@fluendo.com>
15473
15474         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15475         Added check that shows error in state change order.
15476
15477 2005-09-26  Wim Taymans  <wim@fluendo.com>
15478
15479         * gst/gstbin.c: (gst_bin_change_state):
15480         Make state change function use 3 queues again, we were
15481         adding elements in the wrong order.
15482
15483         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
15484         Some debug info,
15485
15486         * gst/gstpad.c: (gst_pad_dispose):
15487         Added some debug info first.
15488
15489 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
15490
15491         * docs/design/draft-push-pull.txt:
15492         * docs/design/part-events.txt:
15493         * docs/design/part-overview.txt:
15494         * docs/design/part-scheduling.txt:
15495           Replace all _pull_region() with _pull_range()
15496           
15497 2005-09-26  Andy Wingo  <wingo@pobox.com>
15498
15499         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
15500
15501         * check/gst-libs/controller.c: Update for controller api change.
15502
15503         * configure.ac: 
15504         * tests/Makefile.am:
15505         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
15506         over by GLib bug 118439.
15507         
15508         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
15509         routines to a function.
15510
15511         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
15512
15513         * libs/gst/controller/gsthelper.c:
15514         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
15515         (gst_object_sync_values): Renamed from sink_values. Ugh.
15516
15517         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
15518
15519         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
15520         Renamed from controller_key, as it is exported.
15521
15522         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
15523
15524 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
15525
15526         * gst/Makefile.am:
15527         * gst/gst.h:
15528         * gst/gstpad.h:
15529         * gst/gstpadtemplate.h:
15530         * gst/gstquery.c:
15531         * gst/gstquery.h:
15532         * gst/gstqueryutils.c:
15533         * gst/gstqueryutils.h:
15534           remove queryutils headers after moving the two used functions
15535           to gstquery.  also fixes build problem for gstsiddec
15536
15537 2005-09-26  Michael Smith <msmith@fluendo.com>
15538
15539         * tools/gst-launch.1.in:
15540         Correct documentation in manpage of debug syntax
15541
15542 2005-09-26  Wim Taymans  <wim@fluendo.com>
15543
15544         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
15545         (gst_base_src_is_seekable), (gst_base_src_change_state):
15546         Some more debugging info.
15547
15548 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15549
15550         * docs/gst/gstreamer-sections.txt:
15551         * gst/base/gstbasetransform.h:
15552         * gst/gstindex.h:
15553           added more docs
15554
15555 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15556
15557         * docs/gst/.cvsignore:
15558         * docs/gst/tmpl/.cvsignore:
15559         * docs/gst/tmpl/gstpipeline.sgml:
15560         * docs/gst/tmpl/gstplugin.sgml:
15561         * gst/gstpipeline.c:
15562         * gst/gstplugin.c:
15563         * gst/gstplugin.h:
15564           inlined the last two docs files
15565           removed the tmpl directory from cvs (no more conflicts here!)
15566
15567 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15568
15569         * docs/gst/gstreamer-sections.txt:
15570         * docs/gst/tmpl/.cvsignore:
15571         * docs/gst/tmpl/gstpad.sgml:
15572         * docs/gst/tmpl/gstpadtemplate.sgml:
15573         * gst/Makefile.am:
15574         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
15575         (gst_pad_finalize), (gst_pad_set_pad_template):
15576         * gst/gstpad.h:
15577         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
15578         (gst_pad_template_class_init), (gst_pad_template_init),
15579         (gst_pad_template_dispose), (name_is_valid),
15580         (gst_static_pad_template_get), (gst_pad_template_new),
15581         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
15582         (gst_pad_template_pad_created):
15583         * gst/gstpadtemplate.h:
15584           inlined two more docs
15585           factored gstpadtemplate out of gstpad
15586
15587 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
15588
15589         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15590         (test_children_state_change_order_semi_sink):
15591           Fix test case: we can't rely on a fixed state change order when
15592           going from READY => PAUSED because the sink might commit its 
15593           new state first when the first buffer created by the source 
15594           reaches the sink before the source has finished its change state.
15595           (Test case still fails at times, see #316856, comment 5 onwards)
15596
15597 2005-09-24  Wim Taymans  <wim@fluendo.com>
15598
15599         * docs/design/part-events.txt:
15600         * docs/design/part-gstbus.txt:
15601         * docs/design/part-gstpipeline.txt:
15602         * docs/design/part-messages.txt:
15603         * docs/design/part-overview.txt:
15604         * docs/design/part-segments.txt:
15605         * gst/gstbin.c:
15606         * gst/gstbuffer.c:
15607         * gst/gstclock.c:
15608         * gst/gstelement.c:
15609         * gst/gstevent.c:
15610         * gst/gstfilter.c:
15611         * gst/gstiterator.c:
15612         Various documentation updates.
15613
15614 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15615
15616         * gst/gstclock.h:
15617           Well, that's embarassing.  Luckily we weren't using
15618           GST_CLOCK_DIFF anywhere.
15619
15620 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15621
15622         * common/gtk-doc.mak:
15623           don't fail on building XML, FC4 slave shows a bunch of doc
15624           missing bits that I don't get
15625         * gst/gstpad.c:
15626         * gst/gstpipeline.c:
15627         * gst/gststructure.c:
15628           some doc updates
15629
15630 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
15631
15632         * docs/design/part-gstbin.txt:
15633         * docs/design/part-gstbus.txt:
15634         * gst/gstbus.c:
15635           Add blurb about how the bus goes into flushing mode and
15636           drops all messages when its bin goes from READY into NULL 
15637           state.
15638
15639 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15640
15641         * docs/gst/gstreamer-sections.txt:
15642         * gst/gststructure.c: (gst_structure_get_clock_time):
15643         * gst/gststructure.h:
15644           add a method to get a GstClockTime out of a structure
15645
15646 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
15647
15648         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15649         (test_children_state_change_order_semi_sink), (gst_bin_suite):
15650           Added test to check state change order in bins (can still be made
15651           to fail here under heavy disk load; bails out with 'Push on pad
15652           fakesink:sink0, but it was not activated in push mode').
15653
15654         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
15655           Fix state change order when there is only a semi sink (#316856)
15656
15657         * gst/gstbus.c: (gst_bus_class_init):
15658           Use _class_peek_parent(), not _class_ref(); fix docs to say
15659           'default main context' instead of 'mainloop' where that is
15660           what's meant.
15661
15662         * gst/gstelement.c: (gst_element_commit_state),
15663         (gst_element_set_state):
15664           Fix typos in debug messages
15665
15666 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15667
15668         * docs/README:
15669         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
15670         * gst/gstpluginfeature.c:
15671         * gst/gstutils.c:
15672           various doc updates
15673         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15674           change an assert into an error until it gets fixed properly
15675
15676 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
15677
15678         * docs/gst/gstreamer-sections.txt:
15679         * docs/gst/tmpl/.cvsignore:
15680         * docs/gst/tmpl/gstelement.sgml:
15681         * docs/gst/tmpl/gstinfo.sgml:
15682         * docs/gst/tmpl/gstobject.sgml:
15683         * gst/gstelement.c:
15684         * gst/gstelement.h:
15685         * gst/gstinfo.c:
15686         * gst/gstinfo.h:
15687         * gst/gstobject.c: (gst_object_class_init):
15688         * gst/gstobject.h:
15689           inlined 3 more biiiig doc files and added some missing docs on the fly
15690
15691 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15692
15693         * check/gst/.cvsignore:
15694         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
15695         * gst/gstregistryxml.c: (load_plugin),
15696         (gst_registry_xml_save_plugin):
15697           put back source in registry.  add checks for find_plugin.
15698         * testsuite/states/bin.c: (assert_state), (empty_bin),
15699         (test_adding_one_element), (main):
15700         * testsuite/states/locked.c: (main):
15701           some compile/run fixes
15702
15703 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15704
15705         * check/gst/gstvalue.c: (GST_START_TEST):
15706           fix leaks in the test itself
15707
15708 2005-09-22  Wim Taymans  <wim@fluendo.com>
15709
15710         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15711         (gst_base_sink_send_event), (gst_base_sink_peer_query),
15712         (gst_base_sink_query):
15713         Prepare for more accurate position reporting and query
15714         handling.
15715
15716         * gst/gstelement.c: (gst_element_send_event),
15717         (gst_element_set_state):
15718         Add some comment.
15719
15720 2005-09-22  Wim Taymans  <wim@fluendo.com>
15721
15722         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
15723         (gst_query_parse_segment):
15724         * gst/gstquery.h:
15725         More documentation.
15726         Add segment query for future use.
15727
15728 2005-09-22  Wim Taymans  <wim@fluendo.com>
15729
15730         * gst/gstbin.c: (gst_bin_add_func):
15731         Some more debug info.
15732
15733         * gst/gstelement.c: (gst_element_send_event):
15734         Simplify send_event
15735
15736         * gst/gstelement.h:
15737         Don't know how flags got broken.
15738
15739         * gst/gstquery.h:
15740         Added new query.
15741
15742 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
15743
15744         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
15745           Add simplistic test suite for GST_TYPE_DATE serialisation and
15746           deserialisation.
15747
15748 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
15749
15750         * docs/gst/gstreamer-sections.txt:
15751         * gst/gststructure.c: (gst_structure_set_valist),
15752         (gst_structure_get_date):
15753         * gst/gststructure.h:
15754         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
15755         (gst_date_copy), (gst_value_compare_date),
15756         (gst_value_serialize_date), (gst_value_deserialize_date),
15757         (gst_value_transform_date_string),
15758         (gst_value_transform_string_date), (_gst_value_initialize):
15759         * gst/gstvalue.h:
15760           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
15761           bunch of utility functions along with a hack that checks that
15762           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
15763           is required. Part of the grand scheme in #170777.
15764
15765 2005-09-22  Andy Wingo  <wingo@pobox.com>
15766
15767         * gst/gstconfig.h.in: Psych out gtk-doc.
15768
15769         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
15770
15771         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
15772
15773         * tools/gst-inspect.c (print_element_list): Plug some
15774         inconsequential leaks.
15775
15776         * gst/gstregistry.c (gst_registry_get_default): Doc.
15777
15778         * check/gst/gstplugin.c: 
15779         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
15780         * gst/gstelementfactory.c (gst_element_factory_create): 
15781         * gst/gstindexfactory.c (gst_index_factory_create): Update for
15782         refcount changes.
15783
15784         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
15785         (gst_plugin_feature_load): Doc, don't eat refs.
15786
15787         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
15788         (gst_plugin_list_free): Doc.
15789         (gst_plugin_load_file): Doc updates.
15790
15791         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
15792         accessors returning refcounted objects, return a ref.
15793
15794         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
15795         accessor for caps. IDEMPOTENCE. Oh yes.
15796
15797 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
15798
15799         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15800
15801         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15802         (_gst_debug_register_funcptr):
15803           Add mutex to serialise access to the hash table with
15804           the function pointer => function name string mapping;
15805           make that hash table static scope (#316809).
15806
15807         * gst/registries/.cvsignore:
15808           Remove left-over file.
15809
15810 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
15811
15812         * docs/pwg/appendix-porting.xml:
15813           And something about newsegment events and caps-on-buffers to
15814           the porting guide (feel free to improve).
15815
15816 2005-09-21  Andy Wingo  <wingo@pobox.com>
15817
15818         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
15819         data and event probes on the same pad.
15820         (test_buffer_probe_once): Test that removing probes from within
15821         the probe functions works.
15822
15823 2005-09-21  Andy Wingo  <wingo@pobox.com>
15824
15825         * check/gst/gstutils.c: New file.
15826         (test_buffer_probe_n_times): A simple buffer probe test. More to
15827         come, foolios.
15828
15829         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
15830         have-data::buffer, not have-data.
15831         (gst_pad_add_event_probe): Likewise for have-data::event.
15832         (gst_pad_add_data_probe): More docs. The part about 'resolving the
15833         peer' isn't quite right yet though.
15834         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
15835         (gst_pad_remove_data_probe): Change to take the guint handler_id
15836         as their arg, not the function+data, which is more glib-like.
15837
15838         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
15839         the signal emission to indicate if the data is a buffer or an
15840         event.
15841         (gst_pad_get_type): Initialize buffer and event quarks.
15842         (gst_pad_class_init): have-data is now a detailed signal, yes it
15843         is.
15844
15845 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
15846
15847         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
15848         * gst/gstutils.c: (gst_util_set_value_from_string),
15849         (gst_util_set_object_arg):
15850           Don't put functional code in g_return_if_fail() or
15851           g_return_val_if_fail() statements, otherwise things will 
15852           break when G_DISABLE_CHECKS is defined during compilation.
15853
15854 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15855
15856         * docs/gst/tmpl/.cvsignore:
15857         * docs/gst/tmpl/gstvalue.sgml:
15858         * gst/gstvalue.c:
15859         * gst/gstvalue.h:
15860           inlied another one and added  some obvious docs
15861
15862 2005-09-21  Wim Taymans  <wim@fluendo.com>
15863
15864         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
15865         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
15866         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
15867         (gst_fdsrc_get_property), (gst_fdsrc_create):
15868         * gst/elements/gstfdsrc.h:
15869         Properly implement fdsrc. Removed signal and timeout,
15870         better implemented somewhere else.
15871
15872 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15873
15874         * docs/gst/tmpl/.cvsignore:
15875         * docs/gst/tmpl/gstimplementsinterface.sgml:
15876         * gst/gstinterface.c:
15877           inlined more docs
15878
15879 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15880
15881         * docs/gst/gstreamer-sections.txt:
15882         * docs/gst/tmpl/.cvsignore:
15883         * docs/gst/tmpl/gstenumtypes.sgml:
15884           remove obsolete doc file
15885
15886 2005-09-21  David Schleef  <ds@schleef.org>
15887
15888         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
15889         little beer, fix a little leak.
15890
15891 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15892
15893         * docs/gst/gstreamer-docs.sgml:
15894         * docs/gst/gstreamer-sections.txt:
15895         * docs/gst/tmpl/.cvsignore:
15896         * gst/Makefile.am:
15897         * gst/gst.h:
15898         * gst/gstbin.c:
15899         * gst/gstelement.h:
15900         * gst/gstindex.c: (gst_index_class_init):
15901         * gst/gstindex.h:
15902         * gst/gstindexfactory.c: (gst_index_factory_get_type),
15903         (gst_index_factory_class_init), (gst_index_factory_init),
15904         (gst_index_factory_finalize), (gst_index_factory_new),
15905         (gst_index_factory_destroy), (gst_index_factory_find),
15906         (gst_index_factory_create), (gst_index_factory_make):
15907         * gst/gstindexfactory.h:
15908         * gst/gstpluginfeature.c:
15909         * gst/gstpluginfeature.h:
15910         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15911           more docs inlined, splitted gstindex.{c,h}
15912
15913 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15914
15915         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15916           fix a leak
15917
15918 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
15919
15920         * gst/elements/gstfilesink.c: (gst_file_sink_init):
15921           Set sync to FALSE by default.
15922
15923 2005-09-20  Wim Taymans  <wim@fluendo.com>
15924
15925         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15926         (gst_base_sink_init):
15927         Make sync property settable from subclass.
15928
15929         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
15930         (gst_fake_sink_change_state):
15931         Set sync to FALSE by default.
15932
15933 2005-09-20  Wim Taymans  <wim@fluendo.com>
15934
15935         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
15936         * tools/gst-launch.c: (main):
15937         The timeout handler should have lower priority than the source
15938         so we don't timeout before popping a message with 0 timeout.
15939         Dump error messages after failed state change.
15940
15941 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
15942
15943         * tools/gst-inspect.c: (print_element_properties_info):
15944           Fix two typos.
15945
15946 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15947
15948         * check/gst/gstevent.c:
15949         * gst/elements/gstfakesink.c:
15950         * gst/elements/gstfakesink.h:
15951           remove the sync property from fakesink.
15952           has the side effect of setting sync TRUE
15953           for fakesink, which is a change.  Anyone who knows how
15954           to fix this nicely in a GObject-y way, feel free.
15955
15956 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
15957
15958         * docs/gst/gstreamer-docs.sgml:
15959           remove probe refsection
15960
15961 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
15962
15963         * check/Makefile.am:
15964           disable valgrinding the controller test again
15965         * docs/gst/gstreamer-sections.txt:
15966           update for api-changes
15967
15968 2005-09-20  Wim Taymans  <wim@fluendo.com>
15969
15970         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15971         (gst_base_sink_set_property), (gst_base_sink_get_property),
15972         (gst_base_sink_do_sync):
15973         * gst/base/gstbasesink.h:
15974         Added sync property to basesink to disable clock sync.
15975
15976 2005-09-20  Andy Wingo  <wingo@pobox.com>
15977
15978         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
15979         eating the caller's refcount.
15980
15981         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
15982         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
15983         refcount.
15984
15985         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
15986         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
15987         of GLib 2.8 public, so we can know which refcount to check in
15988         tests.
15989
15990         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
15991         (gst_object_init): Only set the gst refcount if we're going ahead
15992         with the refcount hack.
15993
15994 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
15995
15996         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
15997         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15998           more leaks plumbed, added more debug-logging
15999         * gst/gstmacros.h:
16000           whitespace fix
16001
16002 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16003
16004         * gst/gstmessage.c:
16005           remove include of gstmemchunk.h
16006
16007 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16008
16009         * gst/gstclock.c: (_gst_clock_id_free):
16010           Commit from the Political Party For More Atomic CVS Commits,
16011           so that people don't waste too much of their day fishing
16012           out obvious leaks out of massive commits.
16013           Oh, and fix a pretty damn obvious leak in the memchunk
16014           removal code.
16015
16016 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
16017
16018         * check/Makefile.am:
16019         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
16020           plug mem-leak, re-add to valgrindable tests
16021
16022 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16023
16024         * gst/gstplugin.h:
16025           unbreak the build for those who have chronic arthritis
16026           and typing "make check" is just too taxing on the hands
16027
16028 2005-09-20  Andy Wingo  <wingo@pobox.com>
16029
16030         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
16031         really want it out, you should fix plugins at the same time.
16032
16033 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
16034
16035         * configure.ac:
16036         * docs/gst/gstreamer-sections.txt:
16037         * gst/gstobject.c:
16038           added missing symbols to api docs
16039           disable ref-count hack if we have glib >= 2.8
16040
16041 2005-09-19  David Schleef  <ds@schleef.org>
16042
16043         * docs/gst/Makefile.am: Ignore a few more internal headers
16044         * docs/gst/gstreamer-docs.sgml: Remove old sections
16045         * docs/gst/gstreamer-sections.txt: Remove old sections
16046         * docs/gst/tmpl/gstobject.sgml: update
16047         * docs/gst/tmpl/gstplugin.sgml: update
16048         * docs/gst/tmpl/gstpluginfeature.sgml: update
16049         * docs/random/ds/0.9-suggested-changes: update.
16050         * gst/Makefile.am: remove memchunk and trashstack, since they're
16051           not used.
16052         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
16053         * gst/gst.h: don't include some headers
16054         * gst/gstchildproxy.c: add gstmarshal.h
16055         * gst/gstclock.c: Don't use memchunks
16056         * gst/gstminiobject.c: Add some docs
16057         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
16058         * gst/gstobject.h: same
16059         * gst/gstplugin.c: include gstmacros.h
16060         * gst/gstplugin.h: don't include gstmacros.h, since it's private
16061         * gst/gstquery.c: don't use memchunks
16062         * gst/gstregistry.c: rename gst_registry_deinit()
16063         * gst/gstregistry.h: same
16064
16065 2005-09-19  David Schleef  <ds@schleef.org>
16066
16067         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
16068         * docs/libs/gstreamer-libs-sections.txt:
16069         * docs/libs/tmpl/gstgetbits.sgml:
16070         * docs/libs/tmpl/gstputbits.sgml:
16071
16072 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
16073
16074         * win32/gstenumtypes.c:
16075         * win32/gstenumtypes.h:
16076           Update.
16077
16078 2005-09-19  Wim Taymans  <wim@fluendo.com>
16079
16080         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
16081         Automatically PAUSE and RESUME a pipeline when a flushing seek
16082         is performed.
16083
16084 2005-09-19  Andy Wingo  <wingo@pobox.com>
16085
16086         * gst/gstregistry.h: Spacing fixen.
16087
16088 2005-09-19  Wim Taymans  <wim@fluendo.com>
16089
16090         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
16091         Handle state change failure more correctly.
16092
16093 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16094
16095         * check/Makefile.am:
16096         * check/pipelines/cleanup.c: (run_pipeline):
16097         * check/pipelines/simple_launch_lines.c: (run_pipeline),
16098         (GST_START_TEST):
16099           enable cleanup again after fixing the leak
16100         * docs/README:
16101           some more info on docs
16102
16103 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16104
16105         * check/Makefile.am:
16106           re-enable tests now that leaks are plugged
16107         * check/gst/gst.c:
16108         * check/gst/gstbin.c:
16109         * check/gst/gstpipeline.c:
16110           add some more tests while fixing leaks
16111         * common/check.mak:
16112           make sure binaries are uptodate when valgrinding/gdbing
16113         * gst/gst.c:
16114         * gst/gstelementfactory.c:
16115           remove a ref too many, and add a FIXME for when we get
16116           round to disposing of classes
16117         * gst/gstplugin.c:
16118           fix the refcounting when loading a plugin from a file and
16119           the code pretends that the pointer is the same even though
16120           of course it can change
16121         * gst/gstpluginfeature.c:
16122           unref plugins marked cached (a bit confusing as a name)
16123           as the docs state should be done
16124           various doc additions to explain refcounting
16125         * gst/gstregistry.c:
16126         * gst/gstregistryxml.c:
16127           debugging
16128
16129 2005-09-19  Wim Taymans  <wim@fluendo.com>
16130
16131         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16132         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
16133         (send_messages), (GST_START_TEST), (gstbus_suite):
16134         * check/gst/gstpipeline.c: (GST_START_TEST):
16135         * check/pipelines/cleanup.c: (run_pipeline):
16136         * check/pipelines/simple_launch_lines.c: (run_pipeline),
16137         (GST_START_TEST):
16138         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
16139         (gst_bus_source_check), (gst_bus_source_dispatch),
16140         (gst_bus_create_watch), (gst_bus_add_watch_full),
16141         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
16142         * gst/gstbus.h:
16143         * tools/gst-launch.c: (event_loop):
16144         * tools/gst-md5sum.c: (event_loop):
16145         GstBusHandler -> GstBusFunc, return value has the same meaning as
16146         any other GSource (FALSE == remove source).
16147         _add_watch() and _add_watch_full() now take a MessageType mask to
16148         only handle specific types of messages.
16149         _poll() returns the GstMessage instead of the message type to avoid
16150         race conditions.
16151         _have_pending() takes a MessageType mask now too.
16152         Added testsuite for multiple bus watches.
16153         Fix testsuites and applications for new bus API.
16154
16155 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16156
16157         * check/Makefile.am:
16158           mark a bunch of the tests as to fix until we fix them
16159
16160 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16161
16162         * common/check.mak:
16163           use GST_PLUGIN settings for valgrind tests as well, so we're
16164           valgrinding the correct thing
16165         * gst/gst.c: (init_post):
16166           plug another leak
16167
16168 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16169
16170         * gst/gst.c: (init_post), (gst_deinit):
16171         * gst/gstelementfactory.c: (gst_element_factory_class_init),
16172         (gst_element_factory_finalize), (gst_element_factory_cleanup):
16173         * gst/gstindex.c: (gst_index_factory_class_init),
16174         (gst_index_factory_finalize):
16175         * gst/gstobject.c: (gst_object_dispose):
16176         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16177         (gst_plugin_load_file), (gst_plugin_desc_free):
16178         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
16179         (gst_plugin_feature_finalize):
16180         * gst/gstregistry.c: (gst_registry_class_init),
16181         (gst_registry_init), (gst_registry_finalize),
16182         (gst_registry_get_default), (gst_registry_deinit):
16183         * gst/gstregistry.h:
16184         * gst/gstregistryxml.c: (load_feature), (load_plugin):
16185           various cleanups and memleak plugging.  make valgrind is happy now.
16186
16187 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16188
16189         * common/check.mak:
16190           add a check-valgrind target
16191
16192 2005-09-18  David Schleef  <ds@schleef.org>
16193
16194         * tools/gst-inspect.c: Revert the GOption code.
16195
16196 2005-09-17  David Schleef  <ds@schleef.org>
16197
16198         * check/Makefile.am: Fix environment variables.
16199         * check/gst/gstplugin.c: Fix for API changes.
16200         * tools/gst-inspect.c: Fix for API changes.
16201         * tools/gst-xmlinspect.c: Fix for API changes.
16202         * gst/gstelementfactory.c:
16203         * gst/gstplugin.c:
16204         * gst/gstplugin.h:
16205         * gst/gstpluginfeature.c:
16206         * gst/gstpluginfeature.h:
16207         * gst/gstregistry.c:
16208         * gst/gstregistry.h:
16209         * gst/gstregistryxml.c:
16210         * gst/gsttypefind.c:
16211         * gst/gsttypefindfactory.c:
16212         * gst/indexers/gstfileindex.c:
16213         * gst/indexers/gstmemindex.c:
16214         * gst/schedulers/Makefile.am:
16215           Change registry to keep track of both plugins and features,
16216           removing the feature tracking from plugins themselves.
16217
16218 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16219
16220         * check/Makefile.am:
16221         * tools/gst-register.1.in:
16222           remove gst-register
16223
16224 2005-09-15  David Schleef  <ds@schleef.org>
16225
16226         * check/gst/gstplugin.c:
16227         * gst/gstelementfactory.c:
16228         * gst/gstplugin.c:
16229         * gst/gstpluginfeature.c:
16230         * gst/gstregistry.c:
16231           Getting tired of debugging.  Disabled all the unreffing of
16232           plugins and features, which fixes the segfaults, but of
16233           course leaks like crazy.  At least playbin works.
16234
16235 2005-09-15  David Schleef  <ds@schleef.org>
16236
16237         * check/gst/gstplugin.c: (register_check_elements),
16238         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
16239         More testing
16240         * gst/elements/gsttypefindelement.c: Fix refcounting.
16241         * gst/gsttypefind.c:
16242         * gst/gsttypefindfactory.c:
16243         * gst/gsttypefindfactory.h:
16244
16245 2005-09-15  David Schleef  <ds@schleef.org>
16246
16247         * gst/gstindex.c: get refcounting correct.
16248         * gst/gstregistry.c: Handle the case where a feature/plugin is
16249           not found.
16250
16251 2005-09-15  David Schleef  <ds@schleef.org>
16252
16253         * check/Makefile.am:
16254         * check/gst/gstplugin.c: Add test
16255         * gst/gstplugin.c: Fix problems noticed by testsuite
16256         * gst/gstplugin.h:
16257         * gst/gstregistry.c: 
16258         * gst/gstregistry.h:
16259
16260 2005-09-15  David Schleef  <ds@schleef.org>
16261
16262         * gst/gstplugin.c: Implement semi-decent recounting and locking
16263           in plugins and plugin features.
16264         * gst/gstplugin.h:
16265         * gst/gstpluginfeature.c:
16266         * gst/gstpluginfeature.h:
16267         * gst/gstregistry.c:
16268
16269 2005-09-15  Michael Smith <msmith@fluendo.com>
16270
16271         * gst/gstregistry.c: (gst_registry_get_feature_list):
16272           Implement this. Makes oggdemux work; decodebin still broken.
16273
16274 2005-09-14  David Schleef  <ds@schleef.org>
16275
16276         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
16277           #316076)
16278         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
16279         * gst/check/Makefile.am:
16280         * libs/gst/controller/Makefile.am:
16281         * libs/gst/dataprotocol/Makefile.am:
16282
16283 2005-09-14  David Schleef  <ds@schleef.org>
16284
16285         * configure.ac: Remove getbits library.  Nothing uses it, and
16286           it should be in something like liboil if someone did want
16287           to use it.
16288         * libs/gst/Makefile.am:
16289         * libs/gst/getbits/Makefile.am:
16290         * libs/gst/getbits/gbtest.c:
16291         * libs/gst/getbits/getbits.c:
16292         * libs/gst/getbits/getbits.h:
16293         * libs/gst/getbits/gstgetbits_generic.c:
16294         * libs/gst/getbits/gstgetbits_i386.s:
16295         * libs/gst/getbits/gstgetbits_inl.h:
16296
16297 2005-09-14  David Schleef  <ds@schleef.org>
16298
16299         * gst/Makefile.am: Dist glib-compat.h
16300
16301 2005-09-14  David Schleef  <ds@schleef.org>
16302
16303         * configure.ac: Remove gst/registries, since it's no longer used.
16304         * gst/registries/Makefile.am:
16305         * gst/registries/gstlibxmlregistry.c:
16306         * gst/registries/gstlibxmlregistry.h:
16307         * gst/registries/gstxmlregistry.c:
16308         * gst/registries/gstxmlregistry.h:
16309         * gst/registries/registrytest.c:
16310
16311 2005-09-14  David Schleef  <ds@schleef.org>
16312
16313         * gst/glib-compat.h:
16314         * gst/gstregistryxml.c:
16315           Convergence is near.  Seriously.
16316
16317 2005-09-14  David Schleef  <ds@schleef.org>
16318
16319         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16320         * gst/glib-compat.h:
16321           Attempt #4 to appease the buildbots.
16322
16323 2005-09-14  David Schleef  <ds@schleef.org>
16324
16325         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16326           Attempt #3.
16327
16328 2005-09-14  David Schleef  <ds@schleef.org>
16329
16330         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16331         Attempt #2.
16332
16333 2005-09-14  David Schleef  <ds@schleef.org>
16334
16335         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
16336           the new functions.
16337
16338 2005-09-14  David Schleef  <ds@schleef.org>
16339
16340         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16341         * gst/glib-compat.h: Add some functions that are in newer versions
16342           of glib than we care to require.
16343         * gst/gstregistryxml.c: Use them.
16344
16345 2005-09-14  David Schleef  <ds@schleef.org>
16346
16347         * po/POTFILES.in: remove gst-register.c
16348
16349 2005-09-14  David Schleef  <ds@schleef.org>
16350
16351         * docs/gst/gstreamer-docs.sgml:
16352         * docs/gst/gstreamer-sections.txt:
16353         * docs/gst/gstreamer.types:
16354         * docs/gst/tmpl/gstelement.sgml:
16355         * docs/gst/tmpl/gstplugin.sgml:
16356         * docs/gst/tmpl/gstpluginfeature.sgml:
16357           Documentation updates for registry changes.
16358
16359 2005-09-14  David Schleef  <ds@schleef.org>
16360
16361         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
16362           because we don't require glib-2.8.
16363
16364 2005-09-14  David Schleef  <ds@schleef.org>
16365
16366         * gst/gstregistryxml.c: Added.  Essentially moved out of the
16367           registries directory.
16368
16369 2005-09-14  David Schleef  <ds@schleef.org>
16370
16371         * check/Makefile.am:
16372         * check/generic/states.c:
16373         * gst/Makefile.am:
16374         * gst/gst.c:
16375         * gst/gst.h:
16376         * gst/gst_private.h:
16377         * gst/gstelementfactory.c:
16378         * gst/gstindex.c:
16379         * gst/gstinfo.c:
16380         * gst/gstplugin.c:
16381         * gst/gstplugin.h:
16382         * gst/gstpluginfeature.c:
16383         * gst/gstpluginfeature.h:
16384         * gst/gstregistry.c:
16385         * gst/gstregistry.h:
16386         * gst/gstregistrypool.c: remove
16387         * gst/gstregistrypool.h: remove
16388         * gst/gsttypefind.c:
16389         * gst/gsttypefindfactory.c:
16390         * gst/gsturi.c:
16391         * tools/Makefile.am:
16392         * tools/gst-compprep.c:
16393         * tools/gst-inspect.c:
16394         * tools/gst-register.c: remove
16395         * tools/gst-xmlinspect.c:
16396           Registry rewrite.  Changes registry from being a file created
16397           by a tool into a simple cache file created automatically by 
16398           libgstreamer.  Removed gst-register (because it's no longer
16399           needed).  Remove registry pools, because we only have one
16400           registry implementation (XML).  Fix up other subsystems as
16401           necessary.
16402
16403 2005-09-13  Michael Smith <msmith@fluendo.com>
16404
16405         * gst/gstconfig.h.in:
16406           Don't Use windows linking attributes for MinGW. Fixes #316157
16407
16408 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16409
16410         * gst/gstutils.c: (set_state_async_thread_func),
16411         (gst_element_set_state_async):
16412           Apparently people think it's better if this function doesn't
16413           try to set the state to whatever state was asked for on the first
16414           call to this function for any object.  Seriously.
16415
16416 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16417
16418         * check/gst/gstpipeline.c: (GST_START_TEST):
16419         * docs/gst/gstreamer-sections.txt:
16420         * gst/gstutils.c: (set_state_async_thread_func),
16421         (gst_element_set_state_async):
16422         * gst/gstutils.h:
16423           add a "gst_element_set_state_async" method that
16424           sets the state and starts a thread to make sure the state
16425           change completes as best as it can
16426
16427 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16428
16429         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16430           codify design+behaviour in testsuite after discussion
16431
16432 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16433
16434         * docs/gst/tmpl/gstelement.sgml:
16435         * docs/manual/appendix-quotes.xml:
16436           add a quote
16437         * gst/gstelement.c: (gst_element_set_state):
16438           add some debug
16439
16440 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
16441
16442         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16443         (gst_base_transform_prepare_output_buf),
16444         (gst_base_transform_handle_buffer):
16445         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
16446         (gst_capsfilter_prepare_buf):
16447           Remove the requirement for sub-classes to call the parent
16448           implementation of prepare_output_buffer with a wrapper function.
16449           
16450         * gst/gsttaglist.h:
16451         * gst/gsttagsetter.h:
16452           Fix #define wrapper
16453
16454 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
16455
16456         * docs/gst/gstreamer-sections.txt:
16457           more doc cleanups
16458
16459 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16460
16461         * docs/gst/gstreamer-sections.txt:
16462         * docs/gst/tmpl/gstelement.sgml:
16463         * docs/gst/tmpl/gstplugin.sgml:
16464         * gst/gstminiobject.c:
16465         * gst/gstvalue.h:
16466           docs now stop throwing warnings
16467
16468 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16469
16470         * docs/gst/gstreamer-sections.txt:
16471         * docs/gst/gstreamer.types:
16472         * docs/gst/tmpl/gstpad.sgml:
16473         * docs/gst/tmpl/gsttypes.sgml:
16474         * gst/base/gstadapter.h:
16475         * gst/base/gstbasesink.h:
16476         * gst/base/gstbasesrc.h:
16477         * gst/gstbin.h:
16478         * gst/gstbuffer.h:
16479         * gst/gstbus.h:
16480         * gst/gstcaps.h:
16481         * gst/gstclock.h:
16482         * gst/gstelement.h:
16483         * gst/gstevent.h:
16484         * gst/gstmessage.h:
16485         * gst/gstpad.h:
16486         * gst/gststructure.c:
16487         * gst/registries/gstlibxmlregistry.h:
16488           various documentation fixes
16489
16490 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16491
16492         * docs/gst/gstreamer-sections.txt:
16493         * docs/gst/tmpl/gstvalue.sgml:
16494           rearrange gstvalue section
16495         * gst/gstutils.c: (gst_element_state_get_name):
16496           NONE -> VOID
16497         * gst/gstvalue.c: (_gst_value_initialize):
16498         * gst/gstvalue.h:
16499           doc updates
16500
16501 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
16502
16503         * check/gst-libs/controller.c:
16504           Header include fix.
16505         * gst/base/gstbasetransform.c:
16506         (gst_base_transform_default_prepare_buf),
16507         (gst_base_transform_handle_buffer):
16508         * gst/base/gstbasetransform.h:
16509           Some more basetransform changes and fixes to enable sub-classes
16510           that modify buffer metadata only.
16511         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
16512         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
16513         (gst_capsfilter_prepare_buf):
16514           If the output pad has fixed allowed caps and input buffers 
16515           don't have any, set the fixed caps on outgoing buffers.
16516
16517 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
16518         * check/elements/identity.c: (GST_START_TEST):
16519           Make the error a little clearer when the test fails because
16520           identity made a copy of the buffer.
16521         * docs/gst/gstreamer-sections.txt:
16522           New symbols in gstbasetransform.h
16523         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16524         (gst_base_transform_init), (gst_base_transform_transform_size),
16525         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16526         (gst_base_transform_default_prepare_buf),
16527         (gst_base_transform_get_unit_size),
16528         (gst_base_transform_buffer_alloc),
16529         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16530         (gst_base_transform_change_state),
16531         (gst_base_transform_set_passthrough),
16532         (gst_base_transform_set_in_place),
16533         (gst_base_transform_is_in_place):
16534         * gst/base/gstbasetransform.h:
16535           Change BaseTransform to separate in_place operate from same_caps
16536           output. in_place implies that the element can perform the transform
16537           on incoming buffers in-place, even if the caps on the output are
16538           different.
16539           Sub-class elements can now implement special buffer allocation
16540           methods for outgoing buffers if they wish to.
16541           Big documentation addition.
16542         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
16543         * gst/elements/gstelements.c:
16544           Changes for basetransform modifications.
16545         * gst/elements/Makefile.am:
16546         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
16547           Compile fix. Extra debug output.
16548
16549 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16550
16551         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
16552         (gst_pad_suite):
16553           add tests for valid pad naming
16554         * gst/check/gstcheck.c: (gst_check_log_message_func),
16555         (gst_check_log_critical_func):
16556           add ASSERT_WARNING
16557           remove printing of code, it is fragile when the code contains
16558           % and the line number is enough info
16559         * gst/check/gstcheck.h:
16560         * gst/gstpad.c: (gst_pad_template_new):
16561           fix memleaks
16562
16563 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16564
16565         * configure.ac:
16566           say what CHECK flags we use
16567         * docs/libs/gstreamer-libs.types:
16568         * libs/gst/controller/Makefile.am:
16569         * libs/gst/controller/gst-controller.c:
16570         * libs/gst/controller/gst-controller.h:
16571         * libs/gst/controller/gst-helper.c:
16572         * libs/gst/controller/gst-interpolation.c:
16573         * libs/gst/controller/gstcontroller.c:
16574         * libs/gst/controller/gsthelper.c:
16575         * libs/gst/controller/gstinterpolation.c:
16576         * tools/gst-inspect.c: (print_plugin_info):
16577           we don't use dashes in header names
16578
16579 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16580
16581         * check/Makefile.am:
16582         * check/gst/.cvsignore:
16583         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
16584         (gst_pipeline_suite), (main):
16585           adding a test for pipelines and state changes
16586         * gst/gstutils.c: (get_state_func):
16587           add some debugging
16588         * gstreamer.spec.in:
16589           fix up spec file
16590
16591 2005-09-08  Michael Smith <msmith@fluendo.com>
16592
16593         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
16594         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
16595         (gst_file_src_is_seekable), (gst_file_src_get_size),
16596         (gst_file_src_start):
16597         * gst/elements/gstfilesrc.h:
16598           Various fixes for unseekable, unmmapable, and non-normal files, so
16599           that fallback to read() rather than mmap() works.
16600         * gst/gstevent.c: (gst_event_new_newsegment):
16601           Allow newsegment events with segment_start == segment_end, as will
16602           correctly happen if you use filesrc on a zero-size file, for
16603           example.
16604
16605 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
16606
16607         * gst/gstplugin.c: (gst_plugin_load_file):
16608           Call g_module_close when we don't load the module
16609
16610         * gst/registries/gstlibxmlregistry.c:
16611         (gst_xml_registry_get_property):
16612           Port leak fix from 0.8
16613
16614 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
16615
16616         * docs/gst/gstreamer-docs.sgml:
16617         * docs/gst/tmpl/.cvsignore:
16618         * docs/gst/tmpl/gsttrace.sgml:
16619         * docs/gst/tmpl/gsttrashstack.sgml:
16620         * gst/Makefile.am:
16621         * gst/gst.h:
16622         * gst/gstelement.h:
16623         * gst/gstevent.h:
16624         * gst/gstmessage.c:
16625         * gst/gstmessage.h:
16626         * gst/gsttag.c:
16627         * gst/gsttag.h:
16628         * gst/gsttaginterface.c:
16629         * gst/gsttaginterface.h:
16630         * gst/gsttaglist.c:
16631         * gst/gsttaglist.h:
16632         * gst/gsttagsetter.c:
16633         * gst/gsttagsetter.h:
16634         * gst/gsttrace.c:
16635         * gst/gsttrace.h:
16636         * gst/gsttrashstack.c:
16637           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
16638           inlined docs for gsttrace, gsttrashstack
16639
16640 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
16641
16642         * gst/Makefile.am:
16643         * gst/elements/gstbufferstore.h:
16644         * gst/elements/gsttypefindelement.c:
16645         * gst/elements/gsttypefindelement.h:
16646         * gst/gst.h:
16647         * gst/gsttypefind.c:
16648         * gst/gsttypefind.h:
16649         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
16650         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
16651         (gst_type_find_factory_dispose),
16652         (gst_type_find_factory_unload_thyself),
16653         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
16654         (gst_type_find_factory_get_caps),
16655         (gst_type_find_factory_get_extensions),
16656         (gst_type_find_factory_call_function):
16657         * gst/gsttypefindfactory.h:
16658         * gst/registries/gstlibxmlregistry.c:
16659         * gst/registries/gstxmlregistry.c:
16660           splitted gsttypefind into gsttypefind, gsttypefindfactory
16661
16662 2005-09-07  Andy Wingo  <wingo@pobox.com>
16663
16664         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
16665         condition whereby the pad's task function is entered before the
16666         pad_mode variable was set.
16667
16668 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
16669
16670         * gst/gstpad.c: (gst_pad_alloc_buffer):
16671           Catch misbehaving pad_alloc functions that don't
16672           set up caps and do it for them.
16673
16674 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
16675
16676         * check/pipelines/simple_launch_lines.c: (run_pipeline):
16677           test for pipe!=NULL
16678         * docs/gst/tmpl/.cvsignore:
16679         * docs/gst/tmpl/gstmemchunk.sgml:
16680         * docs/gst/tmpl/gstparse.sgml:
16681         * docs/gst/tmpl/gsttaglist.sgml:
16682         * docs/gst/tmpl/gsttagsetter.sgml:
16683         * docs/gst/tmpl/gsttypefind.sgml:
16684         * docs/gst/tmpl/gsttypefindfactory.sgml:
16685         * gst/gstmemchunk.c:
16686         * gst/gstparse.c:
16687         * gst/gsttag.c:
16688         * gst/gsttaginterface.c:
16689         * gst/gsttypefind.c:
16690         * gst/gsttypefind.h:
16691           inlined more docs
16692
16693 === release 0.9.2 ===
16694
16695 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16696
16697         * NEWS:
16698         * RELEASE:
16699         * configure.ac:
16700           releasing 0.9.2, "South"
16701
16702 2005-09-05  Andy Wingo  <wingo@pobox.com>
16703
16704         * gst/registries/gstxmlregistry.h:
16705         * gst/registries/gstxmlregistry.c: Um... resurrect...
16706         
16707         * gst/registries/gstxmlregistry.h:
16708         * gst/registries/gstxmlregistry.c: and update to newer API.
16709         Incidentally they should be a bit faster now that they don't have
16710         to parse the caps.
16711         
16712 2005-09-05  Andy Wingo  <wingo@pobox.com>
16713
16714         * gst/registries/gstxmlregistry.h:
16715         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
16716         replaced by the libxml registry a while back
16717
16718 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16719
16720         * docs/gst/tmpl/gstplugin.sgml:
16721         * gst/elements/gstelements.c:
16722         * gst/gst.c:
16723         * gst/gstplugin.c: (gst_plugin_register_func),
16724         (gst_plugin_desc_copy), (gst_plugin_desc_free),
16725         (gst_plugin_get_source):
16726         * gst/gstplugin.h:
16727         * gst/registries/gstlibxmlregistry.c: (load_plugin),
16728         (gst_xml_registry_save_plugin):
16729         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
16730         (gst_xml_registry_save_plugin):
16731         * tools/gst-inspect.c: (print_plugin_info):
16732           add a "source" plugin description field, to represent the source
16733           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
16734           will set it to PACKAGE, which is automake's idea of the name of
16735           the source project.
16736
16737 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16738
16739         * Makefile.am:
16740         * autogen.sh:
16741         * configure.ac:
16742         * docs/Makefile.am:
16743         * docs/faq/Makefile.am:
16744         * docs/gst/tmpl/gstelement.sgml:
16745         * docs/gst/tmpl/gsttypes.sgml:
16746         * docs/htmlinstall.mak:
16747         * docs/manual/Makefile.am:
16748         * docs/pwg/Makefile.am:
16749           reorganize doc build a little
16750           split out docbook and gtk-doc stuff
16751           have two separate --enable's and enable them through autogen
16752           but disable by default in configure (to be similar to other
16753           projects)
16754         * gstreamer.spec.in:
16755           clean up docs install
16756         * po/af.po:
16757         * po/az.po:
16758         * po/ca.po:
16759         * po/cs.po:
16760         * po/de.po:
16761         * po/en_GB.po:
16762         * po/fr.po:
16763         * po/it.po:
16764         * po/nb.po:
16765         * po/nl.po:
16766         * po/ru.po:
16767         * po/sq.po:
16768         * po/sr.po:
16769         * po/sv.po:
16770         * po/tr.po:
16771         * po/uk.po:
16772         * po/vi.po:
16773           translation updates
16774
16775 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
16776
16777         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
16778           Add comment.
16779           
16780         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
16781         (gst_fake_sink_change_state):
16782           Make state change function thread-safe.
16783           
16784         * gst/gstpad.c: (gst_pad_alloc_buffer):
16785           Set offset on generic buffer allocated by fallback.
16786
16787 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
16788
16789         * docs/gst/gstreamer-sections.txt:
16790         * docs/gst/tmpl/gstelement.sgml:
16791         * gst/gstpad.c:
16792         * libs/gst/controller/gst-controller.c:
16793         (gst_controlled_property_set_interpolation_mode),
16794         (gst_controlled_property_new),
16795         (gst_controller_find_controlled_property):
16796          run the wingo-magic script against the docs
16797
16798 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
16799
16800         * docs/gst/gstreamer-docs.sgml:
16801         * docs/gst/gstreamer-sections.txt:
16802         * docs/gst/tmpl/.cvsignore:
16803         * docs/gst/tmpl/gstelementdetails.sgml:
16804         * docs/gst/tmpl/gstelementfactory.sgml:
16805         * gst/gst.c:
16806         * gst/gstbus.c:
16807         * gst/gstelementfactory.c:
16808         * gst/gstelementfactory.h:
16809           merged elementdetails docs into elementfactory docs
16810           inlined both
16811
16812 2005-09-02  Andy Wingo  <wingo@pobox.com>
16813
16814         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
16815         consider this enum an enum and not a flags.
16816
16817 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
16818
16819         * docs/gst/gstreamer-docs.sgml:
16820         * docs/gst/tmpl/.cvsignore:
16821         * docs/gst/tmpl/gstghostpad.sgml:
16822         * docs/gst/tmpl/gstiterator.sgml:
16823         * docs/gst/tmpl/gstmacros.sgml:
16824         * docs/gst/tmpl/gstrealpad.sgml:
16825         * docs/gst/tmpl/gstregistry.sgml:
16826         * docs/gst/tmpl/gstregistrypool.sgml:
16827         * docs/gst/tmpl/gststructure.sgml:
16828         * docs/gst/tmpl/gstsystemclock.sgml:
16829         * docs/gst/tmpl/gsttrace.sgml:
16830         * gst/gstghostpad.c:
16831         * gst/gstmacros.h:
16832         * gst/gstmemchunk.c:
16833         * gst/gstmemchunk.h:
16834         * gst/gstqueue.c:
16835         * gst/gstregistry.c:
16836         * gst/gstregistrypool.c:
16837         * gst/gststructure.c:
16838         * gst/gstsystemclock.c:
16839           more docs inlined
16840
16841 2005-09-02  Andy Wingo  <wingo@pobox.com>
16842
16843         * gst/gstelement.h (GstState): Renamed from GstElementState,
16844         changed to be a normal enum instead of flags.
16845         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
16846         munged to be GST_STATE_CHANGE_*.
16847         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
16848         work with the new state representation.
16849         (GstStateChange): New enumeration of possible state transitions.
16850         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
16851         (GstElementClass::change_state): Pass the GstStateChange along as
16852         an argument. Helps language bindings, so they don't have to use
16853         tricky lock-needing macros like GST_STATE_CHANGE ().
16854
16855         * scripts/update-states (file): New script. Run it on a file to
16856         update it for state naming and API changes. Updates files in
16857         place.
16858
16859         * All files updated for the new API.
16860
16861 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16862
16863         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
16864         * gst/gstutils.c: (gst_util_set_value_from_string),
16865         (gst_util_set_object_arg):
16866           fix a bunch of unchecked return values
16867         * tools/gst-complete.c: (main):
16868         * gstreamer.spec.in:
16869           clean up a little
16870
16871 2005-09-01  Wim Taymans  <wim@fluendo.com>
16872
16873         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16874         (gst_base_sink_event), (gst_base_sink_do_sync),
16875         (gst_base_sink_handle_event):
16876         * gst/base/gstbasesink.h:
16877         Handle newsegments more correctly.
16878
16879         * gst/gstbus.c:
16880         Fix docs.
16881
16882         * gst/gstevent.c: (gst_event_new_newsegment):
16883         A newsegment cannot have a start_time of -1
16884
16885 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
16886
16887         * win32/gstenumtypes.c:
16888         * win32/gstenumtypes.h:
16889           Update
16890
16891 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
16892
16893         * libs/gst/controller/gst-controller.c:
16894         (gst_controlled_property_set_interpolation_mode),
16895         (gst_controlled_property_new):
16896          fixed boolean again
16897
16898 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
16899
16900         * docs/faq/gst-uninstalled:
16901           add -good
16902         * gst/gstevent.c:
16903         * gst/gstevent.h:
16904           remove wrong docs
16905         * gst/gstutils.c: (gst_element_link_filtered):
16906         * gst/gstutils.h:
16907           add gst_element_link_filtered
16908
16909 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
16910
16911         * docs/gst/gstreamer-docs.sgml:
16912         * docs/gst/gstreamer-sections.txt:
16913         * docs/gst/tmpl/.cvsignore:
16914         * docs/gst/tmpl/gsterror.sgml:
16915         * docs/gst/tmpl/gstfilter.sgml:
16916         * docs/gst/tmpl/gsturihandler.sgml:
16917         * docs/gst/tmpl/gsturitype.sgml:
16918         * docs/gst/tmpl/gstutils.sgml:
16919         * docs/gst/tmpl/gstxml.sgml:
16920         * gst/gsterror.c:
16921         * gst/gsterror.h:
16922         * gst/gstfilter.c:
16923         * gst/gsturi.c:
16924         * gst/gsturitype.c:
16925         * gst/gstutils.c:
16926         * gst/gstxml.c:
16927           inlined more docs, fixed double id-ref
16928
16929 2005-08-31  Wim Taymans  <wim@fluendo.com>
16930
16931         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16932         (gst_base_transform_handle_buffer):
16933         Passthrough elements don't need the caps as they don't care.
16934
16935 2005-08-31  Wim Taymans  <wim@fluendo.com>
16936
16937         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16938         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
16939         Don't leak refcounts on buffers.
16940
16941 2005-08-31  Wim Taymans  <wim@fluendo.com>
16942
16943         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
16944         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
16945         (gst_base_transform_chain), (gst_base_transform_change_state):
16946         * gst/base/gstbasetransform.h:
16947         Handle the case where we are not negotiated more gracefully.
16948
16949 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
16950
16951         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
16952         (gst_file_src_map_region):
16953           Set READONLY flag on mmap'ed buffers, otherwise
16954           gst_buffer_make_writable() won't work properly (#314708).
16955
16956 2005-08-31  Wim Taymans  <wim@fluendo.com>
16957
16958         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
16959         passthrough elements can even do inplace on non writable
16960         buffers (as they don't touch them).
16961
16962 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
16963
16964         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
16965         (gst_test_mono_source_set_property),
16966         (gst_test_mono_source_class_init), (GST_START_TEST),
16967         (gst_controller_suite):
16968           more tests (hehe I have the most)
16969         * gst/gstbus.c:
16970           describe popping messages whenusing mulltiple sources
16971         * libs/gst/controller/gst-controller.c:
16972         (gst_controlled_property_set_interpolation_mode),
16973         (gst_controlled_property_new):
16974         * libs/gst/controller/gst-controller.h:
16975         * libs/gst/controller/gst-interpolation.c:
16976           implement boolean properties
16977
16978 2005-08-31  Wim Taymans  <wim@fluendo.com>
16979
16980         * gst/gstminiobject.c: (gst_mini_object_ref):
16981         Cannot assert that the refcount has to be positive
16982         since a disposed object can be resurrected.
16983
16984 2005-08-31  Wim Taymans  <wim@fluendo.com>
16985
16986         * gst/gstpad.c: (gst_pad_init):
16987         Revert change, need to first fix badly behaving 
16988         apps.
16989
16990 2005-08-30  Wim Taymans  <wim@fluendo.com>
16991
16992         * check/elements/fakesrc.c: (setup_fakesrc):
16993         * check/elements/identity.c: (setup_identity):
16994         Activate pads before using them.
16995
16996 2005-08-30  Wim Taymans  <wim@fluendo.com>
16997
16998         * gst/base/gstadapter.c: (gst_adapter_flush):
16999         Flushing out 0 bytes is ok for this function.
17000
17001         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17002         no newsegment gives a warning and sets the start/stop to 
17003         invalid.
17004
17005         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
17006         (gst_base_transform_set_passthrough):
17007         Some debug info.
17008
17009         * gst/gstminiobject.c: (gst_mini_object_ref):
17010         Check refcount here too.
17011
17012         * gst/gstpad.c: (gst_pad_init):
17013         Pads are initially flushing and refusing data.
17014
17015         * gst/gstutils.c: (gst_element_link_pads_filtered):
17016         When adding a capsfilter element make sure it has the
17017         same state as the parent bin.
17018
17019 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
17020
17021         * docs/gst/tmpl/.cvsignore:
17022         * docs/gst/tmpl/gstformat.sgml:
17023         * docs/gst/tmpl/gstversion.sgml:
17024         * gst/gstbus.h:
17025         * gst/gstformat.c:
17026         * gst/gstformat.h:
17027         * gst/gstversion.h.in:
17028           more docs and two more inlined
17029
17030 2005-08-30  Wim Taymans  <wim@fluendo.com>
17031
17032         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
17033         Don't sync to clock.
17034
17035 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
17036
17037         * docs/gst/gstreamer-sections.txt:
17038           ultral33t func10ns deserve to appear in the docs actually
17039         * docs/gst/tmpl/.cvsignore:
17040         * docs/gst/tmpl/gstcompat.sgml:
17041         * docs/gst/tmpl/gstconfig.sgml:
17042         * gst/check/gstcheck.c:
17043         * gst/gstcompat.h:
17044         * gst/gstconfig.h.in:
17045           inlined more docs
17046
17047 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
17048
17049         * docs/gst/tmpl/.cvsignore:
17050         * docs/gst/tmpl/gstquery.sgml:
17051         * docs/gst/tmpl/gstutils.sgml:
17052         * gst/gstquery.c:
17053         * gst/gstquery.h:
17054           inlined and extended docs
17055
17056 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
17057
17058         * check/gst-libs/controller.c: (GST_START_TEST),
17059         (gst_controller_suite):
17060           more tests
17061         * docs/gst/tmpl/gstutils.sgml:
17062         * docs/libs/gstreamer-libs-sections.txt:
17063         * docs/libs/tmpl/gstdataprotocol.sgml:
17064           include path fixes
17065         * examples/controller/audio-example.c: (main):
17066           controller example works now
17067         * gst/gstclock.h:
17068           doc fixes
17069         * tools/gst-inspect.c: (print_element_properties_info):
17070           show param spec flags
17071
17072 2005-08-29  Andy Wingo  <wingo@pobox.com>
17073
17074         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
17075
17076 2005-08-28  Andy Wingo  <wingo@pobox.com>
17077
17078         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
17079         as having two arguments instead of just one. Allows superclasses
17080         to access information on subclasses -- see the terrible for() loop
17081         in gtype.c:g_type_create_instance for the reason why. All callers
17082         changed.
17083
17084 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
17085
17086         * docs/design/part-messages.txt:
17087           update info
17088         * docs/gst/tmpl/.cvsignore:
17089         * docs/gst/tmpl/gstcaps.sgml:
17090         * docs/gst/tmpl/gstclock.sgml:
17091         * gst/gstbus.c:
17092         * gst/gstcaps.c:
17093         * gst/gstcaps.h:
17094         * gst/gstclock.c:
17095         * gst/gstclock.h:
17096         * gst/gstmessage.c:
17097           added descriptions for bus and message
17098           inline caps and clock docs
17099
17100 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
17101
17102         * gst/gstmessage.c:
17103         * gst/gstmessage.h:
17104           doc fixes
17105
17106 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
17107
17108         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
17109           fix div-by-zero
17110
17111 2005-08-26  Andy Wingo  <wingo@pobox.com>
17112
17113         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
17114         element_set_state's return val.
17115         (test_2_elements): Add test that's been disabled for months.
17116
17117         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
17118         can-activate-pull properties.
17119
17120         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
17121         can-activate-pull properties. Implement is_seekable so fakesrc can
17122         operate in pull mode.
17123
17124         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
17125         properties.
17126         (gst_base_sink_activate, gst_base_sink_activate_pull)
17127         (gst_base_sink_activate_push): Make activation mode choosing work.
17128         Cleanups.
17129         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
17130         is right. Make pull mode work. Post an eos before pausing in pull
17131         mode.
17132         (gst_base_sink_change_state): Pay attention to the core's
17133         change_state() return val.
17134         
17135         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
17136         has-getrange properties. Cleanups.
17137         
17138         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
17139         has_getrange and replace with can_activate_pull and
17140         can_activate_push.
17141
17142         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
17143         locking comments. Remove has_loop, has_chain and replace with
17144         can_activate_pull and can_activate_push.
17145
17146 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
17147
17148         * configure.ac:
17149         * examples/Makefile.am:
17150         * examples/metadata/Makefile.am:
17151         * examples/metadata/read-metadata.c: (message_loop),
17152         (have_pad_handler), (make_pipeline), (print_tag), (main):
17153           Add metadata reading example that loops over a list of filenames,
17154           dumping any tags found.
17155
17156         * gst/gstbus.c: (gst_bus_dispose):
17157         * gst/gstelement.c: (gst_element_dispose):
17158           Release a few potentially-held references in dispose.
17159
17160 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
17161
17162         * docs/gst/tmpl/gstminiobject.sgml:
17163           do *not* add tmpl/*.sgml files to CVS!
17164
17165 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
17166
17167         * libs/gst/bytestream/.cvsignore:
17168         * libs/gst/bytestream/Makefile.am:
17169         * libs/gst/bytestream/adapter.c:
17170         * libs/gst/bytestream/adapter.h:
17171         * libs/gst/bytestream/bytestream.c:
17172         * libs/gst/bytestream/bytestream.h:
17173         * libs/gst/bytestream/filepad.c:
17174         * libs/gst/bytestream/filepad.h:
17175           removing obsolete files
17176
17177 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
17178
17179         * docs/gst/gstreamer-docs.sgml:
17180         * docs/libs/gstreamer-libs-docs.sgml:
17181           disabed additional index entries again, as this makes docs-gen just
17182           slow and they aren't useful yet
17183         * docs/libs/gstreamer-libs-sections.txt:
17184           little -section.txt cleanup for libs
17185
17186 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
17187
17188         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17189         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
17190           fix up some debugging
17191         (gst_base_transform_get_unit_size),
17192         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
17193         (gst_base_transform_handle_buffer):
17194         * gst/base/gstbasetransform.h:
17195           handle and store timed NEWSEGMENT events so that subclasses that
17196           calculate time by counting samples have a segment_start time they
17197           need to add to their timestamps - see audioresample
17198
17199 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
17200
17201         * gst/gstbin.h:
17202           removed ';' from the end of macro defs
17203         * docs/gst/gstreamer-docs.sgml:
17204         * docs/gst/gstreamer-sections.txt:
17205         * docs/gst/tmpl/.cvsignore:
17206         * gst/gstbus.h:
17207         * gst/gstelement.c: (gst_element_class_init),
17208         (gst_element_set_state), (activate_pads),
17209         (gst_element_save_thyself):
17210         * gst/gstevent.c: (gst_event_new_newsegment):
17211         * gst/gstevent.h:
17212         * gst/gstiterator.c:
17213         * gst/gstiterator.h:
17214         * gst/gstpad.c:
17215         * gst/gstprobe.h:
17216         * gst/gstutils.c: (gst_pad_query_convert):
17217         * gst/gstutils.h:
17218           fixed parameter name mismatches between source, header and docs
17219           added some more docs, resolved the last batch of unused elements in
17220           docs (now someone needs to doc them)
17221
17222 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
17223
17224         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
17225         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
17226           don't walk through the plugins backwards.  Where is all this
17227           reversed logic coming from ?
17228
17229 2005-08-25  Wim Taymans  <wim@fluendo.com>
17230
17231         * gst/base/gstbasetransform.c: (gst_base_transform_init),
17232         (gst_base_transform_transform_size),
17233         (gst_base_transform_configure_caps),
17234         (gst_base_transform_get_unit_size),
17235         (gst_base_transform_buffer_alloc),
17236         (gst_base_transform_change_state):
17237         * gst/base/gstbasetransform.h:
17238         Cache caps unit_size.
17239         Make sure we cannot negotiate up and downstream at the
17240         same time.
17241
17242 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
17243
17244         * gst/gst.c: (init_pre), (init_post):
17245           register the installed plugin path after the env var
17246         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
17247         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
17248           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
17249           directories, so the tests can prefer uninstalled over installed
17250
17251 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
17252
17253         * gst/base/gstbasetransform.h:
17254           comment
17255         * gst/gstpad.c:
17256           add to docs
17257
17258 2005-08-25  Wim Taymans  <wim@fluendo.com>
17259
17260         * gst/gstbin.c: (bin_bus_handler):
17261         Be a bit more conservative about the posted message.
17262         
17263         * gst/gstbus.c: (gst_bus_post):
17264         Some cleanups, warn wrong return values.
17265
17266 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
17267
17268         * check/gst/gstbin.c: (GST_START_TEST):
17269         * gst/gstbin.c: (bin_bus_handler):
17270         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17271         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17272         (gst_message_new_warning), (gst_message_new_tag),
17273         (gst_message_new_state_changed), (gst_message_new_segment_start),
17274         (gst_message_new_segment_done), (gst_message_new_custom):
17275         * gst/gstmessage.h:
17276         * tools/gst-launch.c: (event_loop):
17277         * tools/gst-md5sum.c: (event_loop):
17278           Revert unpopular change for GST_MESSAGE_SRC to GObject.
17279
17280 2005-08-25  Wim Taymans  <wim@fluendo.com>
17281
17282         * check/generic/states.c: (GST_START_TEST):
17283         Cleanup can be done at the end.
17284
17285         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
17286         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17287         (gst_task_get_state), (gst_task_start), (gst_task_pause):
17288         Oh boy.. Thanks for finding this, Thomas. 
17289
17290 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
17291
17292         * docs/gst/gstreamer.types:
17293           added missing types
17294
17295 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
17296
17297         * docs/gst/gstreamer-docs.sgml:
17298         * docs/gst/gstreamer-sections.txt:
17299         * docs/gst/tmpl/.cvsignore:
17300         * gst/gstbin.c:
17301         * gst/gstiterator.c:
17302         * gst/gstutils.c:
17303         * gst/registries/gstxmlregistry.h:
17304           added missing classes and symbols (123 more to go)
17305           removed removed symbols from section file
17306           fixed many doc-comments
17307
17308 2005-08-24  Wim Taymans  <wim@fluendo.com>
17309
17310         * check/generic/states.c: (GST_START_TEST):
17311         Make sure all tasks are stopped.
17312
17313         * check/gst/gstbin.c: (GST_START_TEST):
17314         Unref after usage for proper valgrinding.
17315
17316         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
17317         Really wait for the task to stop before destroying the
17318         mutex.
17319
17320         * gst/gstqueue.c: (gst_queue_sink_activate_push),
17321         (gst_queue_src_activate_push):
17322         Small cleanups. Don't stop the task when we did not start
17323         it.
17324
17325         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
17326         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17327         (gst_task_get_state), (gst_task_start), (gst_task_pause),
17328         (gst_task_join):
17329         * gst/gsttask.h:
17330         Protect the stream lock with the object lock.
17331         Disallow setting the stream lock when running.
17332         Add cleanup_all to wait for the threadpool to finish.
17333         Remove code to autoallocate a mutex if none was provided.
17334         Add _join() to wait for a task to stop.
17335         Protect the thread pool with a global lock.
17336
17337 2005-08-24  Wim Taymans  <wim@fluendo.com>
17338
17339         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17340         (gst_base_sink_get_times), (gst_base_sink_do_sync),
17341         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
17342         * gst/base/gstbasesink.h:
17343         Handle newsegment events correctly.
17344         Drop buffers out of the segment range.
17345
17346 2005-08-22  Andy Wingo  <wingo@pobox.com>
17347
17348         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
17349         macro, implements an interface and gstimplementsinterface for a
17350         new type.
17351
17352 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17353
17354         * check/Makefile.am:
17355         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
17356           add a test that does a bunch of state changes on elements
17357           needs some fixing for valgrind
17358         * check/states/sinks.c: (gst_object_suite):
17359           whitespace
17360         * gst/gstcaps.h:
17361           add prototype for gst_caps_is_equal_fixed
17362         * gst/gstplugin.c:
17363         * gst/gstregistrypool.c:
17364           doc fixes
17365
17366 2005-08-24  Andy Wingo  <wingo@pobox.com>
17367
17368         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
17369         convert a negative value. Doesn't make much sense. Mostly this is
17370         here to force callers to ensure -1 maps to -1.
17371
17372 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
17373
17374         * docs/pwg/advanced-types.xml:
17375           Well done to Michael for catching my deliberate introduction
17376           of this spelling mistake. 
17377         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
17378         * gst/gstelement.h:
17379           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
17380           unlink pads before removing the element from the bin.
17381
17382 2005-08-24  Andy Wingo  <wingo@pobox.com>
17383
17384         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
17385         the same thing as GST_DEBUG=*:4.
17386         (parse_debug_level, parse_debug_category): New helper parsers.
17387
17388 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17389
17390         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17391         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
17392         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
17393         (gst_base_transform_buffer_alloc),
17394         (gst_base_transform_handle_buffer):
17395           use gboolean return values and pointers to size so we can use the
17396           full GST_BUFFER_SIZE range (guint) for buffer sizes
17397           use GstPadDirection for transform_caps
17398         * gst/base/gstbasetransform.h:
17399           rename get_size to get_unit_size since that's what it is
17400         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
17401           use GstPadDirection for transform_caps
17402         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17403         * gst/gstutils.h:
17404           cleanup and debugging
17405
17406 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
17407
17408         * gst/gstelement.c: (gst_element_class_init),
17409         (gst_element_set_state), (activate_pads),
17410         (gst_element_save_thyself):
17411         * tools/gst-compprep.c: (main):
17412         * tools/gst-inspect.c: (print_element_properties_info):
17413         * tools/gst-xmlinspect.c: (print_element_properties):
17414           Fixed long standing mem-leak
17415
17416 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
17417
17418         * check/gst/gstbin.c: (GST_START_TEST):
17419         * gst/gstbin.c: (bin_bus_handler):
17420         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17421         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17422         (gst_message_new_warning), (gst_message_new_tag),
17423         (gst_message_new_state_changed), (gst_message_new_segment_start),
17424         (gst_message_new_segment_done), (gst_message_new_custom):
17425         * gst/gstmessage.h:
17426         * tools/gst-launch.c: (event_loop):
17427         * tools/gst-md5sum.c: (event_loop):
17428           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
17429           that applications can sensibly post custom messages with references
17430           to their own objects.
17431
17432 2005-08-24  Andy Wingo  <wingo@pobox.com>
17433
17434         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
17435         already.
17436
17437 2005-08-24  Wim Taymans  <wim@fluendo.com>
17438
17439         * gst/base/gstbasetransform.c: (gst_base_transform_init),
17440         (gst_base_transform_transform_caps),
17441         (gst_base_transform_transform_size),
17442         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
17443         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
17444         (gst_base_transform_handle_buffer):
17445         * gst/base/gstbasetransform.h:
17446         Many fixes and new features added by Thomas. Can now also do
17447         transforms with variable sizes and a custom fixate_caps function.
17448
17449 2005-08-24  Wim Taymans  <wim@fluendo.com>
17450
17451         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17452         Some debugging.
17453
17454         * gst/gstclock.h:
17455         Cast to ClockTime before formatting to time.
17456
17457         * gst/gstutils.h:
17458         Cleanups.
17459
17460 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
17461
17462         * check/gst-libs/controller.c: (GST_START_TEST),
17463         (gst_controller_suite):
17464         * docs/gst/tmpl/gstcaps.sgml:
17465         * docs/gst/tmpl/gstghostpad.sgml:
17466         * docs/gst/tmpl/gstquery.sgml:
17467         * docs/gst/tmpl/gstutils.sgml:
17468         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
17469         (gst_object_sink_values), (gst_object_get_value_arrays),
17470         (gst_object_get_value_array):
17471           gracefully handle helper method calls to objects that are not beeing
17472           controlled, added test case for that          
17473
17474 2005-08-23  Wim Taymans  <wim@fluendo.com>
17475
17476         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
17477         (gst_event_new_newsegment), (gst_event_parse_newsegment),
17478         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
17479         (gst_event_parse_qos), (gst_event_new_seek),
17480         (gst_event_parse_seek):
17481         * gst/gstevent.h:
17482         Some more debugging output and doc cleanups.
17483
17484         * gst/gstqueue.c: (gst_queue_handle_sink_event):
17485         Fix possible deadlock.
17486
17487 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17488
17489         * docs/gst/gstreamer-docs.sgml:
17490         * docs/gst/gstreamer-sections.txt:
17491         * docs/gst/gstreamer.types:
17492         * docs/gst/tmpl/.cvsignore:
17493         * gst/gstbin.h:
17494         * gst/gstbus.c:
17495         * gst/gstelement.c:
17496         * gst/gstevent.h:
17497           added 100 symbols from gstreamer-unused.txt to the right sections
17498           fixed more broken comments
17499           added GstBus to docs
17500
17501 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17502
17503         * docs/gst/gstreamer-sections.txt:
17504         * docs/gst/tmpl/.cvsignore:
17505         * docs/gst/tmpl/gstbin.sgml:
17506         * docs/gst/tmpl/gstbuffer.sgml:
17507         * gst/base/gstbasesrc.c:
17508         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
17509         * gst/gstbuffer.c:
17510         * gst/gstbuffer.h:
17511         * tools/gst-launch.1.in:
17512           inlined more doc comments, added missing comments and fixed comments
17513           fixed typos
17514
17515 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17516
17517         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17518           some debugging
17519         * gst/gstcaps.h:
17520           whitespace fixes
17521         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
17522           more debugging
17523         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
17524         * gst/gststructure.h:
17525           add a fixate function for booleans; add a FIXME that these func
17526           names should probably be gst_structure_fixate_*
17527
17528 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17529
17530         * docs/gst/gstreamer-docs.sgml:
17531         * docs/gst/gstreamer-sections.txt:
17532         * gst/Makefile.am:
17533         * gst/gstbin.c: (gst_bin_get_type),
17534         (gst_bin_child_proxy_get_child_by_index),
17535         (gst_bin_child_proxy_get_children_count),
17536         (gst_bin_child_proxy_init):
17537         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17538         (gst_child_proxy_get_child_by_index),
17539         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
17540         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
17541         (gst_child_proxy_get), (gst_child_proxy_set_property),
17542         (gst_child_proxy_set_valist), (gst_child_proxy_set),
17543         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
17544         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
17545         * gst/gstchildproxy.h:
17546         * gst/parse/grammar.y:
17547         * tools/gst-inspect.c: (print_interfaces),
17548         (print_element_properties_info), (print_element_info):
17549           ported gstchildproxy over from 0.8
17550           ported gst-inspect fixes and enhancements over from 0.8
17551
17552 2005-08-22  Wim Taymans  <wim@fluendo.com>
17553
17554         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17555         (gst_base_transform_handle_buffer):
17556         Also call the transform function if we have ANY caps.
17557
17558         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
17559         Fix debug info.
17560
17561 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
17562
17563         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
17564           Don't pretend to handle seek events if the source is not seekable
17565
17566 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
17567
17568         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17569           Remove extra parameter to debug output
17570
17571         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17572         (gst_base_src_do_seek), (gst_base_src_activate_push):
17573           Fix seek event handling.
17574
17575         * gst/gstpipeline.c: (gst_pipeline_change_state):
17576         * gst/gstqueue.c: (gst_queue_handle_sink_event),
17577         (gst_queue_src_activate_push):
17578           Don't start the src pad task on FLUSH_STOP if the pad
17579           isn't linked.
17580           Debug changes.
17581
17582 2005-08-22  Wim Taymans  <wim@fluendo.com>
17583
17584         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
17585         Added check for gst_static_caps_get() refcounting.
17586
17587 2005-08-22  Wim Taymans  <wim@fluendo.com>
17588
17589         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
17590         Make _static_caps_get() refcounting sane.
17591         
17592         * gst/gstelement.c: (gst_element_set_state):
17593         Add g_return_val_if_fail() to protect against segfaults.
17594
17595 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
17596
17597         * docs/gst/tmpl/gstevent.sgml:
17598         * gst/gstevent.c:
17599         * gst/gstevent.h:
17600           inlined remaining docs, added missing doc comments
17601
17602 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17603
17604         * check/gst/gstbin.c: (GST_START_TEST):
17605           since we don't know when preroll is done, use refcount range
17606           check for the sink
17607         * gst/check/gstcheck.h:
17608           add macro for checking refcount range
17609
17610 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17611
17612         * check/Makefile.am:
17613           clean up environment for when registry gets built versus
17614           when actual tests are run; valgrind seems to not report
17615           leaks if GST_PLUGIN_PATH is set to some specific values
17616         * check/gst/gstbin.c: (GST_START_TEST):
17617           add more refcounting checks; maybe this exposes a
17618           preroll lock bug ?
17619         * common/check.mak:
17620         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17621         * gst/check/gstcheck.h:
17622         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
17623         (gst_bin_change_state):
17624         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
17625           add/fix debugging/whitespace
17626
17627 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
17628
17629         * check/gst/gstevent.c: (event_probe), (test_event),
17630         (GST_START_TEST):
17631          Er, don't call gst_bin_watch_for_state_change you idiot.
17632
17633 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
17634
17635         * check/Makefile.am:
17636           Use CHECK_CFLAGS and CHECK_LIBS
17637         * check/gst/gstevent.c: (event_probe), (test_event),
17638         (GST_START_TEST):
17639           Don't leak events.
17640         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17641         (gst_base_src_start), (gst_base_src_stop),
17642         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17643         (gst_base_src_change_state):
17644           Sprinkle gst_base_src_stop liberally around error paths to fix
17645           problems reusing a source after failed state changes.
17646         * gst/base/gsttypefindhelper.c: (helper_find_peek),
17647         (helper_find_suggest), (gst_type_find_helper):
17648           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
17649         * gst/gstevent.h:
17650         * docs/gst/tmpl/gstevent.sgml:
17651           Migrate part of the docs from the SGML file. Wait for ensonic to
17652           tell me how I did it wrong ;)
17653         * tools/gst-typefind.c: (main):
17654           Extra robustness to state changes between files.
17655
17656 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17657
17658         * check/Makefile.am:
17659           don't valgrind the controller test - it's leaking - Stefan, HELP
17660         * gst/check/gstcheck.c: (gst_check_message_error),
17661         (gst_check_chain_func), (gst_check_setup_element),
17662         (gst_check_teardown_element), (gst_check_setup_src_pad),
17663         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
17664         (gst_check_teardown_sink_pad):
17665         * gst/check/gstcheck.h:
17666           add a bunch of methods to set up elements, and src and sink pads
17667         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
17668         * check/elements/identity.c: (setup_identity), (cleanup_identity),
17669         (GST_START_TEST):
17670           use them
17671         * gst/gstmessage.c:
17672         * gst/gsttag.h:
17673           whitespace/doc fixes
17674
17675 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17676
17677         * gst/gstelement.h:
17678           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
17679           be handled by the application and not always printed as well
17680
17681 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17682
17683         * check/Makefile.am:
17684           set GST_TOOLS_DIR
17685         * gst/check/gstcheck.c: (gst_check_message_error):
17686         * gst/check/gstcheck.h:
17687           add a fail_unless_equals_int
17688           add fail_unless for error messages
17689
17690 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17691
17692         * check/Makefile.am:
17693         * check/gst.supp:
17694         * common/Makefile.am:
17695         * common/check.mak:
17696         * common/gst.supp:
17697           factor out some of the common stuff so we can use it
17698
17699 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17700
17701         * check/Makefile.am:
17702         * check/gst/gstiterator.c: (GST_START_TEST):
17703         * check/gst/gstsystemclock.c: (GST_START_TEST),
17704         (gst_systemclock_suite):
17705         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
17706         * gst/gstclock.c:
17707           valgrind more tests
17708
17709 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17710
17711         * check/elements/.cvsignore:
17712         * check/elements/gstfakesrc.c:
17713           rename to name of element
17714         * check/elements/identity.c: (chain_func), (event_func),
17715         (setup_identity), (cleanup_identity), (GST_START_TEST),
17716         (identity_suite), (main):
17717           add a test for identity
17718         * check/Makefile.am:
17719         * pkgconfig/Makefile.am:
17720         * pkgconfig/gstreamer-check.pc.in:
17721         * pkgconfig/gstreamer-check-uninstalled.pc.in:
17722         * gst/check:
17723         * gst/Makefile.am:
17724         * configure.ac:
17725           move the check stuff to a library that gets installed
17726         * check/gst-libs/controller.c: (GST_START_TEST):
17727         * check/gst-libs/gdp.c:
17728         * check/gst/gst.c: (GST_START_TEST):
17729         * check/gst/gstbin.c:
17730         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17731         * check/gst/gstbus.c:
17732         * check/gst/gstcaps.c: (GST_START_TEST):
17733         * check/gst/gstelement.c:
17734         * check/gst/gstghostpad.c:
17735         * check/gst/gstiterator.c:
17736         * check/gst/gstmessage.c:
17737         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
17738         * check/gst/gstobject.c:
17739         * check/gst/gstpad.c: (GST_START_TEST):
17740         * check/gst/gststructure.c: (GST_START_TEST):
17741         * check/gst/gstsystemclock.c: (GST_START_TEST),
17742         (gst_systemclock_suite):
17743         * check/gst/gsttag.c: (gst_tag_suite):
17744         * check/gst/gstvalue.c:
17745         * check/pipelines/cleanup.c:
17746         * check/pipelines/simple_launch_lines.c:
17747         * check/states/sinks.c:
17748           change include statement
17749
17750         * docs/gst/gstreamer-sections.txt:
17751         * docs/gst/tmpl/gstpad.sgml:
17752           document more pad stuff
17753         * gst/gstminiobject.c: (gst_mini_object_ref),
17754         (gst_mini_object_unref):
17755           debug refcounting
17756
17757 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
17758
17759         * docs/gst/tmpl/gst.sgml:
17760         * gst/gst.c:
17761           eliminate another tmpl file, fix spelling in the long-description
17762
17763 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17764
17765         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17766         (test_event), (timediff), (gstevents_suite):
17767           Should fix build on 64-bit arch's
17768
17769 2005-08-18  Andy Wingo  <wingo@pobox.com>
17770
17771         Make sure that when a pipeline goes to PLAYING, that data has
17772         actually hit the sink.
17773
17774         * check/states/sinks.c (test_sink): A sink that doesn't get any
17775         data shouldn't return SUCCESS for going to either PLAYING or
17776         PAUSED. Test also the return values on the way back down.
17777
17778         * gst/gstelement.c (gst_element_set_state): When changing the
17779         state of an element currently changing state asynchronously, go to
17780         lost-state after commiting the pending state. Makes future calls
17781         to get_state continue to return ASYNC.
17782
17783         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
17784         ASYNC when going to PLAYING if we still don't have preroll, as can
17785         happen with live sources.
17786
17787 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17788
17789         * docs/pwg/advanced-types.xml:
17790           Hack long paragraph into 2 chunks as a workaround for buggy
17791           jadetex version in sid and breezy that loops infinitely and
17792           eats all RAM.
17793
17794 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17795
17796         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17797         (test_event), (timediff), (gstevents_suite):
17798           Provide more error margin in clock measurements to allow for 
17799           g_get_current_time inaccuracies.
17800
17801 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17802
17803         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17804         (test_event), (timediff), (gstevents_suite):
17805            Fix error message output so I might be able to tell why the
17806            test works here but fails on the build farm.
17807
17808 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17809
17810         * check/Makefile.am:
17811         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17812         (test_event), (timediff), (gstevents_suite), (main):
17813           I wrote a test!
17814
17815         * docs/design/part-seeking.txt:
17816           Spelling correction
17817
17818         * docs/gst/tmpl/gstevent.sgml:
17819         * docs/gst/tmpl/gstfakesrc.sgml:
17820           Docs updates.
17821
17822         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17823           Treat a buffer-without-newsegment the same as a receiving 
17824           a newsegment not in time format, and disable syncing to the clock
17825           with a warning.
17826
17827         * gst/gstbus.c: (gst_bus_set_sync_handler):
17828           Assert if anyone tries to replace the existing sync_handler for bus, 
17829           as only the owner should be setting it.
17830
17831         * gst/gstevent.h:
17832           Have a fixed set of custom event enums with events identified by
17833           their structure name (as in 0.8), rather than a free-for-all
17834           allowing collisions between enum values from different plugins.
17835
17836         * gst/gstpad.c: (gst_pad_class_init):
17837           Docs change.
17838           
17839         * gst/gstqueue.c: (gst_queue_handle_sink_event):
17840           Handle out-of-band downstream events from the sending thread.
17841
17842 2005-08-17  Andy Wingo  <wingo@pobox.com>
17843
17844         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
17845         play-timeout==0 to mean no timeout at all. In that case, don't
17846         bother with a get_state or a warning, just return directly, even
17847         if it's ASYNC.
17848
17849         * gst/base/gstbasetransform.c: Debug changes.
17850
17851         * gst/gstutils.h:
17852         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
17853         ensure bins post state change messages. A bit of a hack but I can't
17854         think of a way to avoid it.
17855
17856         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
17857
17858 2005-08-16  Andy Wingo  <wingo@pobox.com>
17859
17860         * gst/base/gstadapter.h:
17861         * gst/base/gstadapter.c (gst_adapter_take): New function, like
17862         peek() but you own the data. Not terribly efficient atm.
17863
17864 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17865
17866         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
17867         (gst_element_found_tags):
17868         * gst/gstutils.h:
17869           Add two utility functions for tag handling.
17870
17871 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17872
17873         * docs/manual/advanced-dataaccess.xml:
17874         * docs/manual/basics-helloworld.xml:
17875           Fix docs to use _bin_add() before _link(), which fixes the examples
17876           with recent core versions (reported by Madhan Raj M
17877           <raj_madan@rediffmail.com>, #313199).
17878
17879 2005-08-16  Wim Taymans  <wim@fluendo.com>
17880
17881         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
17882         Added subtract checks.
17883
17884         * docs/design/part-events.txt:
17885         Some more docs about newsegment
17886
17887         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
17888         Fix FIXME
17889
17890         * gst/gstcaps.c: (gst_caps_to_string):
17891         Add comments, cleanups.
17892         
17893         * gst/gstelement.c: (gst_element_save_thyself):
17894         cleanups
17895         
17896         * gst/gstvalue.c: (gst_value_collect_int_range),
17897         (gst_string_unwrap), (gst_value_union_int_int_range),
17898         (gst_value_union_int_range_int_range),
17899         (gst_value_intersect_int_int_range),
17900         (gst_value_intersect_int_range_int_range),
17901         (gst_value_intersect_double_double_range),
17902         (gst_value_intersect_double_range_double_range),
17903         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
17904         (gst_value_subtract_int_range_int),
17905         (gst_value_subtract_double_range_double),
17906         (gst_value_subtract_double_range_double_range),
17907         (gst_value_subtract_from_list), (gst_value_subtract_list),
17908         (gst_value_can_compare), (gst_value_compare_fraction):
17909         Cleanups, add comments, remove unneeded asserts.
17910
17911 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17912
17913         * tools/gst-launch.c: (event_loop):
17914           don't convert NULL structures to strings
17915
17916 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
17917
17918         * docs/gst/gstreamer-sections.txt:
17919           made some defines private
17920         * docs/gst/tmpl/gstconfig.sgml:
17921         * docs/gst/tmpl/gstqueue.sgml:
17922         * docs/gst/tmpl/gsttaglist.sgml:
17923         * docs/gst/tmpl/gsttypes.sgml:
17924         * docs/gst/tmpl/gstutils.sgml:
17925         * docs/pwg/appendix-porting.xml:
17926         * gst/base/gstbasesink.h:
17927         * gst/base/gstbasesrc.c:
17928         * gst/base/gstbasesrc.h:
17929         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
17930         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
17931         * gst/gstelement.c: (gst_element_class_init):
17932         * gst/gstpad.c: (gst_pad_class_init):
17933         * gst/gstqueue.c: (gst_queue_class_init):
17934         * gst/gstxml.c: (gst_xml_class_init):
17935           documented all undocumented signal inline
17936         * libs/gst/controller/gst-controller.h:
17937           added padding
17938
17939 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17940
17941         * docs/pwg/appendix-porting.xml:
17942           Document _set_link_function -> _set_setcaps_function.
17943
17944 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17945
17946         * check/Makefile.am:
17947           add a .check target for running the check
17948         * check/gst-libs/controller.c: (GST_START_TEST):
17949           cosmetic fixups
17950         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17951           complete checks for gstbuffer; would be nice if I could get the
17952           gcov stuff to work so I can see if I actually completed gstbuffer.c
17953         * check/gstcheck.h:
17954           add ASSERT_BUFFER_REFCOUNT
17955
17956 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
17957
17958         * docs/gst/gstreamer-sections.txt:
17959         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
17960         * gst/gsttag.h:
17961           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
17962           spew out a warning if a tag that is already registered
17963           is re-registered, unless it is re-registered with a 
17964           different type (#308438).
17965
17966 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
17967
17968         * docs/pwg/appendix-porting.xml:
17969         * docs/pwg/building-state.xml:
17970           Add some paragraphs about state changes in 0.9 to the PWG
17971           and the porting guide, in particular about the new meaning
17972           of GST_STATE_PAUSED and how to write state change functions
17973           with concurrent access by multiple threads in mind.
17974
17975 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
17976
17977         * docs/gst/gstreamer-docs.sgml:
17978         * docs/libs/gstreamer-libs-docs.sgml:
17979           added deprecation and since indexes
17980         * libs/gst/controller/gst-controller.c:
17981         * libs/gst/controller/gst-helper.c:
17982           added since tags
17983
17984
17985 2005-08-11  Wim Taymans  <wim@fluendo.com>
17986
17987         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
17988         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
17989         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
17990         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
17991         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
17992         (gst_ghost_pad_set_target):
17993         Actually implement (re)setting the target on a ghostpad
17994         as described in the docs.
17995
17996 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
17997
17998         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
17999           Check whether GST_DEBUG_NO_COLOR environment variable is
18000           set and disable coloured debug output if that is the case.
18001
18002 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
18003
18004         * gst/base/gsttypefindhelper.c: (helper_find_peek),
18005         (gst_type_find_helper):
18006           The memory returned by gst_type_find_peek() needs to
18007           stay valid until the end of a typefind function, and
18008           typefind functions may keep results from different 
18009           offsets around, so we can't just unref the buffer from
18010           the previous _peek(), but have to save all buffers 
18011           returned by _peek() until typefinding is done and only
18012           free them then.
18013
18014 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
18015
18016         * docs/gst/gstreamer-sections.txt:
18017         * gst/gstutils.h:
18018           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
18019
18020 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18021
18022         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
18023           Fix a pretty good memleak.
18024
18025 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
18026
18027         * gst/gstiterator.h:
18028           Fix wrong include and 'make distcheck'.
18029
18030 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18031
18032         * gst/gstbin.c: (bin_bus_handler):
18033           Use gst_element_post_message() instead.
18034
18035 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
18036
18037         * gst/base/gstadapter.h:
18038         * gst/base/gstbasesink.h:
18039         * gst/base/gstbasesrc.h:
18040         * gst/base/gstbasetransform.h:
18041         * gst/base/gstcollectpads.h:
18042         * gst/base/gstpushsrc.h:
18043         * gst/gstiterator.h:
18044           Add padding to our base elements' class and instance structs and
18045           to GstIterator (you will need to rebuild all plugins and apps!)
18046
18047 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18048
18049         * gst/gstbin.c: (bin_bus_handler):
18050           Make default message forwarding from child->bus to bin->bus
18051           threadsafe and make it not emit warnings if the parent has no bus.
18052
18053 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18054
18055         * gst/gstelement.c: (activate_pads):
18056           On paused->ready, set pad->caps to NULL, as is the documented
18057           behaviour in this state change. Fixes playback of series of
18058           media files when visualization is enabled in Totem.
18059
18060 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18061
18062         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
18063           Allow NULL as filter-caps (which means "any").
18064
18065 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
18066
18067         * docs/libs/gstreamer-libs-sections.txt:
18068         * libs/gst/controller/gst-controller.c:
18069         * libs/gst/controller/gst-controller.h:
18070         * libs/gst/controller/gst-helper.c:
18071           adding more entries to the docs and fix small doc-bugs
18072
18073 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
18074
18075         * docs/gst/gstreamer-docs.sgml:
18076         * docs/gst/gstreamer-sections.txt:
18077         * docs/gst/gstreamer.types:
18078         * docs/gst/tmpl/gstbasesink.sgml:
18079         * docs/gst/tmpl/gstbasesrc.sgml:
18080         * docs/gst/tmpl/gstbasetransform.sgml:
18081         * docs/gst/tmpl/gstfakesrc.sgml:
18082         * gst/base/gstcollectpads.c:
18083         * gst/base/gstcollectpads.h:
18084         * libs/gst/controller/gst-controller.c:
18085         * libs/gst/controller/gst-controller.h:
18086         * libs/gst/controller/gst-helper.c:
18087         * libs/gst/controller/gst-interpolation.c:
18088         * libs/gst/controller/lib.c:
18089           added long/short desc for controller docs
18090           added collectpads base class docs
18091           added correct includes to base-class docs
18092
18093 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
18094
18095         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
18096         (gst_test_mono_source_set_property),
18097         (gst_test_mono_source_class_init), (GST_START_TEST),
18098         (gst_controller_suite):
18099         * docs/gst/gstreamer-docs.sgml:
18100         * docs/gst/gstreamer-sections.txt:
18101         * docs/gst/gstreamer.types:
18102         * docs/libs/gstreamer-libs-docs.sgml:
18103         * docs/libs/gstreamer-libs-sections.txt:
18104         * gst/base/gstadapter.c:
18105         * libs/gst/controller/gst-controller.c:
18106         (gst_controlled_property_new), (gst_controlled_property_free),
18107         (gst_controller_new_valist),
18108         (gst_controller_remove_properties_valist),
18109         (gst_controller_sink_values), (_gst_controller_finalize):
18110         * libs/gst/controller/gst-controller.h:
18111         * libs/gst/controller/gst-helper.c:
18112         (gst_object_control_properties), (gst_object_uncontrol_properties),
18113         (gst_object_get_controller), (gst_object_set_controller),
18114         (gst_object_sink_values), (gst_object_get_value_arrays),
18115         (gst_object_get_value_array):
18116           more tests (and fixes) for the controller
18117           more docs for the controller
18118           integrated companies docs for the adapter 
18119
18120 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18121
18122         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
18123         (GST_START_TEST), (fakesrc_suite):
18124           add tests for sizetype
18125
18126 2005-08-04  Andy Wingo  <wingo@pobox.com>
18127
18128         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
18129         fixes buffer_alloc proxying among other things.
18130
18131         * gst/base/gstbasetransform.c:
18132         * gst/base/gstbasetransform.h:
18133         Revert patch to gstbasetransform from 7-28 removing
18134         delay_configure.
18135
18136         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
18137         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
18138         Semantics changed, should return not the size of the output buffer
18139         but the byte size of a buffer with a given caps.
18140
18141         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
18142         debug object.
18143         (gst_base_transform_configure_caps): Don't set out_size here: (in,
18144         out) are not the pad caps until setcaps finishes.
18145         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
18146         not-in-place case as well. Deal with changing from in-place to
18147         not-in-place within calling pad_alloc_buffer. Still a bit
18148         concerned about the overhead here...
18149
18150 2005-08-03  Andy Wingo  <wingo@pobox.com>
18151
18152         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
18153         fixating is an error.
18154
18155 2005-08-04  Edward Hervey  <edward@fluendo.com>
18156
18157         * gst/base/gstadapter.h: 
18158         Added gst_adapter_get_type() to the header
18159
18160 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
18161
18162         * check/Makefile.am:
18163         * check/gst-libs/controller.c:
18164         * libs/gst/controller/gst-controller.c:
18165         (gst_controller_new_valist):
18166           added check test suite for the controller
18167         * gst/base/gstpushsrc.c:
18168           fixed a doc typo
18169
18170 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
18171
18172         * docs/gst/Makefile.am:
18173         * docs/gst/gstreamer-docs.sgml:
18174         * docs/gst/gstreamer-sections.txt:
18175         * docs/gst/gstreamer.types:
18176         * docs/gst/tmpl/gstfakesrc.sgml:
18177         * gst/base/README:
18178         * gst/base/gstbasesink.c:
18179         * gst/base/gstbasesink.h:
18180         * gst/base/gstbasesrc.c:
18181         * gst/base/gstbasesrc.h:
18182         * gst/base/gstbasetransform.c:
18183         * gst/base/gstpushsrc.c:
18184         * gst/base/gstpushsrc.h:
18185           add short/long description docs to base classes
18186           add pushsrc to the docs
18187           remove consolidated doc fragments
18188
18189 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
18190
18191         * configure.ac:
18192         * docs/libs/Makefile.am:
18193         * docs/libs/gstreamer-libs-docs.sgml:
18194         * docs/libs/gstreamer-libs-sections.txt:
18195         * docs/libs/gstreamer-libs.types:
18196         * examples/Makefile.am:
18197         * examples/controller/.cvsignore:
18198         * examples/controller/Makefile.am:
18199         * examples/controller/audio-example.c: (main):
18200         * libs/gst/Makefile.am:
18201         * libs/gst/controller/.cvsignore:
18202         * libs/gst/controller/Makefile.am:
18203         * libs/gst/controller/gst-controller.c:
18204         (on_object_controlled_property_changed), (gst_timed_value_compare),
18205         (gst_timed_value_find),
18206         (gst_controlled_property_set_interpolation_mode),
18207         (gst_controlled_property_new), (gst_controlled_property_free),
18208         (gst_controller_find_controlled_property),
18209         (gst_controller_new_valist), (gst_controller_new),
18210         (gst_controller_remove_properties_valist),
18211         (gst_controller_remove_properties), (gst_controller_set),
18212         (gst_controller_set_from_list), (gst_controller_unset),
18213         (gst_controller_get), (gst_controller_get_all),
18214         (gst_controller_sink_values), (gst_controller_get_value_arrays),
18215         (gst_controller_get_value_array),
18216         (gst_controller_set_interpolation_mode),
18217         (_gst_controller_finalize), (_gst_controller_init),
18218         (_gst_controller_class_init), (gst_controller_get_type):
18219         * libs/gst/controller/gst-controller.h:
18220         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
18221         (g_object_uncontrol_properties), (g_object_get_controller),
18222         (g_object_set_controller), (g_object_sink_values),
18223         (g_object_get_value_arrays), (g_object_get_value_array):
18224         * libs/gst/controller/gst-interpolation.c:
18225         (gst_controlled_property_find_timed_value_node),
18226         (interpolate_none_get), (interpolate_trigger_get),
18227         (interpolate_trigger_get_value_array):
18228         * libs/gst/controller/lib.c: (gst_controller_init):
18229         * pkgconfig/Makefile.am:
18230         * pkgconfig/gstreamer-control-uninstalled.pc.in:
18231         * pkgconfig/gstreamer-control.pc.in:
18232         * testsuite/Makefile.am:
18233         * testsuite/controller/.cvsignore:
18234         * testsuite/controller/Makefile.am:
18235         * testsuite/controller/interpolator.c: (main):
18236           added controller code
18237           removed dparam pc files
18238
18239 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
18240         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
18241         (gst_collectpads_stop):
18242           Broadcast the condition when shutting down, to make sure we wake all
18243           threads up. Shut down pads on finalize, for safety.
18244
18245 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
18246         * gst/base/gstbasetransform.c: (gst_base_transform_init),
18247         (gst_base_transform_handle_buffer),
18248         (gst_base_transform_change_state):
18249           Handle PAUSED->READY->PAUSED transition after negotiation
18250           occurred already.
18251         * gst/gstmessage.c: (gst_message_init):
18252           Extra piece of debug for new messages.
18253
18254 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
18255
18256         * configure.ac:
18257         * docs/gst/tmpl/gstbasesrc.sgml:
18258         * docs/gst/tmpl/gstelement.sgml:
18259         * docs/gst/tmpl/gstevent.sgml:
18260         * docs/gst/tmpl/gstfakesrc.sgml:
18261         * docs/gst/tmpl/gstformat.sgml:
18262         * docs/gst/tmpl/gstghostpad.sgml:
18263         * docs/gst/tmpl/gstpad.sgml:
18264         * docs/gst/tmpl/gstquery.sgml:
18265         * docs/gst/tmpl/gststructure.sgml:
18266         * docs/gst/tmpl/gsttaglist.sgml:
18267         * docs/gst/tmpl/gstvalue.sgml:
18268         * docs/libs/gstreamer-libs-docs.sgml:
18269         * docs/libs/gstreamer-libs-sections.txt:
18270         * docs/libs/gstreamer-libs.types:
18271         * libs/gst/Makefile.am:
18272         * libs/gst/control/.cvsignore:
18273         * libs/gst/control/Makefile.am:
18274         * libs/gst/control/control.c:
18275         * libs/gst/control/control.h:
18276         * libs/gst/control/dparam.c:
18277         * libs/gst/control/dparam.h:
18278         * libs/gst/control/dparam_smooth.c:
18279         * libs/gst/control/dparam_smooth.h:
18280         * libs/gst/control/dparamcommon.h:
18281         * libs/gst/control/dparammanager.c:
18282         * libs/gst/control/dparammanager.h:
18283         * libs/gst/control/dplinearinterp.c:
18284         * libs/gst/control/dplinearinterp.h:
18285         * libs/gst/control/unitconvert.c:
18286         * libs/gst/control/unitconvert.h:
18287         * testsuite/Makefile.am:
18288         * testsuite/dynparams/.cvsignore:
18289         * testsuite/dynparams/Makefile.am:
18290         * testsuite/dynparams/dparamstest.c:
18291         * tools/Makefile.am:
18292         * tools/gst-inspect.c: (print_element_info), (main):
18293         * tools/gst-xmlinspect.c: (print_element_info), (main):
18294           deactivate and remove dparams (libgstcontrol)
18295
18296 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
18297
18298         * gst/elements/gsttypefindelement.c:
18299         (gst_type_find_element_have_type), (gst_type_find_element_init),
18300         (stop_typefinding), (gst_type_find_element_handle_event),
18301         (gst_type_find_element_chain), (gst_type_find_element_getrange):
18302         * gst/elements/gsttypefindelement.h:
18303           Set caps on all outgoing buffers, not just the first one.
18304
18305 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
18306
18307         * gst/elements/gsttypefindelement.c:
18308         (gst_type_find_element_have_type),
18309         (gst_type_find_element_check_set_buffer_caps),
18310         (gst_type_find_element_init), (stop_typefinding),
18311         (gst_type_find_element_handle_event),
18312         (gst_type_find_element_chain), (gst_type_find_element_getrange):
18313         * gst/elements/gsttypefindelement.h:
18314           Set caps on first outgoing buffer when we've found the type.
18315
18316 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
18317
18318         * docs/gst/gstreamer-docs.sgml:
18319         * docs/gst/gstreamer-sections.txt:
18320         * docs/gst/tmpl/gstscheduler.sgml:
18321         * docs/gst/tmpl/gstschedulerfactory.sgml:
18322           Remove some old cruft from docs.
18323
18324 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
18325
18326         * gst/gstpad.h:
18327           Fix inline docs for GstPadLinkReturn.
18328           
18329         * gst/gststructure.c: (gst_structure_has_name):
18330         * gst/gststructure.h:
18331         * docs/gst/gstreamer-sections.txt:
18332           New API: gst_structure_has_name().
18333
18334 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
18335
18336         * configure.ac:
18337           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
18338           and _LARGEFILE_SOURCE in config.h as required. Do not 
18339           export those flags in our .pc files any longer (#142209).
18340
18341           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
18342
18343         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
18344         (gst_file_sink_do_seek), (gst_file_sink_event),
18345         (gst_file_sink_get_current_offset), (gst_file_sink_render):
18346           Redo seek/tell calls with large file support in mind; add some
18347           debugging messages; add log message that tells us when large
18348           file support is unavailable or not enabled for some reason.
18349
18350         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
18351           Add log message that tells us when large file support 
18352           is unavailable or not enabled for some reason.
18353
18354 2005-07-29  Wim Taymans  <wim@fluendo.com>
18355
18356         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18357         Added test for removing an element with ghostpad from a bin.
18358         Fixed test as current implementation does the right thing.
18359
18360         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
18361         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
18362         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
18363         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
18364         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
18365         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
18366         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
18367         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
18368         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
18369         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
18370         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
18371         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
18372         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
18373         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
18374         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
18375         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
18376         * gst/gstghostpad.h:
18377         Clean up ghostpads, remove properties for internal stuff.
18378         Make threadsafe.
18379         Fix refcounting.
18380         Prepare for switching targets, not all use cases work yet.
18381
18382 2005-07-29  Wim Taymans  <wim@fluendo.com>
18383
18384         * docs/design/part-gstghostpad.txt:
18385         Small update.
18386
18387         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18388         (gst_bin_remove_func):
18389         Unlinking pads while holding the bin LOCK is not a good
18390         idea.
18391
18392         * gst/gstpad.c: (gst_pad_class_init),
18393         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
18394         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
18395         No prob setting template after creating the pad.
18396
18397 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
18398
18399         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
18400         (gst_bus_peek), (gst_bus_source_dispatch),
18401         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
18402         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
18403           gst_bus_poll may be called from other threads. Handle
18404           this nicely by not making poll_data disappear off the
18405           stack once gst_bus_poll returns.
18406           gst_bus_peek now increments the refcount on the returned
18407           message.
18408
18409 2005-07-29  Wim Taymans  <wim@fluendo.com>
18410
18411         * docs/design/part-gstghostpad.txt:
18412         Overview of current GhostPad datastructures and use
18413         cases for changing the target.
18414
18415 2005-07-28  Wim Taymans  <wim@fluendo.com>
18416
18417         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18418         Added checks for hierarchy consistency whan adding linked
18419         elements to bins.
18420
18421         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18422         Added check to test element scheduling without bin/pipeline.
18423
18424         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18425         First add elements to bin, then link.
18426         
18427         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18428         (gst_bin_remove_func):
18429         Unlink pads from elements added/removed from bin to maintain
18430         hierarchy consistency.
18431
18432 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18433
18434         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18435         (gst_base_transform_handle_buffer):
18436         * gst/base/gstbasetransform.h:
18437           Remove broken delay_configure (fixes renegotiation of software
18438           scaling pipelines); remove some leftover printf()s.
18439
18440 2005-07-28  Wim Taymans  <wim@fluendo.com>
18441
18442         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18443         Added some more tests for wrong hierarchy
18444
18445         * docs/design/part-overview.txt:
18446         Some updates.
18447
18448         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
18449         Cleanups.
18450
18451         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
18452         (gst_element_dispose):
18453         Some more cleanups.
18454
18455         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18456         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
18457         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18458         (gst_pad_set_caps), (gst_pad_send_event):
18459         Check for correct hierarchy when linking pads. Moving to
18460         strict requirement for ghostpads when linking elements in
18461         different bins.
18462
18463         * gst/gstpad.h:
18464         Clean ups. Added WRONG_HIERARCHY return value.
18465
18466 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18467
18468         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18469           Better debug if no transform is possible.
18470
18471 2005-07-27  Wim Taymans  <wim@fluendo.com>
18472
18473         * docs/random/wtay/network-transp:
18474         Some old doc I had.
18475
18476 2005-07-27  Wim Taymans  <wim@fluendo.com>
18477
18478         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18479         (gst_dp_event_from_packet):
18480         Fix serialization of seek events.
18481
18482 2005-07-27  Wim Taymans  <wim@fluendo.com>
18483
18484         * check/gst-libs/gdp.c: (GST_START_TEST):
18485         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18486         Fix compilation and fix event serialization.
18487
18488 2005-07-27  Wim Taymans  <wim@fluendo.com>
18489
18490         * CHANGES-0.9:
18491         * docs/design/part-TODO.txt:
18492         * docs/design/part-events.txt:
18493         Some docs updates
18494
18495         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18496         (gst_base_sink_event), (gst_base_sink_do_sync),
18497         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18498         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18499         (gst_base_src_do_seek), (gst_base_src_event_handler),
18500         (gst_base_src_loop):
18501         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18502         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18503         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18504         (gst_base_transform_event), (gst_base_transform_handle_buffer),
18505         (gst_base_transform_set_passthrough),
18506         (gst_base_transform_is_passthrough):
18507         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18508         * gst/elements/gstfilesink.c: (gst_file_sink_event):
18509         Event updates.
18510
18511         * gst/gstbuffer.h:
18512         Use faster casts.
18513
18514         * gst/gstelement.c: (gst_element_seek):
18515         * gst/gstelement.h:
18516         Update gst_element_seek.
18517
18518         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
18519         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
18520         (gst_event_new_flush_start), (gst_event_new_flush_stop),
18521         (gst_event_new_eos), (gst_event_new_newsegment),
18522         (gst_event_parse_newsegment), (gst_event_new_tag),
18523         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
18524         (gst_event_parse_qos), (gst_event_new_seek),
18525         (gst_event_parse_seek), (gst_event_new_navigation):
18526         * gst/gstevent.h:
18527         Make GstEvent use GstStructure. Add parsing code, make sure the
18528         API is sufficiently generic.
18529         Mark possible directions of events and serialization.
18530
18531         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
18532         (_gst_message_copy), (gst_message_new_segment_start),
18533         (gst_message_new_segment_done), (gst_message_new_custom),
18534         (gst_message_parse_segment_start),
18535         (gst_message_parse_segment_done):
18536         Small cleanups.
18537
18538         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18539         (gst_pad_set_caps), (gst_pad_send_event):
18540         Update for new events. 
18541         Catch events sent in wrong directions.
18542
18543         * gst/gstqueue.c: (gst_queue_link_src),
18544         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18545         (gst_queue_handle_src_query):
18546         Event updates.
18547
18548         * gst/gsttag.c:
18549         * gst/gsttag.h:
18550         Remove event code from this file.
18551
18552         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18553         (gst_dp_event_from_packet):
18554         Event updates.
18555
18556 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18557
18558         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
18559         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18560         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
18561           Make debugging actually useful.
18562
18563 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18564
18565         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
18566         (gst_pad_fixate_caps):
18567           Implement default fixation once again, so that gst_pad_fixate()
18568           actually does anything at all. This probably needs to be some
18569           sort of a last resort, and use profile-based fixation first, but
18570           since that doesn't exist yet, this is the best we have. Fixes
18571           visualization in Totem.
18572
18573 2005-07-22  Wim Taymans  <wim@fluendo.com>
18574
18575         * docs/design/part-events.txt:
18576         Small update.
18577
18578         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18579         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
18580         (gst_base_sink_activate_pull):
18581         Some more comments.
18582
18583         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
18584         (gst_fake_src_create):
18585         Fix handoff marshall.
18586
18587         * gst/elements/gstidentity.c: (gst_identity_class_init),
18588         (gst_identity_transform_ip):
18589         We're a real inplace element.
18590
18591         * gst/gstbus.c: (gst_bus_post):
18592         Added some comments.
18593
18594         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
18595         * tests/muxing/case1.c: (main):
18596         * tests/sched/dynamic-pipeline.c: (main):
18597         * tests/sched/interrupt1.c: (main):
18598         * tests/sched/interrupt2.c: (main):
18599         * tests/sched/interrupt3.c: (main):
18600         * tests/sched/runxml.c: (main):
18601         * tests/sched/sched-stress.c: (main):
18602         * tests/seeking/seeking1.c: (event_received), (main):
18603         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18604         (main):
18605         * tests/threadstate/threadstate3.c: (main):
18606         * tests/threadstate/threadstate4.c: (main):
18607         * tests/threadstate/threadstate5.c: (main):
18608         Fix the tests.
18609
18610 2005-07-21  Wim Taymans  <wim@fluendo.com>
18611
18612         * docs/design/part-seeking.txt:
18613         Some small additions.
18614
18615         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18616         (gst_base_sink_get_times), (gst_base_sink_do_sync),
18617         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18618         * gst/base/gstbasesink.h:
18619         discont values are gint64, handle the math correctly.
18620
18621         * gst/base/gstbasesrc.c: (gst_base_src_loop):
18622         Make the basesrc report error if the source pad is not linked.
18623
18624         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
18625         (gst_queue_loop), (gst_queue_handle_src_query),
18626         (gst_queue_src_activate_push):
18627         Make queue collect data even if the srcpad is not linked.
18628         Start pushing out data as soon as it is linked.
18629
18630         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
18631         * gst/gstutils.h:
18632         Added gst_flow_get_name() to ease error reporting.
18633
18634 2005-07-20  Wim Taymans  <wim@fluendo.com>
18635
18636         * gst/gstmessage.c: (gst_message_new_segment_start),
18637         (gst_message_new_segment_done), (gst_message_parse_segment_start),
18638         (gst_message_parse_segment_done):
18639         * gst/gstmessage.h:
18640         Added a bunch of messages for advanced seeking.
18641
18642         * gst/parse/grammar.y:
18643         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
18644         (gst_dpman_state_changed):
18645         Fix some new-pad -> pad-added signals
18646
18647 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18648
18649         * docs/manual/appendix-porting.xml:
18650         * docs/pwg/appendix-porting.xml:
18651           Document new-pad/state-change signal renames and the FixedList
18652           type rename.
18653
18654 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18655
18656         * docs/manual/advanced-autoplugging.xml:
18657         * docs/manual/basics-helloworld.xml:
18658         * docs/manual/basics-pads.xml:
18659         * docs/random/ds/0.9-suggested-changes:
18660         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
18661         * gst/gstelement.h:
18662         * gst/gstevent.h:
18663         * gst/gstformat.h:
18664         * gst/gstquery.h:
18665         * gst/gststructure.c: (gst_structure_value_get_generic_type),
18666         (gst_structure_parse_array), (gst_structure_parse_value):
18667         * gst/gstvalue.c: (gst_type_is_fixed),
18668         (gst_value_list_prepend_value), (gst_value_list_append_value),
18669         (gst_value_list_get_size), (gst_value_list_get_value),
18670         (gst_value_transform_array_string), (gst_value_serialize_array),
18671         (gst_value_deserialize_array), (gst_value_intersect_array),
18672         (gst_value_is_fixed), (_gst_value_initialize):
18673         * gst/gstvalue.h:
18674           GstElement::new-pad -> pad-added, GstElement::state-change ->
18675           state-changed, GstValueFixedList -> GstValueArray, add format and
18676           flags as their own arguments in gst_element_seek() (should improve
18677           "bindeability"), remove function generators since they don't work
18678           under a whole bunch of compilers (they were deprecated already
18679           anyway).
18680
18681 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18682
18683         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18684         (_gst_debug_register_funcptr):
18685         * gst/gstinfo.h:
18686           Fix illegal cast on some platforms (#309253).
18687
18688 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18689
18690         * gst/gstmessage.c: (gst_message_new_custom):
18691         * gst/gstmessage.h:
18692           Add _new_custom, make _new_application a macro to _new_custom.
18693
18694 2005-07-20  Wim Taymans  <wim@fluendo.com>
18695
18696         * gst/base/gstbasesrc.c: (gst_base_src_init),
18697         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
18698         * gst/base/gstbasesrc.h:
18699         Add a gboolean to decide when to push out a discont.
18700
18701         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18702         (gst_queue_loop), (gst_queue_handle_src_query),
18703         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
18704         (gst_queue_set_property), (gst_queue_get_property):
18705         Some cleanups.
18706
18707         * tests/threadstate/threadstate1.c: (main):
18708         Make a thread test compile and run... very silly..
18709
18710
18711 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18712
18713         * docs/manual/appendix-porting.xml:
18714           Mention removal of libgstgconf-0.9.la and existence of gconf
18715           elements.
18716
18717 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18718
18719         * docs/pwg/advanced-clock.xml:
18720         * docs/pwg/appendix-porting.xml:
18721         * docs/pwg/intro-preface.xml:
18722         * docs/pwg/other-base.xml:
18723         * docs/pwg/other-manager.xml:
18724         * docs/pwg/other-nton.xml:
18725         * docs/pwg/other-ntoone.xml:
18726         * docs/pwg/other-oneton.xml:
18727         * docs/pwg/pwg.xml:
18728           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
18729           demuxer), remove n-to-n (was never written), fix some code examples
18730           and links and update the porting section to include all this.
18731
18732 2005-07-19  Wim Taymans  <wim@fluendo.com>
18733
18734         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
18735         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
18736         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
18737         (gst_queue_src_activate_push), (gst_queue_change_state),
18738         (gst_queue_get_property):
18739         * gst/gstqueue.h:
18740         Propagate GstFlowReturn more intelligently upstream and output
18741         an ERROR/EOS when streaming stopped due to fatal error.
18742
18743 2005-07-19  Wim Taymans  <wim@fluendo.com>
18744
18745         * tools/gst-launch.c: (check_intr), (event_loop), (main):
18746         Don't block forever for the state change to complete, the
18747         pipeline already did with a sensible timeout.
18748
18749 2005-07-19  Wim Taymans  <wim@fluendo.com>
18750
18751         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18752         Make sure we never call the create function is we
18753         got deactivated.
18754
18755 2005-07-19  Andy Wingo  <wingo@pobox.com>
18756
18757         * gst/parse/parse.l: Attempt to solve bug #172815.
18758
18759 2005-07-19  Wim Taymans  <wim@fluendo.com>
18760
18761         * docs/design/part-clocks.txt:
18762         * docs/design/part-events.txt:
18763         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
18764         Small docs updates.
18765         Only update the seeking values when we are not
18766         busy streaming.
18767
18768 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
18769
18770         * gst/base/gstbasesrc.c: (gst_base_src_loop):
18771           Oops, ignore the result of gst_pad_push_event here.
18772
18773 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
18774
18775         * gst/base/gstbasesrc.c: (gst_base_src_loop),
18776         (gst_base_src_activate_push):
18777           Send discont event from the loop function, as pads
18778           aren't activated yet in the activate_push handler.
18779
18780         * gst/gstbin.c: (bin_bus_handler):
18781           Don't leak element name.
18782
18783 2005-07-18  Andy Wingo  <wingo@pobox.com>
18784
18785         * configure.ac: Use AS_LIBTOOL_TAGS.
18786
18787 2005-07-18  Wim Taymans  <wim@fluendo.com>
18788
18789         * docs/gst/gstreamer.types:
18790         Remove deleted types.
18791
18792 2005-07-18  Wim Taymans  <wim@fluendo.com>
18793
18794         * check/elements/gstfakesrc.c: (GST_START_TEST):
18795         * configure.ac:
18796         * gst/Makefile.am:
18797         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
18798         (init_popt_callback):
18799         * gst/gst.h:
18800         * gst/gst_private.h:
18801         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
18802         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
18803         * gst/gstbin.h:
18804         * gst/gstbus.h:
18805         * gst/gstconfig.h.in:
18806         * gst/gstelement.c: (gst_element_class_init),
18807         (gst_element_set_base_time), (gst_element_get_base_time),
18808         (iterator_fold_with_resync), (gst_element_change_state),
18809         (gst_element_dispose), (gst_element_get_bus):
18810         * gst/gstelement.h:
18811         * gst/gstelementfactory.h:
18812         * gst/gsterror.c: (_gst_core_errors_init):
18813         * gst/gsterror.h:
18814         * gst/gstevent.h:
18815         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18816         * gst/gstindex.c:
18817         * gst/gstinfo.c: (_gst_debug_init):
18818         * gst/gstmessage.c: (_gst_message_copy):
18819         * gst/gstmessage.h:
18820         * gst/gstminiobject.h:
18821         * gst/gstobject.c:
18822         * gst/gstobject.h:
18823         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18824         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
18825         * gst/gstpad.h:
18826         * gst/gstparse.h:
18827         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
18828         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18829         (gst_pipeline_get_last_stream_time):
18830         * gst/gstpipeline.h:
18831         * gst/gstpluginfeature.h:
18832         * gst/gstquery.h:
18833         * gst/gstscheduler.c:
18834         * gst/gstscheduler.h:
18835         * gst/gststructure.h:
18836         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
18837         (gst_task_finalize), (gst_task_func), (gst_task_create),
18838         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
18839         (gst_task_stop), (gst_task_pause):
18840         * gst/gsttask.h:
18841         * gst/gsttypefind.h:
18842         * gst/gsttypes.h:
18843         * gst/registries/gstlibxmlregistry.c: (load_feature),
18844         (gst_xml_registry_load), (gst_xml_registry_save_feature):
18845         * gst/registries/gstxmlregistry.c:
18846         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
18847         * gst/schedulers/threadscheduler.c:
18848         * libs/gst/control/dparammanager.h:
18849         * tools/gst-inspect.c: (print_element_list),
18850         (print_plugin_features), (print_element_features):
18851         * tools/gst-xmlinspect.c: (print_element_list),
18852         (print_plugin_info), (main):
18853         Removed plugable schedulers.
18854         Removed Scheduler/Manager from elements.
18855         Removed gsttypes.h, rearranged includes.
18856         Removed dependency pad<->element, element<>pipeline, and
18857         various others,  fix includes.
18858         implement gst_pad_get_parent() with gst_object_get_parent()
18859         Make GstTask sefcontained.
18860         Fix _get_state() on GstBin, it did not return ASYNC with a 0
18861         timeout.
18862         Fix endless loop in iterator_fold_with_resync.
18863
18864
18865 2005-07-18  Wim Taymans  <wim@fluendo.com>
18866
18867         * gst/Makefile.am:
18868         * gst/gstarch.h:
18869         Remove old file.
18870
18871 2005-07-18  Wim Taymans  <wim@fluendo.com>
18872
18873         * gst/Makefile.am:
18874         No more cothreads.h
18875
18876 2005-07-18  Wim Taymans  <wim@fluendo.com>
18877
18878         * gst/cothreads.c:
18879         * gst/cothreads.h:
18880         Let's remove these.
18881
18882 2005-07-18  Wim Taymans  <wim@fluendo.com>
18883
18884         * docs/design/part-dynamic.txt:
18885         * docs/design/part-events.txt:
18886         * docs/design/part-seeking.txt:
18887         Some more docs in the works.
18888
18889         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18890         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
18891         (gst_base_transform_setcaps), (gst_base_transform_get_size),
18892         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
18893         (gst_base_transform_handle_buffer),
18894         (gst_base_transform_sink_activate_push),
18895         (gst_base_transform_src_activate_pull),
18896         (gst_base_transform_set_passthrough),
18897         (gst_base_transform_is_passthrough):
18898         Refcounting fixes.
18899
18900         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
18901         Cleanups.
18902
18903         * gst/gstevent.c: (gst_event_finalize):
18904         Set SRC to NULL.
18905
18906         * gst/gstutils.c: (gst_element_unlink),
18907         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
18908         (gst_pad_proxy_setcaps):
18909         * gst/gstutils.h:
18910         Add _get_parent_element() to get a pads parent as an element.
18911
18912 2005-07-18  Wim Taymans  <wim@fluendo.com>
18913
18914         * check/gst/gstbin.c: (GST_START_TEST):
18915         Remove bogus test.
18916
18917 2005-07-18  Wim Taymans  <wim@fluendo.com>
18918
18919         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
18920         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
18921         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
18922         (gst_base_sink_event), (gst_base_sink_do_sync),
18923         (gst_base_sink_chain), (gst_base_sink_loop),
18924         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
18925         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18926         Refcounting fixes.
18927         Fix logic for returning ASYNC when not prerolled.
18928
18929 2005-07-18  Wim Taymans  <wim@fluendo.com>
18930
18931         * gst/gstqueue.c: (gst_queue_handle_sink_event):
18932         Fix nasty refcount bug.
18933
18934 2005-07-16 Philippe Khalaf <burger@speedy.org>
18935
18936         * gst/elements/gstfdsrc.c:
18937         * gst/elements/gstfdsrc.h:
18938         * gst/elements/gstelements.c:
18939         * gst/elements/Makefile.am:
18940         Ported fdsrc to 0.9.
18941
18942 2005-07-16  Wim Taymans  <wim@fluendo.com>
18943
18944         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18945         (gst_base_sink_do_sync):
18946         Fix compile error.
18947
18948 2005-07-16  Wim Taymans  <wim@fluendo.com>
18949
18950         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18951         (gst_base_sink_event), (gst_base_sink_get_times),
18952         (gst_base_sink_do_sync), (gst_base_sink_change_state):
18953         * gst/base/gstbasesink.h:
18954         Store and use discont values when syncing buffers as described
18955         in design docs.
18956         
18957         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18958         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
18959         (gst_base_src_activate_push):
18960         Push discont event when starting.
18961
18962         * gst/elements/gstidentity.c: (gst_identity_transform):
18963         Small cleanups.
18964
18965         * gst/gstbin.c: (gst_bin_change_state):
18966         Small cleanups in base_time  distribution.
18967
18968         * gst/gstelement.c: (gst_element_set_base_time),
18969         (gst_element_get_base_time), (gst_element_change_state):
18970         * gst/gstelement.h:
18971         Added methods for the base_time of the element.
18972         Some MT fixes.
18973
18974         * gst/gstpipeline.c: (gst_pipeline_send_event),
18975         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18976         (gst_pipeline_get_last_stream_time):
18977         * gst/gstpipeline.h:
18978         MT fixes.
18979         Handle seeking as described in design doc, remove stream_time
18980         hack.
18981         Cleanups clock and stream_time selection code. Added accessors
18982         for the stream_time.
18983         
18984
18985 2005-07-16  Andy Wingo  <wingo@pobox.com>
18986
18987         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
18988         (#305291).
18989
18990 2005-07-16  Wim Taymans  <wim@fluendo.com>
18991
18992         * check/gst/gstbin.c: (GST_START_TEST):
18993         Make elements silent as the deep_notify refs the
18994         parent, which might make the test fail.
18995
18996         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18997         Don't hold the lock for too long.
18998
18999 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
19000
19001         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19002           Don't unref the caps we passed to gst_caps_make_writable() after
19003           passing them. gst_caps_make_writable() will do that for us.
19004
19005 2005-07-15  Andy Wingo  <wingo@pobox.com>
19006
19007         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
19008         (#157311).
19009
19010         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
19011         own marshalling function for the handoff signal. Properly type the
19012         buffer as a buffer. Fixes some warnings. Should do a more general
19013         solution.
19014         (gst_identity_class_init): Plug into the right marshaller.
19015
19016 2005-07-15  Wim Taymans  <wim@fluendo.com>
19017
19018         * docs/design/part-TODO.txt:
19019         * docs/design/part-clocks.txt:
19020         * docs/design/part-element-sink.txt:
19021         * docs/design/part-events.txt:
19022         * docs/design/part-gstpipeline.txt:
19023         Updated docs, mostly DISCONT related.
19024
19025 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
19026
19027         * docs/pwg/building-pads.xml:
19028           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
19029
19030 2005-07-15  Andy Wingo  <wingo@pobox.com>
19031
19032         * tools/gst-typefind.c: Update, add copyright block.
19033
19034         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
19035         Normalize and truncate caps before fixation.
19036
19037         * gst/gstcaps.h:
19038         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
19039         discards all but the first structure from its argument.
19040
19041 2005-07-15  Wim Taymans  <wim@fluendo.com>
19042
19043         * gst/base/gstbasetransform.c: (gst_base_transform_init),
19044         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
19045         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19046         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
19047         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
19048         (gst_base_transform_chain), (gst_base_transform_change_state),
19049         (gst_base_transform_set_passthrough),
19050         (gst_base_transform_is_passthrough):
19051         * gst/base/gstbasetransform.h:
19052         Make passthrough work using the bufferpools.
19053         Changed API a bit, subclasses have to write into a buffer
19054         provided by the base class.
19055         More debug info in nego functions.
19056         
19057         * gst/elements/gstidentity.c: (gst_identity_init),
19058         (gst_identity_transform):
19059         Port to new base class.
19060
19061 2005-07-15  Wim Taymans  <wim@fluendo.com>
19062
19063         * gst/gstmessage.c: (gst_message_new_state_changed):
19064         * tools/gst-launch.c: (event_loop), (main):
19065         Totally dump messages in -launch with the -m option.
19066         Fix message name for State messages,
19067
19068 2005-07-14  Wim Taymans  <wim@fluendo.com>
19069
19070         * gst/base/gstbasesrc.c: (gst_base_src_loop):
19071         Post error messages on errors.
19072
19073 2005-07-14  Wim Taymans  <wim@fluendo.com>
19074
19075         * gst/gstcaps.c: (gst_caps_do_simplify):
19076         Remove debug info.
19077
19078         * gst/gsterror.h:
19079         Define error for stream stopped.
19080
19081         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19082         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
19083         Do proper return values.
19084
19085         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
19086         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
19087         (gst_pad_get_range):
19088         Better return values.
19089
19090         * gst/gstpad.h:
19091         Reorganise return values, add macro to check for fatal errors.
19092
19093         * gst/gstqueue.c: (gst_queue_chain):
19094         Return proper GstFlowReturn values,
19095
19096 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
19097
19098         * docs/gst/gstreamer-sections.txt:
19099         * docs/gst/gstreamer.types:
19100         * docs/gst/tmpl/gst.sgml:
19101         * docs/gst/tmpl/gstbasesink.sgml:
19102         * docs/gst/tmpl/gstbasesrc.sgml:
19103         * docs/gst/tmpl/gstbasetransform.sgml:
19104         * docs/gst/tmpl/gstbin.sgml:
19105         * docs/gst/tmpl/gstbuffer.sgml:
19106         * docs/gst/tmpl/gstcaps.sgml:
19107         * docs/gst/tmpl/gstclock.sgml:
19108         * docs/gst/tmpl/gstcompat.sgml:
19109         * docs/gst/tmpl/gstconfig.sgml:
19110         * docs/gst/tmpl/gstelement.sgml:
19111         * docs/gst/tmpl/gstelementdetails.sgml:
19112         * docs/gst/tmpl/gstelementfactory.sgml:
19113         * docs/gst/tmpl/gstenumtypes.sgml:
19114         * docs/gst/tmpl/gsterror.sgml:
19115         * docs/gst/tmpl/gstevent.sgml:
19116         * docs/gst/tmpl/gstfakesink.sgml:
19117         * docs/gst/tmpl/gstfakesrc.sgml:
19118         * docs/gst/tmpl/gstfilesink.sgml:
19119         * docs/gst/tmpl/gstfilesrc.sgml:
19120         * docs/gst/tmpl/gstfilter.sgml:
19121         * docs/gst/tmpl/gstformat.sgml:
19122         * docs/gst/tmpl/gstghostpad.sgml:
19123         * docs/gst/tmpl/gstimplementsinterface.sgml:
19124         * docs/gst/tmpl/gstindex.sgml:
19125         * docs/gst/tmpl/gstindexfactory.sgml:
19126         * docs/gst/tmpl/gstinfo.sgml:
19127         * docs/gst/tmpl/gstiterator.sgml:
19128         * docs/gst/tmpl/gstmacros.sgml:
19129         * docs/gst/tmpl/gstmemchunk.sgml:
19130         * docs/gst/tmpl/gstminiobject.sgml:
19131         * docs/gst/tmpl/gstobject.sgml:
19132         * docs/gst/tmpl/gstpad.sgml:
19133         * docs/gst/tmpl/gstpadtemplate.sgml:
19134         * docs/gst/tmpl/gstparse.sgml:
19135         * docs/gst/tmpl/gstpipeline.sgml:
19136         * docs/gst/tmpl/gstplugin.sgml:
19137         * docs/gst/tmpl/gstpluginfeature.sgml:
19138         * docs/gst/tmpl/gstquery.sgml:
19139         * docs/gst/tmpl/gstqueue.sgml:
19140         * docs/gst/tmpl/gstregistry.sgml:
19141         * docs/gst/tmpl/gstregistrypool.sgml:
19142         * docs/gst/tmpl/gstscheduler.sgml:
19143         * docs/gst/tmpl/gstschedulerfactory.sgml:
19144         * docs/gst/tmpl/gststructure.sgml:
19145         * docs/gst/tmpl/gstsystemclock.sgml:
19146         * docs/gst/tmpl/gsttaglist.sgml:
19147         * docs/gst/tmpl/gsttagsetter.sgml:
19148         * docs/gst/tmpl/gsttrace.sgml:
19149         * docs/gst/tmpl/gsttrashstack.sgml:
19150         * docs/gst/tmpl/gsttypefind.sgml:
19151         * docs/gst/tmpl/gsttypefindfactory.sgml:
19152         * docs/gst/tmpl/gsttypes.sgml:
19153         * docs/gst/tmpl/gsturihandler.sgml:
19154         * docs/gst/tmpl/gsturitype.sgml:
19155         * docs/gst/tmpl/gstutils.sgml:
19156         * docs/gst/tmpl/gstvalue.sgml:
19157         * docs/gst/tmpl/gstversion.sgml:
19158         * docs/gst/tmpl/gstxml.sgml:
19159         * docs/libs/tmpl/gstcontrol.sgml:
19160         * docs/libs/tmpl/gstdataprotocol.sgml:
19161         * docs/libs/tmpl/gstdparam.sgml:
19162         * docs/libs/tmpl/gstdplinint.sgml:
19163         * docs/libs/tmpl/gstdpman.sgml:
19164         * docs/libs/tmpl/gstdpsmooth.sgml:
19165         * docs/libs/tmpl/gstgetbits.sgml:
19166         * docs/libs/tmpl/gstunitconvert.sgml:
19167         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
19168         (gst_push_src_base_init), (gst_push_src_class_init),
19169         (gst_push_src_init), (gst_push_src_create):
19170         * gst/base/gstpushsrc.h:
19171         * gst/elements/gstelements.c:
19172         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
19173         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
19174         (gst_fake_sink_init), (gst_fake_sink_set_property),
19175         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
19176         (gst_fake_sink_event), (gst_fake_sink_preroll),
19177         (gst_fake_sink_render), (gst_fake_sink_change_state):
19178         * gst/elements/gstfakesink.h:
19179         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
19180         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
19181         (gst_fake_src_base_init), (gst_fake_src_class_init),
19182         (gst_fake_src_init), (gst_fake_src_event_handler),
19183         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
19184         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
19185         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
19186         (gst_fake_src_create_buffer), (gst_fake_src_create),
19187         (gst_fake_src_start), (gst_fake_src_stop):
19188         * gst/elements/gstfakesrc.h:
19189         * gst/elements/gstfilesink.c: (_do_init),
19190         (gst_file_sink_base_init), (gst_file_sink_class_init),
19191         (gst_file_sink_init), (gst_file_sink_dispose),
19192         (gst_file_sink_set_location), (gst_file_sink_set_property),
19193         (gst_file_sink_get_property), (gst_file_sink_open_file),
19194         (gst_file_sink_close_file), (gst_file_sink_query),
19195         (gst_file_sink_event), (gst_file_sink_render),
19196         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
19197         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
19198         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
19199         * gst/elements/gstfilesink.h:
19200         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
19201         (gst_file_src_class_init), (gst_file_src_init),
19202         (gst_file_src_finalize), (gst_file_src_set_location),
19203         (gst_file_src_set_property), (gst_file_src_get_property),
19204         (gst_file_src_map_region), (gst_file_src_map_small_region),
19205         (gst_file_src_create_mmap), (gst_file_src_create_read),
19206         (gst_file_src_create), (gst_file_src_is_seekable),
19207         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
19208         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
19209         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
19210         (gst_file_src_uri_handler_init):
19211         * gst/elements/gstfilesrc.h:
19212           more autistic cleanliness in functions/names/defines
19213
19214 2005-07-13  Andy Wingo  <wingo@pobox.com>
19215
19216         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
19217         source couldn't negotiate.
19218
19219         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
19220         connections again.
19221
19222         * gst/gstutils.h:
19223         * gst/gstutils.c (gst_element_link_pads_filtered): New old
19224         function. I am channeling Hades. Put your boots on suckers!!!
19225
19226 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19227
19228         * testsuite/caps/Makefile.am:
19229         * testsuite/caps/value_compare.c:
19230         * testsuite/caps/value_intersect.c:
19231         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19232           move two testsuite apps over to the check dir
19233
19234 2005-07-12  Wim Taymans  <wim@fluendo.com>
19235
19236         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
19237         Added more debug info in the negotiate process.
19238
19239         * gst/gstmessage.h:
19240         Prepare for segment playback.
19241
19242         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
19243         Better debugging.
19244
19245         * gst/gstutils.c:
19246         Some more docs.
19247
19248         * tools/gst-launch.c: (main):
19249         NULL pipeline on errors.
19250
19251 2005-07-12  Andy Wingo  <wingo@pobox.com>
19252
19253         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
19254         not it comes from a malloc region. Make sure our copy gets freed.
19255
19256 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19257
19258         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19259         * check/gst/gstmessage.c: (GST_START_TEST):
19260         * check/gst/gststructure.c: (GST_START_TEST),
19261         (gst_structure_suite), (main):
19262           more testing
19263         * gst/gstelement.c: (gst_element_message_full):
19264           clean up GError and debug string now that they get copied
19265         * gst/gstmessage.c: (gst_message_new_error),
19266         (gst_message_new_warning), (gst_message_parse_error),
19267         (gst_message_parse_warning):
19268           use GST_TYPE_G_ERROR for structure_new, and take copies of
19269           arguments, so that we don't mess up refcounting
19270
19271 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19272
19273         * check/Makefile.am:
19274           add per-test valgrind targets
19275         * check/gst-libs/gdp.c: (GST_START_TEST),
19276         (gst_data_protocol_suite), (main):
19277           clean up
19278
19279 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19280
19281         * check/Makefile.am:
19282           instate more valgrindable tests
19283         * check/elements/gstfakesrc.c: (chain_func), (event_func),
19284         (GST_START_TEST), (fakesrc_suite):
19285         * check/gst/gstpad.c: (GST_START_TEST):
19286         * check/gst/gststructure.c: (GST_START_TEST):
19287           fix test leaks
19288         * docs/gst/tmpl/gstminiobject.sgml:
19289         * gst/gstpad.c: (gst_pad_finalize):
19290           fix the static mutex leak
19291
19292 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19293
19294         * check/Makefile.am:
19295           add two more tests for valgrinding
19296         * check/gst/gstvalue.c: (GST_START_TEST):
19297           test refcount of deserialized buffer, found a leak
19298         * docs/gst/gstreamer-docs.sgml:
19299         * docs/gst/gstreamer-sections.txt:
19300         * docs/gst/gstreamer.types:
19301         * docs/gst/tmpl/gstminiobject.sgml:
19302           add miniobject to docs
19303         * gst/gstminiobject.c:
19304           add some docs
19305         * gst/gstvalue.c: (gst_value_deserialize_buffer),
19306         (gst_string_unwrap):
19307           fix a hard-to-find invalid write for one of the tests
19308           fix a leak for deserialized buffers
19309
19310 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19311
19312         * docs/pwg/advanced-events.xml:
19313         * docs/pwg/advanced-request.xml:
19314         * docs/pwg/advanced-scheduling.xml:
19315         * docs/pwg/appendix-porting.xml:
19316         * docs/pwg/building-boiler.xml:
19317         * docs/pwg/intro-preface.xml:
19318         * docs/pwg/other-ntoone.xml:
19319           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
19320           of example code and explanation for pad activation, loop() and
19321           getrange() functions and a bit more. Remove old comments pointing
19322           to loop-functions.
19323         * examples/pwg/Makefile.am:
19324           Add loop/getrange examples.
19325
19326 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19327
19328         * configure.ac:
19329           check for valgrind binary + some fixes
19330         * check/gst.supp:
19331           valgrind suppressions for the tests
19332         * check/Makefile.am:
19333           add a valgrind: target that valgrinds the unit tests
19334         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
19335         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19336         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19337         * check/gst/gstghostpad.c:
19338           added some cleanup
19339         * check/gst/gstdata.c:
19340           removed
19341         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
19342         (thread_unref), (gst_mini_object_suite), (main):
19343           added
19344         * gst/gst.c: (gst_deinit):
19345         * gst/gst.h:
19346           add a method to clean up.
19347         * gst/gstsystemclock.c: (gst_system_clock_dispose),
19348         (gst_system_clock_obtain):
19349           allow for disposing the system clock.
19350         * tools/gst-launch.c: (main):
19351           deinit
19352
19353 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19354
19355         * docs/gst/tmpl/gstbasesrc.sgml:
19356         * docs/gst/tmpl/gstfakesrc.sgml:
19357         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19358         (gst_base_src_init), (gst_base_src_set_property),
19359         (gst_base_src_get_property), (gst_base_src_get_range),
19360         (gst_base_src_start):
19361         * gst/base/gstbasesrc.h:
19362           add num-buffers property
19363         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19364         (gst_fakesrc_init), (gst_fakesrc_set_property),
19365         (gst_fakesrc_get_property), (gst_fakesrc_create),
19366         (gst_fakesrc_start):
19367           remove num-buffers property
19368
19369 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19370
19371         * docs/gst/gstreamer-sections.txt:
19372         * docs/gst/tmpl/gstbasesink.sgml:
19373         * docs/gst/tmpl/gstbasesrc.sgml:
19374         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
19375         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
19376         (gst_base_sink_finalize), (gst_base_sink_set_clock),
19377         (gst_base_sink_set_property), (gst_base_sink_get_property),
19378         (gst_base_sink_handle_object), (gst_base_sink_event),
19379         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19380         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
19381         (gst_base_sink_loop), (gst_base_sink_deactivate),
19382         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
19383         (gst_base_sink_change_state):
19384         * gst/base/gstbasesink.h:
19385         * gst/base/gstbasesrc.h:
19386         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
19387         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
19388         (gst_filesink_init):
19389           more macro splitting
19390
19391 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19392
19393         * gst/gstelement.c: (gst_element_get_bus):
19394           add debug
19395         * tools/gst-launch.c: (check_intr), (event_loop):
19396           fix bus leaks
19397
19398 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19399
19400         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
19401           fix a caps leak
19402
19403 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19404
19405         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19406         (gst_base_src_finalize):
19407           add finalize method and clean up properly
19408         * gst/gstpipeline.c: (gst_pipeline_dispose):
19409           add debug
19410
19411 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19412
19413         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
19414         (gst_bin_suite):
19415           add more things to check
19416         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19417         * gst/gstelement.c:
19418           more debug
19419
19420 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19421
19422         * check/elements/gstfakesrc.c: (chain_func), (event_func),
19423         (GST_START_TEST), (fakesrc_suite):
19424         * check/gst-libs/gdp.c: (GST_START_TEST):
19425         * check/gst/gst.c: (GST_START_TEST):
19426         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19427         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19428         * check/gst/gstbus.c: (GST_START_TEST):
19429         * check/gst/gstcaps.c: (GST_START_TEST):
19430         * check/gst/gstdata.c: (GST_START_TEST):
19431         * check/gst/gstelement.c: (GST_START_TEST):
19432         * check/gst/gstghostpad.c: (GST_START_TEST):
19433         * check/gst/gstiterator.c: (GST_START_TEST):
19434         * check/gst/gstmessage.c: (GST_START_TEST):
19435         * check/gst/gstobject.c: (GST_START_TEST):
19436         * check/gst/gstpad.c: (GST_START_TEST):
19437         * check/gst/gststructure.c: (GST_START_TEST):
19438         * check/gst/gstsystemclock.c: (GST_START_TEST),
19439         (gst_systemclock_suite):
19440         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19441         * check/gst/gstvalue.c: (GST_START_TEST):
19442         * check/pipelines/cleanup.c: (GST_START_TEST):
19443         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19444         * check/states/sinks.c: (GST_START_TEST):
19445         * check/gstcheck.c: (gst_check_init):
19446         * check/gstcheck.h:
19447           add debugging category
19448           use GST_START_TEST now, so we add a debug line
19449
19450 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19451
19452         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
19453           add test for state change message on a bin
19454         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
19455           add another test
19456         * gst/gstbin.c: (gst_bin_init):
19457         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
19458         * gst/gstelement.c: (gst_element_post_message),
19459         (gst_element_set_state):
19460         * gst/gstelementfactory.c: (gst_element_factory_create):
19461         * gst/gstmessage.c: (gst_message_new):
19462         * gst/gstscheduler.c:
19463           various debugging additions and cleanups
19464
19465 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19466
19467         * check/Makefile.am:
19468         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
19469         (main):
19470           adding tests for elements
19471         * gst/gstelement.c: (gst_element_dispose):
19472
19473 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19474
19475         * gst/registries/gstlibxmlregistry.c: (load_feature):
19476           plug more leaks.  A simple gst_init() now is leakfree, yay.
19477
19478 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19479
19480         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
19481         (gst_xml_registry_load):
19482           plug another memleak
19483
19484 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19485
19486         * configure.ac:
19487           use GST_SET_ERROR_CFLAGS
19488         * docs/faq/cvs.xml:
19489           change to ERROR_CFLAGS
19490
19491 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19492
19493         * configure.ac:
19494           make GST_ERROR_CFLAGS overridable and re-enable Werror
19495         * docs/faq/cvs.xml:
19496           add a note about error CFLAGS
19497         * docs/gst/tmpl/gstfakesrc.sgml:
19498         * gst/elements/gstfakesrc.c:
19499           comment out some unused code
19500         * gst/gst.c: (split_and_iterate):
19501         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
19502         (load_feature):
19503           plug some memleaks
19504
19505 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19506
19507         * common/Makefile.am:
19508         * common/gtk-doc.mak:
19509         * docs/gst/Makefile.am:
19510           factor out gtk-doc.mak
19511
19512 2005-07-07  Wim Taymans  <wim@fluendo.com>
19513
19514         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
19515         (gst_thread_scheduler_dispose):
19516         Unlock the STREAM_LOCK completely.
19517
19518 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19519
19520         * check/Makefile.am:
19521         * check/elements/.cvsignore:
19522         * check/elements/gstfakesrc.c: (chain_func), (event_func),
19523         (START_TEST), (fakesrc_suite), (main):
19524         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19525         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19526         (gst_fakesrc_create), (gst_fakesrc_start):
19527         * gst/elements/gstfakesrc.h:
19528           adding a first element test
19529
19530 2005-07-07  Andy Wingo  <wingo@pobox.com>
19531
19532         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
19533         debug message.
19534
19535 2005-07-07  Wim Taymans  <wim@fluendo.com>
19536
19537         * gst/gstquery.c:
19538         * gst/gstquery.h:
19539         Remove old types
19540
19541 2005-07-07  Wim Taymans  <wim@fluendo.com>
19542
19543         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19544         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
19545         Allow subclasses to implement their own negotiation.
19546
19547 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19548
19549         * docs/design/part-gstbin.txt:
19550         * docs/design/part-gstpipeline.txt:
19551           Update design notes to reflect the movement of
19552           responsibility for bus handling from GstPipeline to
19553           GstBin
19554
19555 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19556
19557         * configure.ac:
19558           Remove unnecessary queue2/3/4 examples.
19559
19560 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19561
19562         * examples/Makefile.am:
19563         * examples/helloworld/helloworld.c: (event_loop), (main):
19564         * examples/queue/queue.c: (event_loop), (main):
19565         * examples/queue2/queue2.c: (main):
19566           Update a couple of the examples to work again.
19567
19568         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19569         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
19570          Spelling corrections and extra debug.
19571         
19572         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
19573         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
19574         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
19575         * gst/gstbin.h:
19576         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
19577         (gst_pipeline_change_state):
19578         * gst/gstpipeline.h:
19579           Move the bus handler for children to the GstBin, and create a
19580           separate bus for receiving messages from children to the one the
19581           bus sends 'upwards' on.
19582
19583 2005-07-06  Wim Taymans  <wim@fluendo.com>
19584
19585         * gst/base/README:
19586         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19587         (gst_base_sink_handle_object), (gst_base_sink_loop),
19588         (gst_base_sink_change_state):
19589         * gst/base/gstbasesink.h:
19590         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19591         (gst_base_src_init), (gst_base_src_setcaps),
19592         (gst_base_src_getcaps), (gst_base_src_loop),
19593         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
19594         (gst_base_src_start), (gst_base_src_change_state):
19595         * gst/base/gstbasesrc.h:
19596         Make basesrc negotiate.
19597         Handle the case where preroll fails in basesink.
19598         Update README.
19599
19600 2005-07-06  Wim Taymans  <wim@fluendo.com>
19601
19602         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
19603         Implement the fixate function.
19604         Clean up acceptcaps.
19605
19606 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19607
19608         * docs/pwg/building-filterfactory.xml:
19609         * docs/pwg/pwg.xml:
19610           Remove never-written filter-factory chapter; I'll add the various
19611           base classes to part 4 ("other element types") later on.
19612
19613 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19614
19615         * docs/pwg/advanced-negotiation.xml:
19616         * docs/pwg/building-boiler.xml:
19617         * docs/pwg/building-pads.xml:
19618         * docs/pwg/pwg.xml:
19619         * examples/pwg/Makefile.am:
19620           Add a chapter on caps negotiation, simplify the original code
19621           samples a bit w.r.t. caps negotiation, add link to the advanced
19622           section. Add a bunch of examples showing different use cases of
19623           different types of caps negotiation. Upstream renegotiation isn't
19624           fully documented yet since nobody knows how that works.
19625
19626 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19627
19628         * check/gst/gstpad.c:
19629         * check/gstcheck.c:
19630         * gst/gstpad.c: (gst_pad_get_internal_links_default):
19631           if pad has no parent, return NULL as list of internal links
19632
19633 2005-07-05  Andy Wingo  <wingo@pobox.com>
19634
19635         * gst/elements/gstfilesrc.c:
19636         * gst/elements/gstfakesrc.c: 
19637         * gst/base/gstpushsrc.c:
19638         * gst/base/gstbasesrc.h: 
19639         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
19640         
19641 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
19642
19643         * Makefile.am:
19644           better report generation target (lcov needs a patch)
19645
19646 2005-07-05  Andy Wingo  <wingo@pobox.com>
19647
19648         * gst/elements, testsuite: Null if we got it...
19649
19650 2005-07-05  Wim Taymans  <wim@fluendo.com>
19651
19652         * configure.ac:
19653         * libs/gst/dataprotocol/Makefile.am:
19654         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
19655         * libs/gst/dataprotocol/dataprotocol.h:
19656         * pkgconfig/Makefile.am:
19657         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
19658         * pkgconfig/gstreamer-dataprotocol.pc.in:
19659         Ported dataprotol to 0.9. 
19660         Added pkgconfig files.
19661
19662 2005-07-05  Andy Wingo  <wingo@pobox.com>
19663
19664         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
19665         Default to returning TRUE for the case when tranform_caps returns
19666         a fixed caps, like for identity or volume.
19667
19668         * check/gst/gstbus.c (pound_bus_with_messages): 
19669         * check/gst/gstmessage.c (START_TEST): 
19670         * check/pipelines/simple_launch_lines.c (got_handoff): Application
19671         message API change.
19672
19673         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
19674         logic weaks here: always run transform_caps, trying passthrough
19675         operation only if the original caps intersects with the transform.
19676
19677         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
19678         source and sink caps.
19679
19680         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
19681         Intersect the peer caps with the pad template before going into
19682         transform_caps.
19683         (gst_base_transform_transform_caps): More debugging.
19684
19685         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
19686         src argument.
19687
19688 2005-07-04  Edward Hervey  <edward@fluendo.com>
19689
19690         * gst/gstutils.c:
19691         * gst/gstutils.h:
19692         (gst_pad_add_*_probe): now returns the signal id for better wrapping
19693         in bindings.
19694
19695 2005-07-04  Andy Wingo  <wingo@pobox.com>
19696
19697         * check/gst/gstpad.c: Only set explicit caps on pads.
19698
19699 2005-07-01  Andy Wingo  <wingo@pobox.com>
19700
19701         * tests/network-clock.scm: Commentary update.
19702
19703         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
19704         Didn't really make sense, not implementable with basetransform,
19705         etc.
19706         (gst_identity_transform): Unref inbuf via make_writable. Feeble
19707         attempt at implementing the sync property, needs an unlock method.
19708
19709         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
19710         New func, by default returns the same caps (the identity
19711         transformation).
19712         (gst_base_transform_getcaps): Uses transform_caps to return
19713         something sensible.
19714         (gst_base_transform_setcaps): Complicated logic to get caps on
19715         both pads, even if they are different, and to call set_caps once
19716         for every time both pads get their caps set.
19717         (gst_base_transform_handle_buffer): Give the ref to the transform
19718         function. Allows in-place modification of the buffer.
19719
19720         * gst/base/gstbasetransform.h (transform_caps): New class method.
19721         Given caps on one side, what can I do on the other.
19722         (set_caps): Take two caps, one for each side of the element.
19723
19724         * gst/gstpad.h:
19725         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
19726         caps in place. This is safe because we can check the mutability of
19727         the caps, and a good idea because fixate functions are just called
19728         as a matter of last resort. (Not actually implemented.)
19729         (gst_pad_set_caps): If the caps we're setting is actually the same
19730         as the existing pad caps, just update the pointer without calling
19731         setcaps. Assert that caps is either NULL or fixed, as per the
19732         docs.
19733
19734         * gst/gstghostpad.c: Update for fixate changes.
19735
19736 2005-07-02  Andy Wingo  <wingo@pobox.com>
19737
19738         * gst/gstcaps.c:
19739         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
19740         two refcounts makes it immutable, which is enough. Doc more.
19741
19742 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
19743
19744         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
19745           Put the mini_object into GValue as a mini_object,
19746           not a gpointer, since that's how we declared
19747           the signal.
19748
19749 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19750
19751         * examples/pwg/Makefile.am:
19752           Fix buildbot again.
19753
19754 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19755
19756         * docs/pwg/building-testapp.xml:
19757           Add extra check.
19758         * examples/pwg/Makefile.am:
19759           Fix buildbot.
19760
19761 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19762
19763         * configure.ac:
19764         * examples/Makefile.am:
19765         * examples/pwg/Makefile.am:
19766         * examples/pwg/extract.pl:
19767           Enable building the PWG examples.
19768         * docs/pwg/advanced-interfaces.xml:
19769           Add URI interface stub.
19770         * docs/pwg/advanced-types.xml:
19771         * docs/pwg/other-autoplugger.xml:
19772         * docs/pwg/appendix-porting.xml:
19773         * docs/pwg/pwg.xml:
19774           Add porting guide (mostly stubs), remove autoplugging (see ADM).
19775         * docs/pwg/building-boiler.xml:
19776         * docs/pwg/building-chainfn.xml:
19777         * docs/pwg/building-pads.xml:
19778         * docs/pwg/building-props.xml:
19779         * docs/pwg/building-state.xml:
19780         * docs/pwg/building-testapp.xml:
19781           Update the building-*.xml parts for 0.9 changes. All examples
19782           code blocks compile in examples/pwg/*.
19783
19784 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19785
19786         * docs/manual/advanced-autoplugging.xml:
19787         * docs/manual/appendix-checklist.xml:
19788         * docs/manual/appendix-integration.xml:
19789         * docs/manual/highlevel-components.xml:
19790           Fix playbin/decodebin examples, update docs a bit, mention bus
19791           instead of signals in various places, mention kmplayer and
19792           kaffeine since they have a working GStreamer backend in the KDE
19793           section.
19794
19795 2005-06-30  Wim Taymans  <wim@fluendo.com>
19796
19797         * CHANGES-0.9:
19798         * docs/design/draft-ghostpads.txt:
19799         * docs/design/draft-push-pull.txt:
19800         * docs/design/draft-query.txt:
19801         * docs/design/part-TODO.txt:
19802         * docs/design/part-query.txt:
19803         Added CHANGES-0.9 doc, updated status of other docs.
19804         
19805         * gst/gstquery.h:
19806         Remove "hmm" macro
19807
19808 2005-06-30  Wim Taymans  <wim@fluendo.com>
19809
19810         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19811         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
19812         (gst_base_sink_change_state):
19813         * gst/base/gstbasesink.h:
19814         Some tweaks, only EOS and a buffer complete a preroll.
19815
19816 2005-06-30  Andy Wingo  <wingo@pobox.com>
19817
19818         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
19819         activate_push down to the internal pad as well.
19820
19821 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
19822
19823         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19824
19825         * gst/gsttaginterface.c:
19826           Some documentation fixes (#307394 and #307397).
19827
19828 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
19829
19830         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19831
19832         * gst/gstvalue.c: (gst_value_intersect_list):
19833           Fix memleak (#309125).
19834
19835 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19836
19837         * docs/manual/advanced-dataaccess.xml:
19838           Fix fakesrc example to compile; doesn't work, bug somewhere...?
19839         * docs/manual/basics-pads.xml:
19840           Add reference for filtered caps to above chapter.
19841
19842 2005-06-30  Wim Taymans  <wim@fluendo.com>
19843
19844         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
19845         (gst_bin_change_state):
19846         Probes are gone.
19847         Lame attempt at making the state change function a bit
19848         more readable.
19849
19850 2005-06-30  Wim Taymans  <wim@fluendo.com>
19851
19852         * docs/design/part-clocks.txt:
19853         * docs/design/part-element-sink.txt:
19854         * docs/design/part-events.txt:
19855         * docs/design/part-preroll.txt:
19856         * docs/design/part-states.txt:
19857         Some more tweeks and additions to the docs.
19858
19859 2005-06-30  Wim Taymans  <wim@fluendo.com>
19860
19861         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19862         (default_have_data), (gst_pad_class_init), (gst_pad_init),
19863         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19864         (gst_pad_check_pull_range), (gst_pad_get_range),
19865         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
19866         * gst/gstpad.h:
19867         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
19868         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19869         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19870         (gst_pad_remove_buffer_probe):
19871         Removed atomic operations, use existing LOCK.
19872         Move exception handling out of main code path.
19873
19874 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19875
19876         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19877         (silly_return_true_function), (gst_pad_class_init),
19878         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19879         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
19880         (gst_pad_send_event):
19881           Fix accumulator, add default value by using _emitv() instead
19882           of _emit() for signal emission.
19883
19884 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19885
19886         * docs/manual/advanced-dataaccess.xml:
19887         * examples/manual/Makefile.am:
19888           Add probe example.
19889         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
19890           Make work (??).
19891
19892 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
19893
19894         * gst/elements/gstfilesink.c: (gst_filesink_render):
19895           Simplify code so that we don't have to handle short
19896           writes and return GST_FLOW_ERROR if an error occured.
19897
19898 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19899
19900         * docs/gst/gstreamer-docs.sgml:
19901           Remove probes more.
19902
19903 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19904
19905         * docs/gst/gstreamer-sections.txt:
19906         * docs/gst/tmpl/gstpad.sgml:
19907         * docs/gst/tmpl/gstprobe.sgml:
19908         * gst/Makefile.am:
19909         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19910         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
19911         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
19912         (gst_pad_push_event), (gst_pad_send_event):
19913         * gst/gstpad.h:
19914         * gst/gstutils.c: (gst_pad_add_data_probe),
19915         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19916         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19917         (gst_pad_remove_buffer_probe):
19918         * gst/gstutils.h:
19919           Remove old probes, add new g-signal-based probes and some utility
19920           functions.
19921
19922 2005-06-29  Edward Hervey  <edward@fluendo.com>
19923
19924         * gst/gstelementfactory.c:
19925         * gst/gstutils.h:
19926         * gst/gstutils.c:
19927         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
19928         the definition to the header file.
19929
19930 2005-06-29  Andy Wingo  <wingo@pobox.com>
19931
19932         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
19933         plugins from the source directory.
19934
19935 2005-06-29  Wim Taymans  <wim@fluendo.com>
19936
19937         * docs/gst/tmpl/gstbuffer.sgml:
19938         * docs/gst/tmpl/gstclock.sgml:
19939         Some fixings for blantently wrong text.
19940
19941 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19942
19943         * check/Makefile.am:
19944         * gst/gst.c: (add_path_func), (init_pre):
19945         * gst/gstregistry.c: (gst_registry_add_path):
19946           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
19947           only scan the GST_PLUGIN_PATH locations, and not add
19948           system locations
19949
19950 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19951
19952         * docs/gst/gstreamer-sections.txt:
19953         * docs/gst/tmpl/gstbasesrc.sgml:
19954         * gst/gstelement.c:
19955         * gst/gstelement.h:
19956         * gst/gstevent.c:
19957         * gst/gstutils.c:
19958           doc fixes
19959
19960 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19961
19962         * docs/manual/advanced-autoplugging.xml:
19963           Fix autoplugging example.
19964
19965 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19966
19967         * docs/manual/advanced-autoplugging.xml:
19968         * docs/manual/mime-world.fig:
19969           Try to get autoplugging working, fix type detection. Fix text
19970           in hello-world image.
19971
19972 2005-06-29  Wim Taymans  <wim@fluendo.com>
19973
19974         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19975         (gst_base_sink_change_state):
19976         Small debug line.
19977
19978         * gst/gstclock.h:
19979         map SIGNAL and BROADCAST to the right function.
19980
19981         * gst/gstobject.h:
19982         Remove redundant braces.
19983
19984         * gst/gstpad.c: (gst_pad_set_caps):
19985         Don't call setcaps function when reseting caps to NULL.
19986
19987         * gst/gstsystemclock.c: (gst_system_clock_dispose),
19988         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
19989         (gst_system_clock_id_unschedule):
19990         Use BROADCAST as this is what we do.
19991
19992 2005-06-29  Wim Taymans  <wim@fluendo.com>
19993
19994         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19995         We are actually prerolling before commiting the state
19996         change. 
19997
19998 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19999
20000         * docs/manual/advanced-clocks.xml:
20001         * docs/manual/advanced-interfaces.xml:
20002         * docs/manual/advanced-metadata.xml:
20003         * docs/manual/advanced-position.xml:
20004         * docs/manual/advanced-schedulers.xml:
20005         * docs/manual/advanced-threads.xml:
20006         * docs/manual/appendix-porting.xml:
20007         * docs/manual/basics-bins.xml:
20008         * docs/manual/basics-bus.xml:
20009         * docs/manual/basics-elements.xml:
20010         * docs/manual/basics-helloworld.xml:
20011         * docs/manual/basics-pads.xml:
20012         * docs/manual/highlevel-components.xml:
20013         * docs/manual/manual.xml:
20014         * docs/manual/thread.fig:
20015           Update (until threads/scheduling) Application Development Manual;
20016           remove GstThread, add GstBus, add simple porting checklist, add
20017           documentation for tag writing, clocks, make all examples until this
20018           part compile and run.
20019         * examples/manual/Makefile.am:
20020           Update from changes to Application Development Manual; add bus
20021           example, remove thread example.
20022
20023 2005-06-28  Wim Taymans  <wim@fluendo.com>
20024
20025         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
20026         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
20027         (gst_bus_source_dispatch):
20028         Add debugging messages.
20029         Make internal methods static.
20030         Handle the case where the bus is flushed in the handler.
20031         
20032         * gst/gstelement.c: (gst_element_get_bus):
20033         Fix refcount in _get_bus();
20034
20035         * gst/gstpipeline.c: (gst_pipeline_change_state),
20036         (gst_pipeline_get_clock_func):
20037         Clock refcounting fixes.
20038         Handle the case where preroll timed out more gracefully.
20039         
20040         * gst/gstsystemclock.c: (gst_system_clock_dispose):
20041         Clean up the internal thread in dispose. This is needed
20042         for subclasses that actually get disposed.
20043         
20044         * gst/schedulers/threadscheduler.c:
20045         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
20046         (gst_thread_scheduler_dispose):
20047         Free thread pool in dispose.
20048
20049 2005-06-28  Andy Wingo  <wingo@pobox.com>
20050
20051         * tests/network-clock-utils.scm (debug, print-event): New utils.
20052
20053         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
20054         (*packet-loss*): Unified loss probability.
20055         (network-time): Report out-of-band events.
20056
20057         * tests/plot-data: Add support for out-of-band events. Hack it
20058         into this script instead of passing it down the pipe; should fix
20059         this later.
20060
20061 2005-06-28  Wim Taymans  <wim@fluendo.com>
20062
20063         * docs/gst/gstreamer.types:
20064         * docs/gst/tmpl/gstbasesrc.sgml:
20065         * docs/gst/tmpl/gstpad.sgml:
20066         Docs fixes.
20067
20068 2005-06-28  Wim Taymans  <wim@fluendo.com>
20069
20070         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20071         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
20072         (gst_proxy_pad_do_fixatecaps):
20073         Correctly proxy the check_pull_range function.
20074
20075 2005-06-28  Andy Wingo  <wingo@pobox.com>
20076
20077         * tests/network-clock.scm: Removed need for slib.
20078         
20079 2005-06-28  Wim Taymans  <wim@fluendo.com>
20080
20081         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
20082         (gst_basesink_preroll_queue_flush):
20083         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
20084         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
20085         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20086         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
20087         (gst_proxy_pad_set_property):
20088         * gst/gstpad.c:
20089         * gst/gstpad.h:
20090         * gst/gstqueue.c: (gst_queue_init):
20091         The deprecated pad loop function is removed now.
20092
20093 2005-06-28  Andy Wingo  <wingo@pobox.com>
20094
20095         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
20096         New parameters, simulate network packet loss.
20097
20098         * tests/network-clock-utils.scm: Initialize the RNG.
20099
20100 2005-06-28  Wim Taymans  <wim@fluendo.com>
20101
20102         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
20103         (gst_basesink_event), (gst_basesink_deactivate):
20104         Flushing the preroll queue always needs to unlock the waiters.
20105
20106 2005-06-28  Edward Hervey  <edward@fluendo.com>
20107
20108         * gst/gstpipeline.c: (gst_pipeline_send_event): 
20109         Wheen a seek was successful on a pipeline, set the stream_time to the
20110         seek offset in order to have a synchronized stream_time.
20111
20112 2005-06-28  Wim Taymans  <wim@fluendo.com>
20113
20114         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20115         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
20116         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
20117         (gst_proxy_pad_do_fixatecaps):
20118         Call wrapper function instead of just calling the function
20119         pointers. This takes care of any locking and whatmore.
20120
20121 2005-06-28  Wim Taymans  <wim@fluendo.com>
20122
20123         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
20124         (gst_pad_pull_range):
20125         * gst/gstpad.h:
20126         CONNECTED -> LINKED.
20127
20128 2005-06-28  Andy Wingo  <wingo@pobox.com>
20129
20130         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
20131         source-munging commit!!!
20132
20133         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
20134         (gst_object_sink): Take gpointer arguments, not GstObject --
20135         avoids casts. Like GLib.
20136
20137         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
20138         activate.
20139
20140 2005-06-27  Andy Wingo  <wingo@pobox.com>
20141
20142         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
20143         remaining buffer.
20144
20145         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
20146         returns a sorted copy of the trace list.
20147         (gst_alloc_trace_print_live): New API, only prints traces with
20148         live objects. Sort the list.
20149         (gst_alloc_trace_print_all): Sort the list.
20150         (gst_alloc_trace_print): Align columns.
20151
20152         * gst/elements/gstttypefindelement.c:
20153         * gst/elements/gsttee.c:
20154         * gst/base/gstbasesrc.c:
20155         * gst/base/gstbasesink.c:
20156         * gst/base/gstbasetransform.c:
20157         * gst/gstqueue.c: Adapt for pad activation changes.
20158
20159         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
20160         sched.
20161         (gst_pipeline_dispose): Drop ref on sched.
20162
20163         * gst/gstpad.c (gst_pad_init): Set the default activate func.
20164         (gst_pad_activate_default): Push mode by default.
20165         (pre_activate_switch, post_activate_switch): New stubs, things to
20166         do before and after switching activation modes on pads.
20167         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
20168         the pad's activate function to choose which mode to activate.
20169         Shortcut on deactivation and call the right function directly.
20170         (gst_pad_activate_pull): New API, (de)activates a pad in pull
20171         mode.
20172         (gst_pad_activate_push): New API, same for push mode.
20173         (gst_pad_set_activate_function) 
20174         (gst_pad_set_activatepull_function) 
20175         (gst_pad_set_activatepush_function): Setters for new API.
20176
20177         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
20178         Trace all miniobjects.
20179         (gst_mini_object_make_writable): Unref the arg if we copy, like
20180         gst_caps_make_writable.
20181
20182         * gst/gstmessage.c (_gst_message_initialize): No trace init.
20183
20184         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
20185         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
20186         Adapt for new pad API.
20187
20188         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
20189
20190         * gst/gstelement.h:
20191         * gst/gstelement.c (gst_element_iterate_src_pads) 
20192         (gst_element_iterate_sink_pads): New API functions.
20193         
20194         * gst/gstelement.c (iterator_fold_with_resync): New utility,
20195         should fold into gstiterator.c in some form.
20196         (gst_element_pads_activate): Simplified via use of fold and
20197         delegation of decisions to gstpad->activate.
20198
20199         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
20200         help in debugging.
20201
20202         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
20203         class once in init, like gstmessage. Didn't run into this issue
20204         but it seems correct. Don't initialize a trace, gstminiobject does
20205         that.
20206
20207         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
20208         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
20209         to the bus.
20210         (assert_live_count): New util function, uses alloc traces to check
20211         cleanup.
20212
20213         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
20214         To be modified when unlink drops the internal pad.
20215
20216 2005-06-27  Wim Taymans  <wim@fluendo.com>
20217
20218         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
20219         (gst_bin_change_state):
20220         Cleanup the get_state() function a little, make sure it
20221         iterates the same set of elements.
20222         Added stub iterate_state_order().
20223
20224 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20225
20226         * docs/gst/gstreamer-docs.sgml:
20227         * docs/gst/gstreamer-sections.txt:
20228         * docs/gst/gstreamer.types:
20229         * docs/gst/tmpl/gstbasesink.sgml:
20230         * docs/gst/tmpl/gstbasesrc.sgml:
20231         * docs/gst/tmpl/gstbasetransform.sgml:
20232         * docs/gst/tmpl/gstelement.sgml:
20233         * docs/gst/tmpl/gstiterator.sgml:
20234         * gst/base/gstbasesrc.c:
20235         * gst/base/gstbasesrc.h:
20236         * gst/base/gstbasetransform.h:
20237         * gst/gstelement.c:
20238         * gst/gstiterator.h:
20239           adding basetransform and iterator docs
20240
20241 2005-06-27  Andy Wingo  <wingo@pobox.com>
20242
20243         * docs/design/part-activation.txt: Notes on how activation should
20244         work -- not quite implemented yet.
20245
20246 2005-06-25  Wim Taymans  <wim@fluendo.com>
20247
20248         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
20249         At least get the chain function correct, needs more
20250         fixing.
20251
20252 2005-06-25  Wim Taymans  <wim@fluendo.com>
20253
20254         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20255         (gst_basesink_handle_object), (gst_basesink_event),
20256         (gst_basesink_do_sync), (gst_basesink_handle_event),
20257         (gst_basesink_change_state):
20258         * gst/gsttask.h:
20259         Right, two problems here: ghostpads don't take locks and
20260         glib _rec_mutex_lock_full() with depth==0 still locks.
20261         Catch illegal locking and g_warn them.
20262
20263 2005-06-25  Wim Taymans  <wim@fluendo.com>
20264
20265         * check/states/sinks.c: (START_TEST), (gst_object_suite):
20266         Have to check for completion now...
20267
20268 2005-06-25  Wim Taymans  <wim@fluendo.com>
20269
20270         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20271         (gst_basesink_handle_object), (gst_basesink_event),
20272         (gst_basesink_do_sync), (gst_basesink_handle_event),
20273         (gst_basesink_change_state):
20274         * gst/gstpad.h:
20275         Unlock STREAM_LOCK whatever the recursion was.
20276
20277 2005-06-25  Wim Taymans  <wim@fluendo.com>
20278
20279         * gst/base/gstbasesink.c: (gst_basesink_set_property),
20280         (gst_basesink_preroll_queue_empty),
20281         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
20282         (gst_basesink_event), (gst_basesink_do_sync),
20283         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
20284         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
20285         (gst_basesink_change_state):
20286         Reworked the base sink, handle event and buffer serialisation
20287         correctly and removed possible deadlock.
20288         Handle EOS correctly.
20289
20290 2005-06-25  Wim Taymans  <wim@fluendo.com>
20291
20292         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
20293         (gst_pipeline_change_state):
20294         * tools/gst-launch.c: (check_intr), (event_loop), (main):
20295         Allow elements to post EOS in the state change function.
20296         Fix up -launch, make it exit the poll loop when the
20297         pipeline actually changed state.
20298         Fix up warning parsing in -launch.
20299
20300 2005-06-25  Wim Taymans  <wim@fluendo.com>
20301
20302         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
20303         (gst_tee_sink_activate):
20304         Core takes STREAM_LOCK for us now.
20305
20306 2005-06-25  Wim Taymans  <wim@fluendo.com>
20307
20308         * gst/gstelement.c: (gst_element_get_state_func),
20309         (gst_element_set_state):
20310         * gst/gstelement.h:
20311         * gst/gstmessage.c: (gst_message_parse_error),
20312         (gst_message_parse_warning):
20313         Keep track of current target state while performing a state
20314         change so that subclasses can do something interesting.
20315         Fix parsing of warning/error messages when GError is NULL.
20316
20317 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20318
20319         * docs/gst/Makefile.am:
20320         * docs/gst/gstreamer-docs.sgml:
20321         * docs/gst/gstreamer-sections.txt:
20322         * docs/gst/gstreamer.types:
20323         * docs/gst/tmpl/gstbasesink.sgml:
20324         * docs/gst/tmpl/gstbasesrc.sgml:
20325         * docs/gst/tmpl/gstbin.sgml:
20326         * docs/gst/tmpl/gstcompat.sgml:
20327         * docs/gst/tmpl/gstfakesink.sgml:
20328         * docs/gst/tmpl/gstfakesrc.sgml:
20329         * docs/gst/tmpl/gstfilesink.sgml:
20330         * docs/gst/tmpl/gstfilesrc.sgml:
20331         * docs/gst/tmpl/gstindex.sgml:
20332         * docs/manual/appendix-quotes.xml:
20333         * gst/base/gstbasesrc.h:
20334         * gst/elements/gstfakesrc.h:
20335         * gst/gstmessage.h:
20336           start pulling in base classes and elements in our docs
20337
20338 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
20339
20340         * docs/gst/Makefile.am:
20341         * docs/libs/Makefile.am:
20342           fixed make distcheck with gtk-doc 1.3
20343
20344 2005-06-23  Wim Taymans  <wim@fluendo.com>
20345
20346         * gst/gstelement.c: (gst_element_get_state_func),
20347         (gst_element_set_state), (gst_element_change_state):
20348         When the state did not change, also report NO_PREROLL
20349         when it matters.
20350
20351 2005-06-23  Wim Taymans  <wim@fluendo.com>
20352
20353         * gst/gstpad.c: (gst_pad_event_default):
20354         * gst/gstqueue.c: (gst_queue_loop):
20355         No unsafe task pausing please.
20356
20357 2005-06-23  Wim Taymans  <wim@fluendo.com>
20358
20359         * gst/schedulers/threadscheduler.c:
20360         (gst_thread_scheduler_task_start),
20361         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
20362         Ref the task before pushing it on the threadpool. This
20363         makes sure that we have a ref when the threadfunction is
20364         actually called.
20365
20366 2005-06-23  Andy Wingo  <wingo@pobox.com>
20367
20368         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
20369         offset is greater than the file's size.
20370
20371         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
20372         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
20373         * gst/gstobject.c (gst_object_class_init): Make the class lock
20374         recursive. Wim won't let me drop deep_notify. Decodebin works
20375         again, whoopdy doo.
20376
20377         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
20378         internal pad, and hacks accordingly. Doesn't do it on the target
20379         pad because we change its caps. Probably catches all cases of
20380         interest tho.
20381         (gst_ghost_pad_set_property): Connect to notify::caps as
20382         appropritate.
20383
20384         * tests/network-clock.scm (plot-simulation): Pipe data to the
20385         elite python skript.
20386
20387         * tests/network-clock-utils.scm (define-parameter): New macro,
20388         defines a parameter that can be set via the command line.
20389         (set-parameter!, parse-parameter-arguments): Command line args
20390         parser.
20391
20392         * tests/plot-data: Simple matplotlib-based plotter, takes input on
20393         stdin.
20394
20395 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
20396
20397         * gst/elements/gsttypefindelement.c:
20398         (gst_type_find_element_handle_event):
20399           Don't restart typefinding on a discont.
20400         * gst/gstelement.c: (gst_element_set_state):
20401           Debug spelling fix.
20402         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
20403           Allow changing mode of an active pad.
20404           Debug output fixes.
20405         * gst/registries/gstlibxmlregistry.c: (load_feature):
20406           Don't cast a static pad template to a normal pad template.
20407
20408 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20409
20410         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20411         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20412           remove gst_strtoll completely, since it didn't actually do
20413           anything more than what g_ascii_strtoull already does.
20414           check for range errors when deserializing
20415           do a cast for the unsigned cases; but further fixing needs
20416           a decision on what the interpretation of "(int)" and
20417           deserialization should be for values that fall outside the
20418           type's boundaries (ie, refuse, or interpret as casting)
20419
20420 2005-06-23  Wim Taymans  <wim@fluendo.com>
20421
20422         * check/Makefile.am:
20423         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
20424         * docs/design/part-live-source.txt:
20425         * docs/design/part-states.txt:
20426         * gst/base/gstbasesrc.c: (gst_basesrc_init),
20427         (gst_basesrc_set_live), (gst_basesrc_is_live),
20428         (gst_basesrc_get_range), (gst_basesrc_activate),
20429         (gst_basesrc_change_state):
20430         * gst/base/gstbasesrc.h:
20431         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20432         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
20433         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
20434         * gst/gstelement.c: (gst_element_get_state_func),
20435         (gst_element_set_state):
20436         * gst/gstelement.h:
20437         * gst/gsttypes.h:
20438         * tools/gst-launch.c: (event_loop), (main):
20439         Added support for live sources and other elements that
20440         cannot do preroll.
20441         Updated design docs, added live-source design doc.
20442         Implemented live source functionality in basesrc
20443         Fix error condition in _bin_get_state()
20444         Implement live source handling in -launch.
20445         Added check for live sources.
20446         Fixed case in GstBin where elements were changed state
20447         multiple times.
20448
20449
20450 2005-06-23  Andy Wingo  <wingo@pobox.com>
20451
20452         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
20453         borken refcounting.
20454
20455         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
20456         gst_caps_replace takes care of this for us.
20457
20458         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
20459         gst_pad_set_caps on the target, not just its setcaps() function.
20460
20461         * tests/network-clock.scm: 
20462         * tests/network-clock-utils.scm: A network clock simulator.
20463         Something of an algorithmic testbed before doing something in C.
20464
20465 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20466
20467         * check/Makefile.am:
20468         * check/gst/capslist.h:
20469           copy over from 0.8, and add two with bitmasks specified with
20470           (int) 0xFF...
20471         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20472           add test to parse everything from capslist.h
20473         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
20474         (main):
20475           add test for structure deserialization
20476         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20477           add tests for deserialization of strings to int types
20478         * gst/gststructure.c: (gst_structure_nth_field_name):
20479         * gst/gststructure.h:
20480           add a way to get the name of a field referenced by index
20481         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20482           instead of checking if the resulting long long lies between
20483           min and max, we check if the long long would fit into
20484           a number of bytes for the final type.
20485           This fixes cases where a string represents 2^32 - 1, which
20486           when cast to int would be the (valid) -1, but is bigger than
20487           G_MAXINT
20488
20489 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20490
20491         * gst/parse/grammar.y:
20492           add a log line for type deserialization
20493
20494 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20495
20496         * check/gst/gstvalue.c: (START_TEST):
20497         * gst/gstvalue.c: (gst_value_deserialize):
20498           return long long, not int, so gint64 deserialization actually
20499           works.  Is there any flag that makes the compiler check this ?
20500           Fixes #308559
20501
20502 2005-06-22  Wim Taymans  <wim@fluendo.com>
20503
20504         * gst/gstbuffer.h:
20505         Added convenience macros for setting buffers in GValue.
20506
20507 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20508
20509         * check/gst/.cvsignore:
20510         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20511           add a test deserializing int64, and comment part out because
20512           it fails, yay !
20513
20514 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20515
20516         * check/Makefile.am:
20517         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
20518         * testsuite/Makefile.am:
20519         * testsuite/caps/Makefile.am:
20520         * testsuite/caps/value_serialize.c:
20521         * testsuite/test_gst_init.c:
20522           move a value_serialize test over
20523
20524 2005-06-20  Wim Taymans  <wim@fluendo.com>
20525
20526         * gst/gstpad.c:
20527         Small doc updates.
20528         
20529         * gst/gstvalue.c: (gst_value_compare_buffer),
20530         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
20531         (gst_value_compare_flags), (gst_value_serialize_flags),
20532         (gst_value_deserialize_flags), (_gst_value_initialize):
20533         Fix serialisation of buffers, they are not boxed types anymore
20534
20535 2005-06-20  Wim Taymans  <wim@fluendo.com>
20536
20537         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20538         Testcase to show error in buffer-on-caps serialisation.
20539
20540 2005-06-20  Andy Wingo  <wingo@pobox.com>
20541
20542         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
20543         will be adding to later.
20544
20545         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
20546         if its socks fill with rocks.
20547         (gst_system_clock_obtain): Set the name on object construction.
20548         Avoid double-checked locking.
20549
20550 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
20551
20552         * gst/gsturi.c: (gst_element_make_from_uri):
20553           Fix potential endless loop.
20554
20555 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20556
20557         * check/Makefile.am:
20558           add gsttag
20559         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
20560         (main):
20561           move over from testsuite dir and clean up
20562         * configure.ac:
20563         * gst/gsttag.c:
20564         * testsuite/Makefile.am:
20565         * testsuite/tags/.cvsignore:
20566         * testsuite/tags/Makefile.am:
20567         * testsuite/tags/merge.c:
20568           remove testsuite/tags
20569
20570 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20571
20572         * docs/gst/gstreamer-sections.txt:
20573         * docs/gst/tmpl/gstenumtypes.sgml:
20574         * win32/gstenumtypes.c:
20575           clean up documentation build a little
20576
20577 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20578
20579         * check/gstcheck.h:
20580           add macros for checking refcounts on objects and caps
20581         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
20582           add some more unit tests
20583         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20584         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
20585           fix leaked refcounts (I hope :)) so unittest works
20586         * gst/gstpad.h:
20587           whitespace removal
20588
20589 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20590
20591         * configure.ac: back to HEAD
20592
20593 === release 0.9.1 ===
20594
20595 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20596
20597         * NEWS:
20598         * RELEASE:
20599           updated
20600
20601 2005-06-17  Andy Wingo  <wingo@pobox.com>
20602
20603         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
20604         assert; it's always possible that the pad gets deactivated in
20605         between the checks in gstpad.c and the implementation. Rely on
20606         finish_preroll() to return a FLUSHING or similar instead of on the
20607         assert.
20608         
20609         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
20610         clock and post an EOS message if we come out of finish_preroll in
20611         the playing state.
20612
20613 2005-06-16  David Schleef  <ds@schleef.org>
20614
20615         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20616         (gst_capsfilter_set_property): Allow NULL as possible value
20617         for filter_caps property, indicating GST_CAPS_ANY.
20618
20619 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20620
20621         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
20622           fix debug output
20623         * gst/schedulers/Makefile.am:
20624           use libgst prefix
20625         * gstreamer.spec.in:
20626           fix spec for it
20627
20628 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20629
20630         * gstreamer.spec.in:
20631           clean up
20632
20633 2005-06-08  Andy Wingo  <wingo@pobox.com>
20634
20635         * gst/gstutils.c: RPAD fixes all around.
20636         (gst_element_link_pads): Refcounting fixes.
20637
20638         * tools/gst-inspect.c:
20639         * tools/gst-xmlinspect.c:
20640         * parse/grammar.y:
20641         * gst/base/gsttypefindhelper.c:
20642         * gst/base/gstbasesink.c:
20643         * gst/gstqueue.c: RPAD fixes.
20644
20645         * gst/gstghostpad.h:
20646         * gst/gstghostpad.c: New ghost pad implementation as full proxy
20647         pads. The tricky thing is they provide both source and sink
20648         interfaces, since they proxy the internal pad for the external
20649         pad, and vice versa. Implement with lower-level ProxyPad objects,
20650         with the interior proxy pad as a child of the exterior ghost pad.
20651         Should write a doc on this.
20652         
20653         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
20654         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
20655         gst_object API.
20656         
20657         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
20658         pads are real pads. No ghost pads in this file. Not documenting
20659         the myriad s/RPAD/PAD/ and REALIZE fixes.
20660         (gst_pad_class_init): Add properties for "direction" and
20661         "template". Both are construct-only, so they can't change during
20662         the life of the pad. Fixes properly deriving from GstPad.
20663         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
20664         derived objects, just set properties when creating the objects via
20665         g_object_new.
20666         (gst_pad_get_parent): Implement as a function, return NULL if the
20667         parent is not an element.
20668         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
20669         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
20670         
20671         * gst/gstobject.c (gst_object_class_init): Make name a construct
20672         property. Don't set it in the object init.
20673
20674         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
20675         with UNKNOWN direction.
20676         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
20677         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
20678         (gst_element_remove_pad): Remove ghost-pad special cases.
20679         (gst_element_pads_activate): Remove rpad cruft.
20680
20681         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
20682         catch the pad's-parent-not-an-element case.
20683
20684         * gst/gst.h: Include gstghostpad.h.
20685
20686         * gst/gst.c (init_post): No more real, ghost pads.
20687
20688         * gst/Makefile.am: Add gstghostpad.[ch].
20689
20690         * check/Makefile.am:
20691         * check/gst/gstbin.c:
20692         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
20693         into a bin creates ghost pads, and that the refcounts are right.
20694         Partly moved from gstbin.c.
20695
20696 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20697
20698         * check/gst-libs/.cvsignore:
20699         * check/gst/.cvsignore:
20700         * check/pipelines/.cvsignore:
20701           ignore more
20702         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
20703         (START_TEST), (cleanup_suite), (main):
20704           add some tests related to cleanup after running pipelines
20705
20706 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20707
20708         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
20709           add a testsuite for GstBuffer
20710
20711 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20712
20713         * gst/gstminiobject.h:
20714           add defines for accessing the refcount
20715
20716 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
20717
20718         * Makefile.am: added support for html unit test coverage reports
20719
20720 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
20721
20722         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
20723           Free existing caps if the capsfilter changes. Add a FIXME about
20724           setting those caps on the pads.
20725
20726         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
20727           Before adding a ghost pad to a parent bin, check that there isn't
20728           already one for the element on the bin. Prevents infinite recursion
20729           when using decodebin in parse pipelines. Andy says he'll rewrite the
20730           way this works anyway, so ignore the hack.
20731
20732 2005-06-02  Andy Wingo  <wingo@pobox.com>
20733
20734         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
20735         file size, pass it on to the type find helper.
20736
20737         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
20738         segment_start and segment_end properly according to the seek
20739         method. Segment_end is still a bit flaky because offset can be
20740         negative for CUR and END cases, but it takes -1 as an "unset"
20741         value.
20742
20743 2005-06-02  Wim Taymans  <wim@fluendo.com>
20744
20745         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
20746         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
20747         (gst_basesink_activate):
20748         * gst/base/gstbasesink.h:
20749         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20750         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20751         (gst_pad_query), (gst_pad_start_task):
20752         * gst/gstpad.h:
20753         * gst/gstqueue.c: (gst_queue_bufferalloc),
20754         (gst_queue_handle_sink_event), (gst_queue_chain):
20755         Bufferalloc: return GstFlowReturn to more accuratly report
20756         why allocation failed.
20757
20758 2005-06-02  Wim Taymans  <wim@fluendo.com>
20759
20760         * gst/gstpipeline.c: (gst_pipeline_send_event):
20761         Take snapshot of state without blocking.
20762
20763 2005-06-02  Wim Taymans  <wim@fluendo.com>
20764
20765         * docs/design/part-TODO.txt:
20766         * docs/design/part-caps.txt:
20767         * docs/design/part-clocks.txt:
20768         * docs/design/part-negotiation.txt:
20769         * docs/design/part-preroll.txt:
20770         Small doc updates 
20771
20772 2005-05-30  Wim Taymans  <wim@fluendo.com>
20773
20774         * gst/elements/gstidentity.c: (gst_identity_event),
20775         (gst_identity_transform), (gst_identity_get_property):
20776         Protect last_message property as it is accessed from
20777         multiple threads.
20778
20779 2005-05-30  Wim Taymans  <wim@fluendo.com>
20780
20781         * gst/gstelement.c: (gst_element_init),
20782         (gst_element_pads_activate), (gst_element_change_state):
20783         Slicker pad activation code.
20784
20785 2005-05-30  Wim Taymans  <wim@fluendo.com>
20786
20787         * gst/Makefile.am:
20788         * gst/gstelement.h:
20789         * gst/gstelementfactory.h:
20790         * gst/gsttypes.h:
20791         Move elementfactory methods to separate .h file.
20792
20793 2005-05-30  Wim Taymans  <wim@fluendo.com>
20794
20795         * docs/design/part-overview.txt:
20796         * gst/gstsystemclock.h:
20797         Small typo fixes, doc updates.
20798
20799 2005-05-30  Wim Taymans  <wim@fluendo.com>
20800
20801         * gst/gst.c: (gst_init_get_popt_table), (init_post),
20802         (init_popt_callback):
20803         Remove cpu-opt flag.
20804
20805 2005-05-30  Wim Taymans  <wim@fluendo.com>
20806
20807         * gst/gstbuffer.c: (gst_subbuffer_finalize),
20808         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
20809         * gst/gstbuffer.h:
20810         Avoid typechecking in places where not needed.
20811         Added accessor for malloc_data.
20812
20813 2005-05-30  Wim Taymans  <wim@fluendo.com>
20814
20815         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
20816         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
20817         (gst_pad_configure_sink), (gst_pad_configure_src),
20818         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
20819         (gst_pad_start_task):
20820         Propagate errors from _set_caps() in configure_src/sink
20821         functions instead of returning TRUE.
20822         FLUSH events can travel up and downstream
20823
20824
20825 2005-05-30  Wim Taymans  <wim@fluendo.com>
20826
20827         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20828         (gst_basesink_activate):
20829         Handle EOS in preroll.
20830
20831 2005-05-30  Wim Taymans  <wim@fluendo.com>
20832
20833         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20834         (gst_queue_loop), (gst_queue_handle_src_event):
20835         Remove old pieces of code
20836         Flushing the queue in an upstream event is a very bad idea.
20837
20838 2005-05-26  Andy Wingo  <wingo@pobox.com>
20839
20840         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
20841         gst_value_set_mini_object so as to add a ref on the object (which
20842         will be removed when the value is unset).
20843
20844         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
20845         arg type in ::handoff.
20846
20847         * gst/gstelement.c (gst_element_change_state): Also deactivate
20848         pads in READY->NULL, just in case the element didn't make it to
20849         PAUSED. Wingo tested, Wim approved.
20850
20851 2005-05-26  Wim Taymans  <wim@fluendo.com>
20852
20853         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20854         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20855         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
20856         A flushing pad cannot be used to alloc_buffer from.
20857
20858 2005-05-26  Wim Taymans  <wim@fluendo.com>
20859
20860         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
20861         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
20862         (gst_bus_source_dispatch), (gst_bus_source_finalize),
20863         (gst_bus_create_watch), (gst_bus_add_watch_full):
20864         * gst/gstbus.h:
20865         Implement a real GSource and use g_main_context_wakeup() to
20866         signal new messages instead of the socketpair.
20867
20868 2005-05-25  Wim Taymans  <wim@fluendo.com>
20869
20870         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
20871         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
20872         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20873         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20874         (gst_pad_send_event), (gst_pad_start_task):
20875         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
20876         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20877         (gst_queue_sink_activate), (gst_queue_src_activate),
20878         (gst_queue_change_state):
20879         * gst/gstqueue.h:
20880         Fix state changes for non sinks. We now change sinks, then elements
20881         with unconnected srcpads, then the rest.
20882         More efficient queue unlocking in flush and state changes.
20883         Set the pad activate mode even if it does not have an activate
20884         function.
20885
20886 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20887
20888         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
20889           Don't go in pull mode for non-seekable sources.
20890         * gst/elements/gsttypefindelement.h:
20891         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
20892         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
20893         (free_entry), (stop_typefinding),
20894         (gst_type_find_element_handle_event), (find_peek),
20895         (gst_type_find_element_chain), (do_pull_typefind),
20896         (gst_type_find_element_change_state):
20897           Allow typefinding (w/o seeking) in push-mode, simplified version
20898           of what was in 0.8.
20899         * gst/gstutils.c: (gst_buffer_join):
20900         * gst/gstutils.h:
20901           gst_buffer_join() from 0.8.
20902
20903 2005-05-25  Wim Taymans  <wim@fluendo.com>
20904
20905         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20906         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20907         (gst_pad_send_event), (gst_pad_start_task):
20908         Disable attempt at mode switching until it is figured out.
20909
20910 2005-05-25  Wim Taymans  <wim@fluendo.com>
20911
20912         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
20913         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20914         (gst_basesink_finish_preroll), (gst_basesink_chain),
20915         (gst_basesink_loop), (gst_basesink_activate),
20916         (gst_basesink_change_state):
20917         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
20918         (gst_basesrc_get_range), (gst_basesrc_loop),
20919         (gst_basesrc_activate):
20920         * gst/elements/gsttee.c: (gst_tee_sink_activate):
20921         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
20922         (gst_real_pad_init), (gst_real_pad_set_property),
20923         (gst_real_pad_get_property), (gst_pad_set_active),
20924         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
20925         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
20926         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
20927         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
20928         (gst_pad_event_default_dispatch), (gst_pad_event_default),
20929         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
20930         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
20931         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
20932         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
20933         (gst_pad_stop_task):
20934         * gst/gstpad.h:
20935         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20936         (gst_queue_loop), (gst_queue_src_activate):
20937         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
20938         (gst_task_get_state):
20939         * gst/gsttask.h:
20940         * gst/schedulers/threadscheduler.c:
20941         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
20942         Implement gst_pad_pause/start/stop_task(), take STREAM lock
20943         in task function.
20944         Remove ACTIVE pad flag, use FLUSHING everywhere
20945         Added _pad_chain(), _pad_get_range() to call chain/getrange 
20946         functions.
20947         Add locks around IS_FLUSHING when reading.
20948         Take STREAM lock in chain(), get_range() functions so plugins
20949         don't need to take it anymore.
20950         
20951
20952
20953 2005-05-25  Wim Taymans  <wim@fluendo.com>
20954
20955         * tools/gst-launch.c: (event_loop):
20956         Unref message after using its contents instead of
20957         before.
20958
20959 2005-05-24  Wim Taymans  <wim@fluendo.com>
20960
20961         * docs/design/draft-ghostpads.txt:
20962         * docs/design/draft-push-pull.txt:
20963         * docs/design/draft-query.txt:
20964         * docs/design/part-overview.txt:
20965         Docs updates, added general overview doc.
20966
20967 2005-05-21  David Schleef  <ds@schleef.org>
20968
20969         * docs/gst/tmpl/old/GstBin.sgml:
20970         * docs/gst/tmpl/old/GstBuffer.sgml:
20971         * docs/gst/tmpl/old/GstCaps.sgml:
20972         * docs/gst/tmpl/old/GstClock.sgml:
20973         * docs/gst/tmpl/old/GstCompat.sgml:
20974         * docs/gst/tmpl/old/GstData.sgml:
20975         * docs/gst/tmpl/old/GstElement.sgml:
20976         * docs/gst/tmpl/old/GstEvent.sgml:
20977         * docs/gst/tmpl/old/GstIndex.sgml:
20978         * docs/gst/tmpl/old/GstStructure.sgml:
20979         * docs/gst/tmpl/old/GstTag.sgml:
20980         * docs/gst/tmpl/old/cothreads.sgml:
20981         * docs/gst/tmpl/old/cothreads_compat.sgml:
20982         * docs/gst/tmpl/old/gettext.sgml:
20983         * docs/gst/tmpl/old/gobject2gtk.sgml:
20984         * docs/gst/tmpl/old/grammar.tab.sgml:
20985         * docs/gst/tmpl/old/gst-i18n-app.sgml:
20986         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
20987         * docs/gst/tmpl/old/gst_private.sgml:
20988         * docs/gst/tmpl/old/gstaggregator.sgml:
20989         * docs/gst/tmpl/old/gstarch.sgml:
20990         * docs/gst/tmpl/old/gstatomic_impl.sgml:
20991         * docs/gst/tmpl/old/gstbufferstore.sgml:
20992         * docs/gst/tmpl/old/gstdata_private.sgml:
20993         * docs/gst/tmpl/old/gstdisksink.sgml:
20994         * docs/gst/tmpl/old/gstdisksrc.sgml:
20995         * docs/gst/tmpl/old/gstelementfactory.sgml:
20996         * docs/gst/tmpl/old/gstextratypes.sgml:
20997         * docs/gst/tmpl/old/gstfakesink.sgml:
20998         * docs/gst/tmpl/old/gstfakesrc.sgml:
20999         * docs/gst/tmpl/old/gstfdsink.sgml:
21000         * docs/gst/tmpl/old/gstfdsrc.sgml:
21001         * docs/gst/tmpl/old/gstfilesink.sgml:
21002         * docs/gst/tmpl/old/gstfilesrc.sgml:
21003         * docs/gst/tmpl/old/gsthttpsrc.sgml:
21004         * docs/gst/tmpl/old/gstidentity.sgml:
21005         * docs/gst/tmpl/old/gstindexfactory.sgml:
21006         * docs/gst/tmpl/old/gstmarshal.sgml:
21007         * docs/gst/tmpl/old/gstmd5sink.sgml:
21008         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
21009         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
21010         * docs/gst/tmpl/old/gstpadtemplate.sgml:
21011         * docs/gst/tmpl/old/gstpipefilter.sgml:
21012         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
21013         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
21014         * docs/gst/tmpl/old/gstshaper.sgml:
21015         * docs/gst/tmpl/old/gstspider.sgml:
21016         * docs/gst/tmpl/old/gstspideridentity.sgml:
21017         * docs/gst/tmpl/old/gststatistics.sgml:
21018         * docs/gst/tmpl/old/gsttee.sgml:
21019         * docs/gst/tmpl/old/gsttimecache.sgml:
21020         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
21021         * docs/gst/tmpl/old/gstxmlregistry.sgml:
21022         * docs/gst/tmpl/old/gthread-cothreads.sgml:
21023         * docs/gst/tmpl/old/types.sgml:
21024           I didn't intend to add these or check them in.
21025
21026 2005-05-19  David Schleef  <ds@schleef.org>
21027
21028         * configure.ac: Use -no-common everywhere.  In a sane world, it
21029           would be the default in libtool, because without it, you can't
21030           build DLLs on Windows.
21031         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
21032         * docs/gst/gstreamer-sections.txt:
21033         * docs/gst/tmpl/gstcpu.sgml:
21034         * docs/gst/tmpl/gstdata.sgml:
21035         * docs/gst/tmpl/gstthread.sgml:
21036
21037 2005-05-19  David Schleef  <ds@schleef.org>
21038
21039         * gst/gstminiobject.c: (gst_value_set_mini_object),
21040         (gst_value_take_mini_object), (gst_value_get_mini_object):
21041         * gst/gstminiobject.h: Add GValue set/get functions.
21042
21043 2005-05-19  Wim Taymans  <wim@fluendo.com>
21044
21045         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
21046         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
21047         (gst_subbuffer_init), (gst_buffer_is_span_fast):
21048         * gst/gstbuffer.h:
21049         * gst/gstbus.c: (gst_bus_post):
21050         * gst/gstelement.c: (gst_element_get_random_pad):
21051         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
21052         Make subbufer unref the parent in finalize.
21053         some more debugging info.
21054
21055
21056 2005-05-19  Wim Taymans  <wim@fluendo.com>
21057
21058         * gst/base/gstbasesink.c: (gst_basesink_class_init),
21059         (gst_basesink_init), (gst_basesink_finalize),
21060         (gst_basesink_activate), (gst_basesink_change_state):
21061         Don't free preroll queue too early.
21062
21063 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21064
21065         * gst/Makefile.am:
21066         * gst/ROADMAP:
21067           Hi, I'm outdated. Please shoot me.
21068
21069 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21070
21071         * gst/gstpipeline.c: (gst_pipeline_send_event):
21072           Do not access variables after they have been deleted.
21073
21074 2005-05-19  Wim Taymans  <wim@fluendo.com>
21075
21076         * tools/gst-inspect.c: (print_plugin_features):
21077         A plugin feature does unfortunatly not use the
21078         object name yet...
21079
21080 2005-05-18  Wim Taymans  <wim@fluendo.com>
21081
21082         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
21083         Port _span() functions to new subbuffers.
21084
21085 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21086
21087         * gst/gstbin.c: (gst_bin_add_func):
21088           Fix clock settery in bins when adding kids after the clock has
21089           been selected.
21090
21091 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21092
21093         * gst/elements/gstidentity.c: (gst_identity_class_init):
21094           Workaround until signals support GstMiniObject.
21095
21096 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
21097
21098         * gst/gstbuffer.c:
21099         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
21100
21101 2005-05-18  Wim Taymans  <wim@fluendo.com>
21102
21103         * gst/base/Makefile.am:
21104         * gst/base/gstadapter.c: (gst_adapter_base_init),
21105         (gst_adapter_class_init), (gst_adapter_init),
21106         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
21107         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
21108         (gst_adapter_flush), (gst_adapter_available),
21109         (gst_adapter_available_fast):
21110         * gst/base/gstadapter.h:
21111         Ported and added adapter to the base classes.
21112
21113 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
21114
21115         * gst/gst.c:
21116         * gst/gstmessage.c:
21117           Make sure the class is reffed/unreffed once before threads can be
21118           used.  Fixes #304551.
21119
21120 2005-05-17  Wim Taymans  <wim@fluendo.com>
21121
21122         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
21123         (gst_basesink_chain_unlocked), (gst_basesink_activate):
21124         * gst/gstminiobject.c: (gst_mini_object_get_type),
21125         (gst_mini_object_free):
21126         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
21127         (gst_pad_push), (gst_pad_push_event):
21128         * gst/gstqueue.c: (gst_queue_change_state):
21129         Don't queue buffers in basesink when we are flushing.
21130         Unref buffer when flushing in basesink.
21131         Flush queue when going to READY
21132         Unref buffer when _push() returns an error.
21133         Don't free MiniObject instance when refcount is incremented
21134         in _finalize() so that we can recover objects.
21135
21136 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
21137
21138         * docs/manual/advanced-schedulers.xml:
21139         * docs/manual/appendix-checklist.xml:
21140         * docs/pwg/advanced-clock.xml:
21141         * docs/pwg/advanced-interfaces.xml:
21142         * docs/pwg/advanced-request.xml:
21143         * docs/pwg/advanced-types.xml:
21144         * docs/pwg/intro-preface.xml:
21145         * examples/plugins/example.c: (gst_example_get_type),
21146         (gst_example_class_init), (gst_example_chain),
21147         (gst_example_set_property), (gst_example_get_property),
21148         (gst_example_change_state), (plugin_init):
21149         * examples/plugins/example.h:
21150           small doc fixes
21151
21152 2005-05-17  Wim Taymans  <wim@fluendo.com>
21153
21154         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
21155         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
21156         * gst/gstqueue.c: (gst_queue_change_state):
21157         Clear queue when going to READY.
21158         Remove IN_SETCAPS flag too.
21159
21160 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
21161
21162         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
21163           Remove implicit cast from gboolean to GstElementStateReturn;
21164           make sure we still return failure in paused => ready case if
21165           the parent class fails to change state and our own stop 
21166           vfunc succeeds.
21167
21168 2005-05-17  Wim Taymans  <wim@fluendo.com>
21169
21170         * tools/gst-launch.c: (event_loop):
21171         Message was unreffed too soon.
21172
21173 2005-05-16  Andy Wingo  <wingo@pobox.com>
21174
21175         * gst/gstbin.c (sink_iterator_filter): Err... um...
21176
21177         * check/gst/gstbin.c (test_ghost_pads): New test for the
21178         ghosting-if-elements-not-in-same-bin behavior.
21179
21180 2005-05-16  David Schleef  <ds@schleef.org>
21181
21182         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
21183         accessing refcount directly.
21184
21185 2005-05-15  David Schleef  <ds@schleef.org>
21186
21187         * check/Makefile.am: remove GstData checks
21188         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
21189         * gst/Makefile.am: add miniobject, remove data
21190         * gst/gst.h: add miniobject, remove data
21191         * gst/gstdata.c: remove
21192         * gst/gstdata.h: remove
21193         * gst/gstdata_private.h: remove
21194         * gst/gsttypes.h: remove GstEvent and GstMessage
21195         * gst/gstelement.c: (gst_element_post_message): fix for API changes
21196         * gst/gstmarshal.list: change BOXED -> OBJECT
21197
21198         Implement GstMiniObject.
21199         * gst/gstminiobject.c:
21200         * gst/gstminiobject.h:
21201
21202         Modify to be subclasses of GstMiniObject.
21203         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
21204         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
21205         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
21206         (gst_subbuffer_get_type), (gst_subbuffer_init),
21207         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
21208         (gst_buffer_span):
21209         * gst/gstbuffer.h:
21210         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
21211         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
21212         (_gst_event_copy), (gst_event_new):
21213         * gst/gstevent.h:
21214         * gst/gstmessage.c: (_gst_message_initialize),
21215         (gst_message_get_type), (gst_message_class_init),
21216         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
21217         (gst_message_new), (gst_message_new_error),
21218         (gst_message_new_warning), (gst_message_new_tag),
21219         (gst_message_new_state_changed), (gst_message_new_application):
21220         * gst/gstmessage.h:
21221         * gst/gstprobe.c: (gst_probe_perform),
21222         (gst_probe_dispatcher_dispatch):
21223         * gst/gstprobe.h:
21224         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
21225         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
21226         (_gst_query_copy), (gst_query_new):
21227
21228         Update elements for GstData -> GstMiniObject changes
21229         * gst/gstquery.h:
21230         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
21231         (gst_queue_chain), (gst_queue_loop):
21232         * gst/elements/gstbufferstore.c:
21233         (gst_buffer_store_add_buffer_func),
21234         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
21235         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21236         (gst_fakesink_render):
21237         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
21238         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
21239         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
21240         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
21241         (gst_filesrc_create_read):
21242         * gst/elements/gstidentity.c: (gst_identity_class_init):
21243         * gst/elements/gsttypefindelement.c:
21244         (gst_type_find_element_src_event), (free_entry_buffers),
21245         (gst_type_find_element_handle_event):
21246         * libs/gst/dataprotocol/dataprotocol.c:
21247         (gst_dp_header_from_buffer):
21248         * libs/gst/dataprotocol/dataprotocol.h:
21249         * libs/gst/dataprotocol/dp-private.h:
21250
21251 2005-05-15  David Schleef  <ds@schleef.org>
21252
21253         * gst/elements/gstelements.c: Don't include headers that were
21254         just removed.
21255
21256 2005-05-15  David Schleef  <ds@schleef.org>
21257
21258         * gst/elements/Makefile.am: Remove some elements that don't
21259         need to be in the core (or even exist at all).
21260         * gst/elements/gstaggregator.c:
21261         * gst/elements/gstaggregator.h:
21262         * gst/elements/gstmd5sink.c:
21263         * gst/elements/gstmd5sink.h:
21264         * gst/elements/gstmultifilesrc.c:
21265         * gst/elements/gstmultifilesrc.h:
21266         * gst/elements/gstpipefilter.c:
21267         * gst/elements/gstpipefilter.h:
21268         * gst/elements/gstshaper.c:
21269         * gst/elements/gstshaper.h:
21270         * gst/elements/gststatistics.c:
21271         * gst/elements/gststatistics.h:
21272         * po/POTFILES.in: Remove above files.
21273
21274 2005-05-14  Andy Wingo  <wingo@pobox.com>
21275
21276         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
21277         so as to get the refs right.
21278         (sink_iterator_filter): New function, wraps bin_element_is_sink,
21279         unreffing objects that don't pass the filter.
21280
21281         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
21282         gst_element_set_bus.
21283         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
21284         normal cases, this will destroy the bus.
21285
21286         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
21287         object.
21288
21289         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
21290         has no sinks.
21291
21292 2005-05-13  Andy Wingo  <wingo@pobox.com>
21293
21294         * gst/gstutils.c (gst_element_link_pads): Instead of calling
21295         gst_pad_link, call pad_link_maybe_ghosting,
21296         (pad_link_maybe_ghosting): Links pads, making sure that the
21297         elements being linked are in the same bin.
21298         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
21299         Helpers for pad_link_maybe_ghosting.
21300
21301 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
21302
21303         * configure.ac:
21304           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
21305
21306 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
21307
21308         * docs/design/part-element-source.txt:
21309           Mention GstPushSrc
21310
21311 2005-05-12  Wim Taymans  <wim@fluendo.com>
21312
21313         * gst/base/gstbasesink.c: (gst_basesink_init),
21314         (gst_basesink_activate):
21315         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
21316         (gst_basesrc_is_seekable):
21317         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21318         (bin_element_is_sink), (gst_bin_change_state):
21319         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21320         * gst/gstelement.h:
21321         Identify sinks by their flag to avoid overly complicated
21322         checks (fow now).
21323         Do state changes even for elements not reachable from the
21324         sinks.
21325         BaseSink is a sink now :)
21326         Some more debugging info in the basesrc.
21327
21328
21329 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21330
21331         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
21332           Implement _query on a bin, similar to _send_event.
21333
21334 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
21335
21336         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
21337           Discont event offset format should be GST_FORMAT_BYTES,
21338           not GST_FORMAT_TIME.
21339
21340 2005-05-12  Wim Taymans  <wim@fluendo.com>
21341
21342         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
21343         Same fix as Ronald's but without the signal. 
21344
21345 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21346
21347         * gst/gstutils.c: (gst_element_query_position):
21348           No, an element is not a pad.
21349
21350 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21351
21352         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
21353         (gst_bin_get_state):
21354           If a child is removed from a bin while we remove the child from
21355           the bin and while we're retrieving its state, signal this to the
21356           get_state function so we abort the wait (instead of waiting for
21357           a timeout) and can immediately re-iterate over all other elements.
21358
21359 2005-05-12  Wim Taymans  <wim@fluendo.com>
21360
21361         * gst/base/Makefile.am:
21362         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
21363         (gst_basesrc_start):
21364         * gst/base/gstbasesrc.h:
21365         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
21366         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
21367         (gst_pushsrc_init), (gst_pushsrc_create):
21368         * gst/base/gstpushsrc.h:
21369         Added is_seekable to BaseSrc
21370         Added simple PushSrc.
21371
21372 2005-05-11  Wim Taymans  <wim@fluendo.com>
21373
21374         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21375         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21376         (gst_element_link_pads), (gst_element_query_position),
21377         (gst_element_query_convert), (intersect_caps_func),
21378         (gst_pad_query_position), (gst_pad_query_convert):
21379         Fix refcounting in utils function.
21380         No point in trying to activate a pad when it's added, it could
21381         be added from the state change function and then we deadlock, the
21382         element has to decide what to do.
21383
21384 2005-05-10  Andy Wingo  <wingo@pobox.com>
21385
21386         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
21387         *all* the arguments.
21388
21389         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
21390         stream lock if it's a FLUSH_DONE; normal flushes don't get the
21391         lock (according to the docs -- if this is wrong change the docs).
21392
21393         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
21394         flush messages in the NULL state.
21395
21396         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
21397         message immediately and return.
21398         (gst_bus_set_flushing): New function. If a bus is flushing, it
21399         flushes out any queued messages and immediately unrefs new
21400         messages. This is so when an element goes to NULL, all of the
21401         unhandled messages coming from it can be freed, and their
21402         references to the element dropped. In other words: message source
21403         ref considered harmful :P
21404
21405         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
21406         we're finished with it.
21407
21408         * gst/gstmessage.c (gst_message_new_state_changed): 
21409
21410 2005-05-10  Wim Taymans  <wim@fluendo.com>
21411
21412         * gst/gstvalue.c: (gst_value_compare_flags),
21413         (gst_value_serialize_flags), (gst_value_deserialize_flags),
21414         (_gst_value_initialize):
21415         Added flags serialize/deserialize/compare code.
21416
21417 2005-05-09  Andy Wingo  <wingo@pobox.com>
21418
21419         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
21420         Intersect the peer's caps with our caps.
21421
21422 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21423
21424         * gst/base/gsttypefindhelper.c: (helper_find_peek):
21425         * gst/elements/gsttypefindelement.c: (find_peek):
21426           Handle negative offsets better. Fixes decodebin.
21427
21428 2005-05-09  Wim Taymans  <wim@fluendo.com>
21429
21430         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
21431         (gst_base_transform_event):
21432         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
21433         Implement accept_caps.
21434         Fix silly lock/unlock mismatch in base class.
21435
21436 2005-05-09  Wim Taymans  <wim@fluendo.com>
21437
21438         * docs/design/draft-push-pull.txt:
21439         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
21440         * gst/elements/gstfilesink.c: (gst_filesink_init),
21441         (gst_filesink_query):
21442         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
21443         (gst_type_find_handle_src_query), (find_element_get_length):
21444         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
21445         * gst/gstelement.h:
21446         * gst/gstmessage.c:
21447         * gst/gstmessage.h:
21448         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
21449         (gst_real_pad_get_caps_unlocked),
21450         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
21451         (gst_pad_event_default_dispatch), (gst_pad_event_default),
21452         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
21453         (gst_real_pad_dispose), (gst_real_pad_finalize),
21454         (gst_pad_load_and_link), (gst_pad_save_thyself),
21455         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
21456         (gst_pad_check_pull_range), (gst_pad_pull_range),
21457         (gst_pad_template_get_type), (gst_pad_template_class_init),
21458         (gst_pad_template_init), (gst_pad_template_dispose),
21459         (name_is_valid), (gst_static_pad_template_get),
21460         (gst_pad_template_new), (gst_static_pad_template_get_caps),
21461         (gst_pad_template_get_caps), (gst_pad_set_element_private),
21462         (gst_pad_get_element_private), (gst_pad_start_task),
21463         (gst_pad_pause_task), (gst_pad_stop_task),
21464         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
21465         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
21466         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
21467         (gst_ghost_pad_new):
21468         * gst/gstpad.h:
21469         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
21470         (gst_query_new_position), (gst_query_set_position),
21471         (gst_query_parse_position), (gst_query_new_convert),
21472         (gst_query_set_convert), (gst_query_parse_convert):
21473         * gst/gstquery.h:
21474         * gst/gstqueryutils.c:
21475         * gst/gstqueryutils.h:
21476         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21477         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21478         (gst_queue_handle_src_query):
21479         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21480         (gst_element_query_position), (gst_element_query_convert),
21481         (intersect_caps_func), (gst_pad_query_position),
21482         (gst_pad_query_convert):
21483         * gst/gstutils.h:
21484         * tools/gst-inspect.c: (print_pad_info):
21485         * tools/gst-xmlinspect.c: (print_element_info):
21486         Remove old query functions. Ported old code.
21487         Added position/convert helper functions to gstutils.
21488         Reordered gstpad.c code, grouping relevant things.
21489         Remove gst_message_new(), always need to speficy a specific
21490         message.
21491
21492
21493 2005-05-09  Andy Wingo  <wingo@pobox.com>
21494
21495         * gst/gstiterator.h: Add some includes.
21496
21497         * gst/gstqueryutils.h: Include more headers.
21498
21499         * gst/gstpad.h:
21500         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
21501         some uses of gst_pad_query.
21502
21503         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
21504         NULL out parameters.
21505         (gst_query_new_position): New proc, allocates a new position
21506         query.
21507
21508         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
21509         gstqueryutils.c to the build.
21510
21511         * gst/gststructure.c (gst_structure_set_valist): Implement with
21512         the generic G_VALUE_COLLECT.
21513         
21514 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
21515
21516         * gst/Makefile.am: (gst_headers):
21517         Added gstqueryutils.h to the list of headers to install, that was
21518         a 'nachty' move wingo :)
21519
21520 2005-05-06  Andy Wingo  <wingo@pobox.com>
21521
21522         * gst/gstquery.h
21523         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
21524         GstData, init a memchunk.
21525         (standard_definitions): Add a few query types, deprecate a few.
21526         (gst_query_get_type): New proc.
21527         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
21528         implementation.
21529         (gst_query_new_application, gst_query_get_structure): New public
21530         procs.
21531
21532         * docs/design/draft-query.txt: Removed LINKS from the query types,
21533         because all the rest can be dispatched to other pads -- seemed
21534         ugly to have a query that couldn't be dispatched. internal_links
21535         is fine as a pad method.
21536
21537         * gst/gstpad.h: Add query2 as a pad method, add the new functions
21538         in gstpad.c, but maintain binary compatibility for the moment.
21539         Will fix before 0.9 is out.
21540
21541         * gst/gstqueryutils.c: 
21542         * gst/gstqueryutils.h: New files, implement 3 methods for each
21543         query type: parse_query, parse_response, and set. Probably need an
21544         allocator as well.
21545
21546         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
21547
21548         * gst/elements/gstfilesink.c (gst_filesink_query2):
21549         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
21550         query_types, and formats methods.
21551
21552         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
21553         (gst_pad_set_query2_function): New functions.
21554         (gst_real_pad_init): Set query2_default as the default query2
21555         function. Basically just dispatches to internally linked pads.
21556
21557         Needs review!
21558         
21559         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
21560         without using the atomic operations. Only one thread can possibly
21561         be accessing the data at this point. Changed so as to avoid
21562         gst_atomic operations.
21563
21564 2005-05-06  Wim Taymans  <wim@fluendo.com>
21565
21566         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
21567         Also set caps if we use the fallback buffer alloc.
21568
21569 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
21570
21571         * docs/gst/Makefile.am:
21572         * docs/gst/gstreamer-docs.sgml:
21573         * docs/gst/gstreamer-sections.txt:
21574         * docs/gst/tmpl/gstatomic.sgml:
21575         * docs/gst/tmpl/gstmemchunk.sgml:
21576         * testsuite/elements/struct_i386.h:
21577         * win32/GStreamer.vcproj:
21578         * win32/Makefile:
21579           Purge GstAtomic stuff from docs and win32 makefiles as well
21580
21581 2005-05-06  Wim Taymans  <wim@fluendo.com>
21582
21583         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
21584         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
21585         * gst/gstpad.c: (gst_pad_peer_get_caps):
21586         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21587         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21588         (gst_queue_src_activate), (gst_queue_change_state):
21589         * gst/gstqueue.h:
21590         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21591         (intersect_caps_func):
21592         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
21593         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
21594         Some fixes for the peer_get_caps() change.
21595
21596 2005-05-06  Wim Taymans  <wim@fluendo.com>
21597
21598         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21599         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
21600         (gst_basesink_activate):
21601         Actually do something with error codes returned from the push
21602         functions.
21603
21604 2005-05-06  Wim Taymans  <wim@fluendo.com>
21605
21606         * docs/design/part-element-sink.txt:
21607         * docs/design/part-element-source.txt:
21608         * gst/base/gstbasesink.c: (gst_basesink_class_init),
21609         (gst_basesink_event), (gst_basesink_activate):
21610         * gst/base/gstbasesink.h:
21611         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
21612         (gst_basesrc_activate):
21613         * gst/base/gstbasesrc.h:
21614         * gst/gstelement.c: (gst_element_pads_activate):
21615         Some more documentation.
21616         Fixed scheduling decision in _pads_activate().
21617
21618 2005-05-05  Andy Wingo  <wingo@pobox.com>
21619
21620         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
21621         the test suite.
21622
21623 2005-05-05  Wim Taymans  <wim@fluendo.com>
21624
21625         * gst/base/Makefile.am:
21626         * gst/base/gstbasesink.h:
21627         * gst/base/gstbasesrc.c: (gst_basesrc_init),
21628         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
21629         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
21630         (gst_collectpads_class_init), (gst_collectpads_init),
21631         (gst_collectpads_finalize), (gst_collectpads_new),
21632         (gst_collectpads_set_function), (gst_collectpads_add_pad),
21633         (find_pad), (gst_collectpads_remove_pad),
21634         (gst_collectpads_is_active), (gst_collectpads_collect),
21635         (gst_collectpads_collect_range), (gst_collectpads_start),
21636         (gst_collectpads_stop), (gst_collectpads_peek),
21637         (gst_collectpads_pop), (gst_collectpads_available),
21638         (gst_collectpads_read), (gst_collectpads_flush),
21639         (gst_collectpads_chain):
21640         * gst/base/gstcollectpads.h:
21641         * gst/elements/Makefile.am:
21642         * gst/elements/gstelements.c:
21643         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21644         (gst_fakesink_get_times), (gst_fakesink_event),
21645         (gst_fakesink_preroll), (gst_fakesink_render):
21646         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
21647         (gst_filesink_init), (gst_filesink_set_location),
21648         (gst_filesink_open_file), (gst_filesink_close_file),
21649         (gst_filesink_pad_query), (gst_filesink_event),
21650         (gst_filesink_render), (gst_filesink_change_state):
21651         * gst/elements/gstfilesink.h:
21652         Added object to help in making collect pad based elements.
21653         Ported filesink.
21654         Make event function in sink baseclass return gboolean.
21655
21656 2005-05-05  Wim Taymans  <wim@fluendo.com>
21657
21658         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
21659         (gst_bin_get_by_name):
21660         * gst/gstbuffer.h:
21661         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
21662         (gst_clock_finalize):
21663         * gst/gstdata.c: (gst_data_replace):
21664         * gst/gstdata.h:
21665         * gst/gstelement.c: (gst_element_request_pad),
21666         (gst_element_pads_activate):
21667         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
21668         (gst_object_unref):
21669         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21670         (gst_pad_set_checkgetrange_function),
21671         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
21672         (gst_pad_check_pull_range), (gst_pad_pull_range),
21673         (gst_static_pad_template_get_caps), (gst_pad_start_task),
21674         (gst_pad_pause_task), (gst_pad_stop_task):
21675         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21676         (gst_element_request_pad), (gst_pad_proxy_getcaps):
21677         Fix name lookup in GstBin.
21678         Added _data_replace() function and _buffer_replace()
21679         Use finalize method to clean up clock.
21680         Fix refcounting on request pads.
21681         Fix pad schedule mode error.
21682         Some more object refcounting debug info,
21683
21684
21685 2005-05-04  Andy Wingo <wingo@pobox.com>
21686
21687         * check/Makefile.am:
21688         * docs/gst/tmpl/gstatomic.sgml:
21689         * docs/gst/tmpl/gstplugin.sgml:
21690         * gst/base/gstbasesink.c: (gst_basesink_activate):
21691         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
21692         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
21693         (gst_basesrc_query), (gst_basesrc_set_property),
21694         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
21695         (gst_basesrc_activate):
21696         * gst/base/gstbasesrc.h:
21697         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
21698         (gst_base_transform_src_activate):
21699         * gst/elements/gstelements.c:
21700         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21701         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
21702         * gst/elements/gsttee.c: (gst_tee_sink_activate):
21703         * gst/elements/gsttypefindelement.c: (find_element_get_length),
21704         (gst_type_find_element_checkgetrange),
21705         (gst_type_find_element_activate):
21706         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
21707         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
21708         (gst_caps_load_thyself):
21709         * gst/gstelement.c: (gst_element_pads_activate),
21710         (gst_element_save_thyself), (gst_element_restore_thyself):
21711         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
21712         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
21713         * gst/gstpad.h:
21714         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
21715         (gst_xml_parse_file), (gst_xml_parse_memory),
21716         (gst_xml_get_element), (gst_xml_make_element):
21717         * gst/indexers/gstfileindex.c: (gst_file_index_load),
21718         (_file_index_id_save_xml), (gst_file_index_commit):
21719         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
21720         (read_enum), (load_pad_template), (load_feature), (load_plugin),
21721         (load_paths):
21722         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
21723         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
21724         * tools/gst-complete.c: (main):
21725         * tools/gst-compprep.c: (main):
21726         * tools/gst-inspect.c: (print_element_properties_info):
21727         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
21728         * tools/gst-xmlinspect.c: (print_element_properties):
21729         GCC 4 fixen.
21730         
21731 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21732
21733         * gst/gstplugin.c: (gst_plugin_check_module),
21734         (gst_plugin_check_file), (gst_plugin_load_file):
21735             apply patch from #172526 to make register work on MacOSX
21736
21737 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21738
21739         * docs/gst/tmpl/gstconfig.sgml:
21740         * gst/gstconfig.h.in:
21741           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
21742         * testsuite/debug/printf_extension.c: (main):
21743           Do not use GST_PTR_FORMAT on pointers to types with
21744           sizeof < sizeof(gpointer).  Fixes test on 64-bit
21745         * testsuite/elements/property.h:
21746           use correct printf format
21747
21748 2005-05-02  Wim Taymans  <wim@fluendo.com>
21749
21750         * docs/design/draft-push-pull.txt:
21751         * docs/design/draft-query.txt:
21752         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
21753         (gst_basesrc_start):
21754         Added draft for new query API.
21755         Added draft for better selecting scheduling methods.
21756         Make basesrc ignore length if the subclass does not support
21757         it.
21758
21759 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21760
21761         * gst/Makefile.am:
21762           possible fixes for automake-1.5 - _LIBADD is reserved
21763
21764 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21765
21766         * docs/faq/Makefile.am:
21767         * docs/manual/Makefile.am:
21768         * docs/manuals.mak:
21769         * docs/pwg/Makefile.am:
21770         * gst/Makefile.am:
21771           possible fixes for automake-1.5
21772
21773 2005-04-28  Wim Taymans  <wim@fluendo.com>
21774
21775         * gst/base/gstbasesink.c: (gst_basesink_base_init),
21776         (gst_basesink_pad_getcaps), (gst_basesink_init),
21777         (gst_basesink_do_sync):
21778         * gst/gstclock.c: (gst_clock_entry_new):
21779         * gst/gstevent.c: (gst_event_discont_get_value):
21780         * gst/gstpipeline.c: (pipeline_bus_handler),
21781         (gst_pipeline_change_state):
21782         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
21783         Better debugging of clocking info.
21784         Allow NULL values when getting discont values.
21785
21786 2005-04-27  Wim Taymans  <wim@fluendo.com>
21787
21788         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
21789         * check/gst/gstpad.c: (gst_pad_suite):
21790         Increase timeout for checks.
21791
21792 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
21793
21794         * check/Makefile.am:
21795           fix the broken rule for cleanup.  Apparently this rule is
21796           only needed on FC2, so maybe this warrants further autotool
21797           inspection.
21798
21799 2005-04-26  Wim Taymans  <wim@fluendo.com>
21800
21801         * gst/gsttrashstack.h:
21802         Ooohh. a nasty one! After having a failed pop() from the stack,
21803         it's possible that the stack is empty. In that case, don't
21804         follow the NULL pointer.
21805
21806 2005-04-25  Wim Taymans  <wim@fluendo.com>
21807
21808         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21809         (gst_pad_set_checkgetrange_function),
21810         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
21811         (gst_pad_check_pull_range), (gst_pad_pull_range),
21812         (gst_static_pad_template_get_caps), (gst_pad_start_task),
21813         (gst_pad_pause_task), (gst_pad_stop_task):
21814         * gst/gstplugin.c: (gst_plugin_load):
21815         * gst/gstplugin.h:
21816         Remove gst_library_load as it does more harm than good with
21817         the new g_module flags.
21818         Revert bogus caps template check in pad linking, pad caps
21819         are important when linking not the template, which is more
21820         general than the current caps.
21821
21822 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21823
21824         * gst/autoplug/.cvsignore:
21825         * gst/autoplug/Makefile.am:
21826         * gst/autoplug/gstsearchfuncs.c:
21827         * gst/autoplug/gstsearchfuncs.h:
21828         * gst/autoplug/gstspider.c:
21829         * gst/autoplug/gstspider.h:
21830         * gst/autoplug/gstspideridentity.c:
21831         * gst/autoplug/gstspideridentity.h:
21832         * gst/autoplug/spidertest.c:
21833           Die, spider, die.
21834
21835 2005-04-25  Wim Taymans  <wim@fluendo.com>
21836
21837         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21838         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
21839         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
21840         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
21841         * gst/gstpad.h:
21842         Added stubs for unimplemented functions. 
21843
21844 2005-04-24  David Schleef  <ds@schleef.org>
21845
21846         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
21847         please fix.
21848
21849 2005-04-24  David Schleef  <ds@schleef.org>
21850
21851         Convert everything from GstAtomicInt to g_atomic_int_*, and
21852         remove gstatomic.
21853         * gst/Makefile.am:
21854         * gst/gstatomic.c:
21855         * gst/gstatomic.h:
21856         * gst/gstatomic_impl.h:
21857         * gst/gstbuffer.c:
21858         * gst/gstcaps.c:
21859         * gst/gstcaps.h:
21860         * gst/gstclock.c:
21861         * gst/gstclock.h:
21862         * gst/gstdata.c:
21863         * gst/gstdata.h:
21864         * gst/gstdata_private.h:
21865         * gst/gstevent.c:
21866         * gst/gstinfo.c:
21867         * gst/gstinfo.h:
21868         * gst/gstmessage.c:
21869         * gst/gstobject.c:
21870         * gst/gstobject.h:
21871         * gst/gststructure.c:
21872         * gst/gststructure.h:
21873         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
21874         * gst/gstutils.h:
21875
21876 2005-04-24  David Schleef  <ds@schleef.org>
21877
21878         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
21879         make the regressions tests work.  Remove some code that is no
21880         longer true.
21881         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
21882         Disable warning for pads without templates.
21883
21884 2005-04-24  David Schleef  <ds@schleef.org>
21885
21886         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
21887         functions that handle filtered links.
21888         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
21889         removed functions.
21890         * gst/gstutils.c: Fix/remove utility functions that handle
21891         filtered caps.
21892         * gst/gstutils.h:
21893         * gst/gstvalue.c: Add serialization/deserialization of caps
21894         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
21895         requires fixing so that the filter caps notation creates
21896         a capsfilter element and sets the filter_caps property.  I
21897         think everyone probably wants to keep the shorthand notation.
21898         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
21899         * docs/gst/tmpl/gstpad.sgml:
21900
21901         * gst/elements/gstelements.c: Register capsfilter element.
21902         * gst/Makefile.am: fix spacing
21903         * docs/random/ds/0.9-suggested-changes: random
21904
21905 2005-04-23  David Schleef  <ds@schleef.org>
21906
21907         * gst/elements/Makefile.am:
21908         * gst/elements/gstcapsfilter.c: New element that acts like an
21909         identity, but filters caps.  Will eventually replace filtered
21910         caps in pad linking.
21911         * gst/gstutils.c: (gst_element_create_all_pads): New function
21912         to create all the ALWAYS pads that are registered with an
21913         element class.  This functionality should eventually be
21914         merged in with GstElement initialization.
21915         * gst/gstutils.h:
21916         * testsuite/trigger/README: part of trigger test code that should
21917         have been checked in a long time ago.
21918
21919 2005-04-23  David Schleef  <ds@schleef.org>
21920
21921         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
21922         needed with new versions of libtool (nobody will confirm this),
21923         and hard to carry around.
21924         * gst/autoplug/Makefile.am:
21925         * gst/base/Makefile.am:
21926         * gst/elements/Makefile.am:
21927         * gst/indexers/Makefile.am:
21928         * gst/schedulers/Makefile.am:
21929         * libs/gst/bytestream/Makefile.am:
21930         * libs/gst/control/Makefile.am:
21931         * libs/gst/dataprotocol/Makefile.am:
21932         * libs/gst/getbits/Makefile.am:
21933
21934 2005-04-21  Wim Taymans  <wim@fluendo.com>
21935
21936         * docs/design/draft-push-pull.txt:
21937         * docs/design/part-MT-refcounting.txt:
21938         * docs/design/part-TODO.txt:
21939         * docs/design/part-caps.txt:
21940         * docs/design/part-events.txt:
21941         * docs/design/part-gstbus.txt:
21942         * docs/design/part-gstpipeline.txt:
21943         * docs/design/part-messages.txt:
21944         * docs/design/part-push-pull.txt:
21945         * docs/design/part-query.txt:
21946         Some more docs.
21947
21948 2005-04-21  Wim Taymans  <wim@fluendo.com>
21949
21950         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
21951         (gst_message_new), (gst_message_new_error),
21952         (gst_message_new_warning), (gst_message_new_tag),
21953         (gst_message_new_state_changed), (gst_message_new_application),
21954         (gst_message_get_structure):
21955         * gst/gstmessage.h:
21956         * gst/gststructure.c: (gst_structure_set_parent_refcount),
21957         (gst_structure_copy_conditional):
21958         Use parent refcount in GstMessage to ensure GstStructure
21959         consistency.
21960         Cleaned up headers a bit.
21961         
21962
21963 2005-04-20  Wim Taymans  <wim@fluendo.com>
21964
21965         * gst/base/gstbasesink.c: (gst_basesink_base_init),
21966         (gst_basesink_pad_getcaps), (gst_basesink_init),
21967         (gst_basesink_chain_unlocked):
21968         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
21969         (gst_type_find_helper):
21970         * gst/elements/gsttypefindelement.c:
21971         (gst_type_find_element_have_type), (gst_type_find_element_init),
21972         (stop_typefinding), (gst_type_find_element_handle_event),
21973         (find_suggest), (gst_type_find_element_chain),
21974         (gst_type_find_element_checkgetrange),
21975         (gst_type_find_element_getrange), (do_typefind),
21976         (gst_type_find_element_activate):
21977         * gst/gstbuffer.c: (_gst_buffer_sub_free),
21978         (gst_buffer_default_free), (gst_buffer_default_copy),
21979         (gst_buffer_set_caps):
21980         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
21981         (gst_caps_replace):
21982         * gst/gstmessage.c: (gst_message_new),
21983         (gst_message_new_state_changed):
21984         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21985         (gst_pad_set_checkgetrange_function),
21986         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
21987         (gst_pad_set_caps), (gst_pad_check_pull_range),
21988         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
21989         * gst/gstpad.h:
21990         * gst/gsttypefind.c: (gst_type_find_register):
21991         Make gst_caps_replace() work like other _replace() functions.
21992         Use _caps_replace() where possible.
21993         Make sure _message_new() initialises its field.
21994         Add gst_static_pad_template_get_caps()
21995
21996
21997 2005-04-18  Andy Wingo  <wingo@pobox.com>
21998
21999         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
22000         on the peer, not the pad. I think that was a typo. Pass an extra
22001         arg to see if random access is possible. Activate the pads as
22002         PULL_RANGE if possible.
22003
22004         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
22005
22006         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
22007         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
22008         to PROP_....
22009
22010 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22011
22012         * docs/faq/using.xml:
22013           Add note on gstreamer-properties (#154996).
22014
22015 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22016
22017         * docs/random/bbb/optional-properties:
22018           Some analysis on optional properties.
22019
22020 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22021
22022         * docs/gst/tmpl/gstelementfactory.sgml:
22023         * gst/gstelement.h:
22024         * gst/gstelementfactory.c: (gst_element_factory_init),
22025         (gst_element_factory_cleanup), (gst_element_register),
22026         (__gst_element_factory_add_static_pad_template),
22027         (gst_element_factory_get_static_pad_templates),
22028         (gst_element_factory_can_src_caps),
22029         (gst_element_factory_can_sink_caps):
22030         * gst/registries/Makefile.am:
22031         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
22032         (gst_xml_registry_class_init), (gst_xml_registry_init),
22033         (gst_xml_registry_new), (gst_xml_registry_set_property),
22034         (gst_xml_registry_get_property), (get_time), (make_dir),
22035         (gst_xml_registry_get_perms_func),
22036         (plugin_times_older_than_recurse), (plugin_times_older_than),
22037         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
22038         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
22039         (add_to_char_array), (read_string), (read_uint), (read_enum),
22040         (load_pad_template), (load_feature), (load_plugin), (load_paths),
22041         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
22042         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
22043         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
22044         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
22045         (gst_xml_registry_rebuild):
22046         * gst/registries/gstlibxmlregistry.h:
22047         * tools/gst-compprep.c: (main):
22048         * tools/gst-inspect.c: (print_pad_templates_info):
22049         * tools/gst-xmlinspect.c: (print_element_info):
22050           Use libxml2 for registry parsing, use staticpadtemplates in
22051           elementfactories. Makes gst_init() +/- 10x faster.
22052
22053 2005-04-12  Wim Taymans  <wim@fluendo.com>
22054
22055         * gst/base/Makefile.am:
22056         * gst/base/gstbasesink.c: (gst_basesink_base_init),
22057         (gst_basesink_pad_getcaps), (gst_basesink_init),
22058         (gst_basesink_event), (gst_basesink_change_state):
22059         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22060         (gst_basesrc_init), (gst_basesrc_query),
22061         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
22062         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
22063         (gst_basesrc_check_get_range), (gst_basesrc_loop),
22064         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
22065         (gst_basesrc_stop), (gst_basesrc_activate),
22066         (gst_basesrc_change_state):
22067         * gst/base/gsttypefindhelper.c: (helper_find_peek),
22068         (helper_find_suggest), (gst_type_find_helper):
22069         * gst/base/gsttypefindhelper.h:
22070         * gst/elements/Makefile.am:
22071         * gst/elements/gstelements.c:
22072         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22073         (gst_fakesink_get_times), (gst_fakesink_event),
22074         (gst_fakesink_preroll), (gst_fakesink_render):
22075         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22076         (gst_fakesrc_init), (gst_fakesrc_event_handler),
22077         (gst_fakesrc_get_property), (gst_fakesrc_create),
22078         (gst_fakesrc_start), (gst_fakesrc_stop):
22079         * gst/elements/gstfakesrc.h:
22080         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
22081         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
22082         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
22083         (gst_filesrc_create_read), (gst_filesrc_create),
22084         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
22085         (gst_filesrc_start):
22086         * gst/elements/gsttypefindelement.c:
22087         (gst_type_find_element_have_type), (gst_type_find_element_init),
22088         (start_typefinding), (stop_typefinding), (push_buffer_store),
22089         (gst_type_find_element_handle_event),
22090         (gst_type_find_element_chain),
22091         (gst_type_find_element_checkgetrange),
22092         (gst_type_find_element_getrange), (do_typefind),
22093         (gst_type_find_element_activate),
22094         (gst_type_find_element_change_state):
22095         * gst/elements/gsttypefindelement.h:
22096         * gst/gstpipeline.c: (pipeline_bus_handler):
22097         Added typefind helper.
22098         Small preroll fix in the base sink.
22099         Disable typefind code in basesrc.
22100         Crude port of typefindelement.
22101         Fakesrc cleanups.
22102
22103
22104 2005-04-11  Wim Taymans  <wim@fluendo.com>
22105
22106         * check/gst/gstbus.c: (gstbus_suite):
22107         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
22108         * check/gstcheck.h:
22109           Fix up the timeout so that the test does not fail.
22110
22111 2005-04-06  Wim Taymans  <wim@fluendo.com>
22112
22113         * gst/base/README:
22114         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22115         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
22116         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
22117         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
22118         (gst_basesrc_check_get_range), (gst_basesrc_loop),
22119         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
22120         (gst_basesrc_stop), (gst_basesrc_activate),
22121         (gst_basesrc_change_state), (basesrc_find_peek),
22122         (basesrc_find_suggest), (gst_basesrc_type_find):
22123         * gst/base/gstbasesrc.h:
22124         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
22125         (gst_filesrc_class_init), (gst_filesrc_init),
22126         (gst_filesrc_finalize), (gst_filesrc_set_location),
22127         (gst_filesrc_set_property), (gst_filesrc_get_property),
22128         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
22129         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
22130         (gst_filesrc_create_read), (gst_filesrc_create),
22131         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
22132         * gst/elements/gstfilesrc.h:
22133         * gst/gstelement.c: (gst_element_get_state_func),
22134         (gst_element_lost_state), (gst_element_pads_activate):
22135         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22136         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
22137         (gst_pad_pull_range):
22138         * gst/gstpad.h:
22139         More work on the generic source base class, implement seeking,
22140         query.
22141         Make filesrc extend the base source class.
22142         Added gst_pad_set_checkgetrange_function to GstPad.
22143
22144 2005-04-06  Andy Wingo  <wingo@pobox.com>
22145
22146         * pkgconfig/gstreamer-base.pc.in:
22147         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
22148
22149         * pkgconfig/Makefile.am:
22150         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
22151
22152 2005-04-04  Wim Taymans  <wim@fluendo.com>
22153
22154         * gst/base/Makefile.am:
22155         * gst/base/README:
22156         * gst/base/gstbasesink.c: (gst_basesink_base_init),
22157         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22158         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22159         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
22160         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22161         (gst_basesrc_base_init), (gst_basesrc_class_init),
22162         (gst_basesrc_init), (gst_basesrc_get_formats),
22163         (gst_basesrc_get_query_types), (gst_basesrc_query),
22164         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
22165         (gst_basesrc_set_property), (gst_basesrc_get_property),
22166         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
22167         (gst_basesrc_loop), (gst_basesrc_activate),
22168         (gst_basesrc_change_state):
22169         * gst/base/gstbasesrc.h:
22170         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
22171         (gst_fakesrc_class_init), (gst_fakesrc_init),
22172         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
22173         (gst_fakesrc_get_property), (gst_fakesrc_create):
22174         * gst/elements/gstfakesrc.h:
22175         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
22176         (gst_filesrc_open_file), (gst_filesrc_loop),
22177         (gst_filesrc_activate), (filesrc_find_peek),
22178         (gst_filesrc_type_find):
22179         Made base source class, make fakesrc extend it.
22180         Add comments to basesink class.
22181         Some filesrc cleanup.
22182
22183 2005-03-31  David Schleef  <ds@schleef.org>
22184
22185         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
22186         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
22187         expected to link against libgstreamer.
22188         * gst/base/Makefile.am: link against libgstreamer
22189         * gst/elements/Makefile.am: same
22190
22191 2005-03-31  Andy Wingo  <wingo@pobox.com>
22192
22193         * tests/instantiate/Makefile.am:
22194         * tests/instantiate/caps.c: Add test to test speed of caps copy
22195         and free.
22196
22197         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
22198         GMemChunk to be fair.
22199
22200         * gst/gsttrashstack.h: Remove warning about using the fallback
22201         trash stack implementation, it's still faster than malloc.
22202
22203 2005-03-30  Andy Wingo  <wingo@pobox.com>
22204
22205         * tests/complexity.c: Add a copyright.
22206
22207 2005-03-31  Wim Taymans  <wim@fluendo.com>
22208
22209         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
22210         (gst_base_transform_class_init), (gst_base_transform_init),
22211         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
22212         (gst_base_transform_get_property),
22213         (gst_base_transform_sink_activate),
22214         (gst_base_transform_src_activate),
22215         (gst_base_transform_change_state):
22216         * gst/base/gstbasetransform.h:
22217         * gst/elements/gstidentity.c: (gst_identity_class_init),
22218         (gst_identity_event), (gst_identity_check_perfect),
22219         (gst_identity_transform), (gst_identity_start),
22220         (gst_identity_stop):
22221         Added start/stop methods to transform base class so subclasses 
22222         don't need to deal with state changes even.
22223
22224 2005-03-31  Wim Taymans  <wim@fluendo.com>
22225
22226         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
22227         (gst_event_new_discontinuous), (gst_event_discont_get_value):
22228         * gst/gstevent.h:
22229         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22230         (gst_pad_pull_range):
22231         Added rate to the discont event to prepare for variable speed
22232         and reverse playback.
22233
22234 2005-03-29  David Schleef  <ds@schleef.org>
22235
22236         * configure.ac:
22237         * testsuite/trigger/Makefile.am:
22238         * testsuite/trigger/trigger.c: A little example program to show
22239         how trigger-based elements can work.
22240
22241 2005-03-29  Wim Taymans  <wim@fluendo.com>
22242
22243         * gst/base/Makefile.am:
22244         * gst/base/README:
22245         * gst/base/gstbasesink.c: (gst_basesink_get_type),
22246         (gst_basesink_base_init), (gst_basesink_class_init),
22247         (gst_basesink_pad_getcaps), (gst_basesink_init),
22248         (gst_basesink_activate), (gst_basesink_change_state):
22249         * gst/base/gstbasesink.h:
22250         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
22251         (gst_base_transform_base_init), (gst_base_transform_finalize),
22252         (gst_base_transform_class_init), (gst_base_transform_init),
22253         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
22254         (gst_base_transform_event), (gst_base_transform_getrange),
22255         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
22256         (gst_base_transform_set_property),
22257         (gst_base_transform_get_property),
22258         (gst_base_transform_sink_activate),
22259         (gst_base_transform_src_activate),
22260         (gst_base_transform_change_state):
22261         * gst/base/gstbasetransform.h:
22262         * gst/elements/gstidentity.c: (gst_identity_finalize),
22263         (gst_identity_class_init), (gst_identity_init),
22264         (gst_identity_event), (gst_identity_check_perfect),
22265         (gst_identity_transform), (gst_identity_set_property),
22266         (gst_identity_get_property), (gst_identity_change_state):
22267         * gst/elements/gstidentity.h:
22268         * gst/gstelement.c: (gst_element_get_state_func),
22269         (gst_element_lost_state), (gst_element_pads_activate):
22270         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22271         (gst_pad_check_pull_range), (gst_pad_pull_range):
22272         * gst/gstpad.h:
22273         Simplify pad activation.
22274         Added function to check if pull_range can be performed.
22275         Error out when pulling inactive or flushing pads.
22276         Removed const from refcounted types as it does not make sense.
22277         Simplify pad templates in basesink
22278         Added base class for simple 1-to-1 transforms.
22279         Make identity subclass the base transform.
22280
22281 2005-03-29  Andy Wingo  <wingo@pobox.com>
22282
22283         * docs/libs/gstreamer-libs-overrides.txt: 
22284         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
22285         really don't understand what's going on, but like whatever. I want
22286         green buildbot!
22287
22288         * docs/gst/Makefile.am:
22289         * docs/libs/Makefile.am: Dist the overrides files.
22290
22291         * check/Makefile.am (clean-local): Remove .libs directories.
22292
22293         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
22294         elements to EXTRA_DIST, so po/ files are happy.
22295
22296         * po/POTFILES.in: Er, remove it here.
22297
22298         * po/POTFILES: Remove gstspider.c.
22299
22300         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
22301
22302         * docs/libs/gstreamer-libs-docs.sgml: 
22303         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
22304         bytestream.
22305
22306         * tests/complexity.c (main): Set the length of the preroll queue
22307         on the sinks to prevent a lockup.
22308
22309         * libs/gst/dataprotocol/Makefile.am: 
22310         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
22311         the same as the one in check/gst-libs/gdp.c.
22312
22313         * po/, docs/gst/: Commit automatic changes to docs and po files.
22314
22315         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
22316         the versioned libgstbase.
22317
22318         * check/Makefile.am: Depend on an unversioned gst-register, seems
22319         to make autoconf happier.
22320
22321         * gst/base/Makefile.am: Make libgstbase a versioned lib.
22322
22323 2005-03-28  Wim Taymans  <wim@fluendo.com>
22324
22325         * configure.ac:
22326         * docs/design/part-gstelement.txt:
22327         * docs/design/part-negotiation.txt:
22328         * docs/design/part-preroll.txt:
22329         * docs/design/part-scheduling.txt:
22330         * docs/design/part-states.txt:
22331         * gst/Makefile.am:
22332         * gst/base/Makefile.am:
22333         * gst/base/README:
22334         * gst/base/gstbasesink.c: (gst_basesink_get_template),
22335         (gst_basesink_base_init), (gst_basesink_class_init),
22336         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22337         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22338         (gst_basesink_set_pad_functions),
22339         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
22340         (gst_basesink_set_property), (gst_basesink_get_property),
22341         (gst_base_sink_get_template), (gst_base_sink_get_caps),
22342         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
22343         (gst_basesink_preroll_queue_push),
22344         (gst_basesink_preroll_queue_empty),
22345         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
22346         (gst_basesink_event), (gst_basesink_get_times),
22347         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
22348         (gst_basesink_chain_unlocked), (gst_basesink_chain),
22349         (gst_basesink_loop), (gst_basesink_activate),
22350         (gst_basesink_change_state):
22351         * gst/base/gstbasesink.h:
22352         * gst/elements/Makefile.am:
22353         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
22354         (gst_fakesink_class_init), (gst_fakesink_init),
22355         (gst_fakesink_set_property), (gst_fakesink_get_property),
22356         (gst_fakesink_get_times), (gst_fakesink_event),
22357         (gst_fakesink_preroll), (gst_fakesink_render),
22358         (gst_fakesink_change_state):
22359         * gst/elements/gstfakesink.h:
22360         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22361         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
22362         * gst/gstelement.c: (gst_element_add_pad),
22363         (gst_element_get_state_func), (gst_element_abort_state),
22364         (gst_element_commit_state), (gst_element_lost_state),
22365         (gst_element_set_state), (gst_element_pads_activate):
22366         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
22367         * gst/gstpipeline.c: (gst_pipeline_send_event),
22368         (gst_pipeline_change_state):
22369         Added state change code.
22370         Added/updated docs.
22371         Added sink base class, make fakesink extend the base class.
22372         Small cleanups in GstPipeline.
22373
22374 2005-03-26  David Schleef  <ds@schleef.org>
22375
22376         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
22377         is broken and should be implemented in a different library.
22378         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
22379         * gst/gst.h: remove gstcpu.h
22380         * gst/gstcpu.c: remove
22381         * gst/gstcpu.h: remove
22382         * gst/Makefile.am.future: Remove this file.  It's ancient.
22383
22384 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22385
22386         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22387         (gst_bin_send_event):
22388           Add default event/set_manager handlers. The set_manager handler
22389           takes care that the manager is distributed over kids that were
22390           already in the bin before the manager was set. The event handler
22391           is a utility virtual function that sends the event over all sinks,
22392           so that gst_element_send_event (bin, event); has the expected
22393           behaviour.
22394         * gst/gstpad.c: (gst_pad_event_default):
22395           Re-install default event handling for discontinuities, so that
22396           seeking works without requiring hacks in applications or extra
22397           code in sinks.
22398         * gst/gstpipeline.c: (gst_pipeline_class_init),
22399         (gst_pipeline_send_event):
22400           Half hack, half utility: set a pipeline to PAUSED for seek events,
22401           since that is the only way we can guarantee a/v sync. Means that
22402           you can do gst_element_seek (pipeline, method, pos); on a pipeline
22403           and it "just works".
22404
22405 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22406
22407         * gst/gstpipeline.c: (gst_pipeline_use_clock):
22408           Lock/unlock mismatch.
22409
22410 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
22411
22412         * docs/faq/gst-uninstalled:
22413           add gst-plugins-base
22414         * docs/gst/Makefile.am:
22415           don't error out until docs are fixed
22416         * docs/gst/gstreamer.types:
22417           remove thread
22418
22419 2005-03-22  Wim Taymans  <wim@fluendo.com>
22420
22421         * check/Makefile.am:
22422         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
22423         * gst/gststructure.c: (gst_structure_set_valist),
22424         (gst_structure_copy_conditional):
22425         Activated more tests.
22426         Added message test.
22427         Added G_TYPE_POINTER to GstStructure.
22428         
22429
22430 2005-03-22  Wim Taymans  <wim@fluendo.com>
22431
22432         * docs/design/part-TODO.txt:
22433         * docs/design/part-events.txt:
22434         * docs/design/part-gstbin.txt:
22435         * docs/design/part-gstbus.txt:
22436         * docs/design/part-gstpipeline.txt:
22437         * docs/design/part-messages.txt:
22438         * gst/gstbus.c:
22439         * gst/gstmessage.c:
22440         Docs updates
22441
22442 2005-03-21  Wim Taymans  <wim@fluendo.com>
22443
22444         * gst/gstbus.c: (gst_bus_post):
22445         Fix copy-and-paste error.
22446
22447 2005-03-21  Wim Taymans  <wim@fluendo.com>
22448
22449         * check/Makefile.am:
22450         * gst/Makefile.am:
22451         * gst/elements/Makefile.am:
22452         * gst/elements/gstelements.c:
22453         * gst/elements/gstfakesink.c: (gst_fakesink_init),
22454         (gst_fakesink_event), (gst_fakesink_chain):
22455         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22456         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
22457         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
22458         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
22459         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22460         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
22461         (gst_fakesrc_loop), (gst_fakesrc_activate),
22462         (gst_fakesrc_change_state):
22463         * gst/elements/gstfakesrc.h:
22464         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
22465         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
22466         (gst_filesrc_open_file), (gst_filesrc_loop),
22467         (gst_filesrc_activate), (gst_filesrc_change_state),
22468         (filesrc_find_peek), (filesrc_find_suggest),
22469         (gst_filesrc_type_find):
22470         * gst/elements/gstidentity.c: (gst_identity_finalize),
22471         (gst_identity_class_init), (gst_identity_init),
22472         (gst_identity_proxy_getcaps), (identity_queue_push),
22473         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
22474         (gst_identity_getrange), (gst_identity_chain),
22475         (gst_identity_sink_loop), (gst_identity_src_loop),
22476         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
22477         (gst_identity_set_property), (gst_identity_get_property),
22478         (gst_identity_change_state):
22479         * gst/elements/gstidentity.h:
22480         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
22481         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
22482         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
22483         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
22484         (gst_tee_sink_activate):
22485         * gst/elements/gsttee.h:
22486         * gst/gst.c: (gst_register_core_elements), (init_post):
22487         * gst/gst.h:
22488         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
22489         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
22490         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
22491         (gst_bin_change_state):
22492         * gst/gstbin.h:
22493         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
22494         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
22495         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
22496         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
22497         (gst_bus_set_sync_handler), (gst_bus_create_watch),
22498         (bus_watch_callback), (bus_watch_destroy),
22499         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
22500         (poll_timeout), (gst_bus_poll):
22501         * gst/gstbus.h:
22502         * gst/gstcaps.h:
22503         * gst/gstdata.h:
22504         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22505         (gst_element_post_message), (gst_element_message_full),
22506         (gst_element_get_state_func), (gst_element_get_state),
22507         (gst_element_abort_state), (gst_element_commit_state),
22508         (gst_element_lost_state), (gst_element_set_state),
22509         (gst_element_pads_activate), (gst_element_change_state),
22510         (gst_element_dispose), (gst_element_set_manager_func),
22511         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
22512         (gst_element_set_manager), (gst_element_get_manager),
22513         (gst_element_set_bus), (gst_element_get_bus),
22514         (gst_element_set_scheduler), (gst_element_get_scheduler):
22515         * gst/gstelement.h:
22516         * gst/gstevent.c: (gst_event_new_segment_seek),
22517         (gst_event_new_flush):
22518         * gst/gstevent.h:
22519         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
22520         (_gst_message_free), (gst_message_get_type), (gst_message_new),
22521         (gst_message_new_eos), (gst_message_new_error),
22522         (gst_message_new_warning), (gst_message_new_tag),
22523         (gst_message_new_state_changed), (gst_message_new_application),
22524         (gst_message_get_structure), (gst_message_parse_tag),
22525         (gst_message_parse_state_changed), (gst_message_parse_error),
22526         (gst_message_parse_warning):
22527         * gst/gstmessage.h:
22528         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
22529         (gst_real_pad_set_property), (gst_pad_set_active),
22530         (gst_pad_is_active), (gst_pad_set_blocked_async),
22531         (gst_pad_set_blocked), (gst_pad_is_blocked),
22532         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
22533         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
22534         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
22535         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
22536         (gst_pad_link_filtered), (gst_pad_relink_filtered),
22537         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
22538         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
22539         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
22540         (gst_pad_set_caps), (gst_pad_configure_sink),
22541         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
22542         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
22543         (gst_real_pad_dispose), (gst_real_pad_finalize),
22544         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
22545         (gst_pad_event_default_dispatch), (gst_pad_event_default),
22546         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
22547         * gst/gstpad.h:
22548         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
22549         (pipeline_bus_handler), (gst_pipeline_change_state),
22550         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
22551         * gst/gstpipeline.h:
22552         * gst/gstprobe.h:
22553         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22554         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
22555         (gst_queue_link_src), (gst_queue_bufferalloc),
22556         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
22557         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
22558         (gst_queue_loop), (gst_queue_handle_src_event),
22559         (gst_queue_handle_src_query), (gst_queue_src_activate),
22560         (gst_queue_change_state):
22561         * gst/gstqueue.h:
22562         * gst/gstscheduler.c: (gst_scheduler_init),
22563         (gst_scheduler_dispose), (gst_scheduler_create_task),
22564         (gst_scheduler_factory_create):
22565         * gst/gstscheduler.h:
22566         * gst/gststructure.c: (gst_structure_get_type),
22567         (gst_structure_copy_conditional):
22568         * gst/gststructure.h:
22569         * gst/gsttaginterface.h:
22570         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22571         (gst_task_init), (gst_task_dispose), (gst_task_create),
22572         (gst_task_get_state), (gst_task_start), (gst_task_stop),
22573         (gst_task_pause):
22574         * gst/gsttask.h:
22575         * gst/gstthread.c:
22576         * gst/gstthread.h:
22577         * gst/gsttypes.h:
22578         * gst/schedulers/Makefile.am:
22579         * gst/schedulers/cothreads_compat.h:
22580         * gst/schedulers/entryscheduler.c:
22581         * gst/schedulers/faircothreads.c:
22582         * gst/schedulers/faircothreads.h:
22583         * gst/schedulers/fairscheduler.c:
22584         * gst/schedulers/gstbasicscheduler.c:
22585         * gst/schedulers/gstoptimalscheduler.c:
22586         * gst/schedulers/gthread-cothreads.h:
22587         * gst/schedulers/threadscheduler.c:
22588         (gst_thread_scheduler_task_get_type),
22589         (gst_thread_scheduler_task_class_init),
22590         (gst_thread_scheduler_task_init),
22591         (gst_thread_scheduler_task_start),
22592         (gst_thread_scheduler_task_stop),
22593         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
22594         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
22595         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
22596         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
22597         (plugin_init):
22598         * libs/gst/Makefile.am:
22599         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
22600         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
22601         (gst_file_pad_parent_set):
22602         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22603         (gst_dp_event_from_packet):
22604         * tests/complexity.c: (main):
22605         * tests/mass_elements.c: (main):
22606         * testsuite/states/locked.c: (message_received), (main):
22607         * testsuite/states/parent.c: (main):
22608         * tools/gst-inspect.c: (print_element_flag_info),
22609         (print_implementation_info), (print_pad_info):
22610         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
22611         (main):
22612         * tools/gst-md5sum.c: (event_loop), (main):
22613         * tools/gst-typefind.c: (main):
22614         * tools/gst-xmlinspect.c: (print_element_info):
22615         Next big merge.
22616         Added GstBus for mainloop integration.
22617         Added GstMessage for sending notifications on the bus.
22618         Added GstTask as an abstraction for pipeline entry points.
22619         Removed GstThread.
22620         Removed Schedulers.
22621         Simplified GstQueue for multithreaded core.
22622         Made _link threadsafe, removed old capsnego.
22623         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
22624         Added pad blocking functions.
22625         Reworked scheduling functions in GstPad to prepare for
22626         scheduling updates soon.
22627         Moved events out of data stream.
22628         Simplified GstEvent types.
22629         Added return values to push/pull.
22630         Removed clocking from GstElement.
22631         Added prototypes for state change function for next merge.
22632         Removed iterate from bins and state change management.
22633         Fixed some elements, disabled others for now.
22634         Fixed -inspect and -launch.
22635         Added check for GstBus.
22636
22637 2005-03-10  Wim Taymans  <wim@fluendo.com>
22638
22639         * docs/design/part-MT-refcounting.txt:
22640         * docs/design/part-clocks.txt:
22641         * docs/design/part-gstelement.txt:
22642         * docs/design/part-gstobject.txt:
22643         * docs/design/part-standards.txt:
22644         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22645         (gst_bin_remove_func), (gst_bin_remove):
22646         * gst/gstbin.h:
22647         * gst/gstbuffer.c:
22648         * gst/gstcaps.h:
22649         * testsuite/clock/clock1.c: (main):
22650         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
22651         (main):
22652         * testsuite/dlopen/loadgst.c: (do_test):
22653         * testsuite/refcounting/bin.c: (add_remove_test1),
22654         (add_remove_test2), (main):
22655         * testsuite/refcounting/element.c: (main):
22656         * testsuite/refcounting/element_pad.c: (main):
22657         * testsuite/refcounting/pad.c: (main):
22658         * tools/gst-launch.c: (sigint_handler_sighandler):
22659         * tools/gst-typefind.c: (main):
22660         Doc updates.
22661         Added doc about clock.
22662         removed gst_bin_iterate_recurse_up(), marked methods
22663         for removal.
22664         Fix more testsuites.
22665
22666 2005-03-09  Wim Taymans  <wim@fluendo.com>
22667
22668         * gst/gstpad.c: (gst_pad_get_direction),
22669         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
22670         (gst_pad_collect_valist):
22671         * testsuite/bins/interface.c: (main):
22672         * testsuite/caps/audioscale.c: (test_caps):
22673         * testsuite/caps/caps.c: (test1), (test2), (test3):
22674         * testsuite/caps/deserialize.c: (main):
22675         * testsuite/caps/enumcaps.c: (main):
22676         * testsuite/caps/filtercaps.c: (main):
22677         * testsuite/caps/intersect2.c: (main):
22678         * testsuite/caps/random.c: (main):
22679         * testsuite/caps/renegotiate.c: (my_fixate), (main):
22680         * testsuite/caps/sets.c: (check_caps):
22681         * testsuite/caps/simplify.c: (check_caps), (main):
22682         * testsuite/caps/subtract.c: (check_caps):
22683         Fix _pad_get_direction wrt ghostpads.
22684         Fix caps testsuite.
22685
22686 2005-03-09  Wim Taymans  <wim@fluendo.com>
22687
22688         * check/Makefile.am:
22689         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
22690         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
22691         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
22692         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
22693         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
22694         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
22695         (gst_bin_remove), (gst_bin_iterate_recurse_up),
22696         (bin_element_is_sink), (gst_bin_iterate_sinks),
22697         (gst_bin_iterate_all_by_interface):
22698         * gst/gstbin.h:
22699         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
22700         (gst_element_change_state), (gst_element_dispose),
22701         (gst_element_finalize), (gst_element_set_loop_function):
22702         * gst/gstelement.h:
22703         * gst/gstiterator.c: (find_custom_fold_func):
22704         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22705         (gst_pad_collectv), (gst_pad_collect_valist),
22706         (gst_pad_template_new):
22707         * gst/gstpipeline.c: (gst_pipeline_class_init),
22708         (gst_pipeline_dispose), (gst_pipeline_set_property),
22709         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
22710         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
22711         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
22712         * gst/gstutils.h:
22713         * gst/schedulers/entryscheduler.c:
22714         * gst/schedulers/gstbasicscheduler.c:
22715         (gst_basic_scheduler_cothreaded_chain),
22716         (gst_basic_scheduler_chain_add_element):
22717         * testsuite/bins/interface.c: (main):
22718         Added GstBin test.
22719         Added GstSystemClock test.
22720         Implemented clock distribution code in GstBin.
22721         Implemented iterate sinks method for future use.
22722         Rearranged gstelement.h
22723         Fix GstIterator comparison bug.
22724         Moved some code to GstPipeline, mostly clocking related.
22725
22726 2005-03-09  Wim Taymans  <wim@fluendo.com>
22727
22728         * configure.ac:
22729         * gst/gst_private.h:
22730         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22731         (gst_bin_remove_func), (gst_bin_remove),
22732         (gst_bin_get_by_name_recurse_up):
22733         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
22734         (gst_clock_id_compare_func), (gst_clock_id_wait),
22735         (gst_clock_id_wait_async), (gst_clock_init),
22736         (gst_clock_adjust_unlocked), (gst_clock_get_time):
22737         * gst/gstelement.h:
22738         * gst/gstinfo.c: (_gst_debug_init):
22739         * gst/gstobject.h:
22740         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22741         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
22742         * gst/gstpad.h:
22743         Bump version number, we're now 0.9.0
22744         Add future debugging category.
22745         Fix NULL _unref() in _get_by_name_recurse_up
22746         Rearrange gstpad.h.
22747         Update some docs.
22748
22749 2005-03-08  Wim Taymans  <wim@fluendo.com>
22750
22751         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
22752         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
22753         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
22754         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
22755         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
22756         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
22757         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
22758         * gst/elements/gstidentity.c: (gst_identity_class_init):
22759         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
22760         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
22761         * gst/elements/gstshaper.c: (gst_shaper_class_init):
22762         * gst/elements/gststatistics.c: (gst_statistics_class_init):
22763         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
22764         (gst_tee_link):
22765         * gst/gstelement.c: (gst_element_class_init),
22766         (gst_element_base_class_init), (gst_element_init),
22767         (gst_element_get_random_pad), (gst_element_wait_state_change),
22768         (gst_element_change_state), (gst_element_dispose),
22769         (gst_element_finalize), (gst_element_set_loop_function):
22770         * gst/gstelement.h:
22771         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
22772         * gst/gstthread.c: (gst_thread_class_init),
22773         (gst_thread_release_children_locks), (gst_thread_change_state):
22774         * gst/schedulers/gstbasicscheduler.c:
22775         (gst_basic_scheduler_loopfunc_wrapper),
22776         (gst_basic_scheduler_chain_wrapper),
22777         (gst_basic_scheduler_src_wrapper),
22778         (gst_basic_scheduler_remove_element):
22779         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
22780         Remove threadsafe properties. Fix elements because GObject
22781         complains when installing a property before declaring a
22782         set/get_property handler.
22783         Rearrange gstelement.h file, use STATE macros for state locks.
22784         Free mutexes in the finalize method instead of dispose.
22785
22786 2005-03-08  Wim Taymans  <wim@fluendo.com>
22787
22788         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
22789         * gst/gstthread.c: (gst_thread_release_children_locks):
22790         Added parentage check.
22791         Fix build og GstThread again.
22792
22793 2005-03-08  Wim Taymans  <wim@fluendo.com>
22794
22795         * docs/design/part-MT-refcounting.txt:
22796         * docs/design/part-conventions.txt:
22797         * docs/design/part-gstobject.txt:
22798         * docs/design/part-relations.txt:
22799         * docs/design/part-standards.txt:
22800         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22801         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
22802         (gst_bin_get_by_name), (gst_bin_get_by_interface),
22803         (gst_bin_iterate_all_by_interface):
22804         * gst/gstbuffer.h:
22805         * gst/gstclock.h:
22806         * gst/gstelement.c: (gst_element_class_init),
22807         (gst_element_change_state), (gst_element_set_loop_function):
22808         * gst/gstelement.h:
22809         * gst/gstiterator.c:
22810         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
22811         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
22812         (gst_object_dispatch_properties_changed), (gst_object_set_name),
22813         (gst_object_set_parent), (gst_object_unparent),
22814         (gst_object_check_uniqueness):
22815         * gst/gstobject.h:
22816         Docs updates, clean up some headers.
22817
22818 2005-03-07  Wim Taymans  <wim@fluendo.com>
22819
22820         * check/.cvsignore:
22821         * check/Makefile.am:
22822         * check/gst-libs/.cvsignore:
22823         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
22824         * check/gst/.cvsignore:
22825         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
22826         (START_TEST), (gstbus_suite), (main):
22827         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
22828         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
22829         (gst_data_suite), (main):
22830         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
22831         (add_fold_func), (gstiterator_suite), (main):
22832         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
22833         (thread_name_object), (thread_name_object_default),
22834         (gst_object_name_compare), (gst_object_suite), (main):
22835         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
22836         (gst_pad_suite), (main):
22837         * check/gstcheck.c: (gst_check_log_message_func),
22838         (gst_check_log_critical_func), (gst_check_init):
22839         * check/gstcheck.h:
22840         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
22841         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
22842         Added checks.
22843
22844 2005-03-07  Wim Taymans  <wim@fluendo.com>
22845
22846         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22847         (gst_list_iterator_next), (gst_list_iterator_resync),
22848         (gst_list_iterator_free), (gst_iterator_new_list),
22849         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
22850         (gst_iterator_free), (gst_iterator_push), (filter_next),
22851         (filter_resync), (filter_uninit), (filter_free),
22852         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
22853         (gst_iterator_foreach), (find_custom_fold_func),
22854         (gst_iterator_find_custom):
22855         * gst/gstiterator.h:
22856         Added missing files.
22857
22858 2005-03-07  Wim Taymans  <wim@fluendo.com>
22859
22860         * Makefile.am:
22861         * configure.ac:
22862         * docs/design/part-MT-refcounting.txt:
22863         * docs/design/part-conventions.txt:
22864         * docs/design/part-gstobject.txt:
22865         * docs/design/part-relations.txt:
22866         * examples/mixer/mixer.c: (main):
22867         * examples/thread/thread.c: (eos), (main):
22868         * gst/Makefile.am:
22869         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
22870         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
22871         (gst_spider_plug_from_srcpad):
22872         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
22873         (gst_spider_identity_change_state),
22874         (gst_spider_identity_sink_loop_type_finding):
22875         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
22876         * gst/elements/gstidentity.c: (gst_identity_init):
22877         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
22878         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
22879         * gst/elements/gsttypefindelement.c: (free_entry):
22880         * gst/gst.c:
22881         * gst/gst.h:
22882         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
22883         (gst_bin_set_clock_func), (gst_bin_auto_clock),
22884         (gst_bin_set_index), (gst_bin_set_element_sched),
22885         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
22886         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
22887         (gst_bin_iterate_elements), (iterate_child_recurse),
22888         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
22889         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
22890         (compare_interface), (gst_bin_get_by_interface),
22891         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
22892         * gst/gstbin.h:
22893         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
22894         (gst_buffer_default_free), (gst_buffer_default_copy),
22895         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
22896         (gst_buffer_create_sub):
22897         * gst/gstbuffer.h:
22898         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
22899         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
22900         (gst_caps_unref), (gst_static_caps_get),
22901         (gst_caps_remove_and_get_structure), (gst_caps_append),
22902         (gst_caps_append_structure), (gst_caps_remove_structure),
22903         (gst_caps_copy_nth), (gst_caps_set_simple),
22904         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
22905         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
22906         (gst_caps_structure_intersect_field), (gst_caps_intersect),
22907         (gst_caps_structure_subtract_field), (gst_caps_subtract),
22908         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
22909         (gst_caps_structure_figure_out_union),
22910         (gst_caps_switch_structures), (gst_caps_do_simplify),
22911         (gst_caps_replace), (gst_caps_from_string),
22912         (gst_caps_copy_conditional):
22913         * gst/gstcaps.h:
22914         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
22915         (_gst_clock_id_free), (gst_clock_id_unref),
22916         (gst_clock_id_compare_func), (gst_clock_id_wait),
22917         (gst_clock_id_wait_async), (gst_clock_class_init),
22918         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
22919         (gst_clock_get_time), (gst_clock_set_time_adjust),
22920         (gst_clock_set_property), (gst_clock_get_property):
22921         * gst/gstclock.h:
22922         * gst/gstcompat.h:
22923         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
22924         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
22925         * gst/gstdata.h:
22926         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22927         (gst_element_requires_clock), (gst_element_provides_clock),
22928         (gst_element_set_clock), (gst_element_clock_wait),
22929         (gst_element_wait), (gst_element_set_time_delay),
22930         (gst_element_is_indexable), (gst_element_add_pad),
22931         (gst_element_add_ghost_pad), (gst_element_remove_pad),
22932         (pad_compare_name), (gst_element_get_static_pad),
22933         (gst_element_request_pad), (gst_element_get_request_pad),
22934         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
22935         (gst_element_class_get_pad_template_list),
22936         (gst_element_class_get_pad_template), (gst_element_error_func),
22937         (gst_element_get_random_pad), (gst_element_get_event_masks),
22938         (gst_element_send_event), (gst_element_seek),
22939         (gst_element_get_query_types), (gst_element_query),
22940         (gst_element_get_formats), (gst_element_convert),
22941         (gst_element_is_locked_state), (gst_element_set_locked_state),
22942         (gst_element_sync_state_with_parent), (gst_element_change_state),
22943         (gst_element_finalize), (gst_element_yield),
22944         (gst_element_interrupt), (gst_element_set_scheduler),
22945         (gst_element_get_scheduler), (gst_element_set_loop_function):
22946         * gst/gstelement.h:
22947         * gst/gstevent.h:
22948         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
22949         (gst_format_get_by_nick), (gst_format_get_details),
22950         (gst_format_iterate_definitions):
22951         * gst/gstformat.h:
22952         * gst/gstindex.c: (gst_index_gtype_resolver):
22953         * gst/gstinfo.c:
22954         * gst/gstinfo.h:
22955         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
22956         (gst_mem_chunk_free):
22957         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
22958         (gst_object_ref), (gst_object_unref), (gst_object_sink),
22959         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
22960         (gst_object_dispatch_properties_changed),
22961         (gst_object_set_name_default), (gst_object_set_name),
22962         (gst_object_get_name), (gst_object_set_name_prefix),
22963         (gst_object_get_name_prefix), (gst_object_set_parent),
22964         (gst_object_get_parent), (gst_object_unparent),
22965         (gst_object_check_uniqueness), (gst_object_save_thyself),
22966         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
22967         (gst_object_set_property), (gst_object_get_property),
22968         (gst_object_get_path_string):
22969         * gst/gstobject.h:
22970         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
22971         (gst_real_pad_init), (gst_real_pad_get_property),
22972         (gst_pad_custom_new), (gst_pad_get_direction),
22973         (gst_pad_set_active), (gst_pad_is_active),
22974         (gst_pad_set_event_function), (gst_pad_is_linked),
22975         (gst_pad_link_free), (gst_pad_link_intersect),
22976         (gst_pad_link_fixate), (gst_pad_set_caps),
22977         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
22978         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
22979         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
22980         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
22981         (gst_pad_get_caps), (gst_pad_peer_get_caps),
22982         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
22983         (gst_pad_realize), (gst_pad_get_allowed_caps),
22984         (gst_real_pad_dispose), (gst_real_pad_finalize),
22985         (gst_pad_collectv), (gst_pad_collect_valist),
22986         (gst_pad_template_dispose), (gst_pad_template_new),
22987         (gst_pad_get_internal_links):
22988         * gst/gstpad.h:
22989         * gst/gstpipeline.c: (gst_pipeline_dispose),
22990         (gst_pipeline_change_state):
22991         * gst/gstpipeline.h:
22992         * gst/gstplugin.c:
22993         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
22994         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
22995         * gst/gstpluginfeature.h:
22996         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
22997         * gst/gstquery.c: (_gst_query_type_initialize),
22998         (gst_query_type_register), (gst_query_type_get_by_nick),
22999         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
23000         * gst/gstquery.h:
23001         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
23002         * gst/gstscheduler.c: (gst_scheduler_add_element),
23003         (gst_scheduler_factory_create):
23004         * gst/gststructure.c: (gst_structure_set_parent_refcount),
23005         (gst_structure_free), (gst_structure_set_name),
23006         (gst_structure_id_set_value), (gst_structure_set_value),
23007         (gst_structure_set_valist), (gst_structure_remove_field),
23008         (gst_structure_remove_fields),
23009         (gst_structure_remove_fields_valist),
23010         (gst_structure_remove_all_fields), (gst_structure_foreach),
23011         (gst_structure_map_in_place),
23012         (gst_caps_structure_fixate_field_nearest_int),
23013         (gst_caps_structure_fixate_field_nearest_double):
23014         * gst/gststructure.h:
23015         * gst/gstsystemclock.c: (gst_system_clock_class_init),
23016         (gst_system_clock_init), (gst_system_clock_dispose),
23017         (gst_system_clock_async_thread),
23018         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
23019         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
23020         * gst/gstsystemclock.h:
23021         * gst/gsttag.c: (gst_tag_list_add_value_internal),
23022         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
23023         * gst/gsttaginterface.c:
23024         * gst/gstthread.c: (gst_thread_dispose),
23025         (gst_thread_release_children_locks), (gst_thread_change_state),
23026         (gst_thread_main_loop):
23027         * gst/gsttrashstack.h:
23028         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
23029         * gst/gsttypes.h:
23030         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23031         (gst_element_request_pad), (gst_element_get_pad_from_template),
23032         (gst_element_request_compatible_pad),
23033         (gst_element_get_compatible_pad_filtered),
23034         (gst_element_get_compatible_pad), (gst_element_state_get_name),
23035         (gst_element_link_pads_filtered), (gst_element_link_filtered),
23036         (gst_element_link_many), (gst_element_link),
23037         (gst_element_link_pads), (gst_element_unlink_pads),
23038         (gst_element_unlink_many), (gst_element_unlink),
23039         (gst_pad_can_link_filtered), (gst_pad_can_link),
23040         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
23041         (gst_object_default_error), (gst_bin_add_many),
23042         (gst_bin_remove_many), (gst_element_populate_std_props),
23043         (gst_element_class_install_std_props), (gst_buffer_merge),
23044         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
23045         (link_fold_func), (gst_pad_proxy_setcaps):
23046         * gst/gstutils.h:
23047         * gst/gstvalue.c: (gst_value_deserialize_string):
23048         * gst/parse/grammar.y:
23049         * gst/schedulers/gstbasicscheduler.c:
23050         (gst_basic_scheduler_cothreaded_chain),
23051         (gst_basic_scheduler_chain_recursive_add),
23052         (gst_basic_scheduler_pad_link):
23053         * gst/schedulers/gstoptimalscheduler.c:
23054         (get_group_schedule_function),
23055         (gst_opt_scheduler_state_transition),
23056         (gst_opt_scheduler_add_element), (element_get_reachables_func):
23057         * libs/gst/bytestream/bytestream.c:
23058         * libs/gst/dataprotocol/dataprotocol.c:
23059         (gst_dp_header_from_buffer):
23060         * po/nb.po:
23061         * po/ru.po:
23062         * tests/threadstate/threadstate2.c: (eos):
23063         * tools/gst-compprep.c: (main):
23064         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
23065         (print_pad_info), (print_children_info):
23066         * tools/gst-launch.c: (idle_func), (main):
23067         * tools/gst-md5sum.c: (idle_func), (main):
23068         * tools/gst-xmlinspect.c: (print_element_info):
23069         First THREADED backport attempt, focusing on adding locks and
23070         making sure the API is threadsafe. Needs more work. More docs
23071         follow this week.
23072
23073 2005-02-24  Andy Wingo  <wingo@pobox.com>
23074
23075         * tests/bench-complexity.scm:
23076         * tests/complexity.gnuplot: New files, good for running complexity
23077         benchmarks.
23078
23079         * tests/Makefile.am:
23080         * tests/complexity.c: New test, sets up N elements, at each level
23081         teeing into M streams per element. Eeeenteresting.
23082
23083         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
23084         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
23085         running bench-mass_elements.scm.
23086
23087         * tests/bench-mass_elements.scm: New script, runs mass_elements
23088         for various numbers of identities, outputting the results to a
23089         file. Requires guile 1.6. Just for testing.
23090
23091 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23092
23093         * gst/schedulers/fairscheduler.c:
23094           compile with debug disabled
23095
23096 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23097
23098         * configure.ac:
23099           hunting season on 0.9 is now OPEN