4a2b6ca73a842c240cd9cb33e8af2938d4f257f0
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
2
3         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
4           Make sure streaming has finished before calling the ::stop() vfunc,
5           since that vfunc might clear state which is being used in the
6           streaming thread. This fixes a race that caused crashes in
7           audioresample when shutting down a pipeline (#420106).
8
9 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
10
11         * docs/gst/gstreamer-sections.txt:
12           That was one byte missing.
13
14 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
15
16         * configure.ac:
17         * docs/gst/gstreamer-sections.txt:
18         * gst/Makefile.am:
19         * gst/gstconfig.h.in:
20         * gst/gstobject.c: (gst_object_class_init),
21         (gst_signal_object_class_init):
22         * gst/gstobject.h:
23           2nd attempt to have a xml-less build as a joined effort of #413123
24           and #421480.
25
26 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
27
28         * docs/design/draft-tagreading.txt:
29           Added open issues/thoughts to draft.
30
31 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
32
33         * gst/parse/grammar.tab.pre.c:
34         * gst/parse/grammar.tab.pre.h:
35         * gst/parse/lex._gst_parse_yy.pre.c:
36         Update the prebuild parser sources.
37
38 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
39
40         * gst/parse/Makefile.am:
41         And now fix the building of the flex sources. Now everything should
42         work as expected.
43
44 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
45
46         * gst/parse/Makefile.am:
47         Now hopefully fix the build failures by setting proper rule
48         dependencies and moving instead of copying.
49
50 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
51
52         * tests/benchmarks/complexity.gnuplot:
53         * tests/benchmarks/complexity.scm:
54         * tests/benchmarks/mass-elements.gnuplot:
55         * tests/benchmarks/mass-elements.scm:
56           Total licensification.
57
58 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
59
60         * gst/parse/Makefile.am:
61           Fix the build by correcting the rule that gave wrong files to flex.
62
63 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
64
65         * tests/benchmarks/complexity.c:
66         * tests/benchmarks/mass-elements.c:
67           Change licence to LGPL as granted by Benjamin and Andy.
68
69 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
70
71         * gst/parse/Makefile.am:
72         Add correct grammar.tab.h dependency if compiling without new enough
73         flex. Fixes #431150.
74
75 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
76
77         * gst/parse/Makefile.am:
78         Fix typo and use outdated sources if the flex/bison sources are newer
79         than the pregenerated ones but flex is too old. Print a warning in
80         that case. This should fix the build on the build bot.
81
82 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
83
84         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
85         * gst/parse/Makefile.am:
86         * gst/parse/grammar.y:
87         * gst/parse/parse.l:
88         Make the parser reentrant and recursively callable. This requires flex
89         >= 2.5.31, for older versions pregenerated sources are used as we
90         can't bump the build dependency. Finally fixes #349180.
91
92         * gst/gstparse.c: (gst_parse_launch):
93         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
94         now anyway.
95
96         * docs/gst/Makefile.am:
97         * docs/gst/Makefile.am:
98         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
99         (__gst_parse_strfree), (__gst_parse_link_new),
100         (__gst_parse_link_free), (__gst_parse_chain_new),
101         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
102         (gst_parse_element_set), (gst_parse_free_link),
103         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
104         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
105         (_gst_parse_launch):
106         * gst/parse/grammar.tab.pre.h:
107         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
108         (yy_get_previous_state), (yy_try_NUL_trans), (input),
109         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
110         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
111         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
112         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
113         (_gst_parse_yypop_buffer_state),
114         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
115         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
116         (yy_fatal_error), (_gst_parse_yyget_extra),
117         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
118         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
119         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
120         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
121         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
122         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
123         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
124         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
125         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
126         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
127         (_gst_parse_yyfree):
128         If the installed flex version is too old use pre-generated parser
129         sources. These pre-generated parser sources are always updated when
130         the actual flex/bison sources change but require everybody who wants
131         to change something in the parser to have flex >= 2.5.31 installed.
132
133 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
134
135         * common/m4/gst-gettext.m4:
136         * gst/gst-i18n-lib.h:
137           Make --disable-nls to work
138
139 2007-04-17  Wim Taymans  <wim@fluendo.com>
140
141         * gst/gstconfig.h.in:
142         Revert previous change that broke the build.
143
144 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
145
146         * configure.ac:
147         * gst/Makefile.am:
148         * gst/gstconfig.h.in:
149           Drop libxml2 dependency when building with 
150           --enable-binary-registry --disable-loadsave
151
152 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
153
154         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
155         (gst_registry_binary_read_cache):
156         * gst/gstregistrybinary.h:
157           Remove unnecessary <sys/mman.h> include which broke the win32 build
158           with MingW; move includes from header file to .c file, even if the
159           header file isn't installed; use g_strerror() where UTF-8 strings
160           are expected, such as in GST_DEBUG messages.
161
162 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
163
164         * docs/libs/gstreamer-libs-sections.txt:
165         Remove bogus addition for API I didn't end up keeping.
166
167         * libs/gst/base/gstbasesrc.h:
168         Mention Since: 0.10.13 in the documentation.
169
170         Add the API keyword to the previous ChangeLog entry.
171
172 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
173
174         * docs/libs/gstreamer-libs-sections.txt:
175         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
176         (gst_base_src_default_prepare_seek_segment),
177         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
178         * libs/gst/base/gstbasesrc.h:
179         Allow basesrc derived classes to execute seeks in other formats
180         by providing a prepare_seek_segment vmethod. Sub-classes can choose
181         to prepare the GstSegment in any format that their perform_seek method
182         will be able to understand. The default implementation provides the
183         old behaviour of attempting to convert the seek offsets to the 
184         configured native format.
185
186         API: basesrc::prepare_seek_segment vmethod.
187
188 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
189
190         * gst/gstelement.c: (gst_element_get_state_func):
191         Don't output the same debug statement twice.
192
193         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
194         (gst_adapter_peek), (gst_adapter_take_buffer):
195         Optimise the case where we have buffers at the head of the queue that
196         can be joined quickly (because they're contiguous sub-buffers) by
197         merging them together rather than copying data out into new memory.
198
199         * gst/parse/grammar.y:
200         * tests/check/pipelines/parse-launch.c:
201         Fix a leak in an error path for parse_launch, and add a check 
202         for it to the testsuite.
203
204 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
205
206         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
207           Don't deadlock when releasing a pad - gst_pad_set_active may try
208           and take the multiqueue lock too.
209
210 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
211
212         * gst/gsterror.c: (_gst_core_errors_init):
213         * gst/gsterror.h:
214           API: add GST_CORE_ERROR_DISABLED (#392804).
215
216 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
217
218         * docs/faq/gst-uninstalled:
219           don't get empty paths on the PATH variables
220         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
221           Don't format for the uncommon terminal width of 84 characters.
222
223 2007-04-06  Wim Taymans  <wim@fluendo.com>
224
225         * gst/gstpipeline.c: (reset_stream_time),
226         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
227         Only try to select a different pipeline clock when we went back to
228         PAUSED and not when we merely got flushed.
229
230 2007-04-05  Michael Smith  <msmith@fluendo.com>
231
232         * tools/gst-launch.1.in:
233           fractions are better supported in gstreamer than ractions, so
234           suggest using those.
235
236 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
237
238         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
239
240         * po/LINGUAS:
241         * po/da.po:
242           Added Danish translation.
243
244 2007-04-05  Wim Taymans  <wim@fluendo.com>
245
246         * libs/gst/base/gstbasesink.c:
247         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
248         Fix leak caused when refusing newsegment after EOS.
249
250         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
251         (gst_fake_sink_init), (gst_fake_sink_set_property),
252         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
253         (gst_fake_sink_render), (gst_fake_sink_change_state):
254         * plugins/elements/gstfakesink.h:
255         Add num-buffers property to make the element generate EOS after a
256         configurable amount of buffers.
257         API: fakesink::num-buffers property.
258
259         * tests/check/elements/fakesink.c: (GST_START_TEST),
260         (fakesink_suite):
261         Fix GstBus leak in test.
262         Test for fakesink num-buffers.
263
264 2007-04-05  Wim Taymans  <wim@fluendo.com>
265
266         * libs/gst/base/gstbasesink.c:
267         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
268         (gst_base_sink_change_state):
269         Don't accept anything after an EOS, return UNEXPECTED instead.
270
271         * tests/check/elements/fakesink.c: (GST_START_TEST),
272         (fakesink_suite):
273         Unit test for new EOS behaviour.
274
275 2007-04-05  Wim Taymans  <wim@fluendo.com>
276
277         * gst/gstelement.c: (gst_element_get_request_pad):
278         Make padtemplates also work when they don't contain %s or %d.
279
280 2007-04-05  Wim Taymans  <wim@fluendo.com>
281
282         * docs/gst/gstreamer-sections.txt:
283         * gst/gstclock.c: (gst_clock_adjust_unlocked),
284         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
285         * gst/gstclock.h:
286         Improve _adjust_unlocked() so that it overflows less.
287         Add gst_clock_unadjust_unlocked to convert from external time to
288         internal time based on calibration.
289         Add some more debug.
290         API: GstClock::gst_clock_unadjust_unlocked()
291
292 2007-04-03  Wim Taymans  <wim@fluendo.com>
293
294         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
295
296         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
297         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
298         when releasing sink pad. Fixes #425400.
299
300 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
301
302         * docs/random/ensonic/dynlink.txt:
303           More work on proposal for new core api.
304
305         * docs/libs/gstreamer-libs-sections.txt:
306         * libs/gst/base/gstbasetransform.h:
307           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
308           
309         * libs/gst/controller/gstcontroller.c:
310         (on_object_controlled_property_changed),
311         (gst_controller_sync_values),
312         (gst_controller_set_interpolation_mode):
313         * libs/gst/controller/gstcontroller.h:
314           Less verbose logging add docs for unimplemented parts and correctly
315           return when using unavailable parts.
316
317 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
318
319         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
320         Move all the debug to the CLOCK category, and associate it with
321         the clock object.
322
323 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
324
325         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
326         Make take_buffer a bit quicker by removing redundant checks
327         caused by calling gst_adapter_take.
328
329 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
330
331         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
332           Don't leak GCond.
333
334         * tests/check/Makefile.am:
335         * tests/check/elements/.cvsignore:
336         * tests/check/elements/multiqueue.c: (setup_multiqueue),
337         (GST_START_TEST), (multiqueue_suite):
338           Add some dead simple unit tests for the 'multiqueue' element
339           (some bits don't work yet and are disabled for now).
340
341 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
342
343         * gst/gstelement.c: (gst_element_get_request_pad),
344         (gst_element_class_get_request_pad_template):
345           Make gst_element_get_request_pad() create request pads only for
346           request pad templates and not for, say, sometimes pad templates.
347
348 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
349
350         * docs/design/draft-klass.txt:
351           Add example that needs more thinking.
352         
353         * docs/design/draft-missing-plugins.txt:
354           More thoughts about wrapper plugins.
355         
356         * docs/random/ensonic/embedded.txt:
357         * docs/random/ensonic/profiling.txt:
358           More design work.
359
360 2007-03-25  Wim Taymans  <wim@fluendo.com>
361
362         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
363         (gst_base_src_loop):
364         Only push the segment events in the PLAYING state for live sources.
365
366 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
367
368         * gst/gstpipeline.c: (gst_pipeline_change_state):
369         Modify the clock distribution path in PAUSED->PLAYING so that we 
370         never attempt to choose a new clock unless we're actually leaving
371         the PAUSED state for the first time. This prevents choosing a
372         different clock when the state_change gets called for a 2nd time due
373         to some element doing an async state change.
374
375 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
376
377         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
378         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
379         (gst_pad_chain_unchecked), (gst_pad_push):
380         Revert last commit. This needs some more thoughts.
381
382 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
383
384         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
385         (gst_pad_chain_unchecked), (gst_pad_push):
386         Check in set_caps if the caps are compatible with the pad and remove
387         two functions that are redundant now. Fixes #421543.
388
389 2007-03-22  Wim Taymans  <wim@fluendo.com>
390
391         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
392         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
393         Unref some more to make valgrind happy.
394
395 2007-03-22  Wim Taymans  <wim@fluendo.com>
396
397         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
398         (gst_system_clock_id_wait_jitter),
399         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
400         Fix anoying regression that survived a few releases. When adding an
401         async entry while blocking on a sync entry, the sync entry will unblock
402         but still be busy, so it should continue to wait instead of returning
403         _BUSY to the app.
404         Add some comments here and there.
405
406         * tests/check/gst/gstsystemclock.c: (mixed_thread),
407         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
408         Add testcase for this.
409
410 2007-03-22  Wim Taymans  <wim@fluendo.com>
411
412         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
413         Handle errors from the clock sync better, only UNSCHEDULED indicates a
414         WRONG_STATE and can silently pause the task. All other cases should
415         error out.
416
417 2007-03-22  Wim Taymans  <wim@fluendo.com>
418
419         Patch by: <syrjala at sci dot fi>
420
421         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
422         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
423         Improve debugging.
424
425 2007-03-21  Michael Smith  <msmith@fluendo.com>
426
427         * docs/pwg/advanced-types.xml:
428           Fix some errors in the typefinding docs pointed out on irc.
429
430 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
431
432         * libs/gst/base/gstbasesrc.c:
433         Clarify FIXME comment in the face of having added unlock_stop()
434
435 2007-03-21  Wim Taymans  <wim@fluendo.com>
436
437         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
438         Prepare for release where we warn against possible app breakage in the
439         case of live pipelines along with an env var to enable/disable live
440         preroll mode (GST_COMPAT=[no-]live-preroll).
441
442 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
443
444         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
445         So we should use correct constants for checking for None offset.
446
447 2007-03-20  Wim Taymans  <wim@fluendo.com>
448
449         * docs/design/part-block.txt:
450         Mention the fact that the newly switched element should be set to at
451         least PAUSED.
452
453 2007-03-20  Wim Taymans  <wim@fluendo.com>
454
455         * gst/gst.c:
456         Fix compilation with registry disabled as spotted by Saur.
457
458 2007-03-20  Wim Taymans  <wim@fluendo.com>
459
460         Patch by: Olivier Crete <tester at tester dot ca>
461
462         * gst/gstelement.c: (gst_element_sync_state_with_parent):
463         Look at the pending state too when syncing the element state to the
464         parent. Fixes #420133.
465
466 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
467
468         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
469         (gst_base_sink_change_state):
470         * libs/gst/base/gstbasesink.h:
471         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
472         (gst_base_src_default_event), (gst_base_src_unlock_stop),
473         (gst_base_src_deactivate):
474         * libs/gst/base/gstbasesrc.h:
475         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
476         for sub-classes to correctly clear any state they set trying to
477         unlock, such as clearing out unlock commands from a command fd.
478
479         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
480         (gst_fd_sink_render), (gst_fd_sink_unlock),
481         (gst_fd_sink_unlock_stop):
482         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
483         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
484         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
485
486         Implement unlock_stop in fdsrc and fdsink.
487         Implement seeking in fdsrc when a seekable fd is passed, as in
488         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
489
490 2007-03-19  Wim Taymans  <wim@fluendo.com>
491
492         Patch by: Evan Nemerson <evan at coeus dash group dot com>
493
494         * gst/gstelement.c: (gst_element_class_init):
495         Fix pad-added and pad-removed signal signatures so that the pad type is
496         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
497
498 2007-03-19  Wim Taymans  <wim@fluendo.com>
499
500         * docs/gst/gstreamer-sections.txt:
501         Add new element field and method.
502
503         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
504         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
505         (gst_bin_recalc_state), (gst_bin_get_state_func),
506         (gst_bin_element_set_state), (gst_bin_change_state_func),
507         (gst_bin_continue_func), (bin_bus_handler),
508         (bin_push_state_continue), (bin_handle_async_start),
509         (bin_handle_async_done), (gst_bin_handle_message_func):
510         Make async state changes a bit smarter by using new ASYNC_START and
511         ASYNC_DONE messages. This reduces the number of times we run the state
512         recalculation thread.
513         Don't change state of element with a pending ASYNC_START message.
514         Deprecate STATE_DIRTY messages.
515         
516         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
517         (gst_element_get_state_func), (gst_element_continue_state),
518         (gst_element_lost_state), (gst_element_set_state_func),
519         (gst_element_change_state):
520         * gst/gstelement.h:
521         Keep the state that was last set by the app in a new element field.
522         Don't allow state changes when handling an element event.
523         Post ASYNC_START and ASYNC_DONE messages.
524         Change lost_state so that we go to PAUSED and wait for the parent to set
525         us to PLAYING again (so latency calculation can be performed)
526         Export gst_element_change_state() method so that subclasses can use it.
527         API: gst_element_change_state()
528         API: GST_STATE_TARGET
529
530         * gst/gstpipeline.c: (gst_pipeline_class_init),
531         (reset_stream_time), (gst_pipeline_change_state),
532         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
533         Using the new ASYNC_START message we can reset the base_time when
534         needed. This can then be used to implement base_time redistribution in
535         flushing seeks so that we can remove the explicit seek handling.
536         Perform latency query and configuration when going to PLAYING.
537
538         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
539         (gst_base_sink_query), (gst_base_sink_change_state):
540         Post new ASYNC_START/ASYNC_DONE messages.
541
542         * tests/check/generic/sinks.c: (GST_START_TEST):
543         Fix test because the bin will not set the async element to PLAYING right
544         away.
545
546         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
547         Make the message check a little stronger.
548         Handle ASYNC messages.
549
550         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
551         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
552         Expect ASYNC_DONE messages.
553
554 2007-03-19  Wim Taymans  <wim@fluendo.com>
555
556         * docs/gst/gstreamer-sections.txt:
557         * gst/gstmessage.c: (gst_message_new_async_start),
558         (gst_message_new_async_done), (gst_message_parse_info),
559         (gst_message_parse_async_start):
560         * gst/gstmessage.h:
561         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
562         support.
563
564 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
565
566         * tools/gst-inspect.c:
567         (print_plugin_automatic_install_info_codecs):
568           Now that we don't check for the 'Codec' keyword any longer in the
569           klass, we shouldn't spew a warning if the klass isn't a decoder or
570           encoder (since it might be a Source/Network, for example).
571
572 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
573
574         * tools/gst-inspect.c:
575         (print_plugin_automatic_install_info_codecs):
576           Don't require decoder/demuxer/depayloader elements or
577           encoder/muxer/paylader elements to have 'Codec' as part of their
578           factory class string when introspecting a plugin's capabilities.
579           draft-klass.txt mentions that it might be removed in future, and
580           flump3dec doesn't have it as part of its class string, so chances
581           are others might also not have it.
582
583 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
584
585         * po/af.po:
586         * po/az.po:
587         * po/bg.po:
588         * po/ca.po:
589         * po/cs.po:
590         * po/de.po:
591         * po/en_GB.po:
592         * po/fr.po:
593         * po/it.po:
594         * po/nb.po:
595         * po/nl.po:
596         * po/ru.po:
597         * po/sq.po:
598         * po/sr.po:
599         * po/sv.po:
600         * po/tr.po:
601         * po/uk.po:
602         * po/vi.po:
603         * po/zh_CN.po:
604         * po/zh_TW.po:
605           Update translations from translation project
606
607 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
608
609         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
610         (gst_child_proxy_set_property):
611           Invert precondition check to be alike the ones in the mimiced gobject
612           api.
613
614 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
615
616         * docs/design/draft-tagreading.txt:
617         * docs/random/ensonic/audiobaseclasses.txt:
618           Do some Architect work.
619
620         * gst/gstobject.c: (gst_object_set_name):
621           Add a WARNING.
622
623         * gst/gstpad.c:
624           Add docs that point from gst_pad_get_range to gst_pad_pull_range
625
626 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
627
628         * gst/gstsystemclock.c: (gst_system_clock_init),
629         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
630         Defer starting the async system clock thread until the first async
631         wait is scheduled. Fixes #414986.
632
633 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
634
635         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
636         (gst_single_queue_free):
637           Fix small leak (free GstSingleQueue structure too, not only contents).
638
639 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
640
641         * gst/gstbin.c:(gst_bin_add):
642         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
643         * win32/common/libgstbase.def:
644         * win32/common/libgstreamer.def:
645         Add new exported functions.
646
647 2007-03-09  Wim Taymans  <wim@fluendo.com>
648
649         * docs/plugins/gstreamer-plugins-sections.txt:
650         Fix GstTee docs.
651
652 2007-03-09  Wim Taymans  <wim@fluendo.com>
653
654         * docs/gst/gstreamer-sections.txt:
655         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
656         * gst/gstbuffer.h:
657         Add metadata copy functions. Fixes #393099.
658
659         * gst/gstutils.c: (gst_buffer_stamp):
660         * libs/gst/base/gstbasetransform.c:
661         (gst_base_transform_prepare_output_buffer):
662         Use new metadata copy functions.
663
664 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
665
666         * plugins/elements/gstidentity.c: (gst_identity_class_init),
667         (gst_identity_init), (gst_identity_check_perfect),
668         (gst_identity_check_imperfect_timestamp),
669         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
670         (gst_identity_set_property), (gst_identity_get_property):
671         * plugins/elements/gstidentity.h:
672         Separate out check-imperfect-timestamp and check-imperfect-offset.
673         Put back check-perfect as it was to keep compatibility.
674
675 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
676
677         * gst/gstelement.c: (gst_element_dispose):
678         There's no need to warn if VOID_PENDING is not NONE here, as
679         long as the state is NULL it's ok, and that's checked immediately
680         above.
681
682 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
683
684         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
685         Fix check for perfect stream to ignore buffers with -1 
686         offsets/offset ends when checking data contiguity.
687
688 2007-03-08  Wim Taymans  <wim@fluendo.com>
689
690         * tools/gst-launch.c: (event_loop):
691         Print INFO messages.
692
693 2007-03-08  Wim Taymans  <wim@fluendo.com>
694
695         * libs/gst/base/gstbasetransform.c:
696         (gst_base_transform_sink_eventfunc),
697         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
698         (gst_base_transform_activate):
699         * libs/gst/base/gstbasetransform.h:
700         Add support for dropping buffers with custom GstFlowReturn.
701         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
702         buffers or dropped buffers.
703
704         * docs/libs/gstreamer-libs-sections.txt:
705         docs for new custom return code.
706
707         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
708         Use drop support in base class to implement drop-probability.
709
710 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
711
712         * gst/gst.c: (load_plugin_func):
713         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
714         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
715         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
716           Remove newlines at end of debug log strings.
717
718 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
719
720         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
721         Only post bus message at max, once per buffer received.
722
723 2007-03-07  Wim Taymans  <wim@fluendo.com>
724
725         * docs/design/Makefile.am:
726         * docs/design/part-synchronisation.txt:
727         Add doc about synchronisation
728
729         * docs/design/draft-latency.txt:
730         * docs/design/part-TODO.txt:
731         * docs/design/part-clocks.txt:
732         * docs/design/part-events.txt:
733         * docs/design/part-gstbus.txt:
734         * docs/design/part-gstpipeline.txt:
735         * docs/design/part-live-source.txt:
736         * docs/design/part-messages.txt:
737         * docs/design/part-overview.txt:
738         * docs/design/part-streams.txt:
739         * docs/design/part-trickmodes.txt:
740         Documentation updates.
741
742 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
743
744         * gstreamer.doap:
745         Update the doap file.
746
747 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
748
749         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
750         Rename non-perfect to imperfect for Mike and for the sanctity of the
751         language.
752         Also make sure bus message gets emitted for data-incontiguities.
753
754 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
755
756         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
757         (gst_identity_start):
758         * plugins/elements/gstidentity.h:
759         Emit bus message if check-perfect is true and we encounter a
760         non-perfect stream between 2 consecutive buffers.
761         Fixes #415394.
762
763 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
764
765         * configure.ac:
766         Back to CVS
767
768 === release 0.10.12 ===
769
770 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
771
772         * configure.ac:
773           releasing 0.10.12, "Inevitable Demise"
774
775 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
776
777         * configure.ac:
778          Version 0.10.11.2 (0.10.12 pre-release)
779          Bump libtool versioning.
780
781 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
782
783         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
784           Log flow-names and not numbers.
785
786 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
787
788         * configure.ac:
789           Convert to new AG_GST style.
790
791 2007-02-28  Wim Taymans  <wim@fluendo.com>
792
793         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
794         Don't unref query twice.
795
796 2007-02-28  Wim Taymans  <wim@fluendo.com>
797
798         * gst/gstvalue.c: (gst_value_transform_object_string),
799         (_gst_value_initialize):
800         Implement GstObject -> string transform so we print object names
801         when serializing GValues containing GstObjects.
802
803 2007-02-28  Wim Taymans  <wim@fluendo.com>
804
805         * docs/gst/gstreamer-sections.txt:
806         Add new stuff to docs.
807
808 2007-02-28  Wim Taymans  <wim@fluendo.com>
809
810         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
811         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
812         (gst_base_sink_change_state):
813         Improve latency query code.
814         Don't leak latency events.
815
816         * tests/check/gst/gstbin.c: (GST_START_TEST):
817         Improve debugging.
818
819 2007-02-28  Wim Taymans  <wim@fluendo.com>
820
821         * gst/gstelement.c: (gst_element_message_full),
822         (gst_element_get_state_func):
823         * gst/gstelement.h:
824         Improve docs a little. Added Since: for new macro.
825
826         * gst/gstobject.c: (gst_object_sink):
827         * gst/gstpipeline.c: (gst_pipeline_change_state),
828         (gst_pipeline_set_new_stream_time):
829         * gst/gstpipeline.h:
830         Improve debugging and docs.
831
832         * gst/gstutils.c: (gst_element_state_change_return_get_name):
833         Improve debugging.
834
835 2007-02-28  Wim Taymans  <wim@fluendo.com>
836
837         * gst/gstelement.c: (gst_element_message_full),
838         (gst_element_set_locked_state), (gst_element_get_state_func),
839         (gst_element_change_state):
840         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
841         Documentation updates.
842         Small code cleanups.
843
844         * gst/gstmessage.c: (gst_message_new_info),
845         (gst_message_parse_info):
846         * gst/gstmessage.h:
847         API: gst_message_new_info()
848         API: gst_message_parse_info()
849         Add INFO message create and parse code.
850
851 2007-02-28  Wim Taymans  <wim@fluendo.com>
852
853         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
854         (bin_query_latency_done):
855         Also report the live parameter of a latency query.
856
857 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
858
859         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
860           Copy the current generic/states example from -base and adapt so
861           we can use the exact same code everywhere.
862           Check a STATES_IGNORE_ELEMENTS env var which can be used
863           to ignore certain element factories for this test, which is
864           what is being done in -base
865         * tests/check/Makefile.am:
866           Mention this environment variable.
867
868 2007-02-27  Wim Taymans  <wim@fluendo.com>
869
870         * docs/gst/gstreamer-sections.txt:
871         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
872         (gst_bus_timed_pop), (gst_bus_pop):
873         * gst/gstbus.h:
874         API: gst_bus_timed_pop()
875         Implement gst_bus_timed_pop() to do a blocking timed wait for a
876         message to arrive on the bus.
877
878         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
879         (gst_bus_suite):
880         Two unit tests for new _timed_pop() function.
881
882 2007-02-23  Wim Taymans  <wim@fluendo.com>
883
884         * gst/gstpipeline.c: (gst_pipeline_change_state),
885         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
886         Don't ref a NULL clock in _provide_clock_func().
887         Don't allow an INVALID delay.
888         Don't try to calculate base_time with an invalid start_time.
889         Also distribute and notify a NULL clock when it was selected.
890
891         * tools/gst-launch.c: (event_loop):
892         Don't crash when a NULL clock was selected in the pipeline.
893
894 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
895
896         * docs/design/Makefile.am:
897         * docs/design/draft-missing-plugins.txt:
898         * docs/random/draft-missing-plugins.txt:
899           Some small updates: update plugin system identifier prefix
900           ('gstreamer.net' to 'gstreamer'), mention our new install
901           API in libgstbaseutils rather than libgimme-codec, add
902           reference to the online docs.
903
904 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
905
906         * win32/common/config.h:
907           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
908           use moap cl ci to only check in what is mentioned in the ChangeLog.
909
910 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
911
912         * docs/gst/gstreamer-sections.txt:
913         * gst/gstelement.h:
914           Fix up documentation to link to the correct GstGError section.
915           Add GST_ELEMENT_INFO macro since someone else added a Info message.
916
917 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
918
919         * tools/gst-launch.c: (event_loop):
920           Make sure that we actually show the important message part of a
921           warning message.
922           No need to check if the gerror is not NULL to free; first of all
923           g_free accepts NULL; and second the default error handler would
924           segfault if gerror was NULL.
925
926 2007-02-21  Wim Taymans  <wim@fluendo.com>
927
928         * docs/gst/gstreamer-sections.txt:
929         Removed docs as well.
930
931 2007-02-21  Wim Taymans  <wim@fluendo.com>
932
933         * gst/gstmessage.c: (gst_message_parse_duration):
934         * gst/gstmessage.h:
935         Remove new messages for release.
936
937 2007-02-20  Wim Taymans  <wim@fluendo.com>
938
939         * docs/design/part-gstghostpad.txt:
940         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
941         (gst_ghost_pad_new_full):
942         Make the ghostpad a parent of the internal pad again for better backward
943         compatibility. Don't write code that relies on this however.
944
945         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
946         (gst_pad_link_check_hierarchy):
947         Require that parents should be GstElements in the hierarchy check.
948
949 2007-02-20  Wim Taymans  <wim@fluendo.com>
950
951         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
952         (gst_bin_change_state_func), (bin_query_min_max_init),
953         (bin_query_latency_fold), (bin_query_latency_done),
954         (gst_bin_query):
955         Improve debug info.
956         Implement latency query.
957
958 2007-02-20  Wim Taymans  <wim@fluendo.com>
959
960         * docs/design/part-gstghostpad.txt:
961         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
962         (gst_ghost_pad_internal_do_activate_push),
963         (gst_ghost_pad_internal_do_activate_pull),
964         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
965         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
966         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
967         Do not set the internal pad as a parent anymore so we can avoid
968         hierarchy linking errors when the ghostpad has no parent yet. This also
969         fixes failed activation because of unlinked internal pads, which in
970         turn fixes the impossible case where you have to activate a pad before
971         you can add it to a running element.
972         Also fix the docs.
973
974         * gst/gstpad.c: (pre_activate), (post_activate),
975         (gst_pad_set_active), (gst_pad_activate_pull),
976         (gst_pad_activate_push), (gst_pad_check_pull_range):
977         Add some more debug info.
978         Mark activation mode in pre_activate so that we don't try to activate in
979         endless loops. Fixes #385084.
980
981 2007-02-19  Wim Taymans  <wim@fluendo.com>
982
983         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
984         (gst_base_transform_check_get_range):
985         Implement a checkgetrange function instead of relying on the default
986         core behaviour that assumes we can operate in pull mode if we have a
987         getrange function. First step at fixing #385084.
988
989 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
990
991         * gst/gstchildproxy.h:
992         * libs/gst/base/gstbasesink.h:
993         * libs/gst/base/gstbasesrc.h:
994         * libs/gst/base/gstbasetransform.h:
995         More docs coverage and some ChangeLog surgery (add missing names)
996
997 2007-02-15  Wim Taymans  <wim@fluendo.com>
998
999         * docs/design/part-TODO.txt:
1000         * docs/design/part-activation.txt:
1001         * docs/design/part-block.txt:
1002         * docs/design/part-buffering.txt:
1003         * docs/design/part-clocks.txt:
1004         * docs/design/part-element-source.txt:
1005         * docs/design/part-events.txt:
1006         * docs/design/part-gstbin.txt:
1007         * docs/design/part-gstbus.txt:
1008         * docs/design/part-gstpipeline.txt:
1009         * docs/design/part-live-source.txt:
1010         * docs/design/part-messages.txt:
1011         * docs/design/part-overview.txt:
1012         * docs/design/part-qos.txt:
1013         * docs/design/part-query.txt:
1014         * docs/design/part-states.txt:
1015         * docs/design/part-trickmodes.txt:
1016         Some doc updates. Start renaming from stream_time to running_time where
1017         it was used wrongly.
1018
1019 2007-02-15  Wim Taymans  <wim@fluendo.com>
1020
1021         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1022         Answer LATENCY query.
1023
1024 2007-02-15  Wim Taymans  <wim@fluendo.com>
1025
1026         * tests/check/gst/gstevent.c: (event_probe), (test_event),
1027         (GST_START_TEST):
1028         Improve debugging.
1029
1030 2007-02-15  Wim Taymans  <wim@fluendo.com>
1031
1032         * gst/gstpad.c: (gst_pad_get_internal_links_default),
1033         (gst_pad_dispatcher):
1034         Improve debugging of default pad dispatcher and query functions.
1035
1036 2007-02-15  Wim Taymans  <wim@fluendo.com>
1037
1038         * docs/gst/gstreamer-sections.txt:
1039         Remove old unused method.
1040
1041 2007-02-13  Wim Taymans  <wim@fluendo.com>
1042
1043         * tests/check/gst/gstsegment.c: (GST_START_TEST):
1044         Fix check
1045
1046 2007-02-13  Wim Taymans  <wim@fluendo.com>
1047
1048         * docs/design/part-seeking.txt:
1049         Some small update.
1050
1051         * gst/gstsegment.c: (gst_segment_set_seek):
1052         Revert old bogus change that should make seeking work again.
1053
1054 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
1055
1056         * docs/random/ensonic/dynlink.txt:
1057         * docs/random/ensonic/interfaces.txt:
1058         * docs/random/ensonic/receipies.txt:
1059           Possible dynamic reconnection api, plus some type fixes the other two
1060           docs.
1061
1062 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
1063
1064         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1065         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1066         Also check for an absolute path following file:// in the filesrc
1067         element. Remove redundant check and call g_path_is_absolute() on the
1068         unescaped location.
1069
1070 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
1071
1072         * docs/design/draft-klass.txt:
1073           Add existing category analysis.
1074           
1075         * gst/gstcaps.c:
1076           Fix doc example, framerate is a fraction.
1077
1078 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
1079
1080         * configure.ac:
1081         * docs/gst/Makefile.am:
1082         * docs/libs/Makefile.am:
1083         * docs/plugins/Makefile.am:
1084           Add crossreferences to glib/gobject docs.
1085
1086 2007-02-12  Wim Taymans  <wim@fluendo.com>
1087
1088         * docs/design/draft-latency.txt:
1089         Small update.
1090
1091         * docs/libs/gstreamer-libs-sections.txt:
1092         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1093         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
1094         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
1095         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
1096         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
1097         (gst_base_sink_get_position), (gst_base_sink_query),
1098         (gst_base_sink_change_state):
1099         * libs/gst/base/gstbasesink.h:
1100         API: gst_base_sink_query_latency() to let subclasses query the upstream
1101         latency.
1102         API: gst_base_sink_get_latency() to let subclasses query the configured
1103         latency in the sink.
1104         Implement query and set latency.
1105         Update some docs.
1106         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
1107         don't continue preroll when we are flushing. Fixes #405284.
1108
1109         * tests/check/pipelines/stress.c: (change_state_timeout),
1110         (quit_timeout), (GST_START_TEST), (stress_suite):
1111         Test for #405284.
1112
1113 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
1114
1115         Patch by: René Stadler <mail at renestadler de>
1116
1117         * docs/gst/gstreamer-sections.txt:
1118         * gst/gsttaglist.c: (_gst_tag_initialize):
1119         * gst/gsttaglist.h:
1120           API: add GST_TAG_REFERENCE_LEVEL (#403597).
1121
1122 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
1123
1124         * docs/libs/Makefile.am:
1125           Fix path to core docs.
1126
1127         * gst/gstbin.c: (gst_bin_get_by_interface),
1128         (gst_bin_iterate_all_by_interface):
1129           Refix docs by also renaming 'interface' to 'iface' in implementation.
1130
1131         * docs/gst/gstreamer-sections.txt:
1132         * gst/gstcaps.c:
1133         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1134         * gst/gstchildproxy.h:
1135         * gst/gstelementfactory.c:
1136         * gst/gstpadtemplate.h:
1137         * libs/gst/controller/gstcontroller.c:
1138         (gst_controlled_property_new):
1139           Document more.
1140
1141 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
1142
1143         * gst/gstbin.h:(gst_bin_get_by_interface),
1144         (gst_bin_iterate_all_by_interface):
1145         Replace interface parameter name by iface as interface is 
1146         a reserved keyword in Visual Studio for C++ projects so it removes
1147         a build error for application developpers using VS.
1148         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
1149         Fix a bug on Windows in uri format check. Now the prefix checked
1150         is file:// and next we check if the path after file:// is absolute.
1151         * win32/common/libgstbase.def:
1152         * win32/common/libgstdataprotocol.def:
1153         * win32/common/libgstgstreamer.def:
1154         Add new exported functions.
1155
1156 2007-02-09  Andy Wingo  <wingo@pobox.com>
1157
1158         * tests/check/pipelines/simple-launch-lines.c
1159         (simple_launch_lines_suite, test_tee): Disable tee test until I
1160         have time to fix it :-(
1161
1162         * tests/check/Makefile.am (noinst_HEADERS): 
1163         * tests/check/libs/libsabi.c: 
1164         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
1165         * tests/check/gst/gstabi.c: 
1166         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
1167
1168         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
1169         tests for push and pull tee behavior.
1170
1171         * plugins/elements/gsttee.h: 
1172         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
1173         mark as deprecated as well as unimplemented. It was a crack idea.
1174         Add support for tee operating in pull mode, off by default.
1175
1176         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
1177         normal-case logs down to LOG, raise errors to WARNING.
1178         (gst_registry_xml_read_cache): Don't log before calling a function
1179         that logs.
1180
1181         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
1182         exit (registry finalize).
1183         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
1184         DEBUG log when we emit signals that people don't even have the
1185         chance to connect to.
1186         (gst_registry_scan_path_level): Less logging in the normal case.
1187
1188 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
1189
1190         Patch by: Michal Benes <michal dot benes at itonis dot tv>
1191
1192         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1193         Correctly generate EOS for non-seekable files. We don't have a total
1194         length for them and would get an unexpected end of file if we only
1195         special-cased for regular files. (Fixes: #404569)
1196
1197 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
1198
1199         * tests/check/elements/filesrc.c: (GST_START_TEST),
1200         (filesrc_suite):
1201         Add unit test for the GstURIHandler interface in filesrc. This also
1202         tests the newly added file://localhost/foo/bar support.
1203
1204 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
1205
1206         * gst/gstelementfactory.h:
1207           The klass string is not a hierarchy. Add reference to the design doc
1208           for more information and common types.
1209
1210 2007-02-02  Wim Taymans  <wim@fluendo.com>
1211
1212         * gst/gstquery.c: (gst_query_new_latency):
1213         Remove old structure field.
1214
1215 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
1216
1217         * tools/gst-launch.1.in:
1218           Give example for network streaming (#351998)
1219
1220 2007-02-02  Wim Taymans  <wim@fluendo.com>
1221
1222         * docs/gst/gstreamer-sections.txt:
1223         Add docs for new methods.
1224
1225         * gst/gstevent.c: (gst_event_new_latency),
1226         (gst_event_parse_latency):
1227         * gst/gstevent.h:
1228         Add new LATENCY event to configure latency in a pipeline.
1229         API: gst_event_new_latency
1230         API: gst_event_parse_latency
1231
1232         * gst/gstmessage.c: (gst_message_new_buffering),
1233         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
1234         (gst_message_new_latency), (gst_message_parse_buffering),
1235         (gst_message_parse_lost_preroll):
1236         * gst/gstmessage.h:
1237         Added messages used in draft-latency.
1238         API: gst_message_new_lost_preroll
1239         API: gst_message_parse_lost_preroll
1240         API: gst_message_new_prerolled
1241         API: gst_message_new_latency
1242
1243         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1244         (gst_query_parse_latency):
1245         * gst/gstquery.h:
1246         Implemented new latency query as in design doc.
1247         API: gst_query_new_latency
1248         API: gst_query_set_latency
1249         API: gst_query_parse_latency
1250
1251 2007-02-02  Wim Taymans  <wim@fluendo.com>
1252
1253         * docs/design/draft-latency.txt:
1254         Slight redesign to allow for dynamic latency adjustments.
1255
1256         * docs/design/part-negotiation.txt:
1257         Fix some typos.
1258
1259 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
1260
1261         reviewed by: Wim Taymans <wim@fluendo.com>
1262
1263         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1264         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1265         Allow file://localhost/foo/bar URLs and correctly fail for every other
1266         hostname that one sets. This was gnomevfssrc is linked for those if
1267         installed as it can handle it (#403172)
1268
1269 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
1270
1271         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1272
1273         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1274         (unref_data), (gst_collect_pads_add_pad_full):
1275         * libs/gst/base/gstcollectpads.h:
1276         Don't put the previously added destroy notify in the GstCollectData
1277         struct as all it's padding is already used and we don't want to break
1278         ABI. Instead put in the pad's GObject data for now. This should be
1279         cleaned up for 0.11 (#402393).
1280
1281 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
1282
1283         reviewed by: Wim Taymans <wim@fluendo.com>
1284
1285         * docs/libs/gstreamer-libs-sections.txt:
1286         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1287         (unref_data), (gst_collect_pads_add_pad),
1288         (gst_collect_pads_add_pad_full):
1289         * libs/gst/base/gstcollectpads.h:
1290         API: Add function to specify a destroy notification for custom
1291         GstCollectData when adding new pads in GstCollectPads (#402393).
1292
1293 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
1294
1295         * po/sv.po:
1296           Update Swedish translation (#378255).
1297
1298 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
1299
1300         * docs/design/draft-klass.txt:
1301           Fix the previous change, this is a list of categories and not a hierarchy.
1302
1303 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
1304
1305         * docs/design/draft-klass.txt:
1306           Add info about how to get a list of used classes.
1307
1308 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
1309
1310         * plugins/elements/gsttypefindelement.c:
1311         (gst_type_find_element_chain_do_typefinding),
1312         (gst_type_find_element_change_state):
1313           Don't leak found caps in chain function (no idea why that never
1314           showed up as a leak anywhere).
1315
1316 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
1317
1318         * gst/gstplugin.h:
1319           Fix and expand GstPluginDesc API docs.
1320
1321 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
1322
1323         * gst/gstcaps.c:
1324         * gst/gstelementfactory.c:
1325         * gst/gstpadtemplate.h:
1326           api doc fixes
1327
1328         * libs/gst/controller/gstcontroller.c:
1329         (gst_controlled_property_new):
1330         * tests/examples/controller/audio-example.c:
1331           comment fixes
1332
1333 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
1334
1335         * configure.ac:
1336           comment about refining the xml deps
1337
1338         * docs/manuals.mak:
1339           comments about moving away from jade for docs
1340         
1341         * gst/gst.c:
1342           recommit the ifdefs to use the binary registry
1343         
1344         * gst/gstbin.c: (gst_bin_change_state_func):
1345           this break is obsolete
1346
1347         * gst/gstelementfactory.h:
1348           better GST_ELEMENT_DETAILS docs, add comment about translation
1349
1350         * gst/gstinfo.h:
1351           remove eol slash
1352
1353         * gst/gstobject.c: (gst_signal_object_get_type):
1354           add G_UNLIKELY as usual
1355
1356         * gst/gstpad.c: (gst_pad_event_default):
1357           add fall trhu comment
1358
1359         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1360         (gst_registry_binary_initialize_magic),
1361         (gst_registry_binary_save_string),
1362         (gst_registry_binary_save_pad_template),
1363         (gst_registry_binary_save_feature),
1364         (gst_registry_binary_save_plugin),
1365         (gst_registry_binary_write_cache),
1366         (gst_registry_binary_check_magic),
1367         (gst_registry_binary_load_pad_template),
1368         (gst_registry_binary_load_feature),
1369         (gst_registry_binary_load_plugin),
1370         (gst_registry_binary_read_cache):
1371           comment typo and formatting
1372
1373         * gst/gstutils.c: (gst_element_state_get_name),
1374         (gst_element_state_change_return_get_name):
1375           remove obsolete breaks
1376
1377         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1378           add FIXME 0.11 and remove cpp comment
1379
1380 2007-01-29  Edward Hervey  <edward@fluendo.com>
1381
1382         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1383         Fix print statement in an even more portable way.
1384
1385 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
1386
1387         * docs/gst/gstreamer-sections.txt:
1388         * gst/gstutils.h:
1389           API: add GST_ROUND_DOWN_* macros (#401781).
1390
1391 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
1392
1393         * docs/gst/gstreamer.types.in:
1394         * gst/gstregistry.c: (gst_registry_class_init):
1395           Document registry signals and make gtk-doc pick them up (#401381).
1396
1397 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
1398
1399         * docs/pwg/building-testapp.xml:
1400           Add some audioconverts and audioresample to the pipeline, and some
1401           more comments and error handling.
1402
1403 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
1404
1405         * docs/manual/manual.xml:
1406         * docs/pwg/pwg.xml:
1407           Fix typo (#400987).
1408
1409 2007-01-26  Wim Taymans  <wim@fluendo.com>
1410
1411         * gst/gstcaps.c: (gst_static_caps_get):
1412         Init caps flags too.
1413
1414 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
1415
1416         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
1417
1418         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1419         If not using mmap'ed files try to seek to the end instead of the
1420         start to determine whether we can seek at all. This fixes the case
1421         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
1422         seeks for everything afterwards fail. Fixes #400656
1423
1424 2007-01-25  Wim Taymans  <wim@fluendo.com>
1425
1426         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
1427         Add some refcount debugging.
1428         Make gst_static_caps_get threadsafe, which is needed when autoplugging
1429         in multiple streaming threads.
1430
1431 2007-01-25  Wim Taymans  <wim@fluendo.com>
1432
1433         Patch by: David Schleef <ds at schleef dot org>
1434
1435         * docs/libs/gstreamer-libs-sections.txt:
1436         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
1437         * libs/gst/base/gstadapter.h:
1438         API: gst_adapter_copy() that can reduce the amount of memcpy when
1439         getting data from the adapter. Fixes #388201.
1440
1441 2007-01-25  Edward Hervey  <edward@fluendo.com>
1442
1443         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1444         In print statements, "%x" is for guint. Fixes build on macosx.
1445
1446 2007-01-24  Edward Hervey  <edward@fluendo.com>
1447
1448         * plugins/elements/gstmultiqueue.c:
1449         (gst_multi_queue_loop):
1450         Small fix.
1451         (single_queue_overrun_cb), (single_queue_underrun_cb),
1452         (single_queue_check_full), (gst_single_queue_new):
1453         Implement single queue growth system.
1454         This uses the extra-size properties, and will grow single queues by
1455         that much if one goes full whereas there are others empty. This is
1456         called extra-mode in the code.
1457         When a single queue's levels go back below the initial max-size
1458         limits, it is no longer in extra-mode. This is to ensure we don't
1459         consume too much memory.
1460         Fixes #399875
1461
1462 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
1463
1464         * gst/gst.c: (gst_init_get_option_group):
1465           Make warning about late g_thread_init() calls a bit more explicit,
1466           so that it's more obvious to application developers what they need
1467           to do if a user files a bug against their application.
1468
1469 2007-01-22  Edward Hervey  <edward@fluendo.com>
1470
1471         * plugins/elements/gstmultiqueue.c:
1472         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
1473         Remove previous hack of unsetting the flushing flag for the source pad
1474         instead of activating it. Instead, fix the source pad activate function
1475         so that it no longer depends on having a parent set or not.
1476
1477 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
1478
1479         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
1480
1481         * docs/manual/basics-bus.xml:
1482           Fix example code, gst_element_unref() doesn't exist any longer.
1483
1484 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
1485
1486         Patch by: Mark Nauwelaerts <manauw at skynet be>
1487
1488         * gst/gstpad.c:
1489           Fix two docs typoes (#399094).
1490
1491 2007-01-19  Edward Hervey  <edward@fluendo.com>
1492
1493         * docs/faq/gst-uninstalled:
1494         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
1495         depending on libgstbaseutils can work in uninstalled environment.
1496
1497 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
1498
1499         * gst/gsttaglist.h:
1500         * gst/gsttagsetter.c:
1501         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
1502         statement for new tag.
1503
1504 2007-01-17  Edward Hervey  <edward@fluendo.com>
1505
1506         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
1507         When dynamically creating single queues, activate sinkpad before adding
1508         it.
1509         We should be doing the same thing for the source pad, but we can't
1510         since it would call a method which needs the parent to be set in order
1511         to work propertly. Instead of activating the source pad, we just unset
1512         the flushing flag, which is the minimal requirement for adding a pad
1513         to an element in a state greater than READY.
1514
1515 2007-01-17  Edward Hervey  <edward@fluendo.com>
1516
1517         * docs/faq/gst-uninstalled:
1518         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
1519         Mac OS X.
1520
1521 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
1522
1523         * tests/check/gst/gstabi.c:
1524         * tests/check/gst/struct_hppa.h:
1525         * tests/check/libs/libsabi.c:
1526         * tests/check/libs/struct_hppa.h:
1527           Add ABI structs for HPPA (see #393796).
1528
1529 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
1530
1531         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
1532           Actually write ABI structs to the file specified in the GST_ABI
1533           environment variable, as the message we print claims we would.
1534
1535 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1536
1537         * tests/check/gst/gsttask.c:
1538           Fix header comment.
1539
1540 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1541
1542         * gst/gsttaglist.c: (_gst_tag_initialize):
1543           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
1544           previous two entries.
1545
1546 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1547
1548         * docs/gst/gstreamer-sections.txt:
1549         * gst/gsttaglist.c: (_gst_tag_initialize):
1550         * gst/gsttaglist.h:
1551           Add tag support for beat-per-minute.
1552
1553 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1554
1555         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1556         (gst_registry_binary_initialize_magic),
1557         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
1558         (gst_registry_binary_save_pad_template),
1559         (gst_registry_binary_save_feature),
1560         (gst_registry_binary_save_plugin),
1561         (gst_registry_binary_write_cache),
1562         (gst_registry_binary_check_magic),
1563         (gst_registry_binary_load_pad_template),
1564         (gst_registry_binary_load_feature),
1565         (gst_registry_binary_load_plugin),
1566         (gst_registry_binary_read_cache):
1567         * gst/gstregistrybinary.h:
1568           Use glib types, cleanup comments, impement interfaces and uri-types.
1569
1570 2007-01-13  Andy Wingo  <wingo@pobox.com>
1571
1572         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
1573         getrange() to return buffers with other caps, while we fix
1574         demuxers and typefind, or otherwise change part-negotiation.txt.
1575
1576 2007-01-12  Andy Wingo  <wingo@pobox.com>
1577
1578         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
1579         Factor start/stop into this private function instead of partially
1580         in activate functions and partially in the change_state function.
1581         Fixes setup before the element has changed from READY->PAUSED, as
1582         is the case in pull-mode pipelines.
1583         (gst_base_transform_sink_activate_push)
1584         (gst_base_transform_src_activate_pull): Refactor to use
1585         gst_base_transform_activate().
1586         (gst_base_transform_change_state): Removed, not needed any more.
1587
1588         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1589         Truncate before fixating.
1590         
1591         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1592         Don't set_caps() if the result of fixating is ANY, as it's not
1593         supported, and not necessary in the case of a link with no
1594         template caps on either side. Fixes tests/check/libs/basesrc in
1595         some pull-mode tests.
1596
1597         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
1598         (gst_base_transform_init, gst_base_transform_sink_activate_push)
1599         (gst_base_transform_src_activate_pull): 
1600         Track the activation mode.
1601         (gst_base_transform_setcaps): In pull mode, when activating the
1602         src pad, after activating the sink pad, activate the sink pad's
1603         peer, as discussed in part-negotiation.txt.
1604
1605         * libs/gst/base/gstbasesrc.h: 
1606         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
1607         vmethod, as in basesink.
1608
1609         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
1610
1611         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
1612         mode, first proxy the setcaps to the peer pad.
1613         (gst_base_sink_pad_fixate): Add a fixate function that calls the
1614         new fixate vmethod.
1615         (gst_base_sink_default_activate_pull): Rename from
1616         gst_base_sink_activate_pull.
1617         (gst_base_sink_negotiate_pull): New function, performs negotiation
1618         in pull mode before calling ::activate_pull().
1619         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
1620         vmethod instead of the default implementation. I have no idea how
1621         this worked before. Negotiate before calling activate_pull.
1622
1623         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
1624         sink pads in pull mode. In addition to being correct, fixes
1625         filesrc ! decodebin ! identity ! fakesink.
1626         (gst_pad_get_range, gst_pad_pull_range): Don't call
1627         gst_pad_set_caps() if the caps changes; instead error out with
1628         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
1629
1630 2007-01-12  Andy Wingo  <wingo@pobox.com>
1631
1632         * docs/design/part-negotiation.txt: Update with more policy.
1633
1634 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
1635
1636         * libs/gst/check/gstbufferstraw.h:
1637         * libs/gst/check/gstcheck.h:
1638           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
1639           belongs.
1640
1641 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
1642
1643         * tests/check/Makefile.am:
1644         * tests/check/gst/.cvsignore:
1645         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
1646         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
1647         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
1648         (GST_START_TEST), (gst_tag_setter_suite):
1649           Add minimal unit test for beforementioned GstTagSetter bug.
1650
1651 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
1652
1653         Patch by: René Stadler <mail at renestadler dot de>
1654
1655         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1656           gst_tag_list_merge() returns a new list, so it's not the best idea
1657           to ingore its return value. Effectively meant that tags could only
1658           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
1659           Also add function guard to require a non-NULL taglist as input (has
1660           always been so due to gst_tag_list_copy(), just making it explicit).
1661
1662 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
1663
1664         * docs/random/draft-missing-plugins.txt:
1665           Some additions: mention new API that is supposed to be used at the
1666           various stages; short blob about new gst-inspect introspection
1667           option; mention potential future problem with plugins that have
1668           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
1669
1670 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
1671
1672         * tools/gst-inspect.c:
1673         (print_plugin_automatic_install_info_codecs),
1674         (print_plugin_automatic_install_info_protocols),
1675         (print_plugin_automatic_install_info), (main):
1676         Add --print-plugin-auto-install-info option to gst-inspect, so we can
1677         introspect plugin files and get machine-parsable output that corresponds
1678         to the last bit of the missing-plugin installer string (small gotcha:
1679         doesn't take into account ranks).
1680
1681 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
1682
1683         * configure.ac:
1684         * docs/gst/gstreamer-sections.txt:
1685         * gst/Makefile.am:
1686         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
1687         (gst_registry_lookup_locked):
1688         * gst/gstregistry.h:
1689         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1690         (gst_registry_binary_initialize_magic),
1691         (gst_registry_binary_save_string),
1692         (gst_registry_binary_save_pad_template),
1693         (gst_registry_binary_save_feature),
1694         (gst_registry_binary_save_plugin),
1695         (gst_registry_binary_write_cache),
1696         (gst_registry_binary_check_magic),
1697         (gst_registry_binary_load_pad_template),
1698         (gst_registry_binary_load_feature),
1699         (gst_registry_binary_load_plugin),
1700         (gst_registry_binary_read_cache):
1701         * gst/gstregistrybinary.h:
1702         * gst/gstregistryxml.c: (load_feature),
1703         (gst_registry_xml_read_cache):
1704           commit binary registry (disabled by default, see #359653)
1705
1706 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
1707
1708         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
1709           Fix 'make check' too.
1710
1711 2007-01-10  Andy Wingo  <wingo@pobox.com>
1712
1713         * docs/design/part-negotiation.txt: Fix a typo, add a couple
1714         notes.
1715         
1716         * docs/design/part-negotiation.txt: Update with, um, one way that
1717         pull-mode negotiation might work?
1718
1719         * gst/gstpad.h: 
1720         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
1721         that the pad must be a src pad; makes sense to call it the other
1722         way in pull mode, and the logic is symmetric anyway.
1723
1724 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
1725
1726         * plugins/elements/gstfilesink.c:
1727           Include <stdio.h> for fseeko().
1728
1729 2007-01-10  Wim Taymans  <wim@fluendo.com>
1730
1731         * gst/gstevent.c:
1732         * gst/gstevent.h:
1733         Reserve LATENCY event.
1734
1735 2007-01-09  Wim Taymans  <wim@fluendo.com>
1736
1737         * docs/design/draft-latency.txt:
1738         Updates.
1739
1740 2007-01-09  Wim Taymans  <wim@fluendo.com>
1741
1742         * docs/design/draft-latency.txt:
1743         Updates.
1744
1745         * gst/gstelement.h:
1746         * gst/gststructure.c:
1747         * gst/gsttrace.c:
1748         Small typo fixes.
1749
1750 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
1751
1752         * tests/check/.cvsignore:
1753           Ignore test-registry.xml as well.
1754
1755 2007-01-09  Wim Taymans  <wim@fluendo.com>
1756
1757         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
1758         unref data at the end when we are done with the pad.
1759
1760 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
1761
1762         * docs/gst/gstreamer-sections.txt:
1763         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
1764         (init_post), (gst_deinit), (gst_update_registry):
1765         * gst/gst.h:
1766           API: add gst_update_registry() (#391296).
1767
1768         * tests/check/Makefile.am:
1769         * tests/check/gst/gstregistry.c:
1770         * tests/check/gst/.cvsignore:
1771           Simple unit test for the above.
1772
1773 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
1774
1775         * gst/gstregistry.c: (gst_registry_scan_path_level):
1776           Plugin extension on HP-UX is .sl, add that to the list of approved
1777           plugin extensions (see #393796).
1778
1779         * tests/check/gst/gstpad.c: (GST_START_TEST):
1780           ulong => gulong. Fixes compilation with HP-UX compiler.
1781
1782         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1783           Fix compilation if valgrind headers are not available.
1784
1785 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
1786
1787         * win32/common/libgstreamer.def: 
1788           Add new exported function.
1789         * win32/vs6/libgstbase.dsp: 
1790           Add gstdataqueue.c to the build.
1791         * win32/vs6/libgstcoreelements.dsp:
1792           Add gstmultiqueue.c to the build.
1793         
1794 2007-01-06  Andy Wingo  <wingo@pobox.com>
1795
1796         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
1797         activate_pull(), providing for a way to specialize the process of
1798         spawning a thread to pull on the sink pad. There is a default
1799         implementation.
1800
1801         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
1802         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
1803         (gst_base_sink_init): Renamed pad activation functions (inserting
1804         "_pad" in their names). Refactor to use the new activate_pull
1805         vmethod, as appropriate.
1806         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
1807         default activate_pull function to start a task pulling from the
1808         sink pad, as before.
1809
1810         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
1811         on the pads if necessary, as in push()/chain(). Update docs.
1812         Shouldn't affect existing pull() usage as it is currently only
1813         being used on buffers without caps.
1814
1815 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1816
1817         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1818         (init_pre):
1819           Call g_thread_init() first thing in gst_init() / gst_check_init().
1820           When initialisation is done via gst_init_get_option_group() and
1821           GOption parsing, issue a warning if the GLib thread system has not
1822           been initialised yet by the time gst_init_get_option_group() is
1823           called, as it's quite likely other GLib functions such as
1824           g_option_context_new() have been called already then, and
1825           g_thread_init() must be called before any other GLib function. The
1826           application in question must be fixed in that case, since memory
1827           corruption might happen otherwise.
1828           We issue the warning because even if the GLib folks decide to work
1829           around the problem on their end in future, this is still an issue
1830           with all GLib versions >= 2.10.0, so we should warn until we depend
1831           on a GLib version we know to be safe.
1832           Update documentation as well.
1833           Closes bug #391278.
1834
1835 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1836
1837         * tools/gst-inspect.c: (main):
1838         * tools/gst-launch.c: (main):
1839         * tools/gst-typefind.c: (main):
1840         * tools/gst-xmlinspect.c: (main):
1841           Call g_thread_init() really really early, before any other GLib
1842           function (see #342564 and recent discussion on gtk-devel-list).
1843
1844 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1845
1846         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
1847
1848         * gst/gst_private.h:
1849         * gst/gstconfig.h.in:
1850         * gst/gstinfo.h:
1851           On win32, all the __declspec stuff for symbol exporting is
1852           apparently only needed with MSVC, but doesn't work with MingW.
1853           Fixes compilation with MingW and #391909.
1854
1855 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1856
1857         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
1858           Change some GST_ERROR_OBJECT that aren't really errors to
1859           GST_WARNING_OBJECT in order to reduce terminal spam.
1860
1861 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
1862
1863         * tests/check/Makefile.am:
1864           disable test again, as there seem to be still race problems
1865
1866 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
1867
1868         * tests/check/Makefile.am:
1869         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1870         (GST_START_TEST), (queue_suite):
1871           enable queue test again, add tests for the leaky behaviour
1872
1873 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
1874
1875         * configure.ac:
1876         * tests/examples/Makefile.am:
1877           Compile adapter test/example only if the required headers are
1878           available (fixes #391915).
1879
1880 2007-01-01  David Schleef  <ds@schleef.org>
1881
1882         * gst/gstplugin.c:
1883           Restore the previous signal handler for SIGSEGV instead of
1884           setting to default, since we may have stolen it away from
1885           someone.  (i.e., Mono)
1886
1887 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
1888
1889         * docs/random/draft-missing-plugins.txt:
1890           Some small additions and clarifications.
1891
1892 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
1893
1894         * gst/gstregistryxml.c: (gst_registry_save_escaped):
1895           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
1896           since that can lead to random memory corruptions and crashes
1897           (may or may not be related to #383244, #386711, and #386711).
1898
1899 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1900
1901         * tests/check/.cvsignore:
1902         * tests/check/Makefile.am:
1903           sync .cvsignome and CLEANFILES
1904
1905 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1906
1907         * tests/check/Makefile.am:
1908           fix distcheck
1909
1910 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1911
1912         * docs/design/part-states.txt:
1913           two tiny additional comments
1914         
1915         * gst/gststructure.c:
1916           doc fixing
1917
1918         * tests/check/Makefile.am:
1919         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1920         (GST_START_TEST):
1921           disable test for now, unless it gets fixed
1922
1923 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1924
1925         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1926         (GST_START_TEST):
1927           fix race in underrun test
1928
1929 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1930
1931         * tests/check/elements/.cvsignore:
1932           ignore more
1933
1934         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1935         (GST_START_TEST):
1936           try to narrow test failure
1937
1938 2006-12-21  David Schleef  <ds@schleef.org>
1939
1940         * plugins/elements/gstfakesrc.c:
1941           Use g_random_int_range(), since it produces better random
1942           numbers in a range than almost-correct floating point code.
1943
1944 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1945
1946         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1947         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1948         (gst_check_teardown_sink_pad):
1949           do not automatically (de)activate pads
1950
1951         * tests/check/Makefile.am:
1952         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1953         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
1954           add new, yet simple tests for queue
1955
1956         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
1957         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
1958         * tests/check/elements/filesrc.c: (cleanup_filesrc),
1959         (GST_START_TEST):
1960         * tests/check/elements/identity.c: (cleanup_identity):
1961           consistent pad (de)activation
1962
1963 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
1964
1965         Patch by: Sebastian Dröge  <slomo ubuntu com>
1966
1967         * libs/gst/base/gstcollectpads.c:
1968           Fix two doc typos (#387866).
1969
1970 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
1971
1972         * docs/manual/advanced-dparams.xml:
1973           Fix typo (g_object_control_properties() doesn't exist).
1974
1975 2006-12-19  Edward Hervey  <edward@fluendo.com>
1976
1977         * gst/gstsegment.c: (gst_segment_set_seek):
1978         Fine tune the cases where the segment start/stop values are really
1979         updated.
1980         * tests/check/gst/gstsegment.c: (GST_START_TEST):
1981         Add tests for the return values of gst_segment_set_seek().
1982
1983 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
1984
1985         * gst/gst.c:
1986           Docs typo fix.
1987
1988         * plugins/elements/gstqueue.c: (gst_queue_class_init),
1989         (gst_queue_init):
1990           Fix incorrect documentation and flesh it out a bit more.
1991           Set default values for the max properties on the GParamSpec as well,
1992           so it shows up correctly in gst-inspect.
1993
1994 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
1995
1996         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
1997           Correct docs of queue, add more detail and crosslink it more.
1998
1999 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
2000
2001         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2002           Print additional debug info when the stream isn't perfectly
2003           timestamped; don't try to use invalid durations.
2004
2005 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
2006
2007         * docs/design/Makefile.am:
2008           Dist new design docs.
2009
2010 2006-12-16  Wim Taymans  <wim@fluendo.com>
2011
2012         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2013
2014         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
2015         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
2016         (gst_collect_pads_stop), (gst_collect_pads_event),
2017         (gst_collect_pads_chain):
2018         * libs/gst/base/gstcollectpads.h:
2019         Add refcounting to the collectpads data so we can track when it's safe
2020         to free the data. Fixes #383382.
2021
2022 2006-12-15  Wim Taymans  <wim@fluendo.com>
2023
2024         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
2025         (gst_collect_pads_remove_pad):
2026         Automatically activate/deactivate pads when they are added to a
2027         started/stoped collectpads.
2028
2029 2006-12-15  Wim Taymans  <wim@fluendo.com>
2030
2031         * gst/gstelement.c: (gst_element_add_pad):
2032         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
2033         * gst/gstpad.c: (gst_pad_init):
2034         Set pads to FLUSHING when they are created. Check, warn and fix when a
2035         demuxer adds an inactive pad to itself when running. Fixes #339326.
2036
2037 2006-12-15  Wim Taymans  <wim@fluendo.com>
2038
2039         * gst/gstelement.c: (gst_element_class_init),
2040         (gst_element_default_send_event), (gst_element_send_event),
2041         (gst_element_default_query), (gst_element_query):
2042         Expose default element send_event and query handling as vmethods that
2043         subclasses can chain up to.
2044
2045 2006-12-15  Wim Taymans  <wim@fluendo.com>
2046
2047         * gst/gstelement.c: (gst_element_set_state_func):
2048         Small documentation fixes.
2049
2050 2006-12-15  Wim Taymans  <wim@fluendo.com>
2051
2052         * docs/design/draft-latency.txt:
2053         Checked in draft for handling latency in pipelines.
2054
2055 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2056
2057         * Makefile.am:
2058         * gstreamer.doap:
2059         * gstreamer.spec.in:
2060           adding .doap file
2061
2062 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
2063
2064         * gst/gst.c: (init_pre), (init_post):
2065           init_pre() and init_post() might be called via our GOptionGroup or
2066           from gst_init(), and we should skip both of them if we've already
2067           been initialised, otherwise we will init some things twice or add
2068           two default log functions.
2069
2070 2006-12-13  Edward Hervey  <edward@fluendo.com>
2071
2072         * docs/manual/basics-bus.xml:
2073         No, gst_main_loop does not exist. Its g_main_loop.
2074         Discovered by somebody who abused the copy-paste technique of coding :)
2075
2076 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
2077
2078         * gst/gstghostpad.c:
2079           Log ghostpad debug stuff to the GST_PADS category as well rather
2080           than just to the default category.
2081
2082 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
2083
2084         * configure.ac:
2085         * gst/gst.c: (init_pre):
2086           Add some basic system details such as OS and architecture
2087           to the debug output if possible, courtesy of uname().
2088
2089 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
2090
2091         * docs/gst/running.xml:
2092           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
2093           environment variables.
2094
2095 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
2096
2097         * tests/check/gst/gstbin.c: (GST_START_TEST):
2098         It is acceptable to have a refcount of 2 or 3 at this point in the
2099         test, because the pipeline might be just posting its state_change
2100         message. The next line then waits for that message to appear using
2101         bus_poll, so that should be fine too.
2102
2103 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
2104
2105         * gst/gst.c: (ensure_current_registry_forking):
2106         Ignore EINTR when reading from the child registry pipe.
2107         Explicitly ignore the return value from close, since it makes no
2108         difference.
2109
2110         * gst/gstminiobject.c: (gst_mini_object_ref),
2111         (gst_mini_object_unref):
2112         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
2113
2114         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
2115         When removing cached plugins, remove their features too, so they're
2116         not visible after they've disappeared.
2117
2118         * gst/gstutils.c: (prepare_link_maybe_ghosting):
2119         In the unlikely case that we are linking pads with no parents, don't
2120         crash trying to get the non-existent parent bin.
2121
2122         * gst/parse/grammar.y:
2123         Output debug in the PIPELINE category
2124
2125 2005-03-08  Wim Taymans  <wim@fluendo.com>
2126
2127         Patch by: René Stadler <mail at renestadler dot de>
2128
2129         * gst/gstclock.c: (gst_clock_new_periodic_id):
2130         Reject invalid clock times for interval of periodic ids.
2131         Fixes ##383506.
2132
2133 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
2134
2135         * gst/gstelementfactory.c: (gst_element_factory_create):
2136         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2137         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
2138         * tools/gst-inspect.c: (print_element_info):
2139         Fix refcounting of gst_plugin_feature_load to match the docs. 
2140         Fixes: #380129
2141
2142 2006-12-07  Wim Taymans  <wim@fluendo.com>
2143
2144         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
2145         (gst_base_sink_get_position):
2146         Improve debugging of events.
2147
2148 2006-12-07  Wim Taymans  <wim@fluendo.com>
2149
2150         Patch by: René Stadler <mail at renestadler dot de>
2151
2152         * gst/gstclock.c: (gst_clock_id_wait):
2153         Make period ids add the interval to the origial requested time instead
2154         of the possibly updated time which can be wrong when there are multiple
2155         waiters for the same id. Fixes #382592.
2156
2157         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
2158         (gst_system_clock_id_wait_jitter_unlocked),
2159         (gst_system_clock_id_wait_jitter):
2160         Fix restart in the async notify thread when an async entry is added to
2161         the front of the list. Fixes #381492. 
2162
2163         * tests/check/gst/gstsystemclock.c: (store_callback),
2164         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
2165         Added test for multiple async waits.
2166         Added test for async wait order.
2167
2168 2006-12-07  Wim Taymans  <wim@fluendo.com>
2169
2170         * gst/gstbin.c: (gst_bin_query):
2171         Add some more docs about the POSITION query.
2172
2173 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
2174
2175         * configure.ac:
2176         Bump version nano - back to CVS.
2177
2178 === release 0.10.11 ===
2179
2180 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
2181
2182         * configure.ac:
2183           releasing 0.10.11, "Love never runs on time"
2184
2185 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
2186
2187         * win32/common/libgstbase.def:
2188         * win32/common/libgstreamer.def:
2189         * win32/vs8/libgstbase.vcproj:
2190         * win32/vs8/libgstcoreelements.vcproj:
2191         * win32/vs8/libgstreamer.vcproj:
2192         Fix compilation on win32 under VS8
2193         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2194         Partially fixes #381175
2195
2196 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
2197
2198         * gst/gstvalue.c: (gst_value_compare_fraction):
2199         If someone is foolish enough to compare 2 fractions with denominator =
2200         0, return UNORDERED rather than aborting.
2201
2202 2006-11-28  Edward Hervey  <edward@fluendo.com>
2203
2204         * libs/gst/base/Makefile.am:
2205         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
2206         (gst_data_queue_base_init), (gst_data_queue_class_init),
2207         (gst_data_queue_init), (gst_data_queue_new),
2208         (gst_data_queue_cleanup), (gst_data_queue_finalize),
2209         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
2210         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
2211         (gst_data_queue_is_empty), (gst_data_queue_is_full),
2212         (gst_data_queue_set_flushing), (gst_data_queue_push),
2213         (gst_data_queue_pop), (gst_data_queue_drop_head),
2214         (gst_data_queue_set_property), (gst_data_queue_get_property):
2215         * libs/gst/base/gstdataqueue.h:
2216         New GstDataQueue object for threadsafe queueing. Most useful for
2217         elements that need some queueing functionnality.
2218         * docs/libs/gstreamer-libs-docs.sgml:
2219         * docs/libs/gstreamer-libs-sections.txt:
2220         Insert documentation for GstDataQueue
2221         * plugins/elements/Makefile.am:
2222         * plugins/elements/gstelements.c:
2223         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2224         (gst_multi_queue_class_init), (gst_multi_queue_init),
2225         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2226         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
2227         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
2228         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2229         (gst_multi_queue_loop), (gst_multi_queue_chain),
2230         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2231         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
2232         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
2233         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
2234         (wake_up_next_non_linked), (compute_next_non_linked),
2235         (single_queue_overrun_cb), (single_queue_underrun_cb),
2236         (single_queue_check_full), (gst_single_queue_new):
2237         * plugins/elements/gstmultiqueue.h:
2238         New multiqueue element, using GstDataQueue. Used for queuing multiple
2239         streams.
2240         Closes #344639 and #347785
2241
2242 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
2243
2244         * docs/pwg/advanced-types.xml:
2245           add more missing type details
2246
2247         * tools/gst-run.c: (main):
2248           remove unused variable
2249
2250 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
2251
2252         * docs/libs/Makefile.am:
2253         * docs/libs/gstreamer-libs.types:
2254           add types of base classes to enable gobject specific stuff in the docs
2255
2256         * docs/random/ensonic/embedded.txt:
2257           more ideas about isolating platform specific things
2258
2259 2006-11-20  Wim Taymans  <wim@fluendo.com>
2260
2261         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
2262
2263         * libs/gst/check/gstcheck.h:
2264         Fix compilation and running against 0.9.4. Fixes #377332.
2265
2266 2006-11-20  Wim Taymans  <wim@fluendo.com>
2267
2268         * gst/gstsegment.c: (gst_segment_set_seek),
2269         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2270         (gst_segment_to_running_time):
2271         Fix boundary checking in to_running_time() and to_stream_time().
2272         Fixes #377183.
2273
2274         * tests/check/gst/gstsegment.c: (GST_START_TEST):
2275         stream and running time can now be calculated for the complete
2276         clipped segment.
2277
2278 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
2279
2280         * gst/gstpad.c: (gst_pad_push_event):
2281           Can't access event structure after giving away ownership of
2282           the event.
2283
2284 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
2285
2286         * docs/random/ensonic/embedded.txt:
2287         * docs/random/ensonic/profiling.txt:
2288         * docs/random/ensonic/receipies.txt:
2289           more thinking
2290
2291 2006-11-13  Wim Taymans  <wim@fluendo.com>
2292
2293         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2294
2295         * gst/gstpad.c:
2296         Fix documentation for gst_pad_dispatcher. Fixes #374475.
2297
2298 2006-11-13  Wim Taymans  <wim@fluendo.com>
2299
2300         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
2301
2302         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
2303         Store new length in segment duration so we don't keep on calling the
2304         potentially expensize get_size() call. Fixes #370865.
2305
2306 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
2307
2308         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
2309
2310         * win32/common/libgstreamer.def:
2311           Add two missing symbols (#366492).
2312
2313 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
2314
2315         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
2316         (gst_adapter_take_buffer):
2317         Fix format string to use all its arguments.
2318         Remove useless >= check on a guint
2319
2320 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
2321
2322         * tests/examples/adapter/.cvsignore:
2323         Ignore build file as commanded by the build-bot
2324
2325 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
2326
2327         * tests/examples/adapter/Makefile.am:
2328         * tests/examples/adapter/adapter_test.c: (run_test_take),
2329         (run_test_take_buffer), (run_tests), (main):
2330
2331         Add new files from the previous commit
2332
2333 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
2334
2335         * Makefile.am:
2336         * configure.ac:
2337         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
2338         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
2339         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
2340         * libs/gst/base/gstadapter.h:
2341         * tests/check/libs/adapter.c: (create_and_fill_adapter),
2342         (GST_START_TEST), (gst_adapter_suite):
2343         * tests/examples/Makefile.am:
2344         Do some optimisation work in GstAdapter to avoid copies in more cases.
2345         It could still do slightly better by merging buffers when
2346         gst_buffer_is_span_fast is true, but is already faster. 
2347
2348         Also, avoid traversing a single-linked list to append each incoming 
2349         buffer inside the adapter.
2350
2351         Add simple test app that times the adapter behaviour in different
2352         situations, and extend the unit test to check that bytes enter and
2353         exit the adapter in their original order.
2354
2355 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
2356
2357         * docs/random/draft-missing-plugins.txt:
2358           Update: use element message instead of adding a new message
2359           type to the core; don't provide GStreamer API to initiate the
2360           plugin download, just provide API to compose the strings needed
2361           and let an external libgimmestuff handle the rest.
2362
2363 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
2364
2365         * tools/gst-inspect.c: (print_element_properties_info):
2366         Print a string instead of 'unknown type' for GValueArray properties
2367
2368 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
2369
2370         * docs/random/draft-missing-plugins.txt:
2371         More small fixes.
2372
2373 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2374
2375         * tests/examples/typefind/typefind.c: (type_found), (main):
2376           Make typefind element example work again (#371894); add a
2377           license header.
2378
2379 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2380
2381         * docs/random/draft-missing-plugins.txt:
2382           Commit initial draft about how to deal with missing plugins,
2383           needs work (API too).
2384
2385 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
2386
2387         * docs/pwg/advanced-types.xml:
2388           documents the new caps elements (see #363118)
2389
2390 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2391
2392         * gst/gstplugin.c: (gst_plugin_load_file):
2393         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
2394         (gst_file_src_map_region), (gst_file_src_start):
2395         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
2396         (gst_file_index_commit):
2397           Use g_strerror() instead of strerror() - we want UTF-8.
2398
2399 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2400
2401         Patch by: Peter Kjellerstedt <pkj at axis com>
2402
2403         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2404           Another printf fix (#371493).
2405
2406 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2407
2408         * tests/check/gst/gsttag.c:
2409           relicence (okay with author=company)
2410
2411 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2412
2413         * gst/gstpad.c: (gst_pad_event_default_dispatch),
2414         (gst_pad_push_event):
2415           Enhance debug and improve docs
2416         
2417         * gst/gsturi.c:
2418           Fix docs
2419
2420 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2421
2422         * docs/random/ensonic/distributed.txt:
2423         * docs/random/ensonic/profiling.txt:
2424           more ideas
2425
2426 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2427
2428         * docs/gst/gstreamer-sections.txt:
2429           add new API and fix the build
2430           
2431         * gst/gstbin.c: (gst_bin_recalc_state):
2432         * gst/gstelement.c: (gst_element_message_full),
2433         (gst_element_get_state_func), (gst_element_set_state_func):
2434           use new API and improve logging
2435         
2436         * gst/gstutils.c: (gst_element_state_change_return_get_name):
2437         * gst/gstutils.h:
2438           API: add function to get StateChangereturn names to improve logs 
2439
2440 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
2441
2442         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2443           I'm considering shooting the next person to put strerror stuff
2444           in the translateable part of the message.
2445
2446 2006-11-03  Wim Taymans  <wim@fluendo.com>
2447
2448         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2449         Get the type and printf conversion specifiers right.
2450
2451 2006-11-03  Wim Taymans  <wim@fluendo.com>
2452
2453         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2454
2455         * gst/gstpad.c: (gst_pad_init), (pre_activate),
2456         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
2457         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
2458         Some small cleanups. Improve debugging.
2459         * gst/gstpad.h:
2460         Signal all waiting threads with a broadcast instead of just one.
2461         Fixes #369942.
2462
2463 2006-11-03  Wim Taymans  <wim@fluendo.com>
2464
2465         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2466         (gst_fd_src_create):
2467         Add some debugging. 
2468         Only update fd when it's different from the old.
2469
2470 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2471
2472         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
2473           Printf fixes for PPC/OSX, take two (#369366).
2474
2475 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2476
2477         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
2478
2479         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2480         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2481         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2482           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
2483           don't cast to long long for portability reasons, but use
2484           GLib's types instead.
2485
2486 2006-10-30  Michael Smith  <msmith@fluendo.com>
2487
2488         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2489           Get the arguments to lseek() the right way around.
2490           Fixes 367677.
2491
2492 2006-10-30  Wim Taymans  <wim@fluendo.com>
2493
2494         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
2495
2496         * gst/gstinfo.h:
2497         _declspec should be __declspec (two underscores, not one). Fixes 366572.
2498
2499 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
2500
2501         Patch by: Kjartan Maraas  <kmaraas at gnome org>
2502
2503         * docs/design/part-MT-refcounting.txt:
2504         * docs/random/wtay/capsnego2-docs:
2505         * gst/gstclock.c:
2506         * gst/gstxml.c:
2507           Typo fixes (#366212).
2508
2509 2006-10-28  Wim Taymans  <wim@fluendo.com>
2510
2511         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2512
2513         * gst/gst.c:
2514         * win32/common/libgstbase.def:
2515         * win32/common/libgstreamer.def:
2516         * win32/vs8/libgstbase.vcproj:
2517         * win32/vs8/libgstcontroller.vcproj:
2518         Add needed entries in .def files.
2519         Use HAVE_UNISTD_H.
2520         Rearrange def files in vs8 solutions. Fixes #366286.
2521
2522 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
2523
2524         * win32/common/gstconfig.h:
2525           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
2526           hand-made win32 gstconfig.h. Fixes #366321.
2527
2528 2006-10-27  Wim Taymans  <wim@fluendo.com>
2529
2530         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
2531         (gst_ghost_pad_new_full):
2532         Make acceptcaps return TRUE when we don't have a target, just like
2533         setcaps does.
2534
2535 2006-10-27  Wim Taymans  <wim@fluendo.com>
2536
2537         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2538         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
2539
2540 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
2541
2542         * gst/gststructure.c: (gst_structure_id_set_value):
2543           If someone tries to set a non-UTF8 string field on a structure,
2544           don't just print a warning, but also ignore the request and do
2545           not change/add that field to the structure.
2546
2547         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2548           Test for the above.
2549
2550 2006-10-25  David Schleef  <ds@schleef.org>
2551
2552         * gst/gstinfo.c:
2553           g_hash_table_insert() needs a cast to a non-const pointer duh.
2554
2555 2006-10-25  David Schleef  <ds@schleef.org>
2556
2557         * gst/gstinfo.c:
2558         * gst/gstinfo.h:
2559           Change name parameter of _gst_debug_register_funcptr to const
2560           to reflect the constness of its use in the function as well
2561           as to quiet a gcc warning.
2562
2563 2006-10-25  Edward Hervey  <edward@fluendo.com>
2564
2565         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2566         Don't push the buffer if it's empty.
2567         Closes #363095
2568
2569 2006-10-24  Wim Taymans  <wim@fluendo.com>
2570
2571         * gst/gstevent.h:
2572         Add small comment.
2573
2574         * libs/gst/base/gstbasetransform.c:
2575         (gst_base_transform_sink_eventfunc):
2576         Debug segment values *after* updating them as this is more
2577         interesting.
2578
2579 2006-10-23  Wim Taymans  <wim@fluendo.com>
2580
2581         * docs/design/part-events.txt:
2582         Update some docs.
2583
2584         * docs/design/part-block.txt:
2585         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
2586         (gst_pad_push_event):
2587         Revert BLOCKING patch, it tries to be smart without really having a
2588         clear idea what or how. So, now we discard all FLUSHING events again on
2589         a blocking pad. Should fix gnonlin again.
2590
2591 2006-10-23  Wim Taymans  <wim@fluendo.com>
2592
2593         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2594
2595         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2596         (gst_base_src_start), (gst_base_src_activate_push):
2597         Make sure size is always initialized. Fixes #364388.
2598
2599 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
2600
2601         * docs/random/ensonic/distributed.txt:
2602           add some ideas about doing distributed processing
2603
2604         * docs/random/ensonic/profiling.txt:
2605           get_rusage look promising
2606
2607 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
2608
2609         * docs/manual/basics-helloworld.xml:
2610           Add a cast in example to fix compile warning
2611
2612 2006-10-18  Wim Taymans  <wim@fluendo.com>
2613
2614         * gst/gstsegment.c: (gst_segment_set_last_stop),
2615         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2616         Relax arg checking again, -1 is allowed.
2617
2618 2006-10-18  Wim Taymans  <wim@fluendo.com>
2619
2620         * gst/gstsegment.c: (gst_segment_set_last_stop),
2621         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2622         _set_last_stop() must be with a value != -1
2623         A _TYPE_SET to -1 means seek to 0.
2624         Calc last_stop correctly for negative rates.
2625         Make sure we work with positive durations when updating a segment.
2626
2627 2006-10-18  Wim Taymans  <wim@fluendo.com>
2628
2629         * docs/design/part-live-source.txt:
2630         * gst/gstclock.h:
2631         Small docs fixes.
2632
2633 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
2634
2635         * gst/gstbuffer.h:
2636           Add an explicit cast to GstBuffer** to keep old code that added an
2637           explicit cast to GstMiniObject** for gst_mini_object_replace()
2638           compiling without warning.
2639
2640 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
2641
2642         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
2643           check for validity of dates
2644
2645 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
2646
2647         * docs/gst/gstreamer-sections.txt:
2648           Forgot this one, makes gtk-doc shut up.
2649
2650 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
2651
2652         Patch by: Peter Kjellerstedt <pkj at axis com>
2653
2654         * gst/gstobject.h:
2655           Don't define xmlNodePtr to gpointer if the core was built with
2656           --disable-loadsave and --disable-registry, this will break
2657           applications that want to use libxml2 but are buildling against a
2658           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
2659           instead so we don't have to mess with the libxml2 namespace
2660           (#361675).
2661
2662 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
2663
2664         * gst/gstbuffer.h:
2665           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
2666           type-punned pointer warnings.
2667
2668 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2669
2670         * gst/gstelement.h:
2671           Add casts to the correct return type to state <=> state transition
2672           macros.
2673
2674 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
2675
2676         * docs/design/part-live-source.txt:
2677           describe howto handle latency
2678         
2679         * docs/random/ensonic/profiling.txt:
2680           more ideas
2681
2682         * tools/gst-plot-timeline.py:
2683           fix log parsing for solaris, remove unused function
2684
2685 2006-10-16  Wim Taymans  <wim@fluendo.com>
2686
2687         * docs/design/part-trickmodes.txt:
2688         * gst/gstevent.c:
2689         Update some docs regarding reverse playback.
2690
2691 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2692
2693         Patch by: Marcus Granado  <mrc dot gran at gmail com>
2694
2695         * win32/vs8/grammar.vcproj:
2696           Error out with a warning if glib-genmarshal.exe is not in path,
2697           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
2698
2699 2006-10-13  Wim Taymans  <wim@fluendo.com>
2700
2701         * gst/gstsegment.c: (gst_segment_set_seek):
2702         When seeking to stop -1, set last_stop (current position) to the
2703         duration of the segment.
2704
2705 2006-10-13  Wim Taymans  <wim@fluendo.com>
2706
2707         * gst/gstelement.h:
2708         Clarify _NO_PREROLL a bit more.
2709
2710         * gst/gstevent.c:
2711         Fix docs.
2712
2713         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
2714         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
2715         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
2716         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
2717         due to wrong locking order. Fixes #361769.
2718         Remove some redundant/misplaced checks in pad_block.
2719
2720         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2721         For negative rates, count backwards from the duration.
2722
2723 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
2724
2725         * gst/gsterror.c: (_gst_library_errors_init):
2726           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
2727           up with something better).
2728
2729 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
2730
2731         * win32/vs6/libgstreamer.dsp:
2732         * win32/vs7/libgstreamer.vcproj:
2733         * win32/vs8/libgstreamer.vcproj:
2734           Don't reference glib-compat.c which is currently not used and not
2735           disted; add gstquark.c which was recently added. Fixes #361730.
2736
2737 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
2738
2739         * win32/common/libgstbase.def:
2740         * win32/common/libgstcontroller.def:
2741         * win32/common/libgstreamer.def:
2742           Add gst_caps_merge() and a bunch of other recently-added functions.
2743           Fixes #361732.
2744
2745 2006-10-11  Wim Taymans  <wim@fluendo.com>
2746
2747         * docs/plugins/gstreamer-plugins.args:
2748         * docs/plugins/inspect/plugin-coreelements.xml:
2749         * docs/plugins/inspect/plugin-coreindexers.xml:
2750         Update element args.
2751
2752         * gst/gstsystemclock.c:
2753         Small comment update.
2754
2755         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
2756         (gst_tee_request_new_pad), (gst_tee_release_pad),
2757         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
2758         (gst_tee_sink_activate_pull):
2759         * plugins/elements/gsttee.h:
2760         Some tee loving:
2761         Add default property defines.
2762         Implement release pad function.
2763         Give properties better blubs etc.
2764         Activate pads before adding them to a running tee.
2765         Do simple buffer_alloc on the first requested pad.
2766         Post error when activation fails.
2767
2768 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
2769
2770         * gst/gst.c: (ensure_current_registry_forking):
2771           Check return value of write() to make compiler happy.
2772
2773 2006-10-11  Wim Taymans  <wim@fluendo.com>
2774
2775         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2776
2777         * plugins/elements/gstqueue.c: (gst_queue_chain):
2778         Recheck queue filledness after signalling the overrun when we're about
2779         to leak downstream because we released the lock when emitting the signal
2780         and the queue could be empty again. Fixes #352345.
2781
2782 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
2783
2784         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2785           Fix refcounting here too, just like we did for _new_valist() a few
2786           days ago (#357180) (thanks to René Stadler). Also remove all those
2787           'Since: 0.9' from the gtk-doc blobs.
2788
2789         * tests/check/libs/controller.c: (controller_refcount_new_list),
2790         (gst_controller_suite):
2791           Unit test for the above.
2792
2793 2006-10-10  Wim Taymans  <wim@fluendo.com>
2794
2795         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
2796
2797         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2798         (gst_pad_save_thyself):
2799         Update some docs.
2800         Write pad direction in XML output. Fixes #345496.
2801
2802 2006-10-10  Wim Taymans  <wim@fluendo.com>
2803
2804         Patch by: René Stadler <mail at renestadler dot de>
2805
2806         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2807         (gst_controller_new_list), (_gst_controller_dispose),
2808         (_gst_controller_finalize), (_gst_controller_class_init):
2809         Take ref to controlled object so that it cannot disappear. 
2810         Fixes #357432.
2811
2812 2006-10-10  Wim Taymans  <wim@fluendo.com>
2813
2814         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2815         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2816         (gst_check_teardown_sink_pad):
2817         Activate/deactivate pads in setup/teardown respectively.
2818
2819 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2820
2821         Patch by: Josep Torre Valles <josep@fluendo.com>
2822
2823         * gst/Makefile.am:
2824         Cast values when making gstenumtypes.h.  This pacifies Forte
2825         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
2826         in the enumeration.
2827
2828 2006-10-09  Wim Taymans  <wim@fluendo.com>
2829
2830         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
2831         Rename some more @cur to @start to fix docs. 
2832
2833         * gst/gstsegment.c: (gst_segment_set_seek):
2834         Fix typo.
2835         time and start must always stay in sync as defined in design doc.
2836
2837         * gst/gsttaglist.c: (gst_tag_list_is_empty):
2838         Rename param to fix docs.
2839
2840         * tests/check/gst/gstsegment.c: (GST_START_TEST):
2841         Check that start and time are in sync.
2842
2843         * tests/check/pipelines/parse-launch.c:
2844         (gst_parse_test_element_change_state):
2845         Activate pad before adding to the element.
2846
2847 2006-10-09  Wim Taymans  <wim@fluendo.com>
2848
2849         * docs/design/part-qos.txt:
2850         Fix typo.
2851
2852         * gst/gstevent.c:
2853         * gst/gstevent.h:
2854         Update seek event docs regarding negative rates.
2855         Rename @cur to @start. 
2856
2857         * gst/gstsegment.c: (gst_segment_set_seek):
2858         * gst/gstsegment.h:
2859         Update set_seek docs regarding negative rates.
2860         Correctly update last_stop to @stop when dealing with negative
2861         rates.
2862         Rename @cur to @start. 
2863
2864         * tests/check/gst/gstpad.c: (GST_START_TEST):
2865         Activate pads before trying to use them.
2866
2867         * tests/check/gst/gstsegment.c: (GST_START_TEST),
2868         (gst_segment_suite):
2869         Add simple check for segments and negative rates.
2870
2871 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
2872
2873         * gst/gsttaglist.c: (gst_tag_list_is_empty):
2874         * gst/gsttaglist.h:
2875         * docs/gst/gstreamer-sections.txt:
2876           API: add gst_tag_list_is_empty() (#360467).
2877
2878         * tests/check/gst/gsttag.c: (GST_START_TEST):
2879           And a test case.
2880
2881 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2882
2883         * gst/gstmessage.h:
2884         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
2885         a value that doesn't fit on enumeration.
2886
2887 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2888
2889         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2890         Remove local debugging system and use Gstreamer's instead.
2891
2892 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2893
2894         Patch by: Josep Torre Valles <josep@fluendo.com>
2895
2896         * common/m4/gst-error.m4:
2897         Disable warning of statement not reached on Forte.
2898         * gst/gstmessage.h:
2899         Fix warning on Forte (value doesn't fit on enumeration).
2900         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
2901         Fix warning on Forte (value doesn't fit on enumeration).
2902         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2903         DEBUG macro says it takes minimum of 2 args and so Forte
2904         complains about the use with just 1 arg.
2905         * plugins/elements/gstfdsink.c:
2906         * plugins/elements/gstfdsrc.c:
2907         * plugins/elements/gstfilesink.c:
2908         * plugins/elements/gstfilesrc.c:
2909         Use correct return type for the uri handler implementations.
2910
2911         All these fix warnings in Forte.  Fixes bug #360860.
2912
2913 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
2914
2915         * gst/gstelement.h:
2916           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
2917           format string, so don't use G_GNUC_PRINTF for those versions.
2918
2919 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
2920
2921         * gst/gsttaglist.c: (gst_is_tag_list):
2922         * gst/gsttaglist.h:
2923           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
2924
2925         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2926           Small test for the above.
2927
2928 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
2929
2930         * gst/gsttaglist.h:
2931           Less tabs, more spaces.
2932
2933 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
2934
2935         * gst/gstinfo.h:
2936           Those two function declarations do actually belong there, revert
2937           commit from yesterday that turned them intro macros.
2938
2939 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2940
2941         Patch by: Josep Torre Valles <josep@fluendo.com>
2942
2943         * gst/gst.c: (gst_init_get_option_group):
2944         Fix empty declaration and type mismatch.
2945         * gst/gstbin.c: (gst_bin_change_state_func):
2946         Fix type mismatch.
2947         * gst/gstelement.c: (gst_element_continue_state),
2948         (gst_element_set_state_func), (gst_element_change_state),
2949         (gst_element_change_state_func):
2950         Fix type mismatches.
2951         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
2952         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
2953         Cast as appropriate.
2954         * gst/gstobject.c: (gst_class_signal_connect):
2955         Cast as appropriate.  The function pointer parameter really
2956         has the wrong type but would break API if we change it.
2957         * gst/gstquery.c:
2958         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
2959         order of including string.h.
2960         * gst/gstutils.c: (gst_element_state_get_name):
2961         Remove unreachable line.
2962         * gst/gstxml.c: (gst_xml_parse_doc):
2963         Fix type mismatch.
2964         All these caught by Forte.
2965
2966 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2967
2968         Patch by: Josep Torre Valles <josep@fluendo.com>
2969
2970         * common/m4/gst-error.m4:
2971         Fixed bug #360151.
2972         We need to disable warnings on Forte for empty declarations
2973         due to gst-indent adding ;s to lines that just use macros
2974         where the macro actually doesn't need a ; at end to end
2975         statement.
2976
2977 2006-10-06  Wim Taymans  <wim@fluendo.com>
2978
2979         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2980         (gst_file_sink_close_file), (gst_file_sink_event),
2981         (gst_file_sink_render):
2982         Add some FIXME for the NEWSEGMENT handling.
2983
2984 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2985
2986         * gst/parse/grammar.y:
2987         Remove static function gst_parse_element_lock as all it does
2988         is return.  Looks like cruft from 0.8.
2989
2990 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2991
2992         Patch by: Josep Torre Valles <josep@fluendo.com>
2993
2994         * common/m4/gst-error.m4:
2995         * configure.ac:
2996         * libs/gst/net/Makefile.am:
2997         Fix a compilation issue with Forte on Solaris.  inet_aton is in
2998         libresolv.
2999
3000 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
3001
3002         * gst/gstpad.c: (pre_activate):
3003         * gst/gstregistry.c: (gst_registry_scan_path_level):
3004         * gst/gstregistryxml.c: (load_plugin):
3005         * libs/gst/controller/gstcontroller.c:
3006         (gst_controlled_property_set_interpolation_mode):
3007         * libs/gst/dataprotocol/dataprotocol.c:
3008         (gst_dp_packet_from_event_1_0):
3009         * libs/gst/net/gstnetclientclock.c:
3010         (gst_net_client_clock_observe_times):
3011         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3012           Printf fixes.
3013
3014 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
3015
3016         * configure.ac:
3017         * docs/gst/gstreamer-sections.txt:
3018         * gst/gstconfig.h.in:
3019         * gst/gstelement.h:
3020         * gst/gstinfo.h:
3021           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
3022           whether we can use G_GNUC_PRINTF in other header files and at
3023           least check the printf format/arguments of debug messages and
3024           GST_ELEMENT_ERROR messages when the printf extension is not
3025           being used.
3026           Replace more tabs with spaces in gstinfo.h and remove two spurious
3027           function declarations in GST_DISABLE_DEBUG part with macros.
3028
3029 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
3030
3031         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
3032           More docs for the sync-message signal (mention that it is not
3033           emitted by default); log message structures of messages posted on
3034           the bus as well.
3035
3036 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
3037
3038         * gst/gst.c: (ensure_current_registry_forking):
3039         Use a pipe pair to receive status results from the forked child, and
3040         ignore the result from waitpid. Fixes #355499
3041
3042 2006-10-02  Wim Taymans  <wim@fluendo.com>
3043
3044         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3045         (gst_ghost_pad_suite):
3046         Fix leak in check.
3047
3048 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
3049
3050         * gst/gstpad.c:
3051           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
3052
3053 2006-10-02  Edward Hervey  <edward@fluendo.com>
3054
3055         * docs/design/part-block.txt:
3056         Further explain the use of flushing on blocked pads.
3057         * docs/gst/gstreamer-sections.txt:
3058         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
3059         (gst_pad_push_event):
3060         * gst/gstpad.h:
3061         Added new GstPadFlag : GST_PAD_BLOCKING.
3062         Adds the notion of pads really blocking, which enables to properly
3063         handle FLUSH_START/FLUSH_STOP events on blocked pads.
3064         Fixes #358999
3065         API: gst_pad_is_blocking()
3066         API: GST_PAD_IS_BLOCKING() macro
3067         API: GST_PAD_BLOCKING GstPadFlag
3068         
3069 2006-10-02  Wim Taymans  <wim@fluendo.com>
3070
3071         Patch by: mrcgran <mrc.gran at gmail dot com>
3072
3073         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
3074         Filter the proxied caps against the padtemplate if we have one.
3075
3076         * gst/gstquery.c: (gst_query_new_segment):
3077         Add include for gstinfo.h so that compilation with
3078         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
3079
3080 2006-10-02  Wim Taymans  <wim@fluendo.com>
3081
3082         Patch by: Alessandro Decina  <alessandro at nnva org>
3083
3084         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
3085         (gst_file_sink_set_location), (gst_file_sink_open_file),
3086         (gst_file_sink_close_file), (gst_file_sink_event),
3087         (gst_file_sink_render):
3088         Set file to NULL when closing filesink so that we can set a new filename
3089         in READY. Fixes #358613.
3090
3091 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
3092
3093         Patch by: Alessandro Decina  <alessandro at nnva org>
3094
3095         * gst/gstevent.c: (_gst_event_copy):
3096           Fix gst_mini_object_make_writable() and gst_event_copy() for events
3097           with event structures by setting the parent refcount address of the
3098           copied structure to the address of the refcount member of the newly
3099           copied event rather than the address of the refcount member of the
3100           original event. Fixes #358737.
3101
3102         * tests/check/gst/gstevent.c: (GST_START_TEST):
3103           Unit test for the above.
3104
3105 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
3106
3107         * docs/design/Makefile.am:
3108           Dist some more files.
3109
3110 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
3111
3112         * tests/check/libs/controller.c: (GST_START_TEST),
3113         (gst_controller_suite):
3114           Add test for the previous fix; add some more tests
3115           for correct refcounting behaviour; fix a few leaks
3116           in test cases; call gst_controller_init() at start
3117           of all tests.
3118
3119 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
3120
3121         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3122         (gst_controller_set_from_list):
3123           Don't g_return_val_if_fail() on timed values with invalid timestamps
3124           inside a critical section without unlocking the mutex. Spotted by
3125           René Stadler. (#357617)
3126           Also, fix up refcounting properly: when returning an existing
3127           controller, we should increase the reference only once and not
3128           once per property and when trying to control a property again
3129           we should also increase the refcount.
3130
3131 2006-09-29  Wim Taymans  <wim@fluendo.com>
3132
3133         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3134         * libs/gst/net/gstnettimeprovider.c:
3135         (gst_net_time_provider_thread):
3136         Stop reading commands when EOF as well.
3137
3138         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3139         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3140         * plugins/elements/gstidentity.c: (gst_identity_class_init):
3141         Unify description of the dump property.
3142
3143 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
3144
3145         * tests/examples/manual/.cvsignore:
3146         OK, so it's actually cvsignore that needs changing. Stop laughing.
3147
3148 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
3149
3150         * tests/examples/manual/Makefile.am:
3151         Gah, declare vars *before* using them
3152
3153 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
3154
3155         * gst/gst.c: (init_pre), (scan_and_update_registry),
3156         (ensure_current_registry_nonforking),
3157         (ensure_current_registry_forking), (ensure_current_registry),
3158         (init_post), (gst_debug_help), (gst_deinit):
3159         * gst/gst_private.h:
3160         * gst/gstregistry.c: (gst_registry_finalize),
3161         (gst_registry_remove_features_for_plugin_unlocked),
3162         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3163         (gst_registry_scan_path),
3164         (_priv_gst_registry_remove_cache_plugins),
3165         (_priv_gst_registry_cleanup):
3166         * gst/gstregistry.h:
3167         Re-commit the registry changes, along with an extra fix:
3168           When a cached plugin is encountered at a different file path,
3169           update the stored path in the registry cache so that the parent
3170           process knows where it actually is now when it re-reads the registry
3171           cache. Fixes the thing that broke distcheck with the previous commit.
3172
3173         * tests/check/Makefile.am:
3174         Clean up files named 'core' too when running make clean.
3175
3176         * tests/examples/manual/Makefile.am:
3177         Set up a registry path for running these tests, and clean it properly
3178         for distcheck.
3179
3180 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
3181
3182         * configure.ac:
3183         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
3184         want gmodule-no-export-2.0.pc instead so that we don't drag in
3185         --export-dynamic on every project that links to GStreamer.
3186
3187         Also, make our export regex only match the start of symbols, rather 
3188         than any symbol that contains '_gst' somewhere.
3189
3190         * libs/gst/check/Makefile.am:
3191         The libgstcheck we build does however need export-dynamic, as it
3192         produces some symbols that don't match our _gst... style regex.
3193         Fixes: #318031
3194
3195 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
3196
3197         * gst/gst.c: (init_pre), (scan_and_update_registry),
3198         (ensure_current_registry_nonforking),
3199         (ensure_current_registry_forking), (ensure_current_registry),
3200         (init_post), (gst_debug_help), (gst_deinit):
3201         * gst/gst_private.h:
3202         * gst/gstregistry.c: (gst_registry_finalize),
3203         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3204         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
3205         (_gst_registry_cleanup):
3206         * gst/gstregistry.h:
3207           Revert previous change until I figure out why it breaks distcheck.
3208
3209 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
3210
3211         * gst/gst.c: (init_pre), (scan_and_update_registry),
3212         (ensure_current_registry_nonforking),
3213         (ensure_current_registry_forking), (ensure_current_registry),
3214         (init_post), (gst_debug_help), (gst_deinit):
3215
3216           Make init_pre and init_post take the full complement of GOptionFunc
3217           args so they can return useful GErrors. Make the registry updating
3218           functions do so.
3219
3220           Call _priv_gst_registry_remove_cache_plugins after scanning files to
3221           ensure that the registry we're about to write out doesn't contain
3222           stale information about old-deleted plugin files.
3223
3224           Make _priv_gst_registry_remove_cache_plugins return a boolean so
3225           that deletion of plugin files is considered a registry change.
3226
3227         * gst/gst_private.h:
3228         * gst/gstregistry.c: (gst_registry_finalize),
3229         (gst_registry_remove_features_for_plugin_unlocked),
3230         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3231         (gst_registry_scan_path),
3232         (_priv_gst_registry_remove_cache_plugins),
3233         (_priv_gst_registry_cleanup):
3234         * gst/gstregistry.h:
3235         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
3236         by adding _priv prefix, so that they won't appear in the global
3237         symbol table. They still do atm though because of #318031. Move the
3238         prototypes to gst_private.h
3239
3240         When removing a plugin, remove all features for that plugin too. 
3241         Fixes #340878.
3242
3243 2006-09-27  Wim Taymans  <wim@fluendo.com>
3244
3245         * docs/random/moving-plugins:
3246         Make it clear that the "compiled-in descriptions" really mean
3247         the element details.
3248
3249         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3250         (gst_base_sink_wait_preroll):
3251         Update docs.
3252
3253         * docs/libs/gstreamer-libs-sections.txt:
3254         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3255         (gst_base_src_get_range), (gst_base_src_activate_push):
3256         * libs/gst/base/gstbasesrc.h:
3257         Added function to block while waiting for PLAYING, this function
3258         is used by live sources that block on the clock.
3259         API: gst_base_src_wait_playing()
3260
3261 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
3262
3263         Patch by: Peter Kjellerstedt <pkj at axis com>
3264
3265         * Makefile.am:
3266           gst-element-check.m4 is generated and should therefore be
3267           copied from the build dir rather than the source dir (#357593).
3268           'make distcheck' hasn't noticed this because we were disting
3269           the file as well, so stop doing that.
3270
3271 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
3272
3273         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3274           Add some tests for gst_caps_intersect().
3275
3276         * tools/gst-launch.c: (event_loop):
3277           Print all buffering percentages we get, even the 100% one.
3278
3279 2006-09-26  Wim Taymans  <wim@fluendo.com>
3280
3281         * tools/gst-inspect.c: (print_element_properties_info),
3282         (print_signal_info):
3283         Fix printing of flags to match the look of enums.
3284
3285 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3286
3287         * gst/gstelementfactory.c:
3288           Fix typo in docs blurb.
3289
3290 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3291
3292         * gst/gsturi.c: (search_by_entry):
3293           Don't assert/crash here if a uri handler doesn't return any
3294           supported protocols. The list of protocols could be generated
3295           dynamically at runtime or at plugin registration, and an error
3296           in the underlying library shouldn't be fatal (#353301).
3297
3298 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3299
3300         * gst/gstinfo.c:
3301           Fix warning if HAVE_PRINTF_EXTENSION is undefined
3302           (spotted by Peter Kjellerstedt).
3303
3304 2006-09-23  Wim Taymans  <wim@fluendo.com>
3305
3306         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
3307
3308         * libs/gst/base/gstbasesrc.c:
3309         (gst_base_src_default_check_get_range), (gst_base_src_start),
3310         (gst_base_src_activate_push), (gst_base_src_activate_pull),
3311         (gst_base_src_change_state):
3312         Match _start/_stop calls in the activate functions. Remove redundant
3313         _stop call from the state change function. Fixes #356910.
3314         Turn failure DEBUG into ERROR. 
3315
3316 2006-09-22  Wim Taymans  <wim@fluendo.com>
3317
3318         * docs/design/part-buffering.txt:
3319         * gst/gstmessage.c: (gst_message_new_buffering),
3320         (gst_message_parse_buffering):
3321         Update docs about buffering.
3322
3323         * docs/design/part-trickmodes.txt:
3324         Fix typo.
3325
3326 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
3327
3328         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3329         (gst_controller_new_list):
3330           Ref instances when returning them again (fixes #357180)
3331
3332 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
3333
3334         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
3335           Don't forget to release proxy lock when there's an error.
3336
3337 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
3338
3339         * gst/gstcaps.h:
3340           Add extra initialisers for Caps things, to fix some plugin warnings
3341           when using -Wextra
3342
3343 2006-09-18  Wim Taymans  <wim@fluendo.com>
3344
3345         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3346           Also set template on the internal pad so that a getcaps from the 
3347           target pad returns the template caps.
3348
3349 2006-09-18  Wim Taymans  <wim@fluendo.com>
3350
3351         * gst/gstelement.c: (gst_element_post_message),
3352         (gst_element_dispose):
3353         Use _DEBUG_OBJECT some more.
3354
3355         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3356         Avoid typechecks.
3357
3358         * tools/gst-launch.c: (main):
3359         If the toplevel element is not a GstPipeline, it must be put in a
3360         pipeline so that a bus and clock is selected.
3361
3362 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
3363
3364         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3365           JITTER, RATE, and LATENCY query should be handled by the
3366           default case and not by the CONVERT query code.
3367
3368 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
3369
3370         * gst/gstformat.c: (gst_format_register):
3371           Fix locking order (must take lock before using n_values).
3372
3373         * gst/gstvalue.c: (gst_value_serialize_enum),
3374         (gst_value_deserialize_enum_iter_cmp),
3375         (gst_value_deserialize_enum):
3376           Fix serialisation/deserialisation of custom registered GstFormats.
3377
3378         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3379           Unit test for custom format serialisation/deserialisation.
3380
3381 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
3382
3383         * docs/pwg/building-boiler.xml:
3384         * plugins/elements/gstcapsfilter.c:
3385         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
3386         section.
3387
3388 2006-09-16  Edward Hervey  <edward@fluendo.com>
3389
3390         * libs/gst/base/gstbasetransform.c:
3391         (gst_base_transform_buffer_alloc):
3392         Check if requested caps are the same as the sinks caps IF
3393         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
3394         is FALSE.
3395         This fixes the renegotiation issues stated in #352827.
3396
3397 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3398
3399         * configure.ac:
3400         * docs/manual/advanced-autoplugging.xml:
3401         * tests/examples/Makefile.am:
3402         * tests/examples/manual/.cvsignore:
3403         * tests/examples/manual/Makefile.am:
3404         * tests/examples/manual/extract.pl:
3405           Extract the manual examples again like we used to do.
3406           Fix one of them.
3407
3408 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3409
3410         * win32/common/config.h:
3411           update for version
3412
3413 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
3414
3415         * gst/gsterror.c:
3416           Documents how to receive errors.
3417
3418 2006-09-15  Wim Taymans  <wim@fluendo.com>
3419
3420         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
3421         (event_loop), (main):
3422         Added some comments here and there.
3423         Post an application message when an interrupt is caught instead of doing
3424         an uncontrolled state change.
3425         Clean up the event loop.
3426         Handle buffering messages, pause/resume the pipeline.
3427         Make shutdown because of an interrupt more reliable.
3428
3429 2006-09-15  Wim Taymans  <wim@fluendo.com>
3430
3431         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3432         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
3433         (gst_base_sink_preroll_object):
3434         Make sure that our internal state is correct when we commit our state
3435         asynchronously. This solves a race where a state change to PLAYING
3436         could cause the sink to remain blocked in preroll in some situations.
3437
3438 2006-09-15  Wim Taymans  <wim@fluendo.com>
3439
3440         * tools/gst-inspect.c: (print_element_properties_info),
3441         (print_signal_info):
3442         List flags as hex so it's easier to deal with.
3443
3444 2006-09-15  Wim Taymans  <wim@fluendo.com>
3445
3446         * docs/libs/gstreamer-libs-sections.txt:
3447         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
3448         (gst_base_sink_do_sync):
3449         * libs/gst/base/gstbasesink.h:
3450         Expose logic to wait for preroll so that subclasses such as audiosink
3451         can also use this method.
3452         API: gst_base_sink_wait_preroll()
3453
3454 2006-09-15  Wim Taymans  <wim@fluendo.com>
3455
3456         * gst/gstobject.c: (gst_object_set_parent):
3457         * gst/gstpipeline.c: (do_pipeline_seek):
3458         Small cleanups in docs and code.
3459
3460         * gst/gstsegment.c: (gst_segment_clip):
3461         * tests/check/gst/gstsegment.c: (GST_START_TEST):
3462         if stop == start and start is in the segment, no clipping should be
3463         done. Also add a test for this.
3464
3465 2006-09-15  Wim Taymans  <wim@fluendo.com>
3466
3467         * docs/design/part-buffering.txt:
3468         * docs/gst/gstreamer-sections.txt:
3469         * gst/gstmessage.c: (gst_message_new_buffering),
3470         (gst_message_parse_buffering):
3471         * gst/gstmessage.h:
3472         Added methods to create and parse BUFFERING messages.
3473         Added preliminary docs about buffering.
3474         API: gst_message_new_buffering
3475         API: gst_message_parse_buffering
3476
3477 2006-09-06  Wim Taymans  <wim@fluendo.com>
3478
3479         * gst/gstbin.c:
3480         Update documentation.
3481
3482         * gst/gstelement.c: (gst_element_class_init),
3483         (gst_element_release_request_pad), (gst_element_set_clock),
3484         (gst_element_get_index), (gst_element_add_pad),
3485         (gst_element_remove_pad), (gst_element_get_random_pad),
3486         (gst_element_send_event), (gst_element_get_query_types),
3487         (gst_element_query), (gst_element_post_message),
3488         (gst_element_message_full), (gst_element_continue_state),
3489         (gst_element_lost_state), (gst_element_save_thyself),
3490         (gst_element_restore_thyself):
3491         Documentation updates.
3492         Rename last bit of the new-pad -> pad-added signal rename.
3493         Fix the case where an element query would only work if the source
3494         pad was linked.
3495         Avoid some useless type checking in message handling.
3496
3497         * gst/gstevent.c:
3498         * gst/gstevent.h:
3499         * gst/gstutils.c:
3500         Documentation updates.
3501
3502 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3503
3504         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3505           add an INFO line for when we actually update the fd
3506
3507 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3508
3509         * configure.ac:
3510           back to TRUNK
3511
3512 === release 0.10.10 ===
3513
3514 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
3515
3516         * configure.ac:
3517           releasing 0.10.10, "Pais"
3518
3519 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
3520
3521         * docs/manual/advanced-position.xml:
3522           Fix typo in sample code.
3523
3524 2006-09-05  Wim Taymans  <wim@fluendo.com>
3525
3526         * libs/gst/net/gstnetclientclock.c: (inet_aton),
3527         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
3528         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
3529         * libs/gst/net/gstnetclientclock.h:
3530         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3531         * libs/gst/net/gstnettimepacket.h:
3532         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
3533         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
3534         (gst_net_time_provider_thread), (gst_net_time_provider_new):
3535         * libs/gst/net/gstnettimeprovider.h:
3536         Make stuff compile on windows. Fixes #345295.
3537
3538 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
3539
3540         * gst/gst.c: (ensure_current_registry_forking):
3541           Print better details when child was terminated by signal.
3542
3543 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
3544
3545         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
3546           Print a warning rather than g_assert() if a plugin feature
3547           is a URI handler but returns no protocols (#353976).
3548
3549 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
3550
3551         * docs/random/moving-plugins:
3552         Fix two typos.         
3553
3554 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
3555
3556         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
3557           Fix locking order, handle NULL function values properly.
3558
3559         * gst/gstinfo.h:
3560           Fix docs.
3561
3562         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3563           Initialise variable before using it and fix debug statement to
3564           print the address of the function rather than the address of the
3565           variable on the stack holding the address of the function.
3566
3567 2006-09-01  Wim Taymans  <wim@fluendo.com>
3568
3569         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
3570         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
3571         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
3572         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
3573         (gst_ghost_pad_parent_unset),
3574         (gst_ghost_pad_internal_do_activate_push),
3575         (gst_ghost_pad_internal_do_activate_pull),
3576         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3577         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3578         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
3579         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
3580         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
3581         (gst_ghost_pad_new_no_target_from_template),
3582         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3583         More cleanups.
3584         Avoid needless typechecking in macros.
3585         Since the internal pad is always present and never changes, there is
3586         no need to locking or ref when retrieving it.
3587         Improve debugging a bit.
3588         Handle link errors when setting the target. Fixes #341029.
3589
3590 2006-09-01  Wim Taymans  <wim@fluendo.com>
3591
3592         * docs/libs/gstreamer-libs-sections.txt:
3593         * docs/plugins/gstreamer-plugins-sections.txt:
3594         Fix docs some more.
3595
3596         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3597         (gst_collect_pads_event):
3598         * libs/gst/base/gstcollectpads.h:
3599         Documentation updates.
3600         Free queued buffer when removing a pad.
3601
3602 2006-08-31  Michael Smith  <msmith@fluendo.com>
3603
3604         * gst/gstutils.c: (gst_element_link_pads),
3605         (gst_element_link_pads_filtered):
3606           Ensure that we set a capsfilter to NULL if we failed to link it
3607           when doing filtered linking, to avoid criticals.
3608
3609           No need to check for unreffing srcpad, which is explicly NULLed
3610           above (a trivial code cleanup).
3611
3612 2006-08-31  Wim Taymans  <wim@fluendo.com>
3613
3614         * docs/design/part-gstghostpad.txt:
3615         Update ascii art in documentation.
3616
3617         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
3618         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
3619         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
3620         (gst_ghost_pad_internal_do_activate_push),
3621         (gst_ghost_pad_internal_do_activate_pull),
3622         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3623         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3624         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
3625         (gst_ghost_pad_set_target):
3626         Small cleanups and leak fixes.
3627         Remove some checks now that the internal pad is never NULL.
3628         Fix the case where linking pads without a target would create nasty
3629         criticals. Fixes #341029.
3630         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
3631         value of _set_target().
3632
3633         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3634         (gst_ghost_pad_suite):
3635         Some more tests for creating and linking untargeted ghostpads.
3636
3637 2006-08-31  Edward Hervey  <edward@fluendo.com>
3638
3639         * docs/gst/gstreamer-sections.txt:
3640         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
3641         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
3642         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
3643         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
3644         (gst_ghost_pad_new_from_template),
3645         (gst_ghost_pad_new_no_target_from_template):
3646         * gst/gstghostpad.h:
3647         Refactored *_new() functions.
3648         Templates are now used as a g_object_new() parameter.
3649         Use template in _do_getcaps() if we don't have a target.
3650         Small documentation cleanups.
3651         Added two new constructors:
3652         gst_ghost_pad_new_from_template()
3653         gst_ghost_pad_new_no_target_from_template()
3654         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3655         (gst_ghost_pad_suite):
3656         Added tests for new ghostpad instanciation functions.
3657
3658         API additions: gst_ghost_pad_new_from_template,
3659         gst_ghost_pad_new_no_target_from_template
3660
3661 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
3662
3663         * docs/random/ensonic/profiling.txt:
3664           Ideas about qos profiling.
3665
3666 2006-08-29  Wim Taymans  <wim@fluendo.com>
3667
3668         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
3669         Code cleanups.
3670         Fix memleak.
3671
3672 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
3673
3674         * gst/gstxml.c:
3675           Improve and detypofy docs.
3676
3677         * tests/check/Makefile.am:
3678         * tests/check/gst/.cvsignore:
3679         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
3680           Add a basic test suite for GstXML.
3681
3682 2006-08-29  Wim Taymans  <wim@fluendo.com>
3683
3684         * gst/gstelement.c: (activate_pads), (clear_caps),
3685         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
3686         Clear the pad caps when the element shut down all of the pads and
3687         is not streaming data that could modify the caps. 
3688         Fixes #352958.
3689
3690 2006-08-28  Michael Smith  <msmith@fluendo.com>
3691
3692         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3693           Revert previous change; I misunderstood single-segment mode.
3694
3695 2006-08-28  Michael Smith  <msmith@fluendo.com>
3696
3697         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3698           Unset DISCONT on buffers when using single-segment mode.
3699
3700 2006-08-28  Wim Taymans  <wim@fluendo.com>
3701
3702         * gst/gstcaps.c: (gst_caps_merge_structure):
3703         * gst/gstcaps.h:
3704         Fix docs and indentation again.
3705
3706         * tests/check/gst/gstquery.c: (GST_START_TEST):
3707         Fix leak in tests and add some more tests.
3708
3709 2006-08-28  Edward Hervey  <edward@fluendo.com>
3710
3711         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3712         Inform GstSegment of the last stop position in order for the current
3713         segment to have a proper duration if it doesn't have a specific stop
3714         position from which a duration could be calculated.
3715         This bug was noticeable when a non-flushing, non-update new segment was
3716         followed by another segment (all buffers from the new segment were being
3717         dropped).
3718
3719 2006-08-28  Wim Taymans  <wim@fluendo.com>
3720
3721         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3722         Small comment update.
3723
3724         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3725         (gst_identity_transform_ip):
3726         Drop-probability is broken, mention this in the code with a 
3727         FIXME and also in the property description.
3728         Make silent also be silent about the drop messages.
3729
3730 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
3731
3732         * docs/manual/appendix-win32.xml:
3733           Remove mention of popt, we don't depend on that any
3734           longer (#353136). Add some comments pointing out that
3735           this section is slightly outdated.
3736
3737 2006-08-28  Wim Taymans  <wim@fluendo.com>
3738
3739         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3740
3741         * gst/gstquery.c: (gst_query_new_segment):
3742         * tests/check/gst/gstquery.c: (GST_START_TEST):
3743         Initialize variables when creating a new segment query.
3744         Fixes #353121.
3745
3746 2006-08-28  Wim Taymans  <wim@fluendo.com>
3747
3748         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3749
3750         * gst/gstelement.c: (gst_element_get_bus):
3751         * tests/check/gst/gstelement.c: (GST_START_TEST):
3752         Check for NULL before _reffing the bus. Fixes #353122.
3753
3754 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
3755
3756         * docs/manual/basics-bus.xml:
3757           Docs update: fix wrong callback return value explanation; add
3758           some lines about the implicit relationship between main loop
3759           and main context; remove duplicate main loop variable declaration.
3760
3761 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
3762
3763         * tests/check/gst/gstcaps.c: (GST_START_TEST):
3764           Don't leak caps in unit test; add a few more simple
3765           checks. 
3766
3767 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
3768
3769         * docs/gst/gstreamer-sections.txt:
3770         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
3771         (gst_caps_structure_is_subset), (gst_caps_merge),
3772         (gst_caps_merge_structure):
3773         * gst/gstcaps.h:
3774         * libs/gst/base/gstbasetransform.c:
3775         (gst_base_transform_transform_caps):
3776         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3777           implement caps merging (fixes #352580)
3778
3779 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
3780
3781         * tools/Makefile.am:
3782         * tools/gst-plot-timeline.py:
3783           add debug-log plotting developer tool (#340674)
3784
3785 2006-08-23  Wim Taymans  <wim@fluendo.com>
3786
3787         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
3788         (gst_pad_stop_task):
3789         Improve debugging for task functions.
3790
3791         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
3792         (gst_task_start), (gst_task_pause), (gst_task_join):
3793         Make sure that the task function started and finished after a 
3794         join(). 
3795         Don't try to push the task function on the threadpool multiple
3796         times.
3797         Improve the g_warning message with some useful suggestions
3798         about how to fix the problem. 
3799
3800 2006-08-23  Wim Taymans  <wim@fluendo.com>
3801
3802         * gst/gstutils.c: (gst_pad_proxy_getcaps):
3803         Handle RESYNC correctly in _proxy_getcaps.
3804
3805 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
3806
3807         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
3808         (gst_xml_parse_memory), (gst_xml_get_element):
3809           Chain up to parent class in dispose function and also
3810           unref the elements in the toplevel_elements GList.
3811           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
3812           Always return a reference in gst_xml_get_element() rather
3813           than only sometimes.
3814
3815         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
3816           Don't leak GstXml object.
3817
3818 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
3819
3820         * docs/gst/gstreamer-sections.txt:
3821         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
3822         (gst_caps_merge):
3823         * gst/gstcaps.h:
3824         * libs/gst/base/gstbasetransform.c:
3825         (gst_base_transform_transform_caps):
3826           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
3827           in a better way
3828
3829 2006-08-21  Edward Hervey  <edward@fluendo.com>
3830
3831         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
3832         Implement GObject::dispose virtual method in GstXML so we can free the
3833         top_elements GList.
3834
3835 2006-08-21  Wim Taymans  <wim@fluendo.com>
3836
3837         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
3838         (gst_buffer_create_sub):
3839         Copy duration/offset_end/caps when creating a subbuffer of the
3840         complete parent.
3841         Make the subbuffer read-only when we make the metadata writable for
3842         now. Fixes #351768.
3843
3844         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3845         Added check for metadata copy when creating subbuffers.
3846
3847 2006-08-21  Edward Hervey  <edward@fluendo.com>
3848
3849         * libs/gst/base/gstbasetransform.c:
3850         (gst_base_transform_buffer_alloc):
3851         Only call downstream buffer_alloc if transform element is passthrough
3852         or always_in_place. Closes #350449.
3853
3854 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3855
3856         * ChangeLog:
3857           ChangeLog surgery to add comments to previous changes
3858
3859 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3860
3861         * gst/gst.c:
3862           Add comments
3863
3864         * gst/gstpad.c: (gst_pad_set_active):
3865           Be more verbose in the log
3866
3867         * libs/gst/base/gstbasetransform.c:
3868         (gst_base_transform_transform_caps):
3869           Simplify caps to get rid of duplicates, fixes #345444
3870
3871 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3872
3873         * gst/gstvalue.c:
3874         * gst/gstvalue.h:
3875           Use these optimizations only internally.
3876
3877 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3878
3879         * gst/gstvalue.c: (gst_value_compare_list),
3880         (gst_value_compare_fraction_range),
3881         (gst_value_intersect_fraction_fraction_range),
3882         (gst_value_intersect_fraction_range_fraction_range),
3883         (gst_value_subtract_fraction_fraction_range),
3884         (gst_value_subtract_fraction_range_fraction_range),
3885         (gst_value_get_compare_func), (gst_value_compare),
3886         (gst_value_compare_with_func):
3887         * gst/gstvalue.h:
3888           Saves the expensive lookup of the compare function in many cases
3889          (#345444)
3890
3891 2006-08-18  Edward Hervey  <edward@fluendo.com>
3892
3893         * tests/check/gst/gstinfo.c: (gst_info_suite):
3894         Disable test that require gstdebug if it wasn't built in core.
3895
3896 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
3897
3898         * docs/random/ensonic/logging.txt:
3899           update ideas
3900           
3901         * gst/gstinfo.c: (gst_debug_log_default):
3902           reorder fields, save some columns, add optional color codes for log
3903           levels
3904
3905 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
3906
3907         * docs/random/ensonic/logging.txt:
3908           add ideas about making the logs a bit more useful
3909
3910 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
3911
3912         * docs/pwg/advanced-events.xml:
3913         * docs/pwg/titlepage.xml:
3914           Update for 0.10 API (#340627). Add myself
3915           to authors list.
3916
3917 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
3918
3919         * docs/libs/gstreamer-libs-docs.sgml:
3920         * docs/libs/gstreamer-libs-sections.txt:
3921         * libs/gst/check/gstbufferstraw.c:
3922           Make gstcheck stuff show up in docs (still needs to
3923           be documented properly though).
3924
3925 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
3926
3927         * docs/gst/gstreamer-sections.txt:
3928         * gst/Makefile.am:
3929         * gst/gst.c: (init_post):
3930         * gst/gst_private.h:
3931         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3932         * gst/gstquark.h:
3933         * gst/gstquery.c: (gst_query_new_position),
3934         (gst_query_set_position), (gst_query_parse_position),
3935         (gst_query_new_duration), (gst_query_set_duration),
3936         (gst_query_parse_duration), (gst_query_new_convert),
3937         (gst_query_set_convert), (gst_query_parse_convert),
3938         (gst_query_new_segment), (gst_query_set_segment),
3939         (gst_query_parse_segment), (gst_query_new_seeking),
3940         (gst_query_set_seeking), (gst_query_parse_seeking):
3941         Add internal helpers for pre-registering quarks from static strings
3942         and using the quark values directly instead of looking them up when
3943         creating and parsing queries. Can be used for event construction too.
3944         Closes #350432.
3945
3946 2006-08-16  Wim Taymans  <wim@fluendo.com>
3947
3948         * gst/gstbin.c:
3949         Fix bogus docs.
3950
3951 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
3952
3953         * gst/gstutils.c: (gst_util_set_value_from_string):
3954           Fix memleak (#351502).
3955
3956         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3957           Add unit test for most of gst_util_set_value_from_string()
3958           (not that one would want to encourage use of this function).
3959
3960 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
3961
3962         * libs/gst/check/gstcheck.h:
3963           Use const gchar * variables in fail_unless_equals_string
3964           macro to avoid compiler warnings (and don't use tabs for
3965           indenting).
3966
3967 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
3968
3969         * tools/gst-launch.c: (print_tag):
3970           More space on the left for the tag names, to cater
3971           for the 'extended comment' tag (not touching the
3972           string for the first line since it's translated).
3973
3974 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
3975
3976         * libs/gst/check/gstcheck.h:
3977           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
3978           print something when they fail.
3979
3980 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
3981
3982         * docs/gst/gstreamer-sections.txt:
3983         * gst/gsttaglist.c: (_gst_tag_initialize):
3984         * gst/gsttaglist.h:
3985           API: add GST_TAG_EXTENDED_COMMENT (#350935).
3986           Also change merge function for GST_TAG_COMMENT to
3987           use_first.
3988
3989 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
3990
3991         * gst/gstinfo.c: (gst_debug_print_object):
3992           Make GST_PTR_FORMAT print messages as well.
3993
3994         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
3995         (GST_START_TEST), (gst_info_suite):
3996           More tests.
3997
3998 2006-08-14  Edward Hervey  <edward@fluendo.com>
3999
4000         * gst/gstelementfactory.c: (gst_element_register):
4001         If the GstElementClass doesn't have a GstElementDetails with all fields
4002         filled up correctly (longname, description AND author), then error out
4003         nicely instead of crashing.
4004
4005 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
4006
4007         * gst/gststructure.c:
4008           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
4009
4010         * gst/gstvalue.h:
4011           Expand on the difference between arrays and lists as we use them.
4012           
4013 2006-08-14  Wim Taymans  <wim@fluendo.com>
4014
4015         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4016         If the parent state change function failed, don't assume we can safely
4017         stop the source, this will be done when the pads are deactivated.
4018
4019 2006-08-14  Wim Taymans  <wim@fluendo.com>
4020
4021         * gst/gstbuffer.c:
4022         * gst/gsttask.c: (gst_task_join):
4023         Small doc updates.
4024
4025         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4026         (gst_pad_stop_task):
4027         When pad (de)activation failed for some reason, restore the old
4028         activation mode and set the pad to flushing instead of assuming the
4029         pad is deactivated.
4030         If the _task_join() failed, reinstall the task on the pad so that it can
4031         be stopped later and return an error.
4032
4033 2006-08-11  Andy Wingo  <wingo@pobox.com>
4034
4035         * configure.ac:
4036         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
4037         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
4038         is only for users of API that don't want to see deprecated
4039         functions in the headers; people that want to compile out
4040         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
4041         CFLAGS. Fixes the build of multifdsink, or will soon..
4042
4043 2006-08-11  Wim Taymans  <wim@fluendo.com>
4044
4045         * docs/gst/gstreamer-sections.txt:
4046         Add GstClockClass vmethod docs.
4047
4048         * gst/gstcaps.h:
4049         Mark #endif with comment for associated #if
4050
4051         * gst/gstclock.c: (gst_clock_id_wait):
4052         * gst/gstclock.h:
4053         Add vmethod wait_jitter to avoid an unneeded _get_time() for
4054         most clock implementations.
4055         Document vmethods.
4056         Flesh out docs about resolution methods.
4057         API: GstClockClass::wait_jitter
4058
4059         * gst/gstsystemclock.c: (gst_system_clock_class_init),
4060         (gst_system_clock_async_thread),
4061         (gst_system_clock_id_wait_jitter_unlocked),
4062         (gst_system_clock_id_wait_jitter):
4063         Use base class wait_jitter variant for improved performance
4064         due to less clock polling.
4065
4066 2006-08-11  Edward Hervey  <edward@fluendo.com>
4067
4068         * gst/gst.c: (gst_init_check), (init_post):
4069         Set gst as being initialized before scanning/updating the registry,
4070         since there might be my python plugin loader that calls gst_init() and
4071         we don't want to loop back in.
4072         Closes #350879
4073
4074 2006-08-11  Wim Taymans  <wim@fluendo.com>
4075
4076         * docs/design/part-qos.txt:
4077         Bring docs in line with the code. Mostly the sign of the jitter was
4078         wrong in the docs. Fixes #349943.
4079
4080         * gst/gstclock.c:
4081         Fix the docs for the jitter.
4082
4083         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
4084         (gst_event_parse_tag), (gst_event_new_buffer_size),
4085         (gst_event_parse_buffer_size), (gst_event_parse_qos),
4086         (gst_event_new_seek), (gst_event_parse_seek),
4087         (gst_event_new_navigation):
4088         Make sure the GstStructure has no parent when creating custom
4089         events.
4090         Add some more argument checking so that we avoid 0.0 rates.
4091         Flesh out the docs for the QoS event some more.
4092
4093 2006-08-11  Wim Taymans  <wim@fluendo.com>
4094
4095         * docs/gst/gstreamer-sections.txt:
4096         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4097         (ensure_current_registry_forking), (ensure_current_registry),
4098         (parse_one_option), (parse_goption_arg), (gst_deinit),
4099         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
4100         * gst/gst.h:
4101         Doc updates.
4102         Added API and command line option to disable registry forking in
4103         addition to the environment variable.
4104         Constify some static arrays.
4105         Added some more debug.
4106         Don't deinit twice.
4107         API: gst_registry_fork_is_enabled()
4108         API: gst_registry_fork_set_enabled()
4109         API: --gst-disable-registry-fork command line option
4110         Fixes #348918.
4111
4112 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
4113
4114         * gst/gst.c: (gst_init):
4115           Fix typo in error message.
4116
4117 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
4118
4119         * libs/gst/controller/gstcontroller.h:
4120           fix ABI size-correction
4121
4122         * tests/check/libs/gdp.c: (gst_dp_suite):
4123           make tests that use deprecated API conditional
4124
4125 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
4126
4127         * docs/libs/gstreamer-libs-sections.txt:
4128         * libs/gst/controller/gstcontroller.c:
4129         (_gst_controller_get_property), (_gst_controller_set_property),
4130         (_gst_controller_init), (_gst_controller_class_init):
4131         * libs/gst/controller/gstcontroller.h:
4132         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
4133         (gst_object_set_control_rate):
4134           API: add gst_object_{s,g}et_control_rate(), add private data section,
4135           fix docs
4136
4137         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
4138         * libs/gst/dataprotocol/dataprotocol.h:
4139           add deprecation guards to make gtk-doc happy and allow disabling cruft
4140
4141 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
4142
4143         * tests/check/Makefile.am:
4144         * tests/check/gst/.cvsignore:
4145           Let's enable the new unit test as well.
4146
4147 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
4148
4149         * configure.ac:
4150         * docs/gst/gstreamer-sections.txt:
4151         * gst/gstconfig.h.in:
4152         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
4153         (_gst_info_printf_extension_ptr),
4154         (_gst_info_printf_extension_segment):
4155           API: add GST_SEGMENT_FORMAT, which is a printf extension we
4156           register that lets us easily dump GstSegments into debug
4157           logs (#350419).
4158
4159         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
4160         (info_segment_format_printf_extension), (gst_info_suite):
4161           Add simple unit test that logs a bunch of different segments (not
4162           valgrinded at the moment because of leaks in
4163           gst_debug_add_log_function).
4164
4165 2006-08-09  Edward Hervey  <edward@fluendo.com>
4166
4167         * libs/gst/base/gstbasetransform.c:
4168         (gst_base_transform_buffer_alloc):
4169         Even if we can't figure out the proper format to request downstream,
4170         call buffer_alloc() downstream with the input parameters without setting
4171         the caps on the srcpad. This will force negotiation in the chain
4172         function.
4173         Closes #350449
4174
4175 2006-08-08  Edward Hervey  <edward@fluendo.com>
4176
4177         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4178         Unlinking from a pad without a target is now a perfectly valid case
4179         which should NOT raise an assertion.
4180         This case would happen if a linked ghostpad its target set to NULL after
4181         it was previously linked.
4182
4183 2006-08-08  Edward Hervey  <edward@fluendo.com>
4184
4185         * tests/check/libs/gdp.c:
4186         Also comment out the test (see below).
4187
4188 2006-08-08  Edward Hervey  <edward@fluendo.com>
4189
4190         * tests/check/libs/gdp.c: (gst_dp_suite):
4191         Use the architecture information from config.h and not gcc macros
4192         in order to properly disable a test that fails on PPC64.
4193
4194 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
4195
4196         * gst/gstelement.c: (gst_element_remove_pad):
4197           Don't crash printing the warning if the pad has no parent.
4198
4199 2006-08-02  Wim Taymans  <wim@fluendo.com>
4200
4201         * libs/gst/dataprotocol/dataprotocol.c:
4202         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
4203         (gst_dp_crc), (gst_dp_header_payload_length),
4204         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
4205         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
4206         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
4207         (gst_dp_event_from_packet), (gst_dp_validate_header),
4208         (gst_dp_validate_payload):
4209         Make debug category static
4210         Constify the crc table.
4211         Do some more arg checking in public functions.
4212         Fix some docs and do some small cleanups.
4213
4214         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
4215         Add some more checks to see if GDP deals with bogus input.
4216
4217 2006-07-31  Wim Taymans  <wim@fluendo.com>
4218
4219         * gst/gstvalue.c: (gst_value_compare_list):
4220         Fix GstValueList comparison code. Fixes #347293.
4221
4222         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4223         Check to test GstValueList comparison.
4224
4225 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
4226
4227         * gst/gstelementfactory.c: (gst_element_factory_create):
4228         Remove unnecessary ref/unref pair
4229
4230         * gst/parse/grammar.y:
4231         Make sure to free the parse buffer on all code paths.
4232         Move a g_free up to the error handler where it's easier to see.
4233
4234         * tests/check/gst/gstevent.c: (test_event):
4235         Extending timeout for downstream travelling events to 10 seconds to
4236         hopefully avoid intermittent failure on the buildbots.
4237
4238         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
4239         Don't manually set the state of the src element - it will happen as a
4240         natural consequence of the pipeline changing state, and that way it
4241         will do it in the right order too.
4242
4243 2006-07-31  Wim Taymans  <wim@fluendo.com>
4244
4245         * libs/gst/base/gstbasetransform.c:
4246         (gst_base_transform_buffer_alloc):
4247         Use OBJECT_LOCK and refcounting to get the pad caps in the
4248         buffer_alloc function because the caps could change while we are
4249         busy with them. Fixes #349105
4250
4251 2006-07-31  Wim Taymans  <wim@fluendo.com>
4252
4253         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
4254         Protect _PAD_CAPS with OBJECT_LOCK.
4255
4256 2006-07-31  Wim Taymans  <wim@fluendo.com>
4257
4258         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4259         (gst_pad_get_property), (gst_pad_activate_pull),
4260         (gst_pad_activate_push), (gst_pad_set_blocked_async),
4261         (gst_pad_set_activate_function),
4262         (gst_pad_set_activatepull_function),
4263         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
4264         (gst_pad_set_getrange_function),
4265         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
4266         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4267         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
4268         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
4269         (gst_pad_set_acceptcaps_function),
4270         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
4271         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
4272         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
4273         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
4274         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
4275         (gst_pad_configure_sink), (gst_pad_configure_src),
4276         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
4277         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
4278         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
4279         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
4280         (gst_pad_send_event):
4281         Use _DEBUG_OBJECT when it makes sense.
4282         Protect GST_PAD_CAPS with the OBJECT_LOCK.
4283         Small cleanups and code reflows.
4284         Avoid caps refcounting in _accept_caps.
4285         Refactor alloc_buffer so that the code performed on the peer is in a
4286         separate function. Also if the pad does not implement a buffer alloc
4287         function, we should still check if the pad is flushing before falling
4288         back to the default allocator.
4289
4290 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
4291
4292         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4293         Make all uses of identity and fakesink have silent=true to avoid
4294         serialising every passing data structure, which is breaking tests
4295         on FC4 for some unknown reason.
4296
4297 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
4298
4299         * gst/parse/Makefile.am:
4300         * gst/parse/grammar.y:
4301         * gst/parse/parse.l:
4302           Reverted previous patch as it required to bump the flex dependency to
4303           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
4304
4305 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
4306
4307         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
4308
4309         * gst/parse/Makefile.am:
4310         * gst/parse/grammar.y:
4311         * gst/parse/parse.l:
4312           push & pop the state of the lexer for reentrant use case
4313           Fixes #349180
4314
4315 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
4316
4317         * libs/gst/base/gstbasesrc.h:
4318           Note in the docs that the ::newsegment vfunc is not actually used by
4319           GstBaseSrc.
4320
4321 2006-07-28  Wim Taymans  <wim@fluendo.com>
4322
4323         * libs/gst/base/gstcollectpads.c:
4324         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
4325         (gst_collect_pads_clear), (gst_collect_pads_flush),
4326         (gst_collect_pads_event), (gst_collect_pads_chain):
4327         When flushing a pad, also clear the queued buffer so that we don't
4328         accidentally use it when we shouldn't.
4329         Fix leaks by inreffing incomming buffer.
4330         Flush out queued buffers in case of errors.
4331         Fixes #347452.
4332
4333 2006-07-28  Wim Taymans  <wim@fluendo.com>
4334
4335         * docs/random/phonon-gst:
4336         Random notes about a Phonon backend.
4337
4338 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
4339
4340         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4341         Extra debug output
4342         * tests/check/libs/gdp.c: (gst_dp_suite):
4343         Take a whack at fixing the ppc compile using a different define to
4344         disable the broken test.
4345
4346         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4347         Remove excess g_print()
4348
4349 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
4350
4351         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4352         Oops, meant to uncomment this line too to dampen the noise a bit.
4353
4354 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
4355
4356         * gst/parse/grammar.y:
4357         * gst/parse/parse.l:
4358         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4359         (GST_START_TEST), (parse_suite):
4360         Fix some of the leaks exposed by extending the parse-launch testsuite,
4361         and move the 3 I can't figure out into a separate test that won't run
4362         the pipelines unless the appropriate line is uncommented.
4363
4364 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
4365
4366         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4367           Requesting 0 bytes before the end of the file should result in
4368           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
4369           unit test.
4370
4371 2006-07-27  Wim Taymans  <wim@fluendo.com>
4372
4373         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
4374         Fix useless assert, a uint is always positive.
4375
4376         * gst/gststructure.c: (gst_structure_nth_field_name),
4377         (gst_structure_foreach), (gst_structure_map_in_place):
4378         Check input arguments for public functions to avoid obvious crashes.
4379
4380         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
4381         * plugins/elements/gstfakesink.h:
4382         Do less useless typechecking.
4383
4384 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
4385
4386         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4387           Do not use mmap() by default since there are a number of error
4388           conditions that we would like to handle in a non-fatal way that
4389           will result in a SIGBUS if we use mmap(). Examples: external
4390           devices (USB harddrive, portable music player) being unplugged
4391           while in use; file on mounted CD/DVD that can't be read because
4392           the medium is partly damaged. Fixes #348455 and #348475.
4393
4394 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
4395
4396         * gst/gstquery.h:
4397         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
4398         rates are a gdouble
4399
4400 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
4401
4402         * gst/gstregistry.c:
4403           Move big documentation comment into class section header, so that it
4404           appears in the API docs.
4405
4406 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4407
4408         * docs/gst/gstreamer-sections.txt:
4409         Oops. Commit the docs additions too for new API.
4410         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
4411
4412 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4413
4414         * gst/gststructure.c: (gst_structure_id_set),
4415         (gst_structure_id_set_valist):
4416         * gst/gststructure.h:
4417         Add API for setting values into structures without performing
4418         a quark lookup, if the appropriate quark is already known.
4419
4420         API: gst_structure_id_set
4421         API: gst_structure_id_set_valist
4422
4423         * gst/parse/grammar.y:
4424         * gst/parse/parse.l:
4425         Remove some dead code shown by the coverage information.
4426         Don't throw a critical g_warning when encountering a syntax error,
4427         just warn and let the normal error path handle it.
4428
4429         * plugins/elements/gstelements.c:
4430         Bump the rank of filesink up to PRIMARY so that it is preferred over
4431         gnomevfssink for file:// sink uri's
4432
4433         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4434         (GST_START_TEST), (run_delayed_test),
4435         (gst_parse_test_element_base_init),
4436         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
4437         (gst_parse_test_element_change_state),
4438         (gst_register_parse_element), (parse_suite):
4439         Beef up the tests for parse syntax to check that more error cases
4440         fail as they are supposed to. Increases the test coverage a bit.
4441
4442 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
4443
4444         * docs/manual/basics-elements.xml:
4445           Fix gst_element_link() example.
4446
4447         * gst/gstutils.c:
4448           Mention in API docs that one should usually gst_bin_add()
4449           elements to a bin or pipeline before doing the linking.
4450           
4451 2006-07-26  Wim Taymans  <wim@fluendo.com>
4452
4453         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
4454         (gst_subbuffer_get_type), (gst_buffer_create_sub):
4455         Avoid function call for known types by keeping the buffer and
4456         subbuffer GType global.
4457
4458         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4459         Random silly optimisations in read() path.
4460
4461 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4462
4463         * tools/gst-launch.c: (main):
4464           If the top-level of the parse is a normal bin, it doesn't do the
4465           right logic to run as a top-level element, so place it inside a
4466           pipeline.
4467
4468 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
4469
4470         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
4471           Remove superfluous g_object_notify() calls, GObject does
4472           that for us automatically.
4473
4474 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
4475
4476         * gst/gstinfo.h:
4477           on Win32, use dllspec to export the debug category symbols
4478
4479 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
4480
4481         * gst/gsttaglist.c: (_gst_tag_initialize):
4482           Allow more than one GST_TAG_IMAGE per taglist.
4483
4484 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
4485
4486         * gst/gstminiobject.c:
4487           update docs
4488         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
4489         (gst_fd_src_create):
4490           log recurring events at LOG level
4491           add more debug for when the fd gets set
4492
4493 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
4494
4495         * gst/gstparse.c: (gst_parse_launch):
4496           Also remove reentrance checks if flex is MT safe (#348179)
4497          Fix my empty ChangeLog entry below
4498
4499 2006-07-21  Andy Wingo  <wingo@pobox.com>
4500
4501         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
4502
4503         * libs/gst/check/Makefile.am
4504         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
4505         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
4506         * libs/gst/check/gstbufferstraw.h:
4507         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
4508         functions, thus proving I am still a GStreamer haxor. OK I wrote
4509         them a long time ago, but anyways.
4510
4511 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
4512
4513         * configure.ac:
4514         * gst/gstparse.c: (gst_parse_launch):
4515           Check for flex version and omit mutex if we have a MT save flex
4516           (fixes #348179)
4517
4518 2006-07-21  Wim Taymans  <wim@fluendo.com>
4519
4520         * gst/gstparse.c: (gst_parse_launch):
4521         Protect recursive calls to _parse with a recursive mutex
4522         and busy flag.
4523
4524 2006-07-21  Wim Taymans  <wim@fluendo.com>
4525
4526         * tests/check/gst/gstpad.c: (GST_START_TEST):
4527         Fix leak in test.
4528
4529 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
4530
4531         * gst/gstparse.c: (gst_parse_launch):
4532           Do not hang on recursive usage of gst_parse_launch()
4533
4534 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
4535
4536         * gst/gsttaglist.c:
4537           Add some more docs, comments and FIXME 0.11s here and there
4538           and also fix some typos.
4539
4540 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
4541
4542         * gst/gstsegment.h:
4543           Convert tabs to spaces for better readability. 
4544
4545 2006-07-20  Edward Hervey  <edward@fluendo.com>
4546
4547         * tests/check/libs/gdp.c: (gst_dp_suite):
4548         the test_buffer test fails at line 140 on ppc64 at the following
4549         check:
4550         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
4551                 GST_BUFFER_FLAG_IN_CAPS),
4552                 "GST_BUFFER_IN_CAPS flag should have been copied !");
4553         See bug #348114 for more details.
4554
4555 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
4556
4557         * docs/pwg/advanced-scheduling.xml:
4558         * gst/gstpad.c:
4559           Fix typos (#348000).
4560
4561 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
4562
4563         * docs/pwg/intro-basics.xml:
4564           Fix wrong links (#347927).
4565
4566 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
4567
4568         * gst/gstregistry.h:
4569         * gst/gstregistryxml.c: (load_feature),
4570         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
4571         * win32/common/config.h:
4572           make --disable-index work (#342564)
4573
4574 2006-07-18  Wim Taymans  <wim@fluendo.com>
4575
4576         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4577
4578         * gst/Makefile.am:
4579         * gst/gsttrace.h:
4580         The attached patch adds two missing defines to gsttrace.h when tracing
4581         is disabled.  It also corrects one existing define.
4582         Fixes #347756.
4583
4584 2006-07-17  Wim Taymans  <wim@fluendo.com>
4585
4586         * docs/gst/gstreamer-sections.txt:
4587         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
4588         * gst/gst.h:
4589         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
4590         Add two functions to check and change the SIGSEGV behaviour
4591         when loading plugins.
4592         Don't mess with the SIGSEGV handler when we were told not to.
4593         Fixes #347794.
4594         API: gst_segtrap_is_enabled
4595         API: gst_segtrap_set_enabled
4596
4597 2006-07-14  Wim Taymans  <wim@fluendo.com>
4598
4599         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4600         * tests/check/elements/filesrc.c: (GST_START_TEST):
4601         Revert fix for regression in #347408 after release.
4602
4603 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
4604
4605         Patch by: Antoine Tremblay <hexa00 at gmail com>
4606
4607         * gst/gstutils.c: (gst_element_unlink):
4608           Free iterator when done (#347311).
4609
4610         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4611           And add a test case for this.
4612
4613 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
4614
4615         * configure.ac:
4616         Bump nano back to CVS
4617
4618 === release 0.10.9 ===
4619
4620 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
4621
4622         * configure.ac:
4623           releasing 0.10.9, "On the road again"
4624
4625 2006-07-13  Wim Taymans  <wim@fluendo.com>
4626
4627         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4628         * tests/check/elements/filesrc.c: (GST_START_TEST):
4629         Revert pull-0 fix for release. Disable check. Fixes #347408.
4630
4631 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4632
4633         * libs/gst/dataprotocol/dataprotocol.c:
4634         (gst_dp_event_from_packet_1_0):
4635           Fixes #347337: failure to deserialize event packets with
4636           empty payload (only event type)
4637
4638 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4639
4640         * gst/Makefile.am:
4641           do not install a .c file in the header directory
4642
4643 2006-07-13  Edward Hervey  <edward@fluendo.com>
4644
4645         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
4646         GhostPad no longer implicitely use the padtemplates of the targets.
4647         Fixes #347384
4648
4649 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
4650
4651         * gst/gstvalue.c: (gst_value_compare_list),
4652         (gst_value_compare_array), (_gst_value_initialize):
4653         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4654         Make GstValueArray comparison be order dependent as designed.
4655         Add checks for value lists and value array comparisons.
4656         Fixes #347221
4657
4658 2006-07-11  Edward Hervey  <edward@fluendo.com>
4659
4660         * gst/gstbin.c: (activate_pads),
4661         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
4662         (gst_bin_change_state_func):
4663         (de)activate src pads before calling state_change on the childs.
4664         This is to avoid the case where a src ghostpad is blocked (holding the
4665         stream lock), which would block the deactivation of the ghostpad's
4666         target pad.
4667         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
4668         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
4669         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
4670         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
4671         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
4672         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4673         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
4674         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
4675         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
4676         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
4677         (gst_ghost_pad_class_init),
4678         (gst_ghost_pad_internal_do_activate_push),
4679         (gst_ghost_pad_internal_do_activate_pull),
4680         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4681         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4682         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
4683         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
4684         GhostPads now create their internal GstProxyPad at creation (and not
4685         when they're linked, as it was being done previously).
4686         The internal and target pads are linked straight away.
4687         The data will also travel through the other pad in order to make
4688         pad blocking and probes non-hackish (the probe/block now really happens
4689         on the GhostPad and not on the target).
4690         * gst/gstpad.c: (gst_pad_set_blocked_async),
4691         (gst_pad_link_prepare), (gst_pad_push_event):
4692         Remove previous ghostpad cruft.
4693         * gst/gstutils.c: (gst_pad_add_data_probe),
4694         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4695         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4696         (gst_pad_remove_buffer_probe):
4697         Remove previous ghost pad cruft.
4698         Added more detailed debug statements.
4699         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4700         Fix the testsuite for refcounting changes.
4701         The comments about who has references were correct, but the refcount
4702         being checked wasn't the same (!?!).
4703
4704         Fixes #341029
4705
4706 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
4707
4708         * docs/gst/gstreamer-sections.txt:
4709         * gst/gstconfig.h.in:
4710         More docs for configuration options, add docs to gtk-doc.
4711
4712 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
4713
4714         * gst/Makefile.am:
4715         * gst/gstconfig.h.in:
4716         * win32/common/config.h:
4717         Fix build when disabling tracing (fixes #344016). Also start to document
4718         the defines that disable the sub-systems.
4719
4720 2006-07-10  Edward Hervey  <edward@fluendo.com>
4721
4722         * gst/gst.c: (ensure_current_registry_forking):
4723         let's make valgrind happy...
4724
4725 2006-07-09  Wim Taymans  <wim@fluendo.com>
4726
4727         * gst/gstelement.c: (activate_pads),
4728         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
4729         Better pad activation code: Reset the collect value too on resync.
4730         Add some comments.
4731
4732 2006-07-09  Wim Taymans  <wim@fluendo.com>
4733
4734         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
4735         (gst_pad_activate_push):
4736         Use some more macros where it makes sense.
4737         Allow pad mode switching instead of asserting. When a pad
4738         is activated in one mode and we activate it in another, 
4739         deactivate it first before activating it in a different mode.
4740         Fixes #329198.
4741
4742 2006-07-08  Andy Wingo  <wingo@pobox.com>
4743
4744         * tools/gst-launch.c (main): Handle err == NULL.
4745
4746         * gst/gst.c (init_post, ensure_current_registry)
4747         (ensure_current_registry_forking)
4748         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
4749         factoring out the registry scanning into separate functions. Don't
4750         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
4751         Better environment var name/interface suggestions accepted.
4752
4753 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4754
4755         * gst/gstobject.c: (gst_object_set_name_default),
4756         (gst_object_set_name):
4757           Random micro-optimisation: don't use a hash table
4758           with strings as keys and the usual strdup/strcmp
4759           involved, but rather just use the GQuark of the
4760           type name as key, since it needs to be looked up
4761           anyway to get the type name string.
4762
4763         * tests/check/gst/gstobject.c: (GST_START_TEST):
4764           Fix various leaks.
4765
4766 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4767
4768         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
4769         (gst_bin_iterate_all_by_interface):
4770           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
4771           GTypes are gulongs and thus the top 4 bytes might be cut
4772           off on some platforms when doing GPOINTER_TO_INT, leading
4773           to invalid GTypes and bad things happening (see RH bug #179654).
4774           Also add a check to make sure the type passed in is really
4775           an interface type.
4776
4777 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4778
4779         * .cvsignore:
4780           Ignore more.
4781
4782 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4783
4784         * Makefile.am:
4785         * configure.ac:
4786         * gst-element-check.m4:
4787         * gst-element-check.m4.in:
4788           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
4789           instead of the unversioned gst-inspect (#324176, #168659).
4790
4791 2006-07-06  Wim Taymans  <wim@fluendo.com>
4792
4793         * gst/gstmessage.h:
4794         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
4795         warnings.
4796
4797 2006-07-06  Wim Taymans  <wim@fluendo.com>
4798
4799         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4800         (gst_base_src_wait), (gst_base_src_update_length),
4801         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
4802         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
4803         (gst_base_src_loop), (gst_base_src_start),
4804         (gst_base_src_activate_pull):
4805         Update docs.
4806         blocksize == 0 now means the default blocksize when working in push
4807         based mode.
4808         Remove some pointless asserts in _wait function.
4809         Fix offset/length calculations and EOS handling. We can now pull 0
4810         bytes as well, which is allowed.
4811         use _check_get_range() to decide if we can operate in _pull based
4812         mode.
4813         Fix refcounting leak when check_get_range function was not 
4814         implemented.
4815         API GstBaseSrc::blocksize range can be 0 too now (default)
4816
4817         * tests/check/elements/filesrc.c: (GST_START_TEST),
4818         (filesrc_suite):
4819         Added check to test _get_range() behaviour.
4820
4821 2006-07-06  Wim Taymans  <wim@fluendo.com>
4822
4823         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
4824         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
4825         (gst_pad_pull_range):
4826         * gst/gstpad.h:
4827         Lots of comments and docs added to the pad functions.
4828         Flesh out the expected behaviour of the get_range() functions.
4829
4830 2006-07-06  Wim Taymans  <wim@fluendo.com>
4831
4832         * gst/gstbus.h:
4833         * gst/gstclock.h:
4834         * gst/gstevent.h:
4835         * gst/gstiterator.h:
4836         * gst/gstpad.h:
4837         * gst/gstplugin.h:
4838         * gst/gsttask.h:
4839         Remove comma at end of enumerator list. 
4840
4841 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
4842
4843         * win32/common/libgstbase.def:
4844         * win32/common/libgstdataprotocol.def:
4845         * win32/common/libsgtreamer.def:
4846         Add new exported functions.
4847
4848 2006-07-05  Wim Taymans  <wim@fluendo.com>
4849
4850         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
4851         Add some more docs here and there.
4852
4853 2006-07-05  Wim Taymans  <wim@fluendo.com>
4854
4855         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
4856         (gst_base_sink_loop), (gst_base_sink_get_position):
4857         When operating in pull mode update the offset so that we
4858         read sequentially.
4859
4860 2006-07-05  Wim Taymans  <wim@fluendo.com>
4861
4862         * gst/gstregistryxml.c: (read_string):
4863         Avoid strdup. (will happen in libxml, but hey!)
4864
4865         * gst/gsturi.c:
4866         Add some more docs.
4867
4868 2006-07-05  Wim Taymans  <wim@fluendo.com>
4869
4870         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
4871         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
4872         (gst_buffer_suite):
4873         No point in checking if the size of the subbuffer > 0, the
4874         code handles it correclty as demonstrated by unit test.
4875         Also add a unit test for the zero sized _new_and_alloc and
4876         _copy. Fixes #346663.
4877
4878 2006-07-05  Wim Taymans  <wim@fluendo.com>
4879
4880         * libs/gst/base/gstbasetransform.c:
4881         (gst_base_transform_prepare_output_buffer),
4882         (gst_base_transform_buffer_alloc),
4883         (gst_base_transform_handle_buffer):
4884         Make sure the buffer we pass to transform_ip has a refcount of
4885         1 and thus is writable. Fixes #343196
4886
4887 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
4888
4889         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4890         (gst_file_src_init), (gst_file_src_set_property),
4891         (gst_file_src_get_property), (gst_file_src_map_region):
4892         * plugins/elements/gstfilesrc.h:
4893         Add "sequential" property, off by default, to use madvise and hint
4894         to the kernel that sequential access is desired.
4895         Touch all retrieved pages by default to ensure they are pulled
4896         into memory. (Closes #345720)
4897
4898 2006-07-03  Wim Taymans  <wim@fluendo.com>
4899
4900         * docs/design/part-block.txt:
4901         * docs/design/part-dynamic.txt:
4902         Small docs updates.
4903
4904 2006-07-03  Wim Taymans  <wim@fluendo.com>
4905
4906         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
4907         (gst_caps_unref), (gst_static_caps_get),
4908         (gst_caps_append_structure):
4909         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4910         Use GSlice when the glib we build against is >= 2.10
4911
4912 2006-07-03  Wim Taymans  <wim@fluendo.com>
4913
4914         * gst/gstelement.c: (gst_element_pads_activate):
4915         Small cleanup in pad activation code.
4916
4917 2006-07-03  Wim Taymans  <wim@fluendo.com>
4918
4919         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4920
4921         * gst/gst-i18n-app.h:
4922         * gst/gst-i18n-lib.h:
4923         * tools/gst-inspect.c: (print_signal_info):
4924         The attached patch will make the inclusion of gettext.h unconditional in
4925         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
4926         libintl.h in tools/gst-inspect.c.
4927         This allows use of --disable-nls again and fixes #344642.
4928
4929 2006-07-03  Edward Hervey  <edward@fluendo.com>
4930
4931         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
4932         Implement pad blocking on events according to part-block.txt.
4933         More comments on behaviour.
4934         * tests/check/gst/gstevent.c: (test_event):
4935         Send event to peer pad of blocked pad (else it will block).
4936
4937 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4938
4939         * libs/gst/check/gstcheck.c: (gst_check_message_error),
4940         (gst_check_run_suite):
4941           if we get the wrong message, give us the types as string
4942         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4943           Fix a translatable
4944         * tests/check/elements/filesrc.c: (GST_START_TEST):
4945           add a test for trying to open a non-existing file
4946
4947 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4948
4949         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4950           add a test for adding self
4951
4952 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4953
4954         * libs/gst/check/gstcheck.h:
4955           add some assert_ as alias for fail_unless_*
4956         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
4957           increase test coverage
4958
4959 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4960
4961         * Makefile.am:
4962           include lcov.mak for lcov coverage generation
4963         * tools/Makefile.am:
4964           add to CLEANFILES
4965
4966 2006-07-02  Edward Hervey  <edward@fluendo.com>
4967
4968         * tests/check/elements/.cvsignore:
4969         moaping
4970
4971 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4972
4973         * configure.ac:
4974           don't set CFLAGS and friends for gcov, done from GST_GCOV now
4975         * tests/check/Makefile.am:
4976           clean up gcov files
4977
4978 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4979
4980         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
4981           remove gst_caps_simplify; it was not declared and not used
4982           and deprecated in 0.8
4983
4984 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4985
4986         * docs/faq/gst-uninstalled:
4987           don't put empty paths on PYTHONPATH
4988         * docs/gst/gstreamer-sections.txt:
4989           remove some symbols that are not there
4990
4991 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4992
4993         * gst/gstcaps.c: (gst_caps_compare_structures):
4994           whitespace fixes
4995         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4996         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4997           add more tests
4998
4999 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5000
5001         * libs/gst/dataprotocol/Makefile.am:
5002           build dataprotocol test by linking to the lib, instead of
5003           compiling the source, so we get coverage
5004         * tests/check/Makefile.am:
5005         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
5006         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
5007           add a test for filesrc
5008
5009 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5010
5011         * tests/check/gst/gststructure.c: (GST_START_TEST),
5012         (gst_structure_suite):
5013           Push coverage from 59.04% to 70.00%
5014
5015 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5016
5017         * tests/check/Makefile.am:
5018           gst-inspect every element; this makes sure that we also get
5019           coverage on element's get/set functions
5020
5021 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5022
5023         * configure.ac:
5024           set CFLAGS and friends to -O0 if gcov is being used
5025           add GCOV LIBS
5026         * gst/Makefile.am:
5027         * libs/gst/base/Makefile.am:
5028         * libs/gst/check/Makefile.am:
5029         * libs/gst/controller/Makefile.am:
5030         * libs/gst/dataprotocol/Makefile.am:
5031         * libs/gst/net/Makefile.am:
5032         * plugins/elements/Makefile.am:
5033         * plugins/indexers/Makefile.am:
5034           add makefile rules to generate gcov data and clean up
5035         * tests/check/Makefile.am:
5036           add a coverage target that generates an html overview
5037           of coverage data
5038
5039 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5040
5041         * tests/check/elements/fakesink.c:
5042         * tests/check/elements/fakesrc.c:
5043         * tests/check/elements/fdsrc.c:
5044         * tests/check/elements/identity.c:
5045         * tests/check/generic/sinks.c: (gst_sinks_suite):
5046         * tests/check/generic/states.c:
5047         * tests/check/gst/gst.c:
5048         * tests/check/gst/gstabi.c:
5049         * tests/check/gst/gstbin.c:
5050         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
5051         * tests/check/gst/gstbus.c: (gst_bus_suite):
5052         * tests/check/gst/gstcaps.c: (GST_START_TEST):
5053         * tests/check/gst/gstelement.c:
5054         * tests/check/gst/gstevent.c: (gst_event_suite):
5055         * tests/check/gst/gstghostpad.c:
5056         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
5057         * tests/check/gst/gstmessage.c: (gst_message_suite):
5058         * tests/check/gst/gstminiobject.c:
5059         * tests/check/gst/gstobject.c:
5060         * tests/check/gst/gstpad.c:
5061         * tests/check/gst/gstpipeline.c:
5062         * tests/check/gst/gstplugin.c:
5063         * tests/check/gst/gstquery.c: (gst_query_suite):
5064         * tests/check/gst/gstsegment.c: (gst_segment_suite):
5065         * tests/check/gst/gststructure.c:
5066         * tests/check/gst/gstsystemclock.c:
5067         * tests/check/gst/gsttag.c:
5068         * tests/check/gst/gsttask.c: (gst_task_suite):
5069         * tests/check/gst/gstutils.c:
5070         * tests/check/gst/gstvalue.c:
5071         * tests/check/libs/adapter.c:
5072         * tests/check/libs/basesrc.c:
5073         * tests/check/libs/collectpads.c:
5074         * tests/check/libs/controller.c:
5075         * tests/check/libs/gdp.c: (gst_dp_suite):
5076         * tests/check/libs/gstnetclientclock.c:
5077         * tests/check/libs/gstnettimeprovider.c:
5078         * tests/check/libs/libsabi.c: (libsabi_suite):
5079         * tests/check/libs/typefindhelper.c:
5080         * tests/check/pipelines/cleanup.c:
5081         * tests/check/pipelines/parse-launch.c:
5082         * tests/check/pipelines/simple-launch-lines.c:
5083         * tests/check/pipelines/stress.c: (stress_suite):
5084           use the new macro
5085
5086 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5087
5088         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
5089         * libs/gst/check/gstcheck.h:
5090           create a macro and function so that the simple unit test
5091           case can be just one macro to create main()
5092
5093 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
5094
5095         * gst/gstbin.c: (gst_bin_restore_thyself):
5096         * gst/gstxml.c: (gst_xml_make_element):
5097           Fix deserialisation from XML. Set parent manually
5098           instead of using gst_bin_add(), since gst_bin_add()
5099           will unlink all pads of the element being added.
5100           Fixes #341667.
5101
5102 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
5103
5104         Patch by: Peter Kjellerstedt <pkj at axis com>
5105
5106         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
5107           Fix missing g_strdup() and double free when using the
5108           --gst-plugin-load command line option (#346097).
5109
5110 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
5111
5112         * gst/gstinfo.c:
5113           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
5114
5115         * libs/gst/net/gstnetclientclock.c:
5116         * libs/gst/net/gstnettimeprovider.c:
5117           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
5118
5119 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
5120
5121         * docs/manual/advanced-dataaccess.xml:
5122           Fix buffer probe example compilation in
5123           ADM (#345708).
5124         
5125 2006-06-22  Edward Hervey  <edward@fluendo.com>
5126
5127         * gst/gstelement.c: (gst_element_pads_activate):
5128         We need to deactivate src pads first and then sink pads.
5129         The reason is the src pads might be blocking while holding the streaming
5130         lock, so we need to deactivate them first so that deactivating the sink
5131         pads doesn't block (since it will require the streaming lock).
5132
5133 2006-06-22  Wim Taymans  <wim@fluendo.com>
5134
5135         * libs/gst/base/gstbasetransform.c:
5136         (gst_base_transform_buffer_alloc):
5137         Forgot to remove two unneeded unrefs.
5138         Simplify a check _is_equal allready checks the obvious case.
5139
5140 2006-06-22  Wim Taymans  <wim@fluendo.com>
5141
5142         * docs/design/part-block.txt:
5143         Some docs about what pad_block should do.
5144
5145 2006-06-22  Wim Taymans  <wim@fluendo.com>
5146
5147         * gst/gstcaps.c: (gst_caps_replace):
5148         Fix crasher when passed NULL. Doc clarification.
5149         Optimize for the trivial case.
5150
5151         * gst/gstpipeline.c: (gst_pipeline_change_state):
5152         Small cleanups.
5153
5154         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5155         Small documentation cleanup.
5156
5157         * libs/gst/base/gstbasetransform.c:
5158         (gst_base_transform_buffer_alloc):
5159         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
5160         is what we need and it avoids a whole lot of redundant 
5161         refcount operations.
5162
5163 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
5164
5165         Patch by: Philip Jägenstedt  <philip at lysator liu se>
5166
5167         * docs/manual/advanced-dataaccess.xml:
5168           Fix 'Embedding static elements' section to use
5169           GST_PLUGIN_DEFINE_STATIC (#345607).
5170
5171 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5172
5173         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
5174           Attempt to 'fix' spuriously failing test case: it seems like the
5175           timeout of half a second is simply too small when the system is under
5176           load otherwise, and the timeout doesn't really seem to serve any
5177           particular purpose here. Give the pipeline a few seconds to preroll
5178           first, and then give it another half a second to go from PAUSED to
5179           PLAYING and marshal the message into the main thread.
5180
5181 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5182
5183         * tools/gst-feedback-m.m:
5184           Don't only use unversioned tools, try versioned tools as well
5185           (#345086).
5186
5187 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5188
5189         * gst/gstbus.c: (gst_bus_class_init):
5190           Fix some typos, make docs more explicit.
5191
5192 2006-06-20  Wim Taymans  <wim@fluendo.com>
5193
5194         * tests/check/gst/gstghostpad.c: (block_callback),
5195         (GST_START_TEST), (gst_ghost_pad_suite):
5196         Added some more ghostpad tests, mainly blocking
5197         and probes.
5198
5199 2006-06-16  Wim Taymans  <wim@fluendo.com>
5200
5201         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
5202         (gst_file_sink_close_file), (gst_file_sink_do_seek),
5203         (gst_file_sink_event), (gst_file_sink_render):
5204         * plugins/elements/gstfilesink.h:
5205         Check if we can seek in the file instead of assuming
5206         we always can. Post an error when we are asked to seek in a
5207         non-seekable file (like a fifo). Fixes #343312.
5208         Some cleanups.
5209
5210 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
5211
5212         * tools/gst-launch.1.in:
5213           Un-garble (fourcc) bit in filtered caps section.
5214
5215 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
5216
5217         * docs/manual/advanced-autoplugging.xml:
5218         * docs/manual/basics-helloworld.xml:
5219         * docs/manual/highlevel-components.xml:
5220           Don't leak bus reference in sample code.
5221
5222 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
5223
5224         * autogen.sh:
5225           Add default for new --enable-plugin-docs switch.
5226
5227         * configure.ac:
5228           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
5229           Fixes #344039.
5230
5231         * docs/Makefile.am:
5232           Use new ENABLE_PLUGIN_DOCS conditional.
5233
5234 2006-06-14  Wim Taymans  <wim@fluendo.com>
5235
5236         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
5237         Make it clear with a FIXME and a real define what the #if 0
5238         previously disabled.
5239
5240 2006-06-14  Wim Taymans  <wim@fluendo.com>
5241
5242         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
5243         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5244         * libs/gst/base/gstbasetransform.c:
5245         (gst_base_transform_sink_eventfunc):
5246         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
5247         Don't randomly and silently reset a segment when the format 
5248         changes as this is a bug somewhere upstream. Fixes #330379.
5249
5250 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5251
5252         Patch by: Wouter Paesen  <wouter at kangaroot net>
5253
5254         * libs/gst/controller/gstcontroller.c:
5255         (gst_controlled_property_new):
5256           Fix controlling of float properties (#344849).
5257
5258         * tests/check/libs/controller.c:
5259         (gst_test_mono_source_get_property),
5260         (gst_test_mono_source_set_property),
5261         (gst_test_mono_source_class_init), (GST_START_TEST):
5262           While we're at it, add some float stuff to unit test.
5263
5264 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5265
5266         * docs/README:
5267         * docs/images/gdp-header.svg:
5268           add a gdp image
5269         * docs/libs/Makefile.am:
5270         * docs/libs/gdp-header.png:
5271         * libs/gst/dataprotocol/dataprotocol.c:
5272           add it to the API docs
5273         * docs/manual/intro-motivation.xml:
5274           fix typo
5275
5276 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
5277
5278         * gst/gst.c: (scan_and_update_registry), (init_post):
5279           If the fork()'ed child process can't write the updated registry cache
5280           file to disk for some reason, make it exit with a failure exit code,
5281           so that the parent can then re-scan the plugins itself and update the
5282           registry structures in memory and work with that (rather than failing
5283           when creating elements because seemingly no plugins are available).
5284           Refactor registry scanning code into separate function for this and
5285           also separate fork() and non-fork() code paths. Fixes #344748.
5286
5287 2006-06-13  Wim Taymans  <wim@fluendo.com>
5288
5289         * docs/manual/advanced-dataaccess.xml:
5290         Fix wrong PluginDesc. Fixes #344755.
5291
5292 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
5293
5294         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5295           Fix silly bug that prevented us from creating
5296           ~/.gstreamer-0.10 and writing the registry in one
5297           go (the first call to g_mkstemp() would overwrite the
5298           placeholder in the template string, so the second call
5299           to g_mkstemp() after creating the missing directory
5300           would then error out with 'invalid argument').
5301
5302 2006-06-13  Edward Hervey  <edward@fluendo.com>
5303
5304         * gst/gst.c: (init_post):
5305         Free string.
5306
5307 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5308
5309         * gst/glib-compat-private.h:
5310         * gst/glib-compat.c:
5311         * gst/glib-compat.h:
5312         * gst/gstvalue.c: (gst_value_serialize_flags):
5313           remove GLib 2.6 compatibility code
5314
5315 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
5316
5317         * gst/parse/Makefile.am:
5318           Fix build with 'make -j N' even more (#340016).
5319
5320 2006-06-12  Wim Taymans  <wim@fluendo.com>
5321
5322         * docs/gst/gstreamer-sections.txt:
5323         Fix docs.
5324
5325 2006-06-12  Wim Taymans  <wim@fluendo.com>
5326
5327         * gst/gstsegment.c: (gst_segment_set_duration),
5328         (gst_segment_set_last_stop), (gst_segment_set_seek),
5329         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5330         (gst_segment_to_running_time), (gst_segment_clip):
5331         Use G_UNLIKELY to help the compiler a bit.
5332
5333 2006-06-12  Wim Taymans  <wim@fluendo.com>
5334
5335         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
5336
5337         * gst/gstevent.c: (gst_event_get_type):
5338         * gst/gstmessage.c:
5339         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
5340         (gst_pad_push):
5341         constify quark registration strings. Fixes #344115
5342         Avoid unneeded type checking is _pad_push() by internally
5343         calling gst_pad_chain_unchecked().
5344
5345 2006-06-12  Wim Taymans  <wim@fluendo.com>
5346
5347         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
5348         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
5349         (gst_subbuffer_finalize), (gst_buffer_create_sub),
5350         (gst_buffer_is_span_fast), (gst_buffer_span):
5351         Init _type for consistency.
5352         Use _FLAGS macro to avoid type check.
5353         Avoid unneeded type checks in subbufer code.
5354
5355 2006-06-12  Wim Taymans  <wim@fluendo.com>
5356
5357         * gst/gst.c: (gst_debug_help):
5358         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
5359         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5360         (gst_plugin_feature_list_free):
5361         * gst/gstregistry.c: (gst_registry_add_plugin),
5362         (gst_registry_add_feature), (gst_registry_plugin_filter),
5363         (gst_registry_feature_filter), (gst_registry_find_plugin),
5364         (gst_registry_find_feature), (gst_registry_get_plugin_list),
5365         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
5366         * gst/gstregistryxml.c: (load_feature),
5367         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
5368         * gst/gstminiobject.c: (gst_mini_object_unref),
5369         (gst_mini_object_replace), (gst_value_mini_object_free),
5370         (gst_value_mini_object_copy):
5371         Use _CAST macros to avoid unneeded type checking.
5372         Added some more G_UNLIKELY.
5373
5374 2006-06-12  Wim Taymans  <wim@fluendo.com>
5375
5376         * gst/gstbuffer.h:
5377         Avoid unneeded type checking.
5378         API: GST_BUFFER_IS_DISCONT
5379
5380         * gst/gstminiobject.h:
5381         Avoid type check in flag accessor.
5382
5383         * gst/gstelementfactory.h:
5384         * gst/gstplugin.h:
5385         * gst/gstpluginfeature.h:
5386         Add _CAST macros.
5387         API: GST_ELEMENT_FACTORY_CAST
5388         API: GST_PLUGIN_CAST
5389         API: GST_PLUGIN_FEATURE_CAST
5390
5391 2006-06-12  Wim Taymans  <wim@fluendo.com>
5392
5393         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
5394         (gst_object_unref):
5395         Add G_UNLIKELY in type registration.
5396         Avoid type check in _ref/_unref since that is also
5397         done in glib.
5398
5399 2006-06-12  Wim Taymans  <wim@fluendo.com>
5400
5401         * gst/gsterror.c: (gst_g_error_get_type):
5402         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5403         (gst_static_pad_template_get_type):
5404         * gst/gsttaglist.c: (gst_tag_list_get_type):
5405         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
5406         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
5407         * gst/gsturi.c: (gst_uri_handler_get_type):
5408         * gst/gstvalue.c: (gst_date_get_type):
5409         * gst/gstxml.c: (gst_xml_get_type):
5410         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5411         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5412         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
5413         Add G_UNLIKELY in type registration.
5414
5415 2006-06-12  Wim Taymans  <wim@fluendo.com>
5416
5417         * tools/gst-inspect.c: (print_signal_info):
5418         Properly print enum values.
5419
5420 2006-06-12  Wim Taymans  <wim@fluendo.com>
5421
5422         * gst/gstinfo.c: (gst_debug_set_active),
5423         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
5424         * gst/gstinfo.h:
5425         Add some G_[UN]LIKELY.
5426         Maintain __gst_debug_min to avoid formatting the arguments of
5427         debug messages that will be dropped anyway to avoid a lot of 
5428         overhead from the debugging system.
5429
5430 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5431
5432         * po/POTFILES.in:
5433         * po/POTFILES.skip:
5434           add missing files containing translatable strings, tell intltool about
5435           one exception
5436
5437 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5438
5439         * tests/check/libs/.cvsignore:
5440         add test-binary to ignore list
5441
5442 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5443
5444         * docs/libs/gstreamer-libs-docs.sgml:
5445         reorder (put dp into a chapter) and indent
5446
5447 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5448
5449         * configure.ac:
5450           back to HEAD
5451
5452 === release 0.10.8 ===
5453
5454 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
5455
5456         * configure.ac:
5457           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
5458
5459 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5460
5461         * gst/gst.c: (init_post):
5462           move pid declaration to declaration block
5463
5464 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5465
5466         * gst/gst.c: (init_post):
5467           use _exit() instead of exit() in our forked child; this ensures
5468           that none of the registered exit handlers from whatever is using
5469           GStreamer get executed.  This fixes gnome-mixer-applet failing
5470           to load, because ORBit would shut down.
5471           Spotted by: Edward Hervey  <edward@fluendo.com>
5472           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
5473           Fixes #344474
5474
5475 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5476
5477         * configure.ac:
5478           back to TRUNK
5479
5480 === release 0.10.7 ===
5481
5482 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
5483
5484         * configure.ac:
5485           releasing 0.10.7, "Soepeke, ik zie ou"
5486
5487 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
5488
5489         * configure.ac:
5490         * po/af.po:
5491         * po/az.po:
5492         * po/bg.po:
5493         * po/ca.po:
5494         * po/cs.po:
5495         * po/de.po:
5496         * po/en_GB.po:
5497         * po/fr.po:
5498         * po/it.po:
5499         * po/nb.po:
5500         * po/nl.po:
5501         * po/ru.po:
5502         * po/sq.po:
5503         * po/sr.po:
5504         * po/sv.po:
5505         * po/tr.po:
5506         * po/uk.po:
5507         * po/vi.po:
5508         * po/zh_CN.po:
5509         * po/zh_TW.po:
5510         * win32/common/config.h:
5511           0.10.6.2 prerelease
5512
5513 2006-06-07  Wim Taymans  <wim@fluendo.com>
5514
5515         * gst/gstindex.c: (gst_index_gtype_resolver):
5516         * tools/gst-xmlinspect.c: (print_plugin_info):
5517         Fix leak spotted by coverity checker. Fixes #343827
5518         Fix another other leak found by paolo borelli.
5519
5520 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5521
5522         * libs/gst/dataprotocol/dataprotocol.c:
5523         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5524         (gst_dp_version_get_type), (gst_dp_init),
5525         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
5526         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
5527         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
5528         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
5529         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
5530         (gst_dp_packetizer_free):
5531         * libs/gst/dataprotocol/dataprotocol.h:
5532           API: add a GstDPPacketizer object, and create/free functions
5533           API: add GstDPVersion enum
5534           Add 1.0 event function that uses the string serialization
5535           Serialize more useful buffer flags
5536           Fixes #343988
5537
5538 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5539
5540         * tests/check/Makefile.am:
5541         * tests/check/gst/gstabi.c:
5542         * tests/check/gst/struct_ppc64.h:
5543         * tests/check/libs/libsabi.c:
5544         * tests/check/libs/struct_ppc64.h:
5545           add ppc64 structure sizes
5546
5547 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5548
5549         * tests/check/Makefile.am:
5550         * tests/check/gst/gstabi.c:
5551         * tests/check/gst/struct_x86_64.h:
5552         * tests/check/libs/libsabi.c:
5553         * tests/check/libs/struct_x86_64.h:
5554           generate and add structure size lists for x86_64
5555
5556 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5557
5558         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5559         * libs/gst/check/gstcheck.h:
5560           factor out the method from tests that checks size of structures,
5561           and add code to generate the header containing these sizes
5562         * tests/check/gst/gstabi.c: (GST_START_TEST):
5563         * tests/check/gst/struct_i386.h:
5564         * tests/check/libs/libsabi.c: (GST_START_TEST):
5565         * tests/check/libs/struct_i386.h:
5566           use it
5567
5568 2006-06-06  Michael Smith  <msmith@fluendo.com>
5569
5570         * gst/gstsegment.h:
5571           Don't use c++-style comments, fixes #343929
5572
5573 2006-06-05  Edward Hervey  <edward@fluendo.com>
5574
5575         * gst/gst.c:
5576         plugin_paths is not used if we build without registry support.
5577
5578         * gst/gstsegment.c: (gst_segment_copy): 
5579         _copy() was always returning NULL...
5580
5581 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5582
5583         * libs/gst/dataprotocol/dataprotocol.c:
5584         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5585         (gst_dp_packet_from_event):
5586           factor out CRC code
5587
5588 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5589
5590         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
5591           make sure we unset caps
5592
5593 2006-06-02  Michael Smith  <msmith@fluendo.com>
5594
5595         * libs/gst/check/gstcheck.c: (gst_check_init),
5596         (gst_check_chain_func):
5597         * libs/gst/check/gstcheck.h:
5598           Add a cond/mutex to the check support lib, signal this whenever we
5599           add to the buffers list. This will allow tests to not busy-wait on
5600           the buffer-list.
5601
5602 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5603
5604         * libs/gst/dataprotocol/dataprotocol.c:
5605         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5606         (gst_dp_packet_from_event):
5607           factor out some common header init code
5608
5609 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5610
5611         * docs/libs/gstreamer-libs-sections.txt:
5612         * docs/libs/tmpl/gstdataprotocol.sgml:
5613         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
5614         * libs/gst/dataprotocol/dataprotocol.h:
5615           API: make gst_dp_crc() public
5616
5617 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
5618
5619         * plugins/indexers/gstindexers.c: (plugin_init):
5620         conditionally register fileindexer (fixes #343598)
5621
5622 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
5623
5624         * gst/gsttagsetter.h:
5625         Can't cast ifaces to a class
5626
5627         * libs/gst/net/gstnetclientclock.h:
5628         * libs/gst/net/gstnettimeprovider.h:
5629         * plugins/elements/gstfakesink.h:
5630         * plugins/elements/gstfakesrc.h:
5631         * plugins/elements/gstfdsink.h:
5632         * plugins/elements/gstfdsrc.h:
5633         * plugins/elements/gstfilesink.h:
5634         * plugins/elements/gstfilesrc.h:
5635         * plugins/elements/gstidentity.h:
5636         * plugins/elements/gstqueue.h:
5637         * plugins/elements/gsttee.h:
5638         * plugins/indexers/gstfileindex.c:
5639         * plugins/indexers/gstmemindex.c:
5640         * tests/old/examples/plugins/example.h:
5641         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
5642
5643 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5644
5645         * libs/gst/dataprotocol/dataprotocol.c:
5646         (gst_dp_header_from_buffer):
5647           make sure we zero the whole ABI-compatible area
5648
5649 2006-06-01  Wim Taymans  <wim@fluendo.com>
5650
5651         Patch by: Alessandro Decina <alessandro at nnva dot org>
5652
5653         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
5654         Make sure the EOS flag is cleared from pads after a flush
5655         or stop. Fixes #343538.
5656
5657         * tests/check/libs/collectpads.c: (GST_START_TEST),
5658         (gst_collect_pads_suite):
5659         Added test for collectpads reusage after EOS.
5660
5661 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
5662
5663         * gst/gst.c:
5664          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
5665         * win32/common/libgstbase.def:
5666          export gst_collect_pads_set_flushing
5667         * win32/common/libgstreamer.def:
5668          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
5669          gst_value_fraction_multiply
5670         * win32/vs6/gst_inspect.dsp:
5671          add a link to intl.lib
5672
5673 2006-05-30  Wim Taymans  <wim@fluendo.com>
5674
5675         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5676         (gst_collect_pads_chain):
5677         Handle the case where a pad is removed from the collection
5678         that could cause the other pads to become collectable.
5679
5680 2006-05-30  Wim Taymans  <wim@fluendo.com>
5681
5682         * gst/gstelement.c:
5683         Clarify the use of _release_request_pad() and
5684         _get_request_pad() a bit better.
5685
5686         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
5687         (gst_adapter_take_buffer):
5688         Fix some doc and comment typos.
5689
5690 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5691
5692         * docs/gst/gstreamer-sections.txt:
5693         * docs/libs/gstreamer-libs-sections.txt:
5694           add declared symbols
5695
5696 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
5697
5698         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5699         Add debug that can be enabled using a #define at the top of the file,
5700         for dumping stats about how late/early we were when waking up from
5701         waiting on the clock.
5702
5703 2006-05-30  Wim Taymans  <wim@fluendo.com>
5704
5705         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
5706         When rebuilding the pad list, don't leak the previous list.
5707
5708 2006-05-30  Wim Taymans  <wim@fluendo.com>
5709
5710         Patch by: Lutz Mueller <lutz at topfrose dot de>
5711
5712         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5713         (gst_base_src_get_query_types), (gst_base_src_update_length):
5714         Publish supported query types.
5715         Update last_stop field in get_range mode so the position
5716         query works. Fixes #342321.
5717
5718 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
5719
5720         * docs/gst/gstreamer-sections.txt:
5721         * gst/gsttaglist.c: (_gst_tag_initialize):
5722         * gst/gsttaglist.h:
5723           API: add GST_TAG_PREVIEW_IMAGE (#343341).
5724
5725 2006-05-30  Wim Taymans  <wim@fluendo.com>
5726
5727         Patch by: Alessandro Decina <alessandro at nnva dot org>
5728
5729         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5730         Unlock mutex when removing an unknown pad.
5731         Fixes #343334.
5732
5733         * tests/check/Makefile.am:
5734         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
5735         (push_event), (setup), (teardown), (GST_START_TEST),
5736         (gst_collect_pads_suite), (main):
5737         Added collecpads check, disabled for now as check crashes for
5738         some reason.
5739
5740 2006-05-29  Wim Taymans  <wim@fluendo.com>
5741
5742         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
5743         Don't leak pads lists.
5744
5745 2006-05-29  Wim Taymans  <wim@fluendo.com>
5746
5747         * docs/libs/gstreamer-libs-sections.txt:
5748         * libs/gst/base/gstcollectpads.c:
5749         (gst_collect_pads_set_flushing_unlocked),
5750         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
5751         (gst_collect_pads_stop):
5752         * libs/gst/base/gstcollectpads.h:
5753         API: gst_collect_pads_set_flushing()
5754         Added api to set the pads to flushing, useful for seeking
5755         code in elements using collectpads.
5756         Clear segment when receiving a flush.
5757
5758 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
5759
5760         * gst/gst.c: (add_path_func), (init_post):
5761           Don't scan registry paths passed via --gst-plugin-path immediately
5762           (will crash, because absolutely nothing is set up and no types are
5763           registered etc.); do this later in init_post(). Fixes #343057.
5764
5765 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5766
5767         * gst/gst.c: (init_post):
5768           if we have fork, fork while reading/rebuilding the registry
5769           so the parent doesn't take the hit of having all plugins loaded
5770           in memory.  Fixes #342777.
5771         * configure.ac:
5772           Check if we have fork()
5773         * win32/common/config.h.in:
5774           no fork() on win32
5775
5776 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
5777
5778         * plugins/elements/gstelements.c:
5779         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5780         (gst_file_src_init), (gst_file_src_set_property),
5781         (gst_file_src_get_property), (gst_file_src_start):
5782         * plugins/elements/gstfilesrc.h:
5783           API: GstFileSrc::use-mmap
5784
5785         Add a use-mmap property to enable easier testing of all code paths.
5786         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
5787         in the absence of gnomevfssrc. (Closes #340501)
5788
5789 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5790
5791         * tools/gst-inspect.c:
5792         Add missing include, removes warning of ngettext not being defined on
5793         some arches.
5794
5795 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
5796
5797         * gst/gstvalue.c: (gst_value_deserialize_fraction):
5798         Handle NULL input and output pointers silently as a failed conversion,
5799         rather than g_warnings.
5800
5801 2006-05-25  Wim Taymans  <wim@fluendo.com>
5802
5803         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
5804         Initialize variable before using. Fixes #342820.
5805
5806 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
5807
5808         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
5809           Fix off-by-one bug that would only allow peeks of N-1 bytes
5810           from the start even if the buffer to typefind on contains
5811           in fact N bytes of data (makes vorbis typefinding from a
5812           vorbis identification header buffer work).
5813
5814         * tests/check/Makefile.am:
5815         * tests/check/libs/.cvsignore:
5816         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
5817         (gst_typefindhelper_suite), (main), (foobar_typefind),
5818         (plugin_init):
5819           Add very basic unit test for gst_type_find_helper_for_buffer()
5820           that checks for the problem fixed above.
5821
5822 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5823
5824         * tools/gst-inspect.c: (print_interfaces),
5825         (print_element_properties_info), (print_element_list), (main):
5826           add more translatable strings
5827
5828 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
5829
5830         Patch by: Julien Moutte  <julien at moutte net>
5831
5832         * docs/gst/gstreamer-sections.txt:
5833           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
5834           
5835         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
5836         (gst_fake_sink_preroll):
5837         * plugins/elements/gstfakesink.h:
5838           API: Add new GstFakeSink::preroll-handoff signal (#337100).
5839
5840 2006-05-23  Wim Taymans  <wim@fluendo.com>
5841
5842         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
5843         * gst/gstpad.h:
5844         Added _CUSTOM error and success GstFlowReturn that can be
5845         used be elements internally. 
5846         Added macro to check for SUCCESS flowreturns.
5847         API: GST_FLOW_CUSTOM_SUCCESS
5848         API: GST_FLOW_CUSTOM_ERROR
5849         API: GST_FLOW_IS_SUCCESS
5850
5851         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5852         Added check for GstFlowReturn sanity.
5853
5854 2006-05-23  Wim Taymans  <wim@fluendo.com>
5855
5856         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5857
5858         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5859         (gst_collect_pads_event):
5860         clear/reset segment info in FLUSH_STOP.
5861         Fixes #336929.
5862
5863 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
5864
5865         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
5866         (gst_collect_pads_check_collected):
5867         Flush queued buffer on _stop(), fixes playing again (#342454)
5868
5869 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5870
5871         * tests/check/gst/gststructure.c: (GST_START_TEST),
5872         (gst_structure_suite):
5873           add a test for a complete structure
5874
5875 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
5876
5877         * docs/faq/developing.xml:
5878         * docs/faq/faq.xml:
5879         * docs/faq/troubleshooting.xml:
5880         * docs/faq/using.xml:
5881           Some minor FAQ updates that won't change the fact that
5882           our FAQ is badly structured, full of information hardly
5883           anyone new to GStreamer needs to know and lacking lots
5884           of information people constantly ask for.
5885           
5886 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
5887
5888         * gst/gstpad.c: (gst_pad_set_caps):
5889           Short-circuit gst_pad_set_caps if setting the existing
5890           caps pointer again, and avoid printing debug and 
5891           reffing/unreffing the caps.
5892
5893         * plugins/elements/gstqueue.c: (gst_queue_push_one):
5894           There's actually no need to set the caps before pushing -
5895           the acceptcaps method will handle it anyway.
5896
5897 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
5898
5899         * docs/gst/gstreamer-sections.txt:
5900         * win32/common/libgstreamer.def:
5901         * gst/gstutils.c: (gst_element_seek_simple):
5902         * gst/gstutils.h:
5903           API: add gst_element_seek_simple() (#342238).
5904
5905 2006-05-18  Edward Hervey  <edward@fluendo.com>
5906
5907         * gst/gsttypefind.c: (gst_type_find_get_type):
5908         * gst/gsttypefind.h:
5909         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
5910         registered for GstTypeFind pointers. This allows wrapping the structure
5911         in bindings (i.e. gst-python).
5912
5913 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
5914
5915         * gst/gsttagsetter.c:
5916           Docs additions and fixes (see #339918).
5917
5918 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
5919
5920         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5921         The caps intersection algorithm can produce multiple copies of the
5922         caps. Until that is fixed, we need to simplify the result to be
5923         sure whether the allowed caps are fixed or not.
5924
5925         * plugins/elements/gstqueue.c: (gst_queue_init),
5926         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
5927         (gst_queue_push_one):
5928         Proxied buffer alloc should not set the caps on the source pad.
5929         When pushing buffers, we always accept the caps change that triggers.
5930         This prevents negotiation errors caused by caps changing mid-stream 
5931         and then being refused on our source pad (because upstream is now
5932         refusing those caps).
5933
5934 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
5935
5936         * tests/examples/helloworld/helloworld.c: (main):
5937           Must plug audioconvert and audioresample between decoder
5938           and audio sink.
5939
5940 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
5941
5942         * gst/gstregistryxml.c: (read_string), (load_pad_template),
5943         (load_feature), (load_plugin):
5944         Allow empty strings for some of the plugin fields so we don't 
5945         drop valid plugin entries that were written out correctly
5946         (Fixes #341479)
5947
5948 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
5949         
5950         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5951           Use g_remove and g_rename instead of remove and rename that don't 
5952           handle utf8 characters. rename was failing for users who had specific
5953           characters in their name then the registry was built at each 
5954           gstreamer init.
5955         * win32/vs6/gst_inspect.dsp:
5956         * win32/vs6/gst_launch.dsp:
5957         * win32/vs6/libgstbase.dsp:
5958         * win32/vs6/libgstcoreelements.dsp:
5959         * win32/vs6/libgstreamer.dsp:
5960           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
5961           build of libgstreamer and clean unused libraries in projects link 
5962           settings.
5963
5964 2006-05-17  Edward Hervey  <edward@fluendo.com>
5965
5966         * plugins/elements/gstqueue.c: (gst_queue_push_one):
5967         The queue is not responsible for pushing an EOS when receiving a fatal
5968         flow error. It's up to the real element driving the pipeline to do that.
5969
5970 2006-05-16  Edward Hervey  <edward@fluendo.com>
5971
5972         * plugins/elements/gstqueue.c: (gst_queue_push_one):
5973         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
5974         buffer returned a fatal error. It should just send an EOS and stop
5975         its task.
5976         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
5977         when pushing buffers on the queue and will be able to handle the event.
5978
5979 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
5980
5981         * docs/manual/basics-bins.xml:
5982         * docs/manual/basics-init.xml:
5983           Fix typos and minor errors in sample code (#341856).
5984
5985 2006-05-16  Wim Taymans  <wim@fluendo.com>
5986
5987         * docs/design/part-qos.txt:
5988         Fix indexes in formulas to make more sense.
5989
5990 2006-05-15  Wim Taymans  <wim@fluendo.com>
5991
5992         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5993         Don't report POSITION based on clock time if sync is
5994         disabled in a sink.
5995
5996 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
5997
5998         * gst/gstobject.h:
5999           Add cast to make compiler happy - refcount variable was a gint
6000           in GstObject but is a guint in GObject and g_atomic_int_get()
6001           wants a gint *.
6002
6003 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
6004
6005         * gst/parse/Makefile.am:
6006           chain commands using &&, which also makes parallel make work
6007
6008 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
6009
6010         * docs/gst/gstreamer-sections.txt:
6011         * gst/gstevent.c:
6012         * gst/gstevent.h:
6013         * gst/gstmessage.h:
6014           Minor docs fixes.
6015
6016 === release 0.10.6 ===
6017
6018 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
6019
6020         * configure.ac:
6021           releasing 0.10.6, "Take the cannoli"
6022
6023 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
6024
6025         * tools/gst-launch.c: (print_tag):
6026           Fix use of uninitialized variable in the hypothetical
6027           case that some broken plugin creates a GST_TAG_IMAGE
6028           tag containing a NULL buffer (#341667).
6029
6030 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
6031
6032         * tools/gst-launch.c: (print_tag):
6033           Print something more intelligible for image tags when
6034           using the -t switch (#341556).
6035
6036 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6037
6038         * Makefile.am:
6039           updates for win32
6040         * configure.ac:
6041           define GST_MAJORMINOR so we have it available in win32/common/config.h
6042           Possibly remove it from our Makefile.am files later
6043         * win32/common/config.h:
6044         * win32/common/config.h.in:
6045           added GST_MAJORMINOR
6046         * win32/common/gstenumtypes.c: (register_gst_resource_error):
6047         * win32/common/gstversion.h:
6048           updated
6049
6050 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
6051
6052         * win32/MANIFEST:
6053           Update win32 files listing.
6054         * win32/common/gstversion.h:
6055           Add GST_MAJORMINOR definition.
6056         * win32/common/libgstreamer.def:
6057           Add new exported functions.
6058           
6059 2006-05-12  Michael Smith  <msmith@fluendo.com>
6060
6061         * gst/gstplugin.c: (gst_plugin_load_file):
6062           If an so file has no plugin entry point, unload the module.
6063
6064 2006-05-11  Wim Taymans  <wim@fluendo.com>
6065
6066         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
6067         (gst_queue_set_property):
6068         Don't forget to signal the _chain or _loop function 
6069         when the queue size or thresholds change since that might
6070         cause them to make progres again.
6071
6072 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
6073
6074         * gst/gstclock.c: (gst_clock_class_init):
6075         * gst/gstindex.c: (gst_index_class_init):
6076         * gst/gstobject.c: (gst_object_class_init):
6077         * gst/gstpad.c: (gst_pad_class_init):
6078         * gst/gstpipeline.c: (gst_pipeline_class_init):
6079         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6080         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
6081         * libs/gst/base/gstbasetransform.c:
6082         (gst_base_transform_class_init):
6083         * libs/gst/net/gstnetclientclock.c:
6084         (gst_net_client_clock_class_init):
6085         * libs/gst/net/gstnettimeprovider.c:
6086         (gst_net_time_provider_class_init):
6087         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
6088         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6089         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6090         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
6091         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6092         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
6093         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
6094         * plugins/elements/gstidentity.c: (gst_identity_class_init):
6095         * plugins/elements/gsttee.c: (gst_tee_class_init):
6096         * tests/old/examples/plugins/example.c: (gst_example_class_init):
6097         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6098           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
6099
6100 2006-05-11  Wim Taymans  <wim@fluendo.com>
6101
6102         * gst/gstbuffer.c: (_gst_buffer_initialize):
6103         Register subbufer along with the buffer type so that
6104         it does not accidentally gets registered from N
6105         different streaming threads in a non threadsafe way.
6106
6107 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
6108
6109         * gst/gstbuffer.h:
6110         * gst/gstevent.h:
6111         * gst/gstmessage.h:
6112           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
6113           gst_event_ref() and gst_message_ref() functions again
6114           (ugly hack, please do fix if there's a better way besides
6115           overrides.txt, which doesn't seem to work).
6116
6117 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6118
6119         * libs/gst/check/gstcheck.h:
6120           add an assert for setting state to avoid lots of repetitive code
6121           in the future
6122
6123 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6124
6125         * gst/gstvalue.c: (gst_value_serialize_flags):
6126           fix a leak if no flags are set
6127         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6128           fix leak in tests
6129
6130 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
6131
6132         * docs/manual/basics-pads.xml:
6133           Expand a bit on caps and filtered links and update
6134           examples that were still using the no longer existing
6135           gst_pad_link_filtered() (#338206).
6136
6137 2006-05-10  Wim Taymans  <wim@fluendo.com>
6138
6139         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6140         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
6141         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
6142         (gst_collect_pads_stop):
6143         * libs/gst/base/gstcollectpads.h:
6144         No need to call _stop in _finalize.
6145         Iterate the main pad list in _finalize.
6146         Added some more debug.
6147         Free lists and data in the right order.
6148         Also free data whem doing _remove_pad when stopped for
6149         backward compatibility protect ::started with PAD_LOCK as
6150         well.
6151
6152 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6153
6154         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
6155         (gst_structure_parse_value):
6156           add some comments
6157           rename a method so that it actually says what it does better
6158
6159 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6160
6161         * gst/gstevent.c: (_gst_event_initialize):
6162         * gst/gstformat.c: (_gst_format_initialize):
6163           make sure some essential types used by events are registered
6164           as part of gst_init()
6165         * gst/gstvalue.c: (gst_value_serialize_flags):
6166           if no flags are set, serialize them to a value that represents NONE
6167           so that deserializing them works
6168         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6169           add tests for serialization and deserialization of flags
6170
6171 2006-05-10  Wim Taymans  <wim@fluendo.com>
6172
6173         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
6174         (gst_collect_pads_collect_range), (gst_collect_pads_available),
6175         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
6176         (gst_collect_pads_event), (gst_collect_pads_chain):
6177         Update docs.
6178         Better debug info.
6179         Catch and return errors from the collect function
6180         Refuse data on eos pads.
6181
6182 2006-05-10  Edward Hervey  <edward@fluendo.com>
6183
6184         * gst/gstinterface.h:
6185         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
6186         GInterface type checking.
6187         They were previously using non-defined macros.
6188
6189 2006-05-09  Wim Taymans  <wim@fluendo.com>
6190
6191         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
6192         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
6193         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
6194         (gst_collect_pads_start), (gst_collect_pads_stop),
6195         (gst_collect_pads_peek), (gst_collect_pads_pop),
6196         (gst_collect_pads_available), (gst_collect_pads_read),
6197         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
6198         (gst_collect_pads_is_collected), (gst_collect_pads_event),
6199         (gst_collect_pads_chain):
6200         * libs/gst/base/gstcollectpads.h:
6201         Clean up the mess that is collectpads, add comments and
6202         FIXMEs where needed.
6203         Maintain a separate pad list so we can add pads while
6204         collecting the other ones. For this we need a new separate 
6205         lock (see comics).
6206         Fix memory leak in finalize.
6207         Refactor some weird code to set/unset pad flushing flags, mark
6208         with comments.
6209         Don't crash in _available, _read, _flush when we're EOS.
6210
6211         * tests/check/libs/.cvsignore:
6212         Ignore adapter check binary.
6213
6214 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6215
6216         * gst/gstindex.c: (gst_index_resolver_get_type):
6217         * plugins/elements/gstfakesink.c:
6218         (gst_fake_sink_state_error_get_type):
6219         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6220         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
6221         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
6222           Const-ify GEnumValue arrays.
6223
6224 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6225
6226         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6227           Add test case for flags + gst_buffer_make_metadata_writable().
6228
6229 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6230
6231         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
6232           gst_buffer_make_metadata_writable() should maintain the
6233           buffer flags (those that make sense at least) (see #340859).
6234
6235 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6236
6237         * tools/gst-inspect.c:
6238         * tools/gst-launch.c:
6239         * tools/gst-typefind.c:
6240         * tools/gst-xmlinspect.c:
6241         * tools/tools.h:
6242           Fix up includes: need to include stdlib.h in tools.h for exit().
6243
6244 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6245
6246         * gst/gsttaglist.c: (_gst_tag_initialize):
6247         * gst/gsttaglist.h:
6248           API: add GST_TAG_IMAGE tag (#340721).
6249
6250 2006-05-08  Wim Taymans  <wim@fluendo.com>
6251
6252         * gst/gstquery.c:
6253         Added some docs for the segment query.
6254
6255 2006-05-08  Wim Taymans  <wim@fluendo.com>
6256
6257         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6258         (gst_base_src_loop), (gst_base_src_change_state):
6259         Always push non-flushing serialized events in the streaming 
6260         thread.
6261
6262 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
6263
6264         * gst/gsterror.c: (_gst_stream_errors_init):
6265           Add a missing error string.
6266
6267 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
6268
6269         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
6270         Add applied_rate to the debug
6271
6272         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6273         Copy applied_rate into the outgoing NEWSEGMENT event
6274
6275 2006-05-08  Wim Taymans  <wim@fluendo.com>
6276
6277         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
6278
6279         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
6280         (gst_base_sink_change_state):
6281         call ::unlock before taking the PREROLL_LOCK so we can safely
6282         handle elements that lock in ::render.
6283         Fixes #340174.
6284
6285 2006-05-08  Edward Hervey  <edward@fluendo.com>
6286
6287         * autogen.sh: (CONFIGURE_DEF_OPT): 
6288         Darwin's libtoolize is in fact called glibtoolize.
6289         Adding glibtoolize to the list of accepted names for libtoolize.
6290
6291 2006-05-08  Wim Taymans  <wim@fluendo.com>
6292
6293         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6294         Unify error handling, don't post an error message
6295         when a push() returns EOS but perform our normal EOS
6296         handling code. Fixes #340772.
6297
6298 2006-05-08  Wim Taymans  <wim@fluendo.com>
6299
6300         * docs/design/part-overview.txt:
6301         Make upsteam/downstream concepts more clear.
6302         Give an example of serialized/non-serialized events.
6303
6304         * docs/design/part-events.txt:
6305         * docs/design/part-streams.txt:
6306         Mention applied_rate.
6307
6308         * docs/design/part-trickmodes.txt:
6309         Mention applied rate, flesh out some more use cases.
6310
6311         * gst/gstevent.c: (gst_event_new_new_segment),
6312         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
6313         (gst_event_parse_new_segment_full), (gst_event_new_tag),
6314         (gst_event_parse_tag), (gst_event_new_buffer_size),
6315         (gst_event_parse_buffer_size), (gst_event_new_qos),
6316         (gst_event_parse_qos), (gst_event_parse_seek),
6317         (gst_event_new_navigation):
6318         * gst/gstevent.h:
6319         Add applied_rate field to NEWSEGMENT event.
6320         API: gst_event_new_new_segment_full()
6321         API: gst_event_parse_new_segment_full()
6322
6323         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
6324         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
6325         (gst_segment_to_stream_time), (gst_segment_to_running_time):
6326         * gst/gstsegment.h:
6327         Add applied_rate to GstSegment structure.
6328         Make calculation of stream_time and running_time more correct
6329         wrt rate/applied_rate.
6330         Add some more docs.
6331         API: GstSegment::applied_rate field
6332         API: gst_segment_set_newsegment_full();
6333
6334         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6335         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
6336         * libs/gst/base/gstbasetransform.c:
6337         (gst_base_transform_sink_eventfunc),
6338         (gst_base_transform_handle_buffer):
6339         Parse and use applied_rate in the GstSegment field.
6340
6341         * tests/check/gst/gstevent.c: (GST_START_TEST):
6342         Add check for applied_rate field.
6343
6344         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6345         (gstsegments_suite):
6346         Add more checks for various GstSegment operations.
6347
6348 2006-05-08  Wim Taymans  <wim@fluendo.com>
6349
6350         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6351         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
6352         (gst_base_sink_get_position), (gst_base_sink_change_state):
6353         Store the sync time of the buffer end position separatly in a
6354         new variable eos_rtime so we can properly sync the EOS event.
6355         Fixes #340697.
6356         Fix the docs for gst_base_sink_set_qos_enabled().
6357         Don't set segment start to invalid value when we receive a 
6358         non TIME newsegment.
6359         get closer to handling position reporting for negative rates 
6360         correctly.
6361
6362 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
6363
6364         * gst/gstcaps.c:
6365         Docs about how to print caps for debug purposes.
6366
6367         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
6368         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
6369
6370 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
6371
6372         * gst/gstelement.c:
6373           use full enum names and preprend a '%' in docs strings to make recent 
6374           gtk-doc turn that into a link
6375
6376 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6377
6378         * docs/manual/basics-bins.xml:
6379         * docs/manual/basics-bus.xml:
6380         * docs/manual/basics-pads.xml:
6381           Some typo fixes, some additions, some clarifications. 
6382
6383 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6384
6385         * tools/gst-inspect.c: (main):
6386         * tools/gst-launch.c: (main):
6387         * tools/gst-run.c: (main):
6388         * tools/gst-typefind.c: (main):
6389         * tools/gst-xmlinspect.c: (main):
6390           Use the string passed to g_option_context_new() for
6391           what it's intended for - the program name is already
6392           printed elsewhere.
6393
6394 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6395
6396         * tools/Makefile.am:
6397         * tools/gst-inspect.c: (main):
6398         * tools/gst-launch.c: (main):
6399         * tools/gst-xmlinspect.c: (main):
6400         * tools/tools.h:
6401           Add back --version command line option (#340460).
6402
6403         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
6404           Add --version option and use GOption for argument parsing; refactor a
6405           bit; accept directories as arguments and recurse into them; lastly,
6406           print a decent error message when things go wrong.
6407
6408 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6409
6410         * docs/manual/basics-bins.xml:
6411         Don't mention GstThread (#340611)
6412         * docs/manual/basics-elements.xml:
6413         Update link to GObject tutorial (#340607)
6414         
6415 2006-05-05  Wim Taymans  <wim@fluendo.com>
6416
6417         * gst/gstbuffer.h:
6418         * gst/gstminiobject.c:
6419         Add note about refcounting and miniobject/buffer writeability
6420         to docs. Fixes #340604
6421
6422         * gst/gstelementfactory.h:
6423         Added some explanation about @klass.
6424
6425 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6426
6427         * docs/manual/intro-motivation.xml:
6428         * docs/manual/manual.xml:
6429         Avoid CORBA & Bonobo references (#340598)
6430
6431 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6432
6433         * docs/manual/basics-bus.xml:
6434         * docs/manual/basics-pads.xml:
6435         Fix up some inaccuracies and omissions (#340609)
6436         
6437 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6438
6439         * gst/gstghostpad.c:
6440           Small typo in docs (#340625)
6441
6442 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6443
6444         * gst/parse/Makefile.am:
6445           Make 'make -j' proof (see #340698).
6446
6447 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6448
6449         * configure.ac:
6450           Require GLib-2.8 here as well.
6451
6452 2006-05-05  Wim Taymans  <wim@fluendo.com>
6453
6454         * gst/glib-compat.c:
6455         * gst/gst.c: (init_pre):
6456         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6457         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
6458         (gst_object_dispatch_properties_changed):
6459         * gst/gstobject.h:
6460         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
6461         * gst/gststructure.c: (gst_structure_set_valist):
6462         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6463         Remove pre glib2.8 compatibility, fixes #340508
6464
6465 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6466
6467         * gst/gsttaglist.h:
6468           Mention type of tags in doc blurbs.
6469
6470 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
6471
6472         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6473         (gst_pad_configure_src), (gst_pad_push):
6474         Restore acceptcaps checking behaviour now that good plugins have
6475         been released.
6476
6477 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6478
6479         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
6480
6481         * gst/gst.c:
6482         * gst/gstbus.c:
6483         * gst/gstclock.c:
6484         * gst/gstevent.c:
6485         * gst/gstformat.c:
6486         * gst/gstmessage.c:
6487         * gst/gstparse.c:
6488         * gst/gstquery.c:
6489         * gst/gstutils.c:
6490         * gst/parse/Makefile.am:
6491         * libs/gst/base/gstadapter.c:
6492         * libs/gst/base/gstbasesrc.c:
6493         * libs/gst/base/gstpushsrc.c:
6494         * libs/gst/base/gsttypefindhelper.c:
6495         * plugins/elements/gstfakesrc.c:
6496         * plugins/elements/gstidentity.c:
6497           Make sure gstprivate.h and/or config.h are
6498           always included first, otherwise some of our
6499           defines (like _FILE_OFFSET_BITS) might be
6500           redefined in the system headers. Fixes build
6501           on opensolaris (#340016).
6502
6503 2006-05-04  Wim Taymans  <wim@fluendo.com>
6504
6505         * docs/libs/gstreamer-libs-sections.txt:
6506         API: addition: gst_adapter_take_buffer()
6507         
6508         * libs/gst/base/gstadapter.c: (gst_adapter_push),
6509         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
6510         (gst_adapter_available_fast):
6511         * libs/gst/base/gstadapter.h:
6512         Prepare for optimizing the hell out of this hugely inefficient
6513         piece of code. 
6514         Added gst_adapter_take_buffer() so we can at least start thinking
6515         about subbuffering and merging.
6516         Added some comments.
6517
6518         * tests/check/Makefile.am:
6519         * tests/check/libs/adapter.c: (GST_START_TEST),
6520         (gst_adapter_suite), (main):
6521         Added GstAdapter check.
6522
6523 2006-05-04  Wim Taymans  <wim@fluendo.com>
6524
6525         * docs/design/part-overview.txt:
6526         Fix some typos, add blurb about buffer flags.
6527
6528 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6529
6530         * docs/libs/gstreamer-libs-sections.txt:
6531           make sure GstBaseTransformClass shows up in the docs
6532         * libs/gst/base/gstbasetransform.c:
6533         * libs/gst/base/gstbasetransform.h:
6534           move docs so gtk-doc picks it up now
6535
6536 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
6537
6538         * docs/libs/gstreamer-libs-sections.txt:
6539           add missing symbols to docs
6540
6541 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
6542
6543         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6544           back out the newsegment handling change, see #340060 for ongoing
6545           discussion
6546
6547 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
6548
6549         * tools/gst-run.c: (get_candidates), (main):
6550           Fix wrong g_file_test() usage (see glib docs for why it doesn't
6551           work); fix typo in error message. Fixes #340079.
6552
6553 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
6554
6555         * common/Makefile.am:
6556         * docs/Makefile.am:
6557         * docs/faq/Makefile.am:
6558         * docs/gst/Makefile.am:
6559         * docs/libs/Makefile.am:
6560         * docs/manual/Makefile.am:
6561         * docs/plugins/Makefile.am:
6562         * docs/pwg/Makefile.am:
6563         * docs/slides/Makefile.am:
6564         * docs/upload.mak:
6565         * common/upload.mak:
6566           move upload.mak to common
6567
6568 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
6569
6570         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6571           add more asserts on refcounts
6572           do more cleanup at end of tests
6573           fix test leaks showing in FC5
6574
6575 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
6576
6577         * plugins/elements/gsttypefindelement.c:
6578         (gst_type_find_element_handle_event):
6579         reverted wrong change and reflowed code to avoid others falling into
6580         this trap
6581
6582 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6583
6584         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6585           fix changelog entry about last collectpads change,
6586           add notes about proper fix
6587
6588 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6589
6590         * gst/gst.c:
6591         * gst/gstregistry.c: (gst_registry_scan_path_level),
6592         (gst_registry_scan_path):
6593         * gst/gstregistry.h:
6594           only write out registry if it has changed, fixes #338339
6595
6596 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6597
6598         * gst/gstbin.c:
6599         * gst/gstpipeline.c:
6600         * plugins/elements/gstcapsfilter.c:
6601         * plugins/elements/gstfakesink.c:
6602         * plugins/elements/gstfakesrc.c:
6603         * plugins/elements/gstfdsink.c:
6604         * plugins/elements/gstfdsrc.c:
6605         * plugins/elements/gstfilesink.c:
6606         * plugins/elements/gstfilesrc.c:
6607         * plugins/elements/gstidentity.c:
6608         * plugins/elements/gstqueue.c:
6609         * plugins/elements/gsttee.c:
6610         * plugins/elements/gsttypefindelement.c:
6611         (gst_type_find_element_handle_event):
6612           make GstElementDetails const
6613
6614 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6615
6616         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6617         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6618         (gst_collect_pads_is_collected), (gst_collect_pads_event):
6619           more detailed debug and formatting cleanup,
6620           forward newsegments to src-pad (so that e.g. adder not eats them)
6621
6622 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6623
6624         * gst/gstutils.c: (gst_element_link_pads):
6625           cleanup double code
6626
6627 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6628
6629         * libs/gst/controller/gstcontroller.c:
6630         (gst_controller_sync_values):
6631           some little tuning
6632         * tests/check/libs/controller.c: (GST_START_TEST),
6633         (gst_controller_suite):
6634           a new test for live value handling
6635
6636 2006-04-28  Wim Taymans  <wim@fluendo.com>
6637
6638         * gst/gstutils.c: (push_and_ref):
6639         Added some more docs.
6640         Fix refcount issue whith gst_element_found_tags() helper 
6641         function. Fixes #338335
6642
6643         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6644         Added testsuite for gst_element_found_tags().
6645
6646 2006-04-28  Michael Smith  <msmith@fluendo.com>
6647
6648         * gst/gstvalue.c: (gst_value_serialize_flags):
6649           Avoid NULL dereference when trying to serialize flags containing
6650           invalid values.
6651
6652 2006-04-28  Michael Smith  <msmith@fluendo.com>
6653
6654         * plugins/elements/gsttypefindelement.c:
6655         (gst_type_find_element_handle_event):
6656           If we get EOS before any data is accumulated, don't use
6657           uninitialised local variables.
6658
6659 2006-04-28  Michael Smith  <msmith@fluendo.com>
6660
6661         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6662         (gst_dp_event_from_packet):
6663           Fixes in reading/writing events over GDP (not currently used?) - 
6664           dereferencing NULL events for unknown/invalid event types, memory
6665           leak, and change g_warning to GST_WARNING.
6666
6667 2006-04-28  Wim Taymans  <wim@fluendo.com>
6668
6669         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
6670         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6671         (gst_base_sink_get_position), (gst_base_sink_change_state):
6672         When frame dropping is enabled, we should not ignore frames
6673         without a duration.
6674         Update some documentation.
6675
6676 2006-04-28  Wim Taymans  <wim@fluendo.com>
6677
6678         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6679         (gst_base_src_send_event), (gst_base_src_change_state):
6680         Documentation updates.
6681
6682 2006-04-28  Wim Taymans  <wim@fluendo.com>
6683
6684         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
6685         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
6686         handle EAGAIN, EINTR and short writes correctly. Also clean
6687         up some error cases, avoid a deadlock on bad file descriptors and
6688         use GST_DEBUG_OBJECT.
6689         Fixes #339843
6690
6691 2006-04-28  Wim Taymans  <wim@fluendo.com>
6692
6693         * gst/gstvalue.c: (gst_value_serialize_buffer),
6694         (gst_value_deserialize_buffer):
6695         Don't try to serialize a GValue with a NULL buffer. 
6696         Fixes #339821.
6697
6698         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6699         Added check for serialisation of NULL buffers.
6700
6701 2006-04-28  Wim Taymans  <wim@fluendo.com>
6702
6703         * gst/gstminiobject.c: (gst_value_take_mini_object):
6704         Taking a NULL miniobject is valid, fix the case where
6705         we try to unref the NULL miniobject.
6706
6707 2006-04-28  Wim Taymans  <wim@fluendo.com>
6708
6709         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
6710
6711         * gst/gstbin.c: (gst_bin_handle_message_func):
6712         Update docs.
6713         Don't leak bin refcount when a state recalc is
6714         in progress and we delay another one #339808.
6715
6716 2006-04-28  Wim Taymans  <wim@fluendo.com>
6717
6718         * docs/design/part-TODO.txt:
6719         Mention QoS as an ongoing work item.
6720
6721         * docs/design/part-buffering.txt:
6722         New doc about buffering that needs to be fleshed out
6723         at some point.
6724
6725         * docs/design/part-qos.txt:
6726         More QoS policy for decoders/demuxers/transforms
6727
6728         * docs/design/part-trickmodes.txt:
6729         Small update.
6730
6731 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
6732
6733         * configure.ac:
6734           back to HEAD
6735
6736 === release 0.10.5 ===
6737
6738 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
6739
6740         * configure.ac:
6741           releasing 0.10.5, "Fogo"
6742
6743 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6744
6745         patch by: Wim Taymans
6746
6747         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6748         (gst_pad_configure_src), (gst_pad_push):
6749         * gst/gstpipeline.c: (gst_pipeline_init):
6750           Fix internal data flow errors.  Fixes #338711.
6751
6752 2006-04-12  Wim Taymans  <wim@fluendo.com>
6753
6754         * tests/check/gst/gstelement.c: (GST_START_TEST):
6755         Don't leak the factory.
6756
6757 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6758
6759         * configure.ac:
6760         * win32/common/config.h:
6761           prerelease
6762
6763 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
6764
6765         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6766         (gst_controller_unset_all):
6767           Free allocated GstTimedValues when freeing list nodes.
6768           Should fix leaks 'make check-valgrind' complains about.
6769
6770         * win32/common/libgstcontroller.def:
6771           Add gst_controller_unset_all.
6772
6773 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
6774
6775         * docs/libs/gstreamer-libs-sections.txt:
6776         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6777         (gst_controller_unset_all):
6778         * libs/gst/controller/gstcontroller.h:
6779         API: Added new method gst_controller_unset_all()
6780         fixed gst_controller_unset()
6781         * tests/check/libs/controller.c: (GST_START_TEST),
6782         (gst_controller_suite):
6783         Added two testcases for new and fixed method
6784
6785 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
6786
6787         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6788           MSG_DONTWAIT is not defined on Cygwin, so work
6789           around that (fixes #317048).
6790           
6791 2006-04-11  Wim Taymans  <wim@fluendo.com>
6792
6793         * gst/gstelementfactory.c: (gst_element_register),
6794         (gst_element_factory_create), (gst_element_factory_make):
6795         Some cleanups.
6796         Fixed a FIXME.
6797         Updated docs (Fixes #131079)
6798
6799         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6800         Small cleanups.
6801
6802         * tests/check/gst/gstelement.c: (GST_START_TEST),
6803         (gst_element_suite):
6804         Added testcase for elementfactory class field.
6805
6806 2006-04-10  Wim Taymans  <wim@fluendo.com>
6807
6808         * gst/gstsegment.c:
6809         Added some more docs.
6810
6811         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
6812         (gst_base_sink_reset_qos):
6813         Calculate more accurate rate values.
6814
6815 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
6816
6817         * gst/gst_private.h:
6818           add a new #ifdef to use __declspec(dllimport) only for
6819           other modules and not for gstreamer core
6820         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
6821           use gst_guint64_to_gdouble for conversion
6822         * win32/common/libgstreamer.def:
6823           add new exported functions
6824         * win32/vs6/gst_inspect.dsp:
6825         * win32/vs6/gst_launch.dsp:
6826         * win32/vs6/libgstbase.dsp:
6827         * win32/vs6/libgstcontroller.dsp:
6828         * win32/vs6/libgstcoreelements.dsp:
6829         * win32/vs6/libgstdataprotocol.dsp:
6830         * win32/vs6/libgstnet.dsp:
6831           update project files
6832
6833 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
6834
6835         * gst/gstbuffer.c: (gst_subbuffer_class_init):
6836         * gst/gstclock.c: (gst_clock_class_init):
6837         * gst/gstelement.c: (gst_element_class_init):
6838         * gst/gstindex.c: (gst_index_class_init):
6839         * gst/gstindexfactory.c: (gst_index_factory_class_init):
6840         * gst/gstobject.c: (gst_object_class_init),
6841         (gst_signal_object_class_init):
6842         * gst/gstpad.c: (gst_pad_class_init):
6843         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
6844         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
6845         * gst/gstregistry.c: (gst_registry_class_init):
6846         * gst/gstsystemclock.c: (gst_system_clock_class_init):
6847         * gst/gsttask.c: (gst_task_class_init):
6848         * gst/gstxml.c: (gst_xml_class_init):
6849         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6850         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6851         (gst_base_src_loop):
6852         * libs/gst/controller/gstcontroller.c:/
6853         (_gst_controller_class_init):
6854         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6855         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
6856         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
6857         * tests/old/examples/plugins/example.c: (gst_example_class_init):
6858         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6859         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
6860
6861 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
6862
6863         * gst/gstpad.c: (gst_pad_link):
6864           Must set peer pads before calling the link function, otherwise
6865           a task started from a link function might get a flow-not-linked
6866           result when trying to push because the other thread where the
6867           linking happens hasn't had a chance to set the peers yet. This
6868           might happen for example when a queue gets linked to a downstream
6869           element, as queue starts a streaming task when its source pad
6870           gets linked. Happens in real life when playing back flac/musepack
6871           files in playbin (#332390).
6872           
6873 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
6874
6875         * gst/gstindex.h:
6876         * gst/gstxml.h:
6877         * libs/gst/base/gstadapter.h:
6878         * libs/gst/base/gstbasesink.h:
6879         * libs/gst/base/gstbasesrc.h:
6880         * libs/gst/base/gstbasetransform.h:
6881         * libs/gst/base/gstcollectpads.h:
6882         * libs/gst/base/gstpushsrc.h:
6883         Fix broken GObject macros
6884
6885 2006-04-07  Wim Taymans  <wim@fluendo.com>
6886
6887         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6888         Initialize start and stop times, thanks valgrind.
6889
6890 2006-04-07  Wim Taymans  <wim@fluendo.com>
6891
6892         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6893         Be a bit nicer to badly behaving upstream elements that expect
6894         us to deal with non TIME segments and timestamps (such as fakesrc
6895         in the testsuite).
6896
6897 2006-04-07  Wim Taymans  <wim@fluendo.com>
6898
6899         * gst/gstbus.c:
6900         Small documentation clarification about the signal watch.
6901
6902         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6903         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
6904         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6905         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6906         (gst_base_sink_get_position_last),
6907         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
6908         Convert and store timestamps in stream time and running time, the
6909         raw timestamps are not useful, also document this better.
6910         Use different window sizes for good and bad QoS observations so
6911         we react to badness a little quicker.
6912         Keep track of the amount of rendered and dropped buffers.
6913         Send QoS timestamps in running time.
6914
6915         * libs/gst/base/gstbasetransform.c:
6916         (gst_base_transform_sink_eventfunc),
6917         (gst_base_transform_handle_buffer):
6918         Compare QoS timestamps against running time.
6919
6920 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
6921
6922         * gst/gstpad.c:
6923           Typo fixes in docs.
6924
6925 2006-04-06  Michael Smith  <msmith@fluendo.com>
6926
6927         * gst/gstpad.c: (gst_pad_set_property):
6928           Use g_value_get_object() instead of g_value_dup_gst_object(),
6929           to avoid double-reffing the pad template (which we then sink,
6930           so this worked previously if (and only if) the pad template
6931           was floating.
6932
6933         * gst/gstpadtemplate.c: (gst_pad_template_init),
6934         (gst_pad_template_pad_created):
6935           Never return floating references to pad templates, create
6936           them as initially-sunken.
6937
6938           Document an extra function (and make this stop sinking our
6939           pad template, since that is now guaranteed to do nothing,
6940           since we created it sunken).
6941
6942         * gst/gstghostpad.c:
6943           Fix docs typo.
6944
6945 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
6946
6947         * gst/gstinfo.c: (__gst_in_valgrind):
6948           Add some newlines.
6949
6950         * plugins/elements/gsttypefindelement.c:
6951         (gst_type_find_element_chain):
6952           Don't leak buffer caps.
6953
6954 2006-04-06  Michael Smith  <msmith@fluendo.com>
6955
6956         * gst/parse/grammar.y:
6957           Fix a leak in parse-launch for any source-or-sink named element 
6958           references used.
6959
6960         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
6961           Unref the pipeline if it exists after we've failed parsing.
6962
6963 2006-04-05  Michael Smith  <msmith@fluendo.com>
6964
6965         * gst/gstpipeline.c: (gst_pipeline_init):
6966           When we create a pipeline bus, initially create it in flushing mode.
6967           Fixes leaks in at least one test, and makes a new pipeline work the
6968           same as one that has gone to READY and then back to NULL.
6969
6970         * gst/gstelement.c:
6971           Typo fix in docs.
6972
6973 2006-04-05  Michael Smith  <msmith@fluendo.com>
6974
6975         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6976           Unref a pad we reffed.
6977         * tests/check/gst/gstutils.c: (GST_START_TEST):
6978           Unref bins
6979
6980 2006-04-05  Michael Smith  <msmith@fluendo.com>
6981
6982         * gst/gstquery.c: (gst_query_set_formats),
6983         (gst_query_set_formatsv):
6984           Fix leaking GValues in queries, as shown by valgrind/testsuite.
6985
6986 2006-04-05  Michael Smith  <msmith@fluendo.com>
6987
6988         * tests/check/generic/sinks.c: (GST_START_TEST):
6989           Fix a variety of memleaks in sinks check, which are only sometimes 
6990           shown by running the tests under valgrind (weird?).
6991
6992 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
6993
6994         * docs/version.entities.in:
6995           Fix the substituted entity name after thomas' changes on the
6996           weekend.
6997
6998 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6999
7000         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
7001         VALGRIND_PRINTF
7002         
7003 2006-04-05  Andy Wingo  <wingo@pobox.com>
7004
7005         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
7006
7007         * libs/gst/base/gstbasetransform.c
7008         (gst_base_transform_sink_eventfunc): When resetting our segment on
7009         FLUSH_STOP, also update the flag saying we haven't seen a
7010         newsegment.
7011
7012 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
7013
7014         Patch by: Paolo Borelli  <pborelli at katamail dot com>
7015
7016         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
7017         (gst_plugin_check_license):
7018           minor clean-ups: G_DEFINE_TYPE already takes care of the
7019           parent_class stuff, no need to do it twice. Mark array of
7020           license strings as constant. (#337103)
7021           
7022 2006-04-04  Michael Smith  <msmith@fluendo.com>
7023
7024         * tools/gst-inspect.c: (print_element_list):
7025           Free the right plugin list; fixes a memory leak.
7026
7027 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
7028
7029         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
7030
7031         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
7032           Don't error out on empty buffers (#336945).
7033           
7034 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
7035
7036         * docs/libs/gstreamer-libs-sections.txt:
7037         * gst/gsttaglist.c:
7038         * libs/gst/base/gstbasesink.c:
7039         * libs/gst/base/gstbasesink.h:
7040         * libs/gst/base/gstbasesrc.c:
7041         * libs/gst/base/gstbasesrc.h:
7042           Documentation updates. Make BaseSink and BaseSrc docs contain the
7043           class structure so that people can actually see the prototypes for
7044           virtual functions they're supposed to be overriding.
7045
7046 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
7047
7048         * plugins/elements/gsttypefindelement.c:
7049         (gst_type_find_element_chain):
7050           More debug info; when skipping typefinding, send cached
7051           events in all cases.
7052
7053 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7054
7055         * configure.ac:
7056           use new AS_VERSION and AS_NANO macros
7057         * gst/gst-i18n-lib.h:
7058         * gst/gst.c:
7059         * gst/gsterror.c:
7060         * gst/gstversion.h.in:
7061         * win32/common/config.h:
7062         * win32/common/config.h.in:
7063           update accordingly
7064
7065 2006-03-31  Michael Smith  <msmith@fluendo.com>
7066
7067         * plugins/elements/gsttypefindelement.c:
7068         (gst_type_find_element_chain):
7069           Do not typefind content if the buffers already have caps.
7070           Neccesary for icydemux (#333657), and the right thing to do anyway.
7071
7072 2006-03-30  Wim Taymans  <wim@fluendo.com>
7073
7074         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7075         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
7076         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
7077         (gst_base_sink_record_qos_observation),
7078         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7079         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
7080         (gst_base_sink_change_state):
7081         More QoS measurements as described in the design doc.
7082         Get rid of ringbuffer with observations, running average is
7083         more simple and equally good.
7084         Calculates valid proportion now.
7085         Added beginning of flood measurement.
7086
7087 2006-03-29  Wim Taymans  <wim@fluendo.com>
7088
7089         * docs/design/part-qos.txt:
7090         * gst/gstclock.c:
7091         Small documentation updates and additions.
7092
7093 2006-03-29  Wim Taymans  <wim@fluendo.com>
7094
7095         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
7096         (gst_base_src_send_event), (gst_base_src_loop),
7097         (gst_base_src_change_state):
7098         Perform the EOS logic when we reach the segment stop position.
7099         Fix compilation on gcc4.1
7100
7101 2006-03-29  Wim Taymans  <wim@fluendo.com>
7102
7103         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7104
7105         * plugins/elements/gstqueue.c: (gst_queue_init),
7106         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
7107         (gst_queue_set_property):
7108         * plugins/elements/gstqueue.h:
7109         In queue, when EOS is received, if minimum threshold > max_size -
7110         current_level, there is chance that queue blocks forever in conditional
7111         item del wait. This is because the queue is not emptied completely due
7112         to minimum threshold.  Here is another approach. Instead of setting
7113         cur_levels to max in EOS, just zero all minimum threshold levels. This
7114         should make sure that queue gives out all data. When going to READY
7115         (stop) state, just reset the original minimum threshold levels.
7116         Fixes #336336.
7117
7118 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
7119
7120         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
7121         (gst_type_find_element_handle_event),
7122         (gst_type_find_element_send_cached_events),
7123         (gst_type_find_element_change_state):
7124         * plugins/elements/gsttypefindelement.h:
7125           When typefinding is done in push mode, we should cache
7126           events we receive during typefinding instead of just
7127           dropping them (e.g. newsegment, custom events from
7128           dvdreadsrc etc.) and then send them out once we've
7129           determined the type of the stream (and decodebin
7130           has had a chance to plug in a decoder/demuxer).
7131           
7132 2006-03-27  Wim Taymans  <wim@fluendo.com>
7133
7134         * docs/design/part-qos.txt:
7135         First QoS ideas.
7136
7137 2006-03-27  Wim Taymans  <wim@fluendo.com>
7138
7139         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
7140
7141         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
7142         (gst_base_src_send_event), (gst_base_src_change_state):
7143         Handle element seek correctly when we are streaming.
7144         Fixes #326998.
7145
7146 2006-03-24  Michael Smith  <msmith@fluendo.com>
7147
7148         * docs/faq/gst-uninstalled:
7149           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
7150           allow you to correctly run intalled applications built against old 
7151           core, using plugins that require updated core (e.g. running
7152           installed totem against a full uninstalled gstreamer stack)
7153
7154 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
7155
7156         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
7157         more debug details
7158
7159 2006-03-24  Wim Taymans  <wim@fluendo.com>
7160
7161         * docs/gst/gstreamer-sections.txt:
7162         Rearrange the order of the methods so that related methods
7163         are grouped together in sections.
7164
7165 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
7166
7167         * gst/gstelement.c:
7168           Little clarification in the docs
7169
7170 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
7171
7172         * docs/README:
7173         formatting fix
7174         * plugins/elements/gstidentity.c:
7175         * plugins/elements/gstqueue.c:
7176         * plugins/elements/gsttee.c:
7177         * plugins/elements/gsttypefindelement.c:
7178         GST_ELEMENT_DETAILS formatting
7179
7180 2006-03-24  Wim Taymans  <wim@fluendo.com>
7181
7182         * libs/gst/base/gstbasesink.h:
7183         Only add fields, not insert or we break ABI.
7184
7185 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
7186
7187         * win32/common/libgstbase.def:
7188         * win32/common/libgstreamer.def:
7189           Update, add recently added functions.
7190
7191 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
7192
7193         * docs/gst/gstreamer-sections.txt:
7194         * gst/gstutils.c: (gst_pad_query_peer_position),
7195         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
7196         * gst/gstutils.h:
7197           API: add some new utility functions:
7198            - gst_pad_query_peer_position()
7199            - gst_pad_query_peer_duration()
7200            - gst_pad_query_peer_convert()
7201           
7202 2006-03-23  Wim Taymans  <wim@fluendo.com>
7203
7204         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7205         (gst_base_sink_init), (gst_base_sink_finalize),
7206         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
7207         (gst_base_sink_set_property), (gst_base_sink_get_property),
7208         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
7209         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
7210         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
7211         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7212         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
7213         (gst_base_sink_preroll_object), (gst_base_sink_event),
7214         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
7215         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
7216         (gst_base_sink_query), (gst_base_sink_change_state):
7217         Decouple max-lateness and the fact that QoS messages are generated
7218         with a new property (qos).
7219         added API: GstBaseSink::async_play()
7220         Add vmethod so subclasses can be notified of ASYNC playing
7221         state changes.
7222         Collect timestamp start and stop to report better current
7223         position in EOS/PLAYING/PAUSED/READY/NULL.
7224         Refactor QoS/frame dropping and other measurements.
7225         API: GstBaseSrc::qos
7226         Fixes #326311
7227
7228         * libs/gst/base/gstbasesink.h:
7229         Added Private struct.
7230         API: gst_base_sink_set_qos_enabled()
7231         API: gst_base_sink_is_qos_enabled()
7232
7233 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
7234
7235         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
7236           If compiling against GLib-2.8 or newer, try to read the
7237           registry file using GMappedFile first before falling back
7238           to fopen() + fread() (#332151).
7239
7240 2006-03-22  Wim Taymans  <wim@fluendo.com>
7241
7242         * gst/gstinfo.c: (gst_debug_set_active),
7243         (gst_debug_category_set_threshold):
7244         Disable debugging unless explicitly activated.
7245         Fixes #335480.
7246
7247 2006-03-22  Wim Taymans  <wim@fluendo.com>
7248
7249         * gst/gstelement.c: (gst_element_set_locked_state),
7250         (gst_element_dispose):
7251         Cleanup the error case.
7252
7253         * gst/gstobject.c: (gst_object_dispose):
7254         print a critical when some object was disposed with
7255         a parent, also revive the object since it might
7256         crash the parent.
7257
7258 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
7259
7260         * tools/gst-launch.1.in:
7261           Fix another typo.
7262
7263 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7264
7265         * configure.ac:
7266         * tests/check/Makefile.am:
7267           disable some tests when we don't have a registry
7268         * tests/check/gst/gstutils.c: (gst_utils_suite):
7269           don't build the part that needs parsing
7270
7271 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7272
7273         * gst/Makefile.am
7274         * tests/examples/Makefile.am:
7275           fix --disable-parse build
7276
7277 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7278
7279         * tools/gst-feedback.1.in:
7280           Fix typo: s/feeback/feedback/ (#133494).
7281
7282 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7283
7284         * tools/Makefile.am:
7285         * tools/gst-launch.1.in:
7286           Add FILES section and correct entry about GST_REGISTRY_PATH
7287           environment variable (#133495; #133494).
7288
7289 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7290
7291         * tools/Makefile.am:
7292         * tools/gst-md5sum.1.in:
7293         * tools/gst-md5sum.c:
7294           Remove gst-md5sum and man page (the md5sink element
7295           required was removed ages ago)
7296
7297 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7298
7299         * gst/gststructure.c: (gst_structure_id_set_value):
7300           Make sure that string fields in structures/taglists
7301           contain valid UTF-8 - we don't want to pass rubbish to
7302           applications because of a buggy plugin (cp. #334167).
7303
7304 2006-03-21  Edward Hervey  <edward@fluendo.com>
7305
7306         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
7307         (gst_bin_handle_message_func):
7308         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
7309         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
7310         (gst_element_set_bus_func):
7311         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
7312         * gst/gstminiobject.c: (gst_value_set_mini_object),
7313         (gst_value_take_mini_object):
7314         * gst/gstpad.c: (gst_pad_set_pad_template):
7315         * gst/gstpipeline.c: (gst_pipeline_dispose),
7316         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
7317         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
7318         (gst_collect_pads_chain):
7319         * libs/gst/net/gstnettimeprovider.c:
7320         (gst_net_time_provider_set_property):
7321         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
7322         It's in fact all issues with gst_*object_replace().
7323
7324 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7325
7326         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
7327         
7328         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7329         * pkgconfig/gstreamer-check.pc.in:
7330           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
7331
7332 2006-03-21  Edward Hervey  <edward@fluendo.com>
7333
7334         * gst/gstbuffer.h:
7335         * gst/gstevent.h:
7336         * gst/gstmessage.h:
7337         gst_[buffer|event|message]_ref() macros are replaced by a static
7338         inline functions because gcc-4.1 will about if the return value
7339         isn't used.
7340         * tests/check/gst/gstevent.c: (event_probe):
7341         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
7342
7343 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
7344
7345         * gst/gstutils.h:
7346         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
7347         the type' case. (Closes: #335195 for now). In the future, when we
7348         depend on GLib 2.10, we could also intern the type name using
7349         g_intern_static_string()
7350
7351 2006-03-20  Wim Taymans  <wim@fluendo.com>
7352
7353         * gst/gstbin.c: (gst_bin_handle_message_func),
7354         (bin_query_max_init), (bin_query_position_fold),
7355         (bin_query_position_done), (gst_bin_query):
7356         Position query should also take max of all streams.
7357
7358 2006-03-20  Wim Taymans  <wim@fluendo.com>
7359
7360         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7361         (gst_fake_src_finalize):
7362         Fix leaks in fakesrc.
7363
7364         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7365         Fix leaks in the testcase.
7366
7367 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
7368
7369         * gst/gst_private.h:
7370           add win32 specific import decoration(__declspec(dllimport)) 
7371           for all extern GstDebugCategory * variables
7372         * win32/common/libgstbase.def:
7373         * win32/common/libgstcontroller.def:
7374         * win32/common/libgstreamer.def:
7375           Add some exports, remove empty lines
7376         * win32/common/libgstdataprotocol.def:
7377         * win32/common/libgstdataprotocol.dsp:
7378         * win32/common/libgstnet.def:
7379         * win32/common/libgstnet.dsp:
7380           new project files and exportation files added
7381         
7382 2006-03-19  Wim Taymans  <wim@fluendo.com>
7383
7384         * tests/check/libs/basesrc.c: (eos_event_counter):
7385         Use proper return value for probe.
7386
7387 2006-03-17  Wim Taymans  <wim@fluendo.com>
7388
7389         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7390         (gst_pad_push):
7391         Don't leak buffers, caps and pads on negotiation errors.
7392
7393 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
7394
7395         * docs/faq/cvs.xml:
7396         * docs/faq/dependencies.xml:
7397         * docs/faq/developing.xml:
7398         * docs/faq/faq.xml:
7399         * docs/faq/general.xml:
7400         * docs/faq/getting.xml:
7401         * docs/faq/legal.xml:
7402         * docs/faq/troubleshooting.xml:
7403         * docs/faq/using.xml:
7404         Faq review and update.
7405
7406 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
7407
7408         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7409         (gst_pad_push):
7410         Don't pound the cpu to pieces by checking get_caps when accept_caps
7411         is called with the same caps as the pad already has.
7412         Use GST_DEBUG_OBJECT when outputting caps change information.
7413
7414 2006-03-15  Wim Taymans  <wim@fluendo.com>
7415
7416         * gst/gstclock.c: (gst_clock_class_init):
7417         Fix docs.
7418
7419 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
7420
7421         * gst/gstbuffer.h:
7422         Documentation fix.
7423
7424         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
7425         (gst_pad_accept_caps), (gst_pad_configure_sink),
7426         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
7427         Make the default acceptcaps behaviour be to check the requested 
7428         caps against the gst_pad_get_caps output. 
7429
7430         Ensure that gst_pad_accept_caps is used to check caps when a pad
7431         doesn't have a setcaps function, so that pads automatically refuse 
7432         caps that they don't allow in their pad template. (Fixes #332986)
7433
7434         When a buffer with attached caps is pushed, ensure that the source 
7435         pad receives those caps even if the element didn't call
7436         gst_pad_set_caps first.
7437
7438 2006-03-15  Wim Taymans  <wim@fluendo.com>
7439
7440         * libs/gst/base/gstadapter.c:
7441         Add some docs.
7442
7443 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
7444
7445         * win32/common/libgstbase.def:
7446         * win32/common/libgstcontroller.def:
7447         * win32/common/libgstreamer.def:
7448           Add a whole bunch of missing functions (#334434).
7449
7450 2006-03-14  Wim Taymans  <wim@fluendo.com>
7451
7452         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7453         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
7454         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
7455         Better debug info when we receive a segment event.
7456         Reorganize a bit so we can pass the get_times() results around.
7457         Use the segment format when calculating the running time.
7458         Don't do QoS is sync is disabled or we have no clock or the
7459         element does not want us to sync to the clock.
7460         Don't drop buffers if QoS is disabled for now.
7461
7462 2006-03-14  Wim Taymans  <wim@fluendo.com>
7463
7464         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
7465         Marked the stats property as unimplemented so people don't get
7466         wild ideas.
7467         Add debug message when regression goes wrong.
7468         Added some more docs.
7469
7470 2006-03-14  Wim Taymans  <wim@fluendo.com>
7471
7472         * gst/gstsegment.c: (gst_segment_to_stream_time):
7473         Return correct return type in case of errors.
7474
7475 2006-03-14  Wim Taymans  <wim@fluendo.com>
7476
7477         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
7478           Don't segfault on invalid formats.
7479
7480 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7481
7482         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7483           Can't use gst_segment_to_running_time() when the segment
7484           is not in GST_TIME_FORMAT (like with filesink, for example).
7485           Stops flac encoding pipelines from spewing critical warnings
7486           at EOS (#331248).
7487           
7488 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7489
7490         * gst/gstpipeline.c: (gst_pipeline_class_init):
7491           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
7492
7493         * plugins/elements/gsttypefindelement.c:
7494         (gst_type_find_element_handle_event):
7495           Don't try to typefind empty streams.
7496
7497 2006-03-14  Wim Taymans  <wim@fluendo.com>
7498
7499         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
7500         (gst_base_sink_do_qos):
7501         Separate QoS calculation.
7502         Only drop buffers when lateness is bigger than the 
7503         duration of the buffer.
7504
7505 2006-03-13  Wim Taymans  <wim@fluendo.com>
7506
7507         * gst/gstpipeline.c: (gst_pipeline_set_property),
7508         (gst_pipeline_get_property), (do_pipeline_seek),
7509         (gst_pipeline_change_state), (gst_pipeline_set_delay),
7510         (gst_pipeline_get_delay):
7511         Don't deadlock when reading properties.
7512
7513 2006-03-13  Wim Taymans  <wim@fluendo.com>
7514
7515         * libs/gst/base/gstbasetransform.c:
7516         (gst_base_transform_class_init), (gst_base_transform_init),
7517         (gst_base_transform_sink_event),
7518         (gst_base_transform_sink_eventfunc),
7519         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
7520         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7521         (gst_base_transform_set_property),
7522         (gst_base_transform_get_property),
7523         (gst_base_transform_change_state), (gst_base_transform_update_qos),
7524         (gst_base_transform_set_qos_enabled),
7525         (gst_base_transform_is_qos_enabled):
7526         * libs/gst/base/gstbasetransform.h:
7527         Make basetransform virtual method for src events too.
7528         Handle QOS in basetransform.
7529         API: gst_base_transform_update_qos()
7530         API: gst_base_transform_set_qos_enabled()
7531         API: gst_base_transform_is_qos_enabled()
7532
7533 2006-03-13  Wim Taymans  <wim@fluendo.com>
7534
7535         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7536         (gst_base_sink_do_sync):
7537         Small cleanups.
7538         Use QOS debug category.
7539
7540 2006-03-13  Wim Taymans  <wim@fluendo.com>
7541
7542         * plugins/elements/gstqueue.c:
7543         Very small doc update.
7544
7545 2006-03-13  Wim Taymans  <wim@fluendo.com>
7546
7547         * gst/gst_private.h:
7548         * gst/gstinfo.c: (_gst_debug_init):
7549         Added QOS debug category
7550
7551 2006-03-13  Wim Taymans  <wim@fluendo.com>
7552
7553         * docs/gst/gstreamer-sections.txt:
7554         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
7555         * gst/gstbin.h:
7556         * gst/gstbus.c: (gst_bus_class_init):
7557         * gst/gstbus.h:
7558         * gst/gstclock.c:
7559         * gst/gstelement.c: (gst_element_set_locked_state):
7560         * gst/gstsegment.c:
7561         Documentation updates.
7562
7563         * gst/gstpipeline.c: (gst_pipeline_get_type),
7564         (gst_pipeline_class_init), (gst_pipeline_init),
7565         (gst_pipeline_dispose), (gst_pipeline_set_property),
7566         (gst_pipeline_get_property), (do_pipeline_seek),
7567         (gst_pipeline_send_event), (gst_pipeline_change_state),
7568         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
7569         (gst_pipeline_get_delay):
7570         * gst/gstpipeline.h:
7571         Added methods for setting the delay.
7572         API: gst_pipeline_set_delay()
7573         API: gst_pipeline_get_delay()
7574         Add pipeline debug category
7575         Various cleanups.
7576         Updated docs.
7577         Don't reset stream time when seek failed.
7578
7579 2006-03-13  Wim Taymans  <wim@fluendo.com>
7580
7581         * docs/design/draft-klass.txt:
7582         * docs/design/part-clocks.txt:
7583         * docs/design/part-events.txt:
7584         * docs/design/part-gstbin.txt:
7585         * docs/design/part-gstpipeline.txt:
7586         * docs/design/part-messages.txt:
7587         * docs/design/part-negotiation.txt:
7588         * docs/design/part-overview.txt:
7589         * docs/design/part-preroll.txt:
7590         * docs/design/part-seeking.txt:
7591         * docs/design/part-states.txt:
7592         * docs/design/part-streams.txt:
7593         Documentation updates.
7594
7595 2006-03-12  Julien MOUTTE  <julien@moutte.net>
7596
7597         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
7598         us to leak strings...
7599
7600 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7601
7602         * libs/gst/net/gstnettimeprovider.c:
7603           fix docs
7604         * win32/common/config.h:
7605           update
7606
7607 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
7608
7609         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
7610
7611         * configure.ac:
7612           Don't check for libgnomeui (leftover from old examples
7613           that aren't built or disted any longer) (#334303).
7614           
7615 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
7616
7617         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
7618         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
7619           Emit RESOURCE_NO_SPACE_LEFT error here as well when
7620           there's no space left on the device.
7621
7622 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
7623
7624         * gst/gstclock.h:
7625           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
7626           to cast the input to GstClockTime before comparing with
7627           another GstClockTime value.
7628
7629 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7630
7631         * configure.ac:
7632           back to trunk
7633
7634 === release 0.10.4 ===
7635
7636 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
7637
7638         * configure.ac:
7639           releasing 0.10.4, "Light"
7640
7641 2006-03-10  Michael Smith  <msmith@fluendo.com>
7642
7643         * libs/gst/dataprotocol/dataprotocol.c:
7644           Fix docs for dataprocotol to not get the return types completely
7645           wrong for a few functions.
7646
7647 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
7648
7649         * docs/gst/gstreamer-sections.txt:
7650         * gst/gstpipeline.c: (gst_pipeline_class_init),
7651         (gst_pipeline_init), (gst_pipeline_set_property),
7652         (gst_pipeline_get_property), (gst_pipeline_change_state),
7653         (gst_pipeline_set_auto_flush_bus),
7654         (gst_pipeline_get_auto_flush_bus):
7655         * gst/gstpipeline.h:
7656           Add new API: gst_pipeline_set_auto_flush_bus() and
7657           gst_pipeline_get_auto_flush_bus() to disable automatic
7658           flushing of the pipeline's GstBus when going from READY
7659           to NULL state (#332045).
7660
7661 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
7662
7663         * docs/gst/gstreamer-sections.txt:
7664         * gst/gsturi.c: (gst_uri_has_protocol):
7665         * gst/gsturi.h:
7666            Add new API: gst_uri_has_protocol() (#333779).
7667
7668 2006-03-09  Wim Taymans  <wim@fluendo.com>
7669
7670         * gst/gstclock.c: (gst_clock_entry_new),
7671         (gst_clock_id_compare_func), (gst_clock_id_wait),
7672         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
7673         (gst_clock_init), (gst_clock_get_internal_time),
7674         (gst_clock_set_master), (do_linear_regression),
7675         (gst_clock_add_observation), (gst_clock_set_property):
7676         * gst/gstclock.h:
7677         Review docs.
7678         Small cleanups.
7679         Fix a possible segfault when the window-size is made smaller.
7680         Calculate jitter before performing the clock wait. Ideally
7681         the clock implementation should calculate jitter but we need
7682         API breakage for that.
7683
7684         * gst/gstsystemclock.c: (gst_system_clock_init):
7685         Docs review.
7686         
7687         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7688         Remove leftover else
7689
7690         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7691         (gst_systemclock_suite):
7692         Added check to test GST_CLOCK_DIFF.
7693
7694 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
7695
7696         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
7697         (gst_type_find_helper_get_range):
7698           If we are provided with the size, we should implement
7699           GstTypeFind::get_length, so that typefind functions who
7700           want to can actually peek at the middle of a file.
7701
7702 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
7703
7704         * docs/manual/advanced-dataaccess.xml:
7705           Add some very very basic error checking.
7706
7707         * docs/pwg/appendix-checklist.xml:
7708           Some updates to the list of things to check when writing an element.
7709
7710 2006-03-08  Wim Taymans  <wim@fluendo.com>
7711
7712         * docs/design/part-element-transform.txt:
7713         Added some docs about the design of tranform elements.
7714
7715         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7716         (gst_base_src_loop), (gst_base_src_change_state):
7717         Mark buffers with the DISCONT flag.
7718
7719 2006-03-08  Michael Smith  <msmith@fluendo.com>
7720
7721         * gst/gstregistry.h:
7722         * gst/gstregistryxml.c: (gst_registry_save),
7723         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
7724         (gst_registry_xml_save_pad_template),
7725         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
7726         (gst_registry_xml_write_cache):
7727           Rewrite registry-saving to avoid race conditions and check for
7728           failed writes.
7729
7730 2006-03-08  Wim Taymans  <wim@fluendo.com>
7731
7732         * libs/gst/base/gstbasetransform.c:
7733         (gst_base_transform_transform_caps),
7734         (gst_base_transform_transform_size),
7735         (gst_base_transform_prepare_output_buffer),
7736         (gst_base_transform_get_unit_size),
7737         (gst_base_transform_buffer_alloc),
7738         (gst_base_transform_handle_buffer),
7739         (gst_base_transform_change_state):
7740         Cleanups, separate normal flow from errors, add sensible
7741         DEBUG lines.
7742         Don't try to renegotiate when allocating an output buffer.
7743         Also copy DISCONT buffer flag when copying a buffer.
7744         Reset the transform after we finish streaming, not during.
7745
7746 2006-03-08  Wim Taymans  <wim@fluendo.com>
7747
7748         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7749         Use last buffer timestamp in qos message.
7750
7751 2006-03-07  Wim Taymans  <wim@fluendo.com>
7752
7753         Patch by: Christophe Fergeau
7754
7755         * docs/pwg/advanced-tagging.xml:
7756         * docs/pwg/building-pads.xml:
7757           fixes #333416
7758
7759 2006-03-07  Wim Taymans  <wim@fluendo.com>
7760
7761         * docs/libs/gstreamer-libs-sections.txt:
7762         Added basesink new methods.
7763
7764         * gst/gstevent.c:
7765         * gst/gstevent.h:
7766         Docs updates. Flesh out the QoS docs.
7767
7768         * libs/gst/base/gstadapter.c:
7769         Small doc clarification about ownership and flushing.
7770
7771         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
7772         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7773         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
7774         (gst_base_sink_get_property), (gst_base_sink_do_sync):
7775         * libs/gst/base/gstbasesink.h:
7776         API additions: 
7777         Added new methods to allow subclass to control max-lateness 
7778         and sync.
7779         Generate very basic QoS events based on last sync observation.
7780         Updated docs, fix typo, added some QoS blurb.
7781
7782         * libs/gst/base/gstbasesrc.c:
7783         Remove obsolete _get_state() calls from docs.
7784
7785 2006-03-07  Wim Taymans  <wim@fluendo.com>
7786
7787         * docs/libs/gstreamer-libs-sections.txt:
7788         * libs/gst/base/gstbasetransform.h:
7789         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
7790         Fix docs for GstBaseSrc.
7791
7792 2006-03-07  Wim Taymans  <wim@fluendo.com>
7793
7794         * docs/gst/gstreamer-sections.txt:
7795         * gst/gstbuffer.h:
7796         * gst/gstvalue.c:
7797         * libs/gst/base/gstbasetransform.h:
7798         Small documentation fixes.
7799
7800 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7801
7802         * gst/gstvalue.c:
7803           Document thread-unsafety of gst_value_register_foo_func()
7804           when used at the same time as gst_value_foo() (#322628).
7805
7806 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7807
7808         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
7809         (gst_push_src_check_get_range):
7810           Push sources don't support pull mode by default.
7811
7812 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
7813
7814         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7815         (gst_base_src_init), (gst_base_src_pad_check_get_range),
7816         (gst_base_src_default_check_get_range):
7817         * libs/gst/base/gstbasesrc.h:
7818           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
7819           provide default implementation, and rename
7820           gst_base_src_check_get_range() to
7821           gst_base_src_pad_check_get_range() for clarity.
7822
7823 2006-03-06  Wim Taymans  <wim@fluendo.com>
7824
7825         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7826         Make property overridable.
7827
7828 2006-03-06  Wim Taymans  <wim@fluendo.com>
7829
7830         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7831         (gst_base_sink_init), (gst_base_sink_set_property),
7832         (gst_base_sink_get_property), (gst_base_sink_do_sync):
7833         * libs/gst/base/gstbasesink.h:
7834         API addition: Make max-lateness a property.
7835
7836 2006-03-06  Wim Taymans  <wim@fluendo.com>
7837
7838         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
7839         (gst_base_sink_do_sync), (gst_base_sink_render_object):
7840         Don't ever draw a frame that is >10ms late.
7841
7842 2006-03-06  Michael Smith  <msmith@fluendo.com>
7843
7844         * gst/gstmessage.c: (_gst_message_copy):
7845           When copying a message, set the parent_refcount of the enclosed
7846           structure to point at the copy, not the original message.
7847
7848 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
7849
7850         Patch by: Christophe Fergeau
7851
7852         * gst/gstutils.h:
7853           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
7854           usable in c++ code (#333417)
7855
7856 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7857
7858         * gst/gstclock.h:
7859           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
7860
7861 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
7862
7863         * libs/gst/base/gstbasetransform.c:
7864         (gst_base_transform_transform_caps):
7865           Make sure caps are writable before passing them to
7866           gst_caps_append().
7867
7868 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
7869
7870         * gst/gsterror.h:
7871           Fix some minor docs errors.
7872
7873 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
7874
7875           Patch by: Ross Burton <ross at burtonini dot com>
7876
7877         * gst/gsterror.c: (_gst_resource_errors_init):
7878         * gst/gsterror.h:
7879           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
7880
7881 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
7882
7883         * gst/gst.c:
7884         Add a check and output a g_warning when GStreamer is built
7885         against GLib 2.6 but running against 2.8 or higher, and vice 
7886         versa. (Closes: #323542)
7887
7888 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
7889
7890         * gst/parse/parse.l:
7891           Commit patch for parse_launch syntax from #331255. Removes 
7892           support for quoted strings and mimetypes when writing filtered 
7893           caps. See the bug report for more details - I'm pretty sure this
7894           obscure feature is not in use by _anyone_ anywhere.
7895
7896           With this simple change, the size of the gstreamer.so here 
7897           drops from 2193KB to 1565KB.
7898
7899 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
7900
7901         * plugins/elements/gsttypefindelement.h:
7902         * plugins/elements/gsttypefindelement.c:
7903         (gst_type_find_element_src_event), (start_typefinding),
7904         (stop_typefinding), (gst_type_find_element_handle_event),
7905         (gst_type_find_element_chain),
7906         (gst_type_find_element_chain_do_typefinding):
7907           Use gst_type_find_helper_for_buffer() for chain-based
7908           typefinding.
7909
7910 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
7911
7912         * plugins/elements/gsttypefindelement.c:
7913         (gst_type_find_element_class_init),
7914         (gst_type_find_element_set_property),
7915         (gst_type_find_element_get_property):
7916           Deprecate "maximum" property (not only was it only taken into
7917           account for typefinding in push-mode anyway, it also was never
7918           actually possible to set it in the first place because the
7919           property was registered with the numeric property ID for the
7920           "minimum" property). Register "maximum" property correctly,
7921           for the sake of future copy'n'pasters. Remove some cruft
7922           from property get/set functions.
7923
7924 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
7925
7926         * plugins/elements/gsttypefindelement.c:
7927         (gst_type_find_element_activate):
7928           Use gst_type_find_helper_get_range() here, so we
7929           can honour the "minimum" property and also emit
7930           the signal with the correct probability of the found caps.
7931
7932 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
7933
7934         * docs/libs/gstreamer-libs-sections.txt:
7935         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7936         (helper_find_suggest), (gst_type_find_helper_get_range),
7937         (gst_type_find_helper):
7938         * libs/gst/base/gsttypefindhelper.h:
7939           New API: gst_type_find_helper_get_range() (#333042).
7940
7941 2006-03-02  Michael Smith  <msmith@fluendo.com>
7942
7943         * gst/gstregistryxml.c: (load_feature):
7944           Asserting on a failure to read part of the registry is Not Cool.
7945           Just log a warning and return NULL (which is already handled)
7946
7947 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
7948
7949         * win32/common/libgstbase.def:
7950           added export of gst_type_find_helper_for_buffer
7951         * win32/common/libgstbase.def:
7952           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
7953           gst_ghost_pad_get_target
7954
7955 2006-02-28  Wim Taymans  <wim@fluendo.com>
7956
7957         * docs/design/draft-klass.txt:
7958         We use Filter now.
7959         Added Connector to mark elements that are only used to
7960         allow pipeline connections.
7961         Moved Debug to extra feature since most of them are 
7962         functionally something else.
7963
7964 2006-02-28  Wim Taymans  <wim@fluendo.com>
7965
7966         * docs/design/draft-klass.txt:
7967         Some updates and clarifications.
7968
7969 2006-02-28  Wim Taymans  <wim@fluendo.com>
7970
7971         * docs/design/draft-klass.txt:
7972         Proposal for klass field values.
7973
7974         * docs/design/part-streams.txt:
7975         Start of a doc describing stream anatomy.
7976
7977 2006-02-28  Wim Taymans  <wim@fluendo.com>
7978
7979         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
7980         Help the compiler a bit with type registration.
7981         Use existing forward cod path instead of duplicating it when 
7982         handling a message.
7983         
7984         * gst/gstbus.c: (gst_bus_get_type):
7985         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
7986         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
7987         * gst/gstclock.c: (gst_clock_get_type):
7988         * gst/gstelement.c: (gst_element_get_type),
7989         * gst/gstelementfactory.c: (gst_element_factory_get_type):
7990         * gst/gstindexfactory.c: (gst_index_factory_get_type):
7991         * gst/gstminiobject.c: (gst_mini_object_get_type):
7992         * gst/gstpad.c: (gst_pad_get_type):
7993         * gst/gstsegment.c: (gst_segment_get_type):
7994         * gst/gststructure.c: (gst_structure_get_type):
7995         * gst/gstsystemclock.c: (gst_system_clock_get_type):
7996         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
7997         * gst/gstvalue.c:
7998         Help compiler with type registration.
7999
8000         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8001         Small doc update.
8002
8003 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
8004
8005         * plugins/elements/gsttypefindelement.c:
8006         (gst_type_find_element_handle_event):
8007           When we get an EOS event and have not found a type yet
8008           (most likely because we had not yet accumulated
8009           TYPE_FIND_MIN_SIZE of data yet), try to determine the
8010           type given the data we have so far. Fixes typefinding
8011           for very short streams again, most notably quicktime
8012           redirections as used on Apple's trailer site (#331701).
8013
8014 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
8015
8016         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
8017         (gst_type_find_helper):
8018           Try typefinding factories with the highest rank first.
8019
8020 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
8021
8022         * docs/libs/gstreamer-libs-docs.sgml:
8023         * docs/libs/gstreamer-libs-sections.txt:
8024         * libs/gst/base/gsttypefindhelper.c:
8025           Add section for typefind helper and add documentation
8026           for the old and the new function.
8027
8028 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
8029
8030         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
8031         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
8032         (gst_type_find_helper_for_buffer):
8033         * libs/gst/base/gsttypefindhelper.h:
8034           New API: gst_type_find_helper_for_buffer() (#332723).
8035           
8036 2006-02-27  Michael Smith  <msmith@fluendo.com>
8037
8038         Patch by: Loïc Minier
8039
8040         * configure.ac:
8041         * docs/Makefile.am:
8042         * docs/slides/Makefile.am:
8043           prevent CVS directories getting disted.
8044
8045 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
8046
8047         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
8048           Use the REFCOUNTING category for caps refcounting.
8049           
8050 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
8051
8052         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
8053           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
8054
8055 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
8056
8057         * plugins/elements/gsttypefindelement.c:
8058         (gst_type_find_element_activate):
8059           Use gst_pad_check_pull_range() before _activate_pull()
8060           to avoid unnecessary open/close (see #331690).
8061
8062 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
8063
8064         * gst/gstutils.c:
8065           Docs enhancement: make it crystal clear what the
8066           gst_pad_add_*_probe() callbacks should look like.
8067
8068 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
8069
8070         * libs/gst/base/gstbasesrc.c:
8071           Document how applications can stop recording from
8072           live sources (see #330996).
8073
8074 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8075
8076         * tests/check/Makefile.am:
8077         * tests/check/libs/basesrc.c: (eos_event_counter),
8078         (basesrc_eos_events_pull), (basesrc_eos_events_push),
8079         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
8080         (gst_basesrc_suite), (main):
8081           ... and add some tests for the base source EOS stuff.
8082
8083 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8084
8085         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
8086           Test case originally showed the problem fixed below,
8087           but was then amended. Add checks back at the place
8088           where they used to be.
8089
8090 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8091
8092         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8093         (gst_base_src_init), (gst_base_src_loop),
8094         (gst_base_src_activate_push), (gst_base_src_activate_pull),
8095         (gst_base_src_change_state):
8096         * libs/gst/base/gstbasesrc.h:
8097           Don't unconditionally send EOS when going from PAUSED to
8098           READY state, esp. make sure we don't send two EOS events
8099           in some cases (e.g. one when reaching EOS and one when
8100           going from PAUSED to READY). Also, we don't want to send
8101           EOS events when operating in pull mode. However, we do
8102           want to send an EOS event when shutting down a live
8103           source explicitly, for example (fixes #330996).
8104           
8105 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8106
8107         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8108           Update src->read_position after a seek when not using mmap.
8109           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
8110
8111 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
8112
8113         * gst/Makefile.am:
8114         * gst/gstparse.h:
8115         * gst/gstutils.c:
8116         * gst/gstutils.h:
8117         Make things work with --disable-parse as they do with 
8118         --disable-load-save - the symbols involved disappear, but the
8119         header is still installed and GST_DISABLE_PARSE is included via
8120         gstconfig.h
8121
8122 2006-02-20  Julien MOUTTE  <julien@moutte.net>
8123
8124         * libs/gst/base/gstbasetransform.c:
8125         (gst_base_transform_change_state): Fix a stupid bug. I was 
8126         sure I compiled that.
8127
8128 2006-02-20  Julien MOUTTE  <julien@moutte.net>
8129
8130         * gst/gstpad.c: (gst_pad_set_blocked_async):
8131         * gst/gstutils.c: (gst_pad_add_data_probe),
8132         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8133         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8134         (gst_pad_remove_buffer_probe): Make those function act on the
8135         ghostpad target when it's a ghostpad. (Closes #331727)
8136
8137 2006-02-20  Julien MOUTTE  <julien@moutte.net>
8138
8139         * libs/gst/base/gstbasetransform.c:
8140         (gst_base_transform_change_state): Make basetransform reusable.
8141         (Closes #331898)
8142
8143 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
8144
8145         * docs/random/release:
8146         Move the current documentation of how to do a release to the top
8147         of the file.
8148
8149         * gst/gstbin.c: (gst_bin_class_init),
8150         (gst_bin_handle_message_func):
8151         Allow multiple state-recalculation threads. (Closes #328873)
8152
8153 2006-02-19  Julien MOUTTE  <julien@moutte.net>
8154
8155         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
8156         * gst/gstpad.c: (gst_pad_set_event_function),
8157         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8158         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
8159         2 strings. You can't use the STR_NULL macro on that.
8160
8161 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
8162
8163         * gst/gstpad.c: (gst_pad_set_event_function),
8164         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8165         (gst_pad_set_getcaps_function)
8166         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
8167           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
8168           So now, we can use --gst-debug-level=5 on Windows
8169         * win32/common/libgstcontroller.def:
8170           Added export of gst_controller_init
8171         * win32/vs6/libgstcontroller.dsp:
8172           Fixed Release post build configuration
8173
8174 2006-02-17  Wim Taymans  <wim@fluendo.com>
8175
8176         * tests/check/gst/gstquery.c: (GST_START_TEST):
8177         Added another check.
8178
8179 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
8180
8181         * plugins/elements/gsttypefindelement.c: (find_peek):
8182           We can do peeks at non-zero offsets, as long as they
8183           fall within the buffer we have.
8184
8185 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
8186
8187         * tests/check/Makefile.am:
8188         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
8189         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
8190         (parse_suite), (main):
8191           Add testsuite for parse launch syntax
8192
8193 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
8194
8195         * plugins/elements/gsttypefindelement.c:
8196         (gst_type_find_element_chain):
8197           When typefinding is unsuccessful in the chain function, don't
8198           error out immediately. Only error out with NO_CAPS_FOUND if
8199           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
8200           otherwise simply wait for more data so we can try typefinding
8201           again with more data later. Also, don't attempt to typefind
8202           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
8203           this should improve typefinding from network sources where the
8204           size of the first buffer can be somewhat random.
8205
8206 2006-02-14  Wim Taymans  <wim@fluendo.com>
8207
8208         * docs/gst/gstreamer-sections.txt:
8209         * gst/gstpadtemplate.c:
8210         * gst/gstpadtemplate.h:
8211         Fix padtemplate docs, fixes #328805.
8212
8213 2006-02-14  Wim Taymans  <wim@fluendo.com>
8214
8215         * tools/gst-launch.c: (main):
8216         NO_PREROLL is not an ERROR so don't send confusing messages
8217         to the user.
8218
8219 2006-02-14  Wim Taymans  <wim@fluendo.com>
8220
8221         Patch by: Torsten Schoenfeld
8222
8223         * gst/gstregistry.c: (gst_registry_get_default),
8224         (_gst_registry_cleanup):
8225         Protect default registry with lock and ref/sink it.
8226         Fixes #324818
8227
8228 2006-02-14  Wim Taymans  <wim@fluendo.com>
8229
8230         * gst/gstbuffer.c:
8231         * gst/gstquery.c: (gst_query_list_add_format),
8232         (gst_query_set_formatsv), (gst_query_parse_formats_length),
8233         (gst_query_parse_formats_nth):
8234         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8235         Docs fixes.
8236
8237 2006-02-14  Wim Taymans  <wim@fluendo.com>
8238
8239         * docs/gst/gstreamer-sections.txt:
8240         Reworked query docs.
8241
8242         * gst/gstquery.c: (gst_query_new_formats),
8243         (gst_query_list_add_format), (gst_query_set_formats),
8244         (gst_query_set_formatsv), (gst_query_parse_formats_length),
8245         (gst_query_parse_formats_nth):
8246         * gst/gstquery.h:
8247         Flesh out formats query, added some new methods.
8248         Fix part of #324398.
8249
8250         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
8251         Added query creation tests.
8252
8253 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
8254
8255         * gst/gstpad.c: (fixate_value):
8256         Add a default fixation for fraction lists.
8257
8258 2006-02-13  Wim Taymans  <wim@fluendo.com>
8259
8260         * gst/gsttask.c: (gst_task_init), (gst_task_func),
8261         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
8262         (gst_task_join):
8263         * gst/gsttask.h:
8264         Detect and warn for obvious deadlocks. fixes #320340
8265         Fix error case where lock was not released.
8266
8267         * tests/check/Makefile.am:
8268         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
8269         (task_func), (gst_element_suite), (main):
8270         Add task check.
8271
8272 2006-02-13  Wim Taymans  <wim@fluendo.com>
8273
8274         * docs/gst/gstreamer-sections.txt:
8275         * gst/gstbus.c:
8276         Add new functions to docs.
8277
8278 2006-02-13  Wim Taymans  <wim@fluendo.com>
8279
8280         * docs/design/part-TODO.txt:
8281         Updated TODO list, basesrc supports seeking to non-bytes
8282         formats.
8283
8284         * docs/design/part-element-sink.txt:
8285         Update docs.
8286
8287         * gst/gstbin.c: (bin_replace_message),
8288         (gst_bin_handle_message_func):
8289         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
8290         * gst/gstevent.c: (gst_event_finalize):
8291         * gst/gstpad.c: (gst_pad_event_default_dispatch),
8292         (gst_pad_send_event):
8293         Use shiny new _TYPE_NAME macros.
8294
8295         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8296         Move debug statement up.
8297
8298         * gst/gstelement.c: (gst_element_set_locked_state):
8299         Add some debugging.
8300
8301 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
8302
8303         * docs/gst/gstreamer-sections.txt:
8304         * gst/gstmessage.h:
8305         * gst/gstquery.h:
8306           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
8307           macros (#330906). Also, document the already existing
8308           GST_QUERY_TYPE macro.
8309
8310 2006-02-13  Wim Taymans  <wim@fluendo.com>
8311
8312         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
8313         (event_probe), (GST_START_TEST):
8314         Only events up to the pipeline EOS are counted, there are
8315         some more when going to NULL currently which we don't care
8316         about for now.
8317
8318 2006-02-13  Wim Taymans  <wim@fluendo.com>
8319
8320         * gst/gstpad.c: (gst_pad_send_event):
8321         Correctly check flushing and emit probes. fixes #330125
8322
8323 2006-02-10  Andy Wingo  <wingo@pobox.com>
8324
8325         * gst/gstbus.c (gst_bus_class_init): Declare our private data
8326         structure.
8327         (gst_bus_init): Cache the location of the private data in the
8328         instance structure.
8329         (gst_bus_enable_sync_message_emission) 
8330         (gst_bus_disable_sync_message_emission): Implement new public
8331         functions.
8332         (gst_bus_post): Emit the sync-message signal if the user asked for
8333         it. Fixes #330684.
8334
8335         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
8336         location of the bus-private structure.
8337         (gst_bus_enable_sync_message_emission)
8338         (gst_bus_disable_sync_message_emission): API addition
8339
8340 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
8341
8342         Patch by: Vincent Torri
8343
8344         * docs/pwg/building-boiler.xml:
8345         PWG patch from #326800
8346
8347 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
8348
8349         * configure.ac:
8350         * docs/Makefile.am:
8351         * docs/design/Makefile.am:
8352           Dist design docs.
8353
8354 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
8355
8356         * configure.ac:
8357           back to CVS
8358
8359 === release 0.10.3 ===
8360
8361 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
8362
8363         * configure.ac:
8364           releasing 0.10.3, "Like a virgin"
8365
8366 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
8367
8368         * configure.ac:
8369           2nd prerelease of 0.10.3
8370           Bump libtool versioning.
8371
8372 2006-02-07  Andy Wingo  <wingo@pobox.com>
8373
8374         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
8375         update last_stop if we're in TIME format and the timestamp is
8376         valid.
8377
8378         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
8379         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
8380         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
8381         If we get a new newsegment with a different format, adapt
8382         accordingly.
8383
8384         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
8385         of 0. Not a problem, really.
8386
8387         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
8388         warn if sync=true.
8389
8390 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
8391
8392         * configure.ac:
8393           Prelease of 0.10.3
8394
8395 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
8396
8397         * win32/vs7:
8398           project files updated to the default vs7 configuration
8399         * win32/common/libgstbase.def:
8400         * win32/common/libgstreamer.def:
8401           added new symbols,
8402           removed empty lines,
8403           sorted all exported symbols alphabetically
8404         * win32/common/dirent.c:
8405         * win32/common/dirent.h:
8406         * win32/common/gchar.h:
8407           use windows line end.
8408           
8409 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
8410
8411         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8412           Send EOS event when stopping.
8413
8414 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
8415
8416         * docs/README:
8417           Tell folks what to do if the plugin-foobar.xml file
8418           hasn't been generated for a newly-added plugin.
8419
8420 2006-02-05  Julien MOUTTE  <julien@moutte.net>
8421
8422         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8423         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8424         (gst_collect_pads_start), (gst_collect_pads_stop),
8425         (gst_collect_pads_event): Collectpads now holds a reference
8426         to the GstPad that was added. Indeed we don't want to look
8427         at pads that might just go away with no warning...
8428
8429 2006-02-05  Julien MOUTTE  <julien@moutte.net>
8430
8431         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8432         (gst_collect_pads_start), (gst_collect_pads_stop),
8433         (gst_collect_pads_event), (gst_collect_pads_chain):
8434         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
8435         Mark Nauwelaerts's patch on bug #328491.
8436
8437 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8438
8439         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
8440         (gst_utils_suite):
8441           Add some simple tests for gst_parse_bin_from_description() and
8442           gst_bin_find_unconnected_pad() (#329069).
8443
8444 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8445
8446         * tools/gst-launch.c: (event_loop), (main):
8447           Catch errors during preroll (#320084).
8448
8449 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
8450
8451         * plugins/elements/gsttypefindelement.c:
8452         (gst_type_find_element_activate):
8453           Post TYPE_NOT_FOUND error message when typefinding
8454           is unsuccessful in the activate function as well.
8455
8456 2006-02-02  Wim Taymans  <wim@fluendo.com>
8457
8458         * docs/design/part-element-sink.txt:
8459         Updated doc.
8460
8461 2006-02-02  Wim Taymans  <wim@fluendo.com>
8462
8463         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
8464         (gst_base_sink_render_object),
8465         (gst_base_sink_queue_object_unlocked):
8466         Only keep track of prerollable items when we are 
8467         prerolling.
8468         Before rendering after preroll, always check if we
8469         have queued items.
8470         Added some more debugging.
8471
8472 2006-02-02  Wim Taymans  <wim@fluendo.com>
8473
8474         * gst/gstelement.c: (gst_element_continue_state),
8475         (gst_element_set_state_func), (gst_element_change_state):
8476         Fixed #326576, been running this for quite some time with
8477         no regressions at all.
8478
8479 2006-02-02  Wim Taymans  <wim@fluendo.com>
8480
8481         * common/gst.supp:
8482         Added more suppressions
8483
8484 2006-02-02  Wim Taymans  <wim@fluendo.com>
8485
8486         * docs/design/part-element-sink.txt:
8487         Updated document.
8488
8489         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8490         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
8491         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
8492         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
8493         (gst_base_sink_do_sync), (gst_base_sink_render_object),
8494         (gst_base_sink_preroll_object),
8495         (gst_base_sink_queue_object_unlocked),
8496         (gst_base_sink_queue_object), (gst_base_sink_event),
8497         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
8498         (gst_base_sink_loop), (gst_base_sink_activate_pull),
8499         (gst_base_sink_get_position), (gst_base_sink_change_state):
8500         * libs/gst/base/gstbasesink.h:
8501         Totally refactored matching the design doc.
8502         Use two segments, one to clip incomming buffers and another to
8503         perform sync.
8504         Handle queueing correctly, bypass the queue when playing.
8505         Make EOS cancelable.
8506         Handle errors correctly when operating in pull based mode.
8507
8508         * tests/check/elements/fakesink.c: (GST_START_TEST),
8509         (fakesink_suite):
8510         Added new check for sinks.
8511
8512 2006-02-02  Wim Taymans  <wim@fluendo.com>
8513
8514         * gst/gstsegment.c: (gst_segment_clip):
8515         No reason to refuse to clip when start == -1
8516
8517 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
8518
8519         * docs/README:
8520         * docs/manual/intro-basics.xml:
8521         * docs/manual/intro-preface.xml:
8522         * docs/manual/manual.xml:
8523         * docs/pwg/advanced-dparams.xml:
8524         * docs/pwg/intro-basics.xml:
8525         * docs/pwg/intro-preface.xml:
8526         * docs/pwg/pwg.xml:
8527           describe dparams (controller) for plugins
8528           unify docs a little more
8529
8530 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
8531
8532         * docs/gst/gstreamer-sections.txt:
8533         * gst/gstutils.c: (element_find_unconnected_pad),
8534         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
8535         * gst/gstutils.h:
8536           Add new API: gst_parse_bin_from_description() and
8537           gst_bin_find_unconnected_pad() (#329069).
8538
8539 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
8540
8541         * docs/manual/README:
8542           uncover a nasty detail of the docs build
8543
8544 2006-01-31  Wim Taymans  <wim@fluendo.com>
8545
8546         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
8547         Don't cache duration messages if we're not going to use or
8548         free them.
8549
8550 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
8551
8552         * docs/manual/advanced-dparams.xml:
8553         * docs/pwg/advanced-dparams.xml:
8554           more dparam docs
8555         * gst/gstindex.c:
8556           fix docs
8557         * libs/gst/controller/lib.c: (gst_controller_init):
8558           init just once
8559
8560 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
8561
8562         * gst/gstelement.c: (gst_element_message_full):
8563           also show file/line/func if no additional debug was given
8564
8565 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
8566         
8567         * win32/vs7/grammar.vcproj:
8568           activate copy of autogenerated files for Release mode
8569
8570 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
8571         
8572         * win32/common/libgstreamer.def:
8573           export gst_value_compare
8574
8575 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
8576
8577         * plugins/elements/Makefile.am:
8578         * plugins/elements/gstelements.c:
8579         * plugins/elements/gstfdsink.c: (_do_init),
8580         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
8581         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
8582         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
8583         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
8584         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
8585         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
8586         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
8587         * plugins/elements/gstfdsink.h:
8588         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
8589
8590 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
8591
8592         * docs/manual/advanced-dparams.xml:
8593           describe controller
8594         * docs/manual/advanced-position.xml:
8595         * docs/manual/basics-init.xml:
8596         * docs/manual/manual.xml:
8597         * docs/manual/titlepage.xml:
8598         * docs/pwg/pwg.xml:
8599         * docs/pwg/titlepage.xml:
8600           cleanup xml (more to come)
8601         * libs/gst/controller/gstcontroller.c:
8602           fix typo
8603
8604 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
8605         
8606         * win32/vs6/grammar.dsp:
8607           add autogen of gstmarshal.c,h for Release mode
8608                 
8609 2006-01-30  Wim Taymans  <wim@fluendo.com>
8610
8611         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8612         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
8613         (gst_base_sink_handle_object), (gst_base_sink_event),
8614         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
8615         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8616         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
8617         (gst_base_sink_deactivate), (gst_base_sink_activate),
8618         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8619         (gst_base_sink_query), (gst_base_sink_change_state):
8620         Basesink cleanups, remove some old code.
8621         Handle the case where a subclass can preroll in the render
8622         method (mostly audiosinks).
8623         Handle more events.
8624         Remove some locks around variables that are now protected
8625         with the PREROLL_LOCK (clock_id, flushing, ..).
8626         Optimize position query some more, do correct locking.
8627         Remove old code to push queue in state change, this is not
8628         needed anymore since preroll blocks on all prerollable items 
8629         now.
8630         Almost implemented as described in design doc.
8631
8632 2006-01-30  Wim Taymans  <wim@fluendo.com>
8633
8634         * tests/check/gst/gstbin.c: (GST_START_TEST):
8635         Wait for refcount to settle down before checking.
8636
8637 2006-01-30  Wim Taymans  <wim@fluendo.com>
8638
8639         * docs/design/part-element-sink.txt:
8640         Pseudo code overview of desired sink behaviour regarding
8641         preroll.
8642
8643 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
8644         * win32/vs6/grammar.dsp:
8645           fix some bugs in Release mode for autogenerated files
8646                 
8647 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
8648         * win32/common/libgstbase.def:
8649         * win32/common/libgstreamer.def:
8650           export some new symbols: gst_base_src_set_format,
8651           gst_iterator_next, gst_structure_set_valist
8652
8653 2006-01-29  Julien MOUTTE  <julien@moutte.net>
8654
8655         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8656         Set pad functions unconditionally. Fixes #329105.
8657
8658 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
8659         * win32/vs8:
8660           add vs8 project files created by Sergey Scobich
8661
8662 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
8663
8664         * gst/gstutils.c: (gst_element_unlink_pads):
8665         Don't leak pad references.
8666
8667         * tests/check/elements/fakesink.c: (GST_START_TEST):
8668         * tests/check/generic/sinks.c: (GST_START_TEST):
8669         * tests/check/generic/states.c: (GST_START_TEST):
8670         * tests/check/gst/gstbin.c: (GST_START_TEST):
8671         * tests/check/gst/gstcaps.c: (GST_START_TEST):
8672         * tests/check/gst/gstelement.c: (GST_START_TEST):
8673         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8674         * tests/check/gst/gstiterator.c: (GST_START_TEST):
8675         * tests/check/gst/gstvalue.c: (GST_START_TEST):
8676         Fix a bunch of leaks. Make generic/sinks.c
8677         use a bit less cpu by slowing the buffer rate
8678         between fakesrc and fakesink.
8679         
8680 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
8681         * gst/gstcaps.c:
8682         * gst/gstelement.c: (gst_element_send_event):
8683         * gst/gstevent.c:
8684         * gst/gstinfo.c:
8685         * gst/gstiterator.c:
8686         * gst/gstiterator.h:
8687         * gst/gstpad.c: (gst_pad_send_event):
8688         * gst/gststructure.c:
8689         * gst/gsturi.c:
8690         * gst/gstutils.c:
8691         * gst/gstvalue.c:
8692         * libs/gst/base/gstadapter.c:
8693           doc fixes, to link to function, just write gst_cool_function(), don't
8694           prefix with '#'
8695
8696 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
8697
8698         * plugins/elements/gsttee.c: (gst_tee_do_push),
8699         (gst_tee_handle_buffer):
8700         Always prefer an actual return value from a src
8701         pad in place of NOT_LINKED. This means we return
8702         WRONG_STATE when all src pads are WRONG_STATE
8703         instead of NOT_LINKED.
8704
8705         Lock when replacing the last message to prevent
8706         racing with the get_property method.
8707
8708         Add debug output
8709
8710 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
8711
8712         * tests/check/Makefile.am:
8713         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
8714         (main):
8715         Add a very simple check that should have caught the memleak I fixed
8716         last night (if not for the slice allocator hiding it)
8717
8718 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
8719
8720         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8721         (gst_bin_remove_func), (gst_bin_handle_message_func),
8722         (bin_query_duration_fold), (bin_query_generic_fold):
8723         Clean up references to the clock provider when disposed or when
8724         handling a clock-lost message from it.
8725
8726         Unref sinks when performing a query via gst_iterator_fold, as the
8727         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
8728
8729         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
8730         (gst_clock_set_master):
8731         Drop our reference to the master clock, if any, when we are disposed.
8732
8733         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
8734         Chain up in dispose. 
8735
8736 2006-01-26  Wim Taymans  <wim@fluendo.com>
8737
8738         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8739         Add some debugging.
8740
8741 2006-01-26  Julien MOUTTE  <julien@moutte.net>
8742
8743         * plugins/elements/gsttee.c: (gst_tee_do_push),
8744         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
8745         handles pad being NOT_LINKED or in WRONG_STATE.
8746
8747 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
8748
8749         * win32/MANIFEST:
8750           more updating
8751
8752 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
8753
8754         * win32/MANIFEST:
8755           remove obsolete entry
8756
8757 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
8758
8759         * docs/gst/gstreamer-sections.txt:
8760         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
8761         (gst_bin_iterate_sources), (gst_bin_send_event):
8762         * gst/gstbin.h:
8763         * gst/gstelement.c: (gst_element_send_event):
8764         * gst/gstevent.c:
8765         * gst/gstpad.c: (gst_pad_send_event):
8766           added code for downstream events, reviewed docs in gstevent.c
8767
8768 2006-01-25  Julien MOUTTE  <julien@moutte.net>
8769
8770         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8771         We only query position using the clock in the playing state.
8772         Query peer in the other cases.
8773         * win32/common/config.h: Updates.
8774
8775 2006-01-24  Wim Taymans  <wim@fluendo.com>
8776
8777         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8778         A clock entry that is scheduled for the exact time of the
8779         clock is still in time.
8780
8781         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8782         (gst_base_sink_do_sync):
8783         Add some more debug info.
8784
8785 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
8786
8787         * win32/vs7:
8788           Add new vs7 project files and solution.
8789
8790 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
8791
8792         * win32/vs7:
8793           all files removed as they were out-dated.
8794
8795 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8796
8797         * docs/random/release:
8798           update notes
8799         * gst/gstbin.c: (gst_bin_init):
8800         * gst/gstbus.c: (gst_bus_new):
8801         * gst/gstbus.h:
8802         * gst/gstpipeline.c: (gst_pipeline_init):
8803           use gst_bus_new(), improve logging, fix docs
8804         * win32/common/config.h:
8805           update for cvs build
8806
8807 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8808
8809         * autogen.sh:
8810           up required version of automake to 1.7
8811
8812 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
8813
8814         * win32/common/libgstreamer.def:
8815           export gst_buffer_is_metadata_writable
8816
8817 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
8818
8819         * docs/gst/gstreamer-sections.txt:
8820         * gst/gstevent.h:
8821           Add gst_event_replace() (#327001)
8822
8823 2006-01-20  Wim Taymans  <wim@fluendo.com>
8824
8825         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8826         Make it actually compile too..
8827
8828 2006-01-20  Wim Taymans  <wim@fluendo.com>
8829
8830         * gst/gstcaps.c:
8831         Clarify behaviour of _is_equal() when passing NULL parameters.
8832
8833         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8834         (gst_pad_set_caps):
8835         Cleanups. Don't unref NULL caps.
8836         When setting the same caps, protect caps of the pad with
8837         proper lock.
8838         Use full functionality of _is_equal() when comparing caps.
8839
8840 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
8841
8842         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
8843         Don't loop infinitely if there are no buffers to present. Partially
8844         fixes #327197, but collectpads is just broken for reusing elements
8845         to do multiple encodes atm.
8846
8847 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
8848
8849         * tools/gst-inspect.c: (print_element_features):
8850         * tools/gst-xmlinspect.c: (main):
8851         URL_HANDLER is not a plugin feature we can search for in
8852         the registry.
8853
8854 2006-01-19  Edward Hervey  <edward@fluendo.com>
8855
8856         * gst/gstelement.c: (gst_element_pads_activate): 
8857         When activating, do src pads first, then sink pads.
8858         When de-activating, do sink pads first, then src pads.
8859
8860 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8861
8862         * docs/gst/gstreamer-sections.txt:
8863         Add gst_index_add_associationv to the docs
8864
8865 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8866
8867         * gst/gstevent.c:
8868           Fix docs typo
8869
8870         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
8871         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
8872           Do some refactoring. Doesn't actually change functionality,
8873           but makes landing the DRAIN event easier later.
8874
8875 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
8876
8877         * docs/pwg/advanced-scheduling.xml:
8878           Update from 0.9.x to 0.10 API and make example a bit
8879           clearer.
8880
8881 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8882
8883         * docs/gst/gstreamer-sections.txt:
8884         Add gst_buffer_(is|make)_metadata_writable methods.
8885
8886 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8887
8888         * docs/design/part-sparsestreams.txt:
8889         Update sparse streams doc, hopefully for greater clarity
8890
8891 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
8892
8893         * docs/design/part-events.txt:
8894         Remove mention of FILLER events.
8895         Add DRAIN event.
8896
8897         * docs/design/part-sparsestreams.txt:
8898         Write some things about using NEWSEGMENT to keep sparse streams
8899         flowing.
8900
8901 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
8902
8903         * gst/gstbin.c: (gst_bin_dispose):
8904           Guard gst_object_unref call against a NULL object (dispose
8905           can theoretically be called multiple times).
8906           
8907 2006-01-18  Wim Taymans  <wim@fluendo.com>
8908
8909         * gst/gstbin.c: (gst_bin_element_set_state):
8910         * gst/gstclock.c: (gst_clock_id_wait):
8911         Added some more debug info.
8912
8913         * libs/gst/base/gstadapter.c:
8914         Added more docs.
8915
8916         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8917         (gst_base_sink_do_sync), (gst_base_sink_chain):
8918         Added some comments.
8919
8920 2006-01-18  Wim Taymans  <wim@fluendo.com>
8921
8922         * tests/check/Makefile.am:
8923         * tests/check/elements/fakesink.c: (chain_async_buffer),
8924         (chain_async), (chain_async_return), (GST_START_TEST),
8925         (fakesink_suite), (main):
8926         Added fakesink test that checks prerolling and clipping
8927         behaviour.
8928
8929         * tests/check/gst/gstutils.c: (GST_START_TEST):
8930         Make check run faster so that buildbots don't timeout.
8931
8932 2006-01-18  Wim Taymans  <wim@fluendo.com>
8933
8934         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8935         (gst_base_sink_do_sync):
8936         Some cleanups.
8937         When the sink finishes blocking on the preroll buffer, it can
8938         immediatly render it instead of rendering when the next buffer
8939         arrives.
8940
8941 2006-01-18  Wim Taymans  <wim@fluendo.com>
8942
8943         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
8944         (gst_base_sink_get_property), (gst_base_sink_do_sync),
8945         (gst_base_sink_chain):
8946         Small cleanups.
8947         GST_ELEMENT_CLOCK and sync are protected with LOCK.
8948         Don't store _last_stop if the buffer is dropped.
8949
8950 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
8951
8952         * plugins/elements/gsttypefindelement.c:
8953         (gst_type_find_element_class_init):
8954           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
8955           object method handler that sets the caps on the pad and we want
8956           that to happen before we emit the signal (fixes e.g. feeding a
8957           plain text file to decodebin).
8958
8959 2006-01-18  Christian Schaller  <Christian@fluendo.com>
8960
8961         * gst/gstplugin.c: Add MPL and Proprietary as license options
8962
8963 2006-01-18  Andy Wingo  <wingo@pobox.com>
8964
8965         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
8966         symbol was exported before, it appears this was just an oversight.
8967         Fixes #168703.
8968         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
8969
8970         * gst/gstindex.c (gst_index_add_associationv): Changed int in
8971         prototype to gint. OK since this prototype was not in the header.
8972
8973 2006-01-17  Andy Wingo  <wingo@pobox.com>
8974
8975         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
8976         registry while we remove plugins.
8977
8978         * tools/gst-inspect.c (print_element_info): Don't unref the
8979         factory arg, that should be the responsibility of whatever code
8980         received the ref. Fixes a double-free when called from
8981         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
8982         (main): Unref the factory if we have one.
8983         (print_element_list): No change -- relies on the
8984         plugin_feature_list_free to free the list of features.
8985
8986 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
8987
8988         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
8989         (gst_buffer_make_metadata_writable):
8990         * gst/gstbuffer.h:
8991         * libs/gst/base/gstbasetransform.c:
8992         (gst_base_transform_prepare_output_buf):
8993         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8994         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8995           Replace gst_buffer_(make|is)_metadata_writable patch now
8996           that the release is out.
8997
8998 2006-01-17  Andy Wingo  <wingo@pobox.com>
8999
9000         * gst/gstregistry.c: Reflow design comment. Update so as to speak
9001         in the present tense without reference to versions.
9002
9003         * gst/gstregistry.c (gst_registry_add_plugin)
9004         (gst_registry_remove_plugin, gst_registry_remove_feature)
9005         (gst_registry_find_feature, gst_registry_get_feature_list)
9006         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
9007         (gst_registry_lookup, gst_registry_scan_path)
9008         (_gst_registry_remove_cache_plugins)
9009         (gst_registry_get_feature_list_by_plugin): Add argument
9010         validation.
9011
9012 === release 0.10.2 ===
9013
9014 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
9015
9016         * configure.ac:
9017           releasing 0.10.2, "If man is five"
9018
9019 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
9020
9021         * gst/gstbuffer.c:
9022         * gst/gstbuffer.h:
9023         * libs/gst/base/gstbasetransform.c:
9024         (gst_base_transform_prepare_output_buf):
9025         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9026         * tests/check/gst/gstbuffer.c: (gst_test_suite):
9027           Back out patch until after the release.
9028
9029 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
9030
9031         * gst/gstminiobject.c:
9032           Spelling fix in docs.
9033         * ChangeLog - remove conflict indicator
9034
9035 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
9036
9037         Reviewed By: Andy Wingo
9038
9039         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
9040         (gst_buffer_make_metadata_writable):
9041         * gst/gstbuffer.h:
9042           Add gst_buffer_(is|make)_metadata_writable as analogues of
9043           gst_buffer_(is|make)_writable.
9044
9045         * libs/gst/base/gstbasetransform.c:
9046         (gst_base_transform_prepare_output_buf):
9047         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9048           Use name gst_buffer_(is|make)_metadata_writable functions.
9049
9050         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9051           Test gst_buffer_(is|make)_metadata_writable
9052         
9053           (Closes: #324162)
9054
9055 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9056
9057         * docs/manual/Makefile.am:
9058           don't do parallel make
9059         * configure.ac:
9060           AC_SUBST HOST_CPU
9061         * win32/common/config.h.in:
9062           add generations for HOST_CPU and GST_MAJORMINOR
9063         * win32/common/config.h:
9064           commit generated result
9065
9066 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
9067
9068         * docs/manual/appendix-integration.xml:
9069           Update GNOME integration section to use gst_init_get_option_group()
9070           instead of the old popt stuff (#322911). Also, GNOME applications
9071           should  now use gconf*sink and gconf*src instead of the old gconf
9072           helper lib we had.
9073
9074 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
9075
9076
9077         * docs/gst/gstreamer-docs.sgml:
9078         * docs/gst/gstreamer-sections.txt:
9079         * docs/libs/gstreamer-libs-sections.txt:
9080           add new API entries to the docs
9081         * libs/gst/controller/Makefile.am:
9082         * libs/gst/controller/gstcontroller.c:
9083         * libs/gst/controller/gstcontroller.h:
9084         * libs/gst/controller/gstcontrollerprivate.h:
9085         * libs/gst/controller/gsthelper.c:
9086         * libs/gst/controller/gstinterpolation.c:
9087           move private structs to private header
9088         * po/README:
9089           gstreamer-0.7 -> gstreamer-0.10
9090         * tests/check/libs/struct_i386.h:
9091           remove private structs
9092
9093 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9094
9095         * plugins/indexers/Makefile.am:
9096           Fixes as part of #317048
9097
9098 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9099
9100         * plugins/indexers/Makefile.am:
9101           fix #316086 - compilation when mmap is missing
9102
9103 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
9104
9105         * libs/gst/base/gstbasesink.c:
9106           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
9107           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
9108         * win32/common/config.h:
9109           added some defines GST_MAJORMINOR and HOST_CPU
9110         * win32/common/libgstbase.def:
9111         * win32/common/libgstreamer.def:
9112           added some exported functions.
9113
9114 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
9115
9116         * libs/gst/controller/gstcontroller.c:
9117         (gst_controlled_property_set_interpolation_mode),
9118         (gst_controlled_property_new):
9119         * libs/gst/controller/gstcontroller.h:
9120         * libs/gst/controller/gstinterpolation.c:
9121         (interpolate_none_get_string_value_array):
9122           make G_TYPE_STRING controlable
9123
9124 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
9125
9126         * tools/README:
9127         * tools/gst-feedback.1.in:
9128         * tools/gst-inspect.1.in:
9129         * tools/gst-launch.1.in:
9130         * tools/gst-md5sum.1.in:
9131         * tools/gst-typefind.1.in:
9132         * tools/gst-xmlinspect.1.in:
9133         * tools/gst-xmllaunch.1.in:
9134           cleanup man-pages, remove reference to gst-register, document env-vars
9135
9136 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
9137
9138         * gst/gstbuffer.c: (gst_buffer_span):
9139           gst_buffer_span should copy the timestamp of the first buffer
9140           if they were both originally overlapping subbuffers of the 
9141           same parent, using the same logic as the 'slow copy' case.
9142
9143 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
9144
9145         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
9146           Need to awaken ALL the pads when we pop a buffer, otherwise
9147           collectpads only works when there is 2 input streams.
9148
9149 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
9150
9151         * docs/random/ensonic/media-device-daemon.txt:
9152           more ideas (dbus)
9153         * gst/gstbuffer.c:
9154           fix doc example, add clarification
9155         * tools/gst-launch.1.in:
9156           add initial info about GST_PLUGIN_PATH, needs more work
9157
9158 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
9159
9160         * docs/manual/basics-bins.xml:
9161         * docs/manual/basics-elements.xml:
9162         * docs/manual/intro-basics.xml:
9163           Some more minor docs additions and updates.
9164
9165 2006-01-11  Wim Taymans  <wim@fluendo.com>
9166
9167         * docs/manual/basics-bins.xml:
9168         * docs/manual/basics-elements.xml:
9169         Some small fixes as pointed out by Ser-ver on IRC.
9170
9171 2006-01-10  Edward Hervey  <edward@fluendo.com>
9172
9173         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9174         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
9175         the single-segment mode.
9176
9177 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
9178
9179         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9180
9181         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
9182         (gst_base_src_perform_seek), (gst_base_src_send_event),
9183         (gst_base_src_set_property), (gst_base_src_get_property),
9184         (gst_base_src_loop), (gst_base_src_start),
9185         (gst_base_src_activate_push):
9186         * libs/gst/base/gstbasesrc.h:
9187           Name (private) union; makes Sun's Forte compiler happy (#324900).
9188
9189 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
9190
9191         * README:
9192           gst-register is gone.
9193
9194 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9195
9196         * gst/gstvalue.c: (_gst_value_initialize):
9197           make the G_TYPE_DATE instantiation work if debug is disabled
9198
9199 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
9200
9201         * gst/gstmessage.c: (gst_message_parse_tag),
9202         (gst_message_parse_error), (gst_message_parse_warning):
9203           Don't crash when return location for error/warning debug
9204           string is NULL; add fact that return locations can be
9205           NULL to docs where appropriate.
9206
9207 2006-01-05  Wim Taymans  <wim@fluendo.com>
9208
9209         * gst/gstplugin.c: (gst_plugin_load_file):
9210         Replace strdup by g_strdup.
9211
9212 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9213
9214         * docs/pwg/advanced-types.xml:
9215           fix doc borkage
9216
9217 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9218
9219         submitted by: Abel Cheung
9220
9221         * po/LINGUAS:
9222         * po/zh_TW.po:
9223           Added Chinese (traditional) translation
9224
9225 2006-01-04  Wim Taymans  <wim@fluendo.com>
9226
9227         * docs/manual/basics-pads.xml:
9228         * docs/plugins/Makefile.am:
9229         * docs/plugins/gstreamer-plugins-docs.sgml:
9230         * docs/plugins/gstreamer-plugins-sections.txt:
9231         * docs/pwg/advanced-clock.xml:
9232         * docs/pwg/advanced-scheduling.xml:
9233         * docs/pwg/advanced-types.xml:
9234         * plugins/elements/gstfdsink.c:
9235         * plugins/elements/gstfdsrc.c:
9236         * plugins/elements/gstfdsrc.h:
9237         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9238         * plugins/elements/gstidentity.h:
9239         * plugins/elements/gstqueue.h:
9240         * plugins/elements/gsttee.c:
9241         * plugins/elements/gsttee.h:
9242         * plugins/elements/gsttypefindelement.c:
9243         (gst_type_find_element_class_init):
9244         * plugins/elements/gsttypefindelement.h:
9245         Small updates to various docs.
9246         Added core plugins to docs.
9247
9248 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9249
9250         * common/gst.supp:
9251           add a suppression for liboil's uninitialized variable
9252
9253 2006-01-02  James Livingston  <jrl at ids dot org dot au>
9254
9255         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9256
9257         * gst/gstutils.h:
9258           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
9259           macro, so that gcc doesn't complain if the -Wmissing-prototypes
9260           compiler switch is being used (#325429).
9261
9262 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
9263
9264         * gst/gstbin.c: (gst_bin_query):
9265           Disable duration query caching in bins until it gets
9266           fixed (see #324807).
9267
9268 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
9269
9270         * tools/gst-inspect.c: (print_element_properties_info):
9271           Handle properties of POINTER and BOXED type.
9272
9273 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
9274
9275         * gst/gst.c: (init_post):
9276           Init tags stuff and some other things before loading
9277           any static plugins (there may be other static plugins
9278           than just the GStreamer ones, and they may want to
9279           register their own tags or formats or whatever, and
9280           preferably without segfaulting).
9281
9282         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
9283           Print at least a warning in the debug logs if we drop a
9284           query just because we don't know how to adjust the value
9285           in the particular format.
9286
9287 2005-12-24  David Schleef  <ds@schleef.org>
9288
9289         * tools/gstreamer-completion:
9290           Replacement for gst-complete written in sh and sed.  Only
9291           completes names of features, but that's 90% of what I want
9292           it for.  Properties are not available in registry.xml.  (Maybe
9293           they should be...)
9294
9295 === release 0.10.1 ===
9296
9297 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
9298
9299         * configure.ac:
9300           releasing 0.10.1, "Nollaig chridheil"
9301
9302 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
9303
9304         * docs/faq/cvs.xml:
9305           Add missing quote, should be make ERROR_CFLAGS="".
9306
9307 2005-12-20  Wim Taymans  <wim@fluendo.com>
9308
9309         * docs/design/part-trickmodes.txt:
9310         More documentation on trickmodes.
9311
9312 2005-12-20  Edward Hervey  <edward@fluendo.com>
9313
9314         * gst/gstcaps.c: (gst_static_caps_get_type):
9315         * gst/gstcaps.h:
9316           API addition: GST_TYPE_STATIC_CAPS
9317         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
9318         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
9319         * gst/gstpadtemplate.h:
9320           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
9321         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
9322         bindings.
9323
9324 2005-12-18  Wim Taymans  <wim@fluendo.com>
9325
9326         * libs/gst/base/gstadapter.c:
9327         * libs/gst/base/gstadapter.h:
9328         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9329         (gst_base_sink_get_position):
9330         * libs/gst/base/gstbasesink.h:
9331         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9332         (gst_base_src_default_query), (gst_base_src_default_do_seek),
9333         (gst_base_src_do_seek), (gst_base_src_perform_seek),
9334         (gst_base_src_send_event), (gst_base_src_update_length),
9335         (gst_base_src_get_range), (gst_base_src_loop),
9336         (gst_base_src_start):
9337         * libs/gst/base/gstbasesrc.h:
9338         * libs/gst/base/gstbasetransform.h:
9339         * libs/gst/base/gstcollectpads.h:
9340         * libs/gst/base/gstpushsrc.c:
9341         * libs/gst/base/gstpushsrc.h:
9342         * libs/gst/dataprotocol/dataprotocol.c:
9343         * libs/gst/dataprotocol/dataprotocol.h:
9344         * libs/gst/net/gstnetclientclock.h:
9345         * libs/gst/net/gstnettimeprovider.h:
9346         Documentation updates.
9347
9348 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
9349
9350         * docs/manual/basics-helloworld.xml:
9351           Remove superfluous closing bracket in helloworld example.
9352
9353 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
9354
9355         * tools/gst-launch.1.in:
9356           Update gst-launch man page; add a section with useful
9357           environment variables. Fixes #323882.
9358
9359 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
9360
9361         * gst/gst.c:
9362         * gst/gst_private.h:
9363           change some char* into char[]
9364
9365 2005-12-16  Wim Taymans  <wim@fluendo.com>
9366
9367         * gst/gstregistryxml.c: (load_feature):
9368         Cleanups.
9369         Don't use g_object_unref on GstObjects so that we avoid
9370         leaks on unsafe glibs.
9371
9372 2005-12-16  Wim Taymans  <wim@fluendo.com>
9373
9374         * gst/gstbin.c: (gst_bin_recalc_state):
9375         Small doc updates.
9376
9377 2005-12-16  Wim Taymans  <wim@fluendo.com>
9378
9379         * common/check.mak:
9380         Added make forever target for check.
9381
9382 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9383
9384         * gst/gst.c: (init_post):
9385           make the registry cache file HOST_CPU-dependent
9386
9387 2005-12-16  Andy Wingo  <wingo@pobox.com>
9388
9389         * plugins/elements/gstbufferstore.c
9390         (gst_buffer_store_cleared_func): Pay attention to g_list_append
9391         return value.
9392
9393         * tests/check/gst/gstobject.c
9394         (test_fake_object_name_threaded_unique): Pay attention to
9395         g_list_sort return value.
9396
9397 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9398
9399         * tools/gst-feedback-m.m:
9400           Update for 0.9/0.10 (fixes #323870).
9401
9402 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
9403
9404         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
9405           Fix lcopy for mini objects, the mini object needs to be ref'ed.
9406           
9407         * tests/check/gst/gstminiobject.c: (my_foo_init),
9408         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
9409         (test_value_collection), (gst_mini_object_suite):
9410           Add test to ensure refcounts end up as expected when passing
9411           GstMiniObjects through g_object_get() and g_object_set().
9412
9413 2005-12-14  Julien MOUTTE  <julien@moutte.net>
9414
9415         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9416         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
9417         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
9418         of collectpads. This version removes a lot of races without
9419         touching API/ABI. Yay !
9420
9421 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
9422
9423         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
9424           Don't allow activation of a srcpad in pull_range if it has no
9425           getrange function.
9426           Change some debug statements to be a little clearer
9427
9428         * plugins/elements/gsttypefindelement.c:
9429         (gst_type_find_handle_src_query):
9430           Check that we have a peer before executing queries thereupon.
9431
9432         * tests/examples/metadata/read-metadata.c: (message_loop):
9433           Use gst_bus_pop instead of gst_bus_poll when we just want it to
9434           immediately return us any available message with 0 timeout.
9435
9436 2005-12-12  Michael Smith  <msmith@fluendo.com>
9437
9438         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9439           Don't unref factories after calling them.
9440         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
9441         * plugins/elements/gsttypefindelement.c:
9442         (gst_type_find_element_chain):
9443           Free lists of factories after using them. Fixing typefinding memory
9444           leaks.
9445
9446 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9447
9448         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
9449         (gst_plugin_feature_load):
9450           more meaningful debug output
9451         * configure.ac:
9452         * tests/Makefile.am:
9453         * tests/old/examples/Makefile.am:
9454           make make distcheck happy again
9455
9456 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9457
9458         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9459           Catch the special case where we are operating chain-based,
9460           but the downstream peer pad has no chain function. Emit a
9461           custom error message in this case instead of letting the
9462           core generate one implying that this is some sort of core
9463           bug. It's not, it just means that whatever got plugged
9464           into the pipeline downstream when we announced the type
9465           can only operate pull-based, while our source can only
9466           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
9467           Error string has not been marked for translation yet, as
9468           it probably needs some more work first.
9469
9470         (gst_type_find_element_get_best_possibility):
9471           Add helper function to find the best of all available
9472           found possibilities that qualify given the min. threshold.
9473
9474         (gst_type_find_element_handle_event):
9475           Fix the case where we get an EOS while still in TYPEFIND
9476           mode (we want to chose the best of all possible types,
9477           not just the first type that happens to be in our unsorted
9478           list of possible types).
9479
9480         (gst_type_find_element_chain):
9481           Make sure we return GST_FLOW_ERROR when we errored out
9482           in stop_typefinding(); also, don't just find the best of
9483           all found type entries and then use the last examined
9484           type entry, but actually use the best entry.
9485
9486 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9487
9488         * tests/examples/typefind/typefind.c: (type_found):
9489         * tests/examples/xml/runxml.c: (xml_loaded):
9490           More gcc4 fixes and a mem leak fix.
9491
9492 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9493
9494         * tests/examples/xml/createxml.c: (object_saved):
9495           gcc 4 fixes
9496
9497 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9498
9499         * tests/Makefile.am:
9500           enable the examples even more
9501
9502 2005-12-12  Andy Wingo  <wingo@pobox.com>
9503
9504         * libs/gst/net/gstnettimeprovider.c
9505         (gst_net_time_provider_class_init, gst_net_time_provider_init)
9506         (gst_net_time_provider_set_property)
9507         (gst_net_time_provider_get_property):
9508         API addition: Export "active" as a GObject property.
9509         (gst_net_time_provider_thread): Only respond to time queries if
9510         the time provider is active.
9511
9512         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
9513         NetTimeProvider, preserving binary compat.
9514
9515 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9516
9517         * tests/examples/controller/audio-example.c: (main):
9518         * tests/examples/launch/Makefile.am:
9519           convert comments again
9520
9521 2005-12-12  Wim Taymans  <wim@fluendo.com>
9522
9523         * libs/gst/base/gstpushsrc.c:
9524         Fix typo.
9525
9526 2005-12-12  Wim Taymans  <wim@fluendo.com>
9527
9528         * docs/libs/gstreamer-libs-sections.txt:
9529         Added new symbol to docs.
9530
9531         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9532         (gst_base_src_init), (gst_base_src_set_format),
9533         (gst_base_src_default_query), (gst_base_src_query),
9534         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
9535         (gst_base_src_perform_seek), (gst_base_src_send_event),
9536         (gst_base_src_default_event), (gst_base_src_event_handler),
9537         (gst_base_src_set_property), (gst_base_src_get_property),
9538         (gst_base_src_wait), (gst_base_src_do_sync),
9539         (gst_base_src_update_length), (gst_base_src_get_range),
9540         (gst_base_src_check_get_range), (gst_base_src_loop),
9541         (gst_base_src_default_negotiate), (gst_base_src_start),
9542         (gst_base_src_activate_push), (gst_base_src_activate_pull),
9543         (gst_base_src_change_state):
9544         * libs/gst/base/gstbasesrc.h:
9545         Implement seeking to other formats than _BYTES.
9546         Implement more seeking methods correctly.
9547         Doc updates.
9548         Added query vmethod.
9549         Added do_seek vmethod to make life easier for subclasses
9550         when seeking.
9551         API addition: gst_base_src_set_format()
9552
9553 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9554
9555         * tests/examples/Makefile.am:
9556           added that too
9557
9558 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9559
9560         * configure.ac:
9561         * docs/random/ensonic/media-device-daemon.txt:
9562         * tests/examples/controller/.cvsignore:
9563         * tests/examples/controller/Makefile.am:
9564         * tests/examples/controller/audio-example.c: (main):
9565         * tests/examples/helloworld/.cvsignore:
9566         * tests/examples/helloworld/Makefile.am:
9567         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
9568         * tests/examples/launch/.cvsignore:
9569         * tests/examples/launch/Makefile.am:
9570         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
9571         * tests/examples/metadata/.cvsignore:
9572         * tests/examples/metadata/Makefile.am:
9573         * tests/examples/metadata/read-metadata.c: (message_loop),
9574         (make_pipeline), (print_tag), (main):
9575         * tests/examples/queue/.cvsignore:
9576         * tests/examples/queue/Makefile.am:
9577         * tests/examples/queue/queue.c: (event_loop), (main):
9578         * tests/examples/typefind/.cvsignore:
9579         * tests/examples/typefind/Makefile.am:
9580         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
9581         (main):
9582         * tests/examples/xml/.cvsignore:
9583         * tests/examples/xml/Makefile.am:
9584         * tests/examples/xml/createxml.c: (object_saved), (main):
9585         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
9586         * tests/old/examples/Makefile.am:
9587         * tests/old/examples/TODO:
9588         * tests/old/examples/controller/.cvsignore:
9589         * tests/old/examples/controller/Makefile.am:
9590         * tests/old/examples/controller/audio-example.c:
9591         * tests/old/examples/helloworld/.cvsignore:
9592         * tests/old/examples/helloworld/Makefile.am:
9593         * tests/old/examples/helloworld/helloworld.c:
9594         * tests/old/examples/launch/.cvsignore:
9595         * tests/old/examples/launch/Makefile.am:
9596         * tests/old/examples/launch/mp3parselaunch.c:
9597         * tests/old/examples/launch/mp3play:
9598         * tests/old/examples/manual/Makefile.am:
9599         * tests/old/examples/metadata/Makefile.am:
9600         * tests/old/examples/metadata/read-metadata.c:
9601         * tests/old/examples/queue/.cvsignore:
9602         * tests/old/examples/queue/Makefile.am:
9603         * tests/old/examples/queue/queue.c:
9604         * tests/old/examples/typefind/.cvsignore:
9605         * tests/old/examples/typefind/Makefile.am:
9606         * tests/old/examples/typefind/typefind.c:
9607         * tests/old/examples/xml/.cvsignore:
9608         * tests/old/examples/xml/Makefile.am:
9609         * tests/old/examples/xml/createxml.c:
9610         * tests/old/examples/xml/runxml.c:
9611           applied some simple fixing to some examples
9612           re-enabled the working examples
9613
9614 2005-12-12  Wim Taymans  <wim@fluendo.com>
9615
9616         * gst/gstsegment.c: (gst_segment_init),
9617         (gst_segment_set_last_stop), (gst_segment_set_seek),
9618         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
9619         (gst_segment_to_running_time):
9620         Added more documentation.
9621         Make sure the last_pos value is updated properly.
9622         Make sure to_stream_time and to_running_time don't
9623         operate on wrong values.
9624
9625         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9626         Update check.
9627
9628 2005-12-12  Michael Smith  <msmith@fluendo.com>
9629
9630         * plugins/elements/gsttypefindelement.c: (free_entry),
9631         (gst_type_find_element_chain):
9632           Now that we're not leaking factories, make sure we keep references
9633           to them while we need them.
9634
9635 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9636
9637         * tests/check/gst/struct_i386.h:
9638           ifdef out the XML structs
9639
9640 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9641
9642         * gst/gstvalue.c: (gst_value_transform_double_fraction):
9643           floor is not needed, F is always positive; this obviates the
9644           need for adding -lm when building without libxml
9645
9646 2005-12-12  Wim Taymans  <wim@fluendo.com>
9647
9648         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9649         Take current playback rate into account when reporting
9650         the position.
9651
9652 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9653
9654         * docs/manual/mime-world.fig:
9655           Let's try this again, this time with a file that is
9656           actually in XFig format.
9657
9658 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9659
9660         * docs/manual/mime-world.fig:
9661           Add audioconvert element to diagram so that it
9662           matches the text and the code (fixes #319526).
9663
9664 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9665
9666         * docs/pwg/building-chainfn.xml:
9667         * docs/pwg/building-pads.xml:
9668         * docs/pwg/building-state.xml:
9669         * docs/pwg/other-source.xml:
9670           Update state change stuff for 0.10 (fixes #322969).
9671
9672 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9673
9674         * docs/manual/advanced-dataaccess.xml:
9675         * docs/manual/appendix-checklist.xml:
9676         * docs/manual/appendix-programs.xml:
9677         * docs/manual/basics-pads.xml:
9678         * docs/manual/highlevel-components.xml:
9679         * docs/manual/manual.xml:
9680           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
9681           add converters in front of pipelines; remove curly
9682           brackets for threads stuff, they no longer exist; use
9683           GST_TYPE_FRACTION for framerates; update some pieces of
9684           code to 0.10, but there's plenty more to do.
9685
9686         * docs/manual/appendix-porting.xml:
9687           Expand on asynchroneous state changes; s/0.9/0.10/;
9688           mention disappearance of gst_init_get_popt_table()
9689           (fixes #322916).
9690
9691 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9692
9693         * docs/faq/using.xml:
9694           Spider no longer exists, and neither does gst-launch-ext.
9695           Update examples to use decodebin and playbin and put
9696           converters in front of sinks (fixes #323726).
9697
9698 2005-12-09  Michael Smith  <msmith@fluendo.com>
9699
9700         * plugins/elements/gsttypefindelement.c: (find_peek),
9701         (gst_type_find_element_chain):
9702           Fix leaking element factories in typefinding.
9703           Fix problem where we forgot about a probable type on non-seekable
9704           files, and thus later mis-typefound it.
9705
9706 2005-12-09  Michael Smith  <msmith@fluendo.com>
9707
9708         * common/m4/gst-makecontext.m4:
9709         * common/m4/gst-mcsc.m4:
9710         * configure.ac:
9711         * win32/common/config.h:
9712         * win32/common/config.h.in:
9713           Remove makecontext stuff; not used in 0.10 and causes problems on
9714           HPUX according to bug #322441
9715
9716 2005-12-07  Wim Taymans  <wim@fluendo.com>
9717
9718         * tests/check/Makefile.am:
9719         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
9720         (main):
9721         * tests/check/libs/struct_i386.h:
9722         Added ABI check for libs
9723
9724 2005-12-07  Wim Taymans  <wim@fluendo.com>
9725
9726         * tests/check/Makefile.am:
9727         And add the struct_i386.h to dist.
9728
9729 2005-12-07  Wim Taymans  <wim@fluendo.com>
9730
9731         * tests/check/Makefile.am:
9732         * tests/check/gst/.cvsignore:
9733         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
9734         (main):
9735         * tests/check/gst/struct_i386.h:
9736         Added check for ABI compatibility.
9737
9738 2005-12-07  Wim Taymans  <wim@fluendo.com>
9739
9740         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9741         (gst_fake_src_get_times), (gst_fake_src_create):
9742         Fix broken sync option, fixes #323259
9743
9744 2005-12-07  Wim Taymans  <wim@fluendo.com>
9745
9746         * gst/gstbuffer.c:
9747         Small docs update.
9748
9749         * gst/gstcaps.c: (gst_caps_is_equal):
9750         Don't assert on NULL <--> X. Fixes #323260
9751
9752         * gst/gstminiobject.c: (gst_mini_object_replace):
9753         If we're doing atomic operations, we might just as well use
9754         the proper way to get an atomic pointer.
9755
9756         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9757         Clean up debugging.
9758
9759 2005-12-07  Michael Smith  <msmith@fluendo.com>
9760
9761         * gst/parse/grammar.y:
9762           Remove handling of { } for threads.
9763
9764 2005-12-06  David Schleef  <ds@schleef.org>
9765
9766         * libs/gst/base/gstbasetransform.c: speling fix.
9767
9768 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9769
9770         * docs/libs/tmpl/gstdataprotocol.sgml:
9771         * docs/random/omega/testing/gstobject.c:
9772         * gst/gst.c:
9773         * gst/gstclock.c:
9774         * gst/gstelement.c:
9775         * gst/gstelementfactory.c:
9776         * gst/gsterror.c:
9777         * gst/gstevent.c:
9778         * gst/gstghostpad.c:
9779         * gst/gstinfo.c:
9780         * gst/gstpadtemplate.c:
9781         * gst/gstregistryxml.c:
9782         * gst/gsttaglist.c:
9783         * gst/gsttagsetter.c:
9784         * gst/gsttypefind.c:
9785         * gst/gstvalue.c:
9786         * libs/gst/base/gstbasesrc.c:
9787         * libs/gst/net/gstnetclientclock.c:
9788         * libs/gst/net/gstnettimeprovider.c:
9789         * plugins/elements/gstfakesrc.c:
9790         * plugins/elements/gstfdsrc.c:
9791         * plugins/elements/gstfilesrc.c:
9792         * plugins/elements/gstidentity.c:
9793         * plugins/elements/gstqueue.c:
9794         * plugins/elements/gsttypefindelement.c:
9795         * plugins/indexers/gstfileindex.c:
9796         * plugins/indexers/gstmemindex.c:
9797         * tests/check/gst/gsttag.c:
9798         * tests/old/examples/cutter/cutter.c:
9799         * tests/old/examples/mixer/mixer.c:
9800         * tests/old/examples/xml/runxml.c: (main):
9801         * tests/old/testsuite/caps/normalisation.c:
9802         * tests/old/testsuite/debug/global.c:
9803         * tests/old/testsuite/parse/parse1.c:
9804         * tools/gst-xmlinspect.c:
9805         * win32/common/dirent.c:
9806           expand tabs
9807
9808 === release 0.10.0 ===
9809
9810 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9811
9812         * configure.ac:
9813           releasing 0.10.0, "Maroilles"
9814
9815 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9816
9817         submitted by: Funda Wang <fundawang@linux.net.cn>
9818
9819         * po/LINGUAS:
9820         * po/zh_CN.po:
9821           added Chinese (Traditional) translation
9822
9823 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9824
9825         * docs/gst/gstreamer-sections.txt:
9826         * docs/libs/tmpl/gstdataprotocol.sgml:
9827         * docs/random/thomasvs/TODO:
9828         * gst/gstutils.c:
9829         * gst/gstutils.h:
9830           fix docs
9831
9832 2005-12-05  Andy Wingo  <wingo@pobox.com>
9833
9834         patch by: Wim Taymans <wim@fluendo.com>
9835
9836         * libs/gst/base/gstbasetransform.c
9837         (gst_base_transform_prepare_output_buf)
9838         (gst_base_transform_buffer_alloc):
9839         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
9840         alloc_buffer_and_set_caps.
9841
9842         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
9843         set_caps on the source pad.
9844         (gst_pad_alloc_buffer_and_set_caps): New function, does what
9845         alloc_buffer used to do. Fixes #322874.
9846
9847         * docs/gst/gstreamer-sections.txt: 
9848         * docs/design/part-negotiation.txt: 
9849         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
9850         changes.
9851
9852 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9853
9854         patch by: Sebastien Moutte
9855
9856         * win32/MANIFEST:
9857         * win32/common/config.h.in:
9858         * win32/vs6/libgstcontroller.dsp:
9859           win32 build fixes
9860
9861 2005-12-05  Wim Taymans  <wim@fluendo.com>
9862
9863         * gst/gstcaps.c: (gst_caps_is_equal):
9864         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9865         (gst_fake_src_create):
9866         Back out previous code changes, leave doc updates, file bugs 
9867         instead. 
9868
9869 2005-12-05  Wim Taymans  <wim@fluendo.com>
9870
9871         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9872         (gst_fake_src_get_times), (gst_fake_src_create):
9873         * plugins/elements/gstfakesrc.h:
9874         Fix broken sync code.
9875
9876 2005-12-05  Wim Taymans  <wim@fluendo.com>
9877
9878         * gst/gstcaps.c: (gst_caps_is_equal):
9879         Comparing NULL against !NULL yields different caps, not a
9880         failure.
9881
9882 2005-12-05  Wim Taymans  <wim@fluendo.com>
9883
9884         * gst/gstpipeline.c:
9885         Fix small typo in docs.
9886
9887 2005-12-05  Andy Wingo  <wingo@pobox.com>
9888
9889         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
9890
9891         * gst/gst.c (init_post): remove hard-coded 0.9 location for
9892         registries/plugins with a MAJORMINOR one.
9893         (plugin_desc): Rename library from gstcoreleements to
9894         staticelements. Fixes #323222.
9895
9896 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
9897
9898         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
9899           Change debug category to 'collectpads' from 'collect_pads'
9900           (fixes #323250).
9901
9902 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9903
9904         patch by: Sebastien Moutte
9905
9906         * libs/gst/controller/gstinterpolation.c:
9907           use convert function for uint64/double
9908         * win32/vs6/libgstcontroller.dsp:
9909           link to GLib
9910
9911 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9912
9913         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
9914         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
9915         * gst/gstutils.h:
9916         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9917           add tests that seem to show that the guint64/gdouble conversions
9918           are correct.
9919
9920 2005-12-02  Wim Taymans  <wim@fluendo.com>
9921
9922         * gst/gstregistry.c: (gst_registry_add_path):
9923         * gst/gstregistry.h:
9924         * gst/gstregistryxml.c:
9925         Fix docs again.
9926
9927 2005-12-02  Wim Taymans  <wim@fluendo.com>
9928
9929         * gst/gstutils.c: (gst_util_uint64_scale_int64),
9930         (gst_util_uint64_scale_int):
9931         Small cleanup.
9932
9933         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9934         Add debug log line.
9935
9936         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
9937         Add FIXME.
9938
9939 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9940
9941         * win32/MANIFEST:
9942         * win32/common/config.h:
9943         * win32/vs6/gstreamer.dsw:
9944         * win32/vs6/libgstcoreelements.dsp:
9945         * win32/vs6/libgstelements.dsp:
9946           renamed core elements plugin
9947
9948 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9949
9950         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
9951         (get_candidates):
9952           do piece-wise major/minor comparison so 0.9 < 0.10
9953           also allow .exe extensions for tools
9954
9955 2005-12-02  Michael Smith  <msmith@fluendo.com>
9956
9957         * gst/gst.c:
9958           Escape a % to make gtkdoc happier; bug 322958.
9959
9960 === release 0.9.7 ===
9961
9962 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9963
9964         * configure.ac:
9965           releasing 0.9.7, "My Dog Has No Nose"
9966
9967 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9968
9969         * common/gst-xmlinspect.py:
9970         * configure.ac:
9971         * docs/libs/tmpl/gstdataprotocol.sgml:
9972         * docs/random/release:
9973         * po/af.po:
9974         * po/az.po:
9975         * po/bg.po:
9976         * po/ca.po:
9977         * po/cs.po:
9978         * po/de.po:
9979         * po/en_GB.po:
9980         * po/fr.po:
9981         * po/it.po:
9982         * po/nb.po:
9983         * po/nl.po:
9984         * po/ru.po:
9985         * po/sq.po:
9986         * po/sr.po:
9987         * po/sv.po:
9988         * po/tr.po:
9989         * po/uk.po:
9990         * po/vi.po:
9991         * win32/common/config.h:
9992         * win32/common/config.h.in:
9993         * win32/vs6/gst_inspect.dsp:
9994         * win32/vs6/gst_launch.dsp:
9995         * win32/vs6/libgstbase.dsp:
9996         * win32/vs6/libgstelements.dsp:
9997         * win32/vs6/libgstreamer.dsp:
9998         * win32/vs7/GStreamer.vcproj:
9999         * win32/vs7/gst-inspect.vcproj:
10000         * win32/vs7/gst-launch.vcproj:
10001         * win32/vs7/libgstbase.vcproj:
10002           bump GST_MAJORMINOR to 0.10
10003           reset libtool version
10004
10005 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10006
10007         * po/LINGUAS:
10008         * po/bg.po:
10009           Added Bulgarian translation by (Alexander Shopov)
10010
10011 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10012
10013         * tests/check/gst/gstplugin.c:
10014           fix test
10015
10016 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10017
10018         * common/gst-xmlinspect.py:
10019         * common/gtk-doc-plugins.mak:
10020         * configure.ac:
10021         * docs/Makefile.am:
10022         * docs/gst/Makefile.am:
10023         * docs/gst/gstreamer-docs.sgml:
10024         * docs/gst/gstreamer-sections.txt:
10025         * docs/gst/gstreamer.types:
10026         * docs/gst/gstreamer.types.in:
10027         * docs/plugins/Makefile.am:
10028         * docs/plugins/gstreamer-plugins-docs.sgml:
10029         * docs/plugins/gstreamer-plugins-sections.txt:
10030         * docs/plugins/gstreamer-plugins.types:
10031         * docs/plugins/inspect.stamp:
10032         * docs/plugins/inspect/plugin-coreelements.xml:
10033         * docs/plugins/inspect/plugin-coreindexers.xml:
10034         * docs/plugins/scanobj-build.stamp:
10035         * gstreamer.spec.in:
10036         * plugins/elements/Makefile.am:
10037         * plugins/elements/gstelements.c:
10038         * plugins/elements/gstfakesink.c:
10039         * plugins/elements/gstfakesrc.c:
10040         * plugins/elements/gstfilesink.c:
10041         * plugins/elements/gstfilesrc.c:
10042         * plugins/elements/gstqueue.c:
10043         * plugins/indexers/Makefile.am:
10044         * plugins/indexers/gstindexers.c:
10045           document core plugins in a separate document just like all the
10046           others
10047           rename these plugins to something starting with core
10048
10049 2005-12-01  Andy Wingo  <wingo@pobox.com>
10050
10051         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
10052         padding here before, but it missed the commit.
10053
10054 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10055
10056         * libs/gst/controller/gstinterpolation.c:
10057           whitespace prices have crashed, we should feel free to use some now
10058           use gst_guint64_to_gdouble
10059
10060 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10061
10062         * libs/gst/controller/gstcontroller.c:
10063         * libs/gst/controller/gsthelper.c:
10064         * libs/gst/controller/gstinterpolation.c:
10065         * libs/gst/controller/lib.c:
10066           wrap config.h include
10067
10068 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10069
10070         * docs/gst/gstreamer-sections.txt:
10071           update docs
10072
10073 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10074
10075         * plugins/elements/gstelements.c:
10076         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
10077         (gst_fd_sink__class_init), (gst_fd_sink__init),
10078         (gst_fd_sink__chain), (gst_fd_sink__set_property),
10079         (gst_fd_sink__get_property):
10080         * plugins/elements/gstfdsink.h:
10081         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
10082         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
10083         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
10084         (gst_fd_src_unlock), (gst_fd_src_set_property),
10085         (gst_fd_src_get_property), (gst_fd_src_create),
10086         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
10087         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
10088         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
10089         (gst_fd_src_uri_handler_init):
10090         * plugins/elements/gstfdsrc.h:
10091         * plugins/elements/gstqueue.c: (gst_queue_get_type):
10092           more anal cleanup
10093
10094 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10095
10096         * docs/gst/Makefile.am:
10097         * docs/gst/gstreamer.types.in:
10098         * gst/Makefile.am:
10099           fix the docs build
10100
10101 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10102
10103         * configure.ac:
10104         * gst/Makefile.am:
10105         * gst/gst.c:
10106         * gst/gstplugin.h:
10107         * gst/gstregistry.h:
10108         * tests/benchmarks/complexity.c:
10109         * tests/benchmarks/mass-elements.c:
10110         * tests/check/Makefile.am:
10111         * tools/Makefile.am:
10112         * tools/gst-inspect.c:
10113         * tools/gst-xmlinspect.c:
10114           various fixes to make
10115           --disable-nls --disable-registry --disable-loadsave
10116           --disable-parse --disable-gst-debug
10117           work and get the core .so down to 360444 bytes after stripping
10118
10119 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10120
10121         * Makefile.am:
10122         * configure.ac:
10123           descend into tests
10124         * docs/random/thomasvs/TODO:
10125         * tests/Makefile.am:
10126         * tests/README:
10127           add a README
10128
10129 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10130
10131         * win32/GStreamer.vcproj:
10132         * win32/MANIFEST:
10133         * win32/Makefile:
10134         * win32/Makefile.inspect:
10135         * win32/Makefile.launch:
10136         * win32/Makefile.register:
10137         * win32/README.txt:
10138         * win32/gst-inspect.vcproj:
10139         * win32/gst-launch.vcproj:
10140         * win32/gst-register.vcproj:
10141         * win32/gstelements.vcproj:
10142         * win32/gstgetbits.def:
10143         * win32/gstgetbits.vcproj:
10144         * win32/gstreamer-dbg.def:
10145         * win32/gstreamer.def:
10146         * win32/libgstbase.def:
10147         * win32/libgstbase.vcproj:
10148         * win32/link_oldruntime.c:
10149         * win32/mman.c:
10150         * win32/mman.h:
10151         * win32/mman.inl:
10152         * win32/msvc71.sln:
10153           move even more stuff, win32/ is nice and clean now
10154
10155 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10156
10157         * libs/gst/control/.cvsignore:
10158         * win32/MANIFEST:
10159         * win32/config.h:
10160         * win32/dirent.c:
10161         * win32/dirent.h:
10162         * win32/gstbytestream.def:
10163         * win32/gstbytestream.vcproj:
10164         * win32/gstconfig.h:
10165         * win32/gstenumtypes.c:
10166         * win32/gstenumtypes.h:
10167         * win32/gstoptimalscheduler.vcproj:
10168         * win32/gstversion.h:
10169         * win32/gtchar.h:
10170         * win32/testsuite/bins.vcproj:
10171         * win32/testsuite/bytestream.vcproj:
10172         * win32/testsuite/caps.vcproj:
10173         * win32/testsuite/cleanup.vcproj:
10174         * win32/testsuite/clock.vcproj:
10175         * win32/testsuite/debug.vcproj:
10176         * win32/testsuite/dlopen.vcproj:
10177         * win32/testsuite/dynparams.vcproj:
10178         * win32/testsuite/elements.vcproj:
10179         * win32/testsuite/ghostpads.vcproj:
10180         * win32/testsuite/indexers.vcproj:
10181         * win32/testsuite/negotiation.vcproj:
10182         * win32/testsuite/parse.vcproj:
10183         * win32/testsuite/plugin.vcproj:
10184         * win32/testsuite/refcounting.vcproj:
10185         * win32/testsuite/schedulers.vcproj:
10186         * win32/testsuite/states.vcproj:
10187         * win32/testsuite/tags.vcproj:
10188         * win32/testsuite/threads.vcproj:
10189           remove old win32 stuff that isn't maintained and should be
10190           reorganized
10191
10192 2005-11-30  Andy Wingo  <wingo@pobox.com>
10193
10194         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
10195         loading the gst.interfaces python module bork.
10196
10197         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
10198         available since GLib 2.2. Fixes #318031.
10199
10200 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10201
10202         * Makefile.am:
10203         * check/.cvsignore:
10204         * check/Makefile.am:
10205         * check/elements/.cvsignore:
10206         * check/elements/fakesrc.c:
10207         * check/elements/fdsrc.c:
10208         * check/elements/identity.c:
10209         * check/generic/.cvsignore:
10210         * check/generic/states.c:
10211         * check/gst-libs/.cvsignore:
10212         * check/gst-libs/controller.c:
10213         * check/gst-libs/gdp.c:
10214         * check/gst/.cvsignore:
10215         * check/gst/capslist.h:
10216         * check/gst/gst.c:
10217         * check/gst/gstbin.c:
10218         * check/gst/gstbuffer.c:
10219         * check/gst/gstbus.c:
10220         * check/gst/gstcaps.c:
10221         * check/gst/gstelement.c:
10222         * check/gst/gstevent.c:
10223         * check/gst/gstghostpad.c:
10224         * check/gst/gstiterator.c:
10225         * check/gst/gstmessage.c:
10226         * check/gst/gstminiobject.c:
10227         * check/gst/gstobject.c:
10228         * check/gst/gstpad.c:
10229         * check/gst/gstpipeline.c:
10230         * check/gst/gstplugin.c:
10231         * check/gst/gstsegment.c:
10232         * check/gst/gststructure.c:
10233         * check/gst/gstsystemclock.c:
10234         * check/gst/gsttag.c:
10235         * check/gst/gstutils.c:
10236         * check/gst/gstvalue.c:
10237         * check/net/.cvsignore:
10238         * check/net/gstnetclientclock.c:
10239         * check/net/gstnettimeprovider.c:
10240         * check/pipelines/.cvsignore:
10241         * check/pipelines/cleanup.c:
10242         * check/pipelines/simple_launch_lines.c:
10243         * check/pipelines/stress.c:
10244         * check/states/.cvsignore:
10245         * check/states/sinks.c:
10246         * configure.ac:
10247         * examples/Makefile.am:
10248         * examples/appreader/.cvsignore:
10249         * examples/appreader/Makefile.am:
10250         * examples/appreader/appreader.c:
10251         * examples/controller/.cvsignore:
10252         * examples/controller/Makefile.am:
10253         * examples/controller/audio-example.c:
10254         * examples/cutter/.cvsignore:
10255         * examples/cutter/Makefile.am:
10256         * examples/cutter/cutter.c:
10257         * examples/cutter/cutter.h:
10258         * examples/events/Makefile.am:
10259         * examples/events/seek.c:
10260         * examples/helloworld/.cvsignore:
10261         * examples/helloworld/Makefile.am:
10262         * examples/helloworld/helloworld.c:
10263         * examples/helloworld2/.cvsignore:
10264         * examples/helloworld2/Makefile.am:
10265         * examples/helloworld2/helloworld2.c:
10266         * examples/launch/.cvsignore:
10267         * examples/launch/Makefile.am:
10268         * examples/launch/mp3parselaunch.c:
10269         * examples/launch/mp3play:
10270         * examples/manual/.cvsignore:
10271         * examples/manual/Makefile.am:
10272         * examples/manual/extract.pl:
10273         * examples/metadata/Makefile.am:
10274         * examples/metadata/read-metadata.c:
10275         * examples/mixer/.cvsignore:
10276         * examples/mixer/Makefile.am:
10277         * examples/mixer/mixer.c:
10278         * examples/mixer/mixer.h:
10279         * examples/pingpong/.cvsignore:
10280         * examples/pingpong/Makefile.am:
10281         * examples/pingpong/pingpong.c:
10282         * examples/plugins/.cvsignore:
10283         * examples/plugins/Makefile.am:
10284         * examples/plugins/example.c:
10285         * examples/plugins/example.h:
10286         * examples/pwg/.cvsignore:
10287         * examples/pwg/Makefile.am:
10288         * examples/pwg/extract.pl:
10289         * examples/queue/.cvsignore:
10290         * examples/queue/Makefile.am:
10291         * examples/queue/queue.c:
10292         * examples/queue2/.cvsignore:
10293         * examples/queue2/Makefile.am:
10294         * examples/queue2/queue2.c:
10295         * examples/queue3/.cvsignore:
10296         * examples/queue3/Makefile.am:
10297         * examples/queue3/queue3.c:
10298         * examples/queue4/.cvsignore:
10299         * examples/queue4/Makefile.am:
10300         * examples/queue4/queue4.c:
10301         * examples/retag/.cvsignore:
10302         * examples/retag/Makefile.am:
10303         * examples/retag/retag.c:
10304         * examples/retag/transcode.c:
10305         * examples/thread/.cvsignore:
10306         * examples/thread/Makefile.am:
10307         * examples/thread/thread.c:
10308         * examples/typefind/.cvsignore:
10309         * examples/typefind/Makefile.am:
10310         * examples/typefind/typefind.c:
10311         * examples/xml/.cvsignore:
10312         * examples/xml/Makefile.am:
10313         * examples/xml/createxml.c:
10314         * examples/xml/runxml.c:
10315         * tests/Makefile.am:
10316         * tests/check/Makefile.am:
10317         * testsuite/.cvsignore:
10318         * testsuite/Makefile.am:
10319         * testsuite/Rules:
10320         * testsuite/caps/.cvsignore:
10321         * testsuite/caps/Makefile.am:
10322         * testsuite/caps/app_fixate.c:
10323         * testsuite/caps/audioscale.c:
10324         * testsuite/caps/caps.c:
10325         * testsuite/caps/caps.h:
10326         * testsuite/caps/caps_strings:
10327         * testsuite/caps/compatibility.c:
10328         * testsuite/caps/deserialize.c:
10329         * testsuite/caps/enumcaps.c:
10330         * testsuite/caps/eratosthenes.c:
10331         * testsuite/caps/filtercaps.c:
10332         * testsuite/caps/fixed.c:
10333         * testsuite/caps/fraction-convert.c:
10334         * testsuite/caps/fraction-multiply-and-zero.c:
10335         * testsuite/caps/intersect2.c:
10336         * testsuite/caps/intersection.c:
10337         * testsuite/caps/normalisation.c:
10338         * testsuite/caps/random.c:
10339         * testsuite/caps/renegotiate.c:
10340         * testsuite/caps/sets.c:
10341         * testsuite/caps/simplify.c:
10342         * testsuite/caps/string-conversions.c:
10343         * testsuite/caps/structure.c:
10344         * testsuite/caps/subtract.c:
10345         * testsuite/caps/union.c:
10346         * testsuite/debug/.cvsignore:
10347         * testsuite/debug/Makefile.am:
10348         * testsuite/debug/category.c:
10349         * testsuite/debug/commandline.c:
10350         * testsuite/debug/global.c:
10351         * testsuite/debug/output.c:
10352         * testsuite/debug/printf_extension.c:
10353         * testsuite/dlopen/.cvsignore:
10354         * testsuite/dlopen/Makefile.am:
10355         * testsuite/dlopen/dlopen_gst.c:
10356         * testsuite/dlopen/loadgst.c:
10357         * testsuite/elements/.cvsignore:
10358         * testsuite/elements/Makefile.am:
10359         * testsuite/elements/gst-inspect-check.in:
10360         * testsuite/elements/struct_i386.h:
10361         * testsuite/elements/struct_size.c:
10362         * testsuite/indexers/.cvsignore:
10363         * testsuite/indexers/Makefile.am:
10364         * testsuite/indexers/cache1.c:
10365         * testsuite/indexers/indexdump.c:
10366         * testsuite/parse/.cvsignore:
10367         * testsuite/parse/Makefile.am:
10368         * testsuite/parse/parse1.c:
10369         * testsuite/parse/parse2.c:
10370         * testsuite/plugin/.cvsignore:
10371         * testsuite/plugin/Makefile.am:
10372         * testsuite/plugin/README:
10373         * testsuite/plugin/dynamic.c:
10374         * testsuite/plugin/linked.c:
10375         * testsuite/plugin/loading.c:
10376         * testsuite/plugin/registry.c:
10377         * testsuite/plugin/static.c:
10378         * testsuite/plugin/static2.c:
10379         * testsuite/plugin/testplugin.c:
10380         * testsuite/plugin/testplugin2.c:
10381         * testsuite/plugin/testplugin2_s.c:
10382         * testsuite/plugin/testplugin_s.c:
10383         * testsuite/refcounting/.cvsignore:
10384         * testsuite/refcounting/Makefile.am:
10385         * testsuite/refcounting/bin.c:
10386         * testsuite/refcounting/element.c:
10387         * testsuite/refcounting/element_pad.c:
10388         * testsuite/refcounting/mainloop.c:
10389         * testsuite/refcounting/mem.c:
10390         * testsuite/refcounting/mem.h:
10391         * testsuite/refcounting/object.c:
10392         * testsuite/refcounting/pad.c:
10393         * testsuite/refcounting/sched.c:
10394         * testsuite/refcounting/thread.c:
10395         * testsuite/states/.cvsignore:
10396         * testsuite/states/Makefile.am:
10397         * testsuite/states/bin.c:
10398         * testsuite/states/locked.c:
10399         * testsuite/states/parent.c:
10400         * testsuite/threads/.cvsignore:
10401         * testsuite/threads/159566.c:
10402         * testsuite/threads/159852.c:
10403         * testsuite/threads/Makefile.am:
10404         * testsuite/threads/queue.c:
10405         * testsuite/threads/signals.c:
10406         * testsuite/threads/staticrec.c:
10407         * testsuite/threads/thread.c:
10408         * testsuite/threads/threadb.c:
10409         * testsuite/threads/threadc.c:
10410         * testsuite/threads/threadd.c:
10411         * testsuite/threads/threade.c:
10412         * testsuite/threads/threadf.c:
10413         * testsuite/threads/threadg.c:
10414         * testsuite/threads/threadh.c:
10415         * testsuite/threads/threadi.c:
10416           move all of these under tests
10417
10418 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10419
10420         * configure.ac:
10421         * tests/Makefile.am:
10422           fix distcheck
10423
10424 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10425
10426         * docs/gst/gstreamer-sections.txt:
10427         * tests/sched/.cvsignore:
10428         * tests/sched/Makefile.am:
10429         * tests/sched/cases/(fs-fs).xml:
10430         * tests/sched/cases/(fs-i-fs).xml:
10431         * tests/sched/cases/(fs-i-i-fs).xml:
10432         * tests/sched/cases/(fs-i-q[i-fs]).xml:
10433         * tests/sched/dynamic-pipeline.c:
10434         * tests/sched/interrupt1.c:
10435         * tests/sched/interrupt2.c:
10436         * tests/sched/interrupt3.c:
10437         * tests/sched/runtestcases:
10438         * tests/sched/runxml.c:
10439         * tests/sched/sched-stress.c:
10440         * tests/sched/sort.c:
10441         * tests/sched/testcases:
10442         * tests/sched/testcases1.tc:
10443         * tests/seeking/.cvsignore:
10444         * tests/seeking/Makefile.am:
10445         * tests/seeking/seeking1.c:
10446         * tests/threadstate/.cvsignore:
10447         * tests/threadstate/Makefile.am:
10448         * tests/threadstate/test1.c:
10449         * tests/threadstate/test2.c:
10450         * tests/threadstate/threadstate1.c:
10451         * tests/threadstate/threadstate2.c:
10452         * tests/threadstate/threadstate3.c:
10453         * tests/threadstate/threadstate4.c:
10454         * tests/threadstate/threadstate5.c:
10455           remove obsolete tests
10456         * configure.ac:
10457         * tests/bench-complexity.scm:
10458         * tests/bench-mass_elements.scm:
10459         * tests/complexity.c:
10460         * tests/complexity.gnuplot:
10461         * tests/instantiate/.cvsignore:
10462         * tests/instantiate/Makefile.am:
10463         * tests/instantiate/caps.c:
10464         * tests/mass_elements.c:
10465         * tests/network-clock-utils.scm:
10466         * tests/network-clock.scm:
10467         * tests/plot-data:
10468         First pass at cleaning up tests/ dir before moving the rest
10469         Combined with CVS surgery
10470
10471 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10472
10473         * po/POTFILES.in:
10474           queue has moved, update
10475
10476 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10477
10478         * docs/gst/gstreamer-sections.txt:
10479           remove double entries from the docs
10480         * gst/gst_private.h:
10481         * gst/gstinfo.c: (_gst_debug_init):
10482           remove the THREAD debug category
10483         * gst/Makefile.am:
10484         * gst/gstqueue.c:
10485         * gst/gstqueue.h:
10486         * docs/gst/gstreamer.types:
10487         * plugins/elements/gstqueue.c: (gst_queue_get_type),
10488         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
10489           completely move queue and fix up debugging categories
10490
10491 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10492
10493         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10494           make initialization portable, using LL is not
10495
10496 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10497
10498         * win32/common/gstconfig.h:
10499           add large padding
10500
10501 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10502
10503         * win32/common/libgstreamer.def:
10504           rename symbols; sort base section
10505
10506 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10507
10508         * gst/gstclock.c: (do_linear_regression):
10509           remove crack non-portable handrolled DEBUG macro
10510
10511 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10512
10513         * docs/random/release:
10514           update notes
10515         * win32/common/gstenumtypes.c: (register_gst_object_flags),
10516         (gst_object_flags_get_type), (register_gst_bin_flags),
10517         (gst_bin_flags_get_type), (register_gst_buffer_flag),
10518         (gst_buffer_flag_get_type), (register_gst_bus_flags),
10519         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10520         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
10521         (gst_caps_flags_get_type), (register_gst_clock_return),
10522         (gst_clock_return_get_type), (register_gst_clock_entry_type),
10523         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10524         (gst_clock_flags_get_type), (register_gst_state),
10525         (gst_state_get_type), (register_gst_state_change_return),
10526         (gst_state_change_return_get_type), (register_gst_state_change),
10527         (gst_state_change_get_type), (register_gst_element_flags),
10528         (gst_element_flags_get_type), (register_gst_core_error),
10529         (gst_core_error_get_type), (register_gst_library_error),
10530         (gst_library_error_get_type), (register_gst_resource_error),
10531         (gst_resource_error_get_type), (register_gst_stream_error),
10532         (gst_stream_error_get_type), (register_gst_event_type_flags),
10533         (gst_event_type_flags_get_type), (register_gst_event_type),
10534         (gst_event_type_get_type), (register_gst_seek_type),
10535         (gst_seek_type_get_type), (register_gst_seek_flags),
10536         (gst_seek_flags_get_type), (register_gst_format),
10537         (gst_format_get_type), (register_gst_index_certainty),
10538         (gst_index_certainty_get_type), (register_gst_index_entry_type),
10539         (gst_index_entry_type_get_type),
10540         (register_gst_index_lookup_method),
10541         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10542         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10543         (gst_index_resolver_method_get_type), (register_gst_index_flags),
10544         (gst_index_flags_get_type), (register_gst_debug_level),
10545         (gst_debug_level_get_type), (register_gst_debug_color_flags),
10546         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10547         (gst_iterator_result_get_type), (register_gst_iterator_item),
10548         (gst_iterator_item_get_type), (register_gst_message_type),
10549         (gst_message_type_get_type), (register_gst_mini_object_flags),
10550         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10551         (gst_pad_link_return_get_type), (register_gst_flow_return),
10552         (gst_flow_return_get_type), (register_gst_activate_mode),
10553         (gst_activate_mode_get_type), (register_gst_pad_direction),
10554         (gst_pad_direction_get_type), (register_gst_pad_flags),
10555         (gst_pad_flags_get_type), (register_gst_pad_presence),
10556         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10557         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10558         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10559         (gst_plugin_error_get_type), (register_gst_plugin_flags),
10560         (gst_plugin_flags_get_type), (register_gst_rank),
10561         (gst_rank_get_type), (register_gst_query_type),
10562         (gst_query_type_get_type), (register_gst_tag_merge_mode),
10563         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10564         (gst_tag_flag_get_type), (register_gst_task_state),
10565         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10566         (gst_alloc_trace_flags_get_type),
10567         (register_gst_type_find_probability),
10568         (gst_type_find_probability_get_type), (register_gst_uri_type),
10569         (gst_uri_type_get_type), (register_gst_parse_error),
10570         (gst_parse_error_get_type):
10571         * win32/common/gstenumtypes.h:
10572         * win32/common/gstversion.h:
10573           update visual studio generated files
10574
10575 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10576
10577         * win32/vs6/libgstbase.dsp:
10578         * win32/vs6/libgstelements.dsp:
10579           update project files for new locations
10580
10581 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10582
10583         * Makefile.am:
10584           remove some files
10585         * README:
10586           reinstate and update
10587         * DEVEL:
10588         * REQUIREMENTS:
10589           removed
10590         * LICENSE:
10591         * docs/random/LICENSE:
10592           moved to random
10593
10594 2005-11-30  Edward Hervey  <edward@fluendo.com>
10595
10596         * gst/gsttypefind.c: (gst_type_find_register):
10597         * gst/gsttypefind.h:
10598         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
10599         (gst_type_find_factory_dispose):
10600         * gst/gsttypefindfactory.h:
10601         Fix memory leak in GstTypeFindFactory.
10602
10603 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10604
10605         * gst/gst.c:
10606         * plugins/elements/Makefile.am:
10607         * plugins/elements/gstelements.c:
10608         * plugins/elements/gstqueue.c:
10609           move queue from core to the elements plugin
10610
10611 2005-11-29  Andy Wingo  <wingo@pobox.com>
10612
10613         * libs/gst/base/gstbasetransform.h: 
10614         * libs/gst/base/gstbasesrc.h: 
10615         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
10616
10617         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
10618         of pointers by which to pad very extensible base classes (like the
10619         ones in libs/gst/base).
10620
10621 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10622
10623         * docs/gst/gstreamer-docs.sgml:
10624         * docs/gst/gstreamer-sections.txt:
10625         * docs/libs/gstreamer-libs-docs.sgml:
10626         * docs/libs/gstreamer-libs-sections.txt:
10627           moving documentation from core to lib
10628
10629 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10630
10631         * check/Makefile.am:
10632         * configure.ac:
10633         * docs/gst/Makefile.am:
10634         * gst/Makefile.am:
10635         * gst/base/.cvsignore:
10636         * gst/base/Makefile.am:
10637         * gst/base/README:
10638         * gst/base/gstadapter.c:
10639         * gst/base/gstadapter.h:
10640         * gst/base/gstbasesink.c:
10641         * gst/base/gstbasesink.h:
10642         * gst/base/gstbasesrc.c:
10643         * gst/base/gstbasesrc.h:
10644         * gst/base/gstbasetransform.c:
10645         * gst/base/gstbasetransform.h:
10646         * gst/base/gstcollectpads.c:
10647         * gst/base/gstcollectpads.h:
10648         * gst/base/gstpushsrc.c:
10649         * gst/base/gstpushsrc.h:
10650         * gst/base/gsttypefindhelper.c:
10651         * gst/base/gsttypefindhelper.h:
10652         * gst/check/Makefile.am:
10653         * gst/check/gstcheck.c:
10654         * gst/check/gstcheck.h:
10655         * gst/net/Makefile.am:
10656         * gst/net/gstnet.h:
10657         * gst/net/gstnetclientclock.c:
10658         * gst/net/gstnetclientclock.h:
10659         * gst/net/gstnettimepacket.c:
10660         * gst/net/gstnettimepacket.h:
10661         * gst/net/gstnettimeprovider.c:
10662         * gst/net/gstnettimeprovider.h:
10663         * libs/gst/Makefile.am:
10664         * libs/gst/base/Makefile.am:
10665         * libs/gst/base/gstbasetransform.c:
10666         * libs/gst/check/Makefile.am:
10667         * plugins/elements/Makefile.am:
10668         * po/POTFILES.in:
10669           CVS surgery + support to move base, check, and net out of gst
10670           and into libs/gst
10671
10672 2005-11-29  Andy Wingo  <wingo@pobox.com>
10673
10674         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
10675
10676         * gst/gststructure.h (struct _GstStructure): Only one pointer of
10677         padding.
10678
10679         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
10680
10681         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
10682
10683         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
10684
10685         * gst/gstobject.h: (struct _GstObject): Only one pointer of
10686         padding; reduces object size by about 30%. We don't expect
10687         anything else to go into gstobject.
10688
10689         * gst/gstminiobject.h (struct _GstMiniObject)
10690         (struct _GstMiniObjectClass): Only one pointer of padding; the
10691         payload is only a pointer and two ints anyway. For the class there
10692         are only two methods as well.
10693         
10694         * gst/gstelement.h (struct _GstElementClass): Removed
10695         the state_changed signal callback, it is not used.
10696
10697 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10698
10699         * docs/gst/gstreamer.types:
10700           fix includes, though they are a little dinky
10701
10702 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10703
10704         * check/Makefile.am:
10705           look in the right place for elements, a lot more chance of
10706           success
10707         * gst/Makefile.am:
10708           remove indexers and elements subdirs
10709         * plugins/Makefile.am:
10710           make indexers conditional
10711
10712 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10713
10714         * Makefile.am:
10715         * configure.ac:
10716         * plugins/elements/Makefile.am:
10717         * plugins/elements/gstcapsfilter.c:
10718         * plugins/elements/gstfilesink.c:
10719         * plugins/elements/gstfilesrc.c:
10720         * plugins/elements/gstidentity.c:
10721         * plugins/indexers/Makefile.am:
10722           do CVS surgery and related build fixery to move elements
10723           and indexers in a new gstreamer/plugins directory, out of the
10724           gst/ directory
10725
10726 2005-11-29  Andy Wingo  <wingo@pobox.com>
10727
10728         * check/Makefile.am:
10729         * pkgconfig/gstreamer-net-uninstalled.pc.in:
10730         * pkgconfig/gstreamer-net.pc.in:
10731         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
10732         #322257.
10733
10734 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10735
10736         * tools/Makefile.am:
10737         * tools/gst-complete.1.in:
10738         * tools/gst-complete.c:
10739         * tools/gst-compprep.1.in:
10740         * tools/gst-compprep.c:
10741           removing -compprep and -complete
10742
10743 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10744
10745         * gst/gstevent.c: (gst_event_new_new_segment),
10746         (gst_event_parse_new_segment):
10747         * gst/gstevent.h:
10748           fix #320529 - clean up new_segment API and structure.
10749           Let's hope everyone was using the methods, and not the structure.
10750
10751 2005-11-29  Edward Hervey  <edward@fluendo.com>
10752
10753         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10754         (gst_base_sink_event), (gst_base_sink_do_sync),
10755         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
10756         Properly handle non GST_FORMAT_TIME segment
10757         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
10758         Properly handle non GST_FORMAT_TIME segment
10759         * gst/gstsegment.c:
10760         This function is valid if the accumulator is 0 and the format
10761         is different from the requested format.
10762         
10763 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
10764
10765         * docs/gst/gstreamer-sections.txt:
10766         Add gst_query_new_seeking and gst_query_parse_seeking to the
10767         docs.
10768
10769 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
10770
10771         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
10772           Treat a pad alloc with new caps the same as if we were not
10773           negotiated, in order to allow a changing upstream output
10774           to produce a new format of data.
10775
10776 2005-11-29  Edward Hervey  <edward@fluendo.com>
10777
10778         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10779         (gst_base_transform_event), (gst_base_transform_eventfunc):
10780         The event virtual method is now properly implemented, with a default
10781         handler
10782         Sub classes should call the parent_class event method. They should
10783         return FALSE if they had a problem handling the given event, or don't
10784         want GstBaseTransform to send that even downstream
10785         * gst/elements/gstidentity.c: (gst_identity_class_init),
10786         (gst_identity_init), (gst_identity_event),
10787         (gst_identity_transform_ip), (gst_identity_set_property),
10788         (gst_identity_get_property):
10789         * gst/elements/gstidentity.h:
10790         Added the single-segment boolean property.
10791         If set to TRUE, it will output a single segment of data, starting from
10792         0, will eat up all incoming newsegment, and modify the timestamp of the
10793         buffers accordingly
10794
10795 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
10796
10797         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
10798           Don't ref NULL target pad (#322751). Improve docs.
10799
10800 2005-11-29  Michael Smith  <msmith@fluendo.com>
10801
10802         * gst/gstregistryxml.c: (load_plugin):
10803           Don't crash if we failed to load a feature from a plugin. 
10804
10805 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10806
10807         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10808         (GST_START_TEST):
10809           use more check API and less GLib API
10810
10811 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10812
10813         * Makefile.am:
10814           don't run checks if we don't have check
10815         * common/check.mak:
10816           remove the registry when running make torture
10817         * docs/gst/gstreamer-sections.txt:
10818           remove second multiply
10819         * gst/gstqueue.c: (gst_queue_loop):
10820           fix a compile warning when disabling debug
10821
10822 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
10823
10824         * gst/gstinfo.h:
10825         Hey! Let's print the pad name if the pointer != NULL instead
10826         of when it == NULL :-)
10827
10828 2005-11-28  Wim Taymans  <wim@fluendo.com>
10829
10830         * check/gst/gstutils.c: (GST_START_TEST):
10831         Updated check, add some scaling accuracy checking code.
10832
10833         * gst/gstutils.c: (gst_util_div128_64),
10834         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
10835         (gst_util_uint64_scale_int):
10836         Fix 6 times faster division code. Optimize for common 
10837         1/1 and less common X/1 cases.
10838
10839 2005-11-28  Wim Taymans  <wim@fluendo.com>
10840
10841         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10842         More checks.
10843
10844         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
10845         (do_linear_regression), (gst_clock_add_observation):
10846         Cleanups.
10847         Release lock when the clock cannot be slaved.
10848         Catch the case where the regression returned an invalid denominator.
10849
10850         * gst/gstutils.c: (gst_util_div128_64_iterate),
10851         (gst_util_div128_64), (gst_util_uint64_scale_int64),
10852         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10853         Add protentially more performant non-iterative 128/64 divide function
10854         that unfortunatly does not work yet.
10855         Shortcut the trivial 0/X = 0 case.
10856         Remove the warnings on overflow.
10857
10858 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10859
10860         * gst/gstplugin.c: (gst_plugin_register_func):
10861           everything causing a plugin not to load should be at least a WARNING
10862
10863 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
10864
10865         * docs/random/ensonic/dparams.txt:
10866           some TODOs for the next dev cycle
10867         * libs/gst/controller/gstcontroller.c:
10868         (gst_controlled_property_set_interpolation_mode),
10869         (gst_controlled_property_new):
10870         * libs/gst/controller/gstcontroller.h:
10871           use base type to assign acccessor functions
10872
10873 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
10874
10875         * check/Makefile.am:
10876         Oops, that should have been top_srcdir
10877
10878 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
10879
10880         * check/Makefile.am:
10881         * check/elements/fdsrc.c: (GST_START_TEST):
10882         Use a cmdline define to specify the location of a file to use for
10883         testing, to avoid breaking distcheck.
10884
10885 2005-11-28  Andy Wingo  <wingo@pobox.com>
10886
10887         * gst/gstpad.c (fixate_value): Use array functions for arrays.
10888
10889 2005-11-28  Edward Hervey  <edward@fluendo.com>
10890
10891         * tools/gst-launch.c: (main):
10892         Clarify the output strings, makes it easier to translate.
10893         Fixes #322626
10894
10895 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10896
10897         * gst/Makefile.am:
10898           don't try and build net if we don't even have <sys/socket.h>
10899
10900 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
10901
10902         * check/Makefile.am:
10903         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
10904         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
10905           Add tests for fdsrc seekability
10906
10907         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
10908         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
10909         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
10910         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
10911         * gst/elements/gstfdsrc.h:
10912           fdsrc should not be a 'live' source.
10913           Implement seeking on seekable fd's.
10914
10915         * gst/gstquery.c: (gst_query_new_seeking),
10916         (gst_query_parse_seeking):
10917         * gst/gstquery.h:
10918           Implement SEEKING query functions: 
10919             *_new_seeking and *_parse_seeking
10920
10921 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
10922
10923         * gst/gstelement.c: (gst_element_dispose):
10924           don't loop forever
10925
10926         * gst/gstiterator.c:
10927         * gst/gststructure.c:
10928           doc fixes
10929
10930         * libs/gst/controller/gstcontroller.c:
10931         (gst_controlled_property_set_interpolation_mode):
10932         * libs/gst/controller/gstcontroller.h:
10933         * libs/gst/controller/gstinterpolation.c:
10934         (interpolate_none_get_enum_value_array):
10935           support controlling enums
10936
10937 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
10938
10939         * gst/gstvalue.c:
10940           Improve documentation for gst_value_union().
10941
10942         * gst/gstvalue.h:
10943           Change return value for union, intersect and subtract functions
10944           from gint to gboolean.
10945
10946 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
10947
10948         * gst/gstvalue.c: (gst_value_serialize_any_list),
10949         (gst_value_transform_any_list_string),
10950         (gst_value_deserialize_list), (gst_value_deserialize_array),
10951         (gst_value_set_int_range), (gst_value_deserialize_int_range),
10952         (gst_value_set_double_range), (gst_value_deserialize_double_range),
10953         (gst_value_set_fraction_range_full),
10954         (gst_value_deserialize_fraction_range),
10955         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
10956         (gst_value_deserialize_boolean),
10957         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
10958         (gst_value_serialize_float), (gst_value_deserialize_float),
10959         (gst_string_wrap), (gst_value_deserialize_string),
10960         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
10961         (gst_value_union_int_range_int_range),
10962         (gst_value_intersect_int_range_int_range),
10963         (gst_value_intersect_double_range_double_range),
10964         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
10965         (gst_value_subtract_int_range_int_range),
10966         (gst_value_subtract_double_double_range),
10967         (gst_value_subtract_double_range_double_range),
10968         (gst_value_deserialize_fraction):
10969         * gst/gstvalue.h:
10970           Use gint, gdouble and gchar in our API instead of int, double and
10971           char (and make usage in gstvalue.c more consistent).
10972
10973 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10974
10975         * check/Makefile.am:
10976         * libs/gst/controller/Makefile.am:
10977         * libs/gst/dataprotocol/Makefile.am:
10978           fix up Makefile.am and remove GST_ENABLE_NEW
10979
10980 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10981
10982         * configure.ac:
10983         * gst/Makefile.am:
10984         * gst/base/Makefile.am:
10985         * gst/check/Makefile.am:
10986         * gst/elements/Makefile.am:
10987         * gst/net/Makefile.am:
10988           update LDFLAGS use some more
10989
10990 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10991
10992         * common/m4/gst-doc.m4:
10993           Fixes #312589
10994
10995 2005-11-26  Edward Hervey  <edward@fluendo.com>
10996
10997         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10998         This shouldn't issue a g_warning since it returns NULL if it
10999         couldn't find the plugin, and all functions using this behave
11000         properly on a NULL return. Switching to a GST_WARNING.
11001
11002 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
11003
11004         * gst/gstbin.c: (gst_bin_handle_message_func):
11005         Don't leak clock messages.
11006
11007 2005-11-25  Wim Taymans  <wim@fluendo.com>
11008
11009         * gst/gstutils.c: (gst_util_uint64_scale_int64),
11010         (gst_util_uint64_scale_int):
11011         Optimisations, remove unneeded vars.
11012
11013 2005-11-25  Wim Taymans  <wim@fluendo.com>
11014
11015         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11016         Added more checks for the high precision uint64 cases.
11017
11018         * gst/gstutils.c: (gst_util_uint64_scale_int64),
11019         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
11020         Implement high precision (guint64 * guint64) / guint64.
11021
11022 2005-11-24  Wim Taymans  <wim@fluendo.com>
11023
11024         * gst/base/gstbasesrc.c: (gst_base_src_query):
11025         Fix wrong percentage query.
11026
11027         * gst/gstutils.c: (gst_util_uint64_scale),
11028         (gst_util_uint64_scale_int):
11029         Add some more common cases that can be handled 
11030         efficiently to _scale.
11031
11032 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11033
11034         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
11035         (gst_mini_object_suite):
11036           don't use check calls from threads; check probably isn't
11037           threadsafe and using a lock to make it threadsafe would
11038           defeat the purpose of this check
11039         * gst/check/gstcheck.c:
11040         * gst/check/gstcheck.h:
11041           use GST_DEBUG some more
11042
11043 2005-11-24  Wim Taymans  <wim@fluendo.com>
11044
11045         * gst/gstutils.c: (gst_util_uint64_scale),
11046         (gst_util_uint64_scale_int):
11047         Chain trivial case to _scale_int.
11048
11049 2005-11-24  Wim Taymans  <wim@fluendo.com>
11050
11051         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11052         Added test for scaling.
11053
11054         * gst/gstclock.h:
11055         Small doc fix.
11056
11057         * gst/gstutils.c: (gst_util_uint64_scale_int):
11058         Implemented high precision scaling code.
11059
11060 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
11061
11062         * gst/gstinfo.h:
11063           do not crash on pad==NULL
11064
11065 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11066
11067         Patch by: Stefan Kost
11068
11069         * common/gtk-doc.mak:
11070         * docs/gst/Makefile.am:
11071         * docs/libs/Makefile.am:
11072           Fix distcheck issues for the libraries docs build
11073           Closes #319599.
11074
11075 2005-11-24  Michael Smith <msmith@fluendo.com>
11076
11077         * docs/manual/basics-helloworld.xml:
11078           Fix bug #315027: memory leak in example code in docs.
11079
11080 2005-11-24  Michael Smith <msmith@fluendo.com>
11081
11082         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11083           Unlock the PREROLL_LOCK in a failure case.
11084
11085 2005-11-24  Wim Taymans  <wim@fluendo.com>
11086
11087         * docs/gst/gstreamer-sections.txt:
11088         * gst/base/gstadapter.h:
11089         * gst/base/gstbasesink.h:
11090         * gst/base/gstbasesrc.h:
11091         * gst/base/gstbasetransform.h:
11092         * gst/base/gstpushsrc.h:
11093         * gst/elements/gstfakesink.h:
11094         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
11095         * gst/elements/gstfakesrc.h:
11096         * gst/elements/gstfilesink.h:
11097         * gst/elements/gstfilesrc.h:
11098         * gst/gst.c:
11099         * gst/gstbin.c:
11100         * gst/gstbuffer.c: (_gst_buffer_copy):
11101         * gst/gstbus.h:
11102         * gst/gstcaps.c:
11103         * gst/gstchildproxy.c:
11104         * gst/gstclock.c:
11105         * gst/gstelement.c:
11106         * gst/gstelementfactory.c:
11107         * gst/gstelementfactory.h:
11108         * gst/gstevent.c:
11109         * gst/gstghostpad.h:
11110         * gst/gstindex.h:
11111         * gst/gstinterface.h:
11112         * gst/gstminiobject.c:
11113         * gst/gstminiobject.h:
11114         * gst/gstpad.c:
11115         * gst/gstpad.h:
11116         * gst/gstpadtemplate.h:
11117         * gst/gstpipeline.h:
11118         * gst/gstpluginfeature.h:
11119         * gst/gstquery.h:
11120         * gst/gstqueue.h:
11121         * gst/gsttaglist.c:
11122         * gst/gsttaglist.h:
11123         * gst/gsttagsetter.c:
11124         * gst/gsttagsetter.h:
11125         * gst/gsttrace.c:
11126         * gst/gsttrace.h:
11127         * gst/gsttypefind.h:
11128         * gst/gsturi.h:
11129         * gst/gstvalue.c:
11130         * gst/net/gstnetclientclock.c:
11131         * gst/net/gstnetclientclock.h:
11132         * gst/net/gstnettimepacket.c:
11133         * gst/net/gstnettimeprovider.c:
11134         * gst/net/gstnettimeprovider.h:
11135         Doc fixes.
11136
11137 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
11138
11139         * configure.ac: back to HEAD
11140
11141 === release 0.9.6 ===
11142
11143 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
11144
11145         * configure.ac:
11146           releasing 0.9.6, "Always On Time"
11147
11148 2005-11-23  Wim Taymans  <wim@fluendo.com>
11149
11150         * docs/gst/gstreamer-sections.txt:
11151         * gst/glib-compat.c:
11152         * gst/gsttagsetter.c:
11153         * gst/gstvalue.c:
11154         * gst/net/gstnetclientclock.c:
11155         * gst/net/gstnettimepacket.h:
11156         Doc updates.
11157
11158 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
11159
11160         * docs/faq/using.xml:
11161         * docs/libs/tmpl/gstcontrol.sgml:
11162         * docs/manual/advanced-dparams.xml:
11163         * docs/manual/appendix-checklist.xml:
11164         * docs/manual/basics-elements.xml:
11165         * docs/pwg/other-source.xml:
11166         * docs/random/moving-plugins:
11167         * gst/gstpad.c:
11168         * tools/gst-launch.1.in:
11169           remove mentions of sinesrc
11170
11171 2005-11-23  Michael Smith <msmith@fluendo.com>
11172
11173         * docs/gst/gstreamer-sections.txt:
11174           Update for new API and API changes.
11175         * gst/gstobject.h:
11176           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
11177         * gst/gstvalue.c:
11178           Documentation typo fix.
11179         * gst/net/gstnettimepacket.c:
11180           Documentation fixes for arguments.
11181
11182 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
11183
11184         * gst/gststructure.c: (gst_structure_get_fraction),
11185         (gst_structure_parse_value),
11186         (gst_structure_fixate_field_nearest_fraction):
11187         * gst/gststructure.h:
11188         * gst/gstutils.c: (gst_util_uint64_scale_int):
11189         * gst/gstutils.h:
11190         * scripts/update-funcnames:
11191         API Changes. 
11192         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
11193         Make gst_structure_fixate_field_nearest_fraction take a numerator
11194         and denominator argument instead of a GValue
11195         add gst_structure_get_fraction helper function.
11196
11197 2005-11-23  Wim Taymans  <wim@fluendo.com>
11198
11199         * docs/design/part-TODO.txt:
11200         Update TODO.
11201
11202         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11203         * gst/net/gstnetclientclock.h:
11204         Use parent fields for timeout and window_size.
11205
11206 2005-11-23  Andy Wingo  <wingo@pobox.com>
11207
11208         * check/net/gstnetclientclock.c (test_functioning): Adjust to
11209         rate_num/rate_denom change.
11210
11211         * gst/net/gstnetclientclock.c
11212         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
11213         OBJECT_LOCK. Don't call add_observation with the lock.
11214
11215         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
11216         fraction.
11217         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
11218         rate fraction.
11219         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
11220         deal with rate as a fraction whose numerator and denominator are
11221         GstClockTime values.
11222         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
11223         master; the other fields are protected by the SLAVE_LOCK.
11224         (do_linear_regression): Note that this must be called with the
11225         SLAVE_LOCK.
11226         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
11227         OBJECT_LOCK. Call set_calibration instead of touching the
11228         variables directly.
11229         (gst_clock_set_property, gst_clock_get_property): Protect
11230         master/slave parameters with the SLAVE_LOCK.
11231
11232         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
11233         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
11234         note that all of the instance variables that add_observation and
11235         the set_master functions use are protected by that lock and not
11236         the OBJECT_LOCK.
11237         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
11238
11239         * gst/gstclock.c (gst_clock_add_observation): No longer requires
11240         the caller to take the object lock.
11241
11242 2005-11-23  Wim Taymans  <wim@fluendo.com>
11243
11244         * gst/gsterror.c: (_gst_core_errors_init):
11245         * gst/gsterror.h:
11246         Add error for clock stuff.
11247
11248         * gst/gstpipeline.c: (gst_pipeline_change_state),
11249         (gst_pipeline_set_clock):
11250         Post clock error when clock cannot be used in a pipeline.
11251
11252 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
11253
11254         * docs/gst/gstreamer-sections.txt:
11255           make two symbols from gstinfo private for the docs
11256         * gst/base/gstcollectpads.h:
11257         * gst/gstutils.c:
11258           fix doc typos, update docs
11259
11260 2005-11-22  Wim Taymans  <wim@fluendo.com>
11261
11262         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11263         (gst_base_sink_wait), (gst_base_sink_do_sync),
11264         (gst_base_sink_handle_event):
11265         * gst/base/gstbasesink.h:
11266         No need to store the clock, the parent element class already
11267         has it.
11268
11269         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
11270         Updates for clock_set returning a gboolean
11271
11272         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
11273         (gst_clock_id_wait_async), (gst_clock_class_init),
11274         (gst_clock_init), (gst_clock_finalize),
11275         (gst_clock_get_internal_time), (gst_clock_get_time),
11276         (gst_clock_slave_callback), (gst_clock_set_master),
11277         (gst_clock_get_master), (do_linear_regression),
11278         (gst_clock_add_observation), (gst_clock_set_property),
11279         (gst_clock_get_property):
11280         * gst/gstclock.h:
11281         Implement master/slave. When setting a clock as a slave, a
11282         periodic timeout is scheduled to sample master and slave times.
11283         Then the slave clock is recalibrated to match offset and rate
11284         of the master clock.
11285         Update logging a bit.
11286         Add flag so that a clock can state that is cannot be slaved to
11287         another clock.
11288
11289         * gst/gstelement.c: (gst_element_set_clock):
11290         * gst/gstelement.h:
11291         The set clock returns a gboolean for when an element cannot
11292         deal with the selected clock in the pipeline. 
11293
11294         * gst/gstpipeline.c: (gst_pipeline_change_state),
11295         (gst_pipeline_set_clock):
11296         * gst/gstpipeline.h:
11297         Handle the case where the selected clock cannot be set on
11298         the pipeline.
11299
11300         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
11301         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
11302         (gst_net_client_clock_set_property),
11303         (gst_net_client_clock_get_property),
11304         (gst_net_client_clock_observe_times):
11305         * gst/net/gstnetclientclock.h:
11306         Use regression code in GstClock parent, remove duplicated
11307         functionality.
11308
11309 2005-11-22  Michael Smith <msmith@fluendo.com>
11310
11311         * gst/gstutils.c: (gst_util_clock_time_scale):
11312         * gst/gstutils.h:
11313         * docs/gst/gstreamer-sections.txt:
11314           Rename method to have extra underscore.
11315
11316 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11317
11318         * gst/elements/Makefile.am:
11319         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
11320         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11321         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
11322         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
11323         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
11324         * gst/elements/gstfakesrc.h:
11325         * gst/gstqueue.c: (queue_leaky_get_type):
11326           correctly fix GEnumValues so that nick is the short lowercase
11327           dashed tag
11328         * tools/gst-inspect.c: (print_element_properties_info):
11329           also show the nick, since it's useful to use from parse_launch
11330           syntax
11331           Fixes #322139
11332
11333 2005-11-22  Michael Smith <msmith@fluendo.com>
11334
11335         * gst/gstutils.c: (gst_util_clocktime_scale):
11336         * gst/gstutils.h:
11337         * docs/gst/gstreamer-sections.txt:
11338           Add util method for scaling a clocktime by a fraction. Useful 
11339           implementation is left as an exercise for the reader.
11340
11341 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11342
11343         * gst/gstvalue.c: (gst_value_collect_fraction_range):
11344         If needed, allocate storage in the destination value during
11345         collection.
11346
11347 2005-11-22  Edward Hervey  <edward@fluendo.com>
11348
11349         * docs/gst/gstreamer-sections.txt:
11350         * gst/Makefile.am:
11351         * gst/gst.h:
11352         * gst/gsturitype.c:
11353         * gst/gsturitype.h:
11354         * gst/gstutils.c: (gst_util_set_object_arg):
11355         * tools/gst-compprep.c: (main):
11356         * tools/gst-inspect.c: (print_element_properties_info):
11357         Removed GstURI, closes bug #321061
11358
11359 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11360
11361         * check/gst/gststructure.c: (GST_START_TEST):
11362         * gst/gststructure.c: (gst_structure_parse_value):
11363           Oops, broke automatic string type parsing.
11364           Add a test to catch it in future.
11365
11366 2005-11-22  Andy Wingo  <wingo@pobox.com>
11367
11368         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
11369         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
11370         Actually rename the function implementations. Grr.
11371
11372 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11373
11374         * check/gst/capslist.h:
11375           Comment test cases
11376         * check/gst/gststructure.c: (GST_START_TEST),
11377         (gst_structure_suite):
11378           Test automatic value type detection in gst_structure_from_string.
11379         * gst/gststructure.c: (gst_structure_parse_value):
11380           Add fraction as a type we try and guess automatically in
11381           caps/structure strings.
11382
11383 2005-11-22  Andy Wingo  <wingo@pobox.com>
11384
11385         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
11386
11387         * gst/gsttagsetter.h:
11388         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
11389         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
11390         (gst_tag_setter_add_tag_valist)
11391         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
11392         _add_values, _add_valist, and _add_valist_values. Since this is an
11393         interface the function suffixes should be more explicit so
11394         language binding don't end up with element.add_valist ->
11395         gst_tag_setter_add_valist, for example. Fixes #322069.
11396
11397 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11398
11399         * check/gst/gstcaps.c: (GST_START_TEST):
11400           Extend caps string tests to check that a caps to string
11401           conversion is reversible and produces the same caps.
11402
11403         * gst/gststructure.c: (gst_structure_value_get_generic_type):
11404           Output "fraction" as the generic type fraction range, so caps
11405           serialisation and deserialisation works.
11406         * check/gst/capslist.h:
11407         * gst/gstvalue.c: (gst_value_deserialize_fraction):
11408           Support 'MIN' and 'MAX' for deserialising fractions.
11409
11410 2005-11-22  Andy Wingo  <wingo@pobox.com>
11411
11412         * gst/gstevent.h (gst_event_new_new_segment)
11413         (gst_event_parse_new_segment, gst_event_new_buffer_size)
11414         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
11415         Renamed from *_newsegment, *_buffersize, *_notarget.
11416
11417         * scripts/update-funcnames: New script, performs the changes
11418         listed above.
11419
11420 2005-11-22  Wim Taymans  <wim@fluendo.com>
11421
11422         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11423         Make sure the GstFlowReturn is returned.
11424
11425         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
11426         (gst_bus_add_signal_watch):
11427         * gst/gstbus.h:
11428         add gst_bus_add_signal_watch_full.
11429
11430         * gst/gstplugin.c: (gst_plugin_load_file):
11431         Small style cleanup.
11432
11433 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11434
11435         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
11436           Block the fakesrc srcpad when we send an event, to avoid
11437           contention on the stream_lock causing random test failures.
11438
11439 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11440
11441         * check/gst/gstvalue.c: (GST_START_TEST):
11442         * gst/gstvalue.c: (gst_value_fraction_subtract):
11443           Fix subtraction.
11444
11445 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
11446
11447         * gst/gst.h:
11448           include "gstchildproxy.h"
11449         * gst/gstchildproxy.h:
11450         * libs/gst/controller/gstcontroller.h:
11451           use G_GNUC_NULL_TERMINATED
11452
11453 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11454
11455         * check/gst/capslist.h:
11456         * check/gst/gstcaps.c: (GST_START_TEST):
11457         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11458         * gst/gststructure.c: (gst_structure_parse_range),
11459         (gst_structure_fixate_field_nearest_fraction):
11460         * gst/gststructure.h:
11461         * gst/gstvalue.c: (gst_value_init_fraction_range),
11462         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
11463         (gst_value_collect_fraction_range),
11464         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
11465         (gst_value_set_fraction_range_full),
11466         (gst_value_get_fraction_range_min),
11467         (gst_value_get_fraction_range_max),
11468         (gst_value_serialize_fraction_range),
11469         (gst_value_transform_fraction_range_string),
11470         (gst_value_compare_fraction_range),
11471         (gst_value_deserialize_fraction_range),
11472         (gst_value_intersect_fraction_fraction_range),
11473         (gst_value_intersect_fraction_range_fraction_range),
11474         (gst_value_subtract_fraction_fraction_range),
11475         (gst_value_subtract_fraction_range_fraction),
11476         (gst_value_subtract_fraction_range_fraction_range),
11477         (gst_value_collect_fraction), (gst_value_fraction_multiply),
11478         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
11479         (gst_value_transform_string_fraction), (_gst_value_initialize):
11480         * gst/gstvalue.h:
11481           Implement fraction ranges and extend GstFraction to support
11482           arithmetic subtraction, as well as deserialization from integer
11483           strings such as "100"
11484           Add a testsuite as for int and double range set operations
11485
11486 2005-11-21  Andy Wingo  <wingo@pobox.com>
11487
11488         * gst/gsttaglist.h: 
11489         * gst/gstcaps.h: 
11490         * gst/gststructure.h: Add glib-compat.h.
11491
11492 2005-11-21  Wim Taymans  <wim@fluendo.com>
11493
11494         * gst/gstbin.c: (gst_bin_change_state_func):
11495         Fix for #321595
11496
11497 2005-11-21  Wim Taymans  <wim@fluendo.com>
11498
11499         * gst/gstsegment.h:
11500         And add a nice define too.
11501
11502 2005-11-21  Wim Taymans  <wim@fluendo.com>
11503
11504         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
11505         (gst_segment_new), (gst_segment_free), (gst_segment_init),
11506         (gst_segment_set_duration), (gst_segment_set_last_stop),
11507         (gst_segment_set_seek), (gst_segment_set_newsegment),
11508         (gst_segment_to_stream_time), (gst_segment_to_running_time),
11509         (gst_segment_clip):
11510         * gst/gstsegment.h:
11511         Make binding friendly.
11512
11513 2005-11-21  Andy Wingo  <wingo@pobox.com>
11514
11515         * gst/gsttagsetter.h: 
11516         * gst/gsttaglist.h: 
11517         * gst/gststructure.h: 
11518         * gst/gstcaps.h: 
11519         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
11520         #319940.
11521
11522         * gst/gsterror.c (_gst_core_errors_init):
11523         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
11524         category.
11525
11526         * gst/Makefile.am (gst_headers): Add glib-compat.h.
11527         (noinst_HEADERS): noinst the -private.
11528
11529 2005-11-21  Michael Smith <msmith@fluendo.com>
11530
11531         * gst/gstplugin.h:
11532         * gst/gstregistry.h:
11533           Remove unimplemented declarations for which we can see no sensible
11534           use.
11535
11536 2005-11-21  Andy Wingo  <wingo@pobox.com>
11537
11538         * gst/gst.h: Include glib-compat.h.
11539
11540         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
11541
11542         * gst/glib-compat.c: Include the public and the private header.
11543
11544         * gst/glib-compat-private.h: Copied here from glib-compat.h.
11545
11546         * gst/gstvalue.c: 
11547         * gst/gstpad.c: 
11548         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
11549
11550         * check/gst/gstevent.c (create_custom_events): Check that
11551         FLUSH_STOP is serialized.
11552
11553         * check/elements/identity.c (event_func): 
11554         * check/elements/fakesrc.c (event_func): No stream lock, the core
11555         takes it.
11556
11557         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
11558         stream lock taking, yay.
11559
11560         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
11561         ensure that core takes the stream lock.
11562
11563         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
11564         lock name change.
11565
11566         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
11567         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
11568         it already. For the flush start we do take it though so we get the
11569         right preroll state change messages.
11570
11571         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
11572         the stream lock here, the core does it for us.
11573
11574         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
11575         GST_STREAM_GET_LOCK.
11576         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
11577         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
11578         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
11579         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
11580         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
11581         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
11582
11583         * gst/gstpad.c: Update for stream lock name change.
11584
11585         * gst/base/gstbasesink.c: Update for preroll lock name change.
11586
11587 2005-11-21  Wim Taymans  <wim@fluendo.com>
11588
11589         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
11590         (gst_clock_get_master):
11591         * gst/gstclock.h:
11592         * gst/gstsystemclock.c: (gst_system_clock_init):
11593         Convert Clock flags to object flags.
11594         Added methods to manage master/slave clocks.
11595
11596 2005-11-21  Wim Taymans  <wim@fluendo.com>
11597
11598         * check/gst/gstsegment.c: (GST_START_TEST):
11599         * docs/design/part-TODO.txt:
11600         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11601         (gst_base_sink_event), (gst_base_sink_do_sync),
11602         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11603         (gst_base_sink_query), (gst_base_sink_change_state):
11604         * gst/base/gstbasesink.h:
11605         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
11606         (gst_base_src_default_newsegment),
11607         (gst_base_src_configure_segment), (gst_base_src_do_seek),
11608         (gst_base_src_get_range), (gst_base_src_loop),
11609         (gst_base_src_change_state):
11610         * gst/base/gstbasesrc.h:
11611         * gst/base/gstbasetransform.c:
11612         (gst_base_transform_prepare_output_buf),
11613         (gst_base_transform_event), (gst_base_transform_change_state):
11614         * gst/base/gstbasetransform.h:
11615         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11616         (gst_collect_pads_event):
11617         * gst/base/gstcollectpads.h:
11618         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
11619         (gst_fake_src_create):
11620         * gst/elements/gstfakesrc.h:
11621         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
11622         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11623         (gst_segment_set_last_stop), (gst_segment_set_seek),
11624         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11625         (gst_segment_to_running_time), (gst_segment_clip):
11626         * gst/gstsegment.h:
11627         More segment updates, replace code in plugins with segment
11628         helper functions.
11629
11630 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
11631
11632         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
11633         Don't ignore sscanf results
11634
11635 2005-11-21  Andy Wingo  <wingo@pobox.com>
11636
11637         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
11638
11639         * *.h:
11640         * *.c: Ran scripts/update-macros. Oh yes.
11641
11642         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
11643         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
11644         GST_GET_LOCK, etc.
11645
11646         * scripts/update-macros: New script. Run it on your files to
11647         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
11648         well.
11649
11650 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
11651
11652         * docs/gst/Makefile.am:
11653         * docs/gst/gstreamer-docs.sgml:
11654         * docs/gst/gstreamer-sections.txt:
11655         * docs/gst/gstreamer.types:
11656         * gst/gstinfo.h:
11657           more docs fixes, add new api to the docs
11658
11659 2005-11-21  Andy Wingo  <wingo@pobox.com>
11660
11661         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
11662         state_broadcast call.
11663
11664         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
11665
11666 2005-11-21  Julien MOUTTE  <julien@moutte.net>
11667
11668         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
11669         function calls for arrays.
11670
11671 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
11672
11673         * docs/random/ensonic/media-device-daemon.txt:
11674           wild idea, can this be done?
11675         * docs/gst/gstreamer-sections.txt:
11676         * gst/gsterror.h:
11677         * gst/gstfilter.c:
11678         * gst/gstfilter.h:
11679         * gst/gstplugin.h:
11680         * gst/gstpluginfeature.c:
11681         * gst/gsttrace.c:
11682         * gst/gstvalue.c:
11683         * gst/gstvalue.h:
11684           doc fixes and additions
11685
11686 2005-11-21  Andy Wingo  <wingo@pobox.com>
11687
11688         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
11689         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
11690         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
11691         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
11692         private to the basesrc implementation.
11693
11694         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
11695         behalf of event function if necessary. It should no longer be
11696         necessary to take the stream lock in pad's event functions. Fixes
11697         #320299.
11698
11699 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
11700         * docs/gst/gstreamer-sections.txt:
11701         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
11702         (gst_structure_fixate_field_nearest_double),
11703         (gst_structure_fixate_field_boolean):
11704         * gst/gststructure.h:
11705         * win32/common/libgstreamer.def:
11706         * win32/gstreamer.def:
11707
11708         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
11709         (#322027)
11710
11711 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
11712
11713         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
11714         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
11715         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
11716         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
11717         (gst_fdsrc_uri_handler_init):
11718         * gst/elements/gstfdsrc.h:
11719           Port fd:// URI handler from 0.8 to fdsrc
11720
11721 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11722
11723         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
11724         (gst_value_serialize_fourcc):
11725         * gst/gstvalue.h:
11726           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
11727           consistent with our other format defines (#320324).
11728
11729 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11730
11731         * gst/gstvalue.c: (gst_value_is_fixed):
11732           Revert previous commit. Value lists are by definition
11733           not fixed, as they are a list of possible values.
11734
11735 2005-11-21  Andy Wingo  <wingo@pobox.com>
11736
11737         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
11738         during the stable series if we need it. Fixes #319178.
11739
11740         * gst/gstevent.c (gst_event_new_filler): Removed.
11741
11742         * check/gst/gstevent.c: Update comment about filler events.
11743
11744 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11745
11746         * gst/gstvalue.c: (gst_value_is_fixed):
11747           Should handle both value arrays and value lists.
11748
11749 2005-11-21  Andy Wingo  <wingo@pobox.com>
11750
11751         patch by: Alessandro Dessina <alessandro nnva org>
11752
11753         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
11754         functions to access arrays. Fixes #321962.
11755
11756 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11757
11758         * docs/gst/gstreamer.types:
11759           gst_collectpads_get_type => gst_collect_pads_get_type.
11760           
11761         * gst/base/gstbasetransform.c:
11762           Remove unused SIGNAL_HANDOFF enum.
11763
11764 2005-11-21  Andy Wingo  <wingo@pobox.com>
11765
11766         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
11767         the event type (upstream, downstream, serialized). Renamed
11768         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
11769         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
11770         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
11771
11772         * gst/gstevent.c: Update for new CUSTOM event names.
11773
11774         * check/gst/gstevent.c: Update check for new CUSTOM event names.
11775
11776         * gst/gstevent.h:
11777         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
11778         bug #319392.
11779
11780 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11781
11782         * docs/gst/gstreamer-sections.txt:
11783         * win32/common/libgstbase.def:
11784         * win32/libgstbase.def:
11785         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11786         (gst_collect_pads_class_init), (gst_collect_pads_init),
11787         (gst_collect_pads_finalize), (gst_collect_pads_new),
11788         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
11789         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
11790         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
11791         (gst_collect_pads_start), (gst_collect_pads_stop),
11792         (gst_collect_pads_peek), (gst_collect_pads_pop),
11793         (gst_collect_pads_available), (gst_collect_pads_read),
11794         (gst_collect_pads_flush), (gst_collect_pads_event),
11795         (gst_collect_pads_chain):
11796         * gst/base/gstcollectpads.h:
11797           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
11798           unimplemented functions as unimplemented. Add padding to
11799           GstCollectData. (#320766, #320423)
11800
11801 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11802
11803         * gst/gstmessage.c:
11804           Improve docs for DURATION message (usage of duration parameter)
11805           (#320113)
11806
11807 2005-11-20  Wim Taymans  <wim@fluendo.com>
11808
11809         * check/Makefile.am:
11810         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
11811         (main):
11812         * gst/Makefile.am:
11813         * gst/gst.h:
11814         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11815         (gst_segment_set_seek), (gst_segment_set_newsegment),
11816         (gst_segment_to_stream_time), (gst_segment_to_running_time),
11817         (gst_segment_clip):
11818         * gst/gstsegment.h:
11819         Added segment helper structure and methods. Not fully implemented
11820         yet.
11821         Added segment check.
11822
11823 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
11824
11825         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11826           Add a deserialisation test for fractions
11827         * examples/metadata/read-metadata.c: (message_loop),
11828         (make_pipeline), (main):
11829           Fix up metadata reading sample.
11830         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11831           Debug format fix
11832         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
11833           Don't try and fixate empty caps
11834         * gst/gst_private.h:
11835           Wrap in G_BEGIN_DECLS/G_END_DECLS
11836         * gst/gstvalue.c: (gst_value_collect_fraction),
11837         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
11838         (gst_value_transform_string_fraction),
11839         (gst_value_compare_fraction):
11840           Add some extra guards to ensure that we don't end up 
11841           with an invalid denominator of 0 in a gstfraction and
11842           that fractions always get reduced.
11843
11844 2005-11-20  Wim Taymans  <wim@fluendo.com>
11845
11846         * docs/gst/gstreamer-sections.txt:
11847         * gst/gstbuffer.h:
11848         * gst/gstelement.c:
11849         * gst/gstformat.c:
11850         * gst/gstformat.h:
11851         * gst/gstindex.h:
11852         * gst/gstquery.c:
11853         * gst/gstquery.h:
11854         * gst/gstvalue.c:
11855         Doc fixes.
11856
11857 2005-11-20  Wim Taymans  <wim@fluendo.com>
11858
11859         * docs/design/part-TODO.txt:
11860         * gst/gstcaps.h:
11861         Make a proper enum of the flag.
11862
11863 2005-11-19  Wim Taymans  <wim@fluendo.com>
11864
11865         * docs/design/part-TODO.txt:
11866         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
11867         (gst_format_to_quark), (gst_format_register):
11868         * gst/gstformat.h:
11869         * gst/gstquery.c: (_gst_query_initialize),
11870         (gst_query_type_get_name), (gst_query_type_to_quark),
11871         (gst_query_type_register):
11872         * gst/gstquery.h:
11873         Add type to quark and type to string conversions.
11874
11875 2005-11-19  Andy Wingo  <wingo@pobox.com>
11876
11877         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
11878         #320097.
11879
11880 2005-11-19  Wim Taymans  <wim@fluendo.com>
11881
11882         * docs/design/part-TODO.txt:
11883         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
11884         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
11885         (gst_bin_handle_message_func):
11886         * gst/gstbin.h:
11887         Make message handling overridable.
11888
11889 2005-11-19  Andy Wingo  <wingo@pobox.com>
11890
11891         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
11892
11893         * gst/gstclock.h:
11894         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
11895         be a GstClockTime.
11896         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
11897         is a GstClockTime. Fixes #321710.
11898
11899         * gst/gstclock.h (GstClock): Remove offset property. Add
11900         internal_calibration and external_calibration. Fix padding. Pad
11901         also by GstClockTime so we don't run into problems.
11902
11903         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
11904         (gst_clock_get_rate_offset): Remove.
11905         (gst_clock_set_time_adjust): Remove. Fixes #321712.
11906
11907         * gst/gstutils.h:
11908         * gst/gstutils.c (g_static_rec_cond_wait)
11909         (g_static_rec_cond_timed_wait): Removed, no longer needed.
11910
11911         * gst/gstbin.c: Remove terrible continue_state prototype.
11912
11913         * gst/gstelement.h (gst_element_continue_state): Make public.
11914
11915         * gst/gstelement.h:
11916         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
11917         by continue_state. Fixes #319389.
11918
11919         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
11920         Really fixes #168438. However I don't see anywhere where the
11921         filter function is called... stupid GStreamer...
11922         
11923         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
11924         don't have a dispose function, so it won't get called when the
11925         object is unreffed, but oh well!
11926
11927         * gst/gstindex.c (gst_index_set_filter_full): New API function,
11928         allows a destroy function to be set so user_data can be freed.
11929         Fixes #168438.
11930         (gst_index_set_filter): Call gst_index_set_filter_full.
11931
11932         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
11933
11934         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
11935         string should produce an error, given the lack of a way to
11936         represent NULL strings. Fixes #165650.
11937         
11938         * gst/gstvalue.h: 
11939         * gst/gstvalue.c (gst_value_array_append_value) 
11940         (gst_value_array_prepend_value, gst_value_array_get_size) 
11941         (gst_value_array_get_value): New API, copied from
11942         gst_value_list_*, only operates on arrays.
11943         (gst_value_list_append_value, gst_value_list_prepend_value) 
11944         (gst_value_list_concat, gst_value_list_get_size) 
11945         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
11946
11947         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
11948         init_list, because it works on both.
11949         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
11950         (gst_value_copy_list_or_array): Renamed from copy_list.
11951         (gst_value_free_list_or_array): Renamed from free_list.
11952         (gst_value_collect_list_or_array): Renamed from collect_list.
11953         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
11954         (gst_value_list_or_array_peek_pointer): Renamed from
11955         list_peek_pointer.
11956         (_gst_value_array_value_table, _gst_value_list_value_table):
11957         Update value table functions.
11958         (gst_value_compare_list_or_array): Renamed from compare_list.
11959
11960         * gsttaglist.h: Whoops, foreach function returns void. Also fix
11961         some constness.
11962
11963         * gst/gsttaglist.c:
11964         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
11965         GstTagList*. Fixes #143472.
11966
11967         * gst/gststructure.h: Clarify what the foreach/map functions can
11968         or can't do to their arguments.
11969
11970 2005-11-18  Wim Taymans  <wim@fluendo.com>
11971
11972         * gst/gstclock.c: (gst_clock_set_calibration),
11973         (gst_clock_get_calibration):
11974         Doc and API fixes.
11975         Calibration can be set with internal time equal to current
11976         internal time too.
11977
11978 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
11979
11980         * gst/gsterror.c:
11981         * gst/gsterror.h:
11982           document
11983
11984 2005-11-18  Andy Wingo  <wingo@pobox.com>
11985
11986         * configure.ac: 
11987         * pkgconfig/gstreamer-net.pc.in:
11988         * pkgconfig/gstreamer-net-uninstalled.pc.in:
11989         * pkgconfig/Makefile.am: Add net pkgconfig files.
11990
11991 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
11992
11993         * gst/gstcaps.c:
11994         * gst/gstghostpad.c:
11995         * gst/gsttrace.c:
11996         * gst/gstvalue.c:
11997         * gst/gstvalue.h:
11998           docs fixes
11999
12000 2005-11-18  Andy Wingo  <wingo@pobox.com>
12001
12002         * gst/net/gstnetclientclock.c: Turn off debugging.
12003
12004         * check/net/gstnetclientclock.c (test_functioning): Assert that the
12005         times connverge somewhat. Can't make a real test.
12006
12007         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
12008         integer arithmetic. Return the minimum of the domain, which can be
12009         set as "internal" for gst_clock_set_calibration.
12010         (gst_net_client_clock_observe_times): Call _set_calibration.
12011         (gst_net_client_clock_new): Call _set_calibration instead of
12012         rate_offset.
12013
12014         * check/net/gstnetclientclock.c (test_functioning): Use the right
12015         adjustment api.
12016
12017         * gst/gstclock.h:
12018         * gst/gstclock.c (gst_clock_get_calibration) 
12019         (gst_clock_set_calibration): New functions, obsolete the ones I
12020         added yesterday. Doh. Precision issues mean we have to extrapolate
12021         from a point in the more recent past than 1970.
12022         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
12023         obsolete.
12024         (gst_clock_adjust_unlocked): Use the right calibration data.
12025
12026 2005-11-18  Edward Hervey  <edward@fluendo.com>
12027
12028         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
12029         Also reset the ->current_* values in READY->PAUSED
12030
12031 2005-11-18  Andy Wingo  <wingo@pobox.com>
12032
12033         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
12034         Whoops, check the right fd. Also add some debugging.
12035         (gst_net_client_clock_observe_times): Adjust for int64 offset.
12036         (do_linear_regression): Add a crapload of debugging. Subtract off
12037         the minimum values from the input series to discard unneeded bits.
12038         Use only int arithmetic. There is still double arithmetic when
12039         calculating the intercept that needs fixing. Return boolean to
12040         indicate success; FALSE would mean the domain or range is too
12041         great. Still needs fixes.
12042
12043 2005-11-18  Wim Taymans  <wim@fluendo.com>
12044
12045         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
12046         For the current position in stream time, we need to subtract
12047         accumulated time.
12048         
12049         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
12050         Release lock before calling the callback function of async
12051         entries.
12052
12053 2005-11-18  Andy Wingo  <wingo@pobox.com>
12054
12055         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
12056         Port goes all the way to MAXUINT16.
12057
12058         * gst/net/gstnettimeprovider.c: Make the port range the same as
12059         for the kernel: 0 assigns, otherwise ports are less than
12060         MAXUINT16.
12061
12062         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
12063         port change.
12064
12065         * check/net/gstnetclientclock.c (test_functioning): Add the start
12066         of another test. 
12067
12068 2005-11-18  Wim Taymans  <wim@fluendo.com>
12069
12070         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
12071         (gst_bin_remove_func), (bin_bus_handler):
12072         * gst/gstbin.h:
12073         Removing a clock provider from a bin, triggers a clock lost message
12074         so that a new clock will be selected.
12075         Adding a clock to a bin triggers a clock provider message.
12076         Make sure we reselect a clock when we received a clock lost message.
12077         Keep a reference to the element that provided the clock.
12078
12079 2005-11-18  Andy Wingo  <wingo@pobox.com>
12080
12081         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
12082         the clock initially so it produces values around the base time.
12083         (gst_net_client_clock_class_init): Typo fix.
12084         (gst_net_client_clock_thread): Add note on when the socket gets
12085         closed.
12086
12087 2005-11-17  Wim Taymans  <wim@fluendo.com>
12088
12089         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
12090         Free remote and local time arrays.
12091
12092 2005-11-17  Wim Taymans  <wim@fluendo.com>
12093
12094         * gst/net/gstnetclientclock.c: (do_linear_regression),
12095         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
12096         Fix compilation, uninitialized vars and a forgotten continue.
12097
12098 2005-11-17  Andy Wingo  <wingo@pobox.com>
12099
12100         * check/Makefile.am (check_PROGRAMS): 
12101         * check/net/gstnetclientclock.c: Add a most minimal test for the
12102         net client clock. More to come later.
12103
12104         * gst/net/gstnet.h: 
12105         * gst/net/Makefile.am: Add netclientclock.
12106
12107         * gst/net/gstnetclientclock.h:
12108         * gst/net/gstnetclientclock.c: New files, implement an untested
12109         GstClock that takes its time from a network time provider.
12110         Implements the algorithm in network-clock.scm.
12111
12112         * tests/network-clock.scm (*window-size*): Rename from
12113         *queue-length*.
12114         * tests/network-clock.scm (network-time): 
12115         * tests/network-clock-utils.scm (q-push): Update callers.
12116
12117 2005-11-17  Wim Taymans  <wim@fluendo.com>
12118
12119         * gst/gstbin.c: (gst_bin_provide_clock_func),
12120         (gst_bin_sort_iterator_new):
12121         And unref the child too..
12122
12123 2005-11-17  Wim Taymans  <wim@fluendo.com>
12124
12125         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12126         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
12127         Refactor the sort iterator so it can be used while holding the
12128         LOCK too.
12129         Make clock selection select a clock closest to the source.
12130
12131 2005-11-17  Michael Smith <msmith@fluendo.com>
12132
12133         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
12134         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
12135         * gst/gstclock.h:
12136           Anonymous structs are a gcc (and some other compilers) extension, so
12137           don't use them. Since this is only for ABI-compatibility, and our
12138           API/ABI freeze is over in a few days, this whole thing will only
12139           last a few days, so don't bother trying to think up a meaningful
12140           name for the struct.
12141
12142 2005-11-17  Andy Wingo  <wingo@pobox.com>
12143
12144         * gst/gstclock.h (GstClock): Add rate and offset properties,
12145         preserving ABI stability. Add rate/offset accessors. Will file bug
12146         for the freeze break.
12147
12148         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
12149         and offset, trying to keep precision and avoiding
12150         underflow/overflow.
12151         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
12152         functions. Make gst_clock_set_time_adjust obsolete.
12153         (gst_clock_set_time_adjust): Note that this function is obsolete.
12154         Will file bug soon.
12155
12156         * gst/base/gstbasetransform.h: Make the ABI-stability hack
12157         greppable by using GST_PADDING-1+1.
12158
12159 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
12160
12161         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12162
12163         * gst/gstmessage.c: (gst_message_parse_clock_lost):
12164           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
12165
12166         * gst/gstpadtemplate.h:
12167         * gst/gstpluginfeature.h:
12168           Don't use c++ style comments in headers (#321638).
12169
12170 2005-11-16  Andy Wingo  <wingo@pobox.com>
12171
12172         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
12173         buffer.
12174
12175         * check/net/gstnettimeprovider.c: Check to see that the time
12176         provider actually provides times. Works, yo!
12177
12178 2005-11-16  Wim Taymans  <wim@fluendo.com>
12179
12180         * check/Makefile.am:
12181         Enable more tests.
12182
12183         * check/elements/fakesrc.c: (GST_START_TEST):
12184         Set element to NULL before disposing it.
12185
12186 2005-11-16  Andy Wingo  <wingo@pobox.com>
12187
12188         * gst/net/Makefile.am:
12189         * gst/net/gstnet.h:
12190         * gst/net/gstnettimeprovider.c: 
12191         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
12192         provider, include it from gstnet.h, and add it to the build.
12193
12194         * gst/net/gstnettimepacket.h: 
12195         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
12196         sending and receiving.
12197
12198 2005-11-16  Wim Taymans  <wim@fluendo.com>
12199
12200         * check/Makefile.am:
12201         Enable valgrind check.
12202
12203         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
12204         (gst_fake_src_alloc_buffer):
12205         Fix memleak.
12206
12207 2005-11-16  Wim Taymans  <wim@fluendo.com>
12208
12209         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
12210         Call parent finalize too.
12211
12212 2005-11-16  Wim Taymans  <wim@fluendo.com>
12213
12214         * check/Makefile.am:
12215         Enable valgrind check that should work fine now.
12216
12217         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12218         * gst/gstqueue.c: (gst_queue_init):
12219         Fix memleaks in pad allocation.
12220
12221 2005-11-16  Andy Wingo  <wingo@pobox.com>
12222
12223         * gst/net/Makefile.am:
12224         * gst/net/gstnet.h: New part of core to hold network elements and
12225         objects. Put in core because it exposes API that applications want
12226         to use. The library is named libgstnet-tempname right now because
12227         of the existing libgstnet in gst-plugins-base. Solution is
12228         probably to rename the one in plugins-base; will file a bug for
12229         the freeze break.
12230
12231         * gst/net/gstnettimeprovider.c: 
12232         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
12233         get_time call over the network.
12234
12235         * configure.ac: 
12236         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
12237
12238         * check/Makefile.am:
12239         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
12240         get additions shortly.
12241
12242 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12243
12244         * gst/gstpad.c: (gst_pad_new_from_static_template):
12245         * gst/gstpad.h:
12246           add gst_pad_new_from_static_template functions
12247         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
12248         (gst_check_setup_sink_pad):
12249         * gst/elements/gsttee.c: (gst_tee_init):
12250           and use them
12251
12252 2005-11-16  Wim Taymans  <wim@fluendo.com>
12253
12254         * gst/gstpad.c: (gst_pad_pause_task):
12255         Removed warning, it's not really an error either.
12256
12257 2005-11-16  Wim Taymans  <wim@fluendo.com>
12258
12259         * gst/base/gstbasetransform.c:
12260         (gst_base_transform_prepare_output_buf),
12261         (gst_base_transform_event):
12262         Check if the caps are NULL, this can happen if the element
12263         is shutting down and the pad caps are set to NULL.
12264
12265 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12266
12267         * gst/elements/gsttee.c: (gst_tee_init):
12268           fix pad template leak in tee
12269
12270 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12271
12272         * gst/glib-compat.c: (g_value_dup_gst_object):
12273         * gst/glib-compat.h:
12274         * gst/gstpad.c: (gst_pad_set_property):
12275           use gst_object_ref when setting the pad template; this will
12276           trigger the pad template leaks on GLib 2.6 and the slaves
12277
12278 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12279
12280         * gst/glib-compat.c: (gst_flags_get_first_value):
12281         * gst/glib-compat.h:
12282         * gst/gstregistryxml.c:
12283           remove functions copied from GLib 2.6
12284
12285 2005-11-16  Michael Smith <msmith@fluendo.com>
12286
12287         * gst/Makefile.am:
12288           Don't link against VALGRIND_LIBS. That was always the wrong thing to
12289           do, but only breaks with newer valgrind versions. We're not a
12290           valgrind tool, we have no link-time dependencies on libcoregrind.
12291
12292 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12293
12294         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12295           some debug changes
12296         * gst/gstmessage.h:
12297           typo fixes
12298
12299 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12300
12301         * gst/base/gstbasesrc.c: (gst_base_src_init):
12302         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12303         * gst/gstqueue.c: (gst_queue_init):
12304         * gst/gstregistryxml.c: (load_feature):
12305           Revert all these unrefs, they don't even pass make check !
12306
12307 2005-11-15  Johan Dahlin  <johan@gnome.org>
12308
12309         * gst/base/gstbasesrc.c: (gst_base_src_init):
12310         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12311         * gst/gstqueue.c: (gst_queue_init): 
12312         Free pad templates, fixes a couple of leaks.
12313
12314 2005-11-15  Daniel Fischer  <dan at f3c dot com>
12315
12316         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12317
12318         * gst/gstpad.c: (gst_pad_get_property):
12319           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
12320           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
12321           (#321452)
12322
12323 2005-11-15  Wim Taymans  <wim@fluendo.com>
12324
12325         * gst/gstevent.c:
12326         Small doc update.
12327
12328 2005-11-15  Andy Wingo  <wingo@pobox.com>
12329
12330         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
12331
12332         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
12333         using GST_CLOCK_TIME_NONE to disable base time management.
12334         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
12335         time if it was NONE before.
12336         (gst_pipeline_change_state): Only munge the base time if
12337         stream_time != GST_CLOCK_TIME_NONE.
12338
12339         * check/gst/gstpipeline.c (test_base_time): Punt around the
12340         problem of the probe not being called, because that's not the
12341         issue I'm looking at. Add a check that setting stream_time to NONE
12342         disables base time management.
12343         
12344 2005-11-15  Wim Taymans  <wim@fluendo.com>
12345
12346         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12347         segment_stop == -1 at startup.
12348
12349         * gst/base/gstbasetransform.c: (gst_base_transform_event),
12350         (gst_base_transform_change_state):
12351         Init segment values at start.
12352
12353 2005-11-15  Wim Taymans  <wim@fluendo.com>
12354
12355         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12356         0 segment values are 0 in any format.
12357
12358         * gst/base/gstbasetransform.c: (gst_base_transform_event):
12359         * gst/base/gstbasetransform.h:
12360         Parse newsegment correctly in basetransform
12361
12362         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12363         Sync to clock using updated segment values.
12364
12365 2005-11-15  Andy Wingo  <wingo@pobox.com>
12366
12367         * check/gst/gstpipeline.c (test_base_time): Add check that the
12368         base time and stream time are reset correctly.
12369
12370 2005-11-15  Wim Taymans  <wim@fluendo.com>
12371
12372         * docs/design/part-TODO.txt:
12373         Some more TODO items.
12374
12375 2005-11-15  Andy Wingo  <wingo@pobox.com>
12376
12377         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
12378         error if the user selected "no clock" as the clocking method.
12379
12380         * check/gst/gstpipeline.c (test_base_time): New test for buffer
12381         timestamps with live capture.
12382
12383         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
12384         is 0 but we are a live source, timestamp the buffers using the
12385         element's clock.
12386
12387 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
12388
12389         * docs/gst/gstreamer-sections.txt:
12390         * gst/gsterror.c:
12391         * gst/gstghostpad.c:
12392         * gst/gstobject.h:
12393         * gst/gstxml.c:
12394           more section docs
12395
12396 2005-11-14  Wim Taymans  <wim@fluendo.com>
12397
12398         * common/gst.supp:
12399           add suppressions from Wim's Debian machine
12400
12401 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12402
12403         * common/gst.supp:
12404           add suppressions from Andy's AMD64 Ubuntu machine
12405
12406 2005-11-14  Andy Wingo  <wingo@pobox.com>
12407
12408         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
12409         STATE_LOCK not necessary. Fixes #311489.
12410
12411         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
12412         #305291.
12413
12414         * gst/gstindex.c (gst_index_add_object): Note in the docs that
12415         this function is not implemented.
12416
12417 2005-11-14  Julien MOUTTE  <julien@moutte.net>
12418
12419         * gst/base/gstbasetransform.c:
12420         (gst_base_transform_prepare_output_buf):
12421         Ref the source pad caps while we need them.
12422         Fixes (#321386)
12423
12424 2005-11-11  Wim Taymans  <wim@fluendo.com>
12425
12426         * docs/gst/gstreamer-sections.txt:
12427         Added some docs for GstCollectData.
12428
12429         * gst/base/gstadapter.c:
12430         Some small code example fix.
12431
12432         * gst/base/gstcollectpads.c:
12433         * gst/base/gstcollectpads.h:
12434         Document some more.
12435
12436 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
12437
12438         * configure.ac: back to HEAD
12439
12440 === release 0.9.5 ===
12441
12442 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
12443
12444         * configure.ac:
12445           releasing 0.9.5, "Bike Lunch Day"
12446
12447 2005-11-11  Wim Taymans  <wim@fluendo.com>
12448
12449         * gst/gstbuffer.c: (_gst_buffer_copy):
12450         Copy more flags.
12451
12452         * gst/gstcaps.c: (gst_caps_is_equal):
12453         Fix some docs.
12454         Make _is_equal fast in the trivial cases.
12455
12456         * gst/gstminiobject.c:
12457         * gst/gstminiobject.h:
12458         More docs. Spifify .h file.
12459
12460         * gst/gstutils.c:
12461         Small doc update.
12462
12463 2005-11-11  Wim Taymans  <wim@fluendo.com>
12464
12465         * gst/base/gstbasetransform.c:
12466         (gst_base_transform_prepare_output_buf),
12467         (gst_base_transform_handle_buffer):
12468         Small cleanups.
12469         If we're processing a buffer and need to allocate an output
12470         buffer, we cannot accept a format change. If we did get a 
12471         format change, we have to alloc a buffer ourselves of the 
12472         right size.
12473
12474 2005-11-11  Wim Taymans  <wim@fluendo.com>
12475
12476         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
12477         While checking the flag for reentrancy in the gstcaps function
12478         is nice to detect recursive invocations, it also makes it 
12479         impossible to call getcaps from multiple threads, which must be
12480         possible. So, checking for recursive calls has to go.
12481
12482 2005-11-11  Michael Smith <msmith@fluendo.com>
12483
12484         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12485           Don't sync on buffers that fall partially outside our current
12486           segment. Prevents an assertion failure/abort playing some files.
12487
12488 2005-11-10  Andy Wingo  <wingo@pobox.com>
12489
12490         * check/gst/gstbin.c (test_message_state_changed_children): Style
12491         fix..
12492
12493         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
12494         gst_bus_poll with the signal watch. Ensures that poll and a signal
12495         watch see the same messages.
12496
12497         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
12498         a poll and a watch at the same time get the same messages.
12499
12500 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12501
12502         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
12503         * gst/gstcaps.c: (gst_caps_intersect):
12504           Don't call gst_caps_do_simplify - it doesn't respect order of caps
12505           and it's not needed.
12506
12507 2005-11-10  Wim Taymans  <wim@fluendo.com>
12508
12509         * docs/design/part-TODO.txt:
12510         Updated todo.
12511
12512 2005-11-10  Wim Taymans  <wim@fluendo.com>
12513
12514         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12515         * gst/base/gstbasesrc.c: (gst_base_src_wait),
12516         (gst_base_src_do_sync), (gst_base_src_get_range):
12517         Implement clock sync in base class.
12518
12519 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12520
12521         patch by: Tim-Philipp Müller <tim at centricular dot net>
12522
12523         * gst/gststructure.c: (gst_structure_parse_field),
12524         (gst_structure_from_string):
12525           Forward-port a 0.8 patch to handle escaped spaces in structure string,
12526           so that gst_parse_launch() can deal with spaces in filtered link
12527           caps (fixes #164479)
12528         * check/gst/capslist.h:
12529         * check/gst/gststructure.c: (GST_START_TEST):
12530           add unit tests for this change
12531
12532 2005-11-10  Wim Taymans  <wim@fluendo.com>
12533
12534         * docs/gst/gstreamer-sections.txt:
12535         * gst/gstelement.c:
12536         * gst/gstelement.h:
12537         Fix docs, move some STATE macros to private.
12538
12539 2005-11-10  Wim Taymans  <wim@fluendo.com>
12540
12541         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12542         Added check for bug #317341
12543
12544         * gst/gstbuffer.c:
12545         * gst/gstbuffer.h:
12546         Some more spiffifying.
12547
12548         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
12549         Call peer linkfunction if we are a source pad. Totally fixes
12550         #317341
12551
12552         * gst/gstpad.c:
12553         Update docs, source pads should call the peer linkfunction
12554         so they can atomically perform the pad link.
12555
12556 2005-11-09  Wim Taymans  <wim@fluendo.com>
12557
12558         * gst/gstbuffer.c:
12559         * gst/gstbuffer.h:
12560         Uber-spiffy-spiffify some more.
12561
12562 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
12563
12564         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
12565         * gst/elements/gstfilesink.c: (gst_file_sink_init):
12566         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12567         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
12568         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
12569         * gst/gstpad.c: (gst_pad_init):
12570           Use GST_DEBUG_FUNCPTR() more extensively.
12571
12572 2005-11-09  Wim Taymans  <wim@fluendo.com>
12573
12574         * gst/gstobject.c: (gst_object_class_init):
12575         * gst/gstobject.h:
12576         Documentation fixes.
12577
12578 2005-11-09  Edward Hervey  <edward@fluendo.com>
12579
12580         * gst/gsttypefindfactory.c:
12581         Fix docs.
12582         
12583 2005-11-09  Edward Hervey  <edward@fluendo.com>
12584
12585         * gst/base/gsttypefindhelper.c:
12586         * gst/gsttypefind.c:
12587         * gst/gsttypefind.h:
12588         Fix docs.
12589
12590 2005-11-09  Wim Taymans  <wim@fluendo.com>
12591
12592         * gst/gstiterator.c:
12593         Fix revision data.
12594
12595         * gst/gsttask.c:
12596         * gst/gsttask.h:
12597         Fix docs.
12598
12599 2005-11-09  Wim Taymans  <wim@fluendo.com>
12600
12601         * gst/gstevent.h:
12602         * gst/gsturi.h:
12603         Fix docs.
12604
12605 2005-11-09  Wim Taymans  <wim@fluendo.com>
12606
12607         * docs/gst/gstreamer-sections.txt:
12608         Moved the message async delivery private lock and cond
12609         to the private section.
12610
12611         * gst/gstmessage.c:
12612         * gst/gstmessage.h:
12613         Fixed docs.
12614
12615 2005-11-09  Edward Hervey  <edward@fluendo.com>
12616
12617         * docs/gst/gstreamer-sections.txt:
12618         * gst/gsturi.c:
12619         * gst/gsturi.h:
12620         Document GstURIHandler
12621
12622 2005-11-09  Wim Taymans  <wim@fluendo.com>
12623
12624         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
12625         (gst_iterator_find_custom):
12626         * gst/gstiterator.h:
12627         Fix iterator docs.
12628
12629 2005-11-09  Wim Taymans  <wim@fluendo.com>
12630
12631         * gst/gstbin.h:
12632         Document another field.
12633
12634         * gst/gststructure.c:
12635         * gst/gststructure.h:
12636         Document.
12637
12638 2005-11-09  Wim Taymans  <wim@fluendo.com>
12639
12640         * gst/gstbin.h:
12641         Documented structs.
12642
12643 2005-11-09  Wim Taymans  <wim@fluendo.com>
12644
12645         * docs/gst/gstreamer-sections.txt:
12646         Added some new macros.
12647
12648         * gst/gstclock.c:
12649         * gst/gstclock.h:
12650         * gst/gstobject.h:
12651         Docs updates.
12652
12653 2005-11-09  Wim Taymans  <wim@fluendo.com>
12654
12655         * docs/design/part-TODO.txt:
12656         Some more items for the TODO
12657
12658         * gst/gstcaps.c:
12659         * gst/gstcaps.h:
12660         Document GstCaps.
12661
12662 2005-11-09  Andy Wingo  <wingo@pobox.com>
12663
12664         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
12665         to work on something else now tho...
12666
12667         * gst/base/gstadapter.c: More adapter docs.
12668
12669         * gst/elements/gstfilesink.c (gst_file_sink_start) 
12670         (gst_file_sink_stop): New functions, replace the state change
12671         handler.
12672         (gst_file_sink_class_init): Hook up the start and stop functions.
12673         (gst_file_sink_base_init): Don't set the state change handler any
12674         more. It was a bit ugly too, being set from here...
12675         (gst_file_sink_get_property, gst_file_sink_set_property):
12676         Cleanups...
12677         (gst_file_sink_set_location): More robust check that doesn't call
12678         GST_STATE. Ugggggg.
12679
12680 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
12681
12682         * gst/base/gstbasetransform.c: (gst_base_transform_event):
12683           Hold STREAM_LOCK while pushing newsegment or tag events as well.
12684
12685 2005-11-08  Wim Taymans  <wim@fluendo.com>
12686
12687         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
12688         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12689         (gst_base_sink_chain), (gst_base_sink_change_state):
12690         * gst/base/gstbasesink.h:
12691         * gst/base/gstbasesrc.h:
12692         * gst/gstelement.h:
12693         * gst/gstevent.h:
12694         Avoid excessive typechecking in macros.
12695
12696         * gst/gstminiobject.c: (gst_mini_object_get_type),
12697         (gst_mini_object_init), (gst_mini_object_new),
12698         (gst_mini_object_free):
12699         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12700         (gst_object_finalize):
12701         Remove cruft code, optimize alloc_trace.
12702
12703 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12704
12705         * docs/faq/gst-uninstalled:
12706           fix up PS1 for systems that try to reset it
12707
12708 2005-11-07  Wim Taymans  <wim@fluendo.com>
12709
12710         * gst/base/gstbasesrc.c: (gst_base_src_init),
12711         (gst_base_src_get_range):
12712         Set the segment_end to -1 initially. Fixed typefind.
12713
12714 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
12715
12716         * gst/base/gstadapter.c:
12717           Debug category should be 'adapter', not 'GstAdapter'.
12718           
12719         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
12720         (gst_collectpads_class_init), (gst_collectpads_init),
12721         (gst_collectpads_peek), (gst_collectpads_pop),
12722         (gst_collectpads_event), (gst_collectpads_chain):
12723           Add debug category and some debugging output. Use boilerplate
12724           macros. Remove some extraneous words from docs.
12725
12726 2005-11-05  Andy Wingo  <wingo@pobox.com>
12727
12728         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
12729         macro.
12730
12731 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
12732
12733         * docs/gst/gstreamer-sections.txt:
12734         * gst/gstcaps.h:
12735         * gst/gstinfo.c:
12736         * gst/gstminiobject.h:
12737         * gst/gstobject.h:
12738         * gst/gstutils.h:
12739           more docs added
12740
12741 2005-11-04  Wim Taymans  <wim@fluendo.com>
12742
12743         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12744         Small update to stop at the configured segment_end
12745         position.
12746
12747 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
12748
12749         * gst/gstregistry.c:
12750         * gst/gstregistry.h:
12751           added missing docs
12752
12753 2005-11-04  Edward Hervey  <edward@fluendo.com>
12754
12755         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12756         Check if we are doing a segment seek and have arrived at the
12757         end of that segment.
12758
12759 2005-11-04  Wim Taymans  <wim@fluendo.com>
12760
12761         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
12762         Don't leak a mutex unlock in case of an error.
12763
12764         * gst/gstbus.h:
12765         Doc fixes.
12766
12767 2005-11-04  Wim Taymans  <wim@fluendo.com>
12768
12769         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
12770         (gst_bus_post):
12771         Get the context to wake up only once.
12772
12773 2005-11-03  Wim Taymans  <wim@fluendo.com>
12774
12775         * check/states/sinks.c: (GST_START_TEST):
12776         Uncomment fixed check.
12777
12778         * docs/design/part-TODO.txt:
12779         Updated TODO.
12780
12781         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12782         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12783         (gst_base_sink_get_position):
12784         If we are going to PLAYING, post the right pending state
12785         when we post the intermediate paused message.
12786
12787         * gst/gstelement.c: (gst_element_continue_state),
12788         (gst_element_set_state_func), (gst_element_change_state):
12789         Don't post state changes that were between the same state
12790         and were not ASYNC.
12791
12792 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
12793
12794         * docs/gst/gstreamer-sections.txt:
12795         * gst/gstcaps.h:
12796         * gst/gstinfo.c:
12797         * gst/gstminiobject.h:
12798         * gst/gstobject.h:
12799         * gst/gstutils.h:
12800           more docs and doc style fixes
12801
12802 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
12803
12804         * docs/gst/gstreamer-sections.txt:
12805         * gst/gstelement.c:
12806         * gst/gstminiobject.c:
12807         doc fixes
12808
12809 2005-11-03  Andy Wingo  <wingo@pobox.com>
12810
12811         * check/states/sinks.c (test_livesrc_sink): Add checks that the
12812         state-changed messages actually have the right order and the right
12813         values.
12814
12815 2005-11-03  Wim Taymans  <wim@fluendo.com>
12816
12817         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
12818         Added some more checks. Specifically the case where NO_PREROLL
12819         elements are in the pipeline.
12820
12821         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12822         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12823         (gst_base_sink_get_position):
12824         Post READY->PAUSED state change messages too.
12825         Fix bug where VOID was posted as pending state...
12826
12827         * gst/gstbin.c: (gst_bin_recalc_state):
12828         use _element_continue_state() to continue the state change.
12829
12830         * gst/gstelement.c: (gst_element_continue_state),
12831         (gst_element_commit_state), (gst_element_set_state_func),
12832         (gst_element_change_state), (gst_element_change_state_func):
12833         Lots of state change cleanups, assign the STATE_RETURN in
12834         a new continue_state() function that also propagates the
12835         last return value from a state change to the app.
12836         Update some debug statements with proper category.
12837
12838 2005-11-03  Wim Taymans  <wim@fluendo.com>
12839
12840         * docs/design/part-events.txt:
12841         * docs/design/part-gstpipeline.txt:
12842         * docs/design/part-messages.txt:
12843         * docs/design/part-overview.txt:
12844         * docs/design/part-seeking.txt:
12845         * docs/design/part-states.txt:
12846         * docs/design/part-trickmodes.txt:
12847         * docs/manual/advanced-position.xml:
12848         Small docs updates.
12849
12850         * gst/gstobject.h:
12851         People think !! is ugly, this looks better.
12852
12853         * gst/gstpad.c: (gst_pad_set_blocked_async):
12854         Remove !! since it's fixed elsewhere now.
12855
12856 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
12857
12858         * gst/gstminiobject.h:
12859         * gst/gstobject.h:
12860           Add !! to _FLAG_IS_SET macros to make the result boolean.
12861
12862 2005-11-03  Edward Hervey  <edward@fluendo.com>
12863
12864         * gst/gstpad.c: (gst_pad_set_blocked_async):
12865         comparing a flag and a gboolean rarely returns coherent results...
12866         Added two characters (!!) to make that work correctly.
12867         
12868 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
12869
12870         * gst/gstbus.c: (gst_bus_class_init):
12871           Fix some typos.
12872           
12873         * gst/gstqueue.c: (gst_queue_loop):
12874           Don't assume a miniobject that isn't a buffer is an
12875           event (it could be that there is a refcounting
12876           problem somewhere and the pointer is stale and
12877           refers to an already destroyed miniobject).
12878
12879 2005-11-03  Julien MOUTTE  <julien@moutte.net>
12880
12881         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
12882
12883 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
12884
12885         * docs/manual/advanced-position.xml:
12886           Update seek example and explanations to current 0.9 API.
12887
12888         * gst/elements/gsttypefindelement.c:
12889         (gst_type_find_element_activate):
12890           Remove FIXME comment now that the found caps
12891           are unreffed.
12892
12893 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12894
12895         * gst/gstregistryxml.c: (load_feature):
12896           Add another GST_STR_NULL instance
12897
12898 2005-11-02  Edward Hervey  <edward@fluendo.com>
12899
12900         * gst/gstpad.c: (handle_pad_block):
12901         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
12902         
12903 2005-11-02  Wim Taymans  <wim@fluendo.com>
12904
12905         * gst/gstbin.c:
12906         Fix typo in docs.
12907
12908         * gst/gstelement.c: (gst_element_commit_state):
12909         Remove unused value.
12910
12911         * gst/gstiterator.c:
12912         Mention that the returned element is reffed in the docs.
12913
12914 2005-11-02  Wim Taymans  <wim@fluendo.com>
12915
12916         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
12917         (gst_pad_push), (gst_pad_push_event):
12918         Unlock blocked pads when they are flushed.
12919
12920 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12921
12922         * docs/README:
12923         * docs/gst/gstreamer-sections.txt:
12924         * gst/gstbin.c:
12925           doc updates
12926         * gst/gstregistry.c: (gst_registry_scan_path_level):
12927           fix for a nasty little missed situation where an installed plug-in
12928           which was in the cache did not get overridden by an uninstalled one
12929           which was earlier in the plugin path because the newly created plugin
12930           for the uninstalled one (not in the registry) didn't get its
12931           ->registered set to TRUE
12932
12933 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
12934
12935         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
12936         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
12937         (gst_collectpads_is_active), (gst_collectpads_collect),
12938         (gst_collectpads_collect_range), (gst_collectpads_start),
12939         (gst_collectpads_stop), (gst_collectpads_peek),
12940         (gst_collectpads_pop), (gst_collectpads_available),
12941         (gst_collectpads_read), (gst_collectpads_flush):
12942           Guard public API with assertions.
12943         
12944         * gst/gstpad.c:
12945           Fix docs for gst_pad_set_link_function().
12946
12947 2005-11-02  Johan Dahlin  <johan@gnome.org>
12948
12949         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
12950         Unref found_caps after we used it.
12951
12952 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
12953
12954         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
12955           Don't try to ref NULL.
12956
12957 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12958
12959         * win32/common/config.h.in:
12960           provide a GST_FUNCTION that just gives a string for now
12961
12962 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12963
12964         * win32/common/gstenumtypes.c: (register_gst_object_flags),
12965         (gst_object_flags_get_type), (register_gst_bin_flags),
12966         (gst_bin_flags_get_type), (register_gst_buffer_flag),
12967         (gst_buffer_flag_get_type), (register_gst_bus_flags),
12968         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12969         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
12970         (gst_clock_return_get_type), (register_gst_clock_entry_type),
12971         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
12972         (gst_clock_flags_get_type), (register_gst_state),
12973         (gst_state_get_type), (register_gst_state_change_return),
12974         (gst_state_change_return_get_type), (register_gst_state_change),
12975         (gst_state_change_get_type), (register_gst_element_flags),
12976         (gst_element_flags_get_type), (register_gst_core_error),
12977         (gst_core_error_get_type), (register_gst_library_error),
12978         (gst_library_error_get_type), (register_gst_resource_error),
12979         (gst_resource_error_get_type), (register_gst_stream_error),
12980         (gst_stream_error_get_type), (register_gst_event_type),
12981         (gst_event_type_get_type), (register_gst_seek_type),
12982         (gst_seek_type_get_type), (register_gst_seek_flags),
12983         (gst_seek_flags_get_type), (register_gst_format),
12984         (gst_format_get_type), (register_gst_index_certainty),
12985         (gst_index_certainty_get_type), (register_gst_index_entry_type),
12986         (gst_index_entry_type_get_type),
12987         (register_gst_index_lookup_method),
12988         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
12989         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
12990         (gst_index_resolver_method_get_type), (register_gst_index_flags),
12991         (gst_index_flags_get_type), (register_gst_debug_level),
12992         (gst_debug_level_get_type), (register_gst_debug_color_flags),
12993         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
12994         (gst_iterator_result_get_type), (register_gst_iterator_item),
12995         (gst_iterator_item_get_type), (register_gst_message_type),
12996         (gst_message_type_get_type), (register_gst_mini_object_flags),
12997         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
12998         (gst_pad_link_return_get_type), (register_gst_flow_return),
12999         (gst_flow_return_get_type), (register_gst_activate_mode),
13000         (gst_activate_mode_get_type), (register_gst_pad_direction),
13001         (gst_pad_direction_get_type), (register_gst_pad_flags),
13002         (gst_pad_flags_get_type), (register_gst_pad_presence),
13003         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
13004         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
13005         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
13006         (gst_plugin_error_get_type), (register_gst_plugin_flags),
13007         (gst_plugin_flags_get_type), (register_gst_rank),
13008         (gst_rank_get_type), (register_gst_query_type),
13009         (gst_query_type_get_type), (register_gst_tag_merge_mode),
13010         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
13011         (gst_tag_flag_get_type), (register_gst_task_state),
13012         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
13013         (gst_alloc_trace_flags_get_type),
13014         (register_gst_type_find_probability),
13015         (gst_type_find_probability_get_type), (register_gst_uri_type),
13016         (gst_uri_type_get_type), (register_gst_parse_error),
13017         (gst_parse_error_get_type):
13018         * win32/common/gstversion.h:
13019           update win32 copies
13020
13021 2005-11-01  Luca Ognibene  <luogni@tin.it>
13022
13023         * gst/gst.c:
13024           fix docs. popt is dead, long live GOption.
13025
13026 2005-10-31  Wim Taymans  <wim@fluendo.com>
13027
13028         * gst/gstbuffer.h:
13029         Small doc fix.
13030
13031 2005-10-31  Andy Wingo  <wingo@pobox.com>
13032
13033         * Boo!
13034
13035         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
13036
13037         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
13038         need to serialize property notifications on GLib 2.8. GLib 2.6 has
13039         the possibility of deadlocks here if code calling notify() or
13040         set() has a lock that can be taken in another notify handler (ABBA
13041         with class lock and e.g. python GIL state lock).
13042
13043 2005-10-28  Julien MOUTTE  <julien@moutte.net>
13044
13045         * gst/gstbus.c: Doc updates.
13046
13047 2005-10-28  Wim Taymans  <wim@fluendo.com>
13048
13049         * docs/design/part-TODO.txt:
13050         * gst/gstiterator.c:
13051         * gst/gstsystemclock.c:
13052         * gst/gstsystemclock.h:
13053         Doc updates.
13054
13055 2005-10-28  Edward Hervey  <edward@fluendo.com>
13056
13057         * docs/gst/gstreamer-docs.sgml:
13058         * docs/gst/gstreamer-sections.txt:
13059         the GstURIType documentation page is private, it only defines GstURIType
13060         which should be defined in the GstURIHandler page
13061         
13062 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13063
13064         * gst/gstbin.c: (gst_bin_class_init):
13065         * gst/gstbin.h:
13066         * gst/gstutils.c:
13067         Documentation updates.
13068
13069 2005-10-28  Wim Taymans  <wim@fluendo.com>
13070
13071         * docs/gst/gstreamer-sections.txt:
13072         * gst/gstclock.c:
13073         * gst/gstclock.h:
13074         Documented the clocks.
13075
13076 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
13077
13078         * docs/gst/gstreamer-sections.txt:
13079           move some macros to private sections
13080         * gst/gstminiobject.c:
13081         * gst/gstminiobject.h:
13082           add descriptions provided by ds and some more
13083         * gst/gstpad.h:
13084           mark macro as to be removed
13085
13086 2005-10-28  Wim Taymans  <wim@fluendo.com>
13087
13088         * docs/design/part-TODO.txt:
13089         Add an item to TODO.
13090
13091         * gst/gstiterator.c: (gst_iterator_fold),
13092         (gst_iterator_find_custom):
13093         * gst/gstiterator.h:
13094         Add iterator docs.
13095
13096 2005-10-28  Wim Taymans  <wim@fluendo.com>
13097
13098         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13099         (gst_base_transform_init):
13100         Don't leak class.
13101
13102         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
13103         An EOS event marks the queue as completely filled.
13104
13105 2005-10-27  Wim Taymans  <wim@fluendo.com>
13106
13107         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13108         (gst_base_sink_do_sync), (gst_base_sink_get_position):
13109         Some more debugging.
13110
13111         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
13112         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
13113         (gst_base_transform_event), (gst_base_transform_getrange),
13114         (gst_base_transform_chain):
13115         * gst/base/gstbasetransform.h:
13116         Fix debugging,
13117         Protect transform and concurrent buffer alloc with a new lock.
13118         Try not to break ABI/API.
13119
13120 2005-10-27  Wim Taymans  <wim@fluendo.com>
13121
13122         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
13123         (gst_base_src_init), (gst_base_src_query),
13124         (gst_base_src_default_newsegment),
13125         (gst_base_src_configure_segment), (gst_base_src_do_seek),
13126         (gst_base_src_send_event), (gst_base_src_event_handler),
13127         (gst_base_src_pad_get_range), (gst_base_src_loop),
13128         (gst_base_src_unlock), (gst_base_src_default_negotiate),
13129         (gst_base_src_start), (gst_base_src_deactivate),
13130         (gst_base_src_activate_push), (gst_base_src_change_state):
13131         Move some stuff around and cleanup things.
13132
13133 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
13134
13135         * gst/base/gstbasesrc.c: (gst_base_src_query):
13136           Add missing break statements.
13137
13138 2005-10-27  Wim Taymans  <wim@fluendo.com>
13139
13140         * check/gst/gstbin.c: (GST_START_TEST):
13141         An extra refcount is taken in basesrc.
13142
13143         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
13144         (gst_base_src_get_range), (gst_base_src_pad_get_range),
13145         (gst_base_src_loop):
13146         Small cleanups, check for flushing after being unlocked from the 
13147         LIVE_LOCK. take refcounts correctly (not yet everywhere).
13148         Don't send out EOS when going to READY.
13149
13150 2005-10-27  Wim Taymans  <wim@fluendo.com>
13151
13152         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13153         (gst_base_sink_get_position):
13154         Some more debug.
13155
13156         * gst/gstbin.c: (message_check), (bin_replace_message),
13157         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13158         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13159         (bin_query_duration_init), (bin_query_duration_fold),
13160         (bin_query_duration_done), (bin_query_generic_fold),
13161         (gst_bin_query):
13162         * tools/gst-launch.c: (main):
13163         Remove old option.
13164
13165 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
13166
13167         * examples/controller/audio-example.c: (main):
13168         * examples/queue/queue.c: (event_loop):
13169         * gst/base/gstbasetransform.h:
13170         * gst/gstelement.c: (gst_element_send_event):
13171         * gst/gstevent.h:
13172         * gst/gstpad.c: (gst_pad_send_event):
13173           fixing examples
13174           fixing docs typos
13175           changing log priority in error situations
13176
13177 2005-10-25  Wim Taymans  <wim@fluendo.com>
13178
13179         * gst/gstbin.c: (message_check), (bin_replace_message),
13180         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13181         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13182         (bin_query_duration_init), (bin_query_duration_fold),
13183         (bin_query_duration_done), (bin_query_generic_fold),
13184         (gst_bin_query):
13185         Some doc and debug updates.
13186         Cache previously requested query DURATION for speed. invalidate
13187         cached duration if element posts a DURATION message.
13188
13189 2005-10-25  Wim Taymans  <wim@fluendo.com>
13190
13191         * docs/design/part-TODO.txt:
13192         Update TODO.
13193
13194         * gst/gstbin.c: (message_check), (bin_replace_message),
13195         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13196         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13197         (bin_query_duration_init), (bin_query_duration_fold),
13198         (bin_query_duration_done), (bin_query_generic_fold),
13199         (gst_bin_query):
13200         Handle SEGMENT_START/DONE messages correctly.
13201         More evolved query algorithm that handles duration queries
13202         correctly.
13203
13204         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
13205         (gst_element_get_state_func), (gst_element_abort_state),
13206         (gst_element_commit_state), (gst_element_lost_state):
13207         Some more debugging.
13208
13209         * gst/gstmessage.h:
13210         Added doc.
13211
13212 2005-10-25  Wim Taymans  <wim@fluendo.com>
13213
13214         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13215         Don't use invalid stream_time.
13216
13217         * gst/gstevent.c: (gst_event_new_newsegment):
13218         stream_time in newsegment cannot be undefined.
13219
13220 2005-10-24  Wim Taymans  <wim@fluendo.com>
13221
13222         * gst/gstbus.c:
13223         Doc fix.
13224
13225         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
13226         (gst_queue_loop):
13227         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
13228
13229 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
13230
13231         * docs/libs/tmpl/gstdparam.sgml:
13232         * docs/libs/tmpl/gstdplinint.sgml:
13233         * docs/libs/tmpl/gstdpman.sgml:
13234         * docs/libs/tmpl/gstdpsmooth.sgml:
13235         * docs/libs/tmpl/gstunitconvert.sgml:
13236           these are obsolete
13237
13238 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13239
13240         * configure.ac:
13241           back to HEAD
13242
13243 === release 0.9.4 ===
13244
13245 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13246
13247         * configure.ac:
13248           releasing 0.9.4, "Tyrannosaurus Rex"
13249
13250 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
13251
13252         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13253         (gst_file_sink_get_current_offset):
13254           Use fseeko() and ftello() if available. When falling back on
13255           lseek() to get the current offset, fflush() first to make sure
13256           everything is up-to-date and we get the right offset.
13257
13258 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13259
13260         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13261         * gst/base/gstbasesrc.c: (gst_base_src_loop):
13262         * gst/gsterror.c: (_gst_stream_errors_init):
13263         * gst/gsterror.h:
13264         * gst/gstqueue.c: (gst_queue_loop):
13265         * po/POTFILES.in:
13266           remove prematurely added error category and clean up the instances
13267
13268 2005-10-21  Wim Taymans  <wim@fluendo.com>
13269
13270         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13271         (gst_base_sink_get_position), (gst_base_sink_query),
13272         (gst_base_sink_change_state):
13273         Simply set the right flag when going to playing, that's all
13274         we need to do instead of calling a function inside the object
13275         lock (that could take the lock as well and deadlock)
13276
13277 2005-10-21  Wim Taymans  <wim@fluendo.com>
13278
13279         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
13280         (gst_base_src_loop):
13281         Don't warn, the peer element knows what to do best when
13282         the seek failed, it might try something else.
13283
13284 2005-10-21  Wim Taymans  <wim@fluendo.com>
13285
13286         * gst/base/gstbasesrc.c: (gst_base_src_init),
13287         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
13288         Fix seeking.
13289
13290 2005-10-21  Wim Taymans  <wim@fluendo.com>
13291
13292         * docs/design/part-segments.txt:
13293         More docs.
13294
13295         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13296         Correctly set caps, even on the subbufer.
13297
13298 2005-10-21  Wim Taymans  <wim@fluendo.com>
13299
13300         * docs/gst/gstreamer-docs.sgml:
13301         * docs/gst/gstreamer-sections.txt:
13302         * gst/gstelement.h:
13303         * gst/gstevent.c:
13304         * gst/gstevent.h:
13305         * gst/gstmessage.h:
13306         * gst/gstpad.h:
13307         * gst/gstparse.h:
13308         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
13309         * gst/gsttask.h:
13310         * gst/gstutils.c:
13311         * gst/gstutils.h:
13312         And 2% more doc coverage.
13313
13314 2005-10-21  Andy Wingo  <wingo@pobox.com>
13315
13316         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
13317         position reporting.
13318
13319 2005-10-20  Wim Taymans  <wim@fluendo.com>
13320
13321         * gst/gsterror.c: (gst_error_get_message):
13322         * gst/gstparse.h:
13323         * gst/gstquery.h:
13324         * gst/gststructure.c:
13325         * gst/gsttrace.c:
13326         * gst/gstutils.c:
13327         More docs.
13328
13329 2005-10-20  Wim Taymans  <wim@fluendo.com>
13330
13331         * gst/gstbuffer.h:
13332         * gst/gstpad.c:
13333         * gst/gstparse.c:
13334         Another 1% more coverage.
13335
13336 2005-10-20  Wim Taymans  <wim@fluendo.com>
13337
13338         * docs/gst/gstreamer-sections.txt:
13339         * gst/gstelement.c: (gst_element_get_state_func),
13340         (gst_element_abort_state), (gst_element_commit_state),
13341         (gst_element_lost_state):
13342         * gst/gstevent.h:
13343         * gst/gstquery.c: (gst_query_set_position),
13344         (gst_query_parse_position), (gst_query_set_duration),
13345         (gst_query_parse_duration), (gst_query_new_convert):
13346         * gst/gstutils.c:
13347         Yay! 1% more docs coverage.
13348
13349 2005-10-20  Wim Taymans  <wim@fluendo.com>
13350
13351         * gst/gstpad.h:
13352         * gst/gstquery.c: (gst_query_set_position),
13353         (gst_query_parse_position), (gst_query_set_duration),
13354         (gst_query_parse_duration), (gst_query_new_convert):
13355         * gst/gstquery.h:
13356         * gst/gstutils.c: (gst_element_query_convert):
13357         * gst/gstutils.h:
13358         Docs and consistency fixes.
13359
13360 2005-10-20  Wim Taymans  <wim@fluendo.com>
13361
13362         * gst/gsttask.c:
13363         * gst/gsttask.h:
13364         More docs.
13365
13366 2005-10-20  Wim Taymans  <wim@fluendo.com>
13367
13368         * gst/gstbin.c: (message_check), (bin_replace_message),
13369         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13370         (update_degree), (gst_bin_sort_iterator_next),
13371         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
13372         Reworked the message handling a bit, cache the messages instead of
13373         only the senders. alows us to do more in the future.
13374
13375 2005-10-20  Wim Taymans  <wim@fluendo.com>
13376
13377         * docs/design/part-TODO.txt:
13378         Update TODO
13379
13380         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13381         (gst_base_sink_query):
13382         Don't use clock time to report position when in EOS.
13383
13384 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
13385
13386         * tools/gst-inspect.c: (print_interfaces),
13387         (print_element_properties_info), (print_element_info):
13388           Fix interface output with gst-inspect -a; don't print
13389           newlines after double/float properties.
13390
13391 2005-10-20  Wim Taymans  <wim@fluendo.com>
13392
13393         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13394         (gst_base_sink_query):
13395         Speed up current position calculation.
13396
13397         * gst/base/gstbasesrc.c: (gst_base_src_query),
13398         (gst_base_src_default_newsegment):
13399         Correctly set stream position in newsegment.
13400
13401         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
13402         (update_degree), (gst_bin_sort_iterator_next),
13403         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
13404         * gst/gstmessage.c: (gst_message_new_custom):
13405         Clean up debugging info
13406
13407         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13408         (gst_queue_loop), (gst_queue_handle_src_query):
13409         Pause task faster.
13410
13411 2005-10-19  Wim Taymans  <wim@fluendo.com>
13412
13413         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13414         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13415         Fix query handling again.
13416
13417 2005-10-19  Wim Taymans  <wim@fluendo.com>
13418
13419         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13420         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13421         * gst/base/gstbasesrc.c: (gst_base_src_query):
13422         * gst/elements/gstfilesink.c: (gst_file_sink_query):
13423         * gst/elements/gsttypefindelement.c:
13424         (gst_type_find_handle_src_query), (find_element_get_length),
13425         (gst_type_find_element_activate):
13426         API change fix.
13427
13428         * gst/gstquery.c: (gst_query_new_position),
13429         (gst_query_set_position), (gst_query_parse_position),
13430         (gst_query_new_duration), (gst_query_set_duration),
13431         (gst_query_parse_duration), (gst_query_set_segment),
13432         (gst_query_parse_segment):
13433         * gst/gstquery.h:
13434         Bundling query position/duration is not a good idea since duration
13435         does not change much and we don't want to recalculate it for every
13436         position query, so they are separated again..
13437         Base value in segment query is not needed.
13438
13439         * gst/gstqueue.c: (gst_queue_handle_src_query):
13440         * gst/gstutils.c: (gst_element_query_position),
13441         (gst_element_query_duration), (gst_pad_query_position),
13442         (gst_pad_query_duration):
13443         * gst/gstutils.h:
13444         Updates for query API change.
13445         Added some docs here and there.
13446
13447 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
13448
13449         * check/gst/gstbin.c: (GST_START_TEST):
13450         * check/gst/gstghostpad.c: (GST_START_TEST):
13451         * check/pipelines/cleanup.c: (GST_START_TEST):
13452           wait on thread to die so we can check refcount correctly
13453
13454 2005-10-18  Wim Taymans  <wim@fluendo.com>
13455
13456         * check/pipelines/stress.c: (GST_START_TEST):
13457         Make check a little more time consuming.
13458
13459 2005-10-18  Wim Taymans  <wim@fluendo.com>
13460
13461         * check/Makefile.am:
13462         * check/pipelines/stress.c: (GST_START_TEST),
13463         (simple_launch_lines_suite), (main):
13464         Small state change torture test.
13465
13466         * docs/design/part-states.txt:
13467         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13468         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
13469         (gst_base_sink_change_state):
13470         Never take state lock from streaming thread, clean up ugly
13471         hacks. Unfortunatly core does not yet support nice ways to
13472         async commit state.
13473         
13474         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
13475         (bin_bus_handler):
13476         Start state recalc if a STATE_DIRTY message is posted, but only
13477         on the toplevel bin.
13478
13479         * gst/gstelement.c: (gst_element_sync_state_with_parent),
13480         (gst_element_get_state_func), (gst_element_abort_state),
13481         (gst_element_commit_state), (gst_element_lost_state),
13482         (gst_element_set_state_func), (gst_element_change_state):
13483         * gst/gstelement.h:
13484         State variables are now protected with the LOCK, the state
13485         lock is only used to serialize _set_state().
13486
13487 2005-10-18  Wim Taymans  <wim@fluendo.com>
13488
13489         * check/gst/gstbin.c: (GST_START_TEST):
13490         * check/gst/gstmessage.c: (GST_START_TEST):
13491         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13492         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
13493         (bin_bus_handler):
13494         * gst/gstelement.c: (gst_element_abort_state),
13495         (gst_element_commit_state), (gst_element_lost_state):
13496         * gst/gstmessage.c: (gst_message_new_state_changed),
13497         (gst_message_new_state_dirty), (gst_message_new_segment_start),
13498         (gst_message_new_segment_done), (gst_message_new_duration),
13499         (gst_message_parse_state_changed),
13500         (gst_message_parse_segment_start),
13501         (gst_message_parse_segment_done), (gst_message_parse_duration):
13502         * gst/gstmessage.h:
13503         * tools/gst-launch.c: (event_loop):
13504         Seriously, this is better than a previous commit as we only need
13505         to notify the fact that an element changed state in a streaming
13506         thread, marking the state of the parents dirty, hence the 
13507         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
13508         message.
13509
13510 2005-10-18  Wim Taymans  <wim@fluendo.com>
13511
13512         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
13513         (gst_bin_recalc_func):
13514         * gst/gstelement.c: (gst_element_set_clock),
13515         (gst_element_abort_state), (gst_element_lost_state):
13516         Cleanups, prepare for state change fixes.
13517
13518 2005-10-18  Wim Taymans  <wim@fluendo.com>
13519
13520         * gst/gstbin.h:
13521         * gst/gstelement.c: (gst_element_class_init),
13522         (gst_element_set_state), (gst_element_set_state_func):
13523         * gst/gstelement.h:
13524         Pending ABI changes.
13525         GThreadPool in GstBinClass to monitor async state changes.
13526         state_cookie in GstElement to detect concurrent gst/set state.
13527         set_state is now virtual too in case a very complicated element
13528         has to be constructed.
13529
13530 2005-10-18  Wim Taymans  <wim@fluendo.com>
13531
13532         * check/gst/gstbin.c: (GST_START_TEST):
13533         * check/gst/gstmessage.c: (GST_START_TEST):
13534         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13535         * gst/gstbin.c: (bin_bus_handler):
13536         * gst/gstelement.c: (gst_element_commit_state),
13537         (gst_element_lost_state):
13538         * gst/gstmessage.c: (gst_message_new_state_changed),
13539         (gst_message_new_segment_start), (gst_message_new_segment_done),
13540         (gst_message_new_duration), (gst_message_parse_state_changed),
13541         (gst_message_parse_segment_start),
13542         (gst_message_parse_segment_done), (gst_message_parse_duration):
13543         * gst/gstmessage.h:
13544         * tools/gst-launch.c: (event_loop):
13545         Make messages future proof.
13546         state-change gets a flag if it was a message comming from the
13547         streaming thread.
13548         segment-start/stop can also be specified in other formats.
13549         A message to notify an app that a pipeline changed playback 
13550         duration.
13551         Also fix a GstMessage leak in -launch
13552
13553 2005-10-18  Andy Wingo  <wingo@pobox.com>
13554
13555         * gst/gstelement.c (gst_element_dispose): More helpful message.
13556
13557 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13558
13559         reviewed by: <delete if not using a buddy>
13560
13561         * common/gtk-doc.mak:
13562
13563 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13564
13565         * gst/gstregistry.c: (gst_registry_scan_path_level):
13566           unref a plug-in we get that was already initialized
13567
13568 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
13569
13570         * docs/gst/gstreamer-sections.txt:
13571         * docs/libs/gstreamer-libs-sections.txt:
13572         * gst/gstelement.h:
13573           add new api entries
13574           hide internal macro
13575
13576 2005-10-17  Andy Wingo  <wingo@pobox.com>
13577
13578         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
13579         cleanup.
13580
13581         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
13582
13583         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
13584
13585         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
13586         (gst_element_get_state_func): Better debug message.
13587         (gst_element_commit_state): s/INFO/DEBUG/.
13588         (gst_element_lost_state, gst_element_change_state): 
13589
13590         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
13591         (gst_message_new_custom): s/INFO/LOG/.
13592
13593 2005-10-17  Michael Smith <msmith@fluendo.com>
13594
13595         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13596           Check if end time is valid using end time, not start time.
13597
13598 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
13599
13600         * check/gst-libs/controller.c: (GST_START_TEST),
13601         (gst_controller_suite):
13602         * libs/gst/controller/gstcontroller.c:
13603         (gst_controlled_property_set_interpolation_mode):
13604         * libs/gst/controller/gstcontroller.h:
13605         * libs/gst/controller/gstinterpolation.c:
13606         * testsuite/controller/.cvsignore:
13607         * testsuite/controller/Makefile.am:
13608         * testsuite/controller/interpolator.c:
13609           merge controller testsuites
13610           fix broken tests
13611           remove mem-chunk from docs
13612
13613 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
13614
13615         * gst/gstmemchunk.c:
13616         * gst/gstmemchunk.h:
13617         * gst/gsttrashstack.c:
13618         * gst/gsttrashstack.h:
13619           out.  get out.  you're fired.  to the Attic !
13620
13621 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
13622
13623         * gst/gstcaps.c: (gst_caps_intersect):
13624           fix signedness issues in a (hopefully) correct way
13625         * gst/gstelement.c: (gst_element_pads_activate):
13626           some debugging
13627         * gst/gstobject.c: (gst_object_set_parent):
13628           some debugging
13629
13630 2005-10-17  Julien MOUTTE  <julien@moutte.net>
13631
13632         * gst/gstvalue.h: Fix prototypes.
13633
13634 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13635
13636         * docs/gst/gstreamer-sections.txt:
13637         * gst/gst.c: (gst_version_string):
13638         * gst/gst.h:
13639         * gst/gstversion.h.in:
13640         * win32/common/libgstreamer.def:
13641           add gst_version_string ()
13642
13643 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13644
13645         * configure.ac:
13646           clean up further
13647         * gst/gst.c: (init_post):
13648         * win32/common/config.h.in:
13649           it's PLUGINDIR now
13650         * gst/gstcaps.c: (gst_caps_intersect):
13651           use gint64, the range could be bigger than a guint
13652
13653 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13654
13655         * gst/gstclock.h:
13656           document potential problem in 2038
13657
13658 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13659
13660         * gst/gstcaps.c: (gst_caps_intersect):
13661           Fix guint j diving under 0
13662
13663 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13664
13665         * configure.ac:
13666         * win32/common/config.h:
13667         * win32/common/config.h.in:
13668           check for process.h, declares getpid() on Windows
13669         * gst/gstinfo.c:
13670           include process.h if we have it
13671         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
13672         * gst/gstmemchunk.h:
13673           fix signedness issues
13674         * win32/common/libgstreamer.def:
13675           fix get_type's
13676
13677 2005-10-16  Julien MOUTTE  <julien@moutte.net>
13678
13679         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
13680         fix. Because of unsigned ints, caps intersection was going nuts and
13681         trying to access structures with G_MAXUINT index. That fixes
13682         videotestsrc ! ffmpegcolorspace ! fakesink
13683         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
13684         consistency.
13685
13686 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13687
13688         * configure.ac:
13689           use the gettext macro
13690         * gst/elements/gstelements.c:
13691         * gst/gst.c:
13692         * gst/indexers/gstindexers.c:
13693           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
13694         * win32/common/config.h:
13695           updated config.h
13696         * win32/common/config.h.in:
13697           add the template to generate config.h
13698         * win32/common/gstenumtypes.c:
13699         * win32/common/gstversion.h:
13700           updated copies
13701
13702 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13703
13704         * gst/gst.c: (gst_version):
13705         * gst/gstversion.h.in:
13706           add the nano
13707
13708 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
13709
13710         * gst/gstevent.h:
13711           Oops, add missing closing bracket.
13712
13713 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13714
13715         * configure.ac:
13716           use common m4's for argument checking
13717
13718 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
13719
13720         * docs/gst/gstreamer-sections.txt:
13721         * gst/gstevent.h:
13722           Add GST_EVENT_TYPE_NAME() macro.
13723
13724 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13725
13726         * gst/gstinfo.c:
13727         * gst/gstpluginfeature.c:
13728         * gst/gsttask.c:
13729           privatize more symbols
13730
13731 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13732
13733         * configure.ac:
13734           add srcdir, builddir includes to GST_ALL_CFLAGS, since
13735           everything that uses GStreamer API should have the includes
13736
13737 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13738
13739         * docs/gst/gstreamer-sections.txt:
13740         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13741         * gst/gstvalue.h:
13742           give each value a _get_type, removes the DATA exports
13743
13744 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13745
13746         * gst/gst.c:
13747         * gst/gst.h:
13748           remove _gst_registry_auto_load, not used anymore
13749         * gst/gstbin.c: (gst_bin_get_type):
13750         * gst/gstbin.h:
13751         * gst/gstelement.c: (gst_element_get_type):
13752         * gst/gstelement.h:
13753         * gst/gstobject.c: (gst_object_get_type):
13754         * gst/gstobject.h:
13755         * gst/gstpad.c: (gst_pad_get_type):
13756         * gst/gstpad.h:
13757           make _get_type functions similar, fixes data export from library
13758
13759 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13760
13761         * configure.ac:
13762           correctly make conditionals
13763         * gst/elements/Makefile.am:
13764         * gst/elements/gstelements.c:
13765           fix typo causing fdsrc not to build
13766
13767 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13768
13769         * testsuite/Makefile.am:
13770         * testsuite/bytestream/.cvsignore:
13771         * testsuite/bytestream/Makefile.am:
13772         * testsuite/bytestream/filepadsink.c:
13773         * testsuite/bytestream/gstbstest.c:
13774         * testsuite/bytestream/test1.c:
13775         * testsuite/bytestream/testfile1:
13776         * testsuite/caps/normalisation.c:
13777         * testsuite/caps/random.c: (main):
13778         * testsuite/cleanup/.cvsignore:
13779         * testsuite/cleanup/Makefile.am:
13780         * testsuite/cleanup/cleanup1.c:
13781         * testsuite/cleanup/cleanup2.c:
13782         * testsuite/cleanup/cleanup3.c:
13783         * testsuite/cleanup/cleanup4.c:
13784         * testsuite/cleanup/cleanup5.c:
13785         * testsuite/controller/interpolator.c:
13786         * testsuite/debug/printf_extension.c: (main):
13787         * testsuite/elements/tee.c:
13788         * testsuite/negotiation/.cvsignore:
13789         * testsuite/negotiation/Makefile.am:
13790         * testsuite/negotiation/pad_link.c:
13791         * testsuite/pad/Makefile.am:
13792         * testsuite/pad/chainnopull.c:
13793         * testsuite/pad/getnopush.c:
13794         * testsuite/pad/link.c:
13795         * testsuite/refcounting/sched.c: (create_pipeline):
13796         * testsuite/registry/Makefile.am:
13797         * testsuite/registry/gst-print-formats.c:
13798         * testsuite/schedulers/.cvsignore:
13799         * testsuite/schedulers/142183-2.c:
13800         * testsuite/schedulers/142183.c:
13801         * testsuite/schedulers/143777-2.c:
13802         * testsuite/schedulers/143777.c:
13803         * testsuite/schedulers/147713.c:
13804         * testsuite/schedulers/147819.c:
13805         * testsuite/schedulers/147894-2.c:
13806         * testsuite/schedulers/147894.c:
13807         * testsuite/schedulers/Makefile.am:
13808         * testsuite/schedulers/group_link.c:
13809         * testsuite/schedulers/queue_link.c:
13810         * testsuite/schedulers/relink.c:
13811         * testsuite/schedulers/unlink.c:
13812         * testsuite/schedulers/unref.c:
13813         * testsuite/schedulers/useless_iteration.c:
13814         * testsuite/states/bin.c:
13815           clean out/remove some stuff from the testsuite directories
13816
13817 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13818
13819         * configure.ac:
13820           check for some headers
13821         * gst/elements/Makefile.am:
13822         * gst/elements/gstelements.c:
13823           don't compile fdsrc without sys/socket.h
13824         * gst/indexers/Makefile.am:
13825         * gst/indexers/gstindexers.c: (plugin_init):
13826           don't compile fileindex without mmap
13827
13828 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13829
13830         * configure.ac:
13831           reorganize
13832           clean up
13833           document more
13834           remove cruft
13835         * check/Makefile.am:
13836         * docs/gst/Makefile.am:
13837         * examples/helloworld/Makefile.am:
13838         * gst/Makefile.am:
13839         * gst/base/Makefile.am:
13840         * gst/check/Makefile.am:
13841         * gst/elements/Makefile.am:
13842         * gst/indexers/Makefile.am:
13843         * gst/parse/Makefile.am:
13844         * libs/gst/controller/Makefile.am:
13845         * libs/gst/dataprotocol/Makefile.am:
13846         * examples/helloworld/helloworld.c: (event_loop):
13847           compile fixes, though it's not being compiled currently
13848
13849 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
13850
13851         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
13852           Add some simple tests for the new taglist date API.
13853
13854 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
13855
13856         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
13857         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
13858           Beautify 'last-message' output: print 'none' for buffer timestamps
13859           and durations if none is set; improve alignment with next messages.
13860
13861 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
13862
13863         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
13864         * gst/gstpluginfeature.h:
13865         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
13866         * gst/gstregistry.h:
13867         * docs/gst/gstreamer-sections.txt:
13868           Add new API to check plugin feature version requirements.
13869
13870         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
13871           Some basic tests for the above.         
13872
13873 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13874
13875         * gst/gststructure.c: (gst_structure_to_string):
13876           guard against NULL printf - happens when for example
13877           a message structure with GstClock gets serialized
13878
13879 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
13880
13881         * gst/base/gstcollectpads.c: (gst_collectpads_event):
13882           Fix presumable copy'n'pasto.
13883
13884 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13885
13886         * gst/elements/gstfakesrc.h:
13887         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
13888         * gst/elements/gsttypefindelement.c:
13889           fix some signedness
13890         * gst/elements/gstfilesink.c: (gst_file_sink_render):
13891           I wonder if this could actually write +2GB files before
13892
13893 2005-10-13  Andy Wingo  <wingo@pobox.com>
13894
13895         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
13896         Fix Timmeke Waymans bug.
13897         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
13898         string of the proper length to gst_caps_from_string. There's a
13899         potential for, before this fix, that this could cause someone
13900         connecting over the network to cause a segfault if the payload is
13901         not NUL-terminated.
13902
13903 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
13904
13905         * docs/design/draft-push-pull.txt:
13906         * docs/design/part-overview.txt:
13907         * docs/random/TODO-pre-0.9:
13908         * docs/random/old/ChangeLog.gstreamer:
13909         * gst/base/gstpushsrc.c:
13910         * gst/gstclock.c:
13911           fixed typos
13912
13913 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13914
13915         * gst/glib-compat.c: (gst_flags_get_first_value):
13916         * gst/glib-compat.h:
13917         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
13918         (gst_value_compare_double), (gst_value_serialize_flags):
13919           GLib 2.6 g_flags_get_first_value has a bug that triggers an
13920           infinite loop
13921
13922 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13923
13924         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13925         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13926           fix up debugging
13927         * tools/gst-launch.c: (event_loop):
13928           print out clock nicely
13929
13930 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
13931
13932         * docs/gst/gstreamer-sections.txt:
13933         * gst/gsttaglist.h:
13934         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
13935         (gst_tag_list_get_date_index):
13936           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
13937           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
13938
13939 2005-10-13  Julien MOUTTE  <julien@moutte.net>
13940
13941         * gst/base/gstcollectpads.c: (gst_collectpads_event),
13942         (gst_collectpads_chain):
13943         * gst/base/gstcollectpads.h: Handle newsegment and store informations
13944         in CollectData.
13945
13946 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
13947
13948         * docs/gst/gstreamer-sections.txt:
13949         * gst/gst.c:
13950         * gst/gsterror.h:
13951         * tools/gst-inspect.c: (main):
13952         * tools/gst-launch.c: (main):
13953         * tools/gst-run.c: (main):
13954         * tools/gst-xmlinspect.c: (main):
13955           fix GOption context leaks
13956           doc fixes
13957
13958 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13959
13960         * gst/gstbus.c:
13961           use HAVE_UNISTD_H
13962         * win32/common/config.h:
13963           update config
13964         * win32/vs6/grammar.dsp:
13965         * win32/vs6/libgstelements.dsp:
13966         * win32/vs6/libgstreamer.dsp:
13967           update vs6 files
13968
13969 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13970
13971         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13972         * gst/base/gstbasesrc.c: (gst_base_src_query):
13973           fix more guint64<->gdouble conversions
13974
13975 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13976
13977         * Makefile.am:
13978           add win32-update target
13979         * win32/common/gstconfig.h:
13980         * win32/common/gstenumtypes.c:
13981         * win32/common/gstenumtypes.h:
13982         * win32/common/gstversion.h:
13983           add files that visual studio can't generate
13984
13985 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13986
13987         * Makefile.am:
13988           add a win32-update target
13989         * configure.ac:
13990
13991 2005-10-12  Wim Taymans  <wim@fluendo.com>
13992
13993         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
13994         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
13995         * gst/gstelement.c: (gst_element_commit_state),
13996         (gst_element_set_state):
13997         Protect flags with proper lock.
13998         unref provided cached clock in dispose.
13999
14000 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
14001
14002         * gst/gst.c:
14003         * gst/gstminiobject.h:
14004         * gst/gstpad.h:
14005         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
14006           removed unused flags from miniobject
14007           doc fixes
14008
14009 2005-10-12  Wim Taymans  <wim@fluendo.com>
14010
14011         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
14012         (gst_file_sink_event), (gst_file_sink_render):
14013         Flush before seeking.
14014
14015 2005-10-12  Andy Wingo  <wingo@pobox.com>
14016
14017         * gst/gst.c (gst_init_check): Ignore unknown options, as has
14018         always been the case.
14019
14020 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
14021
14022         * check/gst/gstbin.c: (GST_START_TEST):
14023         * docs/gst/gstreamer-sections.txt:
14024         * gst/base/gstbasesink.c: (gst_base_sink_init):
14025         * gst/base/gstbasesrc.c: (gst_base_src_init),
14026         (gst_base_src_get_range), (gst_base_src_check_get_range),
14027         (gst_base_src_start), (gst_base_src_stop):
14028         * gst/base/gstbasesrc.h:
14029         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
14030         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
14031         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
14032         (bin_bus_handler):
14033         * gst/gstbin.h:
14034         * gst/gstbuffer.h:
14035         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
14036         * gst/gstbus.h:
14037         * gst/gstelement.c: (gst_element_is_locked_state),
14038         (gst_element_set_locked_state), (gst_element_commit_state),
14039         (gst_element_set_state):
14040         * gst/gstelement.h:
14041         * gst/gstindex.c: (gst_index_init):
14042         * gst/gstindex.h:
14043         * gst/gstminiobject.h:
14044         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
14045         (gst_object_set_parent):
14046         * gst/gstobject.h:
14047         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
14048         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
14049         * gst/gstpad.h:
14050         * gst/gstpadtemplate.h:
14051         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
14052         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14053         * gst/gstpipeline.h:
14054         * gst/indexers/gstfileindex.c: (gst_file_index_load),
14055         (gst_file_index_commit):
14056         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
14057         * testsuite/pad/link.c: (gst_test_src_init),
14058         (gst_test_filter_init), (gst_test_sink_init):
14059         * testsuite/states/locked.c: (main):
14060           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
14061           moved bitshift from macro to enum definition
14062
14063 2005-10-12  Wim Taymans  <wim@fluendo.com>
14064
14065         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
14066         * gst/elements/gstfilesink.c: (gst_file_sink_event),
14067         (gst_file_sink_render):
14068         Some more debugging info.
14069
14070 2005-10-12  Wim Taymans  <wim@fluendo.com>
14071
14072         * docs/design/part-states.txt:
14073         * tools/gst-launch.c: (main):
14074         Some doc updates.
14075         Revert non-intentional change.
14076
14077 2005-10-12  Wim Taymans  <wim@fluendo.com>
14078
14079         * check/gst/gstbin.c: (GST_START_TEST):
14080         * check/gst/gstelement.c: (GST_START_TEST):
14081         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
14082         * check/gst/gstghostpad.c: (GST_START_TEST):
14083         * check/gst/gstpipeline.c: (GST_START_TEST):
14084         * check/pipelines/simple_launch_lines.c: (run_pipeline):
14085         * check/states/sinks.c: (GST_START_TEST):
14086         * gst/elements/gsttypefindelement.c: (stop_typefinding):
14087         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14088         (gst_bin_remove_func), (gst_bin_get_state_func),
14089         (gst_bin_recalc_state), (gst_bin_change_state_func),
14090         (bin_bus_handler):
14091         * gst/gstelement.c: (gst_element_get_state_func),
14092         (gst_element_get_state), (gst_element_abort_state),
14093         (gst_element_commit_state), (gst_element_set_state),
14094         (gst_element_change_state), (gst_element_change_state_func):
14095         * gst/gstelement.h:
14096         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
14097         (gst_pipeline_provide_clock_func):
14098         * gst/gstutils.c: (gst_element_link_pads_filtered):
14099         * tools/gst-launch.c: (main):
14100         * tools/gst-typefind.c: (main):
14101         Use GstClockTime in _get_state() instead of GTimeVal.
14102         Remove old code in gstutils.c
14103
14104 2005-10-12  Andy Wingo  <wingo@pobox.com>
14105
14106         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
14107         removed.
14108
14109         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
14110         there is no task. Shouldn't affect any code, as nothing in our
14111         plugins checks this return value.
14112         (gst_pad_stop_task): Also take the stream lock if the pad has no
14113         task. Docs updated.
14114
14115 2005-10-12  Wim Taymans  <wim@fluendo.com>
14116
14117         * gst/gstpad.c: (pre_activate), (post_activate),
14118         (gst_pad_activate_pull), (gst_pad_activate_push):
14119         Cleanup activation code. Reset old state if
14120         activation failed.
14121
14122 2005-10-12  Wim Taymans  <wim@fluendo.com>
14123
14124         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14125         (gst_base_sink_change_state):
14126         No need to prerol after receiving EOS.
14127
14128         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
14129         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
14130         * gst/elements/gstidentity.c: (gst_identity_event):
14131         Print events more verbosely.
14132
14133 2005-10-12  Wim Taymans  <wim@fluendo.com>
14134
14135         * check/Makefile.am:
14136         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
14137         * check/states/sinks2.c:
14138         Moved sinks2 testcode in sinks check.
14139
14140         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14141         (gst_bin_remove_func), (gst_bin_recalc_state),
14142         (gst_bin_change_state_func), (bin_bus_handler):
14143         Fix potential race condition when _get_state() iterated over an
14144         ASYNC element right before it posted a state completion.
14145
14146         * gst/gstclock.h:
14147         Do proper cast here.
14148
14149         * gst/gstevent.c: (gst_event_new_newsegment),
14150         (gst_event_parse_newsegment):
14151         A playback rate of 0.0 is not allowed.
14152
14153 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14154
14155         * win32/common/config.h:
14156         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
14157         (_trewinddir), (_ttelldir), (_tseekdir):
14158         * win32/common/dirent.h:
14159         * win32/common/gtchar.h:
14160         * win32/common/libgstbase.def:
14161         * win32/common/libgstreamer.def:
14162         * win32/vs6/grammar.dsp:
14163         * win32/vs6/gst_inspect.dsp:
14164         * win32/vs6/gst_launch.dsp:
14165         * win32/vs6/gstreamer.dsw:
14166         * win32/vs6/libgstbase.dsp:
14167         * win32/vs6/libgstelements.dsp:
14168         * win32/vs6/libgstreamer.dsp:
14169           Visual Studio 6 project files, and a new common directory.
14170           Phear.
14171
14172 2005-10-11  Wim Taymans  <wim@fluendo.com>
14173
14174         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14175         (gst_base_sink_do_sync), (gst_base_sink_query),
14176         (gst_base_sink_change_state):
14177         * gst/base/gstbasesink.h:
14178         Correctly parse newsegment info.
14179
14180 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14181
14182         * gst/gst.c: (init_post):
14183           split plugin paths correctly
14184
14185 2005-10-11  Wim Taymans  <wim@fluendo.com>
14186
14187         * check/gst/gstevent.c: (GST_START_TEST):
14188         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14189         (gst_base_sink_change_state):
14190         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
14191         * gst/base/gstbasetransform.c: (gst_base_transform_event):
14192         * gst/elements/gstfilesink.c: (gst_file_sink_event):
14193         * gst/gstevent.c: (gst_event_new_newsegment),
14194         (gst_event_parse_newsegment):
14195         * gst/gstevent.h:
14196         Added extra flag to newsegment for future API freeze.
14197         Updated check and base elements.
14198
14199 2005-10-11  Julien MOUTTE  <julien@moutte.net>
14200
14201         * gst/base/gstcollectpads.c: (gst_collectpads_init),
14202         (gst_collectpads_add_pad), (gst_collectpads_pop),
14203         (gst_collectpads_event), (gst_collectpads_chain):
14204         * gst/base/gstcollectpads.h: Handle EOS correctly.
14205
14206 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14207
14208         * tools/gst-launch.c: (main):
14209           more null protecting
14210
14211 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14212
14213         * gst/gst-i18n-lib.h:
14214           check for ENABLE_NLS, not GETTEXT_PACKAGE
14215         * gst/gstregistry.c: (gst_registry_add_plugin),
14216         (gst_registry_scan_path_level),
14217         (_gst_registry_remove_cache_plugins):
14218           protect possibly NULL strings
14219         * gst/parse/types.h:
14220           config.h already included before
14221         * tools/gst-inspect.c: (main):
14222           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
14223           check for ENABLE_NLS, not GETTEXT_PACKAGE
14224         * tools/gst-launch.c: (main):
14225           check for ENABLE_NLS, not GETTEXT_PACKAGE
14226
14227 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14228
14229         * configure.ac:
14230           if we don't have glib, fail before testing 2.8
14231         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
14232           fix a leak, should fix plugins-base testsuite
14233
14234 2005-10-11  Andy Wingo  <wingo@pobox.com>
14235
14236         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
14237         take the mode we're going to as an arg. Go head and set the mode
14238         and flushing flags now, so that if the activate function starts a
14239         thread all the flags will be in the right state.
14240         (post_activate): Renamed also. Just handle making sure streaming
14241         finishes for the deactivation case, and setting the deactivated
14242         mode.
14243         (gst_pad_set_active): Complain loudly if deactivation fails.
14244         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
14245         (gst_pad_activate_push): Adapt to pre/post_activate changes,
14246         remove the terrible hack.
14247
14248 2005-10-11  Wim Taymans  <wim@fluendo.com>
14249
14250         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14251         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
14252         (gst_bin_recalc_state), (gst_bin_change_state_func),
14253         (gst_bin_dispose), (bin_bus_handler):
14254         * gst/gstbin.h:
14255         Prepare to make current EOS message queue more generic.
14256         Fix some typos.
14257
14258         * gst/gstevent.c: (gst_event_new_newsegment),
14259         (gst_event_parse_newsegment):
14260         * gst/gstevent.h:
14261         Rename base to stream_time.
14262
14263         * gst/gstmessage.h:
14264         Fix typo in docs.
14265
14266 2005-10-11  Wim Taymans  <wim@fluendo.com>
14267
14268         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14269         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
14270         (gst_bin_change_state_func), (bin_bus_handler):
14271         * gst/gstbin.h:
14272         Work on proper clock selection.
14273
14274 2005-10-11  Edward Hervey  <edward@fluendo.com>
14275
14276         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
14277         * libs/gst/controller/gstcontroller.h:
14278         Added GList* version of _remove_properties() in order to be able to wrap
14279         it in bindings.
14280
14281 2005-10-11  Wim Taymans  <wim@fluendo.com>
14282
14283         * docs/design/part-states.txt:
14284         Some more docs.
14285
14286         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
14287         (gst_bin_change_state_func), (bin_bus_handler):
14288         Doc updates. Don't distribute the same clock over and over again.
14289
14290         * gst/gstclock.c:
14291         * gst/gstclock.h:
14292         Doc updates.
14293
14294         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
14295         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
14296         (gst_pad_send_event):
14297         * gst/gstpad.h:
14298         Make probe emission threadsafe again.
14299         Register quarks and move _get_name() from utils.
14300         Doc updates.
14301
14302         * gst/gstpipeline.c: (gst_pipeline_class_init),
14303         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14304         Only redistribute the clock of it changed.
14305
14306         * gst/gstsystemclock.h:
14307         Doc updates. 
14308
14309         * gst/gstutils.c:
14310         * gst/gstutils.h:
14311         Moved the _flow_get_name() to GstPad.
14312
14313 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14314
14315         * check/gst-libs/gdp.c: (GST_START_TEST):
14316         * check/gst/gstcaps.c: (GST_START_TEST):
14317         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
14318         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
14319         (gst_dp_packet_from_caps):
14320           fix more valgrind warnings before turning up the heat
14321
14322 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14323
14324         * gst/parse/grammar.y:
14325           some cleanup before the hacking
14326
14327 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14328
14329         * gst/base/gstbasesrc.c: (gst_base_src_query):
14330           use conversions
14331         * gst/gstutils.c: (gst_guint64_to_gdouble),
14332         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
14333         * gst/gstutils.h:
14334           externalize, basesrc uses it
14335           obviously the implementation needs testing
14336
14337 2005-10-10  Wim Taymans  <wim@fluendo.com>
14338
14339         * tests/sched/Makefile.am:
14340         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
14341         (make_pipeline3), (make_pipeline4), (print_elem), (main):
14342
14343 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14344
14345         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
14346           apparently converting from guint64 to double is not implemented
14347           on MSVC
14348
14349 2005-10-10  Wim Taymans  <wim@fluendo.com>
14350
14351         * check/Makefile.am:
14352         * check/generic/states.c: (GST_START_TEST):
14353         * check/gst/gstbin.c: (GST_START_TEST):
14354         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
14355         * check/states/sinks.c: (GST_START_TEST):
14356         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
14357         (main):
14358         Check fixes, use API as stated in design docs, remove hacks.
14359
14360         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14361         (gst_base_sink_change_state):
14362         Catch stopping our task while we're shutting down.
14363
14364         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
14365         (gst_bin_remove_func), (gst_bin_get_state_func),
14366         (gst_bin_recalc_state), (gst_bin_change_state_func),
14367         (bin_bus_handler):
14368         * gst/gstbin.h:
14369         * gst/gstelement.c: (gst_element_init),
14370         (gst_element_get_state_func), (gst_element_abort_state),
14371         (gst_element_commit_state), (gst_element_lost_state),
14372         (gst_element_set_state), (gst_element_change_state),
14373         (gst_element_change_state_func):
14374         * gst/gstelement.h:
14375         New state change algorithm (see #318116)
14376
14377         * gst/gstpipeline.c: (gst_pipeline_class_init),
14378         (gst_pipeline_init), (gst_pipeline_set_property),
14379         (gst_pipeline_get_property), (do_pipeline_seek),
14380         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14381         * gst/gstpipeline.h:
14382         Remove crude state change hacks.
14383
14384         * gst/gstutils.h:
14385         Remove crude hacks.
14386
14387         * tools/gst-launch.c: (main):
14388         Fixes for state change. Needs some more work to fully use the
14389         new stuff.
14390
14391 2005-10-10  Andy Wingo  <wingo@pobox.com>
14392
14393         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
14394
14395         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
14396         this flag, but it's not even in GLib 2.6. Odd. Hack around the
14397         issue.
14398
14399 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14400
14401         * gst/gstiterator.c: (gst_iterator_new):
14402           Fix my previous commit: GTypes passed to gst_iterator_new()
14403           can be fundamental types.
14404
14405 2005-10-10  Wim Taymans  <wim@fluendo.com>
14406
14407         * gst/gstelement.c: (gst_element_iterate_pad_list),
14408         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
14409         (gst_element_iterate_sink_pads):
14410         Use src/sink pads lists for the respective iterators instead
14411         of filtering.
14412
14413 2005-10-10  Andy Wingo  <wingo@pobox.com>
14414
14415         Merged in popt removal + GOption addition patch from Ronald, bug
14416         #169772.
14417
14418         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
14419         GstElement macros around, remove popt-related symbols, add goption
14420         stuff.
14421
14422         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
14423         
14424         * docs/gst/Makefile.am:
14425         * docs/libs/Makefile.am: No POPT_CFLAGS.
14426         
14427         * examples/manual/Makefile.am:
14428         * docs/manual/basics-init.xml: Doc updates with an example.
14429         
14430         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
14431         (gst_init), (parse_one_option), (parse_goption_arg):
14432         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
14433         bit of hand merging and debugging to get the GOption stuff working
14434         tho.
14435         
14436         * tests/Makefile.am:
14437         * tools/Makefile.am:
14438         * tools/gst-inspect.c: (main):
14439         * tools/gst-launch.c: (main):
14440         * tools/gst-run.c: (main):
14441         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
14442
14443 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14444
14445         * gst/gstiterator.c: (gst_iterator_new):
14446           Add assertions to make sure passed GType is likely to really
14447           be a GType (as the compiler won't catch it if the size and
14448           GType arguments get mixed up, see #318447).
14449
14450 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
14451
14452         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14453
14454         * gst/gstbin.c: (gst_bin_iterate_sorted):
14455           Pass GType and size arguments to gst_iterator_new() in the right
14456           order (maybe we should make _new() take the GType as first argument
14457           just like _new_list()?) (#318447).
14458           
14459
14460 2005-10-10  Wim Taymans  <wim@fluendo.com>
14461
14462         * gst/gstelement.c: (gst_element_finalize):
14463         And free the GStaticRecMutex too
14464
14465 2005-10-10  Andy Wingo  <wingo@pobox.com>
14466
14467         * gst/gstelement.c (gst_element_init, gst_element_finalize):
14468         Allocate and free the mutex properly.
14469
14470         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
14471         New macros.
14472         (GstElement): The state_lock is now recursive. Rebuild your
14473         plugins, suckers. Old macros adapted.
14474
14475         * docs/gst/gstreamer-sections.txt: Doc updates.
14476
14477         * gst/gstutils.h:
14478         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
14479         (g_static_rec_cond_wait): Ported from state changes patch, while
14480         we wait on bug #317802 to be solved in a well-distributed GLib.
14481
14482         * gst/gstelement.c (gst_element_change_state_func): Renamed from
14483         gst_element_change_state, variable name changes.
14484         (gst_element_change_state): Split out of gst_element_set_state in
14485         preparation for the state change merge. Doesn't pay attention to
14486         the 'transition' argument.
14487         (gst_element_set_state): Updates, hopefully purely cosmetic.
14488         (gst_element_sync_state_with_parent): MT-safety. Ported from the
14489         state change patch.
14490         (gst_element_get_state_func): Renamed from get_state, cosmetic
14491         changes.
14492
14493 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14494
14495         * gst/elements/gstelements.c:
14496         * win32/GStreamer.vcproj:
14497         * win32/config.h:
14498         * win32/dirent.c: (_tseekdir):
14499         * win32/gst-inspect.vcproj:
14500         * win32/gst-launch.vcproj:
14501         * win32/gstconfig.h:
14502         * win32/gstelements.vcproj:
14503         * win32/gstenumtypes.c: (gst_object_flags_get_type):
14504         * win32/gstreamer.def:
14505         * win32/msvc71.sln:
14506           updates for the win32 build (patch from Sebastien Moutte)
14507
14508 2005-10-10  Andy Wingo  <wingo@pobox.com>
14509
14510         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
14511         gst_bin_get_state, cleaned up (but no logic changes).
14512         (bin_element_is_sink): Comment updates.
14513         (sink_iterator_filter): Remove needless cast.
14514         (gst_bin_iterate_sinks): Doc update.
14515         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
14516         cleaned up (but no logic changes).
14517
14518         * check/states/sinks.c (test_src_sink): Cleanups from the state
14519         change patch.
14520         (test_livesrc_sink): Sync on the state.
14521
14522         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
14523         the state change patch.
14524
14525         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
14526         change patch.
14527
14528         * check/gst/gstbin.c: Merge in some style fixes and additional
14529         checks from Wim's state change patch.
14530
14531 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14532
14533         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14534         (gst_type_find_helper):
14535           Check whether we have the requested data already in our list of
14536           cached buffers before pulling a new buffer; also make the buffer
14537           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
14538
14539 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14540
14541         * gst/gstcaps.c:
14542         * gst/gstevent.c:
14543           doc updates
14544         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14545           don't use long long, it's not portable.  Replacing with
14546           gint64 seems to work; let's hope no skeletons fall out of the closet.
14547
14548 2005-10-10  Andy Wingo  <wingo@pobox.com>
14549
14550         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
14551
14552 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
14553
14554         * docs/gst/gstreamer-sections.txt:
14555         * gst/gstevent.c:
14556         * gst/gstevent.h:
14557         * gst/gstinfo.c:
14558         * gst/gstinfo.h:
14559         * gst/gstmessage.c: (gst_message_parse_state_changed):
14560         * gst/gstpad.c:
14561         * gst/gstpad.h:
14562           more docs, fix compilation
14563
14564 2005-10-09  Philippe Khalaf <burger@speedy.org>
14565         * gst/gstmessage.c:
14566           Fixed a few forgotten variables on previous commit
14567
14568 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
14569
14570         * gst/base/gsttypefindhelper.c: (helper_find_peek):
14571           Fix evil typefind crasher: getrange() might return a short
14572           buffer at the end of a file, but gst_type_find_peek() must
14573           either return the full data as requested or NULL, but
14574           never a short buffer.
14575
14576 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14577
14578         * gst/gstmessage.c: (gst_message_new_state_changed),
14579         (gst_message_parse_state_changed):
14580         * gst/gstmessage.h:
14581           don't use "new", it's a C++ keyword
14582
14583 2005-10-08  Wim Taymans  <wim@fluendo.com>
14584
14585         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
14586         * gst/gstelement.c: (gst_element_post_message):
14587         * gst/gstpipeline.c: (gst_pipeline_change_state):
14588         Small docs and debug updates.
14589
14590 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
14591
14592         * docs/gst/gstreamer-sections.txt:
14593         * gst/gstelementfactory.c:
14594         * gst/gstevent.c:
14595         * gst/gsttaglist.c:
14596           more docs
14597
14598 2005-10-08  Wim Taymans  <wim@fluendo.com>
14599
14600         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
14601         (gst_bin_dispose), (bin_bus_handler):
14602         Fix typos, add comments.
14603         Clear EOS list when going to PAUSED from any direction and do it
14604         in a threadsafe way.
14605         Get base time in a threadsafe way too.
14606         Fix confusing debug in the change_state function.
14607         Various other small cleanups.
14608         
14609         * gst/gstelement.c: (gst_element_post_message):
14610         Fix very verbose bus posting code.
14611
14612         * gst/gstpipeline.c: (gst_pipeline_class_init),
14613         (gst_pipeline_set_property), (gst_pipeline_get_property),
14614         (gst_pipeline_change_state):
14615         Small ARG_ -> PROP_ cleanup
14616
14617 2005-10-08  Wim Taymans  <wim@fluendo.com>
14618
14619         * gst/gstbin.c: (is_eos), (bin_bus_handler):
14620         Do a less CPU demanding EOS check because we can.
14621
14622 2005-10-08  Wim Taymans  <wim@fluendo.com>
14623
14624         * libs/gst/dataprotocol/dataprotocol.c:
14625         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14626         (gst_dp_packet_from_event):
14627         * libs/gst/dataprotocol/dataprotocol.h:
14628         * libs/gst/dataprotocol/dp-private.h:
14629         It's about time we bump the version number.
14630         Since event types don't fit in the guint8 anymore describing
14631         the payload type, make payload type 16 bits wide.
14632
14633 2005-10-08  Wim Taymans  <wim@fluendo.com>
14634
14635         * docs/design/part-TODO.txt:
14636         * docs/design/part-clocks.txt:
14637         * docs/design/part-events.txt:
14638         * docs/design/part-gstbin.txt:
14639         * docs/design/part-gstelement.txt:
14640         * docs/design/part-gstpipeline.txt:
14641         * docs/design/part-live-source.txt:
14642         * docs/design/part-messages.txt:
14643         * docs/design/part-overview.txt:
14644         * docs/design/part-states.txt:
14645         Many doc updates.
14646
14647 2005-10-08  Wim Taymans  <wim@fluendo.com>
14648
14649         * gst/gstevent.c:
14650         * gst/gstevent.h:
14651         Fix event quark registration.
14652         Add some space between events so we can insert them in the
14653         right groups.
14654
14655 2005-10-08  Wim Taymans  <wim@fluendo.com>
14656
14657         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14658         (gst_base_sink_handle_buffer):
14659         Better log message.
14660
14661         * gst/gstbus.h:
14662         * gst/gstelement.h:
14663         More docs.
14664
14665         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
14666         (gst_queue_set_property), (gst_queue_get_property):
14667         * gst/gstqueue.h:
14668         Remove old unused properties.
14669
14670 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
14671         * docs/gst/gstreamer-sections.txt:
14672         * gst/gstmessage.c:
14673         * gst/gstmessage.h:
14674         * gst/gstminiobject.c:
14675         * gst/gstminiobject.h:
14676         * gst/gstobject.h:
14677         * gst/gstpad.h:
14678         * gst/gstutils.h:
14679           lots of new docs and doc fixes
14680
14681 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14682
14683         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
14684         * gst/gstplugin.h:
14685         * gst/gstregistry.c: (gst_registry_lookup_locked),
14686         (gst_registry_scan_path_level):
14687         * gst/gstregistryxml.c: (load_plugin):
14688           Only ever load one plugin for a given plugin basename.
14689           This ensures correct overriding of GST_PLUGIN_PATH over
14690           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
14691           system installed plugins.
14692
14693 2005-10-08  Wim Taymans  <wim@fluendo.com>
14694
14695         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14696         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
14697         Prepare for doing QOS.
14698
14699 2005-10-08  Wim Taymans  <wim@fluendo.com>
14700
14701         * check/gst/gstbin.c: (GST_START_TEST):
14702         * check/pipelines/cleanup.c: (GST_START_TEST):
14703         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14704         Allow new clock message too.
14705
14706 2005-10-08  Wim Taymans  <wim@fluendo.com>
14707
14708         * gst/gstmessage.c: (gst_message_new_error),
14709         (gst_message_new_warning), (gst_message_new_tag),
14710         (gst_message_new_state_changed), (gst_message_new_clock_provide),
14711         (gst_message_new_clock_lost), (gst_message_new_new_clock),
14712         (gst_message_new_segment_start), (gst_message_new_segment_done),
14713         (gst_message_parse_state_changed),
14714         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
14715         (gst_message_parse_new_clock):
14716         * gst/gstmessage.h:
14717         Also carry the clock in question.
14718
14719 2005-10-08  Wim Taymans  <wim@fluendo.com>
14720
14721         * gst/gstmessage.c: (gst_message_new_custom),
14722         (gst_message_new_eos), (gst_message_new_error),
14723         (gst_message_new_warning), (gst_message_new_tag),
14724         (gst_message_new_state_changed), (gst_message_new_clock_provide),
14725         (gst_message_new_new_clock), (gst_message_new_segment_start),
14726         (gst_message_new_segment_done), (gst_message_parse_state_changed),
14727         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
14728         * gst/gstmessage.h:
14729         Clean up.
14730         Added clock related messages.
14731
14732         * gst/gstpipeline.c: (gst_pipeline_change_state):
14733         Post message when the clock changed.
14734
14735         * tools/gst-launch.c: (event_loop):
14736         Print new clock.
14737
14738 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
14739
14740         * tools/gst-inspect.c: (print_element_properties_info):
14741           Can't pass NULL strings to g_print() on windows.
14742
14743 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14744
14745         * docs/Makefile.am:
14746         * docs/gst/Makefile.am:
14747         * docs/gst/gstreamer-docs.sgml:
14748         * docs/gst/running.xml:
14749         * docs/version.entities.in:
14750           add a chapter on running GStreamer.
14751           document GST_DEBUG and GST_PLUGIN* env vars
14752
14753 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14754
14755         * Makefile.am:
14756           remove include dir
14757         * configure.ac:
14758           remove PLUGINS_BUILDDIR stuff
14759         * gst/gst.c: (init_post):
14760           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
14761         * idiottest.mak:
14762           remove, it was condescending and not needed
14763
14764 2005-10-08  Wim Taymans  <wim@fluendo.com>
14765
14766         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
14767         (gst_base_sink_handle_object), (gst_base_sink_event),
14768         (gst_base_sink_wait), (gst_base_sink_handle_event),
14769         (gst_base_sink_change_state):
14770         * gst/base/gstbasesink.h:
14771         Repost EOS message while going to PLAYING if still EOS.
14772         Make sure that when receiving a FLUSH_START we don't attempt
14773         to sync on the clock anymore.
14774
14775 2005-10-08  Wim Taymans  <wim@fluendo.com>
14776
14777         * tools/gst-launch.c: (event_loop):
14778         Better message printout.
14779
14780 2005-10-08  Wim Taymans  <wim@fluendo.com>
14781
14782         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
14783         (gst_bin_child_proxy_get_children_count):
14784         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14785         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
14786         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
14787         (gst_child_proxy_set_valist):
14788         * gst/parse/grammar.y:
14789         Make ChildProxy threadsafe and fix mem leaks.
14790
14791 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14792
14793         * gst/gst.c: (init_post):
14794           debug the GST_PLUGIN_ env vars
14795
14796 2005-10-08  Wim Taymans  <wim@fluendo.com>
14797
14798         * check/gst/gstbin.c: (GST_START_TEST):
14799         * check/gst/gstmessage.c: (GST_START_TEST):
14800         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
14801         * gst/gstelement.c: (gst_element_commit_state),
14802         (gst_element_lost_state):
14803         * gst/gstmessage.c: (gst_message_new_state_changed),
14804         (gst_message_parse_state_changed):
14805         * gst/gstmessage.h:
14806         * tools/gst-launch.c: (event_loop):
14807         Added extra field to STATE_CHANGE message with the pending
14808         state, which will be different from the new state soon.
14809
14810 2005-10-08  Wim Taymans  <wim@fluendo.com>
14811
14812         * gst/gstbus.c: (gst_bus_pop):
14813         * gst/gstclock.c:
14814         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
14815         Small cleanups and doc updates.
14816
14817 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14818
14819         * gst/gst.c: (init_pre):
14820         * gst/gstbin.c: (gst_bin_add_func):
14821           log distributing clocks and base time
14822         * gst/gstregistry.c: (gst_registry_add_plugin),
14823         (gst_registry_scan_path_level), (gst_registry_scan_path):
14824           clean up the debugging output a little
14825         * gst/gstutils.c: (gst_element_state_get_name):
14826           warn about a memleak (I've actually seen this be used, though
14827           it was probably a bug)
14828
14829 2005-10-07  Wim Taymans  <wim@fluendo.com>
14830
14831         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14832         (gst_base_src_init), (gst_base_src_default_newsegment),
14833         (gst_base_src_newsegment), (gst_base_src_do_seek),
14834         (gst_base_src_loop), (gst_base_src_start):
14835         * gst/base/gstbasesrc.h:
14836         Make the newsegment event customizable by subclasses.
14837
14838 2005-10-07  Wim Taymans  <wim@fluendo.com>
14839
14840         * gst/gstevent.c: (gst_event_new_buffersize),
14841         (gst_event_parse_buffersize):
14842         * gst/gstevent.h:
14843         New event for future idea.
14844
14845 2005-10-07  Andy Wingo  <wingo@pobox.com>
14846
14847         * gst/gstelement.c (gst_element_post_message): Doc update.
14848
14849         * docs/gst/gstreamer-sections.txt: Update.
14850
14851         * gst/gstmessage.c (gst_message_new_application): Made into a
14852         function like honest API calls.
14853         (gst_message_new_element): New message type.
14854
14855         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
14856
14857         * check/elements/fakesrc.c (test_no_preroll): New check, checks
14858         that setting a live fakesrc to PAUSED returns NO_PREROLL both
14859         times.
14860
14861         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
14862         NO_PREROLL from gst_element_change_state to fall through.
14863
14864 2005-10-07  Wim Taymans  <wim@fluendo.com>
14865
14866         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
14867         (gst_ghost_pad_do_activate_push):
14868         Activating a ghostpad with no internal pad in push mode
14869         is ok.
14870
14871 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14872
14873         * gst/gstobject.h:
14874           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
14875           Fixes compilation on Windows.
14876
14877 2005-10-07  Michael Smith <msmith@fluendo.com>
14878
14879         * tools/gst-inspect.c:
14880           Print out feature and plugin count at the end when printing out
14881           all features.
14882
14883 2005-10-04  Michael Smith <msmith@fluendo.com>
14884
14885         * gst/gsterror.c: (_gst_stream_errors_init):
14886           Add another error string used in a few existing plugins.
14887
14888         * gst/gstplugin.c:
14889         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14890         * tools/gst-inspect.c: (print_element_info):
14891           When a feature disappears from a plugin (and the feature exists in
14892           the cached registry file), things went horribly wrong. This isn't a
14893           complete fix, we should actually be removing the 'missing' features
14894           from the features list when we load the actual plugin. That's not
14895           yet implemented. 
14896
14897 2005-10-04  Johan Dahlin  <johan@gnome.org>
14898
14899         * check/gst/gstiterator.c: (GST_START_TEST):
14900         * gst/gstbin.c: (gst_bin_iterate_elements),
14901         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
14902         * gst/gstelement.c: (gst_element_iterate_pads):
14903         * gst/gstformat.c: (gst_format_iterate_definitions):
14904         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
14905         (gst_iterator_new_list), (gst_iterator_filter):
14906         * gst/gstiterator.h:
14907         * gst/gstquery.c: (gst_query_type_iterate_definitions):
14908         Add a GType to GstIterator, update callsites and tests.
14909
14910 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14911
14912         * gst/gstpad.c: (gst_pad_event_default_dispatch):
14913           give events a chance to be handled by event probes when the pad
14914           is not linked
14915
14916 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14917
14918         * gst/gstevent.c: (gst_event_type_get_name),
14919         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
14920         * gst/gstevent.h:
14921           add string representations for event types
14922
14923 2005-10-06  Wim Taymans  <wim@fluendo.com>
14924
14925         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
14926         Don't use NULL pointers.
14927
14928 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14929
14930         * gst/gst_private.h:
14931         * gst/gstbus.c:
14932         * gst/gstelement.c:
14933         * gst/gstinfo.c:
14934         * gst/gstpluginfeature.c:
14935           widen the debug category in output to fit the biggest one we have
14936           add a bus category and use it
14937           play with the colors
14938           fix up some categories
14939
14940 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14941
14942         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
14943           add push activation of sink ghost pads.
14944           Andye, please verify
14945
14946 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14947
14948         * gst/gstutils.c: (gst_element_link_pads):
14949           fix a bug in the case where neither element has a pad
14950         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14951           add a test for that case
14952
14953 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14954
14955         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
14956           emit have-data before checking for peers.  This allows
14957           for probe handlers to connect elements.  This helps autopluggers.
14958         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
14959         (gst_pad_suite):
14960           add six checks, linked/unlinked with no/true/false probe
14961
14962 2005-10-04  Wim Taymans  <wim@fluendo.com>
14963
14964         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
14965         (gst_fake_sink_event), (gst_fake_sink_preroll),
14966         (gst_fake_sink_render), (gst_fake_sink_change_state):
14967         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
14968         (gst_fake_src_get_property), (gst_fake_src_create),
14969         (gst_fake_src_stop):
14970         * gst/elements/gstidentity.c: (gst_identity_stop):
14971         Protect last_message with lock.
14972
14973 2005-10-04  Edward Hervey  <edward@fluendo.com>
14974
14975         * gst/gstformat.h: 
14976         Added precision in the comments for GST_FORMAT_DEFAULT
14977
14978 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
14979
14980         * tools/gst-launch.c: (main):
14981           Don't try to run erroneous pipelines.
14982
14983 2005-10-04  Julien MOUTTE  <julien@moutte.net>
14984
14985         * gst/gstbus.c: We don't need this header.
14986
14987 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14988
14989         * configure.ac:
14990           back to development
14991
14992 === release 0.9.3 ===
14993
14994 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14995
14996         * README:
14997         * configure.ac:
14998           Releasing 0.9.3, "Unregistered"
14999
15000 2005-10-03  Andy Wingo  <wingo@pobox.com>
15001
15002         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
15003         whereby calling a pad's activatepush() function can start a thread
15004         that starts to push or pull before the pad gets the FLUSHING flag
15005         unset. Hack around it by holding the stream lock until the flag is
15006         set. Need to replace this with a proper solution. Together with
15007         the ghost pad fixes, this fixes mp3 playing/tagreading.
15008
15009         * docs/design/part-gstghostpad.txt: Add a note about activation of
15010         proxy pads outside of ghost pads.
15011
15012         * gst/gstghostpad.c: Implement the ghost pad activation design.
15013
15014 2005-10-02  Andy Wingo  <wingo@pobox.com>
15015
15016         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
15017         It is volatile, after all.
15018
15019         * docs/design/part-gstghostpad.txt: Flesh out activation with
15020         ghost pads.
15021
15022         * gst/base/gstbasesrc.c (gst_base_src_init): Use
15023         GST_DEBUG_FUNCPTR.
15024
15025 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
15026
15027         * configure.ac:
15028           Fix (unused) AM_CONDITIONAL tests.
15029
15030 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
15031
15032         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15033
15034         * gst/gstutils.c: (gst_pad_query_convert):
15035           Add assertion that makes sure src_val is >=0, just like
15036           gst_query_new_convert() has. (#315895)
15037
15038 2005-09-30  Edward Hervey  <edward@fluendo.com>
15039
15040         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
15041         Let's not iterate pads we're not interested in, it avoids getting 
15042         sky-high refcounts on sinkpad.
15043
15044 2005-09-30  Wim Taymans  <wim@fluendo.com>
15045
15046         * gst/gstelement.c: (gst_element_set_state),
15047         (gst_element_change_state):
15048         Small tweak, element in ASYNC remains ASYNC.
15049
15050 2005-09-30  Wim Taymans  <wim@fluendo.com>
15051
15052         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15053         Only error is an error.
15054
15055         * gst/gstbin.c: (gst_bin_change_state):
15056         Better debugging.
15057
15058         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
15059         Also call pad_block in pad alloc.
15060
15061         * gst/gstutils.c: (gst_flow_get_name):
15062         Better debugging.
15063
15064 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
15065
15066         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15067         (gst_base_src_get_range):
15068           Fix documentation typos. Add some more debug info.
15069
15070 2005-09-29  David Schleef  <ds@schleef.org>
15071
15072         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
15073           more end-user friendly.
15074         * tools/gst-inspect.c: (main): Check if command-line argument is
15075           a file and attempt to load that file as a plugin.
15076
15077 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15078
15079         * check/gst/gstbin.c:
15080         * check/states/sinks.c:
15081           fix tests for the new warning
15082         * check/gst/gstpipeline.c:
15083           add a test for pipeline and bus interaction
15084         * gst/gstelement.c:
15085           elements should be NULL if they get disposed; add a warning if not
15086
15087 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15088
15089         * gst/gstobject.c:
15090           for 2.6 refcounting, make debug log more correct by printing
15091           the actual refcounts at the time of swap (Wim)
15092
15093 2005-09-29  Andy Wingo  <wingo@pobox.com>
15094
15095         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
15096         removes signal watches previously added via
15097         gst_bus_add_signal_watch.
15098         (gst_bus_add_signal_watch): Don't return the source id, just store
15099         it on the bus if there wasn't an id already.
15100
15101         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
15102         add_signal_watch and remove_signal_watch.
15103
15104 2005-09-29  Edward Hervey  <edward@fluendo.com>
15105
15106         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
15107         Better if we actually iterate the list :)
15108
15109 2005-09-29  Wim Taymans  <wim@fluendo.com>
15110
15111         * check/gst/gstbin.c: (GST_START_TEST):
15112         Change for new bus API.
15113
15114         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
15115         (send_messages), (GST_START_TEST), (gstbus_suite):
15116         Change for new bus signal API.
15117
15118         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
15119         (gst_bus_source_prepare), (gst_bus_source_check),
15120         (gst_bus_create_watch), (gst_bus_add_watch_full),
15121         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
15122         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
15123         * gst/gstbus.h:
15124         Remove support for multiple GSources operating on different
15125         message types as it is too complex and unneeded when using
15126         signals.
15127         Added support for receiving signals from the bus.
15128
15129 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15130
15131         * docs/libs/tmpl/gstdataprotocol.sgml:
15132         * docs/manual/advanced-dataaccess.xml:
15133         * gst/elements/gstcapsfilter.c:
15134         * gst/gstutils.c:
15135           rename filter-caps to caps property
15136
15137 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
15138
15139         * gst/gstvalue.c: (gst_value_deserialize_fraction):
15140           More robust fraction string parsing.
15141
15142         * docs/pwg/appendix-porting.xml:
15143           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
15144
15145 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
15146
15147         * gst/gstcaps.c: (gst_caps_do_simplify):
15148           Thou shalt not free a structure and then continue using it
15149           in the next loop iteration.
15150
15151         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
15152         (gst_caps_suite):
15153           Add test case for caps simplification.
15154
15155 2005-09-29  Wim Taymans  <wim@fluendo.com>
15156
15157         * check/gst/gstbin.c: (GST_START_TEST):
15158         Oops.
15159
15160 2005-09-29  Wim Taymans  <wim@fluendo.com>
15161
15162         * check/gst/gstbin.c: (GST_START_TEST):
15163         Add bus to bin.
15164
15165         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
15166         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15167         (find_element), (gst_bin_sort_iterator_next),
15168         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15169         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15170         (gst_bin_change_state), (gst_bin_dispose):
15171         A bin does not have a bus, it gets the bus from the parent.
15172
15173         * gst/gstelement.c: (gst_element_requires_clock),
15174         (gst_element_provides_clock), (gst_element_is_indexable),
15175         (gst_element_is_locked_state), (gst_element_change_state),
15176         (gst_element_set_bus_func):
15177         Small cleanups.
15178
15179         * gst/gstpipeline.c: (gst_pipeline_class_init),
15180         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
15181         The pipeline provides a bus.
15182
15183 2005-09-28  Johan Dahlin  <johan@gnome.org>
15184
15185         * gst/gstmessage.c (gst_message_parse_state_changed): Use
15186         gst_structure_get_enum instead of gst_structure_get_int
15187
15188         * gst/gststructure.c (gst_structure_get_enum): Impl.
15189
15190         * gst/gststructure.h (gst_structure_get_enum): Add
15191
15192         * docs/gst/gstreamer-sections.txt: Ditto
15193
15194         * gst/gstmessage.c (gst_message_new_state_changed): Use
15195         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
15196         which does introspection.
15197         Reviewed by Christian Schaller
15198
15199 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
15200
15201         * gst/gstinfo.c: (gst_debug_log_default):
15202           don't do dummy g_strdup()s
15203         * libs/gst/controller/gstcontroller.c:
15204         (on_object_controlled_property_changed),
15205         (gst_controlled_property_new), (gst_controller_new_valist),
15206         (gst_controller_new_list),
15207         (gst_controller_remove_properties_valist), (gst_controller_set),
15208         (gst_controller_get), (gst_controller_sync_values),
15209         (gst_controller_get_value_array), (_gst_controller_class_init),
15210         (gst_controller_get_type):
15211         * libs/gst/controller/gstcontroller.h:
15212         * libs/gst/controller/gstinterpolation.c:
15213         (gst_controlled_property_find_timed_value_node):
15214           convert // to /**/ comments
15215
15216 2005-09-28  Wim Taymans  <wim@fluendo.com>
15217
15218         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
15219         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
15220         (gst_bus_sync_signal_handler):
15221         * gst/gstbus.h:
15222         Added async-message and sync-message signals to the bus.
15223         Added helper BusFunc to emit signals for all posted messages.
15224
15225         * gst/gstmessage.c: (gst_message_type_get_name),
15226         (gst_message_type_to_quark), (gst_message_get_type):
15227         * gst/gstmessage.h:
15228         Register quarks for message names.
15229
15230 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
15231
15232         * docs/libs/gstreamer-libs-sections.txt:
15233         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
15234         (gst_controller_new_list):
15235         * libs/gst/controller/gstcontroller.h:
15236           added another constructor for language bindings
15237
15238 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15239
15240         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15241           add another check
15242         * gst/gstbus.c:
15243           add some doc
15244         * gst/gstinfo.c: (_gst_debug_init):
15245           slightly more readable color for refcount debugging
15246
15247 2005-09-28  Wim Taymans  <wim@fluendo.com>
15248
15249         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15250         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15251         (find_element), (gst_bin_sort_iterator_next),
15252         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15253         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15254         (gst_bin_change_state), (gst_bin_dispose):
15255         Small doc fixes. get_clock -> provide_clock.
15256
15257         * gst/gstelement.c: (gst_element_class_init),
15258         (gst_element_provides_clock), (gst_element_provide_clock),
15259         (gst_element_get_clock), (gst_element_commit_state),
15260         (gst_element_lost_state):
15261         * gst/gstelement.h:
15262         Make get/set_clock() symetric. Add provide_clock vmethod since
15263         that is actually what this function does.
15264
15265         * gst/gstpipeline.c: (gst_pipeline_class_init),
15266         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
15267         (gst_pipeline_get_clock):
15268         get_clock -> provide_clock.
15269
15270 2005-09-28  Andy Wingo  <wingo@pobox.com>
15271
15272         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
15273         lieu of real docs...
15274
15275         * gst/elements/gstfdsrc.c: Cleaned up a bit.
15276
15277 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
15278
15279         * gst/elements/gstcapsfilter.c:
15280         * gst/elements/gstfakesink.c:
15281         * gst/elements/gstfakesrc.c:
15282         * gst/elements/gstfdsink.c:
15283         * gst/elements/gstfdsrc.c:
15284         * gst/elements/gstfilesink.c:
15285         * gst/elements/gstfilesrc.c:
15286         * gst/elements/gstidentity.c:
15287         * gst/elements/gsttee.c:
15288         * gst/elements/gsttypefindelement.c:
15289           Make element details static.
15290
15291 2005-09-28  Wim Taymans  <wim@fluendo.com>
15292
15293         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15294         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15295         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15296         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15297         (gst_bin_change_state), (gst_bin_dispose):
15298         Some documentation updates.
15299         Clean up dispose handlers.
15300
15301         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
15302         * gst/gstpad.c: (gst_pad_dispose):
15303         Clean up dispose handler.
15304
15305         * gst/gstpipeline.c: (gst_pipeline_change_state):
15306         Removed spurious UNLOCK.
15307
15308 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
15309
15310         * docs/gst/gstreamer-sections.txt:
15311         * gst/base/gstbasesrc.h:
15312         * gst/gstelement.h:
15313         * gst/gstevent.h:
15314         * gst/gstobject.h:
15315         * gst/gstpad.h:
15316         * gst/gstpipeline.c:
15317         * gst/gstpipeline.h:
15318         * gst/gstutils.h:
15319         * gst/gstxml.h:
15320           added two new functions to the docs
15321                 documents all undocumented GstXXXFlags
15322                 completed some incomplete docs 
15323
15324 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
15325
15326         * gst/gstbin.c: (gst_bin_dispose):
15327         * gst/gstelement.c: (gst_element_dispose):
15328           remove now useless and leaky resurrection code in dispose
15329         * gst/base/gstbasesrc.c: (gst_base_src_init):
15330         * gst/gstelementfactory.c: (gst_element_factory_create):
15331         * gst/gstobject.c: (gst_object_set_parent):
15332           add some debugging
15333
15334 2005-09-27  Wim Taymans  <wim@fluendo.com>
15335
15336         * docs/design/part-TODO.txt:
15337         Update TODO.
15338
15339         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15340         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15341         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15342         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15343         (gst_bin_change_state):
15344         * gst/gstelement.h:
15345         Remove element variable, we keep element info in the iterator now.
15346
15347 2005-09-27  Andy Wingo  <wingo@pobox.com>
15348
15349         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
15350         values.
15351
15352 2005-09-27  Wim Taymans  <wim@fluendo.com>
15353
15354         * check/gst/gstbin.c: (GST_START_TEST):
15355         Enable check that works now.
15356
15357         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15358         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15359         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15360         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15361         (gst_bin_change_state):
15362         * gst/gstbin.h:
15363         Redid the state change algorithm using a topological sort algo.
15364         Handles all cases correctly.
15365         Exposed iterator for state change order.
15366
15367         * gst/gstelement.h:
15368         Temp storage for state changes. Need to get rid of this soon.
15369
15370 2005-09-27  Wim Taymans  <wim@fluendo.com>
15371
15372         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
15373         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
15374         (link_fold_func), (gst_pad_proxy_setcaps):
15375         Leak fixes, the fold functions need to unref the passed object and
15376         _get_parent_*() returns ref to parent.
15377
15378 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
15379
15380         * check/gst/gstbuffer.c: (test_make_writable):
15381           Plug leak in test case and fix 'make check-valgrind'
15382
15383 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
15384
15385         * gst/gstbuffer.c: (gst_subbuffer_init):
15386           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
15387           works correctly in all circumstances (we could have just copied
15388           the parent buffer's readonly flag, but conceptually it seems
15389           cleaner to mark all subbuffers as read-only). (based on patch
15390           by Alessandro Decina, #314710).
15391         
15392         * check/gst/gstbuffer.c: (create_read_only_buffer),
15393         (test_make_writable), (test_subbuffer_make_writable),
15394         (gst_test_suite):
15395           Add some tests for gst_buffer_make_writable().
15396
15397 2005-09-27  Wim Taymans  <wim@fluendo.com>
15398
15399         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
15400         use gst_object_has_ancestor().
15401
15402         * gst/gstobject.c: (gst_object_has_ancestor):
15403         * gst/gstobject.h:
15404         gst_object_has_ancestor() copied from gstbin.c as it is a
15405         useful function.
15406
15407         * tests/instantiate/create.c: (create_all_elements):
15408         * tests/lat.c: (handoff_src), (handoff_sink):
15409         * tests/sched/runxml.c: (main):
15410         * tests/seeking/seeking1.c: (main):
15411         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15412         (main):
15413         Fix compilation of some tests.
15414
15415 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
15416
15417         * gst/gsterror.h:
15418           Remove comment. GST_TYPE_G_ERROR is here to stay,
15419           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
15420           (#316961, #300610).
15421
15422 2005-09-26  Wim Taymans  <wim@fluendo.com>
15423
15424         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15425         Added check that shows error in state change order.
15426
15427 2005-09-26  Wim Taymans  <wim@fluendo.com>
15428
15429         * gst/gstbin.c: (gst_bin_change_state):
15430         Make state change function use 3 queues again, we were
15431         adding elements in the wrong order.
15432
15433         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
15434         Some debug info,
15435
15436         * gst/gstpad.c: (gst_pad_dispose):
15437         Added some debug info first.
15438
15439 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
15440
15441         * docs/design/draft-push-pull.txt:
15442         * docs/design/part-events.txt:
15443         * docs/design/part-overview.txt:
15444         * docs/design/part-scheduling.txt:
15445           Replace all _pull_region() with _pull_range()
15446           
15447 2005-09-26  Andy Wingo  <wingo@pobox.com>
15448
15449         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
15450
15451         * check/gst-libs/controller.c: Update for controller api change.
15452
15453         * configure.ac: 
15454         * tests/Makefile.am:
15455         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
15456         over by GLib bug 118439.
15457         
15458         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
15459         routines to a function.
15460
15461         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
15462
15463         * libs/gst/controller/gsthelper.c:
15464         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
15465         (gst_object_sync_values): Renamed from sink_values. Ugh.
15466
15467         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
15468
15469         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
15470         Renamed from controller_key, as it is exported.
15471
15472         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
15473
15474 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
15475
15476         * gst/Makefile.am:
15477         * gst/gst.h:
15478         * gst/gstpad.h:
15479         * gst/gstpadtemplate.h:
15480         * gst/gstquery.c:
15481         * gst/gstquery.h:
15482         * gst/gstqueryutils.c:
15483         * gst/gstqueryutils.h:
15484           remove queryutils headers after moving the two used functions
15485           to gstquery.  also fixes build problem for gstsiddec
15486
15487 2005-09-26  Michael Smith <msmith@fluendo.com>
15488
15489         * tools/gst-launch.1.in:
15490         Correct documentation in manpage of debug syntax
15491
15492 2005-09-26  Wim Taymans  <wim@fluendo.com>
15493
15494         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
15495         (gst_base_src_is_seekable), (gst_base_src_change_state):
15496         Some more debugging info.
15497
15498 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15499
15500         * docs/gst/gstreamer-sections.txt:
15501         * gst/base/gstbasetransform.h:
15502         * gst/gstindex.h:
15503           added more docs
15504
15505 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15506
15507         * docs/gst/.cvsignore:
15508         * docs/gst/tmpl/.cvsignore:
15509         * docs/gst/tmpl/gstpipeline.sgml:
15510         * docs/gst/tmpl/gstplugin.sgml:
15511         * gst/gstpipeline.c:
15512         * gst/gstplugin.c:
15513         * gst/gstplugin.h:
15514           inlined the last two docs files
15515           removed the tmpl directory from cvs (no more conflicts here!)
15516
15517 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15518
15519         * docs/gst/gstreamer-sections.txt:
15520         * docs/gst/tmpl/.cvsignore:
15521         * docs/gst/tmpl/gstpad.sgml:
15522         * docs/gst/tmpl/gstpadtemplate.sgml:
15523         * gst/Makefile.am:
15524         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
15525         (gst_pad_finalize), (gst_pad_set_pad_template):
15526         * gst/gstpad.h:
15527         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
15528         (gst_pad_template_class_init), (gst_pad_template_init),
15529         (gst_pad_template_dispose), (name_is_valid),
15530         (gst_static_pad_template_get), (gst_pad_template_new),
15531         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
15532         (gst_pad_template_pad_created):
15533         * gst/gstpadtemplate.h:
15534           inlined two more docs
15535           factored gstpadtemplate out of gstpad
15536
15537 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
15538
15539         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15540         (test_children_state_change_order_semi_sink):
15541           Fix test case: we can't rely on a fixed state change order when
15542           going from READY => PAUSED because the sink might commit its 
15543           new state first when the first buffer created by the source 
15544           reaches the sink before the source has finished its change state.
15545           (Test case still fails at times, see #316856, comment 5 onwards)
15546
15547 2005-09-24  Wim Taymans  <wim@fluendo.com>
15548
15549         * docs/design/part-events.txt:
15550         * docs/design/part-gstbus.txt:
15551         * docs/design/part-gstpipeline.txt:
15552         * docs/design/part-messages.txt:
15553         * docs/design/part-overview.txt:
15554         * docs/design/part-segments.txt:
15555         * gst/gstbin.c:
15556         * gst/gstbuffer.c:
15557         * gst/gstclock.c:
15558         * gst/gstelement.c:
15559         * gst/gstevent.c:
15560         * gst/gstfilter.c:
15561         * gst/gstiterator.c:
15562         Various documentation updates.
15563
15564 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15565
15566         * gst/gstclock.h:
15567           Well, that's embarassing.  Luckily we weren't using
15568           GST_CLOCK_DIFF anywhere.
15569
15570 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15571
15572         * common/gtk-doc.mak:
15573           don't fail on building XML, FC4 slave shows a bunch of doc
15574           missing bits that I don't get
15575         * gst/gstpad.c:
15576         * gst/gstpipeline.c:
15577         * gst/gststructure.c:
15578           some doc updates
15579
15580 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
15581
15582         * docs/design/part-gstbin.txt:
15583         * docs/design/part-gstbus.txt:
15584         * gst/gstbus.c:
15585           Add blurb about how the bus goes into flushing mode and
15586           drops all messages when its bin goes from READY into NULL 
15587           state.
15588
15589 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15590
15591         * docs/gst/gstreamer-sections.txt:
15592         * gst/gststructure.c: (gst_structure_get_clock_time):
15593         * gst/gststructure.h:
15594           add a method to get a GstClockTime out of a structure
15595
15596 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
15597
15598         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15599         (test_children_state_change_order_semi_sink), (gst_bin_suite):
15600           Added test to check state change order in bins (can still be made
15601           to fail here under heavy disk load; bails out with 'Push on pad
15602           fakesink:sink0, but it was not activated in push mode').
15603
15604         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
15605           Fix state change order when there is only a semi sink (#316856)
15606
15607         * gst/gstbus.c: (gst_bus_class_init):
15608           Use _class_peek_parent(), not _class_ref(); fix docs to say
15609           'default main context' instead of 'mainloop' where that is
15610           what's meant.
15611
15612         * gst/gstelement.c: (gst_element_commit_state),
15613         (gst_element_set_state):
15614           Fix typos in debug messages
15615
15616 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15617
15618         * docs/README:
15619         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
15620         * gst/gstpluginfeature.c:
15621         * gst/gstutils.c:
15622           various doc updates
15623         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15624           change an assert into an error until it gets fixed properly
15625
15626 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
15627
15628         * docs/gst/gstreamer-sections.txt:
15629         * docs/gst/tmpl/.cvsignore:
15630         * docs/gst/tmpl/gstelement.sgml:
15631         * docs/gst/tmpl/gstinfo.sgml:
15632         * docs/gst/tmpl/gstobject.sgml:
15633         * gst/gstelement.c:
15634         * gst/gstelement.h:
15635         * gst/gstinfo.c:
15636         * gst/gstinfo.h:
15637         * gst/gstobject.c: (gst_object_class_init):
15638         * gst/gstobject.h:
15639           inlined 3 more biiiig doc files and added some missing docs on the fly
15640
15641 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15642
15643         * check/gst/.cvsignore:
15644         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
15645         * gst/gstregistryxml.c: (load_plugin),
15646         (gst_registry_xml_save_plugin):
15647           put back source in registry.  add checks for find_plugin.
15648         * testsuite/states/bin.c: (assert_state), (empty_bin),
15649         (test_adding_one_element), (main):
15650         * testsuite/states/locked.c: (main):
15651           some compile/run fixes
15652
15653 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15654
15655         * check/gst/gstvalue.c: (GST_START_TEST):
15656           fix leaks in the test itself
15657
15658 2005-09-22  Wim Taymans  <wim@fluendo.com>
15659
15660         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15661         (gst_base_sink_send_event), (gst_base_sink_peer_query),
15662         (gst_base_sink_query):
15663         Prepare for more accurate position reporting and query
15664         handling.
15665
15666         * gst/gstelement.c: (gst_element_send_event),
15667         (gst_element_set_state):
15668         Add some comment.
15669
15670 2005-09-22  Wim Taymans  <wim@fluendo.com>
15671
15672         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
15673         (gst_query_parse_segment):
15674         * gst/gstquery.h:
15675         More documentation.
15676         Add segment query for future use.
15677
15678 2005-09-22  Wim Taymans  <wim@fluendo.com>
15679
15680         * gst/gstbin.c: (gst_bin_add_func):
15681         Some more debug info.
15682
15683         * gst/gstelement.c: (gst_element_send_event):
15684         Simplify send_event
15685
15686         * gst/gstelement.h:
15687         Don't know how flags got broken.
15688
15689         * gst/gstquery.h:
15690         Added new query.
15691
15692 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
15693
15694         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
15695           Add simplistic test suite for GST_TYPE_DATE serialisation and
15696           deserialisation.
15697
15698 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
15699
15700         * docs/gst/gstreamer-sections.txt:
15701         * gst/gststructure.c: (gst_structure_set_valist),
15702         (gst_structure_get_date):
15703         * gst/gststructure.h:
15704         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
15705         (gst_date_copy), (gst_value_compare_date),
15706         (gst_value_serialize_date), (gst_value_deserialize_date),
15707         (gst_value_transform_date_string),
15708         (gst_value_transform_string_date), (_gst_value_initialize):
15709         * gst/gstvalue.h:
15710           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
15711           bunch of utility functions along with a hack that checks that
15712           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
15713           is required. Part of the grand scheme in #170777.
15714
15715 2005-09-22  Andy Wingo  <wingo@pobox.com>
15716
15717         * gst/gstconfig.h.in: Psych out gtk-doc.
15718
15719         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
15720
15721         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
15722
15723         * tools/gst-inspect.c (print_element_list): Plug some
15724         inconsequential leaks.
15725
15726         * gst/gstregistry.c (gst_registry_get_default): Doc.
15727
15728         * check/gst/gstplugin.c: 
15729         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
15730         * gst/gstelementfactory.c (gst_element_factory_create): 
15731         * gst/gstindexfactory.c (gst_index_factory_create): Update for
15732         refcount changes.
15733
15734         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
15735         (gst_plugin_feature_load): Doc, don't eat refs.
15736
15737         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
15738         (gst_plugin_list_free): Doc.
15739         (gst_plugin_load_file): Doc updates.
15740
15741         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
15742         accessors returning refcounted objects, return a ref.
15743
15744         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
15745         accessor for caps. IDEMPOTENCE. Oh yes.
15746
15747 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
15748
15749         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15750
15751         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15752         (_gst_debug_register_funcptr):
15753           Add mutex to serialise access to the hash table with
15754           the function pointer => function name string mapping;
15755           make that hash table static scope (#316809).
15756
15757         * gst/registries/.cvsignore:
15758           Remove left-over file.
15759
15760 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
15761
15762         * docs/pwg/appendix-porting.xml:
15763           And something about newsegment events and caps-on-buffers to
15764           the porting guide (feel free to improve).
15765
15766 2005-09-21  Andy Wingo  <wingo@pobox.com>
15767
15768         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
15769         data and event probes on the same pad.
15770         (test_buffer_probe_once): Test that removing probes from within
15771         the probe functions works.
15772
15773 2005-09-21  Andy Wingo  <wingo@pobox.com>
15774
15775         * check/gst/gstutils.c: New file.
15776         (test_buffer_probe_n_times): A simple buffer probe test. More to
15777         come, foolios.
15778
15779         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
15780         have-data::buffer, not have-data.
15781         (gst_pad_add_event_probe): Likewise for have-data::event.
15782         (gst_pad_add_data_probe): More docs. The part about 'resolving the
15783         peer' isn't quite right yet though.
15784         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
15785         (gst_pad_remove_data_probe): Change to take the guint handler_id
15786         as their arg, not the function+data, which is more glib-like.
15787
15788         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
15789         the signal emission to indicate if the data is a buffer or an
15790         event.
15791         (gst_pad_get_type): Initialize buffer and event quarks.
15792         (gst_pad_class_init): have-data is now a detailed signal, yes it
15793         is.
15794
15795 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
15796
15797         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
15798         * gst/gstutils.c: (gst_util_set_value_from_string),
15799         (gst_util_set_object_arg):
15800           Don't put functional code in g_return_if_fail() or
15801           g_return_val_if_fail() statements, otherwise things will 
15802           break when G_DISABLE_CHECKS is defined during compilation.
15803
15804 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15805
15806         * docs/gst/tmpl/.cvsignore:
15807         * docs/gst/tmpl/gstvalue.sgml:
15808         * gst/gstvalue.c:
15809         * gst/gstvalue.h:
15810           inlied another one and added  some obvious docs
15811
15812 2005-09-21  Wim Taymans  <wim@fluendo.com>
15813
15814         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
15815         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
15816         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
15817         (gst_fdsrc_get_property), (gst_fdsrc_create):
15818         * gst/elements/gstfdsrc.h:
15819         Properly implement fdsrc. Removed signal and timeout,
15820         better implemented somewhere else.
15821
15822 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15823
15824         * docs/gst/tmpl/.cvsignore:
15825         * docs/gst/tmpl/gstimplementsinterface.sgml:
15826         * gst/gstinterface.c:
15827           inlined more docs
15828
15829 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15830
15831         * docs/gst/gstreamer-sections.txt:
15832         * docs/gst/tmpl/.cvsignore:
15833         * docs/gst/tmpl/gstenumtypes.sgml:
15834           remove obsolete doc file
15835
15836 2005-09-21  David Schleef  <ds@schleef.org>
15837
15838         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
15839         little beer, fix a little leak.
15840
15841 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15842
15843         * docs/gst/gstreamer-docs.sgml:
15844         * docs/gst/gstreamer-sections.txt:
15845         * docs/gst/tmpl/.cvsignore:
15846         * gst/Makefile.am:
15847         * gst/gst.h:
15848         * gst/gstbin.c:
15849         * gst/gstelement.h:
15850         * gst/gstindex.c: (gst_index_class_init):
15851         * gst/gstindex.h:
15852         * gst/gstindexfactory.c: (gst_index_factory_get_type),
15853         (gst_index_factory_class_init), (gst_index_factory_init),
15854         (gst_index_factory_finalize), (gst_index_factory_new),
15855         (gst_index_factory_destroy), (gst_index_factory_find),
15856         (gst_index_factory_create), (gst_index_factory_make):
15857         * gst/gstindexfactory.h:
15858         * gst/gstpluginfeature.c:
15859         * gst/gstpluginfeature.h:
15860         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15861           more docs inlined, splitted gstindex.{c,h}
15862
15863 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15864
15865         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15866           fix a leak
15867
15868 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
15869
15870         * gst/elements/gstfilesink.c: (gst_file_sink_init):
15871           Set sync to FALSE by default.
15872
15873 2005-09-20  Wim Taymans  <wim@fluendo.com>
15874
15875         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15876         (gst_base_sink_init):
15877         Make sync property settable from subclass.
15878
15879         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
15880         (gst_fake_sink_change_state):
15881         Set sync to FALSE by default.
15882
15883 2005-09-20  Wim Taymans  <wim@fluendo.com>
15884
15885         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
15886         * tools/gst-launch.c: (main):
15887         The timeout handler should have lower priority than the source
15888         so we don't timeout before popping a message with 0 timeout.
15889         Dump error messages after failed state change.
15890
15891 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
15892
15893         * tools/gst-inspect.c: (print_element_properties_info):
15894           Fix two typos.
15895
15896 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15897
15898         * check/gst/gstevent.c:
15899         * gst/elements/gstfakesink.c:
15900         * gst/elements/gstfakesink.h:
15901           remove the sync property from fakesink.
15902           has the side effect of setting sync TRUE
15903           for fakesink, which is a change.  Anyone who knows how
15904           to fix this nicely in a GObject-y way, feel free.
15905
15906 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
15907
15908         * docs/gst/gstreamer-docs.sgml:
15909           remove probe refsection
15910
15911 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
15912
15913         * check/Makefile.am:
15914           disable valgrinding the controller test again
15915         * docs/gst/gstreamer-sections.txt:
15916           update for api-changes
15917
15918 2005-09-20  Wim Taymans  <wim@fluendo.com>
15919
15920         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15921         (gst_base_sink_set_property), (gst_base_sink_get_property),
15922         (gst_base_sink_do_sync):
15923         * gst/base/gstbasesink.h:
15924         Added sync property to basesink to disable clock sync.
15925
15926 2005-09-20  Andy Wingo  <wingo@pobox.com>
15927
15928         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
15929         eating the caller's refcount.
15930
15931         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
15932         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
15933         refcount.
15934
15935         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
15936         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
15937         of GLib 2.8 public, so we can know which refcount to check in
15938         tests.
15939
15940         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
15941         (gst_object_init): Only set the gst refcount if we're going ahead
15942         with the refcount hack.
15943
15944 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
15945
15946         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
15947         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15948           more leaks plumbed, added more debug-logging
15949         * gst/gstmacros.h:
15950           whitespace fix
15951
15952 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15953
15954         * gst/gstmessage.c:
15955           remove include of gstmemchunk.h
15956
15957 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15958
15959         * gst/gstclock.c: (_gst_clock_id_free):
15960           Commit from the Political Party For More Atomic CVS Commits,
15961           so that people don't waste too much of their day fishing
15962           out obvious leaks out of massive commits.
15963           Oh, and fix a pretty damn obvious leak in the memchunk
15964           removal code.
15965
15966 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
15967
15968         * check/Makefile.am:
15969         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
15970           plug mem-leak, re-add to valgrindable tests
15971
15972 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15973
15974         * gst/gstplugin.h:
15975           unbreak the build for those who have chronic arthritis
15976           and typing "make check" is just too taxing on the hands
15977
15978 2005-09-20  Andy Wingo  <wingo@pobox.com>
15979
15980         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
15981         really want it out, you should fix plugins at the same time.
15982
15983 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
15984
15985         * configure.ac:
15986         * docs/gst/gstreamer-sections.txt:
15987         * gst/gstobject.c:
15988           added missing symbols to api docs
15989           disable ref-count hack if we have glib >= 2.8
15990
15991 2005-09-19  David Schleef  <ds@schleef.org>
15992
15993         * docs/gst/Makefile.am: Ignore a few more internal headers
15994         * docs/gst/gstreamer-docs.sgml: Remove old sections
15995         * docs/gst/gstreamer-sections.txt: Remove old sections
15996         * docs/gst/tmpl/gstobject.sgml: update
15997         * docs/gst/tmpl/gstplugin.sgml: update
15998         * docs/gst/tmpl/gstpluginfeature.sgml: update
15999         * docs/random/ds/0.9-suggested-changes: update.
16000         * gst/Makefile.am: remove memchunk and trashstack, since they're
16001           not used.
16002         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
16003         * gst/gst.h: don't include some headers
16004         * gst/gstchildproxy.c: add gstmarshal.h
16005         * gst/gstclock.c: Don't use memchunks
16006         * gst/gstminiobject.c: Add some docs
16007         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
16008         * gst/gstobject.h: same
16009         * gst/gstplugin.c: include gstmacros.h
16010         * gst/gstplugin.h: don't include gstmacros.h, since it's private
16011         * gst/gstquery.c: don't use memchunks
16012         * gst/gstregistry.c: rename gst_registry_deinit()
16013         * gst/gstregistry.h: same
16014
16015 2005-09-19  David Schleef  <ds@schleef.org>
16016
16017         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
16018         * docs/libs/gstreamer-libs-sections.txt:
16019         * docs/libs/tmpl/gstgetbits.sgml:
16020         * docs/libs/tmpl/gstputbits.sgml:
16021
16022 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
16023
16024         * win32/gstenumtypes.c:
16025         * win32/gstenumtypes.h:
16026           Update.
16027
16028 2005-09-19  Wim Taymans  <wim@fluendo.com>
16029
16030         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
16031         Automatically PAUSE and RESUME a pipeline when a flushing seek
16032         is performed.
16033
16034 2005-09-19  Andy Wingo  <wingo@pobox.com>
16035
16036         * gst/gstregistry.h: Spacing fixen.
16037
16038 2005-09-19  Wim Taymans  <wim@fluendo.com>
16039
16040         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
16041         Handle state change failure more correctly.
16042
16043 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16044
16045         * check/Makefile.am:
16046         * check/pipelines/cleanup.c: (run_pipeline):
16047         * check/pipelines/simple_launch_lines.c: (run_pipeline),
16048         (GST_START_TEST):
16049           enable cleanup again after fixing the leak
16050         * docs/README:
16051           some more info on docs
16052
16053 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16054
16055         * check/Makefile.am:
16056           re-enable tests now that leaks are plugged
16057         * check/gst/gst.c:
16058         * check/gst/gstbin.c:
16059         * check/gst/gstpipeline.c:
16060           add some more tests while fixing leaks
16061         * common/check.mak:
16062           make sure binaries are uptodate when valgrinding/gdbing
16063         * gst/gst.c:
16064         * gst/gstelementfactory.c:
16065           remove a ref too many, and add a FIXME for when we get
16066           round to disposing of classes
16067         * gst/gstplugin.c:
16068           fix the refcounting when loading a plugin from a file and
16069           the code pretends that the pointer is the same even though
16070           of course it can change
16071         * gst/gstpluginfeature.c:
16072           unref plugins marked cached (a bit confusing as a name)
16073           as the docs state should be done
16074           various doc additions to explain refcounting
16075         * gst/gstregistry.c:
16076         * gst/gstregistryxml.c:
16077           debugging
16078
16079 2005-09-19  Wim Taymans  <wim@fluendo.com>
16080
16081         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16082         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
16083         (send_messages), (GST_START_TEST), (gstbus_suite):
16084         * check/gst/gstpipeline.c: (GST_START_TEST):
16085         * check/pipelines/cleanup.c: (run_pipeline):
16086         * check/pipelines/simple_launch_lines.c: (run_pipeline),
16087         (GST_START_TEST):
16088         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
16089         (gst_bus_source_check), (gst_bus_source_dispatch),
16090         (gst_bus_create_watch), (gst_bus_add_watch_full),
16091         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
16092         * gst/gstbus.h:
16093         * tools/gst-launch.c: (event_loop):
16094         * tools/gst-md5sum.c: (event_loop):
16095         GstBusHandler -> GstBusFunc, return value has the same meaning as
16096         any other GSource (FALSE == remove source).
16097         _add_watch() and _add_watch_full() now take a MessageType mask to
16098         only handle specific types of messages.
16099         _poll() returns the GstMessage instead of the message type to avoid
16100         race conditions.
16101         _have_pending() takes a MessageType mask now too.
16102         Added testsuite for multiple bus watches.
16103         Fix testsuites and applications for new bus API.
16104
16105 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16106
16107         * check/Makefile.am:
16108           mark a bunch of the tests as to fix until we fix them
16109
16110 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16111
16112         * common/check.mak:
16113           use GST_PLUGIN settings for valgrind tests as well, so we're
16114           valgrinding the correct thing
16115         * gst/gst.c: (init_post):
16116           plug another leak
16117
16118 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16119
16120         * gst/gst.c: (init_post), (gst_deinit):
16121         * gst/gstelementfactory.c: (gst_element_factory_class_init),
16122         (gst_element_factory_finalize), (gst_element_factory_cleanup):
16123         * gst/gstindex.c: (gst_index_factory_class_init),
16124         (gst_index_factory_finalize):
16125         * gst/gstobject.c: (gst_object_dispose):
16126         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16127         (gst_plugin_load_file), (gst_plugin_desc_free):
16128         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
16129         (gst_plugin_feature_finalize):
16130         * gst/gstregistry.c: (gst_registry_class_init),
16131         (gst_registry_init), (gst_registry_finalize),
16132         (gst_registry_get_default), (gst_registry_deinit):
16133         * gst/gstregistry.h:
16134         * gst/gstregistryxml.c: (load_feature), (load_plugin):
16135           various cleanups and memleak plugging.  make valgrind is happy now.
16136
16137 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16138
16139         * common/check.mak:
16140           add a check-valgrind target
16141
16142 2005-09-18  David Schleef  <ds@schleef.org>
16143
16144         * tools/gst-inspect.c: Revert the GOption code.
16145
16146 2005-09-17  David Schleef  <ds@schleef.org>
16147
16148         * check/Makefile.am: Fix environment variables.
16149         * check/gst/gstplugin.c: Fix for API changes.
16150         * tools/gst-inspect.c: Fix for API changes.
16151         * tools/gst-xmlinspect.c: Fix for API changes.
16152         * gst/gstelementfactory.c:
16153         * gst/gstplugin.c:
16154         * gst/gstplugin.h:
16155         * gst/gstpluginfeature.c:
16156         * gst/gstpluginfeature.h:
16157         * gst/gstregistry.c:
16158         * gst/gstregistry.h:
16159         * gst/gstregistryxml.c:
16160         * gst/gsttypefind.c:
16161         * gst/gsttypefindfactory.c:
16162         * gst/indexers/gstfileindex.c:
16163         * gst/indexers/gstmemindex.c:
16164         * gst/schedulers/Makefile.am:
16165           Change registry to keep track of both plugins and features,
16166           removing the feature tracking from plugins themselves.
16167
16168 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16169
16170         * check/Makefile.am:
16171         * tools/gst-register.1.in:
16172           remove gst-register
16173
16174 2005-09-15  David Schleef  <ds@schleef.org>
16175
16176         * check/gst/gstplugin.c:
16177         * gst/gstelementfactory.c:
16178         * gst/gstplugin.c:
16179         * gst/gstpluginfeature.c:
16180         * gst/gstregistry.c:
16181           Getting tired of debugging.  Disabled all the unreffing of
16182           plugins and features, which fixes the segfaults, but of
16183           course leaks like crazy.  At least playbin works.
16184
16185 2005-09-15  David Schleef  <ds@schleef.org>
16186
16187         * check/gst/gstplugin.c: (register_check_elements),
16188         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
16189         More testing
16190         * gst/elements/gsttypefindelement.c: Fix refcounting.
16191         * gst/gsttypefind.c:
16192         * gst/gsttypefindfactory.c:
16193         * gst/gsttypefindfactory.h:
16194
16195 2005-09-15  David Schleef  <ds@schleef.org>
16196
16197         * gst/gstindex.c: get refcounting correct.
16198         * gst/gstregistry.c: Handle the case where a feature/plugin is
16199           not found.
16200
16201 2005-09-15  David Schleef  <ds@schleef.org>
16202
16203         * check/Makefile.am:
16204         * check/gst/gstplugin.c: Add test
16205         * gst/gstplugin.c: Fix problems noticed by testsuite
16206         * gst/gstplugin.h:
16207         * gst/gstregistry.c: 
16208         * gst/gstregistry.h:
16209
16210 2005-09-15  David Schleef  <ds@schleef.org>
16211
16212         * gst/gstplugin.c: Implement semi-decent recounting and locking
16213           in plugins and plugin features.
16214         * gst/gstplugin.h:
16215         * gst/gstpluginfeature.c:
16216         * gst/gstpluginfeature.h:
16217         * gst/gstregistry.c:
16218
16219 2005-09-15  Michael Smith <msmith@fluendo.com>
16220
16221         * gst/gstregistry.c: (gst_registry_get_feature_list):
16222           Implement this. Makes oggdemux work; decodebin still broken.
16223
16224 2005-09-14  David Schleef  <ds@schleef.org>
16225
16226         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
16227           #316076)
16228         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
16229         * gst/check/Makefile.am:
16230         * libs/gst/controller/Makefile.am:
16231         * libs/gst/dataprotocol/Makefile.am:
16232
16233 2005-09-14  David Schleef  <ds@schleef.org>
16234
16235         * configure.ac: Remove getbits library.  Nothing uses it, and
16236           it should be in something like liboil if someone did want
16237           to use it.
16238         * libs/gst/Makefile.am:
16239         * libs/gst/getbits/Makefile.am:
16240         * libs/gst/getbits/gbtest.c:
16241         * libs/gst/getbits/getbits.c:
16242         * libs/gst/getbits/getbits.h:
16243         * libs/gst/getbits/gstgetbits_generic.c:
16244         * libs/gst/getbits/gstgetbits_i386.s:
16245         * libs/gst/getbits/gstgetbits_inl.h:
16246
16247 2005-09-14  David Schleef  <ds@schleef.org>
16248
16249         * gst/Makefile.am: Dist glib-compat.h
16250
16251 2005-09-14  David Schleef  <ds@schleef.org>
16252
16253         * configure.ac: Remove gst/registries, since it's no longer used.
16254         * gst/registries/Makefile.am:
16255         * gst/registries/gstlibxmlregistry.c:
16256         * gst/registries/gstlibxmlregistry.h:
16257         * gst/registries/gstxmlregistry.c:
16258         * gst/registries/gstxmlregistry.h:
16259         * gst/registries/registrytest.c:
16260
16261 2005-09-14  David Schleef  <ds@schleef.org>
16262
16263         * gst/glib-compat.h:
16264         * gst/gstregistryxml.c:
16265           Convergence is near.  Seriously.
16266
16267 2005-09-14  David Schleef  <ds@schleef.org>
16268
16269         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16270         * gst/glib-compat.h:
16271           Attempt #4 to appease the buildbots.
16272
16273 2005-09-14  David Schleef  <ds@schleef.org>
16274
16275         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16276           Attempt #3.
16277
16278 2005-09-14  David Schleef  <ds@schleef.org>
16279
16280         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16281         Attempt #2.
16282
16283 2005-09-14  David Schleef  <ds@schleef.org>
16284
16285         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
16286           the new functions.
16287
16288 2005-09-14  David Schleef  <ds@schleef.org>
16289
16290         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16291         * gst/glib-compat.h: Add some functions that are in newer versions
16292           of glib than we care to require.
16293         * gst/gstregistryxml.c: Use them.
16294
16295 2005-09-14  David Schleef  <ds@schleef.org>
16296
16297         * po/POTFILES.in: remove gst-register.c
16298
16299 2005-09-14  David Schleef  <ds@schleef.org>
16300
16301         * docs/gst/gstreamer-docs.sgml:
16302         * docs/gst/gstreamer-sections.txt:
16303         * docs/gst/gstreamer.types:
16304         * docs/gst/tmpl/gstelement.sgml:
16305         * docs/gst/tmpl/gstplugin.sgml:
16306         * docs/gst/tmpl/gstpluginfeature.sgml:
16307           Documentation updates for registry changes.
16308
16309 2005-09-14  David Schleef  <ds@schleef.org>
16310
16311         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
16312           because we don't require glib-2.8.
16313
16314 2005-09-14  David Schleef  <ds@schleef.org>
16315
16316         * gst/gstregistryxml.c: Added.  Essentially moved out of the
16317           registries directory.
16318
16319 2005-09-14  David Schleef  <ds@schleef.org>
16320
16321         * check/Makefile.am:
16322         * check/generic/states.c:
16323         * gst/Makefile.am:
16324         * gst/gst.c:
16325         * gst/gst.h:
16326         * gst/gst_private.h:
16327         * gst/gstelementfactory.c:
16328         * gst/gstindex.c:
16329         * gst/gstinfo.c:
16330         * gst/gstplugin.c:
16331         * gst/gstplugin.h:
16332         * gst/gstpluginfeature.c:
16333         * gst/gstpluginfeature.h:
16334         * gst/gstregistry.c:
16335         * gst/gstregistry.h:
16336         * gst/gstregistrypool.c: remove
16337         * gst/gstregistrypool.h: remove
16338         * gst/gsttypefind.c:
16339         * gst/gsttypefindfactory.c:
16340         * gst/gsturi.c:
16341         * tools/Makefile.am:
16342         * tools/gst-compprep.c:
16343         * tools/gst-inspect.c:
16344         * tools/gst-register.c: remove
16345         * tools/gst-xmlinspect.c:
16346           Registry rewrite.  Changes registry from being a file created
16347           by a tool into a simple cache file created automatically by 
16348           libgstreamer.  Removed gst-register (because it's no longer
16349           needed).  Remove registry pools, because we only have one
16350           registry implementation (XML).  Fix up other subsystems as
16351           necessary.
16352
16353 2005-09-13  Michael Smith <msmith@fluendo.com>
16354
16355         * gst/gstconfig.h.in:
16356           Don't Use windows linking attributes for MinGW. Fixes #316157
16357
16358 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16359
16360         * gst/gstutils.c: (set_state_async_thread_func),
16361         (gst_element_set_state_async):
16362           Apparently people think it's better if this function doesn't
16363           try to set the state to whatever state was asked for on the first
16364           call to this function for any object.  Seriously.
16365
16366 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16367
16368         * check/gst/gstpipeline.c: (GST_START_TEST):
16369         * docs/gst/gstreamer-sections.txt:
16370         * gst/gstutils.c: (set_state_async_thread_func),
16371         (gst_element_set_state_async):
16372         * gst/gstutils.h:
16373           add a "gst_element_set_state_async" method that
16374           sets the state and starts a thread to make sure the state
16375           change completes as best as it can
16376
16377 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16378
16379         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16380           codify design+behaviour in testsuite after discussion
16381
16382 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16383
16384         * docs/gst/tmpl/gstelement.sgml:
16385         * docs/manual/appendix-quotes.xml:
16386           add a quote
16387         * gst/gstelement.c: (gst_element_set_state):
16388           add some debug
16389
16390 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
16391
16392         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16393         (gst_base_transform_prepare_output_buf),
16394         (gst_base_transform_handle_buffer):
16395         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
16396         (gst_capsfilter_prepare_buf):
16397           Remove the requirement for sub-classes to call the parent
16398           implementation of prepare_output_buffer with a wrapper function.
16399           
16400         * gst/gsttaglist.h:
16401         * gst/gsttagsetter.h:
16402           Fix #define wrapper
16403
16404 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
16405
16406         * docs/gst/gstreamer-sections.txt:
16407           more doc cleanups
16408
16409 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16410
16411         * docs/gst/gstreamer-sections.txt:
16412         * docs/gst/tmpl/gstelement.sgml:
16413         * docs/gst/tmpl/gstplugin.sgml:
16414         * gst/gstminiobject.c:
16415         * gst/gstvalue.h:
16416           docs now stop throwing warnings
16417
16418 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16419
16420         * docs/gst/gstreamer-sections.txt:
16421         * docs/gst/gstreamer.types:
16422         * docs/gst/tmpl/gstpad.sgml:
16423         * docs/gst/tmpl/gsttypes.sgml:
16424         * gst/base/gstadapter.h:
16425         * gst/base/gstbasesink.h:
16426         * gst/base/gstbasesrc.h:
16427         * gst/gstbin.h:
16428         * gst/gstbuffer.h:
16429         * gst/gstbus.h:
16430         * gst/gstcaps.h:
16431         * gst/gstclock.h:
16432         * gst/gstelement.h:
16433         * gst/gstevent.h:
16434         * gst/gstmessage.h:
16435         * gst/gstpad.h:
16436         * gst/gststructure.c:
16437         * gst/registries/gstlibxmlregistry.h:
16438           various documentation fixes
16439
16440 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16441
16442         * docs/gst/gstreamer-sections.txt:
16443         * docs/gst/tmpl/gstvalue.sgml:
16444           rearrange gstvalue section
16445         * gst/gstutils.c: (gst_element_state_get_name):
16446           NONE -> VOID
16447         * gst/gstvalue.c: (_gst_value_initialize):
16448         * gst/gstvalue.h:
16449           doc updates
16450
16451 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
16452
16453         * check/gst-libs/controller.c:
16454           Header include fix.
16455         * gst/base/gstbasetransform.c:
16456         (gst_base_transform_default_prepare_buf),
16457         (gst_base_transform_handle_buffer):
16458         * gst/base/gstbasetransform.h:
16459           Some more basetransform changes and fixes to enable sub-classes
16460           that modify buffer metadata only.
16461         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
16462         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
16463         (gst_capsfilter_prepare_buf):
16464           If the output pad has fixed allowed caps and input buffers 
16465           don't have any, set the fixed caps on outgoing buffers.
16466
16467 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
16468         * check/elements/identity.c: (GST_START_TEST):
16469           Make the error a little clearer when the test fails because
16470           identity made a copy of the buffer.
16471         * docs/gst/gstreamer-sections.txt:
16472           New symbols in gstbasetransform.h
16473         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16474         (gst_base_transform_init), (gst_base_transform_transform_size),
16475         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16476         (gst_base_transform_default_prepare_buf),
16477         (gst_base_transform_get_unit_size),
16478         (gst_base_transform_buffer_alloc),
16479         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16480         (gst_base_transform_change_state),
16481         (gst_base_transform_set_passthrough),
16482         (gst_base_transform_set_in_place),
16483         (gst_base_transform_is_in_place):
16484         * gst/base/gstbasetransform.h:
16485           Change BaseTransform to separate in_place operate from same_caps
16486           output. in_place implies that the element can perform the transform
16487           on incoming buffers in-place, even if the caps on the output are
16488           different.
16489           Sub-class elements can now implement special buffer allocation
16490           methods for outgoing buffers if they wish to.
16491           Big documentation addition.
16492         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
16493         * gst/elements/gstelements.c:
16494           Changes for basetransform modifications.
16495         * gst/elements/Makefile.am:
16496         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
16497           Compile fix. Extra debug output.
16498
16499 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16500
16501         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
16502         (gst_pad_suite):
16503           add tests for valid pad naming
16504         * gst/check/gstcheck.c: (gst_check_log_message_func),
16505         (gst_check_log_critical_func):
16506           add ASSERT_WARNING
16507           remove printing of code, it is fragile when the code contains
16508           % and the line number is enough info
16509         * gst/check/gstcheck.h:
16510         * gst/gstpad.c: (gst_pad_template_new):
16511           fix memleaks
16512
16513 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16514
16515         * configure.ac:
16516           say what CHECK flags we use
16517         * docs/libs/gstreamer-libs.types:
16518         * libs/gst/controller/Makefile.am:
16519         * libs/gst/controller/gst-controller.c:
16520         * libs/gst/controller/gst-controller.h:
16521         * libs/gst/controller/gst-helper.c:
16522         * libs/gst/controller/gst-interpolation.c:
16523         * libs/gst/controller/gstcontroller.c:
16524         * libs/gst/controller/gsthelper.c:
16525         * libs/gst/controller/gstinterpolation.c:
16526         * tools/gst-inspect.c: (print_plugin_info):
16527           we don't use dashes in header names
16528
16529 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16530
16531         * check/Makefile.am:
16532         * check/gst/.cvsignore:
16533         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
16534         (gst_pipeline_suite), (main):
16535           adding a test for pipelines and state changes
16536         * gst/gstutils.c: (get_state_func):
16537           add some debugging
16538         * gstreamer.spec.in:
16539           fix up spec file
16540
16541 2005-09-08  Michael Smith <msmith@fluendo.com>
16542
16543         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
16544         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
16545         (gst_file_src_is_seekable), (gst_file_src_get_size),
16546         (gst_file_src_start):
16547         * gst/elements/gstfilesrc.h:
16548           Various fixes for unseekable, unmmapable, and non-normal files, so
16549           that fallback to read() rather than mmap() works.
16550         * gst/gstevent.c: (gst_event_new_newsegment):
16551           Allow newsegment events with segment_start == segment_end, as will
16552           correctly happen if you use filesrc on a zero-size file, for
16553           example.
16554
16555 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
16556
16557         * gst/gstplugin.c: (gst_plugin_load_file):
16558           Call g_module_close when we don't load the module
16559
16560         * gst/registries/gstlibxmlregistry.c:
16561         (gst_xml_registry_get_property):
16562           Port leak fix from 0.8
16563
16564 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
16565
16566         * docs/gst/gstreamer-docs.sgml:
16567         * docs/gst/tmpl/.cvsignore:
16568         * docs/gst/tmpl/gsttrace.sgml:
16569         * docs/gst/tmpl/gsttrashstack.sgml:
16570         * gst/Makefile.am:
16571         * gst/gst.h:
16572         * gst/gstelement.h:
16573         * gst/gstevent.h:
16574         * gst/gstmessage.c:
16575         * gst/gstmessage.h:
16576         * gst/gsttag.c:
16577         * gst/gsttag.h:
16578         * gst/gsttaginterface.c:
16579         * gst/gsttaginterface.h:
16580         * gst/gsttaglist.c:
16581         * gst/gsttaglist.h:
16582         * gst/gsttagsetter.c:
16583         * gst/gsttagsetter.h:
16584         * gst/gsttrace.c:
16585         * gst/gsttrace.h:
16586         * gst/gsttrashstack.c:
16587           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
16588           inlined docs for gsttrace, gsttrashstack
16589
16590 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
16591
16592         * gst/Makefile.am:
16593         * gst/elements/gstbufferstore.h:
16594         * gst/elements/gsttypefindelement.c:
16595         * gst/elements/gsttypefindelement.h:
16596         * gst/gst.h:
16597         * gst/gsttypefind.c:
16598         * gst/gsttypefind.h:
16599         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
16600         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
16601         (gst_type_find_factory_dispose),
16602         (gst_type_find_factory_unload_thyself),
16603         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
16604         (gst_type_find_factory_get_caps),
16605         (gst_type_find_factory_get_extensions),
16606         (gst_type_find_factory_call_function):
16607         * gst/gsttypefindfactory.h:
16608         * gst/registries/gstlibxmlregistry.c:
16609         * gst/registries/gstxmlregistry.c:
16610           splitted gsttypefind into gsttypefind, gsttypefindfactory
16611
16612 2005-09-07  Andy Wingo  <wingo@pobox.com>
16613
16614         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
16615         condition whereby the pad's task function is entered before the
16616         pad_mode variable was set.
16617
16618 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
16619
16620         * gst/gstpad.c: (gst_pad_alloc_buffer):
16621           Catch misbehaving pad_alloc functions that don't
16622           set up caps and do it for them.
16623
16624 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
16625
16626         * check/pipelines/simple_launch_lines.c: (run_pipeline):
16627           test for pipe!=NULL
16628         * docs/gst/tmpl/.cvsignore:
16629         * docs/gst/tmpl/gstmemchunk.sgml:
16630         * docs/gst/tmpl/gstparse.sgml:
16631         * docs/gst/tmpl/gsttaglist.sgml:
16632         * docs/gst/tmpl/gsttagsetter.sgml:
16633         * docs/gst/tmpl/gsttypefind.sgml:
16634         * docs/gst/tmpl/gsttypefindfactory.sgml:
16635         * gst/gstmemchunk.c:
16636         * gst/gstparse.c:
16637         * gst/gsttag.c:
16638         * gst/gsttaginterface.c:
16639         * gst/gsttypefind.c:
16640         * gst/gsttypefind.h:
16641           inlined more docs
16642
16643 === release 0.9.2 ===
16644
16645 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16646
16647         * NEWS:
16648         * RELEASE:
16649         * configure.ac:
16650           releasing 0.9.2, "South"
16651
16652 2005-09-05  Andy Wingo  <wingo@pobox.com>
16653
16654         * gst/registries/gstxmlregistry.h:
16655         * gst/registries/gstxmlregistry.c: Um... resurrect...
16656         
16657         * gst/registries/gstxmlregistry.h:
16658         * gst/registries/gstxmlregistry.c: and update to newer API.
16659         Incidentally they should be a bit faster now that they don't have
16660         to parse the caps.
16661         
16662 2005-09-05  Andy Wingo  <wingo@pobox.com>
16663
16664         * gst/registries/gstxmlregistry.h:
16665         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
16666         replaced by the libxml registry a while back
16667
16668 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16669
16670         * docs/gst/tmpl/gstplugin.sgml:
16671         * gst/elements/gstelements.c:
16672         * gst/gst.c:
16673         * gst/gstplugin.c: (gst_plugin_register_func),
16674         (gst_plugin_desc_copy), (gst_plugin_desc_free),
16675         (gst_plugin_get_source):
16676         * gst/gstplugin.h:
16677         * gst/registries/gstlibxmlregistry.c: (load_plugin),
16678         (gst_xml_registry_save_plugin):
16679         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
16680         (gst_xml_registry_save_plugin):
16681         * tools/gst-inspect.c: (print_plugin_info):
16682           add a "source" plugin description field, to represent the source
16683           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
16684           will set it to PACKAGE, which is automake's idea of the name of
16685           the source project.
16686
16687 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16688
16689         * Makefile.am:
16690         * autogen.sh:
16691         * configure.ac:
16692         * docs/Makefile.am:
16693         * docs/faq/Makefile.am:
16694         * docs/gst/tmpl/gstelement.sgml:
16695         * docs/gst/tmpl/gsttypes.sgml:
16696         * docs/htmlinstall.mak:
16697         * docs/manual/Makefile.am:
16698         * docs/pwg/Makefile.am:
16699           reorganize doc build a little
16700           split out docbook and gtk-doc stuff
16701           have two separate --enable's and enable them through autogen
16702           but disable by default in configure (to be similar to other
16703           projects)
16704         * gstreamer.spec.in:
16705           clean up docs install
16706         * po/af.po:
16707         * po/az.po:
16708         * po/ca.po:
16709         * po/cs.po:
16710         * po/de.po:
16711         * po/en_GB.po:
16712         * po/fr.po:
16713         * po/it.po:
16714         * po/nb.po:
16715         * po/nl.po:
16716         * po/ru.po:
16717         * po/sq.po:
16718         * po/sr.po:
16719         * po/sv.po:
16720         * po/tr.po:
16721         * po/uk.po:
16722         * po/vi.po:
16723           translation updates
16724
16725 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
16726
16727         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
16728           Add comment.
16729           
16730         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
16731         (gst_fake_sink_change_state):
16732           Make state change function thread-safe.
16733           
16734         * gst/gstpad.c: (gst_pad_alloc_buffer):
16735           Set offset on generic buffer allocated by fallback.
16736
16737 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
16738
16739         * docs/gst/gstreamer-sections.txt:
16740         * docs/gst/tmpl/gstelement.sgml:
16741         * gst/gstpad.c:
16742         * libs/gst/controller/gst-controller.c:
16743         (gst_controlled_property_set_interpolation_mode),
16744         (gst_controlled_property_new),
16745         (gst_controller_find_controlled_property):
16746          run the wingo-magic script against the docs
16747
16748 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
16749
16750         * docs/gst/gstreamer-docs.sgml:
16751         * docs/gst/gstreamer-sections.txt:
16752         * docs/gst/tmpl/.cvsignore:
16753         * docs/gst/tmpl/gstelementdetails.sgml:
16754         * docs/gst/tmpl/gstelementfactory.sgml:
16755         * gst/gst.c:
16756         * gst/gstbus.c:
16757         * gst/gstelementfactory.c:
16758         * gst/gstelementfactory.h:
16759           merged elementdetails docs into elementfactory docs
16760           inlined both
16761
16762 2005-09-02  Andy Wingo  <wingo@pobox.com>
16763
16764         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
16765         consider this enum an enum and not a flags.
16766
16767 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
16768
16769         * docs/gst/gstreamer-docs.sgml:
16770         * docs/gst/tmpl/.cvsignore:
16771         * docs/gst/tmpl/gstghostpad.sgml:
16772         * docs/gst/tmpl/gstiterator.sgml:
16773         * docs/gst/tmpl/gstmacros.sgml:
16774         * docs/gst/tmpl/gstrealpad.sgml:
16775         * docs/gst/tmpl/gstregistry.sgml:
16776         * docs/gst/tmpl/gstregistrypool.sgml:
16777         * docs/gst/tmpl/gststructure.sgml:
16778         * docs/gst/tmpl/gstsystemclock.sgml:
16779         * docs/gst/tmpl/gsttrace.sgml:
16780         * gst/gstghostpad.c:
16781         * gst/gstmacros.h:
16782         * gst/gstmemchunk.c:
16783         * gst/gstmemchunk.h:
16784         * gst/gstqueue.c:
16785         * gst/gstregistry.c:
16786         * gst/gstregistrypool.c:
16787         * gst/gststructure.c:
16788         * gst/gstsystemclock.c:
16789           more docs inlined
16790
16791 2005-09-02  Andy Wingo  <wingo@pobox.com>
16792
16793         * gst/gstelement.h (GstState): Renamed from GstElementState,
16794         changed to be a normal enum instead of flags.
16795         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
16796         munged to be GST_STATE_CHANGE_*.
16797         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
16798         work with the new state representation.
16799         (GstStateChange): New enumeration of possible state transitions.
16800         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
16801         (GstElementClass::change_state): Pass the GstStateChange along as
16802         an argument. Helps language bindings, so they don't have to use
16803         tricky lock-needing macros like GST_STATE_CHANGE ().
16804
16805         * scripts/update-states (file): New script. Run it on a file to
16806         update it for state naming and API changes. Updates files in
16807         place.
16808
16809         * All files updated for the new API.
16810
16811 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16812
16813         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
16814         * gst/gstutils.c: (gst_util_set_value_from_string),
16815         (gst_util_set_object_arg):
16816           fix a bunch of unchecked return values
16817         * tools/gst-complete.c: (main):
16818         * gstreamer.spec.in:
16819           clean up a little
16820
16821 2005-09-01  Wim Taymans  <wim@fluendo.com>
16822
16823         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16824         (gst_base_sink_event), (gst_base_sink_do_sync),
16825         (gst_base_sink_handle_event):
16826         * gst/base/gstbasesink.h:
16827         Handle newsegments more correctly.
16828
16829         * gst/gstbus.c:
16830         Fix docs.
16831
16832         * gst/gstevent.c: (gst_event_new_newsegment):
16833         A newsegment cannot have a start_time of -1
16834
16835 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
16836
16837         * win32/gstenumtypes.c:
16838         * win32/gstenumtypes.h:
16839           Update
16840
16841 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
16842
16843         * libs/gst/controller/gst-controller.c:
16844         (gst_controlled_property_set_interpolation_mode),
16845         (gst_controlled_property_new):
16846          fixed boolean again
16847
16848 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
16849
16850         * docs/faq/gst-uninstalled:
16851           add -good
16852         * gst/gstevent.c:
16853         * gst/gstevent.h:
16854           remove wrong docs
16855         * gst/gstutils.c: (gst_element_link_filtered):
16856         * gst/gstutils.h:
16857           add gst_element_link_filtered
16858
16859 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
16860
16861         * docs/gst/gstreamer-docs.sgml:
16862         * docs/gst/gstreamer-sections.txt:
16863         * docs/gst/tmpl/.cvsignore:
16864         * docs/gst/tmpl/gsterror.sgml:
16865         * docs/gst/tmpl/gstfilter.sgml:
16866         * docs/gst/tmpl/gsturihandler.sgml:
16867         * docs/gst/tmpl/gsturitype.sgml:
16868         * docs/gst/tmpl/gstutils.sgml:
16869         * docs/gst/tmpl/gstxml.sgml:
16870         * gst/gsterror.c:
16871         * gst/gsterror.h:
16872         * gst/gstfilter.c:
16873         * gst/gsturi.c:
16874         * gst/gsturitype.c:
16875         * gst/gstutils.c:
16876         * gst/gstxml.c:
16877           inlined more docs, fixed double id-ref
16878
16879 2005-08-31  Wim Taymans  <wim@fluendo.com>
16880
16881         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16882         (gst_base_transform_handle_buffer):
16883         Passthrough elements don't need the caps as they don't care.
16884
16885 2005-08-31  Wim Taymans  <wim@fluendo.com>
16886
16887         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16888         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
16889         Don't leak refcounts on buffers.
16890
16891 2005-08-31  Wim Taymans  <wim@fluendo.com>
16892
16893         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
16894         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
16895         (gst_base_transform_chain), (gst_base_transform_change_state):
16896         * gst/base/gstbasetransform.h:
16897         Handle the case where we are not negotiated more gracefully.
16898
16899 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
16900
16901         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
16902         (gst_file_src_map_region):
16903           Set READONLY flag on mmap'ed buffers, otherwise
16904           gst_buffer_make_writable() won't work properly (#314708).
16905
16906 2005-08-31  Wim Taymans  <wim@fluendo.com>
16907
16908         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
16909         passthrough elements can even do inplace on non writable
16910         buffers (as they don't touch them).
16911
16912 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
16913
16914         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
16915         (gst_test_mono_source_set_property),
16916         (gst_test_mono_source_class_init), (GST_START_TEST),
16917         (gst_controller_suite):
16918           more tests (hehe I have the most)
16919         * gst/gstbus.c:
16920           describe popping messages whenusing mulltiple sources
16921         * libs/gst/controller/gst-controller.c:
16922         (gst_controlled_property_set_interpolation_mode),
16923         (gst_controlled_property_new):
16924         * libs/gst/controller/gst-controller.h:
16925         * libs/gst/controller/gst-interpolation.c:
16926           implement boolean properties
16927
16928 2005-08-31  Wim Taymans  <wim@fluendo.com>
16929
16930         * gst/gstminiobject.c: (gst_mini_object_ref):
16931         Cannot assert that the refcount has to be positive
16932         since a disposed object can be resurrected.
16933
16934 2005-08-31  Wim Taymans  <wim@fluendo.com>
16935
16936         * gst/gstpad.c: (gst_pad_init):
16937         Revert change, need to first fix badly behaving 
16938         apps.
16939
16940 2005-08-30  Wim Taymans  <wim@fluendo.com>
16941
16942         * check/elements/fakesrc.c: (setup_fakesrc):
16943         * check/elements/identity.c: (setup_identity):
16944         Activate pads before using them.
16945
16946 2005-08-30  Wim Taymans  <wim@fluendo.com>
16947
16948         * gst/base/gstadapter.c: (gst_adapter_flush):
16949         Flushing out 0 bytes is ok for this function.
16950
16951         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16952         no newsegment gives a warning and sets the start/stop to 
16953         invalid.
16954
16955         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
16956         (gst_base_transform_set_passthrough):
16957         Some debug info.
16958
16959         * gst/gstminiobject.c: (gst_mini_object_ref):
16960         Check refcount here too.
16961
16962         * gst/gstpad.c: (gst_pad_init):
16963         Pads are initially flushing and refusing data.
16964
16965         * gst/gstutils.c: (gst_element_link_pads_filtered):
16966         When adding a capsfilter element make sure it has the
16967         same state as the parent bin.
16968
16969 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
16970
16971         * docs/gst/tmpl/.cvsignore:
16972         * docs/gst/tmpl/gstformat.sgml:
16973         * docs/gst/tmpl/gstversion.sgml:
16974         * gst/gstbus.h:
16975         * gst/gstformat.c:
16976         * gst/gstformat.h:
16977         * gst/gstversion.h.in:
16978           more docs and two more inlined
16979
16980 2005-08-30  Wim Taymans  <wim@fluendo.com>
16981
16982         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
16983         Don't sync to clock.
16984
16985 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
16986
16987         * docs/gst/gstreamer-sections.txt:
16988           ultral33t func10ns deserve to appear in the docs actually
16989         * docs/gst/tmpl/.cvsignore:
16990         * docs/gst/tmpl/gstcompat.sgml:
16991         * docs/gst/tmpl/gstconfig.sgml:
16992         * gst/check/gstcheck.c:
16993         * gst/gstcompat.h:
16994         * gst/gstconfig.h.in:
16995           inlined more docs
16996
16997 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
16998
16999         * docs/gst/tmpl/.cvsignore:
17000         * docs/gst/tmpl/gstquery.sgml:
17001         * docs/gst/tmpl/gstutils.sgml:
17002         * gst/gstquery.c:
17003         * gst/gstquery.h:
17004           inlined and extended docs
17005
17006 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
17007
17008         * check/gst-libs/controller.c: (GST_START_TEST),
17009         (gst_controller_suite):
17010           more tests
17011         * docs/gst/tmpl/gstutils.sgml:
17012         * docs/libs/gstreamer-libs-sections.txt:
17013         * docs/libs/tmpl/gstdataprotocol.sgml:
17014           include path fixes
17015         * examples/controller/audio-example.c: (main):
17016           controller example works now
17017         * gst/gstclock.h:
17018           doc fixes
17019         * tools/gst-inspect.c: (print_element_properties_info):
17020           show param spec flags
17021
17022 2005-08-29  Andy Wingo  <wingo@pobox.com>
17023
17024         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
17025
17026 2005-08-28  Andy Wingo  <wingo@pobox.com>
17027
17028         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
17029         as having two arguments instead of just one. Allows superclasses
17030         to access information on subclasses -- see the terrible for() loop
17031         in gtype.c:g_type_create_instance for the reason why. All callers
17032         changed.
17033
17034 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
17035
17036         * docs/design/part-messages.txt:
17037           update info
17038         * docs/gst/tmpl/.cvsignore:
17039         * docs/gst/tmpl/gstcaps.sgml:
17040         * docs/gst/tmpl/gstclock.sgml:
17041         * gst/gstbus.c:
17042         * gst/gstcaps.c:
17043         * gst/gstcaps.h:
17044         * gst/gstclock.c:
17045         * gst/gstclock.h:
17046         * gst/gstmessage.c:
17047           added descriptions for bus and message
17048           inline caps and clock docs
17049
17050 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
17051
17052         * gst/gstmessage.c:
17053         * gst/gstmessage.h:
17054           doc fixes
17055
17056 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
17057
17058         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
17059           fix div-by-zero
17060
17061 2005-08-26  Andy Wingo  <wingo@pobox.com>
17062
17063         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
17064         element_set_state's return val.
17065         (test_2_elements): Add test that's been disabled for months.
17066
17067         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
17068         can-activate-pull properties.
17069
17070         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
17071         can-activate-pull properties. Implement is_seekable so fakesrc can
17072         operate in pull mode.
17073
17074         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
17075         properties.
17076         (gst_base_sink_activate, gst_base_sink_activate_pull)
17077         (gst_base_sink_activate_push): Make activation mode choosing work.
17078         Cleanups.
17079         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
17080         is right. Make pull mode work. Post an eos before pausing in pull
17081         mode.
17082         (gst_base_sink_change_state): Pay attention to the core's
17083         change_state() return val.
17084         
17085         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
17086         has-getrange properties. Cleanups.
17087         
17088         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
17089         has_getrange and replace with can_activate_pull and
17090         can_activate_push.
17091
17092         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
17093         locking comments. Remove has_loop, has_chain and replace with
17094         can_activate_pull and can_activate_push.
17095
17096 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
17097
17098         * configure.ac:
17099         * examples/Makefile.am:
17100         * examples/metadata/Makefile.am:
17101         * examples/metadata/read-metadata.c: (message_loop),
17102         (have_pad_handler), (make_pipeline), (print_tag), (main):
17103           Add metadata reading example that loops over a list of filenames,
17104           dumping any tags found.
17105
17106         * gst/gstbus.c: (gst_bus_dispose):
17107         * gst/gstelement.c: (gst_element_dispose):
17108           Release a few potentially-held references in dispose.
17109
17110 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
17111
17112         * docs/gst/tmpl/gstminiobject.sgml:
17113           do *not* add tmpl/*.sgml files to CVS!
17114
17115 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
17116
17117         * libs/gst/bytestream/.cvsignore:
17118         * libs/gst/bytestream/Makefile.am:
17119         * libs/gst/bytestream/adapter.c:
17120         * libs/gst/bytestream/adapter.h:
17121         * libs/gst/bytestream/bytestream.c:
17122         * libs/gst/bytestream/bytestream.h:
17123         * libs/gst/bytestream/filepad.c:
17124         * libs/gst/bytestream/filepad.h:
17125           removing obsolete files
17126
17127 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
17128
17129         * docs/gst/gstreamer-docs.sgml:
17130         * docs/libs/gstreamer-libs-docs.sgml:
17131           disabed additional index entries again, as this makes docs-gen just
17132           slow and they aren't useful yet
17133         * docs/libs/gstreamer-libs-sections.txt:
17134           little -section.txt cleanup for libs
17135
17136 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
17137
17138         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17139         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
17140           fix up some debugging
17141         (gst_base_transform_get_unit_size),
17142         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
17143         (gst_base_transform_handle_buffer):
17144         * gst/base/gstbasetransform.h:
17145           handle and store timed NEWSEGMENT events so that subclasses that
17146           calculate time by counting samples have a segment_start time they
17147           need to add to their timestamps - see audioresample
17148
17149 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
17150
17151         * gst/gstbin.h:
17152           removed ';' from the end of macro defs
17153         * docs/gst/gstreamer-docs.sgml:
17154         * docs/gst/gstreamer-sections.txt:
17155         * docs/gst/tmpl/.cvsignore:
17156         * gst/gstbus.h:
17157         * gst/gstelement.c: (gst_element_class_init),
17158         (gst_element_set_state), (activate_pads),
17159         (gst_element_save_thyself):
17160         * gst/gstevent.c: (gst_event_new_newsegment):
17161         * gst/gstevent.h:
17162         * gst/gstiterator.c:
17163         * gst/gstiterator.h:
17164         * gst/gstpad.c:
17165         * gst/gstprobe.h:
17166         * gst/gstutils.c: (gst_pad_query_convert):
17167         * gst/gstutils.h:
17168           fixed parameter name mismatches between source, header and docs
17169           added some more docs, resolved the last batch of unused elements in
17170           docs (now someone needs to doc them)
17171
17172 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
17173
17174         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
17175         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
17176           don't walk through the plugins backwards.  Where is all this
17177           reversed logic coming from ?
17178
17179 2005-08-25  Wim Taymans  <wim@fluendo.com>
17180
17181         * gst/base/gstbasetransform.c: (gst_base_transform_init),
17182         (gst_base_transform_transform_size),
17183         (gst_base_transform_configure_caps),
17184         (gst_base_transform_get_unit_size),
17185         (gst_base_transform_buffer_alloc),
17186         (gst_base_transform_change_state):
17187         * gst/base/gstbasetransform.h:
17188         Cache caps unit_size.
17189         Make sure we cannot negotiate up and downstream at the
17190         same time.
17191
17192 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
17193
17194         * gst/gst.c: (init_pre), (init_post):
17195           register the installed plugin path after the env var
17196         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
17197         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
17198           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
17199           directories, so the tests can prefer uninstalled over installed
17200
17201 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
17202
17203         * gst/base/gstbasetransform.h:
17204           comment
17205         * gst/gstpad.c:
17206           add to docs
17207
17208 2005-08-25  Wim Taymans  <wim@fluendo.com>
17209
17210         * gst/gstbin.c: (bin_bus_handler):
17211         Be a bit more conservative about the posted message.
17212         
17213         * gst/gstbus.c: (gst_bus_post):
17214         Some cleanups, warn wrong return values.
17215
17216 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
17217
17218         * check/gst/gstbin.c: (GST_START_TEST):
17219         * gst/gstbin.c: (bin_bus_handler):
17220         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17221         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17222         (gst_message_new_warning), (gst_message_new_tag),
17223         (gst_message_new_state_changed), (gst_message_new_segment_start),
17224         (gst_message_new_segment_done), (gst_message_new_custom):
17225         * gst/gstmessage.h:
17226         * tools/gst-launch.c: (event_loop):
17227         * tools/gst-md5sum.c: (event_loop):
17228           Revert unpopular change for GST_MESSAGE_SRC to GObject.
17229
17230 2005-08-25  Wim Taymans  <wim@fluendo.com>
17231
17232         * check/generic/states.c: (GST_START_TEST):
17233         Cleanup can be done at the end.
17234
17235         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
17236         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17237         (gst_task_get_state), (gst_task_start), (gst_task_pause):
17238         Oh boy.. Thanks for finding this, Thomas. 
17239
17240 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
17241
17242         * docs/gst/gstreamer.types:
17243           added missing types
17244
17245 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
17246
17247         * docs/gst/gstreamer-docs.sgml:
17248         * docs/gst/gstreamer-sections.txt:
17249         * docs/gst/tmpl/.cvsignore:
17250         * gst/gstbin.c:
17251         * gst/gstiterator.c:
17252         * gst/gstutils.c:
17253         * gst/registries/gstxmlregistry.h:
17254           added missing classes and symbols (123 more to go)
17255           removed removed symbols from section file
17256           fixed many doc-comments
17257
17258 2005-08-24  Wim Taymans  <wim@fluendo.com>
17259
17260         * check/generic/states.c: (GST_START_TEST):
17261         Make sure all tasks are stopped.
17262
17263         * check/gst/gstbin.c: (GST_START_TEST):
17264         Unref after usage for proper valgrinding.
17265
17266         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
17267         Really wait for the task to stop before destroying the
17268         mutex.
17269
17270         * gst/gstqueue.c: (gst_queue_sink_activate_push),
17271         (gst_queue_src_activate_push):
17272         Small cleanups. Don't stop the task when we did not start
17273         it.
17274
17275         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
17276         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17277         (gst_task_get_state), (gst_task_start), (gst_task_pause),
17278         (gst_task_join):
17279         * gst/gsttask.h:
17280         Protect the stream lock with the object lock.
17281         Disallow setting the stream lock when running.
17282         Add cleanup_all to wait for the threadpool to finish.
17283         Remove code to autoallocate a mutex if none was provided.
17284         Add _join() to wait for a task to stop.
17285         Protect the thread pool with a global lock.
17286
17287 2005-08-24  Wim Taymans  <wim@fluendo.com>
17288
17289         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17290         (gst_base_sink_get_times), (gst_base_sink_do_sync),
17291         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
17292         * gst/base/gstbasesink.h:
17293         Handle newsegment events correctly.
17294         Drop buffers out of the segment range.
17295
17296 2005-08-22  Andy Wingo  <wingo@pobox.com>
17297
17298         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
17299         macro, implements an interface and gstimplementsinterface for a
17300         new type.
17301
17302 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17303
17304         * check/Makefile.am:
17305         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
17306           add a test that does a bunch of state changes on elements
17307           needs some fixing for valgrind
17308         * check/states/sinks.c: (gst_object_suite):
17309           whitespace
17310         * gst/gstcaps.h:
17311           add prototype for gst_caps_is_equal_fixed
17312         * gst/gstplugin.c:
17313         * gst/gstregistrypool.c:
17314           doc fixes
17315
17316 2005-08-24  Andy Wingo  <wingo@pobox.com>
17317
17318         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
17319         convert a negative value. Doesn't make much sense. Mostly this is
17320         here to force callers to ensure -1 maps to -1.
17321
17322 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
17323
17324         * docs/pwg/advanced-types.xml:
17325           Well done to Michael for catching my deliberate introduction
17326           of this spelling mistake. 
17327         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
17328         * gst/gstelement.h:
17329           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
17330           unlink pads before removing the element from the bin.
17331
17332 2005-08-24  Andy Wingo  <wingo@pobox.com>
17333
17334         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
17335         the same thing as GST_DEBUG=*:4.
17336         (parse_debug_level, parse_debug_category): New helper parsers.
17337
17338 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17339
17340         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17341         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
17342         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
17343         (gst_base_transform_buffer_alloc),
17344         (gst_base_transform_handle_buffer):
17345           use gboolean return values and pointers to size so we can use the
17346           full GST_BUFFER_SIZE range (guint) for buffer sizes
17347           use GstPadDirection for transform_caps
17348         * gst/base/gstbasetransform.h:
17349           rename get_size to get_unit_size since that's what it is
17350         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
17351           use GstPadDirection for transform_caps
17352         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17353         * gst/gstutils.h:
17354           cleanup and debugging
17355
17356 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
17357
17358         * gst/gstelement.c: (gst_element_class_init),
17359         (gst_element_set_state), (activate_pads),
17360         (gst_element_save_thyself):
17361         * tools/gst-compprep.c: (main):
17362         * tools/gst-inspect.c: (print_element_properties_info):
17363         * tools/gst-xmlinspect.c: (print_element_properties):
17364           Fixed long standing mem-leak
17365
17366 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
17367
17368         * check/gst/gstbin.c: (GST_START_TEST):
17369         * gst/gstbin.c: (bin_bus_handler):
17370         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17371         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17372         (gst_message_new_warning), (gst_message_new_tag),
17373         (gst_message_new_state_changed), (gst_message_new_segment_start),
17374         (gst_message_new_segment_done), (gst_message_new_custom):
17375         * gst/gstmessage.h:
17376         * tools/gst-launch.c: (event_loop):
17377         * tools/gst-md5sum.c: (event_loop):
17378           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
17379           that applications can sensibly post custom messages with references
17380           to their own objects.
17381
17382 2005-08-24  Andy Wingo  <wingo@pobox.com>
17383
17384         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
17385         already.
17386
17387 2005-08-24  Wim Taymans  <wim@fluendo.com>
17388
17389         * gst/base/gstbasetransform.c: (gst_base_transform_init),
17390         (gst_base_transform_transform_caps),
17391         (gst_base_transform_transform_size),
17392         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
17393         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
17394         (gst_base_transform_handle_buffer):
17395         * gst/base/gstbasetransform.h:
17396         Many fixes and new features added by Thomas. Can now also do
17397         transforms with variable sizes and a custom fixate_caps function.
17398
17399 2005-08-24  Wim Taymans  <wim@fluendo.com>
17400
17401         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17402         Some debugging.
17403
17404         * gst/gstclock.h:
17405         Cast to ClockTime before formatting to time.
17406
17407         * gst/gstutils.h:
17408         Cleanups.
17409
17410 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
17411
17412         * check/gst-libs/controller.c: (GST_START_TEST),
17413         (gst_controller_suite):
17414         * docs/gst/tmpl/gstcaps.sgml:
17415         * docs/gst/tmpl/gstghostpad.sgml:
17416         * docs/gst/tmpl/gstquery.sgml:
17417         * docs/gst/tmpl/gstutils.sgml:
17418         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
17419         (gst_object_sink_values), (gst_object_get_value_arrays),
17420         (gst_object_get_value_array):
17421           gracefully handle helper method calls to objects that are not beeing
17422           controlled, added test case for that          
17423
17424 2005-08-23  Wim Taymans  <wim@fluendo.com>
17425
17426         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
17427         (gst_event_new_newsegment), (gst_event_parse_newsegment),
17428         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
17429         (gst_event_parse_qos), (gst_event_new_seek),
17430         (gst_event_parse_seek):
17431         * gst/gstevent.h:
17432         Some more debugging output and doc cleanups.
17433
17434         * gst/gstqueue.c: (gst_queue_handle_sink_event):
17435         Fix possible deadlock.
17436
17437 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17438
17439         * docs/gst/gstreamer-docs.sgml:
17440         * docs/gst/gstreamer-sections.txt:
17441         * docs/gst/gstreamer.types:
17442         * docs/gst/tmpl/.cvsignore:
17443         * gst/gstbin.h:
17444         * gst/gstbus.c:
17445         * gst/gstelement.c:
17446         * gst/gstevent.h:
17447           added 100 symbols from gstreamer-unused.txt to the right sections
17448           fixed more broken comments
17449           added GstBus to docs
17450
17451 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17452
17453         * docs/gst/gstreamer-sections.txt:
17454         * docs/gst/tmpl/.cvsignore:
17455         * docs/gst/tmpl/gstbin.sgml:
17456         * docs/gst/tmpl/gstbuffer.sgml:
17457         * gst/base/gstbasesrc.c:
17458         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
17459         * gst/gstbuffer.c:
17460         * gst/gstbuffer.h:
17461         * tools/gst-launch.1.in:
17462           inlined more doc comments, added missing comments and fixed comments
17463           fixed typos
17464
17465 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17466
17467         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17468           some debugging
17469         * gst/gstcaps.h:
17470           whitespace fixes
17471         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
17472           more debugging
17473         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
17474         * gst/gststructure.h:
17475           add a fixate function for booleans; add a FIXME that these func
17476           names should probably be gst_structure_fixate_*
17477
17478 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17479
17480         * docs/gst/gstreamer-docs.sgml:
17481         * docs/gst/gstreamer-sections.txt:
17482         * gst/Makefile.am:
17483         * gst/gstbin.c: (gst_bin_get_type),
17484         (gst_bin_child_proxy_get_child_by_index),
17485         (gst_bin_child_proxy_get_children_count),
17486         (gst_bin_child_proxy_init):
17487         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17488         (gst_child_proxy_get_child_by_index),
17489         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
17490         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
17491         (gst_child_proxy_get), (gst_child_proxy_set_property),
17492         (gst_child_proxy_set_valist), (gst_child_proxy_set),
17493         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
17494         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
17495         * gst/gstchildproxy.h:
17496         * gst/parse/grammar.y:
17497         * tools/gst-inspect.c: (print_interfaces),
17498         (print_element_properties_info), (print_element_info):
17499           ported gstchildproxy over from 0.8
17500           ported gst-inspect fixes and enhancements over from 0.8
17501
17502 2005-08-22  Wim Taymans  <wim@fluendo.com>
17503
17504         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17505         (gst_base_transform_handle_buffer):
17506         Also call the transform function if we have ANY caps.
17507
17508         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
17509         Fix debug info.
17510
17511 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
17512
17513         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
17514           Don't pretend to handle seek events if the source is not seekable
17515
17516 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
17517
17518         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17519           Remove extra parameter to debug output
17520
17521         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17522         (gst_base_src_do_seek), (gst_base_src_activate_push):
17523           Fix seek event handling.
17524
17525         * gst/gstpipeline.c: (gst_pipeline_change_state):
17526         * gst/gstqueue.c: (gst_queue_handle_sink_event),
17527         (gst_queue_src_activate_push):
17528           Don't start the src pad task on FLUSH_STOP if the pad
17529           isn't linked.
17530           Debug changes.
17531
17532 2005-08-22  Wim Taymans  <wim@fluendo.com>
17533
17534         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
17535         Added check for gst_static_caps_get() refcounting.
17536
17537 2005-08-22  Wim Taymans  <wim@fluendo.com>
17538
17539         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
17540         Make _static_caps_get() refcounting sane.
17541         
17542         * gst/gstelement.c: (gst_element_set_state):
17543         Add g_return_val_if_fail() to protect against segfaults.
17544
17545 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
17546
17547         * docs/gst/tmpl/gstevent.sgml:
17548         * gst/gstevent.c:
17549         * gst/gstevent.h:
17550           inlined remaining docs, added missing doc comments
17551
17552 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17553
17554         * check/gst/gstbin.c: (GST_START_TEST):
17555           since we don't know when preroll is done, use refcount range
17556           check for the sink
17557         * gst/check/gstcheck.h:
17558           add macro for checking refcount range
17559
17560 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17561
17562         * check/Makefile.am:
17563           clean up environment for when registry gets built versus
17564           when actual tests are run; valgrind seems to not report
17565           leaks if GST_PLUGIN_PATH is set to some specific values
17566         * check/gst/gstbin.c: (GST_START_TEST):
17567           add more refcounting checks; maybe this exposes a
17568           preroll lock bug ?
17569         * common/check.mak:
17570         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17571         * gst/check/gstcheck.h:
17572         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
17573         (gst_bin_change_state):
17574         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
17575           add/fix debugging/whitespace
17576
17577 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
17578
17579         * check/gst/gstevent.c: (event_probe), (test_event),
17580         (GST_START_TEST):
17581          Er, don't call gst_bin_watch_for_state_change you idiot.
17582
17583 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
17584
17585         * check/Makefile.am:
17586           Use CHECK_CFLAGS and CHECK_LIBS
17587         * check/gst/gstevent.c: (event_probe), (test_event),
17588         (GST_START_TEST):
17589           Don't leak events.
17590         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17591         (gst_base_src_start), (gst_base_src_stop),
17592         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17593         (gst_base_src_change_state):
17594           Sprinkle gst_base_src_stop liberally around error paths to fix
17595           problems reusing a source after failed state changes.
17596         * gst/base/gsttypefindhelper.c: (helper_find_peek),
17597         (helper_find_suggest), (gst_type_find_helper):
17598           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
17599         * gst/gstevent.h:
17600         * docs/gst/tmpl/gstevent.sgml:
17601           Migrate part of the docs from the SGML file. Wait for ensonic to
17602           tell me how I did it wrong ;)
17603         * tools/gst-typefind.c: (main):
17604           Extra robustness to state changes between files.
17605
17606 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17607
17608         * check/Makefile.am:
17609           don't valgrind the controller test - it's leaking - Stefan, HELP
17610         * gst/check/gstcheck.c: (gst_check_message_error),
17611         (gst_check_chain_func), (gst_check_setup_element),
17612         (gst_check_teardown_element), (gst_check_setup_src_pad),
17613         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
17614         (gst_check_teardown_sink_pad):
17615         * gst/check/gstcheck.h:
17616           add a bunch of methods to set up elements, and src and sink pads
17617         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
17618         * check/elements/identity.c: (setup_identity), (cleanup_identity),
17619         (GST_START_TEST):
17620           use them
17621         * gst/gstmessage.c:
17622         * gst/gsttag.h:
17623           whitespace/doc fixes
17624
17625 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17626
17627         * gst/gstelement.h:
17628           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
17629           be handled by the application and not always printed as well
17630
17631 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17632
17633         * check/Makefile.am:
17634           set GST_TOOLS_DIR
17635         * gst/check/gstcheck.c: (gst_check_message_error):
17636         * gst/check/gstcheck.h:
17637           add a fail_unless_equals_int
17638           add fail_unless for error messages
17639
17640 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17641
17642         * check/Makefile.am:
17643         * check/gst.supp:
17644         * common/Makefile.am:
17645         * common/check.mak:
17646         * common/gst.supp:
17647           factor out some of the common stuff so we can use it
17648
17649 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17650
17651         * check/Makefile.am:
17652         * check/gst/gstiterator.c: (GST_START_TEST):
17653         * check/gst/gstsystemclock.c: (GST_START_TEST),
17654         (gst_systemclock_suite):
17655         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
17656         * gst/gstclock.c:
17657           valgrind more tests
17658
17659 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17660
17661         * check/elements/.cvsignore:
17662         * check/elements/gstfakesrc.c:
17663           rename to name of element
17664         * check/elements/identity.c: (chain_func), (event_func),
17665         (setup_identity), (cleanup_identity), (GST_START_TEST),
17666         (identity_suite), (main):
17667           add a test for identity
17668         * check/Makefile.am:
17669         * pkgconfig/Makefile.am:
17670         * pkgconfig/gstreamer-check.pc.in:
17671         * pkgconfig/gstreamer-check-uninstalled.pc.in:
17672         * gst/check:
17673         * gst/Makefile.am:
17674         * configure.ac:
17675           move the check stuff to a library that gets installed
17676         * check/gst-libs/controller.c: (GST_START_TEST):
17677         * check/gst-libs/gdp.c:
17678         * check/gst/gst.c: (GST_START_TEST):
17679         * check/gst/gstbin.c:
17680         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17681         * check/gst/gstbus.c:
17682         * check/gst/gstcaps.c: (GST_START_TEST):
17683         * check/gst/gstelement.c:
17684         * check/gst/gstghostpad.c:
17685         * check/gst/gstiterator.c:
17686         * check/gst/gstmessage.c:
17687         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
17688         * check/gst/gstobject.c:
17689         * check/gst/gstpad.c: (GST_START_TEST):
17690         * check/gst/gststructure.c: (GST_START_TEST):
17691         * check/gst/gstsystemclock.c: (GST_START_TEST),
17692         (gst_systemclock_suite):
17693         * check/gst/gsttag.c: (gst_tag_suite):
17694         * check/gst/gstvalue.c:
17695         * check/pipelines/cleanup.c:
17696         * check/pipelines/simple_launch_lines.c:
17697         * check/states/sinks.c:
17698           change include statement
17699
17700         * docs/gst/gstreamer-sections.txt:
17701         * docs/gst/tmpl/gstpad.sgml:
17702           document more pad stuff
17703         * gst/gstminiobject.c: (gst_mini_object_ref),
17704         (gst_mini_object_unref):
17705           debug refcounting
17706
17707 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
17708
17709         * docs/gst/tmpl/gst.sgml:
17710         * gst/gst.c:
17711           eliminate another tmpl file, fix spelling in the long-description
17712
17713 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17714
17715         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17716         (test_event), (timediff), (gstevents_suite):
17717           Should fix build on 64-bit arch's
17718
17719 2005-08-18  Andy Wingo  <wingo@pobox.com>
17720
17721         Make sure that when a pipeline goes to PLAYING, that data has
17722         actually hit the sink.
17723
17724         * check/states/sinks.c (test_sink): A sink that doesn't get any
17725         data shouldn't return SUCCESS for going to either PLAYING or
17726         PAUSED. Test also the return values on the way back down.
17727
17728         * gst/gstelement.c (gst_element_set_state): When changing the
17729         state of an element currently changing state asynchronously, go to
17730         lost-state after commiting the pending state. Makes future calls
17731         to get_state continue to return ASYNC.
17732
17733         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
17734         ASYNC when going to PLAYING if we still don't have preroll, as can
17735         happen with live sources.
17736
17737 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17738
17739         * docs/pwg/advanced-types.xml:
17740           Hack long paragraph into 2 chunks as a workaround for buggy
17741           jadetex version in sid and breezy that loops infinitely and
17742           eats all RAM.
17743
17744 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17745
17746         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17747         (test_event), (timediff), (gstevents_suite):
17748           Provide more error margin in clock measurements to allow for 
17749           g_get_current_time inaccuracies.
17750
17751 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17752
17753         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17754         (test_event), (timediff), (gstevents_suite):
17755            Fix error message output so I might be able to tell why the
17756            test works here but fails on the build farm.
17757
17758 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17759
17760         * check/Makefile.am:
17761         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17762         (test_event), (timediff), (gstevents_suite), (main):
17763           I wrote a test!
17764
17765         * docs/design/part-seeking.txt:
17766           Spelling correction
17767
17768         * docs/gst/tmpl/gstevent.sgml:
17769         * docs/gst/tmpl/gstfakesrc.sgml:
17770           Docs updates.
17771
17772         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17773           Treat a buffer-without-newsegment the same as a receiving 
17774           a newsegment not in time format, and disable syncing to the clock
17775           with a warning.
17776
17777         * gst/gstbus.c: (gst_bus_set_sync_handler):
17778           Assert if anyone tries to replace the existing sync_handler for bus, 
17779           as only the owner should be setting it.
17780
17781         * gst/gstevent.h:
17782           Have a fixed set of custom event enums with events identified by
17783           their structure name (as in 0.8), rather than a free-for-all
17784           allowing collisions between enum values from different plugins.
17785
17786         * gst/gstpad.c: (gst_pad_class_init):
17787           Docs change.
17788           
17789         * gst/gstqueue.c: (gst_queue_handle_sink_event):
17790           Handle out-of-band downstream events from the sending thread.
17791
17792 2005-08-17  Andy Wingo  <wingo@pobox.com>
17793
17794         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
17795         play-timeout==0 to mean no timeout at all. In that case, don't
17796         bother with a get_state or a warning, just return directly, even
17797         if it's ASYNC.
17798
17799         * gst/base/gstbasetransform.c: Debug changes.
17800
17801         * gst/gstutils.h:
17802         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
17803         ensure bins post state change messages. A bit of a hack but I can't
17804         think of a way to avoid it.
17805
17806         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
17807
17808 2005-08-16  Andy Wingo  <wingo@pobox.com>
17809
17810         * gst/base/gstadapter.h:
17811         * gst/base/gstadapter.c (gst_adapter_take): New function, like
17812         peek() but you own the data. Not terribly efficient atm.
17813
17814 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17815
17816         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
17817         (gst_element_found_tags):
17818         * gst/gstutils.h:
17819           Add two utility functions for tag handling.
17820
17821 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17822
17823         * docs/manual/advanced-dataaccess.xml:
17824         * docs/manual/basics-helloworld.xml:
17825           Fix docs to use _bin_add() before _link(), which fixes the examples
17826           with recent core versions (reported by Madhan Raj M
17827           <raj_madan@rediffmail.com>, #313199).
17828
17829 2005-08-16  Wim Taymans  <wim@fluendo.com>
17830
17831         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
17832         Added subtract checks.
17833
17834         * docs/design/part-events.txt:
17835         Some more docs about newsegment
17836
17837         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
17838         Fix FIXME
17839
17840         * gst/gstcaps.c: (gst_caps_to_string):
17841         Add comments, cleanups.
17842         
17843         * gst/gstelement.c: (gst_element_save_thyself):
17844         cleanups
17845         
17846         * gst/gstvalue.c: (gst_value_collect_int_range),
17847         (gst_string_unwrap), (gst_value_union_int_int_range),
17848         (gst_value_union_int_range_int_range),
17849         (gst_value_intersect_int_int_range),
17850         (gst_value_intersect_int_range_int_range),
17851         (gst_value_intersect_double_double_range),
17852         (gst_value_intersect_double_range_double_range),
17853         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
17854         (gst_value_subtract_int_range_int),
17855         (gst_value_subtract_double_range_double),
17856         (gst_value_subtract_double_range_double_range),
17857         (gst_value_subtract_from_list), (gst_value_subtract_list),
17858         (gst_value_can_compare), (gst_value_compare_fraction):
17859         Cleanups, add comments, remove unneeded asserts.
17860
17861 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17862
17863         * tools/gst-launch.c: (event_loop):
17864           don't convert NULL structures to strings
17865
17866 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
17867
17868         * docs/gst/gstreamer-sections.txt:
17869           made some defines private
17870         * docs/gst/tmpl/gstconfig.sgml:
17871         * docs/gst/tmpl/gstqueue.sgml:
17872         * docs/gst/tmpl/gsttaglist.sgml:
17873         * docs/gst/tmpl/gsttypes.sgml:
17874         * docs/gst/tmpl/gstutils.sgml:
17875         * docs/pwg/appendix-porting.xml:
17876         * gst/base/gstbasesink.h:
17877         * gst/base/gstbasesrc.c:
17878         * gst/base/gstbasesrc.h:
17879         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
17880         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
17881         * gst/gstelement.c: (gst_element_class_init):
17882         * gst/gstpad.c: (gst_pad_class_init):
17883         * gst/gstqueue.c: (gst_queue_class_init):
17884         * gst/gstxml.c: (gst_xml_class_init):
17885           documented all undocumented signal inline
17886         * libs/gst/controller/gst-controller.h:
17887           added padding
17888
17889 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17890
17891         * docs/pwg/appendix-porting.xml:
17892           Document _set_link_function -> _set_setcaps_function.
17893
17894 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17895
17896         * check/Makefile.am:
17897           add a .check target for running the check
17898         * check/gst-libs/controller.c: (GST_START_TEST):
17899           cosmetic fixups
17900         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17901           complete checks for gstbuffer; would be nice if I could get the
17902           gcov stuff to work so I can see if I actually completed gstbuffer.c
17903         * check/gstcheck.h:
17904           add ASSERT_BUFFER_REFCOUNT
17905
17906 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
17907
17908         * docs/gst/gstreamer-sections.txt:
17909         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
17910         * gst/gsttag.h:
17911           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
17912           spew out a warning if a tag that is already registered
17913           is re-registered, unless it is re-registered with a 
17914           different type (#308438).
17915
17916 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
17917
17918         * docs/pwg/appendix-porting.xml:
17919         * docs/pwg/building-state.xml:
17920           Add some paragraphs about state changes in 0.9 to the PWG
17921           and the porting guide, in particular about the new meaning
17922           of GST_STATE_PAUSED and how to write state change functions
17923           with concurrent access by multiple threads in mind.
17924
17925 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
17926
17927         * docs/gst/gstreamer-docs.sgml:
17928         * docs/libs/gstreamer-libs-docs.sgml:
17929           added deprecation and since indexes
17930         * libs/gst/controller/gst-controller.c:
17931         * libs/gst/controller/gst-helper.c:
17932           added since tags
17933
17934
17935 2005-08-11  Wim Taymans  <wim@fluendo.com>
17936
17937         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
17938         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
17939         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
17940         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
17941         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
17942         (gst_ghost_pad_set_target):
17943         Actually implement (re)setting the target on a ghostpad
17944         as described in the docs.
17945
17946 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
17947
17948         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
17949           Check whether GST_DEBUG_NO_COLOR environment variable is
17950           set and disable coloured debug output if that is the case.
17951
17952 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
17953
17954         * gst/base/gsttypefindhelper.c: (helper_find_peek),
17955         (gst_type_find_helper):
17956           The memory returned by gst_type_find_peek() needs to
17957           stay valid until the end of a typefind function, and
17958           typefind functions may keep results from different 
17959           offsets around, so we can't just unref the buffer from
17960           the previous _peek(), but have to save all buffers 
17961           returned by _peek() until typefinding is done and only
17962           free them then.
17963
17964 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
17965
17966         * docs/gst/gstreamer-sections.txt:
17967         * gst/gstutils.h:
17968           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
17969
17970 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17971
17972         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17973           Fix a pretty good memleak.
17974
17975 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
17976
17977         * gst/gstiterator.h:
17978           Fix wrong include and 'make distcheck'.
17979
17980 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17981
17982         * gst/gstbin.c: (bin_bus_handler):
17983           Use gst_element_post_message() instead.
17984
17985 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
17986
17987         * gst/base/gstadapter.h:
17988         * gst/base/gstbasesink.h:
17989         * gst/base/gstbasesrc.h:
17990         * gst/base/gstbasetransform.h:
17991         * gst/base/gstcollectpads.h:
17992         * gst/base/gstpushsrc.h:
17993         * gst/gstiterator.h:
17994           Add padding to our base elements' class and instance structs and
17995           to GstIterator (you will need to rebuild all plugins and apps!)
17996
17997 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17998
17999         * gst/gstbin.c: (bin_bus_handler):
18000           Make default message forwarding from child->bus to bin->bus
18001           threadsafe and make it not emit warnings if the parent has no bus.
18002
18003 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18004
18005         * gst/gstelement.c: (activate_pads):
18006           On paused->ready, set pad->caps to NULL, as is the documented
18007           behaviour in this state change. Fixes playback of series of
18008           media files when visualization is enabled in Totem.
18009
18010 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18011
18012         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
18013           Allow NULL as filter-caps (which means "any").
18014
18015 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
18016
18017         * docs/libs/gstreamer-libs-sections.txt:
18018         * libs/gst/controller/gst-controller.c:
18019         * libs/gst/controller/gst-controller.h:
18020         * libs/gst/controller/gst-helper.c:
18021           adding more entries to the docs and fix small doc-bugs
18022
18023 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
18024
18025         * docs/gst/gstreamer-docs.sgml:
18026         * docs/gst/gstreamer-sections.txt:
18027         * docs/gst/gstreamer.types:
18028         * docs/gst/tmpl/gstbasesink.sgml:
18029         * docs/gst/tmpl/gstbasesrc.sgml:
18030         * docs/gst/tmpl/gstbasetransform.sgml:
18031         * docs/gst/tmpl/gstfakesrc.sgml:
18032         * gst/base/gstcollectpads.c:
18033         * gst/base/gstcollectpads.h:
18034         * libs/gst/controller/gst-controller.c:
18035         * libs/gst/controller/gst-controller.h:
18036         * libs/gst/controller/gst-helper.c:
18037         * libs/gst/controller/gst-interpolation.c:
18038         * libs/gst/controller/lib.c:
18039           added long/short desc for controller docs
18040           added collectpads base class docs
18041           added correct includes to base-class docs
18042
18043 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
18044
18045         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
18046         (gst_test_mono_source_set_property),
18047         (gst_test_mono_source_class_init), (GST_START_TEST),
18048         (gst_controller_suite):
18049         * docs/gst/gstreamer-docs.sgml:
18050         * docs/gst/gstreamer-sections.txt:
18051         * docs/gst/gstreamer.types:
18052         * docs/libs/gstreamer-libs-docs.sgml:
18053         * docs/libs/gstreamer-libs-sections.txt:
18054         * gst/base/gstadapter.c:
18055         * libs/gst/controller/gst-controller.c:
18056         (gst_controlled_property_new), (gst_controlled_property_free),
18057         (gst_controller_new_valist),
18058         (gst_controller_remove_properties_valist),
18059         (gst_controller_sink_values), (_gst_controller_finalize):
18060         * libs/gst/controller/gst-controller.h:
18061         * libs/gst/controller/gst-helper.c:
18062         (gst_object_control_properties), (gst_object_uncontrol_properties),
18063         (gst_object_get_controller), (gst_object_set_controller),
18064         (gst_object_sink_values), (gst_object_get_value_arrays),
18065         (gst_object_get_value_array):
18066           more tests (and fixes) for the controller
18067           more docs for the controller
18068           integrated companies docs for the adapter 
18069
18070 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18071
18072         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
18073         (GST_START_TEST), (fakesrc_suite):
18074           add tests for sizetype
18075
18076 2005-08-04  Andy Wingo  <wingo@pobox.com>
18077
18078         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
18079         fixes buffer_alloc proxying among other things.
18080
18081         * gst/base/gstbasetransform.c:
18082         * gst/base/gstbasetransform.h:
18083         Revert patch to gstbasetransform from 7-28 removing
18084         delay_configure.
18085
18086         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
18087         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
18088         Semantics changed, should return not the size of the output buffer
18089         but the byte size of a buffer with a given caps.
18090
18091         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
18092         debug object.
18093         (gst_base_transform_configure_caps): Don't set out_size here: (in,
18094         out) are not the pad caps until setcaps finishes.
18095         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
18096         not-in-place case as well. Deal with changing from in-place to
18097         not-in-place within calling pad_alloc_buffer. Still a bit
18098         concerned about the overhead here...
18099
18100 2005-08-03  Andy Wingo  <wingo@pobox.com>
18101
18102         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
18103         fixating is an error.
18104
18105 2005-08-04  Edward Hervey  <edward@fluendo.com>
18106
18107         * gst/base/gstadapter.h: 
18108         Added gst_adapter_get_type() to the header
18109
18110 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
18111
18112         * check/Makefile.am:
18113         * check/gst-libs/controller.c:
18114         * libs/gst/controller/gst-controller.c:
18115         (gst_controller_new_valist):
18116           added check test suite for the controller
18117         * gst/base/gstpushsrc.c:
18118           fixed a doc typo
18119
18120 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
18121
18122         * docs/gst/Makefile.am:
18123         * docs/gst/gstreamer-docs.sgml:
18124         * docs/gst/gstreamer-sections.txt:
18125         * docs/gst/gstreamer.types:
18126         * docs/gst/tmpl/gstfakesrc.sgml:
18127         * gst/base/README:
18128         * gst/base/gstbasesink.c:
18129         * gst/base/gstbasesink.h:
18130         * gst/base/gstbasesrc.c:
18131         * gst/base/gstbasesrc.h:
18132         * gst/base/gstbasetransform.c:
18133         * gst/base/gstpushsrc.c:
18134         * gst/base/gstpushsrc.h:
18135           add short/long description docs to base classes
18136           add pushsrc to the docs
18137           remove consolidated doc fragments
18138
18139 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
18140
18141         * configure.ac:
18142         * docs/libs/Makefile.am:
18143         * docs/libs/gstreamer-libs-docs.sgml:
18144         * docs/libs/gstreamer-libs-sections.txt:
18145         * docs/libs/gstreamer-libs.types:
18146         * examples/Makefile.am:
18147         * examples/controller/.cvsignore:
18148         * examples/controller/Makefile.am:
18149         * examples/controller/audio-example.c: (main):
18150         * libs/gst/Makefile.am:
18151         * libs/gst/controller/.cvsignore:
18152         * libs/gst/controller/Makefile.am:
18153         * libs/gst/controller/gst-controller.c:
18154         (on_object_controlled_property_changed), (gst_timed_value_compare),
18155         (gst_timed_value_find),
18156         (gst_controlled_property_set_interpolation_mode),
18157         (gst_controlled_property_new), (gst_controlled_property_free),
18158         (gst_controller_find_controlled_property),
18159         (gst_controller_new_valist), (gst_controller_new),
18160         (gst_controller_remove_properties_valist),
18161         (gst_controller_remove_properties), (gst_controller_set),
18162         (gst_controller_set_from_list), (gst_controller_unset),
18163         (gst_controller_get), (gst_controller_get_all),
18164         (gst_controller_sink_values), (gst_controller_get_value_arrays),
18165         (gst_controller_get_value_array),
18166         (gst_controller_set_interpolation_mode),
18167         (_gst_controller_finalize), (_gst_controller_init),
18168         (_gst_controller_class_init), (gst_controller_get_type):
18169         * libs/gst/controller/gst-controller.h:
18170         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
18171         (g_object_uncontrol_properties), (g_object_get_controller),
18172         (g_object_set_controller), (g_object_sink_values),
18173         (g_object_get_value_arrays), (g_object_get_value_array):
18174         * libs/gst/controller/gst-interpolation.c:
18175         (gst_controlled_property_find_timed_value_node),
18176         (interpolate_none_get), (interpolate_trigger_get),
18177         (interpolate_trigger_get_value_array):
18178         * libs/gst/controller/lib.c: (gst_controller_init):
18179         * pkgconfig/Makefile.am:
18180         * pkgconfig/gstreamer-control-uninstalled.pc.in:
18181         * pkgconfig/gstreamer-control.pc.in:
18182         * testsuite/Makefile.am:
18183         * testsuite/controller/.cvsignore:
18184         * testsuite/controller/Makefile.am:
18185         * testsuite/controller/interpolator.c: (main):
18186           added controller code
18187           removed dparam pc files
18188
18189 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
18190         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
18191         (gst_collectpads_stop):
18192           Broadcast the condition when shutting down, to make sure we wake all
18193           threads up. Shut down pads on finalize, for safety.
18194
18195 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
18196         * gst/base/gstbasetransform.c: (gst_base_transform_init),
18197         (gst_base_transform_handle_buffer),
18198         (gst_base_transform_change_state):
18199           Handle PAUSED->READY->PAUSED transition after negotiation
18200           occurred already.
18201         * gst/gstmessage.c: (gst_message_init):
18202           Extra piece of debug for new messages.
18203
18204 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
18205
18206         * configure.ac:
18207         * docs/gst/tmpl/gstbasesrc.sgml:
18208         * docs/gst/tmpl/gstelement.sgml:
18209         * docs/gst/tmpl/gstevent.sgml:
18210         * docs/gst/tmpl/gstfakesrc.sgml:
18211         * docs/gst/tmpl/gstformat.sgml:
18212         * docs/gst/tmpl/gstghostpad.sgml:
18213         * docs/gst/tmpl/gstpad.sgml:
18214         * docs/gst/tmpl/gstquery.sgml:
18215         * docs/gst/tmpl/gststructure.sgml:
18216         * docs/gst/tmpl/gsttaglist.sgml:
18217         * docs/gst/tmpl/gstvalue.sgml:
18218         * docs/libs/gstreamer-libs-docs.sgml:
18219         * docs/libs/gstreamer-libs-sections.txt:
18220         * docs/libs/gstreamer-libs.types:
18221         * libs/gst/Makefile.am:
18222         * libs/gst/control/.cvsignore:
18223         * libs/gst/control/Makefile.am:
18224         * libs/gst/control/control.c:
18225         * libs/gst/control/control.h:
18226         * libs/gst/control/dparam.c:
18227         * libs/gst/control/dparam.h:
18228         * libs/gst/control/dparam_smooth.c:
18229         * libs/gst/control/dparam_smooth.h:
18230         * libs/gst/control/dparamcommon.h:
18231         * libs/gst/control/dparammanager.c:
18232         * libs/gst/control/dparammanager.h:
18233         * libs/gst/control/dplinearinterp.c:
18234         * libs/gst/control/dplinearinterp.h:
18235         * libs/gst/control/unitconvert.c:
18236         * libs/gst/control/unitconvert.h:
18237         * testsuite/Makefile.am:
18238         * testsuite/dynparams/.cvsignore:
18239         * testsuite/dynparams/Makefile.am:
18240         * testsuite/dynparams/dparamstest.c:
18241         * tools/Makefile.am:
18242         * tools/gst-inspect.c: (print_element_info), (main):
18243         * tools/gst-xmlinspect.c: (print_element_info), (main):
18244           deactivate and remove dparams (libgstcontrol)
18245
18246 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
18247
18248         * gst/elements/gsttypefindelement.c:
18249         (gst_type_find_element_have_type), (gst_type_find_element_init),
18250         (stop_typefinding), (gst_type_find_element_handle_event),
18251         (gst_type_find_element_chain), (gst_type_find_element_getrange):
18252         * gst/elements/gsttypefindelement.h:
18253           Set caps on all outgoing buffers, not just the first one.
18254
18255 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
18256
18257         * gst/elements/gsttypefindelement.c:
18258         (gst_type_find_element_have_type),
18259         (gst_type_find_element_check_set_buffer_caps),
18260         (gst_type_find_element_init), (stop_typefinding),
18261         (gst_type_find_element_handle_event),
18262         (gst_type_find_element_chain), (gst_type_find_element_getrange):
18263         * gst/elements/gsttypefindelement.h:
18264           Set caps on first outgoing buffer when we've found the type.
18265
18266 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
18267
18268         * docs/gst/gstreamer-docs.sgml:
18269         * docs/gst/gstreamer-sections.txt:
18270         * docs/gst/tmpl/gstscheduler.sgml:
18271         * docs/gst/tmpl/gstschedulerfactory.sgml:
18272           Remove some old cruft from docs.
18273
18274 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
18275
18276         * gst/gstpad.h:
18277           Fix inline docs for GstPadLinkReturn.
18278           
18279         * gst/gststructure.c: (gst_structure_has_name):
18280         * gst/gststructure.h:
18281         * docs/gst/gstreamer-sections.txt:
18282           New API: gst_structure_has_name().
18283
18284 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
18285
18286         * configure.ac:
18287           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
18288           and _LARGEFILE_SOURCE in config.h as required. Do not 
18289           export those flags in our .pc files any longer (#142209).
18290
18291           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
18292
18293         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
18294         (gst_file_sink_do_seek), (gst_file_sink_event),
18295         (gst_file_sink_get_current_offset), (gst_file_sink_render):
18296           Redo seek/tell calls with large file support in mind; add some
18297           debugging messages; add log message that tells us when large
18298           file support is unavailable or not enabled for some reason.
18299
18300         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
18301           Add log message that tells us when large file support 
18302           is unavailable or not enabled for some reason.
18303
18304 2005-07-29  Wim Taymans  <wim@fluendo.com>
18305
18306         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18307         Added test for removing an element with ghostpad from a bin.
18308         Fixed test as current implementation does the right thing.
18309
18310         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
18311         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
18312         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
18313         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
18314         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
18315         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
18316         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
18317         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
18318         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
18319         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
18320         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
18321         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
18322         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
18323         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
18324         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
18325         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
18326         * gst/gstghostpad.h:
18327         Clean up ghostpads, remove properties for internal stuff.
18328         Make threadsafe.
18329         Fix refcounting.
18330         Prepare for switching targets, not all use cases work yet.
18331
18332 2005-07-29  Wim Taymans  <wim@fluendo.com>
18333
18334         * docs/design/part-gstghostpad.txt:
18335         Small update.
18336
18337         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18338         (gst_bin_remove_func):
18339         Unlinking pads while holding the bin LOCK is not a good
18340         idea.
18341
18342         * gst/gstpad.c: (gst_pad_class_init),
18343         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
18344         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
18345         No prob setting template after creating the pad.
18346
18347 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
18348
18349         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
18350         (gst_bus_peek), (gst_bus_source_dispatch),
18351         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
18352         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
18353           gst_bus_poll may be called from other threads. Handle
18354           this nicely by not making poll_data disappear off the
18355           stack once gst_bus_poll returns.
18356           gst_bus_peek now increments the refcount on the returned
18357           message.
18358
18359 2005-07-29  Wim Taymans  <wim@fluendo.com>
18360
18361         * docs/design/part-gstghostpad.txt:
18362         Overview of current GhostPad datastructures and use
18363         cases for changing the target.
18364
18365 2005-07-28  Wim Taymans  <wim@fluendo.com>
18366
18367         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18368         Added checks for hierarchy consistency whan adding linked
18369         elements to bins.
18370
18371         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18372         Added check to test element scheduling without bin/pipeline.
18373
18374         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18375         First add elements to bin, then link.
18376         
18377         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18378         (gst_bin_remove_func):
18379         Unlink pads from elements added/removed from bin to maintain
18380         hierarchy consistency.
18381
18382 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18383
18384         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18385         (gst_base_transform_handle_buffer):
18386         * gst/base/gstbasetransform.h:
18387           Remove broken delay_configure (fixes renegotiation of software
18388           scaling pipelines); remove some leftover printf()s.
18389
18390 2005-07-28  Wim Taymans  <wim@fluendo.com>
18391
18392         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18393         Added some more tests for wrong hierarchy
18394
18395         * docs/design/part-overview.txt:
18396         Some updates.
18397
18398         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
18399         Cleanups.
18400
18401         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
18402         (gst_element_dispose):
18403         Some more cleanups.
18404
18405         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18406         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
18407         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18408         (gst_pad_set_caps), (gst_pad_send_event):
18409         Check for correct hierarchy when linking pads. Moving to
18410         strict requirement for ghostpads when linking elements in
18411         different bins.
18412
18413         * gst/gstpad.h:
18414         Clean ups. Added WRONG_HIERARCHY return value.
18415
18416 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18417
18418         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18419           Better debug if no transform is possible.
18420
18421 2005-07-27  Wim Taymans  <wim@fluendo.com>
18422
18423         * docs/random/wtay/network-transp:
18424         Some old doc I had.
18425
18426 2005-07-27  Wim Taymans  <wim@fluendo.com>
18427
18428         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18429         (gst_dp_event_from_packet):
18430         Fix serialization of seek events.
18431
18432 2005-07-27  Wim Taymans  <wim@fluendo.com>
18433
18434         * check/gst-libs/gdp.c: (GST_START_TEST):
18435         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18436         Fix compilation and fix event serialization.
18437
18438 2005-07-27  Wim Taymans  <wim@fluendo.com>
18439
18440         * CHANGES-0.9:
18441         * docs/design/part-TODO.txt:
18442         * docs/design/part-events.txt:
18443         Some docs updates
18444
18445         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18446         (gst_base_sink_event), (gst_base_sink_do_sync),
18447         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18448         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18449         (gst_base_src_do_seek), (gst_base_src_event_handler),
18450         (gst_base_src_loop):
18451         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18452         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18453         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18454         (gst_base_transform_event), (gst_base_transform_handle_buffer),
18455         (gst_base_transform_set_passthrough),
18456         (gst_base_transform_is_passthrough):
18457         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18458         * gst/elements/gstfilesink.c: (gst_file_sink_event):
18459         Event updates.
18460
18461         * gst/gstbuffer.h:
18462         Use faster casts.
18463
18464         * gst/gstelement.c: (gst_element_seek):
18465         * gst/gstelement.h:
18466         Update gst_element_seek.
18467
18468         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
18469         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
18470         (gst_event_new_flush_start), (gst_event_new_flush_stop),
18471         (gst_event_new_eos), (gst_event_new_newsegment),
18472         (gst_event_parse_newsegment), (gst_event_new_tag),
18473         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
18474         (gst_event_parse_qos), (gst_event_new_seek),
18475         (gst_event_parse_seek), (gst_event_new_navigation):
18476         * gst/gstevent.h:
18477         Make GstEvent use GstStructure. Add parsing code, make sure the
18478         API is sufficiently generic.
18479         Mark possible directions of events and serialization.
18480
18481         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
18482         (_gst_message_copy), (gst_message_new_segment_start),
18483         (gst_message_new_segment_done), (gst_message_new_custom),
18484         (gst_message_parse_segment_start),
18485         (gst_message_parse_segment_done):
18486         Small cleanups.
18487
18488         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18489         (gst_pad_set_caps), (gst_pad_send_event):
18490         Update for new events. 
18491         Catch events sent in wrong directions.
18492
18493         * gst/gstqueue.c: (gst_queue_link_src),
18494         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18495         (gst_queue_handle_src_query):
18496         Event updates.
18497
18498         * gst/gsttag.c:
18499         * gst/gsttag.h:
18500         Remove event code from this file.
18501
18502         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18503         (gst_dp_event_from_packet):
18504         Event updates.
18505
18506 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18507
18508         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
18509         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18510         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
18511           Make debugging actually useful.
18512
18513 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18514
18515         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
18516         (gst_pad_fixate_caps):
18517           Implement default fixation once again, so that gst_pad_fixate()
18518           actually does anything at all. This probably needs to be some
18519           sort of a last resort, and use profile-based fixation first, but
18520           since that doesn't exist yet, this is the best we have. Fixes
18521           visualization in Totem.
18522
18523 2005-07-22  Wim Taymans  <wim@fluendo.com>
18524
18525         * docs/design/part-events.txt:
18526         Small update.
18527
18528         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18529         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
18530         (gst_base_sink_activate_pull):
18531         Some more comments.
18532
18533         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
18534         (gst_fake_src_create):
18535         Fix handoff marshall.
18536
18537         * gst/elements/gstidentity.c: (gst_identity_class_init),
18538         (gst_identity_transform_ip):
18539         We're a real inplace element.
18540
18541         * gst/gstbus.c: (gst_bus_post):
18542         Added some comments.
18543
18544         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
18545         * tests/muxing/case1.c: (main):
18546         * tests/sched/dynamic-pipeline.c: (main):
18547         * tests/sched/interrupt1.c: (main):
18548         * tests/sched/interrupt2.c: (main):
18549         * tests/sched/interrupt3.c: (main):
18550         * tests/sched/runxml.c: (main):
18551         * tests/sched/sched-stress.c: (main):
18552         * tests/seeking/seeking1.c: (event_received), (main):
18553         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18554         (main):
18555         * tests/threadstate/threadstate3.c: (main):
18556         * tests/threadstate/threadstate4.c: (main):
18557         * tests/threadstate/threadstate5.c: (main):
18558         Fix the tests.
18559
18560 2005-07-21  Wim Taymans  <wim@fluendo.com>
18561
18562         * docs/design/part-seeking.txt:
18563         Some small additions.
18564
18565         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18566         (gst_base_sink_get_times), (gst_base_sink_do_sync),
18567         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18568         * gst/base/gstbasesink.h:
18569         discont values are gint64, handle the math correctly.
18570
18571         * gst/base/gstbasesrc.c: (gst_base_src_loop):
18572         Make the basesrc report error if the source pad is not linked.
18573
18574         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
18575         (gst_queue_loop), (gst_queue_handle_src_query),
18576         (gst_queue_src_activate_push):
18577         Make queue collect data even if the srcpad is not linked.
18578         Start pushing out data as soon as it is linked.
18579
18580         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
18581         * gst/gstutils.h:
18582         Added gst_flow_get_name() to ease error reporting.
18583
18584 2005-07-20  Wim Taymans  <wim@fluendo.com>
18585
18586         * gst/gstmessage.c: (gst_message_new_segment_start),
18587         (gst_message_new_segment_done), (gst_message_parse_segment_start),
18588         (gst_message_parse_segment_done):
18589         * gst/gstmessage.h:
18590         Added a bunch of messages for advanced seeking.
18591
18592         * gst/parse/grammar.y:
18593         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
18594         (gst_dpman_state_changed):
18595         Fix some new-pad -> pad-added signals
18596
18597 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18598
18599         * docs/manual/appendix-porting.xml:
18600         * docs/pwg/appendix-porting.xml:
18601           Document new-pad/state-change signal renames and the FixedList
18602           type rename.
18603
18604 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18605
18606         * docs/manual/advanced-autoplugging.xml:
18607         * docs/manual/basics-helloworld.xml:
18608         * docs/manual/basics-pads.xml:
18609         * docs/random/ds/0.9-suggested-changes:
18610         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
18611         * gst/gstelement.h:
18612         * gst/gstevent.h:
18613         * gst/gstformat.h:
18614         * gst/gstquery.h:
18615         * gst/gststructure.c: (gst_structure_value_get_generic_type),
18616         (gst_structure_parse_array), (gst_structure_parse_value):
18617         * gst/gstvalue.c: (gst_type_is_fixed),
18618         (gst_value_list_prepend_value), (gst_value_list_append_value),
18619         (gst_value_list_get_size), (gst_value_list_get_value),
18620         (gst_value_transform_array_string), (gst_value_serialize_array),
18621         (gst_value_deserialize_array), (gst_value_intersect_array),
18622         (gst_value_is_fixed), (_gst_value_initialize):
18623         * gst/gstvalue.h:
18624           GstElement::new-pad -> pad-added, GstElement::state-change ->
18625           state-changed, GstValueFixedList -> GstValueArray, add format and
18626           flags as their own arguments in gst_element_seek() (should improve
18627           "bindeability"), remove function generators since they don't work
18628           under a whole bunch of compilers (they were deprecated already
18629           anyway).
18630
18631 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18632
18633         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18634         (_gst_debug_register_funcptr):
18635         * gst/gstinfo.h:
18636           Fix illegal cast on some platforms (#309253).
18637
18638 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18639
18640         * gst/gstmessage.c: (gst_message_new_custom):
18641         * gst/gstmessage.h:
18642           Add _new_custom, make _new_application a macro to _new_custom.
18643
18644 2005-07-20  Wim Taymans  <wim@fluendo.com>
18645
18646         * gst/base/gstbasesrc.c: (gst_base_src_init),
18647         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
18648         * gst/base/gstbasesrc.h:
18649         Add a gboolean to decide when to push out a discont.
18650
18651         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18652         (gst_queue_loop), (gst_queue_handle_src_query),
18653         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
18654         (gst_queue_set_property), (gst_queue_get_property):
18655         Some cleanups.
18656
18657         * tests/threadstate/threadstate1.c: (main):
18658         Make a thread test compile and run... very silly..
18659
18660
18661 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18662
18663         * docs/manual/appendix-porting.xml:
18664           Mention removal of libgstgconf-0.9.la and existence of gconf
18665           elements.
18666
18667 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18668
18669         * docs/pwg/advanced-clock.xml:
18670         * docs/pwg/appendix-porting.xml:
18671         * docs/pwg/intro-preface.xml:
18672         * docs/pwg/other-base.xml:
18673         * docs/pwg/other-manager.xml:
18674         * docs/pwg/other-nton.xml:
18675         * docs/pwg/other-ntoone.xml:
18676         * docs/pwg/other-oneton.xml:
18677         * docs/pwg/pwg.xml:
18678           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
18679           demuxer), remove n-to-n (was never written), fix some code examples
18680           and links and update the porting section to include all this.
18681
18682 2005-07-19  Wim Taymans  <wim@fluendo.com>
18683
18684         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
18685         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
18686         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
18687         (gst_queue_src_activate_push), (gst_queue_change_state),
18688         (gst_queue_get_property):
18689         * gst/gstqueue.h:
18690         Propagate GstFlowReturn more intelligently upstream and output
18691         an ERROR/EOS when streaming stopped due to fatal error.
18692
18693 2005-07-19  Wim Taymans  <wim@fluendo.com>
18694
18695         * tools/gst-launch.c: (check_intr), (event_loop), (main):
18696         Don't block forever for the state change to complete, the
18697         pipeline already did with a sensible timeout.
18698
18699 2005-07-19  Wim Taymans  <wim@fluendo.com>
18700
18701         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18702         Make sure we never call the create function is we
18703         got deactivated.
18704
18705 2005-07-19  Andy Wingo  <wingo@pobox.com>
18706
18707         * gst/parse/parse.l: Attempt to solve bug #172815.
18708
18709 2005-07-19  Wim Taymans  <wim@fluendo.com>
18710
18711         * docs/design/part-clocks.txt:
18712         * docs/design/part-events.txt:
18713         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
18714         Small docs updates.
18715         Only update the seeking values when we are not
18716         busy streaming.
18717
18718 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
18719
18720         * gst/base/gstbasesrc.c: (gst_base_src_loop):
18721           Oops, ignore the result of gst_pad_push_event here.
18722
18723 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
18724
18725         * gst/base/gstbasesrc.c: (gst_base_src_loop),
18726         (gst_base_src_activate_push):
18727           Send discont event from the loop function, as pads
18728           aren't activated yet in the activate_push handler.
18729
18730         * gst/gstbin.c: (bin_bus_handler):
18731           Don't leak element name.
18732
18733 2005-07-18  Andy Wingo  <wingo@pobox.com>
18734
18735         * configure.ac: Use AS_LIBTOOL_TAGS.
18736
18737 2005-07-18  Wim Taymans  <wim@fluendo.com>
18738
18739         * docs/gst/gstreamer.types:
18740         Remove deleted types.
18741
18742 2005-07-18  Wim Taymans  <wim@fluendo.com>
18743
18744         * check/elements/gstfakesrc.c: (GST_START_TEST):
18745         * configure.ac:
18746         * gst/Makefile.am:
18747         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
18748         (init_popt_callback):
18749         * gst/gst.h:
18750         * gst/gst_private.h:
18751         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
18752         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
18753         * gst/gstbin.h:
18754         * gst/gstbus.h:
18755         * gst/gstconfig.h.in:
18756         * gst/gstelement.c: (gst_element_class_init),
18757         (gst_element_set_base_time), (gst_element_get_base_time),
18758         (iterator_fold_with_resync), (gst_element_change_state),
18759         (gst_element_dispose), (gst_element_get_bus):
18760         * gst/gstelement.h:
18761         * gst/gstelementfactory.h:
18762         * gst/gsterror.c: (_gst_core_errors_init):
18763         * gst/gsterror.h:
18764         * gst/gstevent.h:
18765         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18766         * gst/gstindex.c:
18767         * gst/gstinfo.c: (_gst_debug_init):
18768         * gst/gstmessage.c: (_gst_message_copy):
18769         * gst/gstmessage.h:
18770         * gst/gstminiobject.h:
18771         * gst/gstobject.c:
18772         * gst/gstobject.h:
18773         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18774         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
18775         * gst/gstpad.h:
18776         * gst/gstparse.h:
18777         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
18778         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18779         (gst_pipeline_get_last_stream_time):
18780         * gst/gstpipeline.h:
18781         * gst/gstpluginfeature.h:
18782         * gst/gstquery.h:
18783         * gst/gstscheduler.c:
18784         * gst/gstscheduler.h:
18785         * gst/gststructure.h:
18786         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
18787         (gst_task_finalize), (gst_task_func), (gst_task_create),
18788         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
18789         (gst_task_stop), (gst_task_pause):
18790         * gst/gsttask.h:
18791         * gst/gsttypefind.h:
18792         * gst/gsttypes.h:
18793         * gst/registries/gstlibxmlregistry.c: (load_feature),
18794         (gst_xml_registry_load), (gst_xml_registry_save_feature):
18795         * gst/registries/gstxmlregistry.c:
18796         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
18797         * gst/schedulers/threadscheduler.c:
18798         * libs/gst/control/dparammanager.h:
18799         * tools/gst-inspect.c: (print_element_list),
18800         (print_plugin_features), (print_element_features):
18801         * tools/gst-xmlinspect.c: (print_element_list),
18802         (print_plugin_info), (main):
18803         Removed plugable schedulers.
18804         Removed Scheduler/Manager from elements.
18805         Removed gsttypes.h, rearranged includes.
18806         Removed dependency pad<->element, element<>pipeline, and
18807         various others,  fix includes.
18808         implement gst_pad_get_parent() with gst_object_get_parent()
18809         Make GstTask sefcontained.
18810         Fix _get_state() on GstBin, it did not return ASYNC with a 0
18811         timeout.
18812         Fix endless loop in iterator_fold_with_resync.
18813
18814
18815 2005-07-18  Wim Taymans  <wim@fluendo.com>
18816
18817         * gst/Makefile.am:
18818         * gst/gstarch.h:
18819         Remove old file.
18820
18821 2005-07-18  Wim Taymans  <wim@fluendo.com>
18822
18823         * gst/Makefile.am:
18824         No more cothreads.h
18825
18826 2005-07-18  Wim Taymans  <wim@fluendo.com>
18827
18828         * gst/cothreads.c:
18829         * gst/cothreads.h:
18830         Let's remove these.
18831
18832 2005-07-18  Wim Taymans  <wim@fluendo.com>
18833
18834         * docs/design/part-dynamic.txt:
18835         * docs/design/part-events.txt:
18836         * docs/design/part-seeking.txt:
18837         Some more docs in the works.
18838
18839         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18840         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
18841         (gst_base_transform_setcaps), (gst_base_transform_get_size),
18842         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
18843         (gst_base_transform_handle_buffer),
18844         (gst_base_transform_sink_activate_push),
18845         (gst_base_transform_src_activate_pull),
18846         (gst_base_transform_set_passthrough),
18847         (gst_base_transform_is_passthrough):
18848         Refcounting fixes.
18849
18850         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
18851         Cleanups.
18852
18853         * gst/gstevent.c: (gst_event_finalize):
18854         Set SRC to NULL.
18855
18856         * gst/gstutils.c: (gst_element_unlink),
18857         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
18858         (gst_pad_proxy_setcaps):
18859         * gst/gstutils.h:
18860         Add _get_parent_element() to get a pads parent as an element.
18861
18862 2005-07-18  Wim Taymans  <wim@fluendo.com>
18863
18864         * check/gst/gstbin.c: (GST_START_TEST):
18865         Remove bogus test.
18866
18867 2005-07-18  Wim Taymans  <wim@fluendo.com>
18868
18869         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
18870         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
18871         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
18872         (gst_base_sink_event), (gst_base_sink_do_sync),
18873         (gst_base_sink_chain), (gst_base_sink_loop),
18874         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
18875         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18876         Refcounting fixes.
18877         Fix logic for returning ASYNC when not prerolled.
18878
18879 2005-07-18  Wim Taymans  <wim@fluendo.com>
18880
18881         * gst/gstqueue.c: (gst_queue_handle_sink_event):
18882         Fix nasty refcount bug.
18883
18884 2005-07-16 Philippe Khalaf <burger@speedy.org>
18885
18886         * gst/elements/gstfdsrc.c:
18887         * gst/elements/gstfdsrc.h:
18888         * gst/elements/gstelements.c:
18889         * gst/elements/Makefile.am:
18890         Ported fdsrc to 0.9.
18891
18892 2005-07-16  Wim Taymans  <wim@fluendo.com>
18893
18894         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18895         (gst_base_sink_do_sync):
18896         Fix compile error.
18897
18898 2005-07-16  Wim Taymans  <wim@fluendo.com>
18899
18900         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18901         (gst_base_sink_event), (gst_base_sink_get_times),
18902         (gst_base_sink_do_sync), (gst_base_sink_change_state):
18903         * gst/base/gstbasesink.h:
18904         Store and use discont values when syncing buffers as described
18905         in design docs.
18906         
18907         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18908         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
18909         (gst_base_src_activate_push):
18910         Push discont event when starting.
18911
18912         * gst/elements/gstidentity.c: (gst_identity_transform):
18913         Small cleanups.
18914
18915         * gst/gstbin.c: (gst_bin_change_state):
18916         Small cleanups in base_time  distribution.
18917
18918         * gst/gstelement.c: (gst_element_set_base_time),
18919         (gst_element_get_base_time), (gst_element_change_state):
18920         * gst/gstelement.h:
18921         Added methods for the base_time of the element.
18922         Some MT fixes.
18923
18924         * gst/gstpipeline.c: (gst_pipeline_send_event),
18925         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18926         (gst_pipeline_get_last_stream_time):
18927         * gst/gstpipeline.h:
18928         MT fixes.
18929         Handle seeking as described in design doc, remove stream_time
18930         hack.
18931         Cleanups clock and stream_time selection code. Added accessors
18932         for the stream_time.
18933         
18934
18935 2005-07-16  Andy Wingo  <wingo@pobox.com>
18936
18937         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
18938         (#305291).
18939
18940 2005-07-16  Wim Taymans  <wim@fluendo.com>
18941
18942         * check/gst/gstbin.c: (GST_START_TEST):
18943         Make elements silent as the deep_notify refs the
18944         parent, which might make the test fail.
18945
18946         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18947         Don't hold the lock for too long.
18948
18949 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
18950
18951         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18952           Don't unref the caps we passed to gst_caps_make_writable() after
18953           passing them. gst_caps_make_writable() will do that for us.
18954
18955 2005-07-15  Andy Wingo  <wingo@pobox.com>
18956
18957         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
18958         (#157311).
18959
18960         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
18961         own marshalling function for the handoff signal. Properly type the
18962         buffer as a buffer. Fixes some warnings. Should do a more general
18963         solution.
18964         (gst_identity_class_init): Plug into the right marshaller.
18965
18966 2005-07-15  Wim Taymans  <wim@fluendo.com>
18967
18968         * docs/design/part-TODO.txt:
18969         * docs/design/part-clocks.txt:
18970         * docs/design/part-element-sink.txt:
18971         * docs/design/part-events.txt:
18972         * docs/design/part-gstpipeline.txt:
18973         Updated docs, mostly DISCONT related.
18974
18975 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
18976
18977         * docs/pwg/building-pads.xml:
18978           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
18979
18980 2005-07-15  Andy Wingo  <wingo@pobox.com>
18981
18982         * tools/gst-typefind.c: Update, add copyright block.
18983
18984         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
18985         Normalize and truncate caps before fixation.
18986
18987         * gst/gstcaps.h:
18988         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
18989         discards all but the first structure from its argument.
18990
18991 2005-07-15  Wim Taymans  <wim@fluendo.com>
18992
18993         * gst/base/gstbasetransform.c: (gst_base_transform_init),
18994         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
18995         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18996         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18997         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
18998         (gst_base_transform_chain), (gst_base_transform_change_state),
18999         (gst_base_transform_set_passthrough),
19000         (gst_base_transform_is_passthrough):
19001         * gst/base/gstbasetransform.h:
19002         Make passthrough work using the bufferpools.
19003         Changed API a bit, subclasses have to write into a buffer
19004         provided by the base class.
19005         More debug info in nego functions.
19006         
19007         * gst/elements/gstidentity.c: (gst_identity_init),
19008         (gst_identity_transform):
19009         Port to new base class.
19010
19011 2005-07-15  Wim Taymans  <wim@fluendo.com>
19012
19013         * gst/gstmessage.c: (gst_message_new_state_changed):
19014         * tools/gst-launch.c: (event_loop), (main):
19015         Totally dump messages in -launch with the -m option.
19016         Fix message name for State messages,
19017
19018 2005-07-14  Wim Taymans  <wim@fluendo.com>
19019
19020         * gst/base/gstbasesrc.c: (gst_base_src_loop):
19021         Post error messages on errors.
19022
19023 2005-07-14  Wim Taymans  <wim@fluendo.com>
19024
19025         * gst/gstcaps.c: (gst_caps_do_simplify):
19026         Remove debug info.
19027
19028         * gst/gsterror.h:
19029         Define error for stream stopped.
19030
19031         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19032         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
19033         Do proper return values.
19034
19035         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
19036         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
19037         (gst_pad_get_range):
19038         Better return values.
19039
19040         * gst/gstpad.h:
19041         Reorganise return values, add macro to check for fatal errors.
19042
19043         * gst/gstqueue.c: (gst_queue_chain):
19044         Return proper GstFlowReturn values,
19045
19046 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
19047
19048         * docs/gst/gstreamer-sections.txt:
19049         * docs/gst/gstreamer.types:
19050         * docs/gst/tmpl/gst.sgml:
19051         * docs/gst/tmpl/gstbasesink.sgml:
19052         * docs/gst/tmpl/gstbasesrc.sgml:
19053         * docs/gst/tmpl/gstbasetransform.sgml:
19054         * docs/gst/tmpl/gstbin.sgml:
19055         * docs/gst/tmpl/gstbuffer.sgml:
19056         * docs/gst/tmpl/gstcaps.sgml:
19057         * docs/gst/tmpl/gstclock.sgml:
19058         * docs/gst/tmpl/gstcompat.sgml:
19059         * docs/gst/tmpl/gstconfig.sgml:
19060         * docs/gst/tmpl/gstelement.sgml:
19061         * docs/gst/tmpl/gstelementdetails.sgml:
19062         * docs/gst/tmpl/gstelementfactory.sgml:
19063         * docs/gst/tmpl/gstenumtypes.sgml:
19064         * docs/gst/tmpl/gsterror.sgml:
19065         * docs/gst/tmpl/gstevent.sgml:
19066         * docs/gst/tmpl/gstfakesink.sgml:
19067         * docs/gst/tmpl/gstfakesrc.sgml:
19068         * docs/gst/tmpl/gstfilesink.sgml:
19069         * docs/gst/tmpl/gstfilesrc.sgml:
19070         * docs/gst/tmpl/gstfilter.sgml:
19071         * docs/gst/tmpl/gstformat.sgml:
19072         * docs/gst/tmpl/gstghostpad.sgml:
19073         * docs/gst/tmpl/gstimplementsinterface.sgml:
19074         * docs/gst/tmpl/gstindex.sgml:
19075         * docs/gst/tmpl/gstindexfactory.sgml:
19076         * docs/gst/tmpl/gstinfo.sgml:
19077         * docs/gst/tmpl/gstiterator.sgml:
19078         * docs/gst/tmpl/gstmacros.sgml:
19079         * docs/gst/tmpl/gstmemchunk.sgml:
19080         * docs/gst/tmpl/gstminiobject.sgml:
19081         * docs/gst/tmpl/gstobject.sgml:
19082         * docs/gst/tmpl/gstpad.sgml:
19083         * docs/gst/tmpl/gstpadtemplate.sgml:
19084         * docs/gst/tmpl/gstparse.sgml:
19085         * docs/gst/tmpl/gstpipeline.sgml:
19086         * docs/gst/tmpl/gstplugin.sgml:
19087         * docs/gst/tmpl/gstpluginfeature.sgml:
19088         * docs/gst/tmpl/gstquery.sgml:
19089         * docs/gst/tmpl/gstqueue.sgml:
19090         * docs/gst/tmpl/gstregistry.sgml:
19091         * docs/gst/tmpl/gstregistrypool.sgml:
19092         * docs/gst/tmpl/gstscheduler.sgml:
19093         * docs/gst/tmpl/gstschedulerfactory.sgml:
19094         * docs/gst/tmpl/gststructure.sgml:
19095         * docs/gst/tmpl/gstsystemclock.sgml:
19096         * docs/gst/tmpl/gsttaglist.sgml:
19097         * docs/gst/tmpl/gsttagsetter.sgml:
19098         * docs/gst/tmpl/gsttrace.sgml:
19099         * docs/gst/tmpl/gsttrashstack.sgml:
19100         * docs/gst/tmpl/gsttypefind.sgml:
19101         * docs/gst/tmpl/gsttypefindfactory.sgml:
19102         * docs/gst/tmpl/gsttypes.sgml:
19103         * docs/gst/tmpl/gsturihandler.sgml:
19104         * docs/gst/tmpl/gsturitype.sgml:
19105         * docs/gst/tmpl/gstutils.sgml:
19106         * docs/gst/tmpl/gstvalue.sgml:
19107         * docs/gst/tmpl/gstversion.sgml:
19108         * docs/gst/tmpl/gstxml.sgml:
19109         * docs/libs/tmpl/gstcontrol.sgml:
19110         * docs/libs/tmpl/gstdataprotocol.sgml:
19111         * docs/libs/tmpl/gstdparam.sgml:
19112         * docs/libs/tmpl/gstdplinint.sgml:
19113         * docs/libs/tmpl/gstdpman.sgml:
19114         * docs/libs/tmpl/gstdpsmooth.sgml:
19115         * docs/libs/tmpl/gstgetbits.sgml:
19116         * docs/libs/tmpl/gstunitconvert.sgml:
19117         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
19118         (gst_push_src_base_init), (gst_push_src_class_init),
19119         (gst_push_src_init), (gst_push_src_create):
19120         * gst/base/gstpushsrc.h:
19121         * gst/elements/gstelements.c:
19122         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
19123         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
19124         (gst_fake_sink_init), (gst_fake_sink_set_property),
19125         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
19126         (gst_fake_sink_event), (gst_fake_sink_preroll),
19127         (gst_fake_sink_render), (gst_fake_sink_change_state):
19128         * gst/elements/gstfakesink.h:
19129         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
19130         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
19131         (gst_fake_src_base_init), (gst_fake_src_class_init),
19132         (gst_fake_src_init), (gst_fake_src_event_handler),
19133         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
19134         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
19135         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
19136         (gst_fake_src_create_buffer), (gst_fake_src_create),
19137         (gst_fake_src_start), (gst_fake_src_stop):
19138         * gst/elements/gstfakesrc.h:
19139         * gst/elements/gstfilesink.c: (_do_init),
19140         (gst_file_sink_base_init), (gst_file_sink_class_init),
19141         (gst_file_sink_init), (gst_file_sink_dispose),
19142         (gst_file_sink_set_location), (gst_file_sink_set_property),
19143         (gst_file_sink_get_property), (gst_file_sink_open_file),
19144         (gst_file_sink_close_file), (gst_file_sink_query),
19145         (gst_file_sink_event), (gst_file_sink_render),
19146         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
19147         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
19148         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
19149         * gst/elements/gstfilesink.h:
19150         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
19151         (gst_file_src_class_init), (gst_file_src_init),
19152         (gst_file_src_finalize), (gst_file_src_set_location),
19153         (gst_file_src_set_property), (gst_file_src_get_property),
19154         (gst_file_src_map_region), (gst_file_src_map_small_region),
19155         (gst_file_src_create_mmap), (gst_file_src_create_read),
19156         (gst_file_src_create), (gst_file_src_is_seekable),
19157         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
19158         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
19159         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
19160         (gst_file_src_uri_handler_init):
19161         * gst/elements/gstfilesrc.h:
19162           more autistic cleanliness in functions/names/defines
19163
19164 2005-07-13  Andy Wingo  <wingo@pobox.com>
19165
19166         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
19167         source couldn't negotiate.
19168
19169         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
19170         connections again.
19171
19172         * gst/gstutils.h:
19173         * gst/gstutils.c (gst_element_link_pads_filtered): New old
19174         function. I am channeling Hades. Put your boots on suckers!!!
19175
19176 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19177
19178         * testsuite/caps/Makefile.am:
19179         * testsuite/caps/value_compare.c:
19180         * testsuite/caps/value_intersect.c:
19181         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19182           move two testsuite apps over to the check dir
19183
19184 2005-07-12  Wim Taymans  <wim@fluendo.com>
19185
19186         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
19187         Added more debug info in the negotiate process.
19188
19189         * gst/gstmessage.h:
19190         Prepare for segment playback.
19191
19192         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
19193         Better debugging.
19194
19195         * gst/gstutils.c:
19196         Some more docs.
19197
19198         * tools/gst-launch.c: (main):
19199         NULL pipeline on errors.
19200
19201 2005-07-12  Andy Wingo  <wingo@pobox.com>
19202
19203         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
19204         not it comes from a malloc region. Make sure our copy gets freed.
19205
19206 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19207
19208         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19209         * check/gst/gstmessage.c: (GST_START_TEST):
19210         * check/gst/gststructure.c: (GST_START_TEST),
19211         (gst_structure_suite), (main):
19212           more testing
19213         * gst/gstelement.c: (gst_element_message_full):
19214           clean up GError and debug string now that they get copied
19215         * gst/gstmessage.c: (gst_message_new_error),
19216         (gst_message_new_warning), (gst_message_parse_error),
19217         (gst_message_parse_warning):
19218           use GST_TYPE_G_ERROR for structure_new, and take copies of
19219           arguments, so that we don't mess up refcounting
19220
19221 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19222
19223         * check/Makefile.am:
19224           add per-test valgrind targets
19225         * check/gst-libs/gdp.c: (GST_START_TEST),
19226         (gst_data_protocol_suite), (main):
19227           clean up
19228
19229 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19230
19231         * check/Makefile.am:
19232           instate more valgrindable tests
19233         * check/elements/gstfakesrc.c: (chain_func), (event_func),
19234         (GST_START_TEST), (fakesrc_suite):
19235         * check/gst/gstpad.c: (GST_START_TEST):
19236         * check/gst/gststructure.c: (GST_START_TEST):
19237           fix test leaks
19238         * docs/gst/tmpl/gstminiobject.sgml:
19239         * gst/gstpad.c: (gst_pad_finalize):
19240           fix the static mutex leak
19241
19242 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19243
19244         * check/Makefile.am:
19245           add two more tests for valgrinding
19246         * check/gst/gstvalue.c: (GST_START_TEST):
19247           test refcount of deserialized buffer, found a leak
19248         * docs/gst/gstreamer-docs.sgml:
19249         * docs/gst/gstreamer-sections.txt:
19250         * docs/gst/gstreamer.types:
19251         * docs/gst/tmpl/gstminiobject.sgml:
19252           add miniobject to docs
19253         * gst/gstminiobject.c:
19254           add some docs
19255         * gst/gstvalue.c: (gst_value_deserialize_buffer),
19256         (gst_string_unwrap):
19257           fix a hard-to-find invalid write for one of the tests
19258           fix a leak for deserialized buffers
19259
19260 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19261
19262         * docs/pwg/advanced-events.xml:
19263         * docs/pwg/advanced-request.xml:
19264         * docs/pwg/advanced-scheduling.xml:
19265         * docs/pwg/appendix-porting.xml:
19266         * docs/pwg/building-boiler.xml:
19267         * docs/pwg/intro-preface.xml:
19268         * docs/pwg/other-ntoone.xml:
19269           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
19270           of example code and explanation for pad activation, loop() and
19271           getrange() functions and a bit more. Remove old comments pointing
19272           to loop-functions.
19273         * examples/pwg/Makefile.am:
19274           Add loop/getrange examples.
19275
19276 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19277
19278         * configure.ac:
19279           check for valgrind binary + some fixes
19280         * check/gst.supp:
19281           valgrind suppressions for the tests
19282         * check/Makefile.am:
19283           add a valgrind: target that valgrinds the unit tests
19284         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
19285         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19286         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19287         * check/gst/gstghostpad.c:
19288           added some cleanup
19289         * check/gst/gstdata.c:
19290           removed
19291         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
19292         (thread_unref), (gst_mini_object_suite), (main):
19293           added
19294         * gst/gst.c: (gst_deinit):
19295         * gst/gst.h:
19296           add a method to clean up.
19297         * gst/gstsystemclock.c: (gst_system_clock_dispose),
19298         (gst_system_clock_obtain):
19299           allow for disposing the system clock.
19300         * tools/gst-launch.c: (main):
19301           deinit
19302
19303 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19304
19305         * docs/gst/tmpl/gstbasesrc.sgml:
19306         * docs/gst/tmpl/gstfakesrc.sgml:
19307         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19308         (gst_base_src_init), (gst_base_src_set_property),
19309         (gst_base_src_get_property), (gst_base_src_get_range),
19310         (gst_base_src_start):
19311         * gst/base/gstbasesrc.h:
19312           add num-buffers property
19313         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19314         (gst_fakesrc_init), (gst_fakesrc_set_property),
19315         (gst_fakesrc_get_property), (gst_fakesrc_create),
19316         (gst_fakesrc_start):
19317           remove num-buffers property
19318
19319 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19320
19321         * docs/gst/gstreamer-sections.txt:
19322         * docs/gst/tmpl/gstbasesink.sgml:
19323         * docs/gst/tmpl/gstbasesrc.sgml:
19324         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
19325         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
19326         (gst_base_sink_finalize), (gst_base_sink_set_clock),
19327         (gst_base_sink_set_property), (gst_base_sink_get_property),
19328         (gst_base_sink_handle_object), (gst_base_sink_event),
19329         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19330         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
19331         (gst_base_sink_loop), (gst_base_sink_deactivate),
19332         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
19333         (gst_base_sink_change_state):
19334         * gst/base/gstbasesink.h:
19335         * gst/base/gstbasesrc.h:
19336         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
19337         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
19338         (gst_filesink_init):
19339           more macro splitting
19340
19341 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19342
19343         * gst/gstelement.c: (gst_element_get_bus):
19344           add debug
19345         * tools/gst-launch.c: (check_intr), (event_loop):
19346           fix bus leaks
19347
19348 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19349
19350         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
19351           fix a caps leak
19352
19353 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19354
19355         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19356         (gst_base_src_finalize):
19357           add finalize method and clean up properly
19358         * gst/gstpipeline.c: (gst_pipeline_dispose):
19359           add debug
19360
19361 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19362
19363         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
19364         (gst_bin_suite):
19365           add more things to check
19366         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19367         * gst/gstelement.c:
19368           more debug
19369
19370 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19371
19372         * check/elements/gstfakesrc.c: (chain_func), (event_func),
19373         (GST_START_TEST), (fakesrc_suite):
19374         * check/gst-libs/gdp.c: (GST_START_TEST):
19375         * check/gst/gst.c: (GST_START_TEST):
19376         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19377         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19378         * check/gst/gstbus.c: (GST_START_TEST):
19379         * check/gst/gstcaps.c: (GST_START_TEST):
19380         * check/gst/gstdata.c: (GST_START_TEST):
19381         * check/gst/gstelement.c: (GST_START_TEST):
19382         * check/gst/gstghostpad.c: (GST_START_TEST):
19383         * check/gst/gstiterator.c: (GST_START_TEST):
19384         * check/gst/gstmessage.c: (GST_START_TEST):
19385         * check/gst/gstobject.c: (GST_START_TEST):
19386         * check/gst/gstpad.c: (GST_START_TEST):
19387         * check/gst/gststructure.c: (GST_START_TEST):
19388         * check/gst/gstsystemclock.c: (GST_START_TEST),
19389         (gst_systemclock_suite):
19390         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19391         * check/gst/gstvalue.c: (GST_START_TEST):
19392         * check/pipelines/cleanup.c: (GST_START_TEST):
19393         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19394         * check/states/sinks.c: (GST_START_TEST):
19395         * check/gstcheck.c: (gst_check_init):
19396         * check/gstcheck.h:
19397           add debugging category
19398           use GST_START_TEST now, so we add a debug line
19399
19400 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19401
19402         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
19403           add test for state change message on a bin
19404         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
19405           add another test
19406         * gst/gstbin.c: (gst_bin_init):
19407         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
19408         * gst/gstelement.c: (gst_element_post_message),
19409         (gst_element_set_state):
19410         * gst/gstelementfactory.c: (gst_element_factory_create):
19411         * gst/gstmessage.c: (gst_message_new):
19412         * gst/gstscheduler.c:
19413           various debugging additions and cleanups
19414
19415 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19416
19417         * check/Makefile.am:
19418         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
19419         (main):
19420           adding tests for elements
19421         * gst/gstelement.c: (gst_element_dispose):
19422
19423 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19424
19425         * gst/registries/gstlibxmlregistry.c: (load_feature):
19426           plug more leaks.  A simple gst_init() now is leakfree, yay.
19427
19428 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19429
19430         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
19431         (gst_xml_registry_load):
19432           plug another memleak
19433
19434 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19435
19436         * configure.ac:
19437           use GST_SET_ERROR_CFLAGS
19438         * docs/faq/cvs.xml:
19439           change to ERROR_CFLAGS
19440
19441 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19442
19443         * configure.ac:
19444           make GST_ERROR_CFLAGS overridable and re-enable Werror
19445         * docs/faq/cvs.xml:
19446           add a note about error CFLAGS
19447         * docs/gst/tmpl/gstfakesrc.sgml:
19448         * gst/elements/gstfakesrc.c:
19449           comment out some unused code
19450         * gst/gst.c: (split_and_iterate):
19451         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
19452         (load_feature):
19453           plug some memleaks
19454
19455 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19456
19457         * common/Makefile.am:
19458         * common/gtk-doc.mak:
19459         * docs/gst/Makefile.am:
19460           factor out gtk-doc.mak
19461
19462 2005-07-07  Wim Taymans  <wim@fluendo.com>
19463
19464         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
19465         (gst_thread_scheduler_dispose):
19466         Unlock the STREAM_LOCK completely.
19467
19468 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19469
19470         * check/Makefile.am:
19471         * check/elements/.cvsignore:
19472         * check/elements/gstfakesrc.c: (chain_func), (event_func),
19473         (START_TEST), (fakesrc_suite), (main):
19474         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19475         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19476         (gst_fakesrc_create), (gst_fakesrc_start):
19477         * gst/elements/gstfakesrc.h:
19478           adding a first element test
19479
19480 2005-07-07  Andy Wingo  <wingo@pobox.com>
19481
19482         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
19483         debug message.
19484
19485 2005-07-07  Wim Taymans  <wim@fluendo.com>
19486
19487         * gst/gstquery.c:
19488         * gst/gstquery.h:
19489         Remove old types
19490
19491 2005-07-07  Wim Taymans  <wim@fluendo.com>
19492
19493         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19494         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
19495         Allow subclasses to implement their own negotiation.
19496
19497 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19498
19499         * docs/design/part-gstbin.txt:
19500         * docs/design/part-gstpipeline.txt:
19501           Update design notes to reflect the movement of
19502           responsibility for bus handling from GstPipeline to
19503           GstBin
19504
19505 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19506
19507         * configure.ac:
19508           Remove unnecessary queue2/3/4 examples.
19509
19510 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19511
19512         * examples/Makefile.am:
19513         * examples/helloworld/helloworld.c: (event_loop), (main):
19514         * examples/queue/queue.c: (event_loop), (main):
19515         * examples/queue2/queue2.c: (main):
19516           Update a couple of the examples to work again.
19517
19518         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19519         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
19520          Spelling corrections and extra debug.
19521         
19522         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
19523         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
19524         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
19525         * gst/gstbin.h:
19526         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
19527         (gst_pipeline_change_state):
19528         * gst/gstpipeline.h:
19529           Move the bus handler for children to the GstBin, and create a
19530           separate bus for receiving messages from children to the one the
19531           bus sends 'upwards' on.
19532
19533 2005-07-06  Wim Taymans  <wim@fluendo.com>
19534
19535         * gst/base/README:
19536         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19537         (gst_base_sink_handle_object), (gst_base_sink_loop),
19538         (gst_base_sink_change_state):
19539         * gst/base/gstbasesink.h:
19540         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19541         (gst_base_src_init), (gst_base_src_setcaps),
19542         (gst_base_src_getcaps), (gst_base_src_loop),
19543         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
19544         (gst_base_src_start), (gst_base_src_change_state):
19545         * gst/base/gstbasesrc.h:
19546         Make basesrc negotiate.
19547         Handle the case where preroll fails in basesink.
19548         Update README.
19549
19550 2005-07-06  Wim Taymans  <wim@fluendo.com>
19551
19552         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
19553         Implement the fixate function.
19554         Clean up acceptcaps.
19555
19556 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19557
19558         * docs/pwg/building-filterfactory.xml:
19559         * docs/pwg/pwg.xml:
19560           Remove never-written filter-factory chapter; I'll add the various
19561           base classes to part 4 ("other element types") later on.
19562
19563 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19564
19565         * docs/pwg/advanced-negotiation.xml:
19566         * docs/pwg/building-boiler.xml:
19567         * docs/pwg/building-pads.xml:
19568         * docs/pwg/pwg.xml:
19569         * examples/pwg/Makefile.am:
19570           Add a chapter on caps negotiation, simplify the original code
19571           samples a bit w.r.t. caps negotiation, add link to the advanced
19572           section. Add a bunch of examples showing different use cases of
19573           different types of caps negotiation. Upstream renegotiation isn't
19574           fully documented yet since nobody knows how that works.
19575
19576 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19577
19578         * check/gst/gstpad.c:
19579         * check/gstcheck.c:
19580         * gst/gstpad.c: (gst_pad_get_internal_links_default):
19581           if pad has no parent, return NULL as list of internal links
19582
19583 2005-07-05  Andy Wingo  <wingo@pobox.com>
19584
19585         * gst/elements/gstfilesrc.c:
19586         * gst/elements/gstfakesrc.c: 
19587         * gst/base/gstpushsrc.c:
19588         * gst/base/gstbasesrc.h: 
19589         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
19590         
19591 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
19592
19593         * Makefile.am:
19594           better report generation target (lcov needs a patch)
19595
19596 2005-07-05  Andy Wingo  <wingo@pobox.com>
19597
19598         * gst/elements, testsuite: Null if we got it...
19599
19600 2005-07-05  Wim Taymans  <wim@fluendo.com>
19601
19602         * configure.ac:
19603         * libs/gst/dataprotocol/Makefile.am:
19604         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
19605         * libs/gst/dataprotocol/dataprotocol.h:
19606         * pkgconfig/Makefile.am:
19607         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
19608         * pkgconfig/gstreamer-dataprotocol.pc.in:
19609         Ported dataprotol to 0.9. 
19610         Added pkgconfig files.
19611
19612 2005-07-05  Andy Wingo  <wingo@pobox.com>
19613
19614         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
19615         Default to returning TRUE for the case when tranform_caps returns
19616         a fixed caps, like for identity or volume.
19617
19618         * check/gst/gstbus.c (pound_bus_with_messages): 
19619         * check/gst/gstmessage.c (START_TEST): 
19620         * check/pipelines/simple_launch_lines.c (got_handoff): Application
19621         message API change.
19622
19623         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
19624         logic weaks here: always run transform_caps, trying passthrough
19625         operation only if the original caps intersects with the transform.
19626
19627         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
19628         source and sink caps.
19629
19630         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
19631         Intersect the peer caps with the pad template before going into
19632         transform_caps.
19633         (gst_base_transform_transform_caps): More debugging.
19634
19635         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
19636         src argument.
19637
19638 2005-07-04  Edward Hervey  <edward@fluendo.com>
19639
19640         * gst/gstutils.c:
19641         * gst/gstutils.h:
19642         (gst_pad_add_*_probe): now returns the signal id for better wrapping
19643         in bindings.
19644
19645 2005-07-04  Andy Wingo  <wingo@pobox.com>
19646
19647         * check/gst/gstpad.c: Only set explicit caps on pads.
19648
19649 2005-07-01  Andy Wingo  <wingo@pobox.com>
19650
19651         * tests/network-clock.scm: Commentary update.
19652
19653         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
19654         Didn't really make sense, not implementable with basetransform,
19655         etc.
19656         (gst_identity_transform): Unref inbuf via make_writable. Feeble
19657         attempt at implementing the sync property, needs an unlock method.
19658
19659         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
19660         New func, by default returns the same caps (the identity
19661         transformation).
19662         (gst_base_transform_getcaps): Uses transform_caps to return
19663         something sensible.
19664         (gst_base_transform_setcaps): Complicated logic to get caps on
19665         both pads, even if they are different, and to call set_caps once
19666         for every time both pads get their caps set.
19667         (gst_base_transform_handle_buffer): Give the ref to the transform
19668         function. Allows in-place modification of the buffer.
19669
19670         * gst/base/gstbasetransform.h (transform_caps): New class method.
19671         Given caps on one side, what can I do on the other.
19672         (set_caps): Take two caps, one for each side of the element.
19673
19674         * gst/gstpad.h:
19675         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
19676         caps in place. This is safe because we can check the mutability of
19677         the caps, and a good idea because fixate functions are just called
19678         as a matter of last resort. (Not actually implemented.)
19679         (gst_pad_set_caps): If the caps we're setting is actually the same
19680         as the existing pad caps, just update the pointer without calling
19681         setcaps. Assert that caps is either NULL or fixed, as per the
19682         docs.
19683
19684         * gst/gstghostpad.c: Update for fixate changes.
19685
19686 2005-07-02  Andy Wingo  <wingo@pobox.com>
19687
19688         * gst/gstcaps.c:
19689         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
19690         two refcounts makes it immutable, which is enough. Doc more.
19691
19692 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
19693
19694         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
19695           Put the mini_object into GValue as a mini_object,
19696           not a gpointer, since that's how we declared
19697           the signal.
19698
19699 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19700
19701         * examples/pwg/Makefile.am:
19702           Fix buildbot again.
19703
19704 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19705
19706         * docs/pwg/building-testapp.xml:
19707           Add extra check.
19708         * examples/pwg/Makefile.am:
19709           Fix buildbot.
19710
19711 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19712
19713         * configure.ac:
19714         * examples/Makefile.am:
19715         * examples/pwg/Makefile.am:
19716         * examples/pwg/extract.pl:
19717           Enable building the PWG examples.
19718         * docs/pwg/advanced-interfaces.xml:
19719           Add URI interface stub.
19720         * docs/pwg/advanced-types.xml:
19721         * docs/pwg/other-autoplugger.xml:
19722         * docs/pwg/appendix-porting.xml:
19723         * docs/pwg/pwg.xml:
19724           Add porting guide (mostly stubs), remove autoplugging (see ADM).
19725         * docs/pwg/building-boiler.xml:
19726         * docs/pwg/building-chainfn.xml:
19727         * docs/pwg/building-pads.xml:
19728         * docs/pwg/building-props.xml:
19729         * docs/pwg/building-state.xml:
19730         * docs/pwg/building-testapp.xml:
19731           Update the building-*.xml parts for 0.9 changes. All examples
19732           code blocks compile in examples/pwg/*.
19733
19734 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19735
19736         * docs/manual/advanced-autoplugging.xml:
19737         * docs/manual/appendix-checklist.xml:
19738         * docs/manual/appendix-integration.xml:
19739         * docs/manual/highlevel-components.xml:
19740           Fix playbin/decodebin examples, update docs a bit, mention bus
19741           instead of signals in various places, mention kmplayer and
19742           kaffeine since they have a working GStreamer backend in the KDE
19743           section.
19744
19745 2005-06-30  Wim Taymans  <wim@fluendo.com>
19746
19747         * CHANGES-0.9:
19748         * docs/design/draft-ghostpads.txt:
19749         * docs/design/draft-push-pull.txt:
19750         * docs/design/draft-query.txt:
19751         * docs/design/part-TODO.txt:
19752         * docs/design/part-query.txt:
19753         Added CHANGES-0.9 doc, updated status of other docs.
19754         
19755         * gst/gstquery.h:
19756         Remove "hmm" macro
19757
19758 2005-06-30  Wim Taymans  <wim@fluendo.com>
19759
19760         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19761         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
19762         (gst_base_sink_change_state):
19763         * gst/base/gstbasesink.h:
19764         Some tweaks, only EOS and a buffer complete a preroll.
19765
19766 2005-06-30  Andy Wingo  <wingo@pobox.com>
19767
19768         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
19769         activate_push down to the internal pad as well.
19770
19771 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
19772
19773         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19774
19775         * gst/gsttaginterface.c:
19776           Some documentation fixes (#307394 and #307397).
19777
19778 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
19779
19780         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19781
19782         * gst/gstvalue.c: (gst_value_intersect_list):
19783           Fix memleak (#309125).
19784
19785 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19786
19787         * docs/manual/advanced-dataaccess.xml:
19788           Fix fakesrc example to compile; doesn't work, bug somewhere...?
19789         * docs/manual/basics-pads.xml:
19790           Add reference for filtered caps to above chapter.
19791
19792 2005-06-30  Wim Taymans  <wim@fluendo.com>
19793
19794         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
19795         (gst_bin_change_state):
19796         Probes are gone.
19797         Lame attempt at making the state change function a bit
19798         more readable.
19799
19800 2005-06-30  Wim Taymans  <wim@fluendo.com>
19801
19802         * docs/design/part-clocks.txt:
19803         * docs/design/part-element-sink.txt:
19804         * docs/design/part-events.txt:
19805         * docs/design/part-preroll.txt:
19806         * docs/design/part-states.txt:
19807         Some more tweeks and additions to the docs.
19808
19809 2005-06-30  Wim Taymans  <wim@fluendo.com>
19810
19811         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19812         (default_have_data), (gst_pad_class_init), (gst_pad_init),
19813         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19814         (gst_pad_check_pull_range), (gst_pad_get_range),
19815         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
19816         * gst/gstpad.h:
19817         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
19818         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19819         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19820         (gst_pad_remove_buffer_probe):
19821         Removed atomic operations, use existing LOCK.
19822         Move exception handling out of main code path.
19823
19824 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19825
19826         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19827         (silly_return_true_function), (gst_pad_class_init),
19828         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19829         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
19830         (gst_pad_send_event):
19831           Fix accumulator, add default value by using _emitv() instead
19832           of _emit() for signal emission.
19833
19834 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19835
19836         * docs/manual/advanced-dataaccess.xml:
19837         * examples/manual/Makefile.am:
19838           Add probe example.
19839         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
19840           Make work (??).
19841
19842 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
19843
19844         * gst/elements/gstfilesink.c: (gst_filesink_render):
19845           Simplify code so that we don't have to handle short
19846           writes and return GST_FLOW_ERROR if an error occured.
19847
19848 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19849
19850         * docs/gst/gstreamer-docs.sgml:
19851           Remove probes more.
19852
19853 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19854
19855         * docs/gst/gstreamer-sections.txt:
19856         * docs/gst/tmpl/gstpad.sgml:
19857         * docs/gst/tmpl/gstprobe.sgml:
19858         * gst/Makefile.am:
19859         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19860         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
19861         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
19862         (gst_pad_push_event), (gst_pad_send_event):
19863         * gst/gstpad.h:
19864         * gst/gstutils.c: (gst_pad_add_data_probe),
19865         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19866         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19867         (gst_pad_remove_buffer_probe):
19868         * gst/gstutils.h:
19869           Remove old probes, add new g-signal-based probes and some utility
19870           functions.
19871
19872 2005-06-29  Edward Hervey  <edward@fluendo.com>
19873
19874         * gst/gstelementfactory.c:
19875         * gst/gstutils.h:
19876         * gst/gstutils.c:
19877         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
19878         the definition to the header file.
19879
19880 2005-06-29  Andy Wingo  <wingo@pobox.com>
19881
19882         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
19883         plugins from the source directory.
19884
19885 2005-06-29  Wim Taymans  <wim@fluendo.com>
19886
19887         * docs/gst/tmpl/gstbuffer.sgml:
19888         * docs/gst/tmpl/gstclock.sgml:
19889         Some fixings for blantently wrong text.
19890
19891 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19892
19893         * check/Makefile.am:
19894         * gst/gst.c: (add_path_func), (init_pre):
19895         * gst/gstregistry.c: (gst_registry_add_path):
19896           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
19897           only scan the GST_PLUGIN_PATH locations, and not add
19898           system locations
19899
19900 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19901
19902         * docs/gst/gstreamer-sections.txt:
19903         * docs/gst/tmpl/gstbasesrc.sgml:
19904         * gst/gstelement.c:
19905         * gst/gstelement.h:
19906         * gst/gstevent.c:
19907         * gst/gstutils.c:
19908           doc fixes
19909
19910 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19911
19912         * docs/manual/advanced-autoplugging.xml:
19913           Fix autoplugging example.
19914
19915 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19916
19917         * docs/manual/advanced-autoplugging.xml:
19918         * docs/manual/mime-world.fig:
19919           Try to get autoplugging working, fix type detection. Fix text
19920           in hello-world image.
19921
19922 2005-06-29  Wim Taymans  <wim@fluendo.com>
19923
19924         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19925         (gst_base_sink_change_state):
19926         Small debug line.
19927
19928         * gst/gstclock.h:
19929         map SIGNAL and BROADCAST to the right function.
19930
19931         * gst/gstobject.h:
19932         Remove redundant braces.
19933
19934         * gst/gstpad.c: (gst_pad_set_caps):
19935         Don't call setcaps function when reseting caps to NULL.
19936
19937         * gst/gstsystemclock.c: (gst_system_clock_dispose),
19938         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
19939         (gst_system_clock_id_unschedule):
19940         Use BROADCAST as this is what we do.
19941
19942 2005-06-29  Wim Taymans  <wim@fluendo.com>
19943
19944         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19945         We are actually prerolling before commiting the state
19946         change. 
19947
19948 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19949
19950         * docs/manual/advanced-clocks.xml:
19951         * docs/manual/advanced-interfaces.xml:
19952         * docs/manual/advanced-metadata.xml:
19953         * docs/manual/advanced-position.xml:
19954         * docs/manual/advanced-schedulers.xml:
19955         * docs/manual/advanced-threads.xml:
19956         * docs/manual/appendix-porting.xml:
19957         * docs/manual/basics-bins.xml:
19958         * docs/manual/basics-bus.xml:
19959         * docs/manual/basics-elements.xml:
19960         * docs/manual/basics-helloworld.xml:
19961         * docs/manual/basics-pads.xml:
19962         * docs/manual/highlevel-components.xml:
19963         * docs/manual/manual.xml:
19964         * docs/manual/thread.fig:
19965           Update (until threads/scheduling) Application Development Manual;
19966           remove GstThread, add GstBus, add simple porting checklist, add
19967           documentation for tag writing, clocks, make all examples until this
19968           part compile and run.
19969         * examples/manual/Makefile.am:
19970           Update from changes to Application Development Manual; add bus
19971           example, remove thread example.
19972
19973 2005-06-28  Wim Taymans  <wim@fluendo.com>
19974
19975         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
19976         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
19977         (gst_bus_source_dispatch):
19978         Add debugging messages.
19979         Make internal methods static.
19980         Handle the case where the bus is flushed in the handler.
19981         
19982         * gst/gstelement.c: (gst_element_get_bus):
19983         Fix refcount in _get_bus();
19984
19985         * gst/gstpipeline.c: (gst_pipeline_change_state),
19986         (gst_pipeline_get_clock_func):
19987         Clock refcounting fixes.
19988         Handle the case where preroll timed out more gracefully.
19989         
19990         * gst/gstsystemclock.c: (gst_system_clock_dispose):
19991         Clean up the internal thread in dispose. This is needed
19992         for subclasses that actually get disposed.
19993         
19994         * gst/schedulers/threadscheduler.c:
19995         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19996         (gst_thread_scheduler_dispose):
19997         Free thread pool in dispose.
19998
19999 2005-06-28  Andy Wingo  <wingo@pobox.com>
20000
20001         * tests/network-clock-utils.scm (debug, print-event): New utils.
20002
20003         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
20004         (*packet-loss*): Unified loss probability.
20005         (network-time): Report out-of-band events.
20006
20007         * tests/plot-data: Add support for out-of-band events. Hack it
20008         into this script instead of passing it down the pipe; should fix
20009         this later.
20010
20011 2005-06-28  Wim Taymans  <wim@fluendo.com>
20012
20013         * docs/gst/gstreamer.types:
20014         * docs/gst/tmpl/gstbasesrc.sgml:
20015         * docs/gst/tmpl/gstpad.sgml:
20016         Docs fixes.
20017
20018 2005-06-28  Wim Taymans  <wim@fluendo.com>
20019
20020         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20021         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
20022         (gst_proxy_pad_do_fixatecaps):
20023         Correctly proxy the check_pull_range function.
20024
20025 2005-06-28  Andy Wingo  <wingo@pobox.com>
20026
20027         * tests/network-clock.scm: Removed need for slib.
20028         
20029 2005-06-28  Wim Taymans  <wim@fluendo.com>
20030
20031         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
20032         (gst_basesink_preroll_queue_flush):
20033         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
20034         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
20035         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20036         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
20037         (gst_proxy_pad_set_property):
20038         * gst/gstpad.c:
20039         * gst/gstpad.h:
20040         * gst/gstqueue.c: (gst_queue_init):
20041         The deprecated pad loop function is removed now.
20042
20043 2005-06-28  Andy Wingo  <wingo@pobox.com>
20044
20045         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
20046         New parameters, simulate network packet loss.
20047
20048         * tests/network-clock-utils.scm: Initialize the RNG.
20049
20050 2005-06-28  Wim Taymans  <wim@fluendo.com>
20051
20052         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
20053         (gst_basesink_event), (gst_basesink_deactivate):
20054         Flushing the preroll queue always needs to unlock the waiters.
20055
20056 2005-06-28  Edward Hervey  <edward@fluendo.com>
20057
20058         * gst/gstpipeline.c: (gst_pipeline_send_event): 
20059         Wheen a seek was successful on a pipeline, set the stream_time to the
20060         seek offset in order to have a synchronized stream_time.
20061
20062 2005-06-28  Wim Taymans  <wim@fluendo.com>
20063
20064         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20065         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
20066         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
20067         (gst_proxy_pad_do_fixatecaps):
20068         Call wrapper function instead of just calling the function
20069         pointers. This takes care of any locking and whatmore.
20070
20071 2005-06-28  Wim Taymans  <wim@fluendo.com>
20072
20073         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
20074         (gst_pad_pull_range):
20075         * gst/gstpad.h:
20076         CONNECTED -> LINKED.
20077
20078 2005-06-28  Andy Wingo  <wingo@pobox.com>
20079
20080         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
20081         source-munging commit!!!
20082
20083         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
20084         (gst_object_sink): Take gpointer arguments, not GstObject --
20085         avoids casts. Like GLib.
20086
20087         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
20088         activate.
20089
20090 2005-06-27  Andy Wingo  <wingo@pobox.com>
20091
20092         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
20093         remaining buffer.
20094
20095         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
20096         returns a sorted copy of the trace list.
20097         (gst_alloc_trace_print_live): New API, only prints traces with
20098         live objects. Sort the list.
20099         (gst_alloc_trace_print_all): Sort the list.
20100         (gst_alloc_trace_print): Align columns.
20101
20102         * gst/elements/gstttypefindelement.c:
20103         * gst/elements/gsttee.c:
20104         * gst/base/gstbasesrc.c:
20105         * gst/base/gstbasesink.c:
20106         * gst/base/gstbasetransform.c:
20107         * gst/gstqueue.c: Adapt for pad activation changes.
20108
20109         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
20110         sched.
20111         (gst_pipeline_dispose): Drop ref on sched.
20112
20113         * gst/gstpad.c (gst_pad_init): Set the default activate func.
20114         (gst_pad_activate_default): Push mode by default.
20115         (pre_activate_switch, post_activate_switch): New stubs, things to
20116         do before and after switching activation modes on pads.
20117         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
20118         the pad's activate function to choose which mode to activate.
20119         Shortcut on deactivation and call the right function directly.
20120         (gst_pad_activate_pull): New API, (de)activates a pad in pull
20121         mode.
20122         (gst_pad_activate_push): New API, same for push mode.
20123         (gst_pad_set_activate_function) 
20124         (gst_pad_set_activatepull_function) 
20125         (gst_pad_set_activatepush_function): Setters for new API.
20126
20127         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
20128         Trace all miniobjects.
20129         (gst_mini_object_make_writable): Unref the arg if we copy, like
20130         gst_caps_make_writable.
20131
20132         * gst/gstmessage.c (_gst_message_initialize): No trace init.
20133
20134         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
20135         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
20136         Adapt for new pad API.
20137
20138         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
20139
20140         * gst/gstelement.h:
20141         * gst/gstelement.c (gst_element_iterate_src_pads) 
20142         (gst_element_iterate_sink_pads): New API functions.
20143         
20144         * gst/gstelement.c (iterator_fold_with_resync): New utility,
20145         should fold into gstiterator.c in some form.
20146         (gst_element_pads_activate): Simplified via use of fold and
20147         delegation of decisions to gstpad->activate.
20148
20149         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
20150         help in debugging.
20151
20152         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
20153         class once in init, like gstmessage. Didn't run into this issue
20154         but it seems correct. Don't initialize a trace, gstminiobject does
20155         that.
20156
20157         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
20158         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
20159         to the bus.
20160         (assert_live_count): New util function, uses alloc traces to check
20161         cleanup.
20162
20163         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
20164         To be modified when unlink drops the internal pad.
20165
20166 2005-06-27  Wim Taymans  <wim@fluendo.com>
20167
20168         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
20169         (gst_bin_change_state):
20170         Cleanup the get_state() function a little, make sure it
20171         iterates the same set of elements.
20172         Added stub iterate_state_order().
20173
20174 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20175
20176         * docs/gst/gstreamer-docs.sgml:
20177         * docs/gst/gstreamer-sections.txt:
20178         * docs/gst/gstreamer.types:
20179         * docs/gst/tmpl/gstbasesink.sgml:
20180         * docs/gst/tmpl/gstbasesrc.sgml:
20181         * docs/gst/tmpl/gstbasetransform.sgml:
20182         * docs/gst/tmpl/gstelement.sgml:
20183         * docs/gst/tmpl/gstiterator.sgml:
20184         * gst/base/gstbasesrc.c:
20185         * gst/base/gstbasesrc.h:
20186         * gst/base/gstbasetransform.h:
20187         * gst/gstelement.c:
20188         * gst/gstiterator.h:
20189           adding basetransform and iterator docs
20190
20191 2005-06-27  Andy Wingo  <wingo@pobox.com>
20192
20193         * docs/design/part-activation.txt: Notes on how activation should
20194         work -- not quite implemented yet.
20195
20196 2005-06-25  Wim Taymans  <wim@fluendo.com>
20197
20198         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
20199         At least get the chain function correct, needs more
20200         fixing.
20201
20202 2005-06-25  Wim Taymans  <wim@fluendo.com>
20203
20204         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20205         (gst_basesink_handle_object), (gst_basesink_event),
20206         (gst_basesink_do_sync), (gst_basesink_handle_event),
20207         (gst_basesink_change_state):
20208         * gst/gsttask.h:
20209         Right, two problems here: ghostpads don't take locks and
20210         glib _rec_mutex_lock_full() with depth==0 still locks.
20211         Catch illegal locking and g_warn them.
20212
20213 2005-06-25  Wim Taymans  <wim@fluendo.com>
20214
20215         * check/states/sinks.c: (START_TEST), (gst_object_suite):
20216         Have to check for completion now...
20217
20218 2005-06-25  Wim Taymans  <wim@fluendo.com>
20219
20220         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20221         (gst_basesink_handle_object), (gst_basesink_event),
20222         (gst_basesink_do_sync), (gst_basesink_handle_event),
20223         (gst_basesink_change_state):
20224         * gst/gstpad.h:
20225         Unlock STREAM_LOCK whatever the recursion was.
20226
20227 2005-06-25  Wim Taymans  <wim@fluendo.com>
20228
20229         * gst/base/gstbasesink.c: (gst_basesink_set_property),
20230         (gst_basesink_preroll_queue_empty),
20231         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
20232         (gst_basesink_event), (gst_basesink_do_sync),
20233         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
20234         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
20235         (gst_basesink_change_state):
20236         Reworked the base sink, handle event and buffer serialisation
20237         correctly and removed possible deadlock.
20238         Handle EOS correctly.
20239
20240 2005-06-25  Wim Taymans  <wim@fluendo.com>
20241
20242         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
20243         (gst_pipeline_change_state):
20244         * tools/gst-launch.c: (check_intr), (event_loop), (main):
20245         Allow elements to post EOS in the state change function.
20246         Fix up -launch, make it exit the poll loop when the
20247         pipeline actually changed state.
20248         Fix up warning parsing in -launch.
20249
20250 2005-06-25  Wim Taymans  <wim@fluendo.com>
20251
20252         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
20253         (gst_tee_sink_activate):
20254         Core takes STREAM_LOCK for us now.
20255
20256 2005-06-25  Wim Taymans  <wim@fluendo.com>
20257
20258         * gst/gstelement.c: (gst_element_get_state_func),
20259         (gst_element_set_state):
20260         * gst/gstelement.h:
20261         * gst/gstmessage.c: (gst_message_parse_error),
20262         (gst_message_parse_warning):
20263         Keep track of current target state while performing a state
20264         change so that subclasses can do something interesting.
20265         Fix parsing of warning/error messages when GError is NULL.
20266
20267 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20268
20269         * docs/gst/Makefile.am:
20270         * docs/gst/gstreamer-docs.sgml:
20271         * docs/gst/gstreamer-sections.txt:
20272         * docs/gst/gstreamer.types:
20273         * docs/gst/tmpl/gstbasesink.sgml:
20274         * docs/gst/tmpl/gstbasesrc.sgml:
20275         * docs/gst/tmpl/gstbin.sgml:
20276         * docs/gst/tmpl/gstcompat.sgml:
20277         * docs/gst/tmpl/gstfakesink.sgml:
20278         * docs/gst/tmpl/gstfakesrc.sgml:
20279         * docs/gst/tmpl/gstfilesink.sgml:
20280         * docs/gst/tmpl/gstfilesrc.sgml:
20281         * docs/gst/tmpl/gstindex.sgml:
20282         * docs/manual/appendix-quotes.xml:
20283         * gst/base/gstbasesrc.h:
20284         * gst/elements/gstfakesrc.h:
20285         * gst/gstmessage.h:
20286           start pulling in base classes and elements in our docs
20287
20288 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
20289
20290         * docs/gst/Makefile.am:
20291         * docs/libs/Makefile.am:
20292           fixed make distcheck with gtk-doc 1.3
20293
20294 2005-06-23  Wim Taymans  <wim@fluendo.com>
20295
20296         * gst/gstelement.c: (gst_element_get_state_func),
20297         (gst_element_set_state), (gst_element_change_state):
20298         When the state did not change, also report NO_PREROLL
20299         when it matters.
20300
20301 2005-06-23  Wim Taymans  <wim@fluendo.com>
20302
20303         * gst/gstpad.c: (gst_pad_event_default):
20304         * gst/gstqueue.c: (gst_queue_loop):
20305         No unsafe task pausing please.
20306
20307 2005-06-23  Wim Taymans  <wim@fluendo.com>
20308
20309         * gst/schedulers/threadscheduler.c:
20310         (gst_thread_scheduler_task_start),
20311         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
20312         Ref the task before pushing it on the threadpool. This
20313         makes sure that we have a ref when the threadfunction is
20314         actually called.
20315
20316 2005-06-23  Andy Wingo  <wingo@pobox.com>
20317
20318         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
20319         offset is greater than the file's size.
20320
20321         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
20322         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
20323         * gst/gstobject.c (gst_object_class_init): Make the class lock
20324         recursive. Wim won't let me drop deep_notify. Decodebin works
20325         again, whoopdy doo.
20326
20327         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
20328         internal pad, and hacks accordingly. Doesn't do it on the target
20329         pad because we change its caps. Probably catches all cases of
20330         interest tho.
20331         (gst_ghost_pad_set_property): Connect to notify::caps as
20332         appropritate.
20333
20334         * tests/network-clock.scm (plot-simulation): Pipe data to the
20335         elite python skript.
20336
20337         * tests/network-clock-utils.scm (define-parameter): New macro,
20338         defines a parameter that can be set via the command line.
20339         (set-parameter!, parse-parameter-arguments): Command line args
20340         parser.
20341
20342         * tests/plot-data: Simple matplotlib-based plotter, takes input on
20343         stdin.
20344
20345 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
20346
20347         * gst/elements/gsttypefindelement.c:
20348         (gst_type_find_element_handle_event):
20349           Don't restart typefinding on a discont.
20350         * gst/gstelement.c: (gst_element_set_state):
20351           Debug spelling fix.
20352         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
20353           Allow changing mode of an active pad.
20354           Debug output fixes.
20355         * gst/registries/gstlibxmlregistry.c: (load_feature):
20356           Don't cast a static pad template to a normal pad template.
20357
20358 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20359
20360         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20361         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20362           remove gst_strtoll completely, since it didn't actually do
20363           anything more than what g_ascii_strtoull already does.
20364           check for range errors when deserializing
20365           do a cast for the unsigned cases; but further fixing needs
20366           a decision on what the interpretation of "(int)" and
20367           deserialization should be for values that fall outside the
20368           type's boundaries (ie, refuse, or interpret as casting)
20369
20370 2005-06-23  Wim Taymans  <wim@fluendo.com>
20371
20372         * check/Makefile.am:
20373         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
20374         * docs/design/part-live-source.txt:
20375         * docs/design/part-states.txt:
20376         * gst/base/gstbasesrc.c: (gst_basesrc_init),
20377         (gst_basesrc_set_live), (gst_basesrc_is_live),
20378         (gst_basesrc_get_range), (gst_basesrc_activate),
20379         (gst_basesrc_change_state):
20380         * gst/base/gstbasesrc.h:
20381         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20382         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
20383         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
20384         * gst/gstelement.c: (gst_element_get_state_func),
20385         (gst_element_set_state):
20386         * gst/gstelement.h:
20387         * gst/gsttypes.h:
20388         * tools/gst-launch.c: (event_loop), (main):
20389         Added support for live sources and other elements that
20390         cannot do preroll.
20391         Updated design docs, added live-source design doc.
20392         Implemented live source functionality in basesrc
20393         Fix error condition in _bin_get_state()
20394         Implement live source handling in -launch.
20395         Added check for live sources.
20396         Fixed case in GstBin where elements were changed state
20397         multiple times.
20398
20399
20400 2005-06-23  Andy Wingo  <wingo@pobox.com>
20401
20402         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
20403         borken refcounting.
20404
20405         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
20406         gst_caps_replace takes care of this for us.
20407
20408         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
20409         gst_pad_set_caps on the target, not just its setcaps() function.
20410
20411         * tests/network-clock.scm: 
20412         * tests/network-clock-utils.scm: A network clock simulator.
20413         Something of an algorithmic testbed before doing something in C.
20414
20415 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20416
20417         * check/Makefile.am:
20418         * check/gst/capslist.h:
20419           copy over from 0.8, and add two with bitmasks specified with
20420           (int) 0xFF...
20421         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20422           add test to parse everything from capslist.h
20423         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
20424         (main):
20425           add test for structure deserialization
20426         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20427           add tests for deserialization of strings to int types
20428         * gst/gststructure.c: (gst_structure_nth_field_name):
20429         * gst/gststructure.h:
20430           add a way to get the name of a field referenced by index
20431         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20432           instead of checking if the resulting long long lies between
20433           min and max, we check if the long long would fit into
20434           a number of bytes for the final type.
20435           This fixes cases where a string represents 2^32 - 1, which
20436           when cast to int would be the (valid) -1, but is bigger than
20437           G_MAXINT
20438
20439 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20440
20441         * gst/parse/grammar.y:
20442           add a log line for type deserialization
20443
20444 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20445
20446         * check/gst/gstvalue.c: (START_TEST):
20447         * gst/gstvalue.c: (gst_value_deserialize):
20448           return long long, not int, so gint64 deserialization actually
20449           works.  Is there any flag that makes the compiler check this ?
20450           Fixes #308559
20451
20452 2005-06-22  Wim Taymans  <wim@fluendo.com>
20453
20454         * gst/gstbuffer.h:
20455         Added convenience macros for setting buffers in GValue.
20456
20457 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20458
20459         * check/gst/.cvsignore:
20460         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20461           add a test deserializing int64, and comment part out because
20462           it fails, yay !
20463
20464 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20465
20466         * check/Makefile.am:
20467         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
20468         * testsuite/Makefile.am:
20469         * testsuite/caps/Makefile.am:
20470         * testsuite/caps/value_serialize.c:
20471         * testsuite/test_gst_init.c:
20472           move a value_serialize test over
20473
20474 2005-06-20  Wim Taymans  <wim@fluendo.com>
20475
20476         * gst/gstpad.c:
20477         Small doc updates.
20478         
20479         * gst/gstvalue.c: (gst_value_compare_buffer),
20480         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
20481         (gst_value_compare_flags), (gst_value_serialize_flags),
20482         (gst_value_deserialize_flags), (_gst_value_initialize):
20483         Fix serialisation of buffers, they are not boxed types anymore
20484
20485 2005-06-20  Wim Taymans  <wim@fluendo.com>
20486
20487         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20488         Testcase to show error in buffer-on-caps serialisation.
20489
20490 2005-06-20  Andy Wingo  <wingo@pobox.com>
20491
20492         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
20493         will be adding to later.
20494
20495         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
20496         if its socks fill with rocks.
20497         (gst_system_clock_obtain): Set the name on object construction.
20498         Avoid double-checked locking.
20499
20500 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
20501
20502         * gst/gsturi.c: (gst_element_make_from_uri):
20503           Fix potential endless loop.
20504
20505 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20506
20507         * check/Makefile.am:
20508           add gsttag
20509         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
20510         (main):
20511           move over from testsuite dir and clean up
20512         * configure.ac:
20513         * gst/gsttag.c:
20514         * testsuite/Makefile.am:
20515         * testsuite/tags/.cvsignore:
20516         * testsuite/tags/Makefile.am:
20517         * testsuite/tags/merge.c:
20518           remove testsuite/tags
20519
20520 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20521
20522         * docs/gst/gstreamer-sections.txt:
20523         * docs/gst/tmpl/gstenumtypes.sgml:
20524         * win32/gstenumtypes.c:
20525           clean up documentation build a little
20526
20527 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20528
20529         * check/gstcheck.h:
20530           add macros for checking refcounts on objects and caps
20531         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
20532           add some more unit tests
20533         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20534         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
20535           fix leaked refcounts (I hope :)) so unittest works
20536         * gst/gstpad.h:
20537           whitespace removal
20538
20539 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20540
20541         * configure.ac: back to HEAD
20542
20543 === release 0.9.1 ===
20544
20545 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20546
20547         * NEWS:
20548         * RELEASE:
20549           updated
20550
20551 2005-06-17  Andy Wingo  <wingo@pobox.com>
20552
20553         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
20554         assert; it's always possible that the pad gets deactivated in
20555         between the checks in gstpad.c and the implementation. Rely on
20556         finish_preroll() to return a FLUSHING or similar instead of on the
20557         assert.
20558         
20559         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
20560         clock and post an EOS message if we come out of finish_preroll in
20561         the playing state.
20562
20563 2005-06-16  David Schleef  <ds@schleef.org>
20564
20565         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20566         (gst_capsfilter_set_property): Allow NULL as possible value
20567         for filter_caps property, indicating GST_CAPS_ANY.
20568
20569 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20570
20571         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
20572           fix debug output
20573         * gst/schedulers/Makefile.am:
20574           use libgst prefix
20575         * gstreamer.spec.in:
20576           fix spec for it
20577
20578 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20579
20580         * gstreamer.spec.in:
20581           clean up
20582
20583 2005-06-08  Andy Wingo  <wingo@pobox.com>
20584
20585         * gst/gstutils.c: RPAD fixes all around.
20586         (gst_element_link_pads): Refcounting fixes.
20587
20588         * tools/gst-inspect.c:
20589         * tools/gst-xmlinspect.c:
20590         * parse/grammar.y:
20591         * gst/base/gsttypefindhelper.c:
20592         * gst/base/gstbasesink.c:
20593         * gst/gstqueue.c: RPAD fixes.
20594
20595         * gst/gstghostpad.h:
20596         * gst/gstghostpad.c: New ghost pad implementation as full proxy
20597         pads. The tricky thing is they provide both source and sink
20598         interfaces, since they proxy the internal pad for the external
20599         pad, and vice versa. Implement with lower-level ProxyPad objects,
20600         with the interior proxy pad as a child of the exterior ghost pad.
20601         Should write a doc on this.
20602         
20603         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
20604         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
20605         gst_object API.
20606         
20607         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
20608         pads are real pads. No ghost pads in this file. Not documenting
20609         the myriad s/RPAD/PAD/ and REALIZE fixes.
20610         (gst_pad_class_init): Add properties for "direction" and
20611         "template". Both are construct-only, so they can't change during
20612         the life of the pad. Fixes properly deriving from GstPad.
20613         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
20614         derived objects, just set properties when creating the objects via
20615         g_object_new.
20616         (gst_pad_get_parent): Implement as a function, return NULL if the
20617         parent is not an element.
20618         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
20619         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
20620         
20621         * gst/gstobject.c (gst_object_class_init): Make name a construct
20622         property. Don't set it in the object init.
20623
20624         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
20625         with UNKNOWN direction.
20626         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
20627         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
20628         (gst_element_remove_pad): Remove ghost-pad special cases.
20629         (gst_element_pads_activate): Remove rpad cruft.
20630
20631         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
20632         catch the pad's-parent-not-an-element case.
20633
20634         * gst/gst.h: Include gstghostpad.h.
20635
20636         * gst/gst.c (init_post): No more real, ghost pads.
20637
20638         * gst/Makefile.am: Add gstghostpad.[ch].
20639
20640         * check/Makefile.am:
20641         * check/gst/gstbin.c:
20642         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
20643         into a bin creates ghost pads, and that the refcounts are right.
20644         Partly moved from gstbin.c.
20645
20646 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20647
20648         * check/gst-libs/.cvsignore:
20649         * check/gst/.cvsignore:
20650         * check/pipelines/.cvsignore:
20651           ignore more
20652         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
20653         (START_TEST), (cleanup_suite), (main):
20654           add some tests related to cleanup after running pipelines
20655
20656 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20657
20658         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
20659           add a testsuite for GstBuffer
20660
20661 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20662
20663         * gst/gstminiobject.h:
20664           add defines for accessing the refcount
20665
20666 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
20667
20668         * Makefile.am: added support for html unit test coverage reports
20669
20670 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
20671
20672         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
20673           Free existing caps if the capsfilter changes. Add a FIXME about
20674           setting those caps on the pads.
20675
20676         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
20677           Before adding a ghost pad to a parent bin, check that there isn't
20678           already one for the element on the bin. Prevents infinite recursion
20679           when using decodebin in parse pipelines. Andy says he'll rewrite the
20680           way this works anyway, so ignore the hack.
20681
20682 2005-06-02  Andy Wingo  <wingo@pobox.com>
20683
20684         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
20685         file size, pass it on to the type find helper.
20686
20687         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
20688         segment_start and segment_end properly according to the seek
20689         method. Segment_end is still a bit flaky because offset can be
20690         negative for CUR and END cases, but it takes -1 as an "unset"
20691         value.
20692
20693 2005-06-02  Wim Taymans  <wim@fluendo.com>
20694
20695         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
20696         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
20697         (gst_basesink_activate):
20698         * gst/base/gstbasesink.h:
20699         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20700         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20701         (gst_pad_query), (gst_pad_start_task):
20702         * gst/gstpad.h:
20703         * gst/gstqueue.c: (gst_queue_bufferalloc),
20704         (gst_queue_handle_sink_event), (gst_queue_chain):
20705         Bufferalloc: return GstFlowReturn to more accuratly report
20706         why allocation failed.
20707
20708 2005-06-02  Wim Taymans  <wim@fluendo.com>
20709
20710         * gst/gstpipeline.c: (gst_pipeline_send_event):
20711         Take snapshot of state without blocking.
20712
20713 2005-06-02  Wim Taymans  <wim@fluendo.com>
20714
20715         * docs/design/part-TODO.txt:
20716         * docs/design/part-caps.txt:
20717         * docs/design/part-clocks.txt:
20718         * docs/design/part-negotiation.txt:
20719         * docs/design/part-preroll.txt:
20720         Small doc updates 
20721
20722 2005-05-30  Wim Taymans  <wim@fluendo.com>
20723
20724         * gst/elements/gstidentity.c: (gst_identity_event),
20725         (gst_identity_transform), (gst_identity_get_property):
20726         Protect last_message property as it is accessed from
20727         multiple threads.
20728
20729 2005-05-30  Wim Taymans  <wim@fluendo.com>
20730
20731         * gst/gstelement.c: (gst_element_init),
20732         (gst_element_pads_activate), (gst_element_change_state):
20733         Slicker pad activation code.
20734
20735 2005-05-30  Wim Taymans  <wim@fluendo.com>
20736
20737         * gst/Makefile.am:
20738         * gst/gstelement.h:
20739         * gst/gstelementfactory.h:
20740         * gst/gsttypes.h:
20741         Move elementfactory methods to separate .h file.
20742
20743 2005-05-30  Wim Taymans  <wim@fluendo.com>
20744
20745         * docs/design/part-overview.txt:
20746         * gst/gstsystemclock.h:
20747         Small typo fixes, doc updates.
20748
20749 2005-05-30  Wim Taymans  <wim@fluendo.com>
20750
20751         * gst/gst.c: (gst_init_get_popt_table), (init_post),
20752         (init_popt_callback):
20753         Remove cpu-opt flag.
20754
20755 2005-05-30  Wim Taymans  <wim@fluendo.com>
20756
20757         * gst/gstbuffer.c: (gst_subbuffer_finalize),
20758         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
20759         * gst/gstbuffer.h:
20760         Avoid typechecking in places where not needed.
20761         Added accessor for malloc_data.
20762
20763 2005-05-30  Wim Taymans  <wim@fluendo.com>
20764
20765         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
20766         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
20767         (gst_pad_configure_sink), (gst_pad_configure_src),
20768         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
20769         (gst_pad_start_task):
20770         Propagate errors from _set_caps() in configure_src/sink
20771         functions instead of returning TRUE.
20772         FLUSH events can travel up and downstream
20773
20774
20775 2005-05-30  Wim Taymans  <wim@fluendo.com>
20776
20777         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20778         (gst_basesink_activate):
20779         Handle EOS in preroll.
20780
20781 2005-05-30  Wim Taymans  <wim@fluendo.com>
20782
20783         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20784         (gst_queue_loop), (gst_queue_handle_src_event):
20785         Remove old pieces of code
20786         Flushing the queue in an upstream event is a very bad idea.
20787
20788 2005-05-26  Andy Wingo  <wingo@pobox.com>
20789
20790         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
20791         gst_value_set_mini_object so as to add a ref on the object (which
20792         will be removed when the value is unset).
20793
20794         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
20795         arg type in ::handoff.
20796
20797         * gst/gstelement.c (gst_element_change_state): Also deactivate
20798         pads in READY->NULL, just in case the element didn't make it to
20799         PAUSED. Wingo tested, Wim approved.
20800
20801 2005-05-26  Wim Taymans  <wim@fluendo.com>
20802
20803         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20804         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20805         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
20806         A flushing pad cannot be used to alloc_buffer from.
20807
20808 2005-05-26  Wim Taymans  <wim@fluendo.com>
20809
20810         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
20811         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
20812         (gst_bus_source_dispatch), (gst_bus_source_finalize),
20813         (gst_bus_create_watch), (gst_bus_add_watch_full):
20814         * gst/gstbus.h:
20815         Implement a real GSource and use g_main_context_wakeup() to
20816         signal new messages instead of the socketpair.
20817
20818 2005-05-25  Wim Taymans  <wim@fluendo.com>
20819
20820         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
20821         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
20822         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20823         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20824         (gst_pad_send_event), (gst_pad_start_task):
20825         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
20826         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20827         (gst_queue_sink_activate), (gst_queue_src_activate),
20828         (gst_queue_change_state):
20829         * gst/gstqueue.h:
20830         Fix state changes for non sinks. We now change sinks, then elements
20831         with unconnected srcpads, then the rest.
20832         More efficient queue unlocking in flush and state changes.
20833         Set the pad activate mode even if it does not have an activate
20834         function.
20835
20836 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20837
20838         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
20839           Don't go in pull mode for non-seekable sources.
20840         * gst/elements/gsttypefindelement.h:
20841         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
20842         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
20843         (free_entry), (stop_typefinding),
20844         (gst_type_find_element_handle_event), (find_peek),
20845         (gst_type_find_element_chain), (do_pull_typefind),
20846         (gst_type_find_element_change_state):
20847           Allow typefinding (w/o seeking) in push-mode, simplified version
20848           of what was in 0.8.
20849         * gst/gstutils.c: (gst_buffer_join):
20850         * gst/gstutils.h:
20851           gst_buffer_join() from 0.8.
20852
20853 2005-05-25  Wim Taymans  <wim@fluendo.com>
20854
20855         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20856         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20857         (gst_pad_send_event), (gst_pad_start_task):
20858         Disable attempt at mode switching until it is figured out.
20859
20860 2005-05-25  Wim Taymans  <wim@fluendo.com>
20861
20862         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
20863         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20864         (gst_basesink_finish_preroll), (gst_basesink_chain),
20865         (gst_basesink_loop), (gst_basesink_activate),
20866         (gst_basesink_change_state):
20867         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
20868         (gst_basesrc_get_range), (gst_basesrc_loop),
20869         (gst_basesrc_activate):
20870         * gst/elements/gsttee.c: (gst_tee_sink_activate):
20871         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
20872         (gst_real_pad_init), (gst_real_pad_set_property),
20873         (gst_real_pad_get_property), (gst_pad_set_active),
20874         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
20875         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
20876         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
20877         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
20878         (gst_pad_event_default_dispatch), (gst_pad_event_default),
20879         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
20880         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
20881         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
20882         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
20883         (gst_pad_stop_task):
20884         * gst/gstpad.h:
20885         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20886         (gst_queue_loop), (gst_queue_src_activate):
20887         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
20888         (gst_task_get_state):
20889         * gst/gsttask.h:
20890         * gst/schedulers/threadscheduler.c:
20891         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
20892         Implement gst_pad_pause/start/stop_task(), take STREAM lock
20893         in task function.
20894         Remove ACTIVE pad flag, use FLUSHING everywhere
20895         Added _pad_chain(), _pad_get_range() to call chain/getrange 
20896         functions.
20897         Add locks around IS_FLUSHING when reading.
20898         Take STREAM lock in chain(), get_range() functions so plugins
20899         don't need to take it anymore.
20900         
20901
20902
20903 2005-05-25  Wim Taymans  <wim@fluendo.com>
20904
20905         * tools/gst-launch.c: (event_loop):
20906         Unref message after using its contents instead of
20907         before.
20908
20909 2005-05-24  Wim Taymans  <wim@fluendo.com>
20910
20911         * docs/design/draft-ghostpads.txt:
20912         * docs/design/draft-push-pull.txt:
20913         * docs/design/draft-query.txt:
20914         * docs/design/part-overview.txt:
20915         Docs updates, added general overview doc.
20916
20917 2005-05-21  David Schleef  <ds@schleef.org>
20918
20919         * docs/gst/tmpl/old/GstBin.sgml:
20920         * docs/gst/tmpl/old/GstBuffer.sgml:
20921         * docs/gst/tmpl/old/GstCaps.sgml:
20922         * docs/gst/tmpl/old/GstClock.sgml:
20923         * docs/gst/tmpl/old/GstCompat.sgml:
20924         * docs/gst/tmpl/old/GstData.sgml:
20925         * docs/gst/tmpl/old/GstElement.sgml:
20926         * docs/gst/tmpl/old/GstEvent.sgml:
20927         * docs/gst/tmpl/old/GstIndex.sgml:
20928         * docs/gst/tmpl/old/GstStructure.sgml:
20929         * docs/gst/tmpl/old/GstTag.sgml:
20930         * docs/gst/tmpl/old/cothreads.sgml:
20931         * docs/gst/tmpl/old/cothreads_compat.sgml:
20932         * docs/gst/tmpl/old/gettext.sgml:
20933         * docs/gst/tmpl/old/gobject2gtk.sgml:
20934         * docs/gst/tmpl/old/grammar.tab.sgml:
20935         * docs/gst/tmpl/old/gst-i18n-app.sgml:
20936         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
20937         * docs/gst/tmpl/old/gst_private.sgml:
20938         * docs/gst/tmpl/old/gstaggregator.sgml:
20939         * docs/gst/tmpl/old/gstarch.sgml:
20940         * docs/gst/tmpl/old/gstatomic_impl.sgml:
20941         * docs/gst/tmpl/old/gstbufferstore.sgml:
20942         * docs/gst/tmpl/old/gstdata_private.sgml:
20943         * docs/gst/tmpl/old/gstdisksink.sgml:
20944         * docs/gst/tmpl/old/gstdisksrc.sgml:
20945         * docs/gst/tmpl/old/gstelementfactory.sgml:
20946         * docs/gst/tmpl/old/gstextratypes.sgml:
20947         * docs/gst/tmpl/old/gstfakesink.sgml:
20948         * docs/gst/tmpl/old/gstfakesrc.sgml:
20949         * docs/gst/tmpl/old/gstfdsink.sgml:
20950         * docs/gst/tmpl/old/gstfdsrc.sgml:
20951         * docs/gst/tmpl/old/gstfilesink.sgml:
20952         * docs/gst/tmpl/old/gstfilesrc.sgml:
20953         * docs/gst/tmpl/old/gsthttpsrc.sgml:
20954         * docs/gst/tmpl/old/gstidentity.sgml:
20955         * docs/gst/tmpl/old/gstindexfactory.sgml:
20956         * docs/gst/tmpl/old/gstmarshal.sgml:
20957         * docs/gst/tmpl/old/gstmd5sink.sgml:
20958         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
20959         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
20960         * docs/gst/tmpl/old/gstpadtemplate.sgml:
20961         * docs/gst/tmpl/old/gstpipefilter.sgml:
20962         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
20963         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
20964         * docs/gst/tmpl/old/gstshaper.sgml:
20965         * docs/gst/tmpl/old/gstspider.sgml:
20966         * docs/gst/tmpl/old/gstspideridentity.sgml:
20967         * docs/gst/tmpl/old/gststatistics.sgml:
20968         * docs/gst/tmpl/old/gsttee.sgml:
20969         * docs/gst/tmpl/old/gsttimecache.sgml:
20970         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
20971         * docs/gst/tmpl/old/gstxmlregistry.sgml:
20972         * docs/gst/tmpl/old/gthread-cothreads.sgml:
20973         * docs/gst/tmpl/old/types.sgml:
20974           I didn't intend to add these or check them in.
20975
20976 2005-05-19  David Schleef  <ds@schleef.org>
20977
20978         * configure.ac: Use -no-common everywhere.  In a sane world, it
20979           would be the default in libtool, because without it, you can't
20980           build DLLs on Windows.
20981         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
20982         * docs/gst/gstreamer-sections.txt:
20983         * docs/gst/tmpl/gstcpu.sgml:
20984         * docs/gst/tmpl/gstdata.sgml:
20985         * docs/gst/tmpl/gstthread.sgml:
20986
20987 2005-05-19  David Schleef  <ds@schleef.org>
20988
20989         * gst/gstminiobject.c: (gst_value_set_mini_object),
20990         (gst_value_take_mini_object), (gst_value_get_mini_object):
20991         * gst/gstminiobject.h: Add GValue set/get functions.
20992
20993 2005-05-19  Wim Taymans  <wim@fluendo.com>
20994
20995         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
20996         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
20997         (gst_subbuffer_init), (gst_buffer_is_span_fast):
20998         * gst/gstbuffer.h:
20999         * gst/gstbus.c: (gst_bus_post):
21000         * gst/gstelement.c: (gst_element_get_random_pad):
21001         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
21002         Make subbufer unref the parent in finalize.
21003         some more debugging info.
21004
21005
21006 2005-05-19  Wim Taymans  <wim@fluendo.com>
21007
21008         * gst/base/gstbasesink.c: (gst_basesink_class_init),
21009         (gst_basesink_init), (gst_basesink_finalize),
21010         (gst_basesink_activate), (gst_basesink_change_state):
21011         Don't free preroll queue too early.
21012
21013 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21014
21015         * gst/Makefile.am:
21016         * gst/ROADMAP:
21017           Hi, I'm outdated. Please shoot me.
21018
21019 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21020
21021         * gst/gstpipeline.c: (gst_pipeline_send_event):
21022           Do not access variables after they have been deleted.
21023
21024 2005-05-19  Wim Taymans  <wim@fluendo.com>
21025
21026         * tools/gst-inspect.c: (print_plugin_features):
21027         A plugin feature does unfortunatly not use the
21028         object name yet...
21029
21030 2005-05-18  Wim Taymans  <wim@fluendo.com>
21031
21032         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
21033         Port _span() functions to new subbuffers.
21034
21035 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21036
21037         * gst/gstbin.c: (gst_bin_add_func):
21038           Fix clock settery in bins when adding kids after the clock has
21039           been selected.
21040
21041 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21042
21043         * gst/elements/gstidentity.c: (gst_identity_class_init):
21044           Workaround until signals support GstMiniObject.
21045
21046 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
21047
21048         * gst/gstbuffer.c:
21049         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
21050
21051 2005-05-18  Wim Taymans  <wim@fluendo.com>
21052
21053         * gst/base/Makefile.am:
21054         * gst/base/gstadapter.c: (gst_adapter_base_init),
21055         (gst_adapter_class_init), (gst_adapter_init),
21056         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
21057         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
21058         (gst_adapter_flush), (gst_adapter_available),
21059         (gst_adapter_available_fast):
21060         * gst/base/gstadapter.h:
21061         Ported and added adapter to the base classes.
21062
21063 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
21064
21065         * gst/gst.c:
21066         * gst/gstmessage.c:
21067           Make sure the class is reffed/unreffed once before threads can be
21068           used.  Fixes #304551.
21069
21070 2005-05-17  Wim Taymans  <wim@fluendo.com>
21071
21072         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
21073         (gst_basesink_chain_unlocked), (gst_basesink_activate):
21074         * gst/gstminiobject.c: (gst_mini_object_get_type),
21075         (gst_mini_object_free):
21076         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
21077         (gst_pad_push), (gst_pad_push_event):
21078         * gst/gstqueue.c: (gst_queue_change_state):
21079         Don't queue buffers in basesink when we are flushing.
21080         Unref buffer when flushing in basesink.
21081         Flush queue when going to READY
21082         Unref buffer when _push() returns an error.
21083         Don't free MiniObject instance when refcount is incremented
21084         in _finalize() so that we can recover objects.
21085
21086 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
21087
21088         * docs/manual/advanced-schedulers.xml:
21089         * docs/manual/appendix-checklist.xml:
21090         * docs/pwg/advanced-clock.xml:
21091         * docs/pwg/advanced-interfaces.xml:
21092         * docs/pwg/advanced-request.xml:
21093         * docs/pwg/advanced-types.xml:
21094         * docs/pwg/intro-preface.xml:
21095         * examples/plugins/example.c: (gst_example_get_type),
21096         (gst_example_class_init), (gst_example_chain),
21097         (gst_example_set_property), (gst_example_get_property),
21098         (gst_example_change_state), (plugin_init):
21099         * examples/plugins/example.h:
21100           small doc fixes
21101
21102 2005-05-17  Wim Taymans  <wim@fluendo.com>
21103
21104         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
21105         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
21106         * gst/gstqueue.c: (gst_queue_change_state):
21107         Clear queue when going to READY.
21108         Remove IN_SETCAPS flag too.
21109
21110 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
21111
21112         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
21113           Remove implicit cast from gboolean to GstElementStateReturn;
21114           make sure we still return failure in paused => ready case if
21115           the parent class fails to change state and our own stop 
21116           vfunc succeeds.
21117
21118 2005-05-17  Wim Taymans  <wim@fluendo.com>
21119
21120         * tools/gst-launch.c: (event_loop):
21121         Message was unreffed too soon.
21122
21123 2005-05-16  Andy Wingo  <wingo@pobox.com>
21124
21125         * gst/gstbin.c (sink_iterator_filter): Err... um...
21126
21127         * check/gst/gstbin.c (test_ghost_pads): New test for the
21128         ghosting-if-elements-not-in-same-bin behavior.
21129
21130 2005-05-16  David Schleef  <ds@schleef.org>
21131
21132         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
21133         accessing refcount directly.
21134
21135 2005-05-15  David Schleef  <ds@schleef.org>
21136
21137         * check/Makefile.am: remove GstData checks
21138         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
21139         * gst/Makefile.am: add miniobject, remove data
21140         * gst/gst.h: add miniobject, remove data
21141         * gst/gstdata.c: remove
21142         * gst/gstdata.h: remove
21143         * gst/gstdata_private.h: remove
21144         * gst/gsttypes.h: remove GstEvent and GstMessage
21145         * gst/gstelement.c: (gst_element_post_message): fix for API changes
21146         * gst/gstmarshal.list: change BOXED -> OBJECT
21147
21148         Implement GstMiniObject.
21149         * gst/gstminiobject.c:
21150         * gst/gstminiobject.h:
21151
21152         Modify to be subclasses of GstMiniObject.
21153         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
21154         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
21155         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
21156         (gst_subbuffer_get_type), (gst_subbuffer_init),
21157         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
21158         (gst_buffer_span):
21159         * gst/gstbuffer.h:
21160         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
21161         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
21162         (_gst_event_copy), (gst_event_new):
21163         * gst/gstevent.h:
21164         * gst/gstmessage.c: (_gst_message_initialize),
21165         (gst_message_get_type), (gst_message_class_init),
21166         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
21167         (gst_message_new), (gst_message_new_error),
21168         (gst_message_new_warning), (gst_message_new_tag),
21169         (gst_message_new_state_changed), (gst_message_new_application):
21170         * gst/gstmessage.h:
21171         * gst/gstprobe.c: (gst_probe_perform),
21172         (gst_probe_dispatcher_dispatch):
21173         * gst/gstprobe.h:
21174         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
21175         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
21176         (_gst_query_copy), (gst_query_new):
21177
21178         Update elements for GstData -> GstMiniObject changes
21179         * gst/gstquery.h:
21180         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
21181         (gst_queue_chain), (gst_queue_loop):
21182         * gst/elements/gstbufferstore.c:
21183         (gst_buffer_store_add_buffer_func),
21184         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
21185         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21186         (gst_fakesink_render):
21187         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
21188         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
21189         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
21190         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
21191         (gst_filesrc_create_read):
21192         * gst/elements/gstidentity.c: (gst_identity_class_init):
21193         * gst/elements/gsttypefindelement.c:
21194         (gst_type_find_element_src_event), (free_entry_buffers),
21195         (gst_type_find_element_handle_event):
21196         * libs/gst/dataprotocol/dataprotocol.c:
21197         (gst_dp_header_from_buffer):
21198         * libs/gst/dataprotocol/dataprotocol.h:
21199         * libs/gst/dataprotocol/dp-private.h:
21200
21201 2005-05-15  David Schleef  <ds@schleef.org>
21202
21203         * gst/elements/gstelements.c: Don't include headers that were
21204         just removed.
21205
21206 2005-05-15  David Schleef  <ds@schleef.org>
21207
21208         * gst/elements/Makefile.am: Remove some elements that don't
21209         need to be in the core (or even exist at all).
21210         * gst/elements/gstaggregator.c:
21211         * gst/elements/gstaggregator.h:
21212         * gst/elements/gstmd5sink.c:
21213         * gst/elements/gstmd5sink.h:
21214         * gst/elements/gstmultifilesrc.c:
21215         * gst/elements/gstmultifilesrc.h:
21216         * gst/elements/gstpipefilter.c:
21217         * gst/elements/gstpipefilter.h:
21218         * gst/elements/gstshaper.c:
21219         * gst/elements/gstshaper.h:
21220         * gst/elements/gststatistics.c:
21221         * gst/elements/gststatistics.h:
21222         * po/POTFILES.in: Remove above files.
21223
21224 2005-05-14  Andy Wingo  <wingo@pobox.com>
21225
21226         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
21227         so as to get the refs right.
21228         (sink_iterator_filter): New function, wraps bin_element_is_sink,
21229         unreffing objects that don't pass the filter.
21230
21231         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
21232         gst_element_set_bus.
21233         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
21234         normal cases, this will destroy the bus.
21235
21236         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
21237         object.
21238
21239         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
21240         has no sinks.
21241
21242 2005-05-13  Andy Wingo  <wingo@pobox.com>
21243
21244         * gst/gstutils.c (gst_element_link_pads): Instead of calling
21245         gst_pad_link, call pad_link_maybe_ghosting,
21246         (pad_link_maybe_ghosting): Links pads, making sure that the
21247         elements being linked are in the same bin.
21248         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
21249         Helpers for pad_link_maybe_ghosting.
21250
21251 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
21252
21253         * configure.ac:
21254           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
21255
21256 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
21257
21258         * docs/design/part-element-source.txt:
21259           Mention GstPushSrc
21260
21261 2005-05-12  Wim Taymans  <wim@fluendo.com>
21262
21263         * gst/base/gstbasesink.c: (gst_basesink_init),
21264         (gst_basesink_activate):
21265         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
21266         (gst_basesrc_is_seekable):
21267         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21268         (bin_element_is_sink), (gst_bin_change_state):
21269         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21270         * gst/gstelement.h:
21271         Identify sinks by their flag to avoid overly complicated
21272         checks (fow now).
21273         Do state changes even for elements not reachable from the
21274         sinks.
21275         BaseSink is a sink now :)
21276         Some more debugging info in the basesrc.
21277
21278
21279 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21280
21281         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
21282           Implement _query on a bin, similar to _send_event.
21283
21284 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
21285
21286         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
21287           Discont event offset format should be GST_FORMAT_BYTES,
21288           not GST_FORMAT_TIME.
21289
21290 2005-05-12  Wim Taymans  <wim@fluendo.com>
21291
21292         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
21293         Same fix as Ronald's but without the signal. 
21294
21295 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21296
21297         * gst/gstutils.c: (gst_element_query_position):
21298           No, an element is not a pad.
21299
21300 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21301
21302         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
21303         (gst_bin_get_state):
21304           If a child is removed from a bin while we remove the child from
21305           the bin and while we're retrieving its state, signal this to the
21306           get_state function so we abort the wait (instead of waiting for
21307           a timeout) and can immediately re-iterate over all other elements.
21308
21309 2005-05-12  Wim Taymans  <wim@fluendo.com>
21310
21311         * gst/base/Makefile.am:
21312         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
21313         (gst_basesrc_start):
21314         * gst/base/gstbasesrc.h:
21315         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
21316         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
21317         (gst_pushsrc_init), (gst_pushsrc_create):
21318         * gst/base/gstpushsrc.h:
21319         Added is_seekable to BaseSrc
21320         Added simple PushSrc.
21321
21322 2005-05-11  Wim Taymans  <wim@fluendo.com>
21323
21324         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21325         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21326         (gst_element_link_pads), (gst_element_query_position),
21327         (gst_element_query_convert), (intersect_caps_func),
21328         (gst_pad_query_position), (gst_pad_query_convert):
21329         Fix refcounting in utils function.
21330         No point in trying to activate a pad when it's added, it could
21331         be added from the state change function and then we deadlock, the
21332         element has to decide what to do.
21333
21334 2005-05-10  Andy Wingo  <wingo@pobox.com>
21335
21336         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
21337         *all* the arguments.
21338
21339         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
21340         stream lock if it's a FLUSH_DONE; normal flushes don't get the
21341         lock (according to the docs -- if this is wrong change the docs).
21342
21343         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
21344         flush messages in the NULL state.
21345
21346         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
21347         message immediately and return.
21348         (gst_bus_set_flushing): New function. If a bus is flushing, it
21349         flushes out any queued messages and immediately unrefs new
21350         messages. This is so when an element goes to NULL, all of the
21351         unhandled messages coming from it can be freed, and their
21352         references to the element dropped. In other words: message source
21353         ref considered harmful :P
21354
21355         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
21356         we're finished with it.
21357
21358         * gst/gstmessage.c (gst_message_new_state_changed): 
21359
21360 2005-05-10  Wim Taymans  <wim@fluendo.com>
21361
21362         * gst/gstvalue.c: (gst_value_compare_flags),
21363         (gst_value_serialize_flags), (gst_value_deserialize_flags),
21364         (_gst_value_initialize):
21365         Added flags serialize/deserialize/compare code.
21366
21367 2005-05-09  Andy Wingo  <wingo@pobox.com>
21368
21369         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
21370         Intersect the peer's caps with our caps.
21371
21372 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21373
21374         * gst/base/gsttypefindhelper.c: (helper_find_peek):
21375         * gst/elements/gsttypefindelement.c: (find_peek):
21376           Handle negative offsets better. Fixes decodebin.
21377
21378 2005-05-09  Wim Taymans  <wim@fluendo.com>
21379
21380         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
21381         (gst_base_transform_event):
21382         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
21383         Implement accept_caps.
21384         Fix silly lock/unlock mismatch in base class.
21385
21386 2005-05-09  Wim Taymans  <wim@fluendo.com>
21387
21388         * docs/design/draft-push-pull.txt:
21389         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
21390         * gst/elements/gstfilesink.c: (gst_filesink_init),
21391         (gst_filesink_query):
21392         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
21393         (gst_type_find_handle_src_query), (find_element_get_length):
21394         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
21395         * gst/gstelement.h:
21396         * gst/gstmessage.c:
21397         * gst/gstmessage.h:
21398         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
21399         (gst_real_pad_get_caps_unlocked),
21400         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
21401         (gst_pad_event_default_dispatch), (gst_pad_event_default),
21402         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
21403         (gst_real_pad_dispose), (gst_real_pad_finalize),
21404         (gst_pad_load_and_link), (gst_pad_save_thyself),
21405         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
21406         (gst_pad_check_pull_range), (gst_pad_pull_range),
21407         (gst_pad_template_get_type), (gst_pad_template_class_init),
21408         (gst_pad_template_init), (gst_pad_template_dispose),
21409         (name_is_valid), (gst_static_pad_template_get),
21410         (gst_pad_template_new), (gst_static_pad_template_get_caps),
21411         (gst_pad_template_get_caps), (gst_pad_set_element_private),
21412         (gst_pad_get_element_private), (gst_pad_start_task),
21413         (gst_pad_pause_task), (gst_pad_stop_task),
21414         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
21415         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
21416         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
21417         (gst_ghost_pad_new):
21418         * gst/gstpad.h:
21419         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
21420         (gst_query_new_position), (gst_query_set_position),
21421         (gst_query_parse_position), (gst_query_new_convert),
21422         (gst_query_set_convert), (gst_query_parse_convert):
21423         * gst/gstquery.h:
21424         * gst/gstqueryutils.c:
21425         * gst/gstqueryutils.h:
21426         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21427         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21428         (gst_queue_handle_src_query):
21429         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21430         (gst_element_query_position), (gst_element_query_convert),
21431         (intersect_caps_func), (gst_pad_query_position),
21432         (gst_pad_query_convert):
21433         * gst/gstutils.h:
21434         * tools/gst-inspect.c: (print_pad_info):
21435         * tools/gst-xmlinspect.c: (print_element_info):
21436         Remove old query functions. Ported old code.
21437         Added position/convert helper functions to gstutils.
21438         Reordered gstpad.c code, grouping relevant things.
21439         Remove gst_message_new(), always need to speficy a specific
21440         message.
21441
21442
21443 2005-05-09  Andy Wingo  <wingo@pobox.com>
21444
21445         * gst/gstiterator.h: Add some includes.
21446
21447         * gst/gstqueryutils.h: Include more headers.
21448
21449         * gst/gstpad.h:
21450         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
21451         some uses of gst_pad_query.
21452
21453         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
21454         NULL out parameters.
21455         (gst_query_new_position): New proc, allocates a new position
21456         query.
21457
21458         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
21459         gstqueryutils.c to the build.
21460
21461         * gst/gststructure.c (gst_structure_set_valist): Implement with
21462         the generic G_VALUE_COLLECT.
21463         
21464 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
21465
21466         * gst/Makefile.am: (gst_headers):
21467         Added gstqueryutils.h to the list of headers to install, that was
21468         a 'nachty' move wingo :)
21469
21470 2005-05-06  Andy Wingo  <wingo@pobox.com>
21471
21472         * gst/gstquery.h
21473         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
21474         GstData, init a memchunk.
21475         (standard_definitions): Add a few query types, deprecate a few.
21476         (gst_query_get_type): New proc.
21477         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
21478         implementation.
21479         (gst_query_new_application, gst_query_get_structure): New public
21480         procs.
21481
21482         * docs/design/draft-query.txt: Removed LINKS from the query types,
21483         because all the rest can be dispatched to other pads -- seemed
21484         ugly to have a query that couldn't be dispatched. internal_links
21485         is fine as a pad method.
21486
21487         * gst/gstpad.h: Add query2 as a pad method, add the new functions
21488         in gstpad.c, but maintain binary compatibility for the moment.
21489         Will fix before 0.9 is out.
21490
21491         * gst/gstqueryutils.c: 
21492         * gst/gstqueryutils.h: New files, implement 3 methods for each
21493         query type: parse_query, parse_response, and set. Probably need an
21494         allocator as well.
21495
21496         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
21497
21498         * gst/elements/gstfilesink.c (gst_filesink_query2):
21499         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
21500         query_types, and formats methods.
21501
21502         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
21503         (gst_pad_set_query2_function): New functions.
21504         (gst_real_pad_init): Set query2_default as the default query2
21505         function. Basically just dispatches to internally linked pads.
21506
21507         Needs review!
21508         
21509         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
21510         without using the atomic operations. Only one thread can possibly
21511         be accessing the data at this point. Changed so as to avoid
21512         gst_atomic operations.
21513
21514 2005-05-06  Wim Taymans  <wim@fluendo.com>
21515
21516         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
21517         Also set caps if we use the fallback buffer alloc.
21518
21519 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
21520
21521         * docs/gst/Makefile.am:
21522         * docs/gst/gstreamer-docs.sgml:
21523         * docs/gst/gstreamer-sections.txt:
21524         * docs/gst/tmpl/gstatomic.sgml:
21525         * docs/gst/tmpl/gstmemchunk.sgml:
21526         * testsuite/elements/struct_i386.h:
21527         * win32/GStreamer.vcproj:
21528         * win32/Makefile:
21529           Purge GstAtomic stuff from docs and win32 makefiles as well
21530
21531 2005-05-06  Wim Taymans  <wim@fluendo.com>
21532
21533         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
21534         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
21535         * gst/gstpad.c: (gst_pad_peer_get_caps):
21536         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21537         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21538         (gst_queue_src_activate), (gst_queue_change_state):
21539         * gst/gstqueue.h:
21540         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21541         (intersect_caps_func):
21542         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
21543         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
21544         Some fixes for the peer_get_caps() change.
21545
21546 2005-05-06  Wim Taymans  <wim@fluendo.com>
21547
21548         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21549         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
21550         (gst_basesink_activate):
21551         Actually do something with error codes returned from the push
21552         functions.
21553
21554 2005-05-06  Wim Taymans  <wim@fluendo.com>
21555
21556         * docs/design/part-element-sink.txt:
21557         * docs/design/part-element-source.txt:
21558         * gst/base/gstbasesink.c: (gst_basesink_class_init),
21559         (gst_basesink_event), (gst_basesink_activate):
21560         * gst/base/gstbasesink.h:
21561         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
21562         (gst_basesrc_activate):
21563         * gst/base/gstbasesrc.h:
21564         * gst/gstelement.c: (gst_element_pads_activate):
21565         Some more documentation.
21566         Fixed scheduling decision in _pads_activate().
21567
21568 2005-05-05  Andy Wingo  <wingo@pobox.com>
21569
21570         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
21571         the test suite.
21572
21573 2005-05-05  Wim Taymans  <wim@fluendo.com>
21574
21575         * gst/base/Makefile.am:
21576         * gst/base/gstbasesink.h:
21577         * gst/base/gstbasesrc.c: (gst_basesrc_init),
21578         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
21579         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
21580         (gst_collectpads_class_init), (gst_collectpads_init),
21581         (gst_collectpads_finalize), (gst_collectpads_new),
21582         (gst_collectpads_set_function), (gst_collectpads_add_pad),
21583         (find_pad), (gst_collectpads_remove_pad),
21584         (gst_collectpads_is_active), (gst_collectpads_collect),
21585         (gst_collectpads_collect_range), (gst_collectpads_start),
21586         (gst_collectpads_stop), (gst_collectpads_peek),
21587         (gst_collectpads_pop), (gst_collectpads_available),
21588         (gst_collectpads_read), (gst_collectpads_flush),
21589         (gst_collectpads_chain):
21590         * gst/base/gstcollectpads.h:
21591         * gst/elements/Makefile.am:
21592         * gst/elements/gstelements.c:
21593         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21594         (gst_fakesink_get_times), (gst_fakesink_event),
21595         (gst_fakesink_preroll), (gst_fakesink_render):
21596         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
21597         (gst_filesink_init), (gst_filesink_set_location),
21598         (gst_filesink_open_file), (gst_filesink_close_file),
21599         (gst_filesink_pad_query), (gst_filesink_event),
21600         (gst_filesink_render), (gst_filesink_change_state):
21601         * gst/elements/gstfilesink.h:
21602         Added object to help in making collect pad based elements.
21603         Ported filesink.
21604         Make event function in sink baseclass return gboolean.
21605
21606 2005-05-05  Wim Taymans  <wim@fluendo.com>
21607
21608         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
21609         (gst_bin_get_by_name):
21610         * gst/gstbuffer.h:
21611         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
21612         (gst_clock_finalize):
21613         * gst/gstdata.c: (gst_data_replace):
21614         * gst/gstdata.h:
21615         * gst/gstelement.c: (gst_element_request_pad),
21616         (gst_element_pads_activate):
21617         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
21618         (gst_object_unref):
21619         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21620         (gst_pad_set_checkgetrange_function),
21621         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
21622         (gst_pad_check_pull_range), (gst_pad_pull_range),
21623         (gst_static_pad_template_get_caps), (gst_pad_start_task),
21624         (gst_pad_pause_task), (gst_pad_stop_task):
21625         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21626         (gst_element_request_pad), (gst_pad_proxy_getcaps):
21627         Fix name lookup in GstBin.
21628         Added _data_replace() function and _buffer_replace()
21629         Use finalize method to clean up clock.
21630         Fix refcounting on request pads.
21631         Fix pad schedule mode error.
21632         Some more object refcounting debug info,
21633
21634
21635 2005-05-04  Andy Wingo <wingo@pobox.com>
21636
21637         * check/Makefile.am:
21638         * docs/gst/tmpl/gstatomic.sgml:
21639         * docs/gst/tmpl/gstplugin.sgml:
21640         * gst/base/gstbasesink.c: (gst_basesink_activate):
21641         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
21642         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
21643         (gst_basesrc_query), (gst_basesrc_set_property),
21644         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
21645         (gst_basesrc_activate):
21646         * gst/base/gstbasesrc.h:
21647         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
21648         (gst_base_transform_src_activate):
21649         * gst/elements/gstelements.c:
21650         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21651         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
21652         * gst/elements/gsttee.c: (gst_tee_sink_activate):
21653         * gst/elements/gsttypefindelement.c: (find_element_get_length),
21654         (gst_type_find_element_checkgetrange),
21655         (gst_type_find_element_activate):
21656         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
21657         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
21658         (gst_caps_load_thyself):
21659         * gst/gstelement.c: (gst_element_pads_activate),
21660         (gst_element_save_thyself), (gst_element_restore_thyself):
21661         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
21662         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
21663         * gst/gstpad.h:
21664         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
21665         (gst_xml_parse_file), (gst_xml_parse_memory),
21666         (gst_xml_get_element), (gst_xml_make_element):
21667         * gst/indexers/gstfileindex.c: (gst_file_index_load),
21668         (_file_index_id_save_xml), (gst_file_index_commit):
21669         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
21670         (read_enum), (load_pad_template), (load_feature), (load_plugin),
21671         (load_paths):
21672         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
21673         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
21674         * tools/gst-complete.c: (main):
21675         * tools/gst-compprep.c: (main):
21676         * tools/gst-inspect.c: (print_element_properties_info):
21677         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
21678         * tools/gst-xmlinspect.c: (print_element_properties):
21679         GCC 4 fixen.
21680         
21681 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21682
21683         * gst/gstplugin.c: (gst_plugin_check_module),
21684         (gst_plugin_check_file), (gst_plugin_load_file):
21685             apply patch from #172526 to make register work on MacOSX
21686
21687 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21688
21689         * docs/gst/tmpl/gstconfig.sgml:
21690         * gst/gstconfig.h.in:
21691           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
21692         * testsuite/debug/printf_extension.c: (main):
21693           Do not use GST_PTR_FORMAT on pointers to types with
21694           sizeof < sizeof(gpointer).  Fixes test on 64-bit
21695         * testsuite/elements/property.h:
21696           use correct printf format
21697
21698 2005-05-02  Wim Taymans  <wim@fluendo.com>
21699
21700         * docs/design/draft-push-pull.txt:
21701         * docs/design/draft-query.txt:
21702         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
21703         (gst_basesrc_start):
21704         Added draft for new query API.
21705         Added draft for better selecting scheduling methods.
21706         Make basesrc ignore length if the subclass does not support
21707         it.
21708
21709 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21710
21711         * gst/Makefile.am:
21712           possible fixes for automake-1.5 - _LIBADD is reserved
21713
21714 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21715
21716         * docs/faq/Makefile.am:
21717         * docs/manual/Makefile.am:
21718         * docs/manuals.mak:
21719         * docs/pwg/Makefile.am:
21720         * gst/Makefile.am:
21721           possible fixes for automake-1.5
21722
21723 2005-04-28  Wim Taymans  <wim@fluendo.com>
21724
21725         * gst/base/gstbasesink.c: (gst_basesink_base_init),
21726         (gst_basesink_pad_getcaps), (gst_basesink_init),
21727         (gst_basesink_do_sync):
21728         * gst/gstclock.c: (gst_clock_entry_new):
21729         * gst/gstevent.c: (gst_event_discont_get_value):
21730         * gst/gstpipeline.c: (pipeline_bus_handler),
21731         (gst_pipeline_change_state):
21732         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
21733         Better debugging of clocking info.
21734         Allow NULL values when getting discont values.
21735
21736 2005-04-27  Wim Taymans  <wim@fluendo.com>
21737
21738         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
21739         * check/gst/gstpad.c: (gst_pad_suite):
21740         Increase timeout for checks.
21741
21742 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
21743
21744         * check/Makefile.am:
21745           fix the broken rule for cleanup.  Apparently this rule is
21746           only needed on FC2, so maybe this warrants further autotool
21747           inspection.
21748
21749 2005-04-26  Wim Taymans  <wim@fluendo.com>
21750
21751         * gst/gsttrashstack.h:
21752         Ooohh. a nasty one! After having a failed pop() from the stack,
21753         it's possible that the stack is empty. In that case, don't
21754         follow the NULL pointer.
21755
21756 2005-04-25  Wim Taymans  <wim@fluendo.com>
21757
21758         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21759         (gst_pad_set_checkgetrange_function),
21760         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
21761         (gst_pad_check_pull_range), (gst_pad_pull_range),
21762         (gst_static_pad_template_get_caps), (gst_pad_start_task),
21763         (gst_pad_pause_task), (gst_pad_stop_task):
21764         * gst/gstplugin.c: (gst_plugin_load):
21765         * gst/gstplugin.h:
21766         Remove gst_library_load as it does more harm than good with
21767         the new g_module flags.
21768         Revert bogus caps template check in pad linking, pad caps
21769         are important when linking not the template, which is more
21770         general than the current caps.
21771
21772 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21773
21774         * gst/autoplug/.cvsignore:
21775         * gst/autoplug/Makefile.am:
21776         * gst/autoplug/gstsearchfuncs.c:
21777         * gst/autoplug/gstsearchfuncs.h:
21778         * gst/autoplug/gstspider.c:
21779         * gst/autoplug/gstspider.h:
21780         * gst/autoplug/gstspideridentity.c:
21781         * gst/autoplug/gstspideridentity.h:
21782         * gst/autoplug/spidertest.c:
21783           Die, spider, die.
21784
21785 2005-04-25  Wim Taymans  <wim@fluendo.com>
21786
21787         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21788         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
21789         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
21790         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
21791         * gst/gstpad.h:
21792         Added stubs for unimplemented functions. 
21793
21794 2005-04-24  David Schleef  <ds@schleef.org>
21795
21796         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
21797         please fix.
21798
21799 2005-04-24  David Schleef  <ds@schleef.org>
21800
21801         Convert everything from GstAtomicInt to g_atomic_int_*, and
21802         remove gstatomic.
21803         * gst/Makefile.am:
21804         * gst/gstatomic.c:
21805         * gst/gstatomic.h:
21806         * gst/gstatomic_impl.h:
21807         * gst/gstbuffer.c:
21808         * gst/gstcaps.c:
21809         * gst/gstcaps.h:
21810         * gst/gstclock.c:
21811         * gst/gstclock.h:
21812         * gst/gstdata.c:
21813         * gst/gstdata.h:
21814         * gst/gstdata_private.h:
21815         * gst/gstevent.c:
21816         * gst/gstinfo.c:
21817         * gst/gstinfo.h:
21818         * gst/gstmessage.c:
21819         * gst/gstobject.c:
21820         * gst/gstobject.h:
21821         * gst/gststructure.c:
21822         * gst/gststructure.h:
21823         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
21824         * gst/gstutils.h:
21825
21826 2005-04-24  David Schleef  <ds@schleef.org>
21827
21828         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
21829         make the regressions tests work.  Remove some code that is no
21830         longer true.
21831         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
21832         Disable warning for pads without templates.
21833
21834 2005-04-24  David Schleef  <ds@schleef.org>
21835
21836         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
21837         functions that handle filtered links.
21838         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
21839         removed functions.
21840         * gst/gstutils.c: Fix/remove utility functions that handle
21841         filtered caps.
21842         * gst/gstutils.h:
21843         * gst/gstvalue.c: Add serialization/deserialization of caps
21844         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
21845         requires fixing so that the filter caps notation creates
21846         a capsfilter element and sets the filter_caps property.  I
21847         think everyone probably wants to keep the shorthand notation.
21848         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
21849         * docs/gst/tmpl/gstpad.sgml:
21850
21851         * gst/elements/gstelements.c: Register capsfilter element.
21852         * gst/Makefile.am: fix spacing
21853         * docs/random/ds/0.9-suggested-changes: random
21854
21855 2005-04-23  David Schleef  <ds@schleef.org>
21856
21857         * gst/elements/Makefile.am:
21858         * gst/elements/gstcapsfilter.c: New element that acts like an
21859         identity, but filters caps.  Will eventually replace filtered
21860         caps in pad linking.
21861         * gst/gstutils.c: (gst_element_create_all_pads): New function
21862         to create all the ALWAYS pads that are registered with an
21863         element class.  This functionality should eventually be
21864         merged in with GstElement initialization.
21865         * gst/gstutils.h:
21866         * testsuite/trigger/README: part of trigger test code that should
21867         have been checked in a long time ago.
21868
21869 2005-04-23  David Schleef  <ds@schleef.org>
21870
21871         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
21872         needed with new versions of libtool (nobody will confirm this),
21873         and hard to carry around.
21874         * gst/autoplug/Makefile.am:
21875         * gst/base/Makefile.am:
21876         * gst/elements/Makefile.am:
21877         * gst/indexers/Makefile.am:
21878         * gst/schedulers/Makefile.am:
21879         * libs/gst/bytestream/Makefile.am:
21880         * libs/gst/control/Makefile.am:
21881         * libs/gst/dataprotocol/Makefile.am:
21882         * libs/gst/getbits/Makefile.am:
21883
21884 2005-04-21  Wim Taymans  <wim@fluendo.com>
21885
21886         * docs/design/draft-push-pull.txt:
21887         * docs/design/part-MT-refcounting.txt:
21888         * docs/design/part-TODO.txt:
21889         * docs/design/part-caps.txt:
21890         * docs/design/part-events.txt:
21891         * docs/design/part-gstbus.txt:
21892         * docs/design/part-gstpipeline.txt:
21893         * docs/design/part-messages.txt:
21894         * docs/design/part-push-pull.txt:
21895         * docs/design/part-query.txt:
21896         Some more docs.
21897
21898 2005-04-21  Wim Taymans  <wim@fluendo.com>
21899
21900         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
21901         (gst_message_new), (gst_message_new_error),
21902         (gst_message_new_warning), (gst_message_new_tag),
21903         (gst_message_new_state_changed), (gst_message_new_application),
21904         (gst_message_get_structure):
21905         * gst/gstmessage.h:
21906         * gst/gststructure.c: (gst_structure_set_parent_refcount),
21907         (gst_structure_copy_conditional):
21908         Use parent refcount in GstMessage to ensure GstStructure
21909         consistency.
21910         Cleaned up headers a bit.
21911         
21912
21913 2005-04-20  Wim Taymans  <wim@fluendo.com>
21914
21915         * gst/base/gstbasesink.c: (gst_basesink_base_init),
21916         (gst_basesink_pad_getcaps), (gst_basesink_init),
21917         (gst_basesink_chain_unlocked):
21918         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
21919         (gst_type_find_helper):
21920         * gst/elements/gsttypefindelement.c:
21921         (gst_type_find_element_have_type), (gst_type_find_element_init),
21922         (stop_typefinding), (gst_type_find_element_handle_event),
21923         (find_suggest), (gst_type_find_element_chain),
21924         (gst_type_find_element_checkgetrange),
21925         (gst_type_find_element_getrange), (do_typefind),
21926         (gst_type_find_element_activate):
21927         * gst/gstbuffer.c: (_gst_buffer_sub_free),
21928         (gst_buffer_default_free), (gst_buffer_default_copy),
21929         (gst_buffer_set_caps):
21930         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
21931         (gst_caps_replace):
21932         * gst/gstmessage.c: (gst_message_new),
21933         (gst_message_new_state_changed):
21934         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21935         (gst_pad_set_checkgetrange_function),
21936         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
21937         (gst_pad_set_caps), (gst_pad_check_pull_range),
21938         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
21939         * gst/gstpad.h:
21940         * gst/gsttypefind.c: (gst_type_find_register):
21941         Make gst_caps_replace() work like other _replace() functions.
21942         Use _caps_replace() where possible.
21943         Make sure _message_new() initialises its field.
21944         Add gst_static_pad_template_get_caps()
21945
21946
21947 2005-04-18  Andy Wingo  <wingo@pobox.com>
21948
21949         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
21950         on the peer, not the pad. I think that was a typo. Pass an extra
21951         arg to see if random access is possible. Activate the pads as
21952         PULL_RANGE if possible.
21953
21954         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
21955
21956         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
21957         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
21958         to PROP_....
21959
21960 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21961
21962         * docs/faq/using.xml:
21963           Add note on gstreamer-properties (#154996).
21964
21965 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21966
21967         * docs/random/bbb/optional-properties:
21968           Some analysis on optional properties.
21969
21970 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21971
21972         * docs/gst/tmpl/gstelementfactory.sgml:
21973         * gst/gstelement.h:
21974         * gst/gstelementfactory.c: (gst_element_factory_init),
21975         (gst_element_factory_cleanup), (gst_element_register),
21976         (__gst_element_factory_add_static_pad_template),
21977         (gst_element_factory_get_static_pad_templates),
21978         (gst_element_factory_can_src_caps),
21979         (gst_element_factory_can_sink_caps):
21980         * gst/registries/Makefile.am:
21981         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
21982         (gst_xml_registry_class_init), (gst_xml_registry_init),
21983         (gst_xml_registry_new), (gst_xml_registry_set_property),
21984         (gst_xml_registry_get_property), (get_time), (make_dir),
21985         (gst_xml_registry_get_perms_func),
21986         (plugin_times_older_than_recurse), (plugin_times_older_than),
21987         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
21988         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
21989         (add_to_char_array), (read_string), (read_uint), (read_enum),
21990         (load_pad_template), (load_feature), (load_plugin), (load_paths),
21991         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
21992         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
21993         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
21994         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
21995         (gst_xml_registry_rebuild):
21996         * gst/registries/gstlibxmlregistry.h:
21997         * tools/gst-compprep.c: (main):
21998         * tools/gst-inspect.c: (print_pad_templates_info):
21999         * tools/gst-xmlinspect.c: (print_element_info):
22000           Use libxml2 for registry parsing, use staticpadtemplates in
22001           elementfactories. Makes gst_init() +/- 10x faster.
22002
22003 2005-04-12  Wim Taymans  <wim@fluendo.com>
22004
22005         * gst/base/Makefile.am:
22006         * gst/base/gstbasesink.c: (gst_basesink_base_init),
22007         (gst_basesink_pad_getcaps), (gst_basesink_init),
22008         (gst_basesink_event), (gst_basesink_change_state):
22009         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22010         (gst_basesrc_init), (gst_basesrc_query),
22011         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
22012         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
22013         (gst_basesrc_check_get_range), (gst_basesrc_loop),
22014         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
22015         (gst_basesrc_stop), (gst_basesrc_activate),
22016         (gst_basesrc_change_state):
22017         * gst/base/gsttypefindhelper.c: (helper_find_peek),
22018         (helper_find_suggest), (gst_type_find_helper):
22019         * gst/base/gsttypefindhelper.h:
22020         * gst/elements/Makefile.am:
22021         * gst/elements/gstelements.c:
22022         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22023         (gst_fakesink_get_times), (gst_fakesink_event),
22024         (gst_fakesink_preroll), (gst_fakesink_render):
22025         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22026         (gst_fakesrc_init), (gst_fakesrc_event_handler),
22027         (gst_fakesrc_get_property), (gst_fakesrc_create),
22028         (gst_fakesrc_start), (gst_fakesrc_stop):
22029         * gst/elements/gstfakesrc.h:
22030         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
22031         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
22032         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
22033         (gst_filesrc_create_read), (gst_filesrc_create),
22034         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
22035         (gst_filesrc_start):
22036         * gst/elements/gsttypefindelement.c:
22037         (gst_type_find_element_have_type), (gst_type_find_element_init),
22038         (start_typefinding), (stop_typefinding), (push_buffer_store),
22039         (gst_type_find_element_handle_event),
22040         (gst_type_find_element_chain),
22041         (gst_type_find_element_checkgetrange),
22042         (gst_type_find_element_getrange), (do_typefind),
22043         (gst_type_find_element_activate),
22044         (gst_type_find_element_change_state):
22045         * gst/elements/gsttypefindelement.h:
22046         * gst/gstpipeline.c: (pipeline_bus_handler):
22047         Added typefind helper.
22048         Small preroll fix in the base sink.
22049         Disable typefind code in basesrc.
22050         Crude port of typefindelement.
22051         Fakesrc cleanups.
22052
22053
22054 2005-04-11  Wim Taymans  <wim@fluendo.com>
22055
22056         * check/gst/gstbus.c: (gstbus_suite):
22057         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
22058         * check/gstcheck.h:
22059           Fix up the timeout so that the test does not fail.
22060
22061 2005-04-06  Wim Taymans  <wim@fluendo.com>
22062
22063         * gst/base/README:
22064         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22065         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
22066         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
22067         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
22068         (gst_basesrc_check_get_range), (gst_basesrc_loop),
22069         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
22070         (gst_basesrc_stop), (gst_basesrc_activate),
22071         (gst_basesrc_change_state), (basesrc_find_peek),
22072         (basesrc_find_suggest), (gst_basesrc_type_find):
22073         * gst/base/gstbasesrc.h:
22074         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
22075         (gst_filesrc_class_init), (gst_filesrc_init),
22076         (gst_filesrc_finalize), (gst_filesrc_set_location),
22077         (gst_filesrc_set_property), (gst_filesrc_get_property),
22078         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
22079         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
22080         (gst_filesrc_create_read), (gst_filesrc_create),
22081         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
22082         * gst/elements/gstfilesrc.h:
22083         * gst/gstelement.c: (gst_element_get_state_func),
22084         (gst_element_lost_state), (gst_element_pads_activate):
22085         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22086         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
22087         (gst_pad_pull_range):
22088         * gst/gstpad.h:
22089         More work on the generic source base class, implement seeking,
22090         query.
22091         Make filesrc extend the base source class.
22092         Added gst_pad_set_checkgetrange_function to GstPad.
22093
22094 2005-04-06  Andy Wingo  <wingo@pobox.com>
22095
22096         * pkgconfig/gstreamer-base.pc.in:
22097         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
22098
22099         * pkgconfig/Makefile.am:
22100         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
22101
22102 2005-04-04  Wim Taymans  <wim@fluendo.com>
22103
22104         * gst/base/Makefile.am:
22105         * gst/base/README:
22106         * gst/base/gstbasesink.c: (gst_basesink_base_init),
22107         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22108         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22109         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
22110         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22111         (gst_basesrc_base_init), (gst_basesrc_class_init),
22112         (gst_basesrc_init), (gst_basesrc_get_formats),
22113         (gst_basesrc_get_query_types), (gst_basesrc_query),
22114         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
22115         (gst_basesrc_set_property), (gst_basesrc_get_property),
22116         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
22117         (gst_basesrc_loop), (gst_basesrc_activate),
22118         (gst_basesrc_change_state):
22119         * gst/base/gstbasesrc.h:
22120         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
22121         (gst_fakesrc_class_init), (gst_fakesrc_init),
22122         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
22123         (gst_fakesrc_get_property), (gst_fakesrc_create):
22124         * gst/elements/gstfakesrc.h:
22125         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
22126         (gst_filesrc_open_file), (gst_filesrc_loop),
22127         (gst_filesrc_activate), (filesrc_find_peek),
22128         (gst_filesrc_type_find):
22129         Made base source class, make fakesrc extend it.
22130         Add comments to basesink class.
22131         Some filesrc cleanup.
22132
22133 2005-03-31  David Schleef  <ds@schleef.org>
22134
22135         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
22136         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
22137         expected to link against libgstreamer.
22138         * gst/base/Makefile.am: link against libgstreamer
22139         * gst/elements/Makefile.am: same
22140
22141 2005-03-31  Andy Wingo  <wingo@pobox.com>
22142
22143         * tests/instantiate/Makefile.am:
22144         * tests/instantiate/caps.c: Add test to test speed of caps copy
22145         and free.
22146
22147         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
22148         GMemChunk to be fair.
22149
22150         * gst/gsttrashstack.h: Remove warning about using the fallback
22151         trash stack implementation, it's still faster than malloc.
22152
22153 2005-03-30  Andy Wingo  <wingo@pobox.com>
22154
22155         * tests/complexity.c: Add a copyright.
22156
22157 2005-03-31  Wim Taymans  <wim@fluendo.com>
22158
22159         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
22160         (gst_base_transform_class_init), (gst_base_transform_init),
22161         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
22162         (gst_base_transform_get_property),
22163         (gst_base_transform_sink_activate),
22164         (gst_base_transform_src_activate),
22165         (gst_base_transform_change_state):
22166         * gst/base/gstbasetransform.h:
22167         * gst/elements/gstidentity.c: (gst_identity_class_init),
22168         (gst_identity_event), (gst_identity_check_perfect),
22169         (gst_identity_transform), (gst_identity_start),
22170         (gst_identity_stop):
22171         Added start/stop methods to transform base class so subclasses 
22172         don't need to deal with state changes even.
22173
22174 2005-03-31  Wim Taymans  <wim@fluendo.com>
22175
22176         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
22177         (gst_event_new_discontinuous), (gst_event_discont_get_value):
22178         * gst/gstevent.h:
22179         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22180         (gst_pad_pull_range):
22181         Added rate to the discont event to prepare for variable speed
22182         and reverse playback.
22183
22184 2005-03-29  David Schleef  <ds@schleef.org>
22185
22186         * configure.ac:
22187         * testsuite/trigger/Makefile.am:
22188         * testsuite/trigger/trigger.c: A little example program to show
22189         how trigger-based elements can work.
22190
22191 2005-03-29  Wim Taymans  <wim@fluendo.com>
22192
22193         * gst/base/Makefile.am:
22194         * gst/base/README:
22195         * gst/base/gstbasesink.c: (gst_basesink_get_type),
22196         (gst_basesink_base_init), (gst_basesink_class_init),
22197         (gst_basesink_pad_getcaps), (gst_basesink_init),
22198         (gst_basesink_activate), (gst_basesink_change_state):
22199         * gst/base/gstbasesink.h:
22200         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
22201         (gst_base_transform_base_init), (gst_base_transform_finalize),
22202         (gst_base_transform_class_init), (gst_base_transform_init),
22203         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
22204         (gst_base_transform_event), (gst_base_transform_getrange),
22205         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
22206         (gst_base_transform_set_property),
22207         (gst_base_transform_get_property),
22208         (gst_base_transform_sink_activate),
22209         (gst_base_transform_src_activate),
22210         (gst_base_transform_change_state):
22211         * gst/base/gstbasetransform.h:
22212         * gst/elements/gstidentity.c: (gst_identity_finalize),
22213         (gst_identity_class_init), (gst_identity_init),
22214         (gst_identity_event), (gst_identity_check_perfect),
22215         (gst_identity_transform), (gst_identity_set_property),
22216         (gst_identity_get_property), (gst_identity_change_state):
22217         * gst/elements/gstidentity.h:
22218         * gst/gstelement.c: (gst_element_get_state_func),
22219         (gst_element_lost_state), (gst_element_pads_activate):
22220         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22221         (gst_pad_check_pull_range), (gst_pad_pull_range):
22222         * gst/gstpad.h:
22223         Simplify pad activation.
22224         Added function to check if pull_range can be performed.
22225         Error out when pulling inactive or flushing pads.
22226         Removed const from refcounted types as it does not make sense.
22227         Simplify pad templates in basesink
22228         Added base class for simple 1-to-1 transforms.
22229         Make identity subclass the base transform.
22230
22231 2005-03-29  Andy Wingo  <wingo@pobox.com>
22232
22233         * docs/libs/gstreamer-libs-overrides.txt: 
22234         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
22235         really don't understand what's going on, but like whatever. I want
22236         green buildbot!
22237
22238         * docs/gst/Makefile.am:
22239         * docs/libs/Makefile.am: Dist the overrides files.
22240
22241         * check/Makefile.am (clean-local): Remove .libs directories.
22242
22243         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
22244         elements to EXTRA_DIST, so po/ files are happy.
22245
22246         * po/POTFILES.in: Er, remove it here.
22247
22248         * po/POTFILES: Remove gstspider.c.
22249
22250         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
22251
22252         * docs/libs/gstreamer-libs-docs.sgml: 
22253         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
22254         bytestream.
22255
22256         * tests/complexity.c (main): Set the length of the preroll queue
22257         on the sinks to prevent a lockup.
22258
22259         * libs/gst/dataprotocol/Makefile.am: 
22260         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
22261         the same as the one in check/gst-libs/gdp.c.
22262
22263         * po/, docs/gst/: Commit automatic changes to docs and po files.
22264
22265         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
22266         the versioned libgstbase.
22267
22268         * check/Makefile.am: Depend on an unversioned gst-register, seems
22269         to make autoconf happier.
22270
22271         * gst/base/Makefile.am: Make libgstbase a versioned lib.
22272
22273 2005-03-28  Wim Taymans  <wim@fluendo.com>
22274
22275         * configure.ac:
22276         * docs/design/part-gstelement.txt:
22277         * docs/design/part-negotiation.txt:
22278         * docs/design/part-preroll.txt:
22279         * docs/design/part-scheduling.txt:
22280         * docs/design/part-states.txt:
22281         * gst/Makefile.am:
22282         * gst/base/Makefile.am:
22283         * gst/base/README:
22284         * gst/base/gstbasesink.c: (gst_basesink_get_template),
22285         (gst_basesink_base_init), (gst_basesink_class_init),
22286         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22287         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22288         (gst_basesink_set_pad_functions),
22289         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
22290         (gst_basesink_set_property), (gst_basesink_get_property),
22291         (gst_base_sink_get_template), (gst_base_sink_get_caps),
22292         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
22293         (gst_basesink_preroll_queue_push),
22294         (gst_basesink_preroll_queue_empty),
22295         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
22296         (gst_basesink_event), (gst_basesink_get_times),
22297         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
22298         (gst_basesink_chain_unlocked), (gst_basesink_chain),
22299         (gst_basesink_loop), (gst_basesink_activate),
22300         (gst_basesink_change_state):
22301         * gst/base/gstbasesink.h:
22302         * gst/elements/Makefile.am:
22303         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
22304         (gst_fakesink_class_init), (gst_fakesink_init),
22305         (gst_fakesink_set_property), (gst_fakesink_get_property),
22306         (gst_fakesink_get_times), (gst_fakesink_event),
22307         (gst_fakesink_preroll), (gst_fakesink_render),
22308         (gst_fakesink_change_state):
22309         * gst/elements/gstfakesink.h:
22310         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22311         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
22312         * gst/gstelement.c: (gst_element_add_pad),
22313         (gst_element_get_state_func), (gst_element_abort_state),
22314         (gst_element_commit_state), (gst_element_lost_state),
22315         (gst_element_set_state), (gst_element_pads_activate):
22316         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
22317         * gst/gstpipeline.c: (gst_pipeline_send_event),
22318         (gst_pipeline_change_state):
22319         Added state change code.
22320         Added/updated docs.
22321         Added sink base class, make fakesink extend the base class.
22322         Small cleanups in GstPipeline.
22323
22324 2005-03-26  David Schleef  <ds@schleef.org>
22325
22326         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
22327         is broken and should be implemented in a different library.
22328         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
22329         * gst/gst.h: remove gstcpu.h
22330         * gst/gstcpu.c: remove
22331         * gst/gstcpu.h: remove
22332         * gst/Makefile.am.future: Remove this file.  It's ancient.
22333
22334 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22335
22336         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22337         (gst_bin_send_event):
22338           Add default event/set_manager handlers. The set_manager handler
22339           takes care that the manager is distributed over kids that were
22340           already in the bin before the manager was set. The event handler
22341           is a utility virtual function that sends the event over all sinks,
22342           so that gst_element_send_event (bin, event); has the expected
22343           behaviour.
22344         * gst/gstpad.c: (gst_pad_event_default):
22345           Re-install default event handling for discontinuities, so that
22346           seeking works without requiring hacks in applications or extra
22347           code in sinks.
22348         * gst/gstpipeline.c: (gst_pipeline_class_init),
22349         (gst_pipeline_send_event):
22350           Half hack, half utility: set a pipeline to PAUSED for seek events,
22351           since that is the only way we can guarantee a/v sync. Means that
22352           you can do gst_element_seek (pipeline, method, pos); on a pipeline
22353           and it "just works".
22354
22355 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22356
22357         * gst/gstpipeline.c: (gst_pipeline_use_clock):
22358           Lock/unlock mismatch.
22359
22360 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
22361
22362         * docs/faq/gst-uninstalled:
22363           add gst-plugins-base
22364         * docs/gst/Makefile.am:
22365           don't error out until docs are fixed
22366         * docs/gst/gstreamer.types:
22367           remove thread
22368
22369 2005-03-22  Wim Taymans  <wim@fluendo.com>
22370
22371         * check/Makefile.am:
22372         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
22373         * gst/gststructure.c: (gst_structure_set_valist),
22374         (gst_structure_copy_conditional):
22375         Activated more tests.
22376         Added message test.
22377         Added G_TYPE_POINTER to GstStructure.
22378         
22379
22380 2005-03-22  Wim Taymans  <wim@fluendo.com>
22381
22382         * docs/design/part-TODO.txt:
22383         * docs/design/part-events.txt:
22384         * docs/design/part-gstbin.txt:
22385         * docs/design/part-gstbus.txt:
22386         * docs/design/part-gstpipeline.txt:
22387         * docs/design/part-messages.txt:
22388         * gst/gstbus.c:
22389         * gst/gstmessage.c:
22390         Docs updates
22391
22392 2005-03-21  Wim Taymans  <wim@fluendo.com>
22393
22394         * gst/gstbus.c: (gst_bus_post):
22395         Fix copy-and-paste error.
22396
22397 2005-03-21  Wim Taymans  <wim@fluendo.com>
22398
22399         * check/Makefile.am:
22400         * gst/Makefile.am:
22401         * gst/elements/Makefile.am:
22402         * gst/elements/gstelements.c:
22403         * gst/elements/gstfakesink.c: (gst_fakesink_init),
22404         (gst_fakesink_event), (gst_fakesink_chain):
22405         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22406         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
22407         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
22408         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
22409         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22410         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
22411         (gst_fakesrc_loop), (gst_fakesrc_activate),
22412         (gst_fakesrc_change_state):
22413         * gst/elements/gstfakesrc.h:
22414         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
22415         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
22416         (gst_filesrc_open_file), (gst_filesrc_loop),
22417         (gst_filesrc_activate), (gst_filesrc_change_state),
22418         (filesrc_find_peek), (filesrc_find_suggest),
22419         (gst_filesrc_type_find):
22420         * gst/elements/gstidentity.c: (gst_identity_finalize),
22421         (gst_identity_class_init), (gst_identity_init),
22422         (gst_identity_proxy_getcaps), (identity_queue_push),
22423         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
22424         (gst_identity_getrange), (gst_identity_chain),
22425         (gst_identity_sink_loop), (gst_identity_src_loop),
22426         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
22427         (gst_identity_set_property), (gst_identity_get_property),
22428         (gst_identity_change_state):
22429         * gst/elements/gstidentity.h:
22430         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
22431         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
22432         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
22433         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
22434         (gst_tee_sink_activate):
22435         * gst/elements/gsttee.h:
22436         * gst/gst.c: (gst_register_core_elements), (init_post):
22437         * gst/gst.h:
22438         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
22439         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
22440         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
22441         (gst_bin_change_state):
22442         * gst/gstbin.h:
22443         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
22444         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
22445         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
22446         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
22447         (gst_bus_set_sync_handler), (gst_bus_create_watch),
22448         (bus_watch_callback), (bus_watch_destroy),
22449         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
22450         (poll_timeout), (gst_bus_poll):
22451         * gst/gstbus.h:
22452         * gst/gstcaps.h:
22453         * gst/gstdata.h:
22454         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22455         (gst_element_post_message), (gst_element_message_full),
22456         (gst_element_get_state_func), (gst_element_get_state),
22457         (gst_element_abort_state), (gst_element_commit_state),
22458         (gst_element_lost_state), (gst_element_set_state),
22459         (gst_element_pads_activate), (gst_element_change_state),
22460         (gst_element_dispose), (gst_element_set_manager_func),
22461         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
22462         (gst_element_set_manager), (gst_element_get_manager),
22463         (gst_element_set_bus), (gst_element_get_bus),
22464         (gst_element_set_scheduler), (gst_element_get_scheduler):
22465         * gst/gstelement.h:
22466         * gst/gstevent.c: (gst_event_new_segment_seek),
22467         (gst_event_new_flush):
22468         * gst/gstevent.h:
22469         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
22470         (_gst_message_free), (gst_message_get_type), (gst_message_new),
22471         (gst_message_new_eos), (gst_message_new_error),
22472         (gst_message_new_warning), (gst_message_new_tag),
22473         (gst_message_new_state_changed), (gst_message_new_application),
22474         (gst_message_get_structure), (gst_message_parse_tag),
22475         (gst_message_parse_state_changed), (gst_message_parse_error),
22476         (gst_message_parse_warning):
22477         * gst/gstmessage.h:
22478         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
22479         (gst_real_pad_set_property), (gst_pad_set_active),
22480         (gst_pad_is_active), (gst_pad_set_blocked_async),
22481         (gst_pad_set_blocked), (gst_pad_is_blocked),
22482         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
22483         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
22484         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
22485         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
22486         (gst_pad_link_filtered), (gst_pad_relink_filtered),
22487         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
22488         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
22489         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
22490         (gst_pad_set_caps), (gst_pad_configure_sink),
22491         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
22492         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
22493         (gst_real_pad_dispose), (gst_real_pad_finalize),
22494         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
22495         (gst_pad_event_default_dispatch), (gst_pad_event_default),
22496         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
22497         * gst/gstpad.h:
22498         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
22499         (pipeline_bus_handler), (gst_pipeline_change_state),
22500         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
22501         * gst/gstpipeline.h:
22502         * gst/gstprobe.h:
22503         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22504         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
22505         (gst_queue_link_src), (gst_queue_bufferalloc),
22506         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
22507         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
22508         (gst_queue_loop), (gst_queue_handle_src_event),
22509         (gst_queue_handle_src_query), (gst_queue_src_activate),
22510         (gst_queue_change_state):
22511         * gst/gstqueue.h:
22512         * gst/gstscheduler.c: (gst_scheduler_init),
22513         (gst_scheduler_dispose), (gst_scheduler_create_task),
22514         (gst_scheduler_factory_create):
22515         * gst/gstscheduler.h:
22516         * gst/gststructure.c: (gst_structure_get_type),
22517         (gst_structure_copy_conditional):
22518         * gst/gststructure.h:
22519         * gst/gsttaginterface.h:
22520         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22521         (gst_task_init), (gst_task_dispose), (gst_task_create),
22522         (gst_task_get_state), (gst_task_start), (gst_task_stop),
22523         (gst_task_pause):
22524         * gst/gsttask.h:
22525         * gst/gstthread.c:
22526         * gst/gstthread.h:
22527         * gst/gsttypes.h:
22528         * gst/schedulers/Makefile.am:
22529         * gst/schedulers/cothreads_compat.h:
22530         * gst/schedulers/entryscheduler.c:
22531         * gst/schedulers/faircothreads.c:
22532         * gst/schedulers/faircothreads.h:
22533         * gst/schedulers/fairscheduler.c:
22534         * gst/schedulers/gstbasicscheduler.c:
22535         * gst/schedulers/gstoptimalscheduler.c:
22536         * gst/schedulers/gthread-cothreads.h:
22537         * gst/schedulers/threadscheduler.c:
22538         (gst_thread_scheduler_task_get_type),
22539         (gst_thread_scheduler_task_class_init),
22540         (gst_thread_scheduler_task_init),
22541         (gst_thread_scheduler_task_start),
22542         (gst_thread_scheduler_task_stop),
22543         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
22544         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
22545         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
22546         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
22547         (plugin_init):
22548         * libs/gst/Makefile.am:
22549         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
22550         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
22551         (gst_file_pad_parent_set):
22552         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22553         (gst_dp_event_from_packet):
22554         * tests/complexity.c: (main):
22555         * tests/mass_elements.c: (main):
22556         * testsuite/states/locked.c: (message_received), (main):
22557         * testsuite/states/parent.c: (main):
22558         * tools/gst-inspect.c: (print_element_flag_info),
22559         (print_implementation_info), (print_pad_info):
22560         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
22561         (main):
22562         * tools/gst-md5sum.c: (event_loop), (main):
22563         * tools/gst-typefind.c: (main):
22564         * tools/gst-xmlinspect.c: (print_element_info):
22565         Next big merge.
22566         Added GstBus for mainloop integration.
22567         Added GstMessage for sending notifications on the bus.
22568         Added GstTask as an abstraction for pipeline entry points.
22569         Removed GstThread.
22570         Removed Schedulers.
22571         Simplified GstQueue for multithreaded core.
22572         Made _link threadsafe, removed old capsnego.
22573         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
22574         Added pad blocking functions.
22575         Reworked scheduling functions in GstPad to prepare for
22576         scheduling updates soon.
22577         Moved events out of data stream.
22578         Simplified GstEvent types.
22579         Added return values to push/pull.
22580         Removed clocking from GstElement.
22581         Added prototypes for state change function for next merge.
22582         Removed iterate from bins and state change management.
22583         Fixed some elements, disabled others for now.
22584         Fixed -inspect and -launch.
22585         Added check for GstBus.
22586
22587 2005-03-10  Wim Taymans  <wim@fluendo.com>
22588
22589         * docs/design/part-MT-refcounting.txt:
22590         * docs/design/part-clocks.txt:
22591         * docs/design/part-gstelement.txt:
22592         * docs/design/part-gstobject.txt:
22593         * docs/design/part-standards.txt:
22594         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22595         (gst_bin_remove_func), (gst_bin_remove):
22596         * gst/gstbin.h:
22597         * gst/gstbuffer.c:
22598         * gst/gstcaps.h:
22599         * testsuite/clock/clock1.c: (main):
22600         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
22601         (main):
22602         * testsuite/dlopen/loadgst.c: (do_test):
22603         * testsuite/refcounting/bin.c: (add_remove_test1),
22604         (add_remove_test2), (main):
22605         * testsuite/refcounting/element.c: (main):
22606         * testsuite/refcounting/element_pad.c: (main):
22607         * testsuite/refcounting/pad.c: (main):
22608         * tools/gst-launch.c: (sigint_handler_sighandler):
22609         * tools/gst-typefind.c: (main):
22610         Doc updates.
22611         Added doc about clock.
22612         removed gst_bin_iterate_recurse_up(), marked methods
22613         for removal.
22614         Fix more testsuites.
22615
22616 2005-03-09  Wim Taymans  <wim@fluendo.com>
22617
22618         * gst/gstpad.c: (gst_pad_get_direction),
22619         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
22620         (gst_pad_collect_valist):
22621         * testsuite/bins/interface.c: (main):
22622         * testsuite/caps/audioscale.c: (test_caps):
22623         * testsuite/caps/caps.c: (test1), (test2), (test3):
22624         * testsuite/caps/deserialize.c: (main):
22625         * testsuite/caps/enumcaps.c: (main):
22626         * testsuite/caps/filtercaps.c: (main):
22627         * testsuite/caps/intersect2.c: (main):
22628         * testsuite/caps/random.c: (main):
22629         * testsuite/caps/renegotiate.c: (my_fixate), (main):
22630         * testsuite/caps/sets.c: (check_caps):
22631         * testsuite/caps/simplify.c: (check_caps), (main):
22632         * testsuite/caps/subtract.c: (check_caps):
22633         Fix _pad_get_direction wrt ghostpads.
22634         Fix caps testsuite.
22635
22636 2005-03-09  Wim Taymans  <wim@fluendo.com>
22637
22638         * check/Makefile.am:
22639         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
22640         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
22641         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
22642         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
22643         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
22644         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
22645         (gst_bin_remove), (gst_bin_iterate_recurse_up),
22646         (bin_element_is_sink), (gst_bin_iterate_sinks),
22647         (gst_bin_iterate_all_by_interface):
22648         * gst/gstbin.h:
22649         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
22650         (gst_element_change_state), (gst_element_dispose),
22651         (gst_element_finalize), (gst_element_set_loop_function):
22652         * gst/gstelement.h:
22653         * gst/gstiterator.c: (find_custom_fold_func):
22654         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22655         (gst_pad_collectv), (gst_pad_collect_valist),
22656         (gst_pad_template_new):
22657         * gst/gstpipeline.c: (gst_pipeline_class_init),
22658         (gst_pipeline_dispose), (gst_pipeline_set_property),
22659         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
22660         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
22661         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
22662         * gst/gstutils.h:
22663         * gst/schedulers/entryscheduler.c:
22664         * gst/schedulers/gstbasicscheduler.c:
22665         (gst_basic_scheduler_cothreaded_chain),
22666         (gst_basic_scheduler_chain_add_element):
22667         * testsuite/bins/interface.c: (main):
22668         Added GstBin test.
22669         Added GstSystemClock test.
22670         Implemented clock distribution code in GstBin.
22671         Implemented iterate sinks method for future use.
22672         Rearranged gstelement.h
22673         Fix GstIterator comparison bug.
22674         Moved some code to GstPipeline, mostly clocking related.
22675
22676 2005-03-09  Wim Taymans  <wim@fluendo.com>
22677
22678         * configure.ac:
22679         * gst/gst_private.h:
22680         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22681         (gst_bin_remove_func), (gst_bin_remove),
22682         (gst_bin_get_by_name_recurse_up):
22683         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
22684         (gst_clock_id_compare_func), (gst_clock_id_wait),
22685         (gst_clock_id_wait_async), (gst_clock_init),
22686         (gst_clock_adjust_unlocked), (gst_clock_get_time):
22687         * gst/gstelement.h:
22688         * gst/gstinfo.c: (_gst_debug_init):
22689         * gst/gstobject.h:
22690         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22691         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
22692         * gst/gstpad.h:
22693         Bump version number, we're now 0.9.0
22694         Add future debugging category.
22695         Fix NULL _unref() in _get_by_name_recurse_up
22696         Rearrange gstpad.h.
22697         Update some docs.
22698
22699 2005-03-08  Wim Taymans  <wim@fluendo.com>
22700
22701         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
22702         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
22703         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
22704         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
22705         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
22706         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
22707         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
22708         * gst/elements/gstidentity.c: (gst_identity_class_init):
22709         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
22710         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
22711         * gst/elements/gstshaper.c: (gst_shaper_class_init):
22712         * gst/elements/gststatistics.c: (gst_statistics_class_init):
22713         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
22714         (gst_tee_link):
22715         * gst/gstelement.c: (gst_element_class_init),
22716         (gst_element_base_class_init), (gst_element_init),
22717         (gst_element_get_random_pad), (gst_element_wait_state_change),
22718         (gst_element_change_state), (gst_element_dispose),
22719         (gst_element_finalize), (gst_element_set_loop_function):
22720         * gst/gstelement.h:
22721         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
22722         * gst/gstthread.c: (gst_thread_class_init),
22723         (gst_thread_release_children_locks), (gst_thread_change_state):
22724         * gst/schedulers/gstbasicscheduler.c:
22725         (gst_basic_scheduler_loopfunc_wrapper),
22726         (gst_basic_scheduler_chain_wrapper),
22727         (gst_basic_scheduler_src_wrapper),
22728         (gst_basic_scheduler_remove_element):
22729         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
22730         Remove threadsafe properties. Fix elements because GObject
22731         complains when installing a property before declaring a
22732         set/get_property handler.
22733         Rearrange gstelement.h file, use STATE macros for state locks.
22734         Free mutexes in the finalize method instead of dispose.
22735
22736 2005-03-08  Wim Taymans  <wim@fluendo.com>
22737
22738         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
22739         * gst/gstthread.c: (gst_thread_release_children_locks):
22740         Added parentage check.
22741         Fix build og GstThread again.
22742
22743 2005-03-08  Wim Taymans  <wim@fluendo.com>
22744
22745         * docs/design/part-MT-refcounting.txt:
22746         * docs/design/part-conventions.txt:
22747         * docs/design/part-gstobject.txt:
22748         * docs/design/part-relations.txt:
22749         * docs/design/part-standards.txt:
22750         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22751         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
22752         (gst_bin_get_by_name), (gst_bin_get_by_interface),
22753         (gst_bin_iterate_all_by_interface):
22754         * gst/gstbuffer.h:
22755         * gst/gstclock.h:
22756         * gst/gstelement.c: (gst_element_class_init),
22757         (gst_element_change_state), (gst_element_set_loop_function):
22758         * gst/gstelement.h:
22759         * gst/gstiterator.c:
22760         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
22761         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
22762         (gst_object_dispatch_properties_changed), (gst_object_set_name),
22763         (gst_object_set_parent), (gst_object_unparent),
22764         (gst_object_check_uniqueness):
22765         * gst/gstobject.h:
22766         Docs updates, clean up some headers.
22767
22768 2005-03-07  Wim Taymans  <wim@fluendo.com>
22769
22770         * check/.cvsignore:
22771         * check/Makefile.am:
22772         * check/gst-libs/.cvsignore:
22773         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
22774         * check/gst/.cvsignore:
22775         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
22776         (START_TEST), (gstbus_suite), (main):
22777         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
22778         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
22779         (gst_data_suite), (main):
22780         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
22781         (add_fold_func), (gstiterator_suite), (main):
22782         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
22783         (thread_name_object), (thread_name_object_default),
22784         (gst_object_name_compare), (gst_object_suite), (main):
22785         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
22786         (gst_pad_suite), (main):
22787         * check/gstcheck.c: (gst_check_log_message_func),
22788         (gst_check_log_critical_func), (gst_check_init):
22789         * check/gstcheck.h:
22790         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
22791         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
22792         Added checks.
22793
22794 2005-03-07  Wim Taymans  <wim@fluendo.com>
22795
22796         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22797         (gst_list_iterator_next), (gst_list_iterator_resync),
22798         (gst_list_iterator_free), (gst_iterator_new_list),
22799         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
22800         (gst_iterator_free), (gst_iterator_push), (filter_next),
22801         (filter_resync), (filter_uninit), (filter_free),
22802         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
22803         (gst_iterator_foreach), (find_custom_fold_func),
22804         (gst_iterator_find_custom):
22805         * gst/gstiterator.h:
22806         Added missing files.
22807
22808 2005-03-07  Wim Taymans  <wim@fluendo.com>
22809
22810         * Makefile.am:
22811         * configure.ac:
22812         * docs/design/part-MT-refcounting.txt:
22813         * docs/design/part-conventions.txt:
22814         * docs/design/part-gstobject.txt:
22815         * docs/design/part-relations.txt:
22816         * examples/mixer/mixer.c: (main):
22817         * examples/thread/thread.c: (eos), (main):
22818         * gst/Makefile.am:
22819         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
22820         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
22821         (gst_spider_plug_from_srcpad):
22822         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
22823         (gst_spider_identity_change_state),
22824         (gst_spider_identity_sink_loop_type_finding):
22825         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
22826         * gst/elements/gstidentity.c: (gst_identity_init):
22827         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
22828         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
22829         * gst/elements/gsttypefindelement.c: (free_entry):
22830         * gst/gst.c:
22831         * gst/gst.h:
22832         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
22833         (gst_bin_set_clock_func), (gst_bin_auto_clock),
22834         (gst_bin_set_index), (gst_bin_set_element_sched),
22835         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
22836         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
22837         (gst_bin_iterate_elements), (iterate_child_recurse),
22838         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
22839         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
22840         (compare_interface), (gst_bin_get_by_interface),
22841         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
22842         * gst/gstbin.h:
22843         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
22844         (gst_buffer_default_free), (gst_buffer_default_copy),
22845         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
22846         (gst_buffer_create_sub):
22847         * gst/gstbuffer.h:
22848         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
22849         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
22850         (gst_caps_unref), (gst_static_caps_get),
22851         (gst_caps_remove_and_get_structure), (gst_caps_append),
22852         (gst_caps_append_structure), (gst_caps_remove_structure),
22853         (gst_caps_copy_nth), (gst_caps_set_simple),
22854         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
22855         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
22856         (gst_caps_structure_intersect_field), (gst_caps_intersect),
22857         (gst_caps_structure_subtract_field), (gst_caps_subtract),
22858         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
22859         (gst_caps_structure_figure_out_union),
22860         (gst_caps_switch_structures), (gst_caps_do_simplify),
22861         (gst_caps_replace), (gst_caps_from_string),
22862         (gst_caps_copy_conditional):
22863         * gst/gstcaps.h:
22864         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
22865         (_gst_clock_id_free), (gst_clock_id_unref),
22866         (gst_clock_id_compare_func), (gst_clock_id_wait),
22867         (gst_clock_id_wait_async), (gst_clock_class_init),
22868         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
22869         (gst_clock_get_time), (gst_clock_set_time_adjust),
22870         (gst_clock_set_property), (gst_clock_get_property):
22871         * gst/gstclock.h:
22872         * gst/gstcompat.h:
22873         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
22874         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
22875         * gst/gstdata.h:
22876         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22877         (gst_element_requires_clock), (gst_element_provides_clock),
22878         (gst_element_set_clock), (gst_element_clock_wait),
22879         (gst_element_wait), (gst_element_set_time_delay),
22880         (gst_element_is_indexable), (gst_element_add_pad),
22881         (gst_element_add_ghost_pad), (gst_element_remove_pad),
22882         (pad_compare_name), (gst_element_get_static_pad),
22883         (gst_element_request_pad), (gst_element_get_request_pad),
22884         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
22885         (gst_element_class_get_pad_template_list),
22886         (gst_element_class_get_pad_template), (gst_element_error_func),
22887         (gst_element_get_random_pad), (gst_element_get_event_masks),
22888         (gst_element_send_event), (gst_element_seek),
22889         (gst_element_get_query_types), (gst_element_query),
22890         (gst_element_get_formats), (gst_element_convert),
22891         (gst_element_is_locked_state), (gst_element_set_locked_state),
22892         (gst_element_sync_state_with_parent), (gst_element_change_state),
22893         (gst_element_finalize), (gst_element_yield),
22894         (gst_element_interrupt), (gst_element_set_scheduler),
22895         (gst_element_get_scheduler), (gst_element_set_loop_function):
22896         * gst/gstelement.h:
22897         * gst/gstevent.h:
22898         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
22899         (gst_format_get_by_nick), (gst_format_get_details),
22900         (gst_format_iterate_definitions):
22901         * gst/gstformat.h:
22902         * gst/gstindex.c: (gst_index_gtype_resolver):
22903         * gst/gstinfo.c:
22904         * gst/gstinfo.h:
22905         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
22906         (gst_mem_chunk_free):
22907         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
22908         (gst_object_ref), (gst_object_unref), (gst_object_sink),
22909         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
22910         (gst_object_dispatch_properties_changed),
22911         (gst_object_set_name_default), (gst_object_set_name),
22912         (gst_object_get_name), (gst_object_set_name_prefix),
22913         (gst_object_get_name_prefix), (gst_object_set_parent),
22914         (gst_object_get_parent), (gst_object_unparent),
22915         (gst_object_check_uniqueness), (gst_object_save_thyself),
22916         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
22917         (gst_object_set_property), (gst_object_get_property),
22918         (gst_object_get_path_string):
22919         * gst/gstobject.h:
22920         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
22921         (gst_real_pad_init), (gst_real_pad_get_property),
22922         (gst_pad_custom_new), (gst_pad_get_direction),
22923         (gst_pad_set_active), (gst_pad_is_active),
22924         (gst_pad_set_event_function), (gst_pad_is_linked),
22925         (gst_pad_link_free), (gst_pad_link_intersect),
22926         (gst_pad_link_fixate), (gst_pad_set_caps),
22927         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
22928         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
22929         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
22930         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
22931         (gst_pad_get_caps), (gst_pad_peer_get_caps),
22932         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
22933         (gst_pad_realize), (gst_pad_get_allowed_caps),
22934         (gst_real_pad_dispose), (gst_real_pad_finalize),
22935         (gst_pad_collectv), (gst_pad_collect_valist),
22936         (gst_pad_template_dispose), (gst_pad_template_new),
22937         (gst_pad_get_internal_links):
22938         * gst/gstpad.h:
22939         * gst/gstpipeline.c: (gst_pipeline_dispose),
22940         (gst_pipeline_change_state):
22941         * gst/gstpipeline.h:
22942         * gst/gstplugin.c:
22943         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
22944         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
22945         * gst/gstpluginfeature.h:
22946         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
22947         * gst/gstquery.c: (_gst_query_type_initialize),
22948         (gst_query_type_register), (gst_query_type_get_by_nick),
22949         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
22950         * gst/gstquery.h:
22951         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
22952         * gst/gstscheduler.c: (gst_scheduler_add_element),
22953         (gst_scheduler_factory_create):
22954         * gst/gststructure.c: (gst_structure_set_parent_refcount),
22955         (gst_structure_free), (gst_structure_set_name),
22956         (gst_structure_id_set_value), (gst_structure_set_value),
22957         (gst_structure_set_valist), (gst_structure_remove_field),
22958         (gst_structure_remove_fields),
22959         (gst_structure_remove_fields_valist),
22960         (gst_structure_remove_all_fields), (gst_structure_foreach),
22961         (gst_structure_map_in_place),
22962         (gst_caps_structure_fixate_field_nearest_int),
22963         (gst_caps_structure_fixate_field_nearest_double):
22964         * gst/gststructure.h:
22965         * gst/gstsystemclock.c: (gst_system_clock_class_init),
22966         (gst_system_clock_init), (gst_system_clock_dispose),
22967         (gst_system_clock_async_thread),
22968         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
22969         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
22970         * gst/gstsystemclock.h:
22971         * gst/gsttag.c: (gst_tag_list_add_value_internal),
22972         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
22973         * gst/gsttaginterface.c:
22974         * gst/gstthread.c: (gst_thread_dispose),
22975         (gst_thread_release_children_locks), (gst_thread_change_state),
22976         (gst_thread_main_loop):
22977         * gst/gsttrashstack.h:
22978         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
22979         * gst/gsttypes.h:
22980         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22981         (gst_element_request_pad), (gst_element_get_pad_from_template),
22982         (gst_element_request_compatible_pad),
22983         (gst_element_get_compatible_pad_filtered),
22984         (gst_element_get_compatible_pad), (gst_element_state_get_name),
22985         (gst_element_link_pads_filtered), (gst_element_link_filtered),
22986         (gst_element_link_many), (gst_element_link),
22987         (gst_element_link_pads), (gst_element_unlink_pads),
22988         (gst_element_unlink_many), (gst_element_unlink),
22989         (gst_pad_can_link_filtered), (gst_pad_can_link),
22990         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
22991         (gst_object_default_error), (gst_bin_add_many),
22992         (gst_bin_remove_many), (gst_element_populate_std_props),
22993         (gst_element_class_install_std_props), (gst_buffer_merge),
22994         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
22995         (link_fold_func), (gst_pad_proxy_setcaps):
22996         * gst/gstutils.h:
22997         * gst/gstvalue.c: (gst_value_deserialize_string):
22998         * gst/parse/grammar.y:
22999         * gst/schedulers/gstbasicscheduler.c:
23000         (gst_basic_scheduler_cothreaded_chain),
23001         (gst_basic_scheduler_chain_recursive_add),
23002         (gst_basic_scheduler_pad_link):
23003         * gst/schedulers/gstoptimalscheduler.c:
23004         (get_group_schedule_function),
23005         (gst_opt_scheduler_state_transition),
23006         (gst_opt_scheduler_add_element), (element_get_reachables_func):
23007         * libs/gst/bytestream/bytestream.c:
23008         * libs/gst/dataprotocol/dataprotocol.c:
23009         (gst_dp_header_from_buffer):
23010         * po/nb.po:
23011         * po/ru.po:
23012         * tests/threadstate/threadstate2.c: (eos):
23013         * tools/gst-compprep.c: (main):
23014         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
23015         (print_pad_info), (print_children_info):
23016         * tools/gst-launch.c: (idle_func), (main):
23017         * tools/gst-md5sum.c: (idle_func), (main):
23018         * tools/gst-xmlinspect.c: (print_element_info):
23019         First THREADED backport attempt, focusing on adding locks and
23020         making sure the API is threadsafe. Needs more work. More docs
23021         follow this week.
23022
23023 2005-02-24  Andy Wingo  <wingo@pobox.com>
23024
23025         * tests/bench-complexity.scm:
23026         * tests/complexity.gnuplot: New files, good for running complexity
23027         benchmarks.
23028
23029         * tests/Makefile.am:
23030         * tests/complexity.c: New test, sets up N elements, at each level
23031         teeing into M streams per element. Eeeenteresting.
23032
23033         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
23034         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
23035         running bench-mass_elements.scm.
23036
23037         * tests/bench-mass_elements.scm: New script, runs mass_elements
23038         for various numbers of identities, outputting the results to a
23039         file. Requires guile 1.6. Just for testing.
23040
23041 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23042
23043         * gst/schedulers/fairscheduler.c:
23044           compile with debug disabled
23045
23046 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23047
23048         * configure.ac:
23049           hunting season on 0.9 is now OPEN