libs/gst/base/gstbasesrc.c: Make _wait_playing() not check any variables so that...
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
2
3         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4         (gst_base_src_perform_seek), (gst_base_src_get_range),
5         (gst_base_src_set_playing), (gst_base_src_change_state):
6         Make _wait_playing() not check any variables so that we can call this
7         function from subclasses. Move the checks elsewhere similar to
8         _wait_preroll() in basesink.
9         Add some debugging.
10         Only signal the LIVE cond when we are going back to PLAYING.
11
12 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
13
14         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
15           Use g_remove() and g_rename(). Check result of g_rename(), and
16           don't leak the open file descriptor if we error out when writing.
17
18         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
19           Must check the return value of close() after writing out the new
20           registry file.  Sometimes write problems such as out-of-diskspace
21           are only reported when the file is closed and not already during
22           the write.  This may have caused partial/broken registry files in
23           some rare circumstances. Should fix #503675.
24
25 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
26
27         * docs/gst/.cvsignore:
28         * docs/libs/.cvsignore:
29         * docs/plugins/.cvsignore:
30         Ignore files generated by new common/* modifications
31
32 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
33
34         * win32/common/libgstbase.def:
35           Yes, you can also have a <TAB> if you want.
36
37 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
38
39         * win32/common/libgstbase.def:
40           Add new basetransform API to win export file.
41
42 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
43
44         * tests/check/gst/gstbin.c:
45           Adjust the test to the refcount change two days ago.
46
47 2007-12-14  David Schleef  <ds@schleef.org>
48
49         * docs/faq/getting.xml: Fix typo.
50
51 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
52
53         * docs/libs/gstreamer-libs-sections.txt:
54         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
55           (gst_base_transform_prepare_output_buffer),
56           (gst_base_transform_set_gap_aware):
57         * libs/gst/base/gstbasetransform.h:
58           API: Add gst_base_transform_set_gap_aware() to control whether
59           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
60           get buffers with this flag at all. Fixes #503231.
61
62 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
63
64         * libs/gst/base/gstbasesink.c:
65         * libs/gst/base/gstbasesrc.c:
66         * libs/gst/base/gstbasetransform.c:
67           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
68           thread. Correct log message in gstbasesrc.c.
69
70 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
71
72         * gst/gstutils.c: (element_find_unconnected_pad):
73           Fix possible compiler warning (#503417).
74
75 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
76
77         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
78           Don't use GST_CAT_EVENT here for logging, it makes no sense.
79
80 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
81
82         * tools/gst-inspect.c: (print_element_properties_info):
83           Add support for GstFraction properties.
84
85 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
86
87         * Makefile.am:
88           Add check-exports target and run it as part of 'make check'
89           (see #499140 and #493983).
90
91         * gst/gst_private.h:
92         * gst/gstelementfactory.h:
93         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
94         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
95           (_priv_gst_in_valgrind):
96         * gst/gstinfo.h: (GstLogFunction):
97         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
98           (gst_type_find_register):
99         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
100           (gst_type_find_factory_get_type):
101         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
102           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
103           (gst_controller_new_valist), (gst_controller_new_list),
104           (_gst_controller_dispose), (_gst_controller_class_init):
105         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
106         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
107           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
108           (gst_object_get_controller), (gst_object_set_controller),
109           (gst_object_suggest_next_sync), (gst_object_sync_values),
110           (gst_object_set_control_source), (gst_object_get_control_source),
111           (gst_object_get_value_arrays), (gst_object_get_value_array),
112           (gst_object_get_control_rate), (gst_object_set_control_rate):
113         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
114         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
115           Make some functions that should be static static; rename some
116           private symbols so that they don't get exported; add some FIXME
117           comments so we can move accidentally exported functions into
118           our private section in 0.11.
119
120         * win32/common/libgstreamer.def:
121           Add gst_utils_get_timestamp().
122
123 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
124
125         * gst/gstvalue.c:
126         * gst/gstvalue.h:
127           Add more missing "Since:" tags to docs.
128
129 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
130
131         * gst/gstutils.c:
132           Add mising "Since:" to docs.
133
134 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
135
136         * gst/gstplugin.c:
137           Include "glib-compat-private.h" to fix the build on system with
138           glib < 2.10. Fixes #503131.
139
140 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
141
142         * gst/gstutils.c:
143         * gst/gstutils.h:
144           Actually its not PURE as it gets the time from elsewhere.
145
146 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
147
148         * docs/gst/gstreamer-sections.txt:
149         * gst/gstclock.h:
150         * gst/gstdebugutils.c:
151         * gst/gstinfo.c:
152         * gst/gstutils.c:
153         * gst/gstutils.h:
154         * libs/gst/base/gstbasesink.c:
155         * tools/gst-launch.c:
156           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
157           uses as we don't have HAVE_POSIX_TIMERS in public headers.
158           Thanks Tim for spotting.
159
160 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
161
162         * configure.ac:
163           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
164
165 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
166
167         * gst/gststructure.c: (gst_structure_validate_name),
168           (gst_structure_new_valist), (gst_structure_parse_value),
169           (gst_structure_from_string):
170           Don't crash in _from_string() if the structure name is not valid
171           (fixes #501560).  Allow structure names to start with a number
172           again (this apparently broke the ubuntu codec installer).
173
174         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
175           (GST_START_TEST):
176           Add unit test for the crash; update unit tests for new behaviour.
177
178 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
179
180         * gst/gstutils.c:
181         Clarify gst_element_get_compatible_pad() documentation.
182         Fixes #500919.
183
184 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
185
186         * tests/check/Makefile.am:
187           Don't forget to dist {gst,libs}/struct_hppa.h.
188
189 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
190
191         * libs/gst/base/gstbasesink.c:
192           Use new API to get elapsed time.
193
194 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
195
196         * gst/gstdebugutils.c:
197         * gst/gstinfo.c:
198           Fix wrong order of args in GST_CLOCK_DIFF() usage.
199
200         * tools/gst-launch.c:
201           Use new API to get elapsed time.
202
203 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
204
205         * docs/gst/gstreamer-sections.txt:
206         * gst/gstclock.h:
207         * gst/gstdebugutils.c:
208         * gst/gstinfo.c:
209           Rename new API + ChangeLog surgery to remove old name from last entry..
210           API: GST_GET_TIMESTAMP
211
212 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
213
214         * docs/gst/gstreamer-sections.txt:
215         * gst/gstclock.h:
216         * gst/gstdebugutils.c:
217         * gst/gstinfo.c:
218           Now hide the different clock stuff behind a macro.
219
220 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
221
222         * configure.ac:
223         * gst/gstdebugutils.c:
224         * gst/gstinfo.c:
225           Apply the posix-timer check from #361155. Conditionally use the posix
226           timer for logging. This gives better timestamp precission, less
227           overhead and no ntp jitter.
228
229 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
230
231         * gst/gstminiobject.c: (gst_mini_object_get_type),
232         (gst_mini_object_class_init), (gst_mini_object_copy_default),
233         (gst_mini_object_finalize), (gst_mini_object_copy),
234         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
235         (gst_mini_object_replace), (param_mini_object_validate),
236         (gst_param_spec_mini_object_get_type):
237         Some cleanup and checking against invalid function parameters.
238
239 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
240
241         * docs/gst/gstreamer-sections.txt:
242         * gst/gstclock.h:
243         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
244         (gst_systemclock_suite):
245         Start merging in the easy bits of #361155, the monotonic clock patch.
246         This one adds a few handy macros with docs and a testsuite.
247
248 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
249
250         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
251         Be a bit smarter when seeking, like, don't try to do a seek when it's
252         not needed. This avoids errors when the file is not seekable.
253         Fixes #499771.
254
255 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
256
257         * docs/gst/gstreamer-docs.sgml:
258         * docs/gst/gstreamer-sections.txt:
259         * docs/gst/gstreamer.types.in:
260         * gst/Makefile.am:
261         * gst/gst.h:
262         * gst/gstpreset.c:
263         * gst/gstpreset.h:
264         * plugins/elements/gstqueue.c:
265           Due to popular request remove preset interface again. :-(.
266
267 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
268
269         * tools/gst-inspect.c:
270           Print 'default value' for enums and flags too.
271
272 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
273
274         * docs/random/ensonic/profiling.txt:
275           More ideas.
276
277         * gst/gstbin.c:
278           Fix typo and give better log output.
279
280         * gst/gstdebugutils.c:
281         * gst/gstdebugutils.h:
282           More ideas, make graphs a bit smaller and fix param name in macro.
283
284 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
285
286         * gst/gstpreset.c:
287           Try harder to use the return value from fgets().
288
289 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
290
291         * gst/gstpreset.c:
292           For theses two fgets we handle the error below.
293
294 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
295
296         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
297         Only send upstream events upstream. Fixes #498746.
298
299 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
300
301         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
302
303         * plugins/elements/gstidentity.c: (gst_identity_class_init),
304         (gst_identity_init), (gst_identity_transform_ip),
305         (gst_identity_set_property), (gst_identity_get_property):
306         * plugins/elements/gstidentity.h:
307         Add property to disable handoff signal emission. Fixes #498694.
308         API: GstIdentity::signal-handoffs
309
310 2007-11-21  Julien Moutte  <julien@fluendo.com>
311
312         * docs/faq/gst-uninstalled: Yet another missing library for the
313         uninstalled script (fft)
314
315 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
316
317         * docs/faq/developing.xml:
318         Add a question about how to submit new translations.
319
320         * docs/random/release:
321         Update the contact email address for the Translation Project
322
323         * plugins/elements/gstfdsrc.c:
324         The parent_class for fdsrc is pushsrc, not GstElement.
325
326 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
327
328         * gst/gstpreset.c:
329           Plug a leak and fix saving.
330
331 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
332
333         * docs/gst/gstreamer-sections.txt:
334         Add new gst_preset__get_property_names() function to the docs
335         to fix the build.
336
337 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
338
339         * gst/gstpreset.c:
340         * gst/gstpreset.h:
341           Change _get_preset_names API to return a strv with copies. Add
342           _get_property_names to allow implementations to filter and provide
343           good default implementation.
344
345 2007-11-20  Julien MOUTTE  <julien@moutte.net>
346
347         * docs/faq/gst-uninstalled: Add another library to the uninstalled
348         script (sdp).
349
350 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
351
352         * gst/gstpreset.c:
353           More cleanups, docs, and TODOs from comments that now slowly come in.
354
355 2007-11-19  Julien MOUTTE  <julien@moutte.net>
356
357         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
358         search path.
359
360 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
361
362         * gst/gstpreset.c:
363           Fix bogus warning and make the property type specific code more
364           similar.
365
366 2007-11-19  Julien MOUTTE  <julien@moutte.net>
367
368         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
369         it build on OS X.
370
371 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
372
373         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
374         (gst_bin_add_func), (gst_bin_remove_func),
375         (gst_bin_change_state_func), (gst_bin_continue_func):
376         Change email, cleanups add some more debug and comments.
377         Also set bus and clock on new elements when the pipeline was in error.
378
379 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
380
381         * gst/gstbin.c:
382         * gst/gstdebugutils.c:
383           Fix build with --disable-gst-debug. Fixes #497859.
384           Spotted by Sameer Naik.
385
386 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
387
388         * gst/gstevent.c:
389           Little documentation improvment.
390
391         * gst/gstpreset.c:
392           More TODO cleanups. Remove c++ comments.
393
394         * libs/gst/controller/gstcontroller.c:
395           Add TODO and use quark from static string.
396
397         * tests/check/gst/gstmessage.c:
398         * tests/check/gst/gststructure.c:
399           Use quark from static string.
400
401 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
402
403         * gst/gstpreset.c:
404           Add some comments and TODOs.
405
406         * gst/gstpreset.h:
407           Add padding for future changes.
408
409         * plugins/elements/gstqueue.c:
410           Implement the iface.    
411
412 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
413
414         * docs/gst/gstreamer-docs.sgml:
415         * docs/gst/gstreamer-sections.txt:
416         * docs/gst/gstreamer.types.in:
417         * gst/Makefile.am:
418         * gst/gst.h:
419         * gst/gstpreset.c:
420         * gst/gstpreset.h:
421           Add the preset interface (Fixes #396779). Do some doc cleanups along.
422
423 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
424
425         * configure.ac:
426
427         Back to CVS
428
429 === release 0.10.15 ===
430
431 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
432
433         * configure.ac:
434           releasing 0.10.15, "October"
435
436 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
437
438         * win32/vs6/libgstreamer.dsp:
439         Convert line endings back to DOS.
440
441 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
442
443         * docs/design/draft-tagreading.txt:
444         * docs/random/ensonic/profiling.txt:
445         Update fast tagreading draft and performance profiling ideas.
446
447 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
448
449         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
450         Don't hold the object lock when unreffing a buffer because it could
451         cause a deadlock when the finalize function wants to grab the object
452         lock too. Fixes #495133.
453
454 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
455
456         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
457         (gst_segment_to_stream_time), (gst_segment_to_running_time):
458         Also accumulate time correctly when doing reverse playback. Fixes
459         #488201,
460         When converting to running and stream time, use default values for
461         start/stop/time/accum when comparing different formats. Fixes #494245.
462
463         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
464         Do running/stream time in TIME format.
465
466         * tests/check/gst/gstsegment.c: (GST_START_TEST),
467         (gst_segment_suite):
468         2 new unit tests for segment accumulation.
469
470 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
471
472         * gst/gst.c: (init_pre):
473         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
474           (_gst_debug_bin_to_dot_file):
475           Move getenv() back into gst_init, so everyone can live happily
476           ever after. Make sure the symbol isn't exported though.
477
478 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
479
480         Patch by: Sebastien Moutte  <sebastien moutte net>
481
482         * win32/common/gstenumtypes.c:
483         * win32/common/gstenumtypes.h:
484           Update enum types.
485
486         * win32/vs6/libgstreamer.dsp:
487           Update vs6 project files (#494343).
488
489 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
490
491         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
492         (gst_base_src_perform_seek), (gst_base_src_default_event),
493         (gst_base_src_set_flushing), (gst_base_src_activate_push),
494         (gst_base_src_activate_pull):
495         Unify flushing code, remove some old unlock code that is no longer used.
496         Take the streaming lock when seeking to avoid races. Fixes #492729.
497         Added some more comments.
498
499 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
500
501         * gst/gst.c: (_gst_disable_segtrap):
502           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
503           we can use gst_segtrap_is_enabled() there now that we have that API.
504           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
505           to do the getenv here (and export the variable).
506
507         * gst/gstdebugutils.c: (debug_dump_element),
508           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
509           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
510
511         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
512           (gst_debug_log_default):
513           Rename _gst_info_start_time to priv_gst_info_start_time so it
514           doesn't get exported (was never in any header).
515
516         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
517           (gst_plugin_loading_mutex):
518           Make static mutex gst_plugin_loading_mutex really static (was never
519           in any header), and use gst_segtrap_is_enabled() instead of
520           _gst_disable_segtrap.
521
522         * gst/gsttrace.c: (_gst_trace_default):
523           Make local _gst_trace_default static (was never in any header).
524
525 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
526
527         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
528
529         * win32/common/libgstbase.def:
530         * win32/common/libgstcontroller.def:
531         * win32/common/libgstdataprotocol.def:
532         * win32/common/libgstnet.def:
533         * win32/common/libgstreamer.def:
534           Add more missing symbols, remove some duplicates, and sort
535           as the 'sort' command sorts it (partially fixes #493983).
536
537 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
538
539         * gst/gstelement.c: (gst_element_set_state_func):
540         Only change the state cookie if a different state was set on the
541         element. See #492729.
542
543 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
544
545         * gst/gstvalue.c:
546           Remove unused and uninitialised type variables that were still
547           exported for some reason (they were never in any header files
548           though).
549
550 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
551
552         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
553         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
554         (gst_base_sink_event), (gst_base_sink_get_position_last),
555         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
556         (gst_base_sink_change_state):
557         Don't try to report a 0 position when we don't know, return -1 and FALSE
558         instead. This mostly happens when we are prerolling.
559         Make sure we can report the right position before we post the ASYNC_DONE
560         message so that a message handler can query position without races.
561
562         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
563         (async_done_handoff), (async_done_func), (send_buffer),
564         (async_done_eos_func), (gst_sinks_suite):
565         Add two tests for the above.
566
567 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
568
569         * MAINTAINERS:
570         Update with new email address.
571
572         * docs/design/part-TODO.txt:
573         Add some more info about future pad-block and negotiation changes.
574
575         * docs/design/part-buffering.txt:
576         Add some ideas about buffering reporting.
577
578 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
579
580         * tests/check/gst/gstobject.c:
581         Disable silly racy test that always fails on this combination of CPU
582         and kernel.
583
584 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
585
586         Patch by: Murray Cumming  <murrayc@murrayc.com>
587
588         * gst/gstobject.c:
589           Corrected the registration of the parent-set and parent-unset
590           signals: The parameter is a GstObject, not a GObject (#493134).
591
592 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
593
594         * gst/gst_private.h:
595         * gst/gstbuffer.h:
596         * gst/gstevent.h:
597         * gst/gstformat.h:
598         * gst/gstmessage.h:
599         * gst/gstplugin.h:
600         * gst/gstquery.h:
601         * gst/gsttaglist.h:
602         * gst/gstvalue.h:
603           Move declaration of private _gst_foo_initialize() functions into
604           our private header file where they should have been all along.
605
606 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
607
608         * docs/plugins/gstreamer-plugins-sections.txt:
609         * gst/gstdebugutils.h:
610         * gst/gstxml.h:
611         * plugins/elements/gstqueue.c:
612           gtk-doc fixes; trailing-comma-in-enum fix.
613
614 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
615
616         * gst/gst.c: (gst_deinit):
617           Clean up on deinit (not the external ones though, doesn't seem to be
618           needed for some reason).
619
620 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
621
622         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
623           Remove __declspec(dllimport) for MSVC that was copied over into core
624           from a plugin, obviously without ever having been tested (note the
625           single underscore in _declspec in the initial commit), and that doesn't
626           really make sense.  See #492077.
627
628 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
629
630         * gst/gst.c: (init_post):
631         * gst/gstevent.c: (_gst_event_initialize):
632         * gst/gstquery.c: (_gst_query_initialize):
633         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
634           g_type_class_ref() other types as well, see #349410 and #64764.
635
636         * gst/gstbuffer.c: (_gst_buffer_initialize):
637         * gst/gstmessage.c: (_gst_message_initialize):
638           Simplify existing g_type_class_ref().
639
640 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
641
642         * gst/gstformat.c: (_gst_format_initialize):
643           g_type_class_ref() our GstFormat type to make sure we avoid the
644           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
645           bug #64764. Should fix intermittent tee unit test failures (#474823).
646
647 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
648
649         * tests/check/elements/tee.c: (test_num_buffers):
650           Simplify, simplify, simplify - or not.  Rewrite unit test
651           not to use gst_parse_launch(); allow N sub-streams. Increasing
652           the number of sub-streams seems to reproduce #474823 more easily.
653
654 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
655
656         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
657
658         * gst/gsttrace.c:
659         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
660         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
661         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
662           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
663           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
664           so use _pipe() directly (#492077).
665
666         * win32/common/dirent.c: (_treaddir):
667           Add a couple of casts to make it build without warnings with MSVC.
668
669         * win32/common/libgstreamer.def:
670           Add some more symbols that need to be exported.
671
672 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
673
674         * tests/examples/metadata/read-metadata.c: (message_loop):
675           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
676           arriving in a second or third tag message are added to
677           the tag list as well.
678
679 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
680
681         * libs/gst/base/gstbasesrc.c:
682           Its "Since:" and not "@Since:". And remove an superflous cast.
683
684 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
685
686         * docs/libs/gstreamer-libs-sections.txt:
687         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
688         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
689         (gst_base_sink_get_property), (gst_base_sink_render_object),
690         (gst_base_sink_preroll_object),
691         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
692         (gst_base_sink_change_state):
693         * libs/gst/base/gstbasesink.h:
694         Add a new last-buffer property that contains the last buffer used in
695         basesink for preroll or rendering. useful for making snapshots.
696         API: gst_base_sink_get_last_buffer()
697         API: GstBaseSink::last-buffer
698
699 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
700
701         * docs/gst/running.xml:
702         * gst/gst.c:
703         * gst/gstdebugutils.c:
704         * gst/gstdebugutils.h:
705         * tools/gst-launch.c:
706           Improve bin graph dumping, by using the envvar to specify a path.
707           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
708
709 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
710
711         * plugins/elements/gsttypefindelement.c:
712           (gst_type_find_element_handle_event),
713           (gst_type_find_element_activate):
714           Post special error message if we can't determine the type of a stream
715           because it's empty.
716
717 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
718
719         * docs/gst/running.xml:
720         * gst/gstdebugutils.c:
721           Document new env-var. Add one log-line after dumpng a graph.
722
723 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
724
725         * configure.ac:
726           Ugly hack to put the (recently removed and non-portable, apparently)
727           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
728           GNU ld, because without that 'make check' fails miserably on my debian
729           stable box.  Someone with more knowledge of linker intricacies and
730           portability issues than me fix this properly please.
731
732 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
733
734         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
735         Reset last seen position after flushing so that we don't report the old
736         position anymore.
737
738 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
739
740         * gst/gstelementfactory.c: (gst_element_register):
741         * gst/gsturi.h:
742         Patch from Alessandro Decina adding get_type_full and
743         get_protocols_full private vfuncs to the URIHandler interface
744         to allow bindings to support creating URI handlers. 
745         Partially fixes: #339279
746         API: GstURIHandlerInterface::get_type_full
747         API: GstURIHandlerInterface::get_protocols_full
748
749 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
750
751         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
752         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
753         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
754         Make it so that pads are considered linked until a buffer is pushed
755         and discovered otherwise. This avoids problems with decodebin2 hanging
756         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
757         case.
758
759         Make sure we lock the multiqueue when updating the max-size properties.
760         
761         Fix a crash on Solaris in a debug statement in get_request_pad that
762         passes a NULL string to GST_DEBUG. 
763
764         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
765         (run_output_order_test):
766         Fix the test to allow the first buffer on not-linked pads to come out
767         of sequence while multiqueue discovers that they are not-linked.
768
769 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
770
771         * configure.ac:
772         * libs/gst/check/Makefile.am:
773         Use a custom export symbol regex for libgstcheck, as it needs
774         to export symbols that don't match the standard GStreamer gst_*
775         pattern, and  --export-dynamic is not portable (only works on 
776         GNU ld)
777
778         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
779         (gst_check_setup_sink_pad):
780         Make sure to pass a message parameter to the fail_* macros.
781
782         * tests/check/gst/gstinfo.c: (GST_START_TEST):
783         Fix some compiler warnings.
784
785 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
786
787         * tests/check/gst/gststructure.c: (test_to_string):
788           Disable test that checks that white spaces are not allowed
789           in structure names or field names, since we need to
790           support that for now for backwards compatibility reasons.
791
792 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
793
794         * docs/gst/gstreamer-sections.txt:
795         * gst/gsttaglist.c:
796         * gst/gsttaglist.h:
797           API: add GST_TAG_ARTIST_SORTNAME
798           API: add GST_TAG_ALBUM_SORTNAME
799           API: add GST_TAG_TITLE_SORTNAME
800           Add tag variants for sorting (#414539).
801
802 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
803
804         * gst/gststructure.c:
805           Also allow white space for names so we don't break
806           backwards compatibility.
807
808 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
809
810         * docs/design/part-TODO.txt:
811         * docs/design/part-segments.txt:
812         * docs/design/part-streams.txt:
813         Small updates.
814
815 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
816
817         * docs/gst/gstreamer-sections.txt:
818          Fixed documentation from my previous commit (added new API add
819          gst_value_set_structure(), add gst_value_get_structure() and
820          GST_VALUE_HOLDS_STRUCTURE).
821
822 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
823
824         * gst/gstdebugutils.c:
825           Reflow code to fix uninitialized variable warning.
826
827 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
828
829         * gst/gstcaps.c: (gst_caps_to_string),
830         (gst_caps_from_string_inplace):
831         * gst/gststructure.c: (gst_structure_get_abbrs),
832         (gst_structure_to_string), (gst_structure_from_string):
833         * gst/gstvalue.c: (gst_value_set_structure),
834         (gst_value_get_structure), (gst_value_serialize_structure),
835         (gst_value_deserialize_structure), (_gst_value_initialize):
836         * gst/gstvalue.h:
837         * tests/check/gst/gststructure.c: (GST_START_TEST),
838         (gst_structure_suite):
839         * tests/check/gst/gstvalue.c: (GST_START_TEST):
840          Added GstStructure to gst_value_table and its related functions.
841          Changed gst_structure_to_string to print ';' in the end.
842          Changed gst_caps_to_string to not print ';' beteween its
843          fields (structures) anymore and remove the lastes ';' from latest
844          structure. Now it is possible to have nested structures.
845          In addition, backward compatibilty is assured by accepting '\0' as
846          end delimiter. Fixes: #487969.
847          API: add gst_value_set_structure()
848          API: add gst_value_get_structure()
849          API: add GST_VALUE_HOLDS_STRUCTURE
850
851 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
852
853         * gst/gstbus.c:
854           When no GSource callback has been set up, tell developer
855           to use a function that actually exists.
856
857 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
858
859         * docs/gst/gstreamer-sections.txt:
860         * gst/Makefile.am:
861         * gst/gst.c:
862         * gst/gst.h:
863         * gst/gstdebugutils.c:
864         * gst/gstdebugutils.h:
865         * gst/gstinfo.c:
866         * gst/gstinfo.h:
867         * tools/gst-launch.c:
868           Allow dumping pipelines as dot graphs. Fixes #456573.
869
870 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
871
872         * gst/gststructure.c:
873           Allow '+' as well, it can be part of media or mime types
874           such as image/svg+xml.
875
876 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
877
878         * docs/gst/gstreamer-sections.txt:
879         * gst/gstbus.c:
880         * gst/gstbus.h:
881           API: add gst_bus_pop_filtered
882           API: add gst_bus_timed_pop_filtered
883           Two new functions for waiting for specific message types on the
884           bus for a specified amount of time without iterating any main
885           loops or main contexts.
886
887         * tests/check/gst/gstbus.c:
888           Some tests for the new functions.
889
890 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
891
892         * docs/libs/gstreamer-libs-sections.txt:
893           Make gtk-doc ignore stuff it should ignore.
894
895 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
896
897         * libs/gst/check/gstcheck.c:
898         * libs/gst/check/gstcheck.h:
899           Allow runtime selection of unit tests to run via the GST_CHECKS
900           environment variable (test case function names, comma-separated).
901
902 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
903
904         * gst/gststructure.c:
905         * tests/check/gst/gststructure.c:
906           Revert serialisation change and constrain structure-names after
907           consensus on irc. Update api documentation to reflect the change.
908
909 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
910
911         * gst/gststructure.c:
912           Improve serialization and fix tests.
913
914         * tests/check/gst/gststructure.c:
915           Add another test that covers why I actually did the previous structure
916           change.
917
918 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
919
920         * tools/gst-inspect.c: (print_element_info):
921         Don't crash when inspecting an element.
922
923 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
924
925         * tests/check/gst/gststructure.c:
926           Add unit test for escaping of structure name when serialising
927           and deserialising to/from strings.
928
929 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
930
931         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
932         (gst_single_queue_new):
933         * plugins/elements/gstqueue.c: (gst_queue_init),
934         (gst_queue_push_one):
935         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
936         upstream is tricked into thinking it can suggest a format downstream
937         while downstream does not support that format. The real problem is that
938         core calls acceptcaps when pushing a buffer with new caps, for which we
939         do a little workaround by setting the caps on the srcpad ourselves
940         before pushing the buffer (until this is figured out). Fixes #486758.
941
942 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
943
944         * gst/gststructure.c:
945         * gst/gstvalue.c:
946           Add some more comments and debug output. Quote structure name to fix
947           deserialisation of some strings.
948
949 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
950
951         * gst/gstbuffer.h:
952           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
953           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
954
955 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
956
957         * tools/gst-inspect.c:
958           Save approx. 400 1 byte allocs when printing. Use API to acces element
959           details.
960
961         * tools/gst-run.c:
962           Avoid a strdup.
963
964         * tools/gst-xmlinspect.c:
965           Use API to acces element details.
966
967 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
968
969         * gst/gstinfo.c:
970           Fix some spelling errors.
971
972 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
973
974         * gst/gstbin.c: (bin_handle_async_done):
975         Correctly set the next state if all of our async children commited their
976         state. This makes sure we can actually cancel the state change in
977         progress. Fixes a regression in Rhythmbox when seeking.
978
979 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
980
981         * gst/gstbin.c:
982           Don't shadow local variable.
983
984         * gst/gstinfo.c:
985           Don't shadow global function name.
986
987 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
988
989         * gst/gstelementfactory.c:
990         * gst/gstpluginfeature.c:
991         * gst/gstpluginfeature.h:
992         * gst/gstregistrybinary.c:
993         * gst/gstregistryxml.c:
994         * gst/gsttypefind.c:
995           Use already-interned string for the private GstPluginFeature
996           plugin_name field.
997
998 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
999
1000         * docs/libs/gstreamer-libs-sections.txt:
1001           Add new API to docs; fixes the build.
1002
1003 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
1004         
1005         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
1006
1007         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
1008         (gst_base_sink_event):
1009         * libs/gst/base/gstbasesink.h:
1010         Add function to wait for EOS, subclasses can use this to correctly wait
1011         for devices to drain before performing the EOS logic. Fixes #485343.
1012         API: gst_base_sink_wait_eos()
1013
1014 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
1015
1016         * gst/gstplugin.h:
1017           Cast description string constants in GST_PLUGIN_DEFINE macros
1018           to a (gchar*) to make C++ code using these macros compile
1019           without warning with g++-4.2 (see #462737).  Even if slightly
1020           ugly, this seems preferable to putting the description strings
1021           into the GLib quark table or making the structure member a
1022           const gchar * and doing casts in core code that allocs and
1023           frees these strings, or requiring a cast in the C++ code.
1024
1025 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
1026
1027         * gst/gstinfo.h:
1028           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
1029           to print the entire class/function signature into the log
1030           file for C++ code.  This only affects C++ code, for C code
1031           everything remains the same.
1032
1033 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
1034
1035         * gst/gstbin.c: (remove_from_queue):
1036         Work around a problem with pipelines containing (semi)loops until a
1037         proper, more complicated solution is ready. See #475455.
1038
1039 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
1040
1041         * gst/gstplugin.c:
1042         * gst/gstplugin.h:
1043         * gst/gstregistrybinary.c:
1044         * gst/gstregistryxml.c:
1045           Put more strings into the GLib quark table. No need to keep
1046           a hundred-something copies of identical version strings,
1047           license strings, package name strings and package origin
1048           strings around. 
1049
1050 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
1051
1052         * docs/manual/advanced-dataaccess.xml:
1053           Don't imply that it's okay to unconditionally change
1054           buffer data or buffer metadata in a pad probe callback,
1055           and a bunch of other comments. Fixes #430031.
1056
1057 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
1058
1059         * win32/common/gstenumtypes.c:
1060         * win32/common/gstenumtypes.h:
1061         * win32/common/gstversion.h:
1062           Update generated files.
1063
1064 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
1065
1066         * docs/manual/advanced-autoplugging.xml:
1067           Prefix section with broken code with a warning (see #342432).
1068
1069 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
1070
1071         * docs/manual/appendix-integration.xml:
1072         * docs/manual/basics-init.xml:
1073           Call g_thread_init() before g_option_context_new() to
1074           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
1075
1076 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
1077
1078         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1079         (gst_base_sink_queue_object_unlocked),
1080         (gst_base_sink_queue_object), (gst_base_sink_event),
1081         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
1082         When we received EOS and are waiting for when to post the EOS message,
1083         our state is prerolled and we should not return ASYNC.
1084         Reorganize some code paths to implement this behavior.
1085
1086         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
1087         (gst_sinks_suite):
1088         Add unit test to verify above EOS fix.
1089
1090 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
1091
1092         * plugins/elements/gsttypefindelement.c:
1093         (gst_type_find_element_have_type), (gst_type_find_element_init),
1094         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
1095         Move detecting the input caps of the sinkpad to the setcaps function.
1096         This allows us to update the output caps when we receive new input caps
1097         instead of always using the first detected caps.
1098
1099 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
1100
1101         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
1102         (gst_base_sink_get_position):
1103         Don't try to preroll non-async elements after a flush.
1104         Subtract latency form clock times when reporting position.
1105
1106 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
1107
1108         * gst/gstpad.c: (gst_pad_pause_task):
1109         * gst/gstutils.c:
1110         Small comment and documentation update.
1111
1112 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
1113
1114         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1115         (gst_base_src_set_live), (gst_base_src_is_live),
1116         (gst_base_src_query_latency), (gst_base_src_perform_seek),
1117         (gst_base_src_default_event), (gst_base_src_wait),
1118         (gst_base_src_do_sync), (gst_base_src_get_range),
1119         (gst_base_src_pad_get_range), (gst_base_src_loop),
1120         (gst_base_src_unlock), (gst_base_src_unlock_stop),
1121         (gst_base_src_set_flushing), (gst_base_src_set_playing),
1122         (gst_base_src_activate_push), (gst_base_src_activate_pull),
1123         (gst_base_src_change_state):
1124         Rework the locking of basesrc in a similar fashion to basesink. We
1125         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
1126         us to handle live sources and semi live ones much better.
1127         Simplify flushing.
1128         Fix unlocking when seeking, shutting down and pausing in live sources.
1129
1130 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
1131
1132         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
1133         Fix compilation again.
1134
1135 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1136
1137         * gst/gstelement.c:
1138           Use meaningful categories for the logs to clean the default one.
1139
1140 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1141
1142         * tests/check/pipelines/cleanup.c:
1143           Print message name and not just number.
1144
1145 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1146
1147         * docs/design/draft-tagreading.txt:
1148           Add some more thoughts.
1149
1150 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1151
1152         * tests/check/pipelines/simple-launch-lines.c:
1153           Print message name and not just number.
1154
1155 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1156
1157         * libs/gst/base/gsttypefindhelper.c:
1158           Speedup typefinding. This is work in progress (see #459862).
1159
1160 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1161
1162         * gst/gstplugin.c:
1163           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
1164           Spotted by Josep Torra Valles <josep@fluendo.com>.
1165
1166 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
1167
1168         * gst/gstclock.h:
1169           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
1170           field has moved to GstObject.
1171
1172 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
1173
1174         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
1175         (gst_base_src_get_range), (gst_base_src_change_state):
1176         Call unlock for live sources so that they can't get stuck in _create and
1177         produce a buffer before they are set back to PLAYING.
1178
1179 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
1180
1181         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1182         (gst_queue_locked_dequeue):
1183         Comment the segment-related code... in the PROPER function.
1184         See #482147 and my commit from yesterday.
1185
1186 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
1187
1188         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
1189         Also initialize the counter that calculates the first timestamp on a
1190         buffer correctly for non-live sources.
1191
1192 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
1193
1194         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
1195         Disable code that's breaking the current-time-level reporting.
1196         See #482147
1197
1198 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
1199
1200         * docs/gst/gstreamer-sections.txt:
1201         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
1202         as they shouldn't show up. Fixes the docs build.
1203
1204 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
1205         
1206         * gst/gstinfo.h:
1207         Add an explicit variable importation needed on VS6 (only for MSC_VER)
1208         Define M_PI which is used in files which are including gstinfo.h. 
1209         VS6 includes doesn't define it.
1210         * win32/common/libgstbase.def:
1211         * win32/common/libgstcontroller.def:
1212         * win32/common/libgstreamer.def:
1213         Add new exported functions and variables.
1214         * win32/vs6/libgstcontroller.dsp:
1215         * win32/vs6/libgstreamer.dsp:
1216         Update the list of files to build.
1217         
1218 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
1219
1220         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1221
1222         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
1223         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
1224         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
1225         Improve debugging. Fixes #480858.
1226
1227 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
1228
1229         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1230
1231         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1232         First patch of code cleanups, use the macros and right arguments in the
1233         macros to signal and lock the queue. See #480858.
1234
1235 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
1236
1237         * gst/gstbus.c: (poll_func):
1238         Improve debugging when dealing with _poll().
1239
1240 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
1241
1242         * gst/gstregistryxml.c:
1243           Fix memory leak I introduced a few days ago.
1244
1245 2007-09-26  Michael Smith <msmith@fluendo.com>
1246
1247         * gst/gstbuffer.c: (gst_buffer_finalize):
1248           Make it once again possible to free GstBuffers in the default
1249           build.
1250           The poisoning scribbles on parts of the miniobject we need in
1251           order to free it.
1252           Fixes #480341
1253
1254 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
1255
1256         * docs/gst/gstreamer-sections.txt:
1257         * gst/gsttaglist.c:
1258         * gst/gsttaglist.h:
1259         API: add GST_TAG_COMPOSER, fixes #459809.
1260
1261 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
1262
1263         * gst/gstplugin.c:
1264         * gst/gstplugin.h:
1265         Add the 3-clause BSD license and the MIT/X11 license to the license
1266         list. Fixes #479784.
1267
1268 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
1269
1270         * docs/faq/getting.xml:
1271           Add Q+A about different GStreamer versions (#364056).
1272
1273 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1274
1275         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1276         (gst_base_sink_event), (gst_base_sink_change_state):
1277         Return correct gboolean from query function.
1278
1279 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1280
1281         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1282         (gst_base_sink_event), (gst_base_sink_query),
1283         (gst_base_sink_change_state):
1284         Simplify latency query.
1285         When not synchronizing, we can report latency without querying the peer
1286         element.
1287
1288 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1289
1290         * gst/gstobject.h:
1291         * gst/gstvalue.c:
1292         Fix small typos in the docs.
1293
1294 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1295
1296         * docs/design/draft-latency.txt:
1297         * docs/design/draft-push-pull.txt:
1298         * docs/design/draft-tagreading.txt:
1299         * docs/design/part-MT-refcounting.txt:
1300         * docs/design/part-activation.txt:
1301         * docs/design/part-block.txt:
1302         * docs/design/part-element-source.txt:
1303         * docs/design/part-events.txt:
1304         * docs/design/part-gstbin.txt:
1305         * docs/design/part-gstelement.txt:
1306         * docs/design/part-gstobject.txt:
1307         * docs/design/part-gstpipeline.txt:
1308         * docs/design/part-messages.txt:
1309         * docs/design/part-preroll.txt:
1310         * docs/design/part-push-pull.txt:
1311         * docs/design/part-qos.txt:
1312         * docs/design/part-query.txt:
1313         * docs/design/part-scheduling.txt:
1314         * docs/design/part-seeking.txt:
1315         * docs/design/part-segments.txt:
1316         * docs/design/part-states.txt:
1317         Documentation updates and typo fixes.
1318
1319 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
1320
1321         * plugins/elements/gstfakesink.c:
1322           Add some debug text to error message to indicate that
1323           we errored out on request.
1324
1325         * tools/gst-launch.c:
1326           When the state change to PLAYING fails, check for an
1327           error message on the bus and print it.
1328
1329 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1330
1331         translated by: Jorge González González <aloriel@gmail.com>
1332
1333         * po/LINGUAS:
1334         * po/es.po:
1335           Added Spanish translation.
1336
1337 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
1338
1339         * plugins/elements/gstqueue.c: (gst_queue_push_one):
1340         Fix printf arguments.
1341
1342 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
1343
1344         * tests/check/generic/states.c:
1345           Improved state change unit test.
1346
1347 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
1348
1349         * gst/gstbin.h:
1350           Move priv to the right place.
1351
1352         * gst/gstsystemclock.c:
1353           Add FIXME: and improve log.
1354
1355         * tests/check/Makefile.am:
1356         * tests/examples/manual/Makefile.am:
1357           Work with all types of registries.
1358
1359 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
1360
1361         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1362         Don't unref the event after pushing it. Fixes #478401.
1363
1364 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
1365
1366         * .cvsignore:
1367         * tests/examples/manual/.cvsignore:
1368           Ignore registries in any format.
1369
1370 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
1371
1372         * gst/glib-compat-private.h:
1373           Add compatibility macro for g_intern_string() for
1374           GLib-2.8 (any reason we can't just bump the
1375           requirement to at least 2.10?)
1376
1377         * gst/gstpadtemplate.h:
1378         * gst/gstelementfactory.c:
1379         * gst/gstregistryxml.c:
1380         * gst/gstregistrybinary.c:
1381           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
1382           up the internal code accordingly.  This shouldn't be a problem, since
1383           there is no reason external code could ever assume the string in such
1384           a structure is dynamically allocated unless it did that itself;  the
1385           use of g_strdup() is private to element factories.  The new code also
1386           saves some memory by putting pad template name strings into the GLib
1387           quark table instead of allocating them dynamically.
1388           Declaring this field constant fixes warnings with g++-4.2 when using
1389           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
1390
1391 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
1392
1393         * gst/gstelementfactory.c:
1394           Release static caps. Fixes #475723.
1395
1396 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
1397
1398         * gst/gstinfo.c:
1399         * gst/gstinfo.h:
1400           Make some internal API take const gchar * instead of just
1401           gchar * to avoid compiler warnings with g++-4.2.2 when
1402           passing string constants (partially fixes #478092).
1403
1404 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
1405
1406         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
1407         A latency query fails when one of the sinks fail.
1408
1409         * gst/gstelement.c: (gst_element_set_base_time):
1410         Improve debugging.
1411
1412 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1413
1414         * gst/gstbin.c: (gst_bin_continue_func):
1415         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1416         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
1417         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
1418
1419         Fix minor compilation warnings shown with Forte.
1420
1421 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
1422
1423         * plugins/elements/gstqueue.c: (apply_buffer),
1424         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
1425         Measure queue level based on the diff between head and tail timestamps
1426         even when pushing the first buffer.
1427
1428 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1429
1430         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1431         (gst_base_sink_event), (gst_base_sink_change_state):
1432         Sinks that don't preroll can always be queried for the latency.
1433         Don't post ASYNC start when we are not async.
1434
1435 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1436
1437         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1438         (gst_queue_handle_sink_event), (gst_queue_chain),
1439         (gst_queue_push_one), (gst_queue_handle_src_query),
1440         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
1441         * plugins/elements/gstqueue.h:
1442         When downstream returns UNEXPECTED from pushing a buffer, don't try to
1443         push more buffers but allow pushing of EOS and NEWSEGMENT.
1444         Add some more debug info here and there. Fixes #476514.
1445
1446 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1447
1448         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1449         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
1450         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1451         (gst_base_sink_set_flushing), (gst_base_sink_query),
1452         (gst_base_sink_change_state):
1453         Latency query is allowed after we are prerolled. Introduce a new flag
1454         for this and stop abusing other variables.
1455
1456 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1457
1458         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1459         Push OOB events downstream when we get them in send_event. This allows
1460         the application to insert events in the pipeline.
1461         Add some more comments.
1462
1463 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1464
1465         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
1466         (do_bin_latency), (gst_bin_change_state_func):
1467         * gst/gstpipeline.c: (gst_pipeline_change_state):
1468         Move latency query from GstPipeline to GstBin so that we can also
1469         use it when async-handling is enabled on bins.
1470
1471 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1472
1473         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1474         (gst_base_src_do_sync), (gst_base_src_change_state):
1475         Update docs.
1476         Clean up the timestamping and syncing code for pseudo live sources.
1477
1478 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
1479
1480         Patch by: Steve Fink  <sphink gmail com>
1481
1482         * docs/manual/appendix-checklist.xml:
1483           Mention less -R switch in the section about debug output (#474055).
1484
1485 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1486
1487         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1488         Queue can latency to the pipeline up to the configured max size in time.
1489         Report this fact in the latency query.
1490
1491 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1492
1493         Patch by: Sebastien Moutte <sebastien at moutte dot net>
1494
1495         * libs/gst/controller/gstinterpolation.c:
1496         * libs/gst/controller/gstlfocontrolsource.c:
1497         Use gst_guint64_to_gdouble() when converting from a uint64 or
1498         GstClockTime to double to fix the build on win32. Fixes #474371.
1499
1500 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1501
1502         * gst/gstbuffer.c: (gst_buffer_finalize):
1503         Implement poisoning for GstBuffer if --enable-poisoning is specified.
1504         When finalizing a buffer the complete struct is filled with 0xff,
1505         thus making a use of the buffer after the final unref impossible.
1506
1507 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1508
1509         * tests/check/libs/controller.c: (GST_START_TEST):
1510         Use fail_unless_equals_int(a, b) instead of
1511         fail_unless_equals (a == b) to get better output on failures.
1512
1513 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1514
1515         * tests/check/gst/gsturi.c:
1516           Also check for the other file URI variant on win32.
1517
1518 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1519
1520         * gst/gsturi.c: (gst_uri_get_location):
1521           If there's no hostname, we want to return 'c:/foo/bar.txt'
1522           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
1523
1524         * tests/check/gst/gsturi.c:
1525           Unit test for the above and a few more things.
1526
1527 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1528
1529         * docs/design/part-live-source.txt:
1530         Add docs on how live sources should timestamp.
1531
1532         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1533         Add some more debug info.
1534         For subclasses that are live and like to sync, add aditional startup
1535         latency to sync time and timestamps so that we timstamp according to the
1536         design doc.
1537
1538 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1539
1540         * gst/gstbuffer.c:
1541           Also do a g_type_class_ref() for the subbuffer type in
1542           the init function.
1543
1544 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1545
1546         * docs/gst/gstreamer-sections.txt:
1547         * gst/gstpad.c: (gst_pad_peer_query):
1548         * gst/gstpad.h:
1549         Add function to perform a query on the peer of a pad.
1550         API: gst_pad_peer_query()
1551
1552 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
1553
1554         * tests/check/gst/gstsystemclock.c:
1555           Cleanup the test a little (use gst-logging and not g_message). Improve
1556           test to check if a wait reached the target.
1557
1558 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1559
1560         * docs/libs/gstreamer-libs-sections.txt:
1561           Add new API to docs and fix the build.
1562
1563 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
1564
1565         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1566         (gst_base_src_init), (gst_base_src_set_do_timestamp),
1567         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
1568         (gst_base_src_get_property), (gst_base_src_do_sync):
1569         * libs/gst/base/gstbasesrc.h:
1570         Add property to make the basesrc timestamp buffers based on the current
1571         running time.
1572         API: GstBaseSrc::do-timestamp
1573         API: gst_base_src_set_do_timestamp()
1574         API: gst_base_src_get_do_timestamp()
1575
1576 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
1577
1578         * docs/random/release:
1579           Really make sure translations are up-to-date before
1580           a release (#465010).
1581
1582 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
1583
1584         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1585         Always destroy the timer, also in error cases.
1586
1587 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1588
1589         * docs/manual/highlevel-xml.xml:
1590         Fix XML example code. Fixes #472714.
1591
1592 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1593
1594         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1595         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1596         (gst_base_sink_query):
1597         Protect eos and have_preroll with the OBJECT lock so we don't need to
1598         take the PREROLL lock when querying the latency. Fixes #473846.
1599
1600 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
1601
1602         * gst/gstelement.c:
1603           Give some log-messages a category.
1604
1605 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
1606
1607         * gst/gststructure.c:
1608         (gst_structure_fixate_field_nearest_fraction):
1609         Fix fraction list fixation code. Take the fraction with the smallest
1610         difference with the target instead of the first one in the list.
1611
1612         * tests/check/gst/gststructure.c: (GST_START_TEST),
1613         (gst_structure_suite):
1614         Added test to verify correct fraction list fixation behaviour.
1615
1616 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
1617
1618         * win32/common/libgstreamer.def:
1619           Export gst_bus_add_signal_watch too.
1620
1621 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
1622
1623         * docs/libs/gstreamer-libs-sections.txt:
1624         Add new methods to docs.
1625
1626         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1627         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
1628         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
1629         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
1630         * libs/gst/base/gstbasesink.h:
1631         Add ts-offset property to fine-tune the synchronisation.
1632         API: GstBaseSink::ts-offset property
1633         API: gst_base_sink_set_ts_offset()
1634         API: gst_base_sink_get_ts_offset()
1635
1636 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
1637
1638         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1639         (gst_base_sink_init), (gst_base_sink_set_sync),
1640         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
1641         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
1642         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
1643         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
1644         (gst_base_sink_get_property), (gst_base_sink_change_state):
1645         * libs/gst/base/gstbasesink.h:
1646         Add async property to instruct the sink never to inform the parent about
1647         ASYNC state changes, update docs.
1648         Check argument with g_return_* for the public functions.
1649         API: GstBaseSink::async property
1650         API: gst_base_sink_set_async_enabled()
1651         API: gst_base_sink_is_async_enabled()
1652
1653 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
1654
1655         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
1656         Improve debugging.
1657
1658         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1659         (gst_base_src_default_query), (gst_base_src_wait),
1660         (gst_base_src_do_sync), (gst_base_src_change_state):
1661         Rearrange some code so that we can add support for measuring the 
1662         startup latency.
1663
1664 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
1665
1666         * docs/random/ensonic/dynlink.txt:
1667           More thoughs on this.
1668
1669         * plugins/elements/gstcapsfilter.c:
1670           Add bugzilla ticket number to FIXME comment.
1671
1672 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
1673
1674         * docs/design/part-TODO.txt:
1675         * docs/design/part-block.txt:
1676         Update some docs.
1677
1678 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1679
1680         * gst/Makefile.am:
1681           Revert patch which uses $(gst_headers) instead of $^ because it
1682           breaks make dist.
1683
1684 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1685
1686         * tests/check/gst/gstbin.c: (GST_START_TEST):
1687           Fix leaks in the new unit test.
1688
1689 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
1690
1691         * gst/gst.c:
1692           Don't use GST_INFO before the debug system is actually initialised
1693           (shouldn't do any harm, but won't print anything either, so we can
1694           just as well remove it).
1695
1696         * gst/gstinfo.h:
1697           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
1698           compilers that don't support variadic macros (such as MSVC), should
1699           check for debug_level <= __gst_debug_min as well, since that's the
1700           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
1701           inline helper functions. Should improve performance a bit, but also
1702           makes sure uses of GST_INFO et.al are ignored if the debugging
1703           system isn't initialised yet (instead of printing an assertion
1704           failure).
1705
1706 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
1707
1708         patch by: David Nečas <yeti@physics.muni.cz>
1709
1710         * gst/Makefile.am:
1711           Replace some non portable makefile constructs.
1712
1713 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
1714
1715         * common/gtk-doc-plugins.mak:
1716           Grrrrr. Don't remove the types file on make clean.
1717
1718 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
1719
1720         * tools/gst-launch.1.in:
1721         Add colorspace to example pipeline. Fixes #458274.
1722
1723 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
1724
1725         * docs/random/release:
1726           The release manager should run 'make download-po' before making a
1727           release to make sure translations are up-to-date.
1728
1729         * po/LINGUAS:
1730         * po/be.po:
1731         * po/pl.po:
1732         * po/rw.po:
1733           Add some new translations.
1734
1735 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
1736
1737         * tools/gst-launch.c: (event_loop), (main):
1738         Don´t try to do any state management when a live pipeline posts
1739         buffering messages.
1740         Also make the buffering string translatable.
1741
1742 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1743
1744         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
1745         (bin_handle_async_start), (gst_bin_handle_message_func):
1746         Improve debugging.
1747         When adding elements, insert messages into the bus of the newly added
1748         element and make sure the element is the source of the message. This
1749         allows the parent bin to intercept the message and do the
1750         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
1751         messages to the app (which is not allowed).
1752         Update some docs.
1753
1754         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1755         Fix testsuite so that is does not work around messages that should not
1756         have been posted in the first place.
1757
1758 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1759
1760         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
1761         (update_degree), (gst_bin_sort_iterator_next):
1762         Fix annoying bug in the sorted iterator where a sink that is not really
1763         a sink (when it has downstream links) screwed up the iterator.
1764
1765         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1766         Unit test to verify the fix.
1767
1768 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1769
1770         * gst/gstmessage.h:
1771         Add some more docs for the messages.
1772
1773         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1774         (gst_base_sink_query):
1775         Add some more debugging.
1776
1777         * tools/gst-launch.c: (event_loop):
1778         When interrupting, don't try to set pipeline to PAUSED twice.
1779
1780 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
1781
1782         
1783         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
1784         (bin_handle_async_start), (gst_bin_handle_message_func):
1785         Move ASYNC_START message posting to where it belongs, similar to
1786         async_done. 
1787         Don't post ASYNC_START when we are in error. 
1788         Post ASYNC_START when we added an async element to a bin.
1789
1790 2007-08-14  Julien MOUTTE  <julien@moutte.net>
1791
1792         * gst/gstindex.c: (gst_index_add_association): Fix index entry
1793         generation from vargs. Fixes #466595.
1794
1795 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
1796
1797         * gst/gstbin.c: (gst_bin_element_set_state):
1798         Always change the state of a NO_PREROLL element even if it has ASYNC
1799         elements inside (in case of a bin).
1800
1801         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
1802         Unit test for this case.
1803
1804 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
1805
1806         * libs/gst/check/gstbufferstraw.c:
1807         * libs/gst/check/gstcheck.h:
1808         * libs/gst/controller/gstcontroller.c:
1809         * libs/gst/controller/gstcontrolsource.h:
1810         * libs/gst/controller/gstlfocontrolsource.h:
1811         * plugins/elements/gstcapsfilter.h:
1812         * plugins/elements/gstfdsink.h:
1813         * plugins/elements/gstfdsrc.h:
1814           Add more missing docs.
1815
1816 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1817
1818         * gst/gststructure.c:
1819         Add Since tag to docs.
1820
1821 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1822
1823         * docs/gst/gstreamer-sections.txt:
1824         * gst/gststructure.c: (gst_structure_get_uint):
1825         * gst/gststructure.h:
1826         Add function to get uint from a structure.
1827         API: gst_structure_get_uint()
1828
1829 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1830
1831         * gst/gstcaps.c: (gst_caps_set_simple_valist),
1832         (gst_caps_intersect):
1833         Fix proper check for simple caps.
1834
1835 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
1836
1837         * docs/gst/Makefile.am:
1838         * docs/libs/Makefile.am:
1839           Remove cruft and do some cleanups.
1840
1841         * docs/gst/gstreamer-docs.sgml:
1842         * docs/libs/gstreamer-libs-docs.sgml:
1843           Prepare for comming gtkdoc features (rebase against online docs).
1844
1845 2007-08-10  Michael Smith <msmith@fluendo.com>
1846
1847         * docs/gst/gstreamer-sections.txt:
1848           Add gst_registry_add_path to docs.
1849
1850 2007-08-10  Michael Smith <msmith@fluendo.com>
1851
1852         * gst/gstregistry.h:
1853           Add gst_registry_add_path, which was missing from this header.
1854
1855 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
1856
1857         * libs/gst/controller/gstlfocontrolsource.c:
1858           Printf format fix.
1859
1860 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
1861
1862         * libs/gst/base/gstbasesink.c:
1863           Don't send an async_start message during downwards state change if 
1864           target state is less than READY
1865
1866 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1867
1868         translated by: Gabor Kelemen <kelemeng@gnome.hu>
1869
1870         * po/LINGUAS:
1871         * po/hu.po:
1872           Added Hungarian translation.
1873
1874 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1875
1876         * po/fi.po:
1877         * po/it.po:
1878         * po/nl.po:
1879         * po/sv.po:
1880         * po/uk.po:
1881           Updated translations.
1882
1883 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
1884
1885         * libs/gst/controller/Makefile.am:
1886         Dist gstlfocontrolsourceprivate.h
1887
1888 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
1889
1890         * docs/libs/gstreamer-libs.types:
1891         Don't register the enum type gst_lfo_waveform_get_type() in the
1892         .types file - only GObject derived types belong.
1893
1894 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
1895
1896         Patch by: <arenevier at fdn dot fr>
1897
1898         * gst/gstbuffer.h:
1899         Remove comma from last element in enum to avoid compile errors when
1900         using -pendantic. Fixes #464366.
1901
1902 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
1903
1904         * docs/design/part-TODO.txt:
1905         Add some more TODO items
1906
1907         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
1908         Improve debugging.
1909
1910         * gst/gstcaps.c: (gst_caps_intersect):
1911         Optimize trivial intersection case between identical caps pointers.
1912
1913         * gst/gstelement.c: (gst_element_continue_state),
1914         (gst_element_set_state_func):
1915         * gst/gstpad.c:
1916         Fix spelling and grammar mistakes.
1917
1918 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
1919
1920         * po/POTFILES.in:
1921         * po/POTFILES.skip:
1922           Update POTFILES. Fixes #461599.
1923
1924 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
1925
1926         * gst/gst.c:
1927         Fix confusing typo in debug output.
1928
1929 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
1930
1931         reviewed by: Stefan Kost <ensonic@users.sf.net>
1932
1933         * libs/gst/controller/Makefile.am:
1934         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
1935         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
1936         (gst_lfo_control_source_new),
1937         (gst_lfo_control_source_set_waveform),
1938         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
1939         (gst_lfo_control_source_finalize),
1940         (gst_lfo_control_source_dispose),
1941         (gst_lfo_control_source_set_property),
1942         (gst_lfo_control_source_get_property),
1943         (gst_lfo_control_source_class_init):
1944         * libs/gst/controller/gstlfocontrolsource.h:
1945         * libs/gst/controller/gstlfocontrolsourceprivate.h:
1946         API: Add GstLFOControlSource, a control source that gives values
1947         for specific timestamps based on several periodic waveforms.
1948         Fixes #459717.
1949
1950         * tests/check/libs/controller.c: (GST_START_TEST),
1951         (gst_controller_suite):
1952         * docs/libs/gstreamer-libs-docs.sgml:
1953         * docs/libs/gstreamer-libs-sections.txt:
1954         * docs/libs/gstreamer-libs.types:
1955         Add documentation and unit tests for GstLFOControlSource.
1956
1957 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
1958
1959         * configure.ac:
1960         Back to CVS
1961
1962 === release 0.10.14 ===
1963
1964 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
1965
1966         * configure.ac:
1967           releasing 0.10.14, "Breathing Vacuum"
1968
1969 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
1970
1971         * gst/gstelement.c: (gst_element_class_set_details_simple):
1972         * gst/gstelement.h:
1973           Make strings passed to gst_element_class_set_details_simple()
1974           constant, as they should be (#462752).
1975
1976 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
1977
1978         * gst/gstbin.c: (gst_bin_change_state_func),
1979         (bin_handle_async_done), (gst_bin_handle_message_func):
1980         Don't forget about the fact that some element went ASYNC even after a
1981         resync. This makes us post the ASYNC_DONE message correctly.
1982         Fixes #462558.
1983
1984 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1985
1986         * gst/gstregistry.c: (gst_registry_add_feature):
1987         When replacing an existing feature in the registry, make sure to
1988         continue holding a reference until we've replaced the name string
1989         within our feature hash table. Make sure to use g_hash_table_replace
1990         instead of g_hash_table_insert to ensure the new name string is used
1991         as a key instead of the old one that we're about to free.
1992         Fixes: #462085
1993
1994 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1995
1996         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1997         (gst_plugin_feature_set_name):
1998         Revert patch from #459466 until after the release and we can work
1999         out exactly what the problem is (if any).
2000
2001 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
2002
2003         * docs/gst/gstreamer-sections.txt:
2004         * gst/gsttaglist.c:
2005         * gst/gsttaglist.h:
2006           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
2007
2008 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
2009
2010         * docs/libs/Makefile.am:
2011         Include our build-prefix libs and includes before the generic ones to
2012         avoid linking against the installed libs when we want the build-tree
2013         ones.
2014
2015 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
2016
2017         Patch by: Steve Fink  <sphink gmail com>
2018
2019         * docs/pwg/building-testapp.xml:
2020           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
2021           if people try to build or install the example from the plugin
2022           template against a GStreamer from package using the configure
2023           defaults.
2024
2025 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
2026
2027         Patch by: Steve Fink  <sphink gmail com>
2028
2029         * tools/gst-inspect.1.in:
2030           Document --print-all and --print-plugin-auto-install-info command
2031           line options in man page.
2032
2033 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
2034
2035         * docs/gst/gstreamer-sections.txt:
2036         Add docs for new api function.
2037
2038 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
2039
2040         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
2041         * gst/gstelementfactory.h:
2042         API: gst_element_factory_has_interface()
2043         Added method to check if an element factory implements a named
2044         interface.
2045
2046 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
2047
2048         * configure.ac:
2049         * docs/gst/gstreamer.types.in:
2050           Another conditional doc check.
2051
2052         * gst/gstmessage.c:
2053         * gst/gstparamspecs.h:
2054         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2055         * gst/gstvalue.c:
2056         * gst/gstxml.h:
2057           API-doc fixes.
2058
2059 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
2060
2061         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
2062         (gst_registry_binary_load_feature),
2063         (gst_registry_binary_load_plugin),
2064         (gst_registry_binary_read_cache):
2065           Print error just once and with additional info.
2066
2067 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
2068
2069         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
2070         (helper_find_suggest), (helper_find_get_length),
2071         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
2072         (gst_type_find_helper_for_buffer):
2073           Cleanup the typefindhelper code and add private doc comments.
2074
2075 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
2076
2077         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2078         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
2079         Fix capsfilter for cases where the caps set on capsfilter will provide
2080         additional information.
2081         Fixes #449197
2082
2083 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
2084
2085         * gst/gsttypefindfactory.c:
2086           Fix docs that recommened wrong function to use.
2087
2088 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
2089
2090         * tools/gst-inspect.c: (print_plugin_features):
2091           Also give media-type for typefinders in element output.
2092
2093 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
2094
2095         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
2096         (gst_registry_remove_features_for_plugin_unlocked),
2097         (gst_registry_add_feature), (gst_registry_remove_feature),
2098         (gst_registry_lookup_feature_locked):
2099         * gst/gstregistry.h:
2100           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
2101           Fixes #459501.
2102
2103 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
2104
2105         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2106         (gst_plugin_feature_set_name):
2107           Avoid double memory usage for pluginfeature names. Fixes #459466.
2108
2109 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
2110
2111         * gst/gstpad.h:
2112           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
2113           driving the pipeline may need to explicitly check for NOT_LINKED as
2114           well, since IS_FATAL doesn't cover that.
2115
2116 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
2117
2118         * docs/pwg/advanced-types.xml:
2119           Fix typo and duplicate entry in video formats list.
2120
2121 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
2122
2123         * libs/gst/controller/gstinterpolation.c:
2124         Also round to the nearest int when using cubic interpolation.
2125
2126 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
2127
2128         * libs/gst/controller/gstinterpolation.c:
2129         When linearly interpolating integer types, round to the nearest int
2130         by adding 0.5. Don't do it for float/double types.
2131         Fixes the failing controller test on my machine, which is somehow
2132         rounding differently than on the buildbots.
2133
2134 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
2135
2136         * tools/gst-plot-timeline.py:
2137           Better log parsing (categories can have -). Adjust text vs. lines, so
2138           that they span the same y-range.        
2139
2140 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
2141
2142         * docs/random/ensonic/audiobaseclasses.txt:
2143         * docs/random/ensonic/dynlink.txt:
2144         * docs/random/ensonic/profiling.txt:
2145           Save my thoughts.
2146
2147         * docs/random/moving-plugins:
2148           Add note to use g_assert type macros.
2149
2150 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
2151
2152         * configure.ac:
2153         * libs/gst/check/Makefile.am:
2154           Add libm check as we use in for plugins.
2155
2156 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
2157
2158         * gst/gstbin.c: (gst_bin_continue_func):
2159         Check that the state_cookie hasn't changed since the continue_func
2160         was scheduled. Avoids problems where the state changes back to
2161         something it shouldn't be because it was changed in the meantime.
2162
2163 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
2164
2165         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
2166         (gst_registry_binary_save_string),
2167         (gst_registry_binary_save_pad_template),
2168         (gst_registry_binary_save_feature),
2169         (gst_registry_binary_save_plugin),
2170         (gst_registry_binary_load_feature),
2171         (gst_registry_binary_load_plugin),
2172         (gst_registry_binary_read_cache):
2173           Fix memory leak. Be less verbose in the log.
2174
2175 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2176
2177         * tests/check/elements/.cvsignore:
2178         Add file to cvsignore as commanded.
2179
2180 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2181
2182         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
2183         (mq_dummypad_event), (run_output_order_test):
2184         Use a GStaticMutex to protect all cases where libcheck
2185         fail_if/fail_unless macros might be called from multiple threads
2186         simultaneously to avoid errors like:
2187           "check_pack.c:107: :-1081725400:Bad message type arg"
2188
2189 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2190
2191         * tests/check/pipelines/stress.c: (GST_START_TEST):
2192         Make sure we set the pipeline back to the NULL state before
2193         dropping our final reference.
2194
2195 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2196
2197         * tests/check/elements/tee.c: (GST_START_TEST):
2198         Make the tee stress-test a little less stressful so it doesn't just
2199         time out on slow-machines, and remove a small race when it's starting 
2200         up by adding a get_state() call.
2201
2202 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
2203
2204         * gst/gst.c:
2205           Avoid reading registry twice on startup. Fixes #457322.
2206
2207 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
2208
2209         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2210         * pkgconfig/gstreamer-check.pc.in:
2211         Substitute the CFLAGS for libcheck into our .pc file too so that
2212         dependent modules will pick it up properly if libcheck is installed
2213         into some other prefix.
2214
2215 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
2216
2217         * configure.ac:
2218         Revert the pkg-config check for libcheck, since it pulls in the
2219         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
2220         a proper solution, either from the check project, or something else.
2221
2222 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
2223
2224         * configure.ac:
2225           Use pkg-config to locate check.
2226
2227 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
2228
2229         * gst/gsttaglist.c:
2230           Fix doc syntax.
2231
2232         * gst/gstutils.c:
2233         * gst/gstutils.h:
2234           Add deprecation guards.
2235
2236         * libs/gst/base/gstcollectpads.h:
2237           Don't document object (this is implicitly private).
2238
2239 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
2240
2241         * gst/gststructure.c: (gst_structure_parse_value):
2242           When deserialising foo=bar without a type cast, check if it's a
2243           boolean before falling back to a string type, otherwise things like
2244           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
2245           because the filtercaps end up having a signed=(string)true field,
2246           which causes problems later when intersection caps.
2247
2248         * tests/check/gst/gststructure.c: (GST_START_TEST):
2249           Add a unit test for this.
2250
2251 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
2252
2253         Reviewed by: Stefan Kost <ensonic@users.sf.net>
2254
2255         * libs/gst/controller/Makefile.am:
2256         * libs/gst/controller/gstcontroller.c:
2257         (gst_controlled_property_add_interpolation_control_source),
2258         (gst_controlled_property_new), (gst_controlled_property_free),
2259         (gst_controller_find_controlled_property),
2260         (gst_controller_new_valist), (gst_controller_new_list),
2261         (gst_controller_new), (gst_controller_remove_properties_valist),
2262         (gst_controller_remove_properties_list),
2263         (gst_controller_remove_properties),
2264         (gst_controller_set_property_disabled),
2265         (gst_controller_set_disabled), (gst_controller_set_control_source),
2266         (gst_controller_get_control_source), (gst_controller_get),
2267         (gst_controller_sync_values), (gst_controller_get_value_array),
2268         (_gst_controller_dispose), (gst_controller_get_type),
2269         (gst_controlled_property_set_interpolation_mode),
2270         (gst_controller_set), (gst_controller_set_from_list),
2271         (gst_controller_unset), (gst_controller_unset_all),
2272         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
2273         * libs/gst/controller/gstcontroller.h:
2274         * libs/gst/controller/gstcontrollerprivate.h:
2275         * libs/gst/controller/gstcontrolsource.c:
2276         (gst_control_source_class_init), (gst_control_source_init),
2277         (gst_control_source_get_value),
2278         (gst_control_source_get_value_array), (gst_control_source_bind):
2279         * libs/gst/controller/gstcontrolsource.h:
2280         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
2281         (gst_object_get_control_source):
2282         * libs/gst/controller/gstinterpolation.c:
2283         (gst_interpolation_control_source_find_control_point_node),
2284         (gst_interpolation_control_source_get_first_value),
2285         (_interpolate_none_get), (interpolate_none_get),
2286         (interpolate_none_get_boolean_value_array),
2287         (interpolate_none_get_enum_value_array),
2288         (interpolate_none_get_string_value_array),
2289         (_interpolate_trigger_get), (interpolate_trigger_get),
2290         (interpolate_trigger_get_boolean_value_array),
2291         (interpolate_trigger_get_enum_value_array),
2292         (interpolate_trigger_get_string_value_array):
2293         * libs/gst/controller/gstinterpolationcontrolsource.c:
2294         (gst_control_point_free), (gst_interpolation_control_source_reset),
2295         (gst_interpolation_control_source_new),
2296         (gst_interpolation_control_source_set_interpolation_mode),
2297         (gst_interpolation_control_source_bind),
2298         (gst_control_point_compare), (gst_control_point_find),
2299         (gst_interpolation_control_source_set_internal),
2300         (gst_interpolation_control_source_set),
2301         (gst_interpolation_control_source_set_from_list),
2302         (gst_interpolation_control_source_unset),
2303         (gst_interpolation_control_source_unset_all),
2304         (gst_interpolation_control_source_get_all),
2305         (gst_interpolation_control_source_get_count),
2306         (gst_interpolation_control_source_init),
2307         (gst_interpolation_control_source_finalize),
2308         (gst_interpolation_control_source_dispose),
2309         (gst_interpolation_control_source_class_init):
2310         * libs/gst/controller/gstinterpolationcontrolsource.h:
2311         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2312         API: Refactor GstController into the core controller which can take
2313         a GstControlSource for providing actual values for timestamps.
2314         Implement a interpolation control source and use this for backward
2315         compatibility, deprecate a bunch of functions that are now handled
2316         by GstControlSource or GstInterpolationControlSource.
2317         Make it possible to disable the controller completely or only for
2318         specific properties. Fixes #450711.
2319         * docs/libs/gstreamer-libs-docs.sgml:
2320         * docs/libs/gstreamer-libs-sections.txt:
2321         * docs/libs/gstreamer-libs.types:
2322         Add new functions and classes to the docs.
2323         * tests/check/libs/controller.c: (GST_START_TEST),
2324         (gst_controller_suite):
2325         * tests/examples/controller/audio-example.c: (main):
2326         Port unit test and example to the new API and add some new
2327         unit tests.
2328
2329 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
2330
2331         Patch by: Mark Nauwelaerts <manauw at skynet be>
2332
2333         * plugins/elements/gstmultiqueue.c:
2334         (gst_multi_queue_get_internal_links), (apply_buffer),
2335         (single_queue_overrun_cb), (gst_single_queue_new):
2336         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
2337         the pipeline layout can be tracked correctly. Fixes #453732.
2338
2339 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
2340
2341         * docs/gst/Makefile.am:
2342         * docs/libs/Makefile.am:
2343         * docs/plugins/Makefile.am:
2344           Simplify --extra-dir as gtkdoc scans recursively.
2345
2346 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
2347
2348         * tools/gst-launch.c: (main):
2349         When we got an error, there is no point in waiting for preroll when
2350         shutting down.
2351
2352 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
2353
2354         * plugins/elements/gsttee.c: (gst_tee_base_init),
2355         (gst_tee_request_new_pad), (gst_tee_release_pad),
2356         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
2357         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
2358         (gst_tee_chain):
2359         Be a lot smarter when deciding what srcpad to use for proxying
2360         the buffer_alloc. Also handle pad added/removed when doing so.
2361         Fixes #357959.
2362         Keep track of what pads we already pushed on in case we have pads
2363         added/removed while pushing. Fixes #374639 
2364
2365         * tests/check/Makefile.am:
2366         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
2367         (tee_suite):
2368         Added unit test for pad resync.
2369
2370 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2371
2372         * po/nl.po:
2373         * po/sv.po:
2374           Updated translations.
2375
2376 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2377
2378         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
2379
2380         * po/LINGUAS:
2381         * po/fi.po:
2382           Added new Finnish translation.
2383
2384 2007-06-28  Wim Taymans  <wim@fluendo.com>
2385
2386         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2387         (single_queue_overrun_cb):
2388         When figuring out when a queue is filled, use our internal time estimate
2389         based on segments, just like check_full does.
2390
2391 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
2392
2393         * gst/gstminiobject.c: (gst_mini_object_get_type):
2394           Remove 3 do-nothing methods.
2395
2396 2007-06-27  Wim Taymans  <wim@fluendo.com>
2397
2398         Patch by: Tim Angus <tim at ngus dot net>
2399
2400         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2401         (gst_capsfilter_set_property):
2402         Take a reference instead of a copy when setting "caps".
2403         Fix documentation to clarify this behaviour. Fixes #449414.
2404
2405 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
2406
2407         * gst/gstindexfactory.c: (gst_index_factory_get_type):
2408         * gst/gstplugin.c: (gst_plugin_init):
2409         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
2410         * gst/gstquery.c: (gst_query_get_type):
2411         * gst/gstregistry.c: (gst_registry_init):
2412         * gst/gsturi.c: (gst_uri_handler_base_init):
2413           Remove empty instance_init() functions to save relocs and lessen the
2414           noise. Remove some of the function prototypes that are doubled by
2415           G_DEFINE_TYPE.
2416           
2417 2007-06-27  Wim Taymans  <wim@fluendo.com>
2418
2419         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
2420
2421         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
2422         Add peer and direction in the XML serialisation of ghostpads.
2423         Fixes #449226.
2424
2425 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2426
2427         * configure.ac:
2428           Preserve useful information, thanks Tim.
2429
2430 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
2431
2432         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2433         (gst_single_queue_flush), (apply_segment), (apply_buffer),
2434         (gst_single_queue_push_one), (gst_multi_queue_loop),
2435         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2436         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
2437         (compute_high_id), (gst_single_queue_new):
2438         * plugins/elements/gstmultiqueue.h:
2439         Take the multiqueue lock when updating the fill level so we don't get
2440         confused. 
2441
2442         After applying a buffer or event on the src pad segment, make sure to
2443         call gst_data_queue_limits_changed() to get the data queue to unblock
2444         and check the filled state again.
2445         
2446         Rework the not-linked pad handling so the logic is that not-linked 
2447         pads can push as fast as they like, but only so they never get 
2448         ahead of any linked pads.
2449
2450         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
2451         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
2452         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
2453
2454         Add a test to check that not-linked pads always stay behind
2455         linked pads.
2456
2457         Fixes: #430682
2458
2459 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
2460
2461         * docs/random/release:
2462           Some updates to the release procedure.
2463
2464 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2465
2466         * gst/gstelementfactory.c: (__gst_element_details_clear):
2467           Microoptimization that saves stunning 80 bytes.
2468
2469 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
2470
2471         * docs/plugins/gstreamer-plugins.args:
2472         * docs/plugins/inspect/plugin-coreelements.xml:
2473         * docs/plugins/inspect/plugin-coreindexers.xml:
2474           Update docs with caps info.
2475
2476 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2477
2478         * po/it.po:
2479           Updated Italian translation.
2480
2481 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2482
2483         * ChangeLog:
2484         * po/vi.po:
2485           Update Vietnamese translations.
2486
2487 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2488
2489         * libs/gst/base/gstbasesink.c:
2490           Remove unused signal enum.
2491
2492 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2493
2494         * docs/gst/gstreamer-sections.txt:
2495         * gst/gstelement.c:
2496         * gst/gstutils.c: (gst_type_register_static_full):
2497         Beef up and include the docs for gst_type_register_static_full and
2498         gst_element_class_set_details_simple and add the API keyword
2499         in the ChangeLog.
2500
2501 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2502
2503         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2504         (update_time_level), (gst_single_queue_push_one),
2505         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
2506         (single_queue_overrun_cb), (single_queue_underrun_cb),
2507         (single_queue_check_full):
2508         Fix setting max-* properties after adding queues.
2509         Use IS_FILLED for checking visible items.
2510         Signal overrun if multiple queues overrun.
2511         Add extra debug output.
2512         Patch by: Wim Taymans <wim@fluendo.com>
2513
2514 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
2515
2516         * gst/gstelement.c: (gst_element_class_set_details_simple):
2517         * gst/gstelement.h:
2518         * gst/gstutils.c: (gst_type_register_static_full):
2519         * gst/gstutils.h:
2520         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
2521         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
2522         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
2523         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
2524         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
2525         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
2526         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
2527         * plugins/elements/gstidentity.c: (gst_identity_base_init):
2528         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
2529         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2530         (apply_buffer), (gst_queue_chain):
2531         * plugins/elements/gsttee.c: (gst_tee_base_init):
2532         * plugins/elements/gsttypefindelement.c:
2533         (gst_type_find_element_base_init),
2534         (gst_type_find_element_class_init):
2535           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
2536           API: add gst_type_register_static_full
2537           API: add gst_element_class_set_details_simple
2538
2539 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2540
2541         * docs/pwg/advanced-types.xml:
2542           Fix typo in iana.org URI.
2543
2544 2007-06-19  Andy Wingo  <wingo@pobox.com>
2545
2546         * tests/check/pipelines/simple-launch-lines.c
2547         (test_state_change_returns): Enable pull-mode tests now that
2548         basesink has been fixed.
2549
2550         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
2551         Changed from gst_base_sink_is_prerolled, reversing the sense of
2552         the return value. Returns FALSE also if the sink is in pull mode,
2553         in which case it needs no preroll.
2554         (gst_base_sink_query, gst_base_sink_change_state): Update for
2555         needs_preroll change.
2556         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
2557         chaining up, in which we return SUCCESS directly if we activated
2558         in pull mode instead of ASYNC. Involves countering an async_start
2559         message sent before chaining up; not sure if this is correct, in
2560         an ideal world we only send async-start when activating in push
2561         mode.
2562
2563         * tests/check/pipelines/simple-launch-lines.c
2564         (test_state_change_returns): New test, partially disabled until
2565         basesink is fixed.
2566
2567 2007-06-19  Wim Taymans  <wim@fluendo.com>
2568
2569         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2570         (gst_multi_queue_sink_event):
2571         Fix event leak.
2572
2573 2007-06-19  Wim Taymans  <wim@fluendo.com>
2574
2575         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2576         (gst_bin_change_state_func), (bin_push_state_continue),
2577         (bin_handle_async_start), (bin_handle_async_done),
2578         (gst_bin_handle_message_func):
2579         Move the common code for posting state-change messages into
2580         one function.
2581         Broadcast the state signal after we posted the messages.
2582         Mark the bin as busy when it's doing a state-change.
2583         Make sure async-start/done messages don't interfere with the bin's
2584         state when it's busy.
2585         After the state change, let the bin check which elements completed the
2586         state change while it was busy so that it can update its state.
2587
2588 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
2589
2590         * docs/random/release:
2591         Add a note about updating the doap file to the release checklist
2592
2593 2007-06-18  Wim Taymans  <wim@fluendo.com>
2594
2595         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2596         (gst_single_queue_push_one), (gst_multi_queue_chain),
2597         (gst_multi_queue_sink_event):
2598         Make sure we don't reference the buffer/event after we have given away
2599         ownership in the queue.
2600
2601 2007-06-18  Wim Taymans  <wim@fluendo.com>
2602
2603         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2604         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
2605         Update queue state _after_ adding the item in the queue because else we
2606         could end up being full without the element added yet.
2607
2608 2007-06-18  Wim Taymans  <wim@fluendo.com>
2609
2610         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2611         (gst_bin_remove_func), (gst_bin_get_state_func),
2612         (gst_bin_element_set_state), (gst_bin_continue_func),
2613         (bin_push_state_continue), (bin_handle_async_start),
2614         (bin_handle_async_done), (gst_bin_handle_message_func):
2615         * gst/gstbin.h:
2616         Immediatly commit the toplevel bin state when receiving an async-done
2617         message. This enables us to avoid spawning a thread to commit the state
2618         in some common cases and it also avoids some races.
2619         Avoid spawning a state thread when adding/removing async elements to a
2620         toplevel bin. Instead we immediatly update the bin state.
2621         Get rid of iterating all the children when getting the state in the bin
2622         because it is now always up-to-date.
2623         Fix bug where locked elements would always return _SUCCESS even it they
2624         returned NO_PREROLL before being locked.
2625         Fix the order of the state_change, async-start/done messages that was
2626         sometimes incorrect.
2627         Mark the state_dirty field as deprecated, we don't need it anymore as we
2628         are always up-to-date.
2629
2630         * gst/gstelement.c: (gst_element_get_state_func),
2631         (gst_element_continue_state):
2632         Small debug inprovements.
2633         Return the previous element state return when nothing is pending instead
2634         of blindly returning SUCCESS.
2635
2636         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
2637         (gst_sinks_suite):
2638         Add a whole bunch of new testcases.
2639
2640 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2641
2642         * po/uk.po:
2643         * po/vi.po:
2644           Update translations.
2645
2646 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
2647
2648         * gst/gstpad.c:
2649         Fix typo in the docs.
2650
2651 2007-06-15  Wim Taymans  <wim@fluendo.com>
2652
2653         * docs/libs/gstreamer-libs-sections.txt:
2654         Add docs for new methods.
2655
2656 2007-06-15  Wim Taymans  <wim@fluendo.com>
2657
2658         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
2659         (gst_multi_queue_item_new):
2660         Don't use GSlice because we don't depend on >= 2.10 yet.
2661
2662 2007-06-15  Wim Taymans  <wim@fluendo.com>
2663
2664         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2665         (update_time_level), (apply_segment), (apply_buffer),
2666         (gst_single_queue_push_one), (gst_multi_queue_item_new),
2667         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
2668         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
2669         (single_queue_underrun_cb), (single_queue_check_full):
2670         Remove debug printf.
2671
2672 2007-06-15  Wim Taymans  <wim@fluendo.com>
2673
2674         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
2675         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
2676         (gst_data_queue_set_flushing), (gst_data_queue_push),
2677         (gst_data_queue_pop), (gst_data_queue_drop_head),
2678         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
2679         * libs/gst/base/gstdataqueue.h:
2680         Various cleanups.
2681         Added methods to get the current levels and to inform the queue that the
2682         'full' limits changed.
2683
2684         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2685         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2686         (gst_single_queue_flush), (update_time_level), (apply_segment),
2687         (apply_buffer), (gst_single_queue_push_one),
2688         (gst_multi_queue_item_steal_object),
2689         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2690         (gst_multi_queue_loop), (gst_multi_queue_chain),
2691         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2692         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
2693         (gst_multi_queue_src_query), (single_queue_overrun_cb),
2694         (single_queue_underrun_cb), (single_queue_check_full),
2695         (gst_single_queue_new):
2696         Keep track of time in the queue by measuring the difference between
2697         running_time on input and output. This gives more accurate results and
2698         can compensate for segments correctly.
2699         Make a queue by default only 5 buffers deep. We will now increase the
2700         buffer size depending on the filledness of the other queues.
2701         Factor out commong flush code.
2702         Make sure we don't add additional refcounts to buffers when we can avoid
2703         it.
2704         Propagate GstFlowReturn differently.
2705         Use GSlice for intermediate GstMultiQueueItems.
2706         Keep track of EOS.
2707         Resize queues on over and underruns based on filled level of other
2708         queues.
2709         When checking if the queue is filled, prefer to measure in time if we
2710         can and fall back to bytes when no time is known.
2711
2712         * plugins/elements/gstqueue.c:
2713         Fix return value.
2714
2715 2007-06-15  Wim Taymans  <wim@fluendo.com>
2716
2717         * libs/gst/base/gstbasetransform.c:
2718         (gst_base_transform_sink_event):
2719         Work around the brokenness of the event vmethod in basetransform. Prefer
2720         to return TRUE when the subclass returned FALSE (meaning don't forward
2721         the event). 
2722
2723         * libs/gst/base/gstbasetransform.h:
2724         Clarify the docs.
2725
2726 2007-06-15  Wim Taymans  <wim@fluendo.com>
2727
2728         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
2729         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2730         (gst_base_src_default_query), (gst_base_src_get_range),
2731         (gst_base_src_start):
2732         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
2733         Improve debugging.
2734
2735 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2736
2737         * docs/pwg/advanced-types.xml:
2738           Added more formats to caps table.
2739
2740 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2741
2742         * tools/gst-launch.c: (main):
2743           Remove crufy code. GOption does not need this workaround.
2744
2745 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2746
2747         * libs/gst/controller/gstcontroller.c:
2748         (gst_controlled_property_set_interpolation_mode):
2749           Fix wrong getter for enums in controller.
2750
2751 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2752
2753         * libs/gst/check/gstcheck.c: (gst_check_init):
2754           Intercept criticals and warnings in the Gst-Phonon log domain, so
2755           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
2756           well.
2757         
2758 2007-06-14  Edward Hervey  <edward@fluendo.com>
2759
2760         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
2761         Since this file doesn't include "gst.h" it will not go through the
2762         macros that disable GST_LOG if debugging was disabled.
2763
2764 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2765
2766         * libs/gst/check/Makefile.am:
2767         * libs/gst/check/gstcheck.h:
2768         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2769         * pkgconfig/gstreamer-check.pc.in:
2770           Ugly 'fix' for the controller unit test on the p5 bot: in
2771           fail_unless_equals_float() check whether the values are 'almost
2772           equal' by allowing a small absolute error, which should be good
2773           enough for our use cases (normal numbers and values close to 0).
2774           Proper fixage left to floating point arithmetic aficionados.
2775
2776 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2777
2778         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
2779         (gst_base_sink_render_object), (gst_base_sink_get_position):
2780           Add two breaks thats where missing.
2781
2782 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2783
2784         * docs/libs/gstreamer-libs-sections.txt:
2785         * libs/gst/check/gstcheck.h:
2786           API: add fail_unless_equals_float() and assert_equals_float().
2787           Add documentation for some of the macros.
2788
2789         * tests/check/libs/controller.c: (GST_START_TEST):
2790           Use newly-added asserts.
2791
2792 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2793
2794         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
2795           Show the caps change in the log to help spotting the case of not
2796           exactly matching caps.
2797
2798 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2799
2800         * docs/pwg/building-boiler.xml:
2801           Fix typos, spotted by Thijs Vermeir (#447190).
2802
2803 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2804
2805         * docs/plugins/tmpl/.cvsignore:
2806         Ignore file to keep the buildbots happy
2807
2808 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2809
2810         * docs/plugins/Makefile.am:
2811         * docs/plugins/gstreamer-plugins-docs.sgml:
2812         * docs/plugins/gstreamer-plugins-sections.txt:
2813         Pull fdsink into the docs too.
2814
2815 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
2816
2817         * libs/gst/controller/gstinterpolation.c:
2818         Actually use the new functions with min/max checks for the trigger and
2819         none interpolation modes for get() and get_value_array() instead of
2820         just the latter.
2821
2822 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
2823
2824         * libs/gst/controller/gstcontroller.c:
2825         (gst_controlled_property_free):
2826         Unset the minimum and maximum GValues when freeing the corresponding
2827         GstControllerProperty struct.
2828
2829 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
2830
2831         * libs/gst/controller/gstcontroller.c:
2832         (gst_controlled_property_new):
2833         * libs/gst/controller/gstcontrollerprivate.h:
2834         * libs/gst/controller/gstinterpolation.c:
2835         (gst_controlled_property_find_control_point_node),
2836         (interpolate_none_get), (interpolate_none_get_enum_value_array),
2837         (interpolate_none_get_string_value_array),
2838         (interpolate_trigger_get),
2839         (interpolate_trigger_get_enum_value_array),
2840         (interpolate_trigger_get_string_value_array):
2841         Protect against values larger or smaller than the minimum or maximum
2842         allowed value for the property when using values that can be compared.
2843
2844         Optimize trigger interpolator a bit by taking the last requested value
2845         into account instead of always looping through the complete list.
2846
2847         Fix coding style a bit, everywhere else we use "return foo" instead
2848         of "return (foo)".
2849         
2850         * tests/check/libs/controller.c: (GST_START_TEST),
2851         (gst_controller_suite):
2852         Add unit test for the protection against too large or too small
2853         values.
2854
2855 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
2856
2857         * docs/random/slomo/controller.txt:
2858         Add some thoughts about the future of the controller.
2859
2860 2007-06-08  Wim Taymans  <wim@fluendo.com>
2861
2862         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2863         Don't overflow in retimestamping code.
2864
2865 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
2866
2867         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
2868         Use gst_util_guint64_to_gdouble for conversions.
2869         * win32/common/libgstreamer.def:
2870         Add new exported functions.
2871
2872 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
2873
2874         * gst/gstutils.c:
2875           Small docs addition.
2876
2877 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2878
2879         * README:
2880           Remove that test line again.
2881
2882 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2883
2884         * README:
2885           Test commit mail sending.
2886
2887 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2888
2889         * configure.ac:
2890           Fix typo and test commit mail sending.
2891
2892 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2893
2894         * tests/examples/controller/audio-example.c:
2895           Improve comment and test commit mail sending.
2896
2897 2007-06-07  Wim Taymans  <wim@fluendo.com>
2898
2899         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
2900         (gst_bin_remove_func), (gst_bin_element_set_state),
2901         (bin_handle_async_start), (bin_handle_async_done),
2902         (gst_bin_handle_message_func):
2903         Add helper function to find messages.
2904         Generate the async-done messages together with the state change
2905         messages.
2906         Small cleanups in handling toplevel bins.
2907
2908 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2909
2910         * libs/gst/base/gstdataqueue.c:
2911         * libs/gst/base/gstdataqueue.h:
2912         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2913         (gst_multi_queue_item_new), (gst_multi_queue_chain),
2914         (gst_multi_queue_sink_event):
2915         * tests/check/elements/multiqueue.c: (multiqueue_suite):
2916           Fix multiqueue leaking buffers and events when downstream or the
2917           queue are flushing. Make refcounting assumptions explicit and
2918           document them (shouldn't break existing code that uses it other than
2919           maybe leak miniobjects, but that already happens anyway). Add unit
2920           test for the most common flushing case. Fixes #423700.
2921           
2922 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
2923
2924         * libs/gst/controller/gstcontroller.c:
2925         Clarify docs: The get_all, get_value_array(s) functions
2926         don't modify the GObject properties.
2927
2928 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
2929
2930         * libs/gst/controller/gstcontroller.c:
2931         (gst_controlled_property_set_interpolation_mode),
2932         (gst_controlled_property_prepend_default),
2933         (gst_controlled_property_new), (gst_controller_set_unlocked),
2934         (gst_controller_set), (gst_controller_set_from_list),
2935         (gst_controller_unset), (gst_controller_unset_all):
2936         * libs/gst/controller/gstcontrollerprivate.h:
2937         * libs/gst/controller/gstinterpolation.c:
2938         Factor out the 'set' logic into gst_controller_set_unlocked for the
2939         gst_controller_set and gst_controller_set_from_list functions.
2940
2941         To make life of the interpolators easier always add a control point
2942         at timestamp zero with the default value.
2943
2944         In the linear interpolator make things more obvious by better variable
2945         naming (slope).
2946
2947         Implement cubic interpolation mode (by using a natural cubic spline)
2948         and map the quadratic interpolation mode to this too (as quadratic
2949         doesn't make much sense, see discussion on the list).
2950
2951         * tests/check/libs/controller.c: (GST_START_TEST),
2952         (gst_controller_suite):
2953         Add unit test for the cubic interpolation mode and check everywhere
2954         if the interpolation mode could be set as expected.
2955
2956 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2957
2958         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
2959           Don't use GLib-2.10 functions, we still depend on
2960           GLib-how-old-is-it-again-2.8.
2961
2962 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2963
2964         * docs/gst/gstreamer-sections.txt:
2965         * gst/Makefile.am:
2966         * gst/gst.c:
2967         * gst/gst.h:
2968         * gst/gstparamspecs.c: (_gst_param_fraction_init),
2969         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
2970         (_gst_param_fraction_values_cmp),
2971         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
2972         * gst/gstparamspecs.h:
2973         * gst/gstvalue.c:
2974         * tests/check/Makefile.am:
2975         * tests/check/gst/.cvsignore:
2976         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
2977         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
2978         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
2979         (GST_START_TEST), (gst_param_spec_suite):
2980           API: add GstParamSpecFraction, so elements can have fraction
2981           properties without lots of painful string parsing (#444648).
2982
2983 2007-06-05  Wim Taymans  <wim@fluendo.com>
2984
2985         * gst/gstobject.c: (gst_object_class_init):
2986         Fix signal signature.
2987
2988         * gst/gstsegment.c:
2989         Add small clarification in the api docs.
2990
2991         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
2992         States are protected with object lock.
2993
2994 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
2995
2996         * AUTHORS:
2997         I should probably be listed as an author by now.
2998
2999         * docs/random/release:
3000         Update the release doc
3001
3002 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
3003
3004         * gst/gstvalue.c:
3005           Make docs for gst_value_compare() mention return enums that
3006           actually exist.
3007
3008 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
3009
3010         * configure.ac:
3011           Back to CVS
3012
3013 === release 0.10.13 ===
3014
3015 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
3016
3017         * configure.ac:
3018           releasing 0.10.13, "With or without you"
3019
3020 2007-05-25  Wim Taymans  <wim@fluendo.com>
3021
3022         * gst/gstbin.c: (bin_handle_async_done):
3023         Make sure that the child bin stops after completing the async state
3024         change so that the parent can continue the state change to PLAYING.
3025         Fixes #441159.
3026
3027 2007-05-25  Wim Taymans  <wim@fluendo.com>
3028
3029         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3030         (unref_data), (gst_collect_pads_remove_pad),
3031         (gst_collect_pads_check_pads):
3032         Use additional refcounting to avoid crashes when dynamically adding and
3033         removing pads. Fixes #420206.
3034
3035 2007-05-24  Wim Taymans  <wim@fluendo.com>
3036
3037         * tools/gst-launch.c: (event_loop):
3038         When buffering goes from a two digit to a single digit number, make sure
3039         to remove the old second digit by writing a blank over it.
3040
3041 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
3042
3043         * libs/gst/base/gstdataqueue.c:
3044           Eliminate tabs and trailing comma in enum list; fix some typos.
3045
3046 2007-05-24  Wim Taymans  <wim@fluendo.com>
3047
3048         * tests/check/gst/gstbin.c: (GST_START_TEST):
3049         Allow refcount of 3 and 4 because some state thread might still be busy
3050         with it.
3051
3052 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
3053
3054         * plugins/elements/Makefile.am:
3055         * plugins/elements/gstmultiqueue.h:
3056         * plugins/elements/gstqueue.h:
3057           These are not installed headers, no need for padding.
3058
3059 2007-05-24  Wim Taymans  <wim@fluendo.com>
3060
3061         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3062         (gst_bin_continue_func):
3063         Enable latency for next release.
3064         Restore STATE_LOCK around recalc_state that was left out during the
3065         rewrite and could result in racy behaviour when _get_state and
3066         recalc_state are run concurrently. See #440463.
3067
3068 2007-05-23  Wim Taymans  <wim@fluendo.com>
3069
3070         * tests/check/gst/gstsystemclock.c: (store_callback),
3071         (GST_START_TEST):
3072         Improve test_async_order to also work when both timers are already
3073         expired when we get scheduled to check it.
3074
3075 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
3076
3077         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
3078         (gst_bin_set_property), (gst_bin_get_property),
3079         (gst_bin_remove_func), (gst_bin_handle_message_func):
3080         * gst/gstbin.h:
3081           'private' is a c++ keyword, let's not use that in header files,
3082           otherwise c++ compilers will throw a tantrum.
3083
3084 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
3085
3086         * plugins/elements/gstelements.c:
3087         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
3088         (gst_file_sink_get_current_offset):
3089         * plugins/indexers/gstindexers.c: (plugin_init):
3090           Use #ifdef for HAVE_XYZ for consistency.
3091
3092         * tests/check/Makefile.am:
3093         * tests/check/elements/.cvsignore:
3094         * tests/check/elements/filesink.c: (setup_filesink),
3095         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
3096           Add some unit tests for filesink.
3097
3098 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
3099
3100         Patch by: Mark Nauwelaerts <manauw at skynet be>
3101
3102         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
3103         (gst_file_sink_query), (gst_file_sink_do_seek),
3104         (gst_file_sink_get_current_offset), (gst_file_sink_render):
3105         * plugins/elements/gstfilesink.h:
3106           Fix position reporting; rename data_written member to current_pos to
3107           reflect its real meaning (fixes #412648).
3108
3109 2007-05-22  Edward Hervey  <edward@fluendo.com>
3110
3111         * docs/gst/gstreamer-sections.txt:
3112         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3113         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
3114         (gst_bin_remove_func), (gst_bin_handle_message_func):
3115         * gst/gstbin.h:
3116         Add a property for bins that handle the state change of their childs.
3117         Fixes #435880
3118
3119 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
3120
3121         * libs/gst/controller/gstinterpolation.c:
3122         Use an array of the correct type when using _get_value_array with
3123         linear interpolation.
3124
3125 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
3126
3127         * gst/gstelement.c (gst_element_requires_clock,
3128           gst_element_provides_clock, gst_element_request_pad,
3129           gst_element_class_set_details, gst_element_class_set_details_simple,
3130           gst_element_default_send_event, gst_element_abort_state,
3131           gst_element_continue_state, gst_element_set_state,
3132           gst_element_set_state_func, iterator_activate_fold_with_resync):
3133         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
3134           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
3135           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
3136           gst_pad_get_range, gst_pad_pull_range):
3137         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
3138           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
3139           GstPadActivateModeFunction, GstPadChainFunction,
3140           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
3141           GstPadFixateCapsFunction, GstPadTemplate):
3142         * gst/gstpipeline.c (gst_pipeline_change_state,
3143           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
3144           gst_pipeline_set_clock, gst_pipeline_auto_clock,
3145           gst_pipeline_get_delay):
3146           Whitespace and docs fixes.
3147
3148 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3149
3150         * libs/gst/controller/gstinterpolation.c:
3151         (interpolate_trigger_get_enum_value_array),
3152         (interpolate_trigger_get_string_value_array):
3153         Add support for retrieving value arrays when using the trigger
3154         interpolation mode. 
3155
3156 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3157
3158         * libs/gst/controller/gstcontroller.c:
3159         (gst_controller_get_value_array):
3160         * libs/gst/controller/gstcontroller.h:
3161         Clarify the docs of gst_controller_get_value_array(): The array where
3162         the values should be written to must be allocated as there seems to be
3163         no way to get the size of a random GType. This doesn't change any
3164         behaviour. Also fix some typos all over the place and remove an unused,
3165         commented function that is not necessary as g_object_set() could be
3166         used instead.
3167         * tests/check/libs/controller.c: (GST_START_TEST),
3168         (gst_controller_suite):
3169         Add unit test for gst_controller_get_value_array().
3170
3171 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
3172
3173         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3174
3175         Disable part of the gst_buffer_try_new_and_alloc test, because
3176         it can happily succeed on 64-bit systems where there's more address
3177         space available.
3178
3179 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3180
3181         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3182         Add unit test for the improved caps checking from bug #421543.
3183
3184 2007-05-21  Wim Taymans  <wim@fluendo.com>
3185
3186         * docs/design/part-synchronisation.txt:
3187         Small addition.
3188
3189         * gst/gstbin.c: (gst_bin_query):
3190         * plugins/elements/gstqueue.c: (apply_segment):
3191         Improve debugging.
3192
3193         * gst/gstmessage.h:
3194         Improve docs.
3195
3196 2007-05-21  Wim Taymans  <wim@fluendo.com>
3197
3198         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
3199         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
3200         (gst_pad_configure_src):
3201         Added simple version of improved caps checking. It was previously
3202         assumed that a setcaps function would check the validity of the caps but
3203         people prefer us to check caps against the template automatically. 
3204         Fixes #421543.
3205
3206 2007-05-21  Wim Taymans  <wim@fluendo.com>
3207
3208         * libs/gst/base/gstbasetransform.h:
3209         Fix macro for locking/unlocking the transform lock.
3210
3211 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
3212
3213         * docs/plugins/tmpl/.cvsignore:
3214           Ignore more.
3215
3216 2007-05-18  Edward Hervey  <edward@fluendo.com>
3217
3218         * plugins/elements/gstqueue.c: (gst_queue_loop):
3219         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
3220         for the subtle art of warning a potentially blocking thread that it
3221         should check the source pad return value, and relay the information
3222         upstream.
3223
3224 2007-05-18  Edward Hervey  <edward@fluendo.com>
3225
3226         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3227         Release the queue lock !
3228
3229 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3230
3231         * docs/libs/gstreamer-libs-sections.txt:
3232         Add the two new controller functions to the appropiate places.
3233
3234 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3235
3236         reviewed by: Stefan Kost <ensonic@users.sf.net>
3237
3238         * libs/gst/controller/gstcontroller.c:
3239         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
3240         (_gst_controller_get_property), (_gst_controller_set_property),
3241         (_gst_controller_init), (_gst_controller_class_init):
3242         * libs/gst/controller/gstcontroller.h:
3243         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
3244         (gst_object_get_control_rate), (gst_object_set_control_rate):
3245         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
3246         Add API that provides sync suggestion timestamps for elements that
3247         call gst_object_sync_values() from which those elements can subdivide
3248         their processing loop to get the best results for the controlled
3249         properties. For now it just suggests last_sync + control_rate as
3250         new timestamp but this will be improved in the future.
3251
3252         While doing that change the control-rate property to a GstClockTime
3253         from guint and change it's meaning from samples to nanoseconds as
3254         the GstController doesn't know anything about sampling rate. Strictly
3255         speaking this breaks ABI but as the control-rate property didn't do
3256         anything in the past and as such couldn't be used this should be no
3257         problem.        
3258
3259 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3260
3261         reviewed by: Stefan Kost <ensonic@users.sf.net>
3262
3263         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3264         (gst_controller_unset_all):
3265         * libs/gst/controller/gstcontrollerprivate.h:
3266         * libs/gst/controller/gstinterpolation.c:
3267         (gst_controlled_property_find_control_point_node):
3268         Save last synced value from the list to continue searching from there
3269         in future syncs. This speeds everything up a bit.
3270         
3271 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3272
3273         reviewed by: Stefan Kost <ensonic@users.sf.net>
3274
3275         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
3276         (gst_control_point_find), (gst_controlled_property_new),
3277         (gst_control_point_free), (gst_controlled_property_free),
3278         (gst_controller_set), (gst_controller_set_from_list),
3279         (gst_controller_unset), (gst_controller_unset_all),
3280         (gst_controller_sync_values):
3281         * libs/gst/controller/gstcontroller.h:
3282         * libs/gst/controller/gstcontrollerprivate.h:
3283         * libs/gst/controller/gstinterpolation.c:
3284         (gst_controlled_property_find_control_point_node),
3285         (interpolate_none_get), (interpolate_trigger_get):
3286         Add a new private GstControlPoint struct which "inherits" from
3287         GstTimedValue to allow different interpolators to store internal
3288         values next to each control point. From the outside everything is
3289         still a GstControlPoint so we don't loose binary compatibility.
3290         Also fixup all the GValue handling to not leak GValues or list nodes.
3291         * tests/check/libs/controller.c: (GST_START_TEST):
3292         Free the list nodes and GValues in the controller_misc test.
3293
3294 2007-05-17  Edward Hervey  <edward@fluendo.com>
3295
3296         * gst/gstsegment.c:
3297         Small doc fix.
3298
3299 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
3300
3301         * gst/gstplugin.c: (gst_plugin_load_file):
3302           If we fail to load a plugin because of unresolved symbols or missing
3303           libraries and spew a warning to stderr, we may just as well mention
3304           which plugin it was that failed to load.
3305
3306 2007-05-13  David Schleef  <ds@schleef.org>
3307
3308         * docs/Makefile.am: the gtk-doc makefile snippet correctly
3309           handles the case when ENABLE_GTK_DOC is false, and installs
3310           the prebuilt documentation.  So gtk-doc subdirs are 
3311           unconditionally enabled.  Fixes: #349099.
3312
3313 2007-05-13  David Schleef  <ds@schleef.org>
3314
3315         * gst/gstutils.h: Reword some documentation.
3316
3317 2007-05-12  David Schleef  <ds@schleef.org>
3318
3319         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
3320           do anything with the passed "module" parameter, so remove it.
3321           Allows removal of additional vestigal code.
3322
3323 2007-05-12  David Schleef  <ds@schleef.org>
3324
3325         * gst/gstplugin.c:
3326           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
3327           Switch to using g_stat() because it's more portable.
3328
3329 2007-05-12  David Schleef  <ds@schleef.org>
3330
3331         * gst/gst.c:
3332           Add GST_DISABLE_OPTION_PARSING, in order to disable option
3333           parsing for embedded systems.
3334         * gst/gstelementfactory.c:
3335           Allow gst_element_register() to be called with plugin==NULL.
3336           Did nobody notice that static elements were broken?
3337
3338 2007-05-12  Wim Taymans  <wim@fluendo.com>
3339
3340         * tools/gst-launch.c: (event_loop):
3341         Give more interesting info when buffering starts and stops.
3342         Fix case where buffering starts but we fail to update the buffering flag
3343         because the target state is not PLAYING.
3344
3345 2007-05-12  Wim Taymans  <wim@fluendo.com>
3346
3347         * plugins/elements/gstqueue.c: (gst_queue_init),
3348         (gst_queue_finalize), (update_time_level), (apply_segment),
3349         (apply_buffer), (gst_queue_locked_flush),
3350         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
3351         (gst_queue_handle_sink_event), (gst_queue_chain),
3352         (gst_queue_push_one), (gst_queue_loop):
3353         * plugins/elements/gstqueue.h:
3354         Refactor an cleanup queue a bit.
3355         Do better time level calculations that also work when the srcpad is not
3356         yet running.
3357         Remove some unneeded debug lines.
3358
3359         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
3360         Added testcase for time level measurement.
3361         Try to make some stuff more racefree.
3362
3363 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
3364
3365         * gst/gsturi.c: (gst_element_make_from_uri):
3366           Don't leak plugin feature.
3367
3368         * tests/check/Makefile.am:
3369         * tests/check/gst/.cvsignore:
3370         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
3371           Add brain-dead unit test.
3372
3373 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
3374
3375         Patch by: Jeroen Wouters <woutersj at gmail com>
3376
3377         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
3378           Treat protocol strings in a case-insensitive way (#437563).
3379
3380 2007-05-11  Michael Smith <msmith@fluendo.com>
3381
3382         * gst/gstplugin.c: (gst_plugin_load_file):
3383         * gst/gstregistry.c: (gst_registry_scan_path_level):
3384           Don't print a g_warning for any failure to load a shared object.
3385           Instead, push this down into gstplugin.c, and warn _only_ if we
3386           failed to open the module (i.e. failure to link).
3387           Avoids warnings on normal, working, non-plugin .so files.
3388
3389 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
3390
3391         * gst/gstplugin.c (gst_plugin_load_file):
3392         * gst/gstregistry.c (GST_CAT_DEFAULT,
3393           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
3394           Print a g_warning if there was an error when loading a plugins during
3395           registry scan. The shuld help beginners starting with gst-plugin
3396           template.
3397
3398 2007-05-10  Wim Taymans  <wim@fluendo.com>
3399
3400         * plugins/elements/gstqueue.c: (gst_queue_class_init),
3401         (update_time_level), (gst_queue_locked_flush),
3402         (gst_queue_handle_sink_event), (gst_queue_chain),
3403         (gst_queue_push_one), (gst_queue_loop):
3404         * plugins/elements/gstqueue.h:
3405         Be smarter when calculating the current amount of data in the queue by
3406         measuring the difference between start and end timestamps (in running
3407         time) inside the queue. Fixes #432876.
3408         API: GstQueue::pushing to notify elements that we are pushing data again
3409         since the running signal is rather broken for this purpose.
3410
3411 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
3412
3413         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
3414           gst_queue_base_init, gst_queue_init):
3415           use GST_BOILERPLATE
3416
3417 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
3418
3419         * win32/common/libgstreamer.def:
3420         Add new exported functions.
3421         * win32/vs6/grammar.dsp:
3422         Use grammar pre-generated files.
3423
3424 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3425
3426         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
3427
3428         * gst/Makefile.am:
3429         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
3430         * gst/gstparse.h:
3431         * gst/gstutils.c: (gst_parse_bin_from_description):
3432         * gst/gstutils.h:
3433           Maintain API and ABI when --disable-parse is used. Now that
3434           we have an appropriate error code, we can just return NULL and the
3435           appropriate error when gst_parse_launch() is used despite it having
3436           been disabled (#342564).
3437
3438         * tests/check/Makefile.am:
3439         * tests/check/pipelines/.cvsignore:
3440         * tests/check/pipelines/parse-disabled.c:
3441           Make sure these functions exist and return NULL plus a GError when
3442           --disable-parse is used.
3443
3444 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3445
3446         * tests/benchmarks/complexity.c: (main):
3447         * tests/benchmarks/mass-elements.c: (main):
3448           Set a good example and don't leak messages.
3449
3450 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
3451
3452         * docs/gst/Makefile.am:
3453         * docs/libs/Makefile.am:
3454           Correct fixxrefs options.
3455
3456         * docs/plugins/Makefile.am:
3457         * docs/plugins/gstreamer-plugins-docs.sgml:
3458         * docs/plugins/gstreamer-plugins-sections.txt:
3459         * plugins/elements/Makefile.am:
3460         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
3461         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
3462           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
3463           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
3464           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
3465           _GstCapsFilterClass, trans_class):
3466         * plugins/elements/gstelements.c (name, rank, type, _elements):
3467         * plugins/elements/gstidentity.c
3468           (gst_identity_check_imperfect_timestamp,
3469           gst_identity_check_imperfect_offset):
3470           Document capsfilter and add doc-blurb to identity.
3471
3472 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3473
3474         * libs/gst/controller/gstcontroller.c:
3475         (gst_controlled_property_set_interpolation_mode):
3476         * libs/gst/controller/gstinterpolation.c:
3477           Don't crash if someone tries to set an interpolation mode that
3478           is invalid or that isn't supported yet. Fixes #422295.
3479
3480         * tests/check/libs/controller.c: (GST_START_TEST),
3481         (gst_controller_suite):
3482           Add a test case for the above.
3483
3484 2007-05-03  Edward Hervey  <edward@fluendo.com>
3485
3486         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3487         Properly set the last_stop position on GstSegment. This will only happen
3488         if there is a buffer to push out.
3489
3490 2007-05-03  Wim Taymans  <wim@fluendo.com>
3491
3492         * libs/gst/base/gstbasetransform.c:
3493         (gst_base_transform_buffer_alloc):
3494         always_in_place does not mean that the sink and source caps are the
3495         same! Make sure we don't blindly proxy the buffer_alloc in this case.
3496
3497 2007-05-03  Wim Taymans  <wim@fluendo.com>
3498
3499         * docs/libs/gstreamer-libs-sections.txt:
3500         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3501         (gst_base_src_default_query), (gst_base_src_get_range):
3502         * libs/gst/base/gstbasesrc.h:
3503         API: gst_base_src_query_latency(). Added method so that subclasses can
3504         easily get the latency values of the base source class.
3505
3506 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
3507
3508         * tools/gst-inspect.c (print_implementation_info):
3509         Remove 0.8 cruft.
3510
3511 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
3512
3513         * tools/Makefile.am:
3514         * tools/gst-launch.1.in:
3515           Don't create a customised man page based on the host architecture,
3516           describe the default registry path generically. That way the man
3517           page is the same for all architectures and packagers have one
3518           multilib issue less to deal with. Fixes #434926.
3519
3520 2007-05-02  Wim Taymans  <wim@fluendo.com>
3521
3522         * gst/gstpad.c:
3523         Fix documentation as spotted by rg on IRC. 
3524
3525 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
3526
3527         * gst/gstutils.c:
3528           Improve docs for gst_element_{link,unlink}.
3529
3530 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
3531
3532         * docs/design/part-events.txt:
3533         * docs/design/part-overview.txt:
3534         * gst/gstevent.c:
3535         * gst/gsturi.c:
3536         * gst/gsturi.h:
3537         * libs/gst/base/gstbasesink.c:
3538           Typo fixes; minor docs addition.
3539
3540 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3541
3542         * docs/gst/gstreamer-sections.txt:
3543         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
3544         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
3545         * gst/gsturi.h:
3546         API: Add gst_uri_protocol_is_supported(), which checks if a sink
3547         or src that supports a given URI protocol exists.
3548
3549 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3550
3551         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3552         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3553         Set the location to NULL if "file://" is set as URI. Otherwise
3554         some random previous URI would still be set if "file://" is
3555         set on an already used filesink/filesrc.
3556
3557 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3558
3559         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3560         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3561         Special case the "file://" URI as as this is used by some
3562         applications to test with gst_element_make_from_uri if there's
3563         an element that supports the URI protocol.
3564         Also move the g_path_is_absolute() check for the location part
3565         of the URI to also check this for "file://localhost/bla" URIs.
3566
3567 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
3568
3569         * docs/gst/gstreamer-sections.txt:
3570         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
3571         * gst/gstbuffer.h:
3572         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
3573         (gst_buffer_suite):
3574           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
3575
3576 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
3577
3578         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3579         (gst_registry_binary_load_pad_template),
3580         (gst_registry_binary_load_plugin),
3581         (gst_registry_binary_read_cache):
3582         * gst/gstregistrybinary.h:
3583           Implement no-mmap alternative for registry reading. Do code cleanups.
3584           Add more comments about avoiding strdups for all text data. Comments
3585           welcome.
3586
3587 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3588
3589         * gst/gstregistrybinary.h (GstBinaryPluginElement,
3590           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
3591           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
3592           Comment structs and reformat to fix the build (that stuff should go
3593           into a priv. header).
3594
3595 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3596
3597         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3598         (gst_registry_binary_load_feature):
3599         * gst/gstregistrybinary.h:
3600           Refactor so that we can implement multiple features. Add support for
3601           TypeFindFactory features.
3602
3603 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
3604
3605         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
3606
3607         * configure.ac:
3608           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
3609
3610 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
3611
3612         * gst/gstbin.c: (gst_bin_element_set_state),
3613         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
3614         (bin_handle_async_done), (gst_bin_handle_message_func):
3615           Fix build with --gst-disable-gst-debug
3616
3617 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3618
3619         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
3620           Make sure streaming has finished before calling the ::stop() vfunc,
3621           since that vfunc might clear state which is being used in the
3622           streaming thread. This fixes a race that caused crashes in
3623           audioresample when shutting down a pipeline (#420106).
3624
3625 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3626
3627         * docs/gst/gstreamer-sections.txt:
3628           That was one byte missing.
3629
3630 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3631
3632         * configure.ac:
3633         * docs/gst/gstreamer-sections.txt:
3634         * gst/Makefile.am:
3635         * gst/gstconfig.h.in:
3636         * gst/gstobject.c: (gst_object_class_init),
3637         (gst_signal_object_class_init):
3638         * gst/gstobject.h:
3639           2nd attempt to have a xml-less build as a joined effort of #413123
3640           and #421480.
3641
3642 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3643
3644         * docs/design/draft-tagreading.txt:
3645           Added open issues/thoughts to draft.
3646
3647 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3648
3649         * gst/parse/grammar.tab.pre.c:
3650         * gst/parse/grammar.tab.pre.h:
3651         * gst/parse/lex._gst_parse_yy.pre.c:
3652         Update the prebuild parser sources.
3653
3654 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3655
3656         * gst/parse/Makefile.am:
3657         And now fix the building of the flex sources. Now everything should
3658         work as expected.
3659
3660 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3661
3662         * gst/parse/Makefile.am:
3663         Now hopefully fix the build failures by setting proper rule
3664         dependencies and moving instead of copying.
3665
3666 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3667
3668         * tests/benchmarks/complexity.gnuplot:
3669         * tests/benchmarks/complexity.scm:
3670         * tests/benchmarks/mass-elements.gnuplot:
3671         * tests/benchmarks/mass-elements.scm:
3672           Total licensification.
3673
3674 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3675
3676         * gst/parse/Makefile.am:
3677           Fix the build by correcting the rule that gave wrong files to flex.
3678
3679 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3680
3681         * tests/benchmarks/complexity.c:
3682         * tests/benchmarks/mass-elements.c:
3683           Change licence to LGPL as granted by Benjamin and Andy.
3684
3685 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3686
3687         * gst/parse/Makefile.am:
3688         Add correct grammar.tab.h dependency if compiling without new enough
3689         flex. Fixes #431150.
3690
3691 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3692
3693         * gst/parse/Makefile.am:
3694         Fix typo and use outdated sources if the flex/bison sources are newer
3695         than the pregenerated ones but flex is too old. Print a warning in
3696         that case. This should fix the build on the build bot.
3697
3698 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3699
3700         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
3701         * gst/parse/Makefile.am:
3702         * gst/parse/grammar.y:
3703         * gst/parse/parse.l:
3704         Make the parser reentrant and recursively callable. This requires flex
3705         >= 2.5.31, for older versions pregenerated sources are used as we
3706         can't bump the build dependency. Finally fixes #349180.
3707
3708         * gst/gstparse.c: (gst_parse_launch):
3709         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
3710         now anyway.
3711
3712         * docs/gst/Makefile.am:
3713         * docs/gst/Makefile.am:
3714         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
3715         (__gst_parse_strfree), (__gst_parse_link_new),
3716         (__gst_parse_link_free), (__gst_parse_chain_new),
3717         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
3718         (gst_parse_element_set), (gst_parse_free_link),
3719         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
3720         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
3721         (_gst_parse_launch):
3722         * gst/parse/grammar.tab.pre.h:
3723         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
3724         (yy_get_previous_state), (yy_try_NUL_trans), (input),
3725         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
3726         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
3727         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
3728         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
3729         (_gst_parse_yypop_buffer_state),
3730         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
3731         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
3732         (yy_fatal_error), (_gst_parse_yyget_extra),
3733         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
3734         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
3735         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
3736         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
3737         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
3738         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
3739         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
3740         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
3741         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
3742         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
3743         (_gst_parse_yyfree):
3744         If the installed flex version is too old use pre-generated parser
3745         sources. These pre-generated parser sources are always updated when
3746         the actual flex/bison sources change but require everybody who wants
3747         to change something in the parser to have flex >= 2.5.31 installed.
3748
3749 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
3750
3751         * common/m4/gst-gettext.m4:
3752         * gst/gst-i18n-lib.h:
3753           Make --disable-nls to work
3754
3755 2007-04-17  Wim Taymans  <wim@fluendo.com>
3756
3757         * gst/gstconfig.h.in:
3758         Revert previous change that broke the build.
3759
3760 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
3761
3762         * configure.ac:
3763         * gst/Makefile.am:
3764         * gst/gstconfig.h.in:
3765           Drop libxml2 dependency when building with 
3766           --enable-binary-registry --disable-loadsave
3767
3768 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
3769
3770         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3771         (gst_registry_binary_read_cache):
3772         * gst/gstregistrybinary.h:
3773           Remove unnecessary <sys/mman.h> include which broke the win32 build
3774           with MingW; move includes from header file to .c file, even if the
3775           header file isn't installed; use g_strerror() where UTF-8 strings
3776           are expected, such as in GST_DEBUG messages.
3777
3778 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3779
3780         * docs/libs/gstreamer-libs-sections.txt:
3781         Remove bogus addition for API I didn't end up keeping.
3782
3783         * libs/gst/base/gstbasesrc.h:
3784         Mention Since: 0.10.13 in the documentation.
3785
3786         Add the API keyword to the previous ChangeLog entry.
3787
3788 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3789
3790         * docs/libs/gstreamer-libs-sections.txt:
3791         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3792         (gst_base_src_default_prepare_seek_segment),
3793         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
3794         * libs/gst/base/gstbasesrc.h:
3795         Allow basesrc derived classes to execute seeks in other formats
3796         by providing a prepare_seek_segment vmethod. Sub-classes can choose
3797         to prepare the GstSegment in any format that their perform_seek method
3798         will be able to understand. The default implementation provides the
3799         old behaviour of attempting to convert the seek offsets to the 
3800         configured native format.
3801
3802         API: basesrc::prepare_seek_segment vmethod.
3803
3804 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3805
3806         * gst/gstelement.c: (gst_element_get_state_func):
3807         Don't output the same debug statement twice.
3808
3809         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
3810         (gst_adapter_peek), (gst_adapter_take_buffer):
3811         Optimise the case where we have buffers at the head of the queue that
3812         can be joined quickly (because they're contiguous sub-buffers) by
3813         merging them together rather than copying data out into new memory.
3814
3815         * gst/parse/grammar.y:
3816         * tests/check/pipelines/parse-launch.c:
3817         Fix a leak in an error path for parse_launch, and add a check 
3818         for it to the testsuite.
3819
3820 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3821
3822         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3823           Don't deadlock when releasing a pad - gst_pad_set_active may try
3824           and take the multiqueue lock too.
3825
3826 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3827
3828         * gst/gsterror.c: (_gst_core_errors_init):
3829         * gst/gsterror.h:
3830           API: add GST_CORE_ERROR_DISABLED (#392804).
3831
3832 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3833
3834         * docs/faq/gst-uninstalled:
3835           don't get empty paths on the PATH variables
3836         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
3837           Don't format for the uncommon terminal width of 84 characters.
3838
3839 2007-04-06  Wim Taymans  <wim@fluendo.com>
3840
3841         * gst/gstpipeline.c: (reset_stream_time),
3842         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
3843         Only try to select a different pipeline clock when we went back to
3844         PAUSED and not when we merely got flushed.
3845
3846 2007-04-05  Michael Smith  <msmith@fluendo.com>
3847
3848         * tools/gst-launch.1.in:
3849           fractions are better supported in gstreamer than ractions, so
3850           suggest using those.
3851
3852 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3853
3854         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
3855
3856         * po/LINGUAS:
3857         * po/da.po:
3858           Added Danish translation.
3859
3860 2007-04-05  Wim Taymans  <wim@fluendo.com>
3861
3862         * libs/gst/base/gstbasesink.c:
3863         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
3864         Fix leak caused when refusing newsegment after EOS.
3865
3866         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3867         (gst_fake_sink_init), (gst_fake_sink_set_property),
3868         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
3869         (gst_fake_sink_render), (gst_fake_sink_change_state):
3870         * plugins/elements/gstfakesink.h:
3871         Add num-buffers property to make the element generate EOS after a
3872         configurable amount of buffers.
3873         API: fakesink::num-buffers property.
3874
3875         * tests/check/elements/fakesink.c: (GST_START_TEST),
3876         (fakesink_suite):
3877         Fix GstBus leak in test.
3878         Test for fakesink num-buffers.
3879
3880 2007-04-05  Wim Taymans  <wim@fluendo.com>
3881
3882         * libs/gst/base/gstbasesink.c:
3883         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3884         (gst_base_sink_change_state):
3885         Don't accept anything after an EOS, return UNEXPECTED instead.
3886
3887         * tests/check/elements/fakesink.c: (GST_START_TEST),
3888         (fakesink_suite):
3889         Unit test for new EOS behaviour.
3890
3891 2007-04-05  Wim Taymans  <wim@fluendo.com>
3892
3893         * gst/gstelement.c: (gst_element_get_request_pad):
3894         Make padtemplates also work when they don't contain %s or %d.
3895
3896 2007-04-05  Wim Taymans  <wim@fluendo.com>
3897
3898         * docs/gst/gstreamer-sections.txt:
3899         * gst/gstclock.c: (gst_clock_adjust_unlocked),
3900         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
3901         * gst/gstclock.h:
3902         Improve _adjust_unlocked() so that it overflows less.
3903         Add gst_clock_unadjust_unlocked to convert from external time to
3904         internal time based on calibration.
3905         Add some more debug.
3906         API: GstClock::gst_clock_unadjust_unlocked()
3907
3908 2007-04-03  Wim Taymans  <wim@fluendo.com>
3909
3910         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3911
3912         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3913         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
3914         when releasing sink pad. Fixes #425400.
3915
3916 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
3917
3918         * docs/random/ensonic/dynlink.txt:
3919           More work on proposal for new core api.
3920
3921         * docs/libs/gstreamer-libs-sections.txt:
3922         * libs/gst/base/gstbasetransform.h:
3923           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
3924           
3925         * libs/gst/controller/gstcontroller.c:
3926         (on_object_controlled_property_changed),
3927         (gst_controller_sync_values),
3928         (gst_controller_set_interpolation_mode):
3929         * libs/gst/controller/gstcontroller.h:
3930           Less verbose logging add docs for unimplemented parts and correctly
3931           return when using unavailable parts.
3932
3933 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
3934
3935         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
3936         Move all the debug to the CLOCK category, and associate it with
3937         the clock object.
3938
3939 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
3940
3941         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
3942         Make take_buffer a bit quicker by removing redundant checks
3943         caused by calling gst_adapter_take.
3944
3945 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
3946
3947         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
3948           Don't leak GCond.
3949
3950         * tests/check/Makefile.am:
3951         * tests/check/elements/.cvsignore:
3952         * tests/check/elements/multiqueue.c: (setup_multiqueue),
3953         (GST_START_TEST), (multiqueue_suite):
3954           Add some dead simple unit tests for the 'multiqueue' element
3955           (some bits don't work yet and are disabled for now).
3956
3957 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
3958
3959         * gst/gstelement.c: (gst_element_get_request_pad),
3960         (gst_element_class_get_request_pad_template):
3961           Make gst_element_get_request_pad() create request pads only for
3962           request pad templates and not for, say, sometimes pad templates.
3963
3964 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
3965
3966         * docs/design/draft-klass.txt:
3967           Add example that needs more thinking.
3968         
3969         * docs/design/draft-missing-plugins.txt:
3970           More thoughts about wrapper plugins.
3971         
3972         * docs/random/ensonic/embedded.txt:
3973         * docs/random/ensonic/profiling.txt:
3974           More design work.
3975
3976 2007-03-25  Wim Taymans  <wim@fluendo.com>
3977
3978         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3979         (gst_base_src_loop):
3980         Only push the segment events in the PLAYING state for live sources.
3981
3982 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
3983
3984         * gst/gstpipeline.c: (gst_pipeline_change_state):
3985         Modify the clock distribution path in PAUSED->PLAYING so that we 
3986         never attempt to choose a new clock unless we're actually leaving
3987         the PAUSED state for the first time. This prevents choosing a
3988         different clock when the state_change gets called for a 2nd time due
3989         to some element doing an async state change.
3990
3991 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3992
3993         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
3994         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
3995         (gst_pad_chain_unchecked), (gst_pad_push):
3996         Revert last commit. This needs some more thoughts.
3997
3998 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3999
4000         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
4001         (gst_pad_chain_unchecked), (gst_pad_push):
4002         Check in set_caps if the caps are compatible with the pad and remove
4003         two functions that are redundant now. Fixes #421543.
4004
4005 2007-03-22  Wim Taymans  <wim@fluendo.com>
4006
4007         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4008         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
4009         Unref some more to make valgrind happy.
4010
4011 2007-03-22  Wim Taymans  <wim@fluendo.com>
4012
4013         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
4014         (gst_system_clock_id_wait_jitter),
4015         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
4016         Fix anoying regression that survived a few releases. When adding an
4017         async entry while blocking on a sync entry, the sync entry will unblock
4018         but still be busy, so it should continue to wait instead of returning
4019         _BUSY to the app.
4020         Add some comments here and there.
4021
4022         * tests/check/gst/gstsystemclock.c: (mixed_thread),
4023         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
4024         Add testcase for this.
4025
4026 2007-03-22  Wim Taymans  <wim@fluendo.com>
4027
4028         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
4029         Handle errors from the clock sync better, only UNSCHEDULED indicates a
4030         WRONG_STATE and can silently pause the task. All other cases should
4031         error out.
4032
4033 2007-03-22  Wim Taymans  <wim@fluendo.com>
4034
4035         Patch by: Ville Syrjala <syrjala at sci dot fi>
4036
4037         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
4038         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
4039         Improve debugging.
4040
4041 2007-03-21  Michael Smith  <msmith@fluendo.com>
4042
4043         * docs/pwg/advanced-types.xml:
4044           Fix some errors in the typefinding docs pointed out on irc.
4045
4046 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
4047
4048         * libs/gst/base/gstbasesrc.c:
4049         Clarify FIXME comment in the face of having added unlock_stop()
4050
4051 2007-03-21  Wim Taymans  <wim@fluendo.com>
4052
4053         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
4054         Prepare for release where we warn against possible app breakage in the
4055         case of live pipelines along with an env var to enable/disable live
4056         preroll mode (GST_COMPAT=[no-]live-preroll).
4057
4058 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4059
4060         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
4061         So we should use correct constants for checking for None offset.
4062
4063 2007-03-20  Wim Taymans  <wim@fluendo.com>
4064
4065         * docs/design/part-block.txt:
4066         Mention the fact that the newly switched element should be set to at
4067         least PAUSED.
4068
4069 2007-03-20  Wim Taymans  <wim@fluendo.com>
4070
4071         * gst/gst.c:
4072         Fix compilation with registry disabled as spotted by Saur.
4073
4074 2007-03-20  Wim Taymans  <wim@fluendo.com>
4075
4076         Patch by: Olivier Crete <tester at tester dot ca>
4077
4078         * gst/gstelement.c: (gst_element_sync_state_with_parent):
4079         Look at the pending state too when syncing the element state to the
4080         parent. Fixes #420133.
4081
4082 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
4083
4084         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
4085         (gst_base_sink_change_state):
4086         * libs/gst/base/gstbasesink.h:
4087         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4088         (gst_base_src_default_event), (gst_base_src_unlock_stop),
4089         (gst_base_src_deactivate):
4090         * libs/gst/base/gstbasesrc.h:
4091         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
4092         for sub-classes to correctly clear any state they set trying to
4093         unlock, such as clearing out unlock commands from a command fd.
4094         API: basesrc::unlock_stop
4095         API: basesink::unlock_stop
4096
4097         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
4098         (gst_fd_sink_render), (gst_fd_sink_unlock),
4099         (gst_fd_sink_unlock_stop):
4100         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
4101         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
4102         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
4103
4104         Implement unlock_stop in fdsrc and fdsink.
4105         Implement seeking in fdsrc when a seekable fd is passed, as in
4106         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
4107
4108 2007-03-19  Wim Taymans  <wim@fluendo.com>
4109
4110         Patch by: Evan Nemerson <evan at coeus dash group dot com>
4111
4112         * gst/gstelement.c: (gst_element_class_init):
4113         Fix pad-added and pad-removed signal signatures so that the pad type is
4114         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
4115
4116 2007-03-19  Wim Taymans  <wim@fluendo.com>
4117
4118         * docs/gst/gstreamer-sections.txt:
4119         Add new element field and method.
4120
4121         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4122         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
4123         (gst_bin_recalc_state), (gst_bin_get_state_func),
4124         (gst_bin_element_set_state), (gst_bin_change_state_func),
4125         (gst_bin_continue_func), (bin_bus_handler),
4126         (bin_push_state_continue), (bin_handle_async_start),
4127         (bin_handle_async_done), (gst_bin_handle_message_func):
4128         Make async state changes a bit smarter by using new ASYNC_START and
4129         ASYNC_DONE messages. This reduces the number of times we run the state
4130         recalculation thread.
4131         Don't change state of element with a pending ASYNC_START message.
4132         Deprecate STATE_DIRTY messages.
4133         
4134         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
4135         (gst_element_get_state_func), (gst_element_continue_state),
4136         (gst_element_lost_state), (gst_element_set_state_func),
4137         (gst_element_change_state):
4138         * gst/gstelement.h:
4139         Keep the state that was last set by the app in a new element field.
4140         Don't allow state changes when handling an element event.
4141         Post ASYNC_START and ASYNC_DONE messages.
4142         Change lost_state so that we go to PAUSED and wait for the parent to set
4143         us to PLAYING again (so latency calculation can be performed)
4144         Export gst_element_change_state() method so that subclasses can use it.
4145         API: gst_element_change_state()
4146         API: GST_STATE_TARGET
4147
4148         * gst/gstpipeline.c: (gst_pipeline_class_init),
4149         (reset_stream_time), (gst_pipeline_change_state),
4150         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
4151         Using the new ASYNC_START message we can reset the base_time when
4152         needed. This can then be used to implement base_time redistribution in
4153         flushing seeks so that we can remove the explicit seek handling.
4154         Perform latency query and configuration when going to PLAYING.
4155
4156         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4157         (gst_base_sink_query), (gst_base_sink_change_state):
4158         Post new ASYNC_START/ASYNC_DONE messages.
4159
4160         * tests/check/generic/sinks.c: (GST_START_TEST):
4161         Fix test because the bin will not set the async element to PLAYING right
4162         away.
4163
4164         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
4165         Make the message check a little stronger.
4166         Handle ASYNC messages.
4167
4168         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
4169         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
4170         Expect ASYNC_DONE messages.
4171
4172 2007-03-19  Wim Taymans  <wim@fluendo.com>
4173
4174         * docs/gst/gstreamer-sections.txt:
4175         * gst/gstmessage.c: (gst_message_new_async_start),
4176         (gst_message_new_async_done), (gst_message_parse_info),
4177         (gst_message_parse_async_start):
4178         * gst/gstmessage.h:
4179         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
4180         support.
4181
4182 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
4183
4184         * tools/gst-inspect.c:
4185         (print_plugin_automatic_install_info_codecs):
4186           Now that we don't check for the 'Codec' keyword any longer in the
4187           klass, we shouldn't spew a warning if the klass isn't a decoder or
4188           encoder (since it might be a Source/Network, for example).
4189
4190 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4191
4192         * tools/gst-inspect.c:
4193         (print_plugin_automatic_install_info_codecs):
4194           Don't require decoder/demuxer/depayloader elements or
4195           encoder/muxer/paylader elements to have 'Codec' as part of their
4196           factory class string when introspecting a plugin's capabilities.
4197           draft-klass.txt mentions that it might be removed in future, and
4198           flump3dec doesn't have it as part of its class string, so chances
4199           are others might also not have it.
4200
4201 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
4202
4203         * po/af.po:
4204         * po/az.po:
4205         * po/bg.po:
4206         * po/ca.po:
4207         * po/cs.po:
4208         * po/de.po:
4209         * po/en_GB.po:
4210         * po/fr.po:
4211         * po/it.po:
4212         * po/nb.po:
4213         * po/nl.po:
4214         * po/ru.po:
4215         * po/sq.po:
4216         * po/sr.po:
4217         * po/sv.po:
4218         * po/tr.po:
4219         * po/uk.po:
4220         * po/vi.po:
4221         * po/zh_CN.po:
4222         * po/zh_TW.po:
4223           Update translations from translation project
4224
4225 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
4226
4227         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
4228         (gst_child_proxy_set_property):
4229           Invert precondition check to be alike the ones in the mimiced gobject
4230           api.
4231
4232 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
4233
4234         * docs/design/draft-tagreading.txt:
4235         * docs/random/ensonic/audiobaseclasses.txt:
4236           Do some Architect work.
4237
4238         * gst/gstobject.c: (gst_object_set_name):
4239           Add a WARNING.
4240
4241         * gst/gstpad.c:
4242           Add docs that point from gst_pad_get_range to gst_pad_pull_range
4243
4244 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
4245
4246         * gst/gstsystemclock.c: (gst_system_clock_init),
4247         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
4248         Defer starting the async system clock thread until the first async
4249         wait is scheduled. Fixes #414986.
4250
4251 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
4252
4253         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
4254         (gst_single_queue_free):
4255           Fix small leak (free GstSingleQueue structure too, not only contents).
4256
4257 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
4258
4259         * gst/gstbin.c:(gst_bin_add):
4260         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
4261         * win32/common/libgstbase.def:
4262         * win32/common/libgstreamer.def:
4263         Add new exported functions.
4264
4265 2007-03-09  Wim Taymans  <wim@fluendo.com>
4266
4267         * docs/plugins/gstreamer-plugins-sections.txt:
4268         Fix GstTee docs.
4269
4270 2007-03-09  Wim Taymans  <wim@fluendo.com>
4271
4272         * docs/gst/gstreamer-sections.txt:
4273         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
4274         * gst/gstbuffer.h:
4275         Add metadata copy functions. Fixes #393099.
4276         API: gst_buffer_copy_metadata()
4277
4278         * gst/gstutils.c: (gst_buffer_stamp):
4279         * libs/gst/base/gstbasetransform.c:
4280         (gst_base_transform_prepare_output_buffer):
4281         Use new metadata copy functions.
4282
4283 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4284
4285         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4286         (gst_identity_init), (gst_identity_check_perfect),
4287         (gst_identity_check_imperfect_timestamp),
4288         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
4289         (gst_identity_set_property), (gst_identity_get_property):
4290         * plugins/elements/gstidentity.h:
4291         Separate out check-imperfect-timestamp and check-imperfect-offset.
4292         Put back check-perfect as it was to keep compatibility.
4293
4294 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
4295
4296         * gst/gstelement.c: (gst_element_dispose):
4297         There's no need to warn if VOID_PENDING is not NONE here, as
4298         long as the state is NULL it's ok, and that's checked immediately
4299         above.
4300
4301 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4302
4303         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4304         Fix check for perfect stream to ignore buffers with -1 
4305         offsets/offset ends when checking data contiguity.
4306
4307 2007-03-08  Wim Taymans  <wim@fluendo.com>
4308
4309         * tools/gst-launch.c: (event_loop):
4310         Print INFO messages.
4311
4312 2007-03-08  Wim Taymans  <wim@fluendo.com>
4313
4314         * libs/gst/base/gstbasetransform.c:
4315         (gst_base_transform_sink_eventfunc),
4316         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4317         (gst_base_transform_activate):
4318         * libs/gst/base/gstbasetransform.h:
4319         Add support for dropping buffers with custom GstFlowReturn.
4320         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
4321         buffers or dropped buffers.
4322
4323         * docs/libs/gstreamer-libs-sections.txt:
4324         docs for new custom return code.
4325
4326         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4327         Use drop support in base class to implement drop-probability.
4328
4329 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4330
4331         * gst/gst.c: (load_plugin_func):
4332         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
4333         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4334         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
4335           Remove newlines at end of debug log strings.
4336
4337 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4338
4339         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4340         Only post bus message at max, once per buffer received.
4341
4342 2007-03-07  Wim Taymans  <wim@fluendo.com>
4343
4344         * docs/design/Makefile.am:
4345         * docs/design/part-synchronisation.txt:
4346         Add doc about synchronisation
4347
4348         * docs/design/draft-latency.txt:
4349         * docs/design/part-TODO.txt:
4350         * docs/design/part-clocks.txt:
4351         * docs/design/part-events.txt:
4352         * docs/design/part-gstbus.txt:
4353         * docs/design/part-gstpipeline.txt:
4354         * docs/design/part-live-source.txt:
4355         * docs/design/part-messages.txt:
4356         * docs/design/part-overview.txt:
4357         * docs/design/part-streams.txt:
4358         * docs/design/part-trickmodes.txt:
4359         Documentation updates.
4360
4361 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
4362
4363         * gstreamer.doap:
4364         Update the doap file.
4365
4366 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4367
4368         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4369         Rename non-perfect to imperfect for Mike and for the sanctity of the
4370         language.
4371         Also make sure bus message gets emitted for data-incontiguities.
4372
4373 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4374
4375         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
4376         (gst_identity_start):
4377         * plugins/elements/gstidentity.h:
4378         Emit bus message if check-perfect is true and we encounter a
4379         non-perfect stream between 2 consecutive buffers.
4380         Fixes #415394.
4381
4382 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
4383
4384         * configure.ac:
4385         Back to CVS
4386
4387 === release 0.10.12 ===
4388
4389 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
4390
4391         * configure.ac:
4392           releasing 0.10.12, "Inevitable Demise"
4393
4394 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
4395
4396         * configure.ac:
4397          Version 0.10.11.2 (0.10.12 pre-release)
4398          Bump libtool versioning.
4399
4400 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
4401
4402         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4403           Log flow-names and not numbers.
4404
4405 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4406
4407         * configure.ac:
4408           Convert to new AG_GST style.
4409
4410 2007-02-28  Wim Taymans  <wim@fluendo.com>
4411
4412         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
4413         Don't unref query twice.
4414
4415 2007-02-28  Wim Taymans  <wim@fluendo.com>
4416
4417         * gst/gstvalue.c: (gst_value_transform_object_string),
4418         (_gst_value_initialize):
4419         Implement GstObject -> string transform so we print object names
4420         when serializing GValues containing GstObjects.
4421
4422 2007-02-28  Wim Taymans  <wim@fluendo.com>
4423
4424         * docs/gst/gstreamer-sections.txt:
4425         Add new stuff to docs.
4426
4427 2007-02-28  Wim Taymans  <wim@fluendo.com>
4428
4429         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4430         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
4431         (gst_base_sink_change_state):
4432         Improve latency query code.
4433         Don't leak latency events.
4434
4435         * tests/check/gst/gstbin.c: (GST_START_TEST):
4436         Improve debugging.
4437
4438 2007-02-28  Wim Taymans  <wim@fluendo.com>
4439
4440         * gst/gstelement.c: (gst_element_message_full),
4441         (gst_element_get_state_func):
4442         * gst/gstelement.h:
4443         Improve docs a little. Added Since: for new macro.
4444
4445         * gst/gstobject.c: (gst_object_sink):
4446         * gst/gstpipeline.c: (gst_pipeline_change_state),
4447         (gst_pipeline_set_new_stream_time):
4448         * gst/gstpipeline.h:
4449         Improve debugging and docs.
4450
4451         * gst/gstutils.c: (gst_element_state_change_return_get_name):
4452         Improve debugging.
4453
4454 2007-02-28  Wim Taymans  <wim@fluendo.com>
4455
4456         * gst/gstelement.c: (gst_element_message_full),
4457         (gst_element_set_locked_state), (gst_element_get_state_func),
4458         (gst_element_change_state):
4459         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
4460         Documentation updates.
4461         Small code cleanups.
4462
4463         * gst/gstmessage.c: (gst_message_new_info),
4464         (gst_message_parse_info):
4465         * gst/gstmessage.h:
4466         API: gst_message_new_info()
4467         API: gst_message_parse_info()
4468         Add INFO message create and parse code.
4469
4470 2007-02-28  Wim Taymans  <wim@fluendo.com>
4471
4472         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
4473         (bin_query_latency_done):
4474         Also report the live parameter of a latency query.
4475
4476 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4477
4478         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
4479           Copy the current generic/states example from -base and adapt so
4480           we can use the exact same code everywhere.
4481           Check a STATES_IGNORE_ELEMENTS env var which can be used
4482           to ignore certain element factories for this test, which is
4483           what is being done in -base
4484         * tests/check/Makefile.am:
4485           Mention this environment variable.
4486
4487 2007-02-27  Wim Taymans  <wim@fluendo.com>
4488
4489         * docs/gst/gstreamer-sections.txt:
4490         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
4491         (gst_bus_timed_pop), (gst_bus_pop):
4492         * gst/gstbus.h:
4493         API: gst_bus_timed_pop()
4494         Implement gst_bus_timed_pop() to do a blocking timed wait for a
4495         message to arrive on the bus.
4496
4497         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
4498         (gst_bus_suite):
4499         Two unit tests for new _timed_pop() function.
4500
4501 2007-02-23  Wim Taymans  <wim@fluendo.com>
4502
4503         * gst/gstpipeline.c: (gst_pipeline_change_state),
4504         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
4505         Don't ref a NULL clock in _provide_clock_func().
4506         Don't allow an INVALID delay.
4507         Don't try to calculate base_time with an invalid start_time.
4508         Also distribute and notify a NULL clock when it was selected.
4509
4510         * tools/gst-launch.c: (event_loop):
4511         Don't crash when a NULL clock was selected in the pipeline.
4512
4513 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4514
4515         * docs/design/Makefile.am:
4516         * docs/design/draft-missing-plugins.txt:
4517         * docs/random/draft-missing-plugins.txt:
4518           Some small updates: update plugin system identifier prefix
4519           ('gstreamer.net' to 'gstreamer'), mention our new install
4520           API in libgstbaseutils rather than libgimme-codec, add
4521           reference to the online docs.
4522
4523 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4524
4525         * win32/common/config.h:
4526           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
4527           use moap cl ci to only check in what is mentioned in the ChangeLog.
4528
4529 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4530
4531         * docs/gst/gstreamer-sections.txt:
4532         * gst/gstelement.h:
4533           Fix up documentation to link to the correct GstGError section.
4534           Add GST_ELEMENT_INFO macro since someone else added a Info message.
4535
4536 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4537
4538         * tools/gst-launch.c: (event_loop):
4539           Make sure that we actually show the important message part of a
4540           warning message.
4541           No need to check if the gerror is not NULL to free; first of all
4542           g_free accepts NULL; and second the default error handler would
4543           segfault if gerror was NULL.
4544
4545 2007-02-21  Wim Taymans  <wim@fluendo.com>
4546
4547         * docs/gst/gstreamer-sections.txt:
4548         Removed docs as well.
4549
4550 2007-02-21  Wim Taymans  <wim@fluendo.com>
4551
4552         * gst/gstmessage.c: (gst_message_parse_duration):
4553         * gst/gstmessage.h:
4554         Remove new messages for release.
4555
4556 2007-02-20  Wim Taymans  <wim@fluendo.com>
4557
4558         * docs/design/part-gstghostpad.txt:
4559         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
4560         (gst_ghost_pad_new_full):
4561         Make the ghostpad a parent of the internal pad again for better backward
4562         compatibility. Don't write code that relies on this however.
4563
4564         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4565         (gst_pad_link_check_hierarchy):
4566         Require that parents should be GstElements in the hierarchy check.
4567
4568 2007-02-20  Wim Taymans  <wim@fluendo.com>
4569
4570         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
4571         (gst_bin_change_state_func), (bin_query_min_max_init),
4572         (bin_query_latency_fold), (bin_query_latency_done),
4573         (gst_bin_query):
4574         Improve debug info.
4575         Implement latency query.
4576
4577 2007-02-20  Wim Taymans  <wim@fluendo.com>
4578
4579         * docs/design/part-gstghostpad.txt:
4580         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
4581         (gst_ghost_pad_internal_do_activate_push),
4582         (gst_ghost_pad_internal_do_activate_pull),
4583         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4584         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
4585         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
4586         Do not set the internal pad as a parent anymore so we can avoid
4587         hierarchy linking errors when the ghostpad has no parent yet. This also
4588         fixes failed activation because of unlinked internal pads, which in
4589         turn fixes the impossible case where you have to activate a pad before
4590         you can add it to a running element.
4591         Also fix the docs.
4592
4593         * gst/gstpad.c: (pre_activate), (post_activate),
4594         (gst_pad_set_active), (gst_pad_activate_pull),
4595         (gst_pad_activate_push), (gst_pad_check_pull_range):
4596         Add some more debug info.
4597         Mark activation mode in pre_activate so that we don't try to activate in
4598         endless loops. Fixes #385084.
4599
4600 2007-02-19  Wim Taymans  <wim@fluendo.com>
4601
4602         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
4603         (gst_base_transform_check_get_range):
4604         Implement a checkgetrange function instead of relying on the default
4605         core behaviour that assumes we can operate in pull mode if we have a
4606         getrange function. First step at fixing #385084.
4607
4608 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
4609
4610         * gst/gstchildproxy.h:
4611         * libs/gst/base/gstbasesink.h:
4612         * libs/gst/base/gstbasesrc.h:
4613         * libs/gst/base/gstbasetransform.h:
4614         More docs coverage and some ChangeLog surgery (add missing names)
4615
4616 2007-02-15  Wim Taymans  <wim@fluendo.com>
4617
4618         * docs/design/part-TODO.txt:
4619         * docs/design/part-activation.txt:
4620         * docs/design/part-block.txt:
4621         * docs/design/part-buffering.txt:
4622         * docs/design/part-clocks.txt:
4623         * docs/design/part-element-source.txt:
4624         * docs/design/part-events.txt:
4625         * docs/design/part-gstbin.txt:
4626         * docs/design/part-gstbus.txt:
4627         * docs/design/part-gstpipeline.txt:
4628         * docs/design/part-live-source.txt:
4629         * docs/design/part-messages.txt:
4630         * docs/design/part-overview.txt:
4631         * docs/design/part-qos.txt:
4632         * docs/design/part-query.txt:
4633         * docs/design/part-states.txt:
4634         * docs/design/part-trickmodes.txt:
4635         Some doc updates. Start renaming from stream_time to running_time where
4636         it was used wrongly.
4637
4638 2007-02-15  Wim Taymans  <wim@fluendo.com>
4639
4640         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4641         Answer LATENCY query.
4642
4643 2007-02-15  Wim Taymans  <wim@fluendo.com>
4644
4645         * tests/check/gst/gstevent.c: (event_probe), (test_event),
4646         (GST_START_TEST):
4647         Improve debugging.
4648
4649 2007-02-15  Wim Taymans  <wim@fluendo.com>
4650
4651         * gst/gstpad.c: (gst_pad_get_internal_links_default),
4652         (gst_pad_dispatcher):
4653         Improve debugging of default pad dispatcher and query functions.
4654
4655 2007-02-15  Wim Taymans  <wim@fluendo.com>
4656
4657         * docs/gst/gstreamer-sections.txt:
4658         Remove old unused method.
4659
4660 2007-02-13  Wim Taymans  <wim@fluendo.com>
4661
4662         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4663         Fix check
4664
4665 2007-02-13  Wim Taymans  <wim@fluendo.com>
4666
4667         * docs/design/part-seeking.txt:
4668         Some small update.
4669
4670         * gst/gstsegment.c: (gst_segment_set_seek):
4671         Revert old bogus change that should make seeking work again.
4672
4673 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4674
4675         * docs/random/ensonic/dynlink.txt:
4676         * docs/random/ensonic/interfaces.txt:
4677         * docs/random/ensonic/receipies.txt:
4678           Possible dynamic reconnection api, plus some type fixes the other two
4679           docs.
4680
4681 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
4682
4683         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4684         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4685         Also check for an absolute path following file:// in the filesrc
4686         element. Remove redundant check and call g_path_is_absolute() on the
4687         unescaped location.
4688
4689 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4690
4691         * docs/design/draft-klass.txt:
4692           Add existing category analysis.
4693           
4694         * gst/gstcaps.c:
4695           Fix doc example, framerate is a fraction.
4696
4697 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4698
4699         * configure.ac:
4700         * docs/gst/Makefile.am:
4701         * docs/gst/gstreamer-sections.txt:
4702         * docs/libs/Makefile.am:
4703           Erm, forgot a bunch of --extra-dir.
4704
4705 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4706
4707         * configure.ac:
4708         * docs/gst/Makefile.am:
4709         * docs/libs/Makefile.am:
4710         * docs/plugins/Makefile.am:
4711           Add crossreferences to glib/gobject docs.
4712
4713 2007-02-12  Wim Taymans  <wim@fluendo.com>
4714
4715         * docs/design/draft-latency.txt:
4716         Small update.
4717
4718         * docs/libs/gstreamer-libs-sections.txt:
4719         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4720         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
4721         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
4722         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
4723         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
4724         (gst_base_sink_get_position), (gst_base_sink_query),
4725         (gst_base_sink_change_state):
4726         * libs/gst/base/gstbasesink.h:
4727         API: gst_base_sink_query_latency() to let subclasses query the upstream
4728         latency.
4729         API: gst_base_sink_get_latency() to let subclasses query the configured
4730         latency in the sink.
4731         Implement query and set latency.
4732         Update some docs.
4733         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
4734         don't continue preroll when we are flushing. Fixes #405284.
4735
4736         * tests/check/pipelines/stress.c: (change_state_timeout),
4737         (quit_timeout), (GST_START_TEST), (stress_suite):
4738         Test for #405284.
4739
4740 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
4741
4742         Patch by: René Stadler <mail at renestadler de>
4743
4744         * docs/gst/gstreamer-sections.txt:
4745         * gst/gsttaglist.c: (_gst_tag_initialize):
4746         * gst/gsttaglist.h:
4747           API: add GST_TAG_REFERENCE_LEVEL (#403597).
4748
4749 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
4750
4751         * docs/libs/Makefile.am:
4752           Fix path to core docs.
4753
4754         * gst/gstbin.c: (gst_bin_get_by_interface),
4755         (gst_bin_iterate_all_by_interface):
4756           Refix docs by also renaming 'interface' to 'iface' in implementation.
4757
4758         * docs/gst/gstreamer-sections.txt:
4759         * gst/gstcaps.c:
4760         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
4761         * gst/gstchildproxy.h:
4762         * gst/gstelementfactory.c:
4763         * gst/gstpadtemplate.h:
4764         * libs/gst/controller/gstcontroller.c:
4765         (gst_controlled_property_new):
4766           Document more.
4767
4768 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
4769
4770         * gst/gstbin.h:(gst_bin_get_by_interface),
4771         (gst_bin_iterate_all_by_interface):
4772         Replace interface parameter name by iface as interface is 
4773         a reserved keyword in Visual Studio for C++ projects so it removes
4774         a build error for application developpers using VS.
4775         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
4776         Fix a bug on Windows in uri format check. Now the prefix checked
4777         is file:// and next we check if the path after file:// is absolute.
4778         * win32/common/libgstbase.def:
4779         * win32/common/libgstdataprotocol.def:
4780         * win32/common/libgstgstreamer.def:
4781         Add new exported functions.
4782
4783 2007-02-09  Andy Wingo  <wingo@pobox.com>
4784
4785         * tests/check/pipelines/simple-launch-lines.c
4786         (simple_launch_lines_suite, test_tee): Disable tee test until I
4787         have time to fix it :-(
4788
4789         * tests/check/Makefile.am (noinst_HEADERS): 
4790         * tests/check/libs/libsabi.c: 
4791         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
4792         * tests/check/gst/gstabi.c: 
4793         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
4794
4795         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
4796         tests for push and pull tee behavior.
4797
4798         * plugins/elements/gsttee.h: 
4799         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
4800         mark as deprecated as well as unimplemented. It was a crack idea.
4801         Add support for tee operating in pull mode, off by default.
4802
4803         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
4804         normal-case logs down to LOG, raise errors to WARNING.
4805         (gst_registry_xml_read_cache): Don't log before calling a function
4806         that logs.
4807
4808         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
4809         exit (registry finalize).
4810         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
4811         DEBUG log when we emit signals that people don't even have the
4812         chance to connect to.
4813         (gst_registry_scan_path_level): Less logging in the normal case.
4814
4815 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4816
4817         Patch by: Michal Benes <michal dot benes at itonis dot tv>
4818
4819         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4820         Correctly generate EOS for non-seekable files. We don't have a total
4821         length for them and would get an unexpected end of file if we only
4822         special-cased for regular files. (Fixes: #404569)
4823
4824 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4825
4826         * tests/check/elements/filesrc.c: (GST_START_TEST),
4827         (filesrc_suite):
4828         Add unit test for the GstURIHandler interface in filesrc. This also
4829         tests the newly added file://localhost/foo/bar support.
4830
4831 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
4832
4833         * gst/gstelementfactory.h:
4834           The klass string is not a hierarchy. Add reference to the design doc
4835           for more information and common types.
4836
4837 2007-02-02  Wim Taymans  <wim@fluendo.com>
4838
4839         * gst/gstquery.c: (gst_query_new_latency):
4840         Remove old structure field.
4841
4842 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
4843
4844         * tools/gst-launch.1.in:
4845           Give example for network streaming (#351998)
4846
4847 2007-02-02  Wim Taymans  <wim@fluendo.com>
4848
4849         * docs/gst/gstreamer-sections.txt:
4850         Add docs for new methods.
4851
4852         * gst/gstevent.c: (gst_event_new_latency),
4853         (gst_event_parse_latency):
4854         * gst/gstevent.h:
4855         Add new LATENCY event to configure latency in a pipeline.
4856         API: gst_event_new_latency
4857         API: gst_event_parse_latency
4858
4859         * gst/gstmessage.c: (gst_message_new_buffering),
4860         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
4861         (gst_message_new_latency), (gst_message_parse_buffering),
4862         (gst_message_parse_lost_preroll):
4863         * gst/gstmessage.h:
4864         Added messages used in draft-latency.
4865         API: gst_message_new_lost_preroll
4866         API: gst_message_parse_lost_preroll
4867         API: gst_message_new_prerolled
4868         API: gst_message_new_latency
4869
4870         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
4871         (gst_query_parse_latency):
4872         * gst/gstquery.h:
4873         Implemented new latency query as in design doc.
4874         API: gst_query_new_latency
4875         API: gst_query_set_latency
4876         API: gst_query_parse_latency
4877
4878 2007-02-02  Wim Taymans  <wim@fluendo.com>
4879
4880         * docs/design/draft-latency.txt:
4881         Slight redesign to allow for dynamic latency adjustments.
4882
4883         * docs/design/part-negotiation.txt:
4884         Fix some typos.
4885
4886 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4887
4888         reviewed by: Wim Taymans <wim@fluendo.com>
4889
4890         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4891         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4892         Allow file://localhost/foo/bar URLs and correctly fail for every other
4893         hostname that one sets. This was gnomevfssrc is linked for those if
4894         installed as it can handle it (#403172)
4895
4896 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
4897
4898         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4899
4900         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4901         (unref_data), (gst_collect_pads_add_pad_full):
4902         * libs/gst/base/gstcollectpads.h:
4903         Don't put the previously added destroy notify in the GstCollectData
4904         struct as all it's padding is already used and we don't want to break
4905         ABI. Instead put in the pad's GObject data for now. This should be
4906         cleaned up for 0.11 (#402393).
4907
4908 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
4909
4910         reviewed by: Wim Taymans <wim@fluendo.com>
4911
4912         * docs/libs/gstreamer-libs-sections.txt:
4913         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4914         (unref_data), (gst_collect_pads_add_pad),
4915         (gst_collect_pads_add_pad_full):
4916         * libs/gst/base/gstcollectpads.h:
4917         API: Add function to specify a destroy notification for custom
4918         GstCollectData when adding new pads in GstCollectPads (#402393).
4919
4920 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
4921
4922         * po/sv.po:
4923           Update Swedish translation (#378255).
4924
4925 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
4926
4927         * docs/design/draft-klass.txt:
4928           Fix the previous change, this is a list of categories and not a hierarchy.
4929
4930 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
4931
4932         * docs/design/draft-klass.txt:
4933           Add info about how to get a list of used classes.
4934
4935 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
4936
4937         * plugins/elements/gsttypefindelement.c:
4938         (gst_type_find_element_chain_do_typefinding),
4939         (gst_type_find_element_change_state):
4940           Don't leak found caps in chain function (no idea why that never
4941           showed up as a leak anywhere).
4942
4943 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
4944
4945         * gst/gstplugin.h:
4946           Fix and expand GstPluginDesc API docs.
4947
4948 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
4949
4950         * gst/gstcaps.c:
4951         * gst/gstelementfactory.c:
4952         * gst/gstpadtemplate.h:
4953           api doc fixes
4954
4955         * libs/gst/controller/gstcontroller.c:
4956         (gst_controlled_property_new):
4957         * tests/examples/controller/audio-example.c:
4958           comment fixes
4959
4960 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
4961
4962         * configure.ac:
4963           comment about refining the xml deps
4964
4965         * docs/manuals.mak:
4966           comments about moving away from jade for docs
4967         
4968         * gst/gst.c:
4969           recommit the ifdefs to use the binary registry
4970         
4971         * gst/gstbin.c: (gst_bin_change_state_func):
4972           this break is obsolete
4973
4974         * gst/gstelementfactory.h:
4975           better GST_ELEMENT_DETAILS docs, add comment about translation
4976
4977         * gst/gstinfo.h:
4978           remove eol slash
4979
4980         * gst/gstobject.c: (gst_signal_object_get_type):
4981           add G_UNLIKELY as usual
4982
4983         * gst/gstpad.c: (gst_pad_event_default):
4984           add fall trhu comment
4985
4986         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4987         (gst_registry_binary_initialize_magic),
4988         (gst_registry_binary_save_string),
4989         (gst_registry_binary_save_pad_template),
4990         (gst_registry_binary_save_feature),
4991         (gst_registry_binary_save_plugin),
4992         (gst_registry_binary_write_cache),
4993         (gst_registry_binary_check_magic),
4994         (gst_registry_binary_load_pad_template),
4995         (gst_registry_binary_load_feature),
4996         (gst_registry_binary_load_plugin),
4997         (gst_registry_binary_read_cache):
4998           comment typo and formatting
4999
5000         * gst/gstutils.c: (gst_element_state_get_name),
5001         (gst_element_state_change_return_get_name):
5002           remove obsolete breaks
5003
5004         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
5005           add FIXME 0.11 and remove cpp comment
5006
5007 2007-01-29  Edward Hervey  <edward@fluendo.com>
5008
5009         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5010         Fix print statement in an even more portable way.
5011
5012 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
5013
5014         * docs/gst/gstreamer-sections.txt:
5015         * gst/gstutils.h:
5016           API: add GST_ROUND_DOWN_* macros (#401781).
5017
5018 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
5019
5020         * docs/gst/gstreamer.types.in:
5021         * gst/gstregistry.c: (gst_registry_class_init):
5022           Document registry signals and make gtk-doc pick them up (#401381).
5023
5024 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
5025
5026         * docs/pwg/building-testapp.xml:
5027           Add some audioconverts and audioresample to the pipeline, and some
5028           more comments and error handling.
5029
5030 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
5031
5032         * docs/manual/manual.xml:
5033         * docs/pwg/pwg.xml:
5034           Fix typo (#400987).
5035
5036 2007-01-26  Wim Taymans  <wim@fluendo.com>
5037
5038         * gst/gstcaps.c: (gst_static_caps_get):
5039         Init caps flags too.
5040
5041 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
5042
5043         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
5044
5045         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5046         If not using mmap'ed files try to seek to the end instead of the
5047         start to determine whether we can seek at all. This fixes the case
5048         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
5049         seeks for everything afterwards fail. Fixes #400656
5050
5051 2007-01-25  Wim Taymans  <wim@fluendo.com>
5052
5053         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
5054         Add some refcount debugging.
5055         Make gst_static_caps_get threadsafe, which is needed when autoplugging
5056         in multiple streaming threads.
5057
5058 2007-01-25  Wim Taymans  <wim@fluendo.com>
5059
5060         Patch by: David Schleef <ds at schleef dot org>
5061
5062         * docs/libs/gstreamer-libs-sections.txt:
5063         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
5064         * libs/gst/base/gstadapter.h:
5065         API: gst_adapter_copy() that can reduce the amount of memcpy when
5066         getting data from the adapter. Fixes #388201.
5067
5068 2007-01-25  Edward Hervey  <edward@fluendo.com>
5069
5070         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5071         In print statements, "%x" is for guint. Fixes build on macosx.
5072
5073 2007-01-24  Edward Hervey  <edward@fluendo.com>
5074
5075         * plugins/elements/gstmultiqueue.c:
5076         (gst_multi_queue_loop):
5077         Small fix.
5078         (single_queue_overrun_cb), (single_queue_underrun_cb),
5079         (single_queue_check_full), (gst_single_queue_new):
5080         Implement single queue growth system.
5081         This uses the extra-size properties, and will grow single queues by
5082         that much if one goes full whereas there are others empty. This is
5083         called extra-mode in the code.
5084         When a single queue's levels go back below the initial max-size
5085         limits, it is no longer in extra-mode. This is to ensure we don't
5086         consume too much memory.
5087         Fixes #399875
5088
5089 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
5090
5091         * gst/gst.c: (gst_init_get_option_group):
5092           Make warning about late g_thread_init() calls a bit more explicit,
5093           so that it's more obvious to application developers what they need
5094           to do if a user files a bug against their application.
5095
5096 2007-01-22  Edward Hervey  <edward@fluendo.com>
5097
5098         * plugins/elements/gstmultiqueue.c:
5099         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
5100         Remove previous hack of unsetting the flushing flag for the source pad
5101         instead of activating it. Instead, fix the source pad activate function
5102         so that it no longer depends on having a parent set or not.
5103
5104 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
5105
5106         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
5107
5108         * docs/manual/basics-bus.xml:
5109           Fix example code, gst_element_unref() doesn't exist any longer.
5110
5111 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
5112
5113         Patch by: Mark Nauwelaerts <manauw at skynet be>
5114
5115         * gst/gstpad.c:
5116           Fix two docs typoes (#399094).
5117
5118 2007-01-19  Edward Hervey  <edward@fluendo.com>
5119
5120         * docs/faq/gst-uninstalled:
5121         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
5122         depending on libgstbaseutils can work in uninstalled environment.
5123
5124 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
5125
5126         * gst/gsttaglist.h:
5127         * gst/gsttagsetter.c:
5128         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
5129         statement for new tag.
5130
5131 2007-01-17  Edward Hervey  <edward@fluendo.com>
5132
5133         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
5134         When dynamically creating single queues, activate sinkpad before adding
5135         it.
5136         We should be doing the same thing for the source pad, but we can't
5137         since it would call a method which needs the parent to be set in order
5138         to work propertly. Instead of activating the source pad, we just unset
5139         the flushing flag, which is the minimal requirement for adding a pad
5140         to an element in a state greater than READY.
5141
5142 2007-01-17  Edward Hervey  <edward@fluendo.com>
5143
5144         * docs/faq/gst-uninstalled:
5145         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
5146         Mac OS X.
5147
5148 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5149
5150         * tests/check/gst/gstabi.c:
5151         * tests/check/gst/struct_hppa.h:
5152         * tests/check/libs/libsabi.c:
5153         * tests/check/libs/struct_hppa.h:
5154           Add ABI structs for HPPA (see #393796).
5155
5156 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
5157
5158         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5159           Actually write ABI structs to the file specified in the GST_ABI
5160           environment variable, as the message we print claims we would.
5161
5162 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5163
5164         * tests/check/gst/gsttask.c:
5165           Fix header comment.
5166
5167 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5168
5169         * gst/gsttaglist.c: (_gst_tag_initialize):
5170           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
5171           previous two entries.
5172
5173 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5174
5175         * docs/gst/gstreamer-sections.txt:
5176         * gst/gsttaglist.c: (_gst_tag_initialize):
5177         * gst/gsttaglist.h:
5178           Add tag support for beat-per-minute.
5179
5180 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5181
5182         * gst/gstregistrybinary.c: (gst_registry_binary_write),
5183         (gst_registry_binary_initialize_magic),
5184         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
5185         (gst_registry_binary_save_pad_template),
5186         (gst_registry_binary_save_feature),
5187         (gst_registry_binary_save_plugin),
5188         (gst_registry_binary_write_cache),
5189         (gst_registry_binary_check_magic),
5190         (gst_registry_binary_load_pad_template),
5191         (gst_registry_binary_load_feature),
5192         (gst_registry_binary_load_plugin),
5193         (gst_registry_binary_read_cache):
5194         * gst/gstregistrybinary.h:
5195           Use glib types, cleanup comments, impement interfaces and uri-types.
5196
5197 2007-01-13  Andy Wingo  <wingo@pobox.com>
5198
5199         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
5200         getrange() to return buffers with other caps, while we fix
5201         demuxers and typefind, or otherwise change part-negotiation.txt.
5202
5203 2007-01-12  Andy Wingo  <wingo@pobox.com>
5204
5205         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
5206         Factor start/stop into this private function instead of partially
5207         in activate functions and partially in the change_state function.
5208         Fixes setup before the element has changed from READY->PAUSED, as
5209         is the case in pull-mode pipelines.
5210         (gst_base_transform_sink_activate_push)
5211         (gst_base_transform_src_activate_pull): Refactor to use
5212         gst_base_transform_activate().
5213         (gst_base_transform_change_state): Removed, not needed any more.
5214
5215         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5216         Truncate before fixating.
5217         
5218         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5219         Don't set_caps() if the result of fixating is ANY, as it's not
5220         supported, and not necessary in the case of a link with no
5221         template caps on either side. Fixes tests/check/libs/basesrc in
5222         some pull-mode tests.
5223
5224         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
5225         (gst_base_transform_init, gst_base_transform_sink_activate_push)
5226         (gst_base_transform_src_activate_pull): 
5227         Track the activation mode.
5228         (gst_base_transform_setcaps): In pull mode, when activating the
5229         src pad, after activating the sink pad, activate the sink pad's
5230         peer, as discussed in part-negotiation.txt.
5231
5232         * libs/gst/base/gstbasesrc.h: 
5233         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
5234         vmethod, as in basesink.
5235
5236         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
5237
5238         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
5239         mode, first proxy the setcaps to the peer pad.
5240         (gst_base_sink_pad_fixate): Add a fixate function that calls the
5241         new fixate vmethod.
5242         (gst_base_sink_default_activate_pull): Rename from
5243         gst_base_sink_activate_pull.
5244         (gst_base_sink_negotiate_pull): New function, performs negotiation
5245         in pull mode before calling ::activate_pull().
5246         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
5247         vmethod instead of the default implementation. I have no idea how
5248         this worked before. Negotiate before calling activate_pull.
5249
5250         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
5251         sink pads in pull mode. In addition to being correct, fixes
5252         filesrc ! decodebin ! identity ! fakesink.
5253         (gst_pad_get_range, gst_pad_pull_range): Don't call
5254         gst_pad_set_caps() if the caps changes; instead error out with
5255         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
5256
5257 2007-01-12  Andy Wingo  <wingo@pobox.com>
5258
5259         * docs/design/part-negotiation.txt: Update with more policy.
5260
5261 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5262
5263         * libs/gst/check/gstbufferstraw.h:
5264         * libs/gst/check/gstcheck.h:
5265           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
5266           belongs.
5267
5268 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5269
5270         * tests/check/Makefile.am:
5271         * tests/check/gst/.cvsignore:
5272         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
5273         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
5274         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
5275         (GST_START_TEST), (gst_tag_setter_suite):
5276           Add minimal unit test for beforementioned GstTagSetter bug.
5277
5278 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5279
5280         Patch by: René Stadler <mail at renestadler dot de>
5281
5282         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
5283           gst_tag_list_merge() returns a new list, so it's not the best idea
5284           to ingore its return value. Effectively meant that tags could only
5285           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
5286           Also add function guard to require a non-NULL taglist as input (has
5287           always been so due to gst_tag_list_copy(), just making it explicit).
5288
5289 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5290
5291         * docs/random/draft-missing-plugins.txt:
5292           Some additions: mention new API that is supposed to be used at the
5293           various stages; short blob about new gst-inspect introspection
5294           option; mention potential future problem with plugins that have
5295           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
5296
5297 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5298
5299         * tools/gst-inspect.c:
5300         (print_plugin_automatic_install_info_codecs),
5301         (print_plugin_automatic_install_info_protocols),
5302         (print_plugin_automatic_install_info), (main):
5303         Add --print-plugin-auto-install-info option to gst-inspect, so we can
5304         introspect plugin files and get machine-parsable output that corresponds
5305         to the last bit of the missing-plugin installer string (small gotcha:
5306         doesn't take into account ranks).
5307
5308 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
5309
5310         * configure.ac:
5311         * docs/gst/gstreamer-sections.txt:
5312         * gst/Makefile.am:
5313         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
5314         (gst_registry_lookup_locked):
5315         * gst/gstregistry.h:
5316         * gst/gstregistrybinary.c: (gst_registry_binary_write),
5317         (gst_registry_binary_initialize_magic),
5318         (gst_registry_binary_save_string),
5319         (gst_registry_binary_save_pad_template),
5320         (gst_registry_binary_save_feature),
5321         (gst_registry_binary_save_plugin),
5322         (gst_registry_binary_write_cache),
5323         (gst_registry_binary_check_magic),
5324         (gst_registry_binary_load_pad_template),
5325         (gst_registry_binary_load_feature),
5326         (gst_registry_binary_load_plugin),
5327         (gst_registry_binary_read_cache):
5328         * gst/gstregistrybinary.h:
5329         * gst/gstregistryxml.c: (load_feature),
5330         (gst_registry_xml_read_cache):
5331           commit binary registry (disabled by default, see #359653)
5332
5333 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5334
5335         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
5336           Fix 'make check' too.
5337
5338 2007-01-10  Andy Wingo  <wingo@pobox.com>
5339
5340         * docs/design/part-negotiation.txt: Fix a typo, add a couple
5341         notes.
5342         
5343         * docs/design/part-negotiation.txt: Update with, um, one way that
5344         pull-mode negotiation might work?
5345
5346         * gst/gstpad.h: 
5347         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
5348         that the pad must be a src pad; makes sense to call it the other
5349         way in pull mode, and the logic is symmetric anyway.
5350
5351 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5352
5353         * plugins/elements/gstfilesink.c:
5354           Include <stdio.h> for fseeko().
5355
5356 2007-01-10  Wim Taymans  <wim@fluendo.com>
5357
5358         * gst/gstevent.c:
5359         * gst/gstevent.h:
5360         Reserve LATENCY event.
5361
5362 2007-01-09  Wim Taymans  <wim@fluendo.com>
5363
5364         * docs/design/draft-latency.txt:
5365         Updates.
5366
5367 2007-01-09  Wim Taymans  <wim@fluendo.com>
5368
5369         * docs/design/draft-latency.txt:
5370         Updates.
5371
5372         * gst/gstelement.h:
5373         * gst/gststructure.c:
5374         * gst/gsttrace.c:
5375         Small typo fixes.
5376
5377 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5378
5379         * tests/check/.cvsignore:
5380           Ignore test-registry.xml as well.
5381
5382 2007-01-09  Wim Taymans  <wim@fluendo.com>
5383
5384         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5385         unref data at the end when we are done with the pad.
5386
5387 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5388
5389         * docs/gst/gstreamer-sections.txt:
5390         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
5391         (init_post), (gst_deinit), (gst_update_registry):
5392         * gst/gst.h:
5393           API: add gst_update_registry() (#391296).
5394
5395         * tests/check/Makefile.am:
5396         * tests/check/gst/gstregistry.c:
5397         * tests/check/gst/.cvsignore:
5398           Simple unit test for the above.
5399
5400 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5401
5402         * gst/gstregistry.c: (gst_registry_scan_path_level):
5403           Plugin extension on HP-UX is .sl, add that to the list of approved
5404           plugin extensions (see #393796).
5405
5406         * tests/check/gst/gstpad.c: (GST_START_TEST):
5407           ulong => gulong. Fixes compilation with HP-UX compiler.
5408
5409         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5410           Fix compilation if valgrind headers are not available.
5411
5412 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
5413
5414         * win32/common/libgstreamer.def: 
5415           Add new exported function.
5416         * win32/vs6/libgstbase.dsp: 
5417           Add gstdataqueue.c to the build.
5418         * win32/vs6/libgstcoreelements.dsp:
5419           Add gstmultiqueue.c to the build.
5420         
5421 2007-01-06  Andy Wingo  <wingo@pobox.com>
5422
5423         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
5424         activate_pull(), providing for a way to specialize the process of
5425         spawning a thread to pull on the sink pad. There is a default
5426         implementation.
5427
5428         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
5429         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
5430         (gst_base_sink_init): Renamed pad activation functions (inserting
5431         "_pad" in their names). Refactor to use the new activate_pull
5432         vmethod, as appropriate.
5433         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
5434         default activate_pull function to start a task pulling from the
5435         sink pad, as before.
5436
5437         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
5438         on the pads if necessary, as in push()/chain(). Update docs.
5439         Shouldn't affect existing pull() usage as it is currently only
5440         being used on buffers without caps.
5441
5442 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5443
5444         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5445         (init_pre):
5446           Call g_thread_init() first thing in gst_init() / gst_check_init().
5447           When initialisation is done via gst_init_get_option_group() and
5448           GOption parsing, issue a warning if the GLib thread system has not
5449           been initialised yet by the time gst_init_get_option_group() is
5450           called, as it's quite likely other GLib functions such as
5451           g_option_context_new() have been called already then, and
5452           g_thread_init() must be called before any other GLib function. The
5453           application in question must be fixed in that case, since memory
5454           corruption might happen otherwise.
5455           We issue the warning because even if the GLib folks decide to work
5456           around the problem on their end in future, this is still an issue
5457           with all GLib versions >= 2.10.0, so we should warn until we depend
5458           on a GLib version we know to be safe.
5459           Update documentation as well.
5460           Closes bug #391278.
5461
5462 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5463
5464         * tools/gst-inspect.c: (main):
5465         * tools/gst-launch.c: (main):
5466         * tools/gst-typefind.c: (main):
5467         * tools/gst-xmlinspect.c: (main):
5468           Call g_thread_init() really really early, before any other GLib
5469           function (see #342564 and recent discussion on gtk-devel-list).
5470
5471 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5472
5473         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
5474
5475         * gst/gst_private.h:
5476         * gst/gstconfig.h.in:
5477         * gst/gstinfo.h:
5478           On win32, all the __declspec stuff for symbol exporting is
5479           apparently only needed with MSVC, but doesn't work with MingW.
5480           Fixes compilation with MingW and #391909.
5481
5482 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5483
5484         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
5485           Change some GST_ERROR_OBJECT that aren't really errors to
5486           GST_WARNING_OBJECT in order to reduce terminal spam.
5487
5488 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5489
5490         * tests/check/Makefile.am:
5491           disable test again, as there seem to be still race problems
5492
5493 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5494
5495         * tests/check/Makefile.am:
5496         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5497         (GST_START_TEST), (queue_suite):
5498           enable queue test again, add tests for the leaky behaviour
5499
5500 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
5501
5502         * configure.ac:
5503         * tests/examples/Makefile.am:
5504           Compile adapter test/example only if the required headers are
5505           available (fixes #391915).
5506
5507 2007-01-01  David Schleef  <ds@schleef.org>
5508
5509         * gst/gstplugin.c:
5510           Restore the previous signal handler for SIGSEGV instead of
5511           setting to default, since we may have stolen it away from
5512           someone.  (i.e., Mono)
5513
5514 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5515
5516         * docs/random/draft-missing-plugins.txt:
5517           Some small additions and clarifications.
5518
5519 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5520
5521         * gst/gstregistryxml.c: (gst_registry_save_escaped):
5522           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
5523           since that can lead to random memory corruptions and crashes
5524           (may or may not be related to #383244, #386711, and #386711).
5525
5526 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5527
5528         * tests/check/.cvsignore:
5529         * tests/check/Makefile.am:
5530           sync .cvsignome and CLEANFILES
5531
5532 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5533
5534         * tests/check/Makefile.am:
5535           fix distcheck
5536
5537 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5538
5539         * docs/design/part-states.txt:
5540           two tiny additional comments
5541         
5542         * gst/gststructure.c:
5543           doc fixing
5544
5545         * tests/check/Makefile.am:
5546         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5547         (GST_START_TEST):
5548           disable test for now, unless it gets fixed
5549
5550 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5551
5552         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5553         (GST_START_TEST):
5554           fix race in underrun test
5555
5556 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5557
5558         * tests/check/elements/.cvsignore:
5559           ignore more
5560
5561         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5562         (GST_START_TEST):
5563           try to narrow test failure
5564
5565 2006-12-21  David Schleef  <ds@schleef.org>
5566
5567         * plugins/elements/gstfakesrc.c:
5568           Use g_random_int_range(), since it produces better random
5569           numbers in a range than almost-correct floating point code.
5570
5571 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5572
5573         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5574         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5575         (gst_check_teardown_sink_pad):
5576           do not automatically (de)activate pads
5577
5578         * tests/check/Makefile.am:
5579         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5580         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
5581           add new, yet simple tests for queue
5582
5583         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
5584         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
5585         * tests/check/elements/filesrc.c: (cleanup_filesrc),
5586         (GST_START_TEST):
5587         * tests/check/elements/identity.c: (cleanup_identity):
5588           consistent pad (de)activation
5589
5590 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5591
5592         Patch by: Sebastian Dröge  <slomo ubuntu com>
5593
5594         * libs/gst/base/gstcollectpads.c:
5595           Fix two doc typos (#387866).
5596
5597 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5598
5599         * docs/manual/advanced-dparams.xml:
5600           Fix typo (g_object_control_properties() doesn't exist).
5601
5602 2006-12-19  Edward Hervey  <edward@fluendo.com>
5603
5604         * gst/gstsegment.c: (gst_segment_set_seek):
5605         Fine tune the cases where the segment start/stop values are really
5606         updated.
5607         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5608         Add tests for the return values of gst_segment_set_seek().
5609
5610 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5611
5612         * gst/gst.c:
5613           Docs typo fix.
5614
5615         * plugins/elements/gstqueue.c: (gst_queue_class_init),
5616         (gst_queue_init):
5617           Fix incorrect documentation and flesh it out a bit more.
5618           Set default values for the max properties on the GParamSpec as well,
5619           so it shows up correctly in gst-inspect.
5620
5621 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
5622
5623         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5624           Correct docs of queue, add more detail and crosslink it more.
5625
5626 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5627
5628         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5629           Print additional debug info when the stream isn't perfectly
5630           timestamped; don't try to use invalid durations.
5631
5632 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5633
5634         * docs/design/Makefile.am:
5635           Dist new design docs.
5636
5637 2006-12-16  Wim Taymans  <wim@fluendo.com>
5638
5639         Patch by: Sjoerd Simons <sjoerd at luon dot net>
5640
5641         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
5642         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5643         (gst_collect_pads_stop), (gst_collect_pads_event),
5644         (gst_collect_pads_chain):
5645         * libs/gst/base/gstcollectpads.h:
5646         Add refcounting to the collectpads data so we can track when it's safe
5647         to free the data. Fixes #383382.
5648
5649 2006-12-15  Wim Taymans  <wim@fluendo.com>
5650
5651         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5652         (gst_collect_pads_remove_pad):
5653         Automatically activate/deactivate pads when they are added to a
5654         started/stoped collectpads.
5655
5656 2006-12-15  Wim Taymans  <wim@fluendo.com>
5657
5658         * gst/gstelement.c: (gst_element_add_pad):
5659         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5660         * gst/gstpad.c: (gst_pad_init):
5661         Set pads to FLUSHING when they are created. Check, warn and fix when a
5662         demuxer adds an inactive pad to itself when running. Fixes #339326.
5663
5664 2006-12-15  Wim Taymans  <wim@fluendo.com>
5665
5666         * gst/gstelement.c: (gst_element_class_init),
5667         (gst_element_default_send_event), (gst_element_send_event),
5668         (gst_element_default_query), (gst_element_query):
5669         Expose default element send_event and query handling as vmethods that
5670         subclasses can chain up to.
5671
5672 2006-12-15  Wim Taymans  <wim@fluendo.com>
5673
5674         * gst/gstelement.c: (gst_element_set_state_func):
5675         Small documentation fixes.
5676
5677 2006-12-15  Wim Taymans  <wim@fluendo.com>
5678
5679         * docs/design/draft-latency.txt:
5680         Checked in draft for handling latency in pipelines.
5681
5682 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5683
5684         * Makefile.am:
5685         * gstreamer.doap:
5686         * gstreamer.spec.in:
5687           adding .doap file
5688
5689 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
5690
5691         * gst/gst.c: (init_pre), (init_post):
5692           init_pre() and init_post() might be called via our GOptionGroup or
5693           from gst_init(), and we should skip both of them if we've already
5694           been initialised, otherwise we will init some things twice or add
5695           two default log functions.
5696
5697 2006-12-13  Edward Hervey  <edward@fluendo.com>
5698
5699         * docs/manual/basics-bus.xml:
5700         No, gst_main_loop does not exist. Its g_main_loop.
5701         Discovered by somebody who abused the copy-paste technique of coding :)
5702
5703 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5704
5705         * gst/gstghostpad.c:
5706           Log ghostpad debug stuff to the GST_PADS category as well rather
5707           than just to the default category.
5708
5709 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5710
5711         * configure.ac:
5712         * gst/gst.c: (init_pre):
5713           Add some basic system details such as OS and architecture
5714           to the debug output if possible, courtesy of uname().
5715
5716 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
5717
5718         * docs/gst/running.xml:
5719           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
5720           environment variables.
5721
5722 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5723
5724         * tests/check/gst/gstbin.c: (GST_START_TEST):
5725         It is acceptable to have a refcount of 2 or 3 at this point in the
5726         test, because the pipeline might be just posting its state_change
5727         message. The next line then waits for that message to appear using
5728         bus_poll, so that should be fine too.
5729
5730 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5731
5732         * gst/gst.c: (ensure_current_registry_forking):
5733         Ignore EINTR when reading from the child registry pipe.
5734         Explicitly ignore the return value from close, since it makes no
5735         difference.
5736
5737         * gst/gstminiobject.c: (gst_mini_object_ref),
5738         (gst_mini_object_unref):
5739         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
5740
5741         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
5742         When removing cached plugins, remove their features too, so they're
5743         not visible after they've disappeared.
5744
5745         * gst/gstutils.c: (prepare_link_maybe_ghosting):
5746         In the unlikely case that we are linking pads with no parents, don't
5747         crash trying to get the non-existent parent bin.
5748
5749         * gst/parse/grammar.y:
5750         Output debug in the PIPELINE category
5751
5752 2005-03-08  Wim Taymans  <wim@fluendo.com>
5753
5754         Patch by: René Stadler <mail at renestadler dot de>
5755
5756         * gst/gstclock.c: (gst_clock_new_periodic_id):
5757         Reject invalid clock times for interval of periodic ids.
5758         Fixes ##383506.
5759
5760 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5761
5762         * gst/gstelementfactory.c: (gst_element_factory_create):
5763         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5764         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5765         * tools/gst-inspect.c: (print_element_info):
5766         Fix refcounting of gst_plugin_feature_load to match the docs. 
5767         Fixes: #380129
5768
5769 2006-12-07  Wim Taymans  <wim@fluendo.com>
5770
5771         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5772         (gst_base_sink_get_position):
5773         Improve debugging of events.
5774
5775 2006-12-07  Wim Taymans  <wim@fluendo.com>
5776
5777         Patch by: René Stadler <mail at renestadler dot de>
5778
5779         * gst/gstclock.c: (gst_clock_id_wait):
5780         Make period ids add the interval to the origial requested time instead
5781         of the possibly updated time which can be wrong when there are multiple
5782         waiters for the same id. Fixes #382592.
5783
5784         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
5785         (gst_system_clock_id_wait_jitter_unlocked),
5786         (gst_system_clock_id_wait_jitter):
5787         Fix restart in the async notify thread when an async entry is added to
5788         the front of the list. Fixes #381492. 
5789
5790         * tests/check/gst/gstsystemclock.c: (store_callback),
5791         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
5792         Added test for multiple async waits.
5793         Added test for async wait order.
5794
5795 2006-12-07  Wim Taymans  <wim@fluendo.com>
5796
5797         * gst/gstbin.c: (gst_bin_query):
5798         Add some more docs about the POSITION query.
5799
5800 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5801
5802         * configure.ac:
5803         Bump version nano - back to CVS.
5804
5805 === release 0.10.11 ===
5806
5807 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
5808
5809         * configure.ac:
5810           releasing 0.10.11, "Love never runs on time"
5811
5812 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
5813
5814         * win32/common/libgstbase.def:
5815         * win32/common/libgstreamer.def:
5816         * win32/vs8/libgstbase.vcproj:
5817         * win32/vs8/libgstcoreelements.vcproj:
5818         * win32/vs8/libgstreamer.vcproj:
5819         Fix compilation on win32 under VS8
5820         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5821         Partially fixes #381175
5822
5823 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
5824
5825         * gst/gstvalue.c: (gst_value_compare_fraction):
5826         If someone is foolish enough to compare 2 fractions with denominator =
5827         0, return UNORDERED rather than aborting.
5828
5829 2006-11-28  Edward Hervey  <edward@fluendo.com>
5830
5831         * libs/gst/base/Makefile.am:
5832         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
5833         (gst_data_queue_base_init), (gst_data_queue_class_init),
5834         (gst_data_queue_init), (gst_data_queue_new),
5835         (gst_data_queue_cleanup), (gst_data_queue_finalize),
5836         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
5837         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
5838         (gst_data_queue_is_empty), (gst_data_queue_is_full),
5839         (gst_data_queue_set_flushing), (gst_data_queue_push),
5840         (gst_data_queue_pop), (gst_data_queue_drop_head),
5841         (gst_data_queue_set_property), (gst_data_queue_get_property):
5842         * libs/gst/base/gstdataqueue.h:
5843         New GstDataQueue object for threadsafe queueing. Most useful for
5844         elements that need some queueing functionnality.
5845         * docs/libs/gstreamer-libs-docs.sgml:
5846         * docs/libs/gstreamer-libs-sections.txt:
5847         Insert documentation for GstDataQueue
5848         * plugins/elements/Makefile.am:
5849         * plugins/elements/gstelements.c:
5850         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5851         (gst_multi_queue_class_init), (gst_multi_queue_init),
5852         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5853         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
5854         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
5855         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5856         (gst_multi_queue_loop), (gst_multi_queue_chain),
5857         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5858         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
5859         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
5860         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
5861         (wake_up_next_non_linked), (compute_next_non_linked),
5862         (single_queue_overrun_cb), (single_queue_underrun_cb),
5863         (single_queue_check_full), (gst_single_queue_new):
5864         * plugins/elements/gstmultiqueue.h:
5865         New multiqueue element, using GstDataQueue. Used for queuing multiple
5866         streams.
5867         Closes #344639 and #347785
5868
5869 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
5870
5871         * docs/pwg/advanced-types.xml:
5872           add more missing type details
5873
5874         * tools/gst-run.c: (main):
5875           remove unused variable
5876
5877 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
5878
5879         * docs/libs/Makefile.am:
5880         * docs/libs/gstreamer-libs.types:
5881           add types of base classes to enable gobject specific stuff in the docs
5882
5883         * docs/random/ensonic/embedded.txt:
5884           more ideas about isolating platform specific things
5885
5886 2006-11-20  Wim Taymans  <wim@fluendo.com>
5887
5888         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
5889
5890         * libs/gst/check/gstcheck.h:
5891         Fix compilation and running against 0.9.4. Fixes #377332.
5892
5893 2006-11-20  Wim Taymans  <wim@fluendo.com>
5894
5895         * gst/gstsegment.c: (gst_segment_set_seek),
5896         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5897         (gst_segment_to_running_time):
5898         Fix boundary checking in to_running_time() and to_stream_time().
5899         Fixes #377183.
5900
5901         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5902         stream and running time can now be calculated for the complete
5903         clipped segment.
5904
5905 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
5906
5907         * gst/gstpad.c: (gst_pad_push_event):
5908           Can't access event structure after giving away ownership of
5909           the event.
5910
5911 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
5912
5913         * docs/random/ensonic/embedded.txt:
5914         * docs/random/ensonic/profiling.txt:
5915         * docs/random/ensonic/receipies.txt:
5916           more thinking
5917
5918 2006-11-13  Wim Taymans  <wim@fluendo.com>
5919
5920         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5921
5922         * gst/gstpad.c:
5923         Fix documentation for gst_pad_dispatcher. Fixes #374475.
5924
5925 2006-11-13  Wim Taymans  <wim@fluendo.com>
5926
5927         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
5928
5929         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5930         Store new length in segment duration so we don't keep on calling the
5931         potentially expensize get_size() call. Fixes #370865.
5932
5933 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
5934
5935         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
5936
5937         * win32/common/libgstreamer.def:
5938           Add two missing symbols (#366492).
5939
5940 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
5941
5942         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
5943         (gst_adapter_take_buffer):
5944         Fix format string to use all its arguments.
5945         Remove useless >= check on a guint
5946
5947 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5948
5949         * tests/examples/adapter/.cvsignore:
5950         Ignore build file as commanded by the build-bot
5951
5952 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5953
5954         * tests/examples/adapter/Makefile.am:
5955         * tests/examples/adapter/adapter_test.c: (run_test_take),
5956         (run_test_take_buffer), (run_tests), (main):
5957
5958         Add new files from the previous commit
5959
5960 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5961
5962         * Makefile.am:
5963         * configure.ac:
5964         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
5965         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
5966         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
5967         * libs/gst/base/gstadapter.h:
5968         * tests/check/libs/adapter.c: (create_and_fill_adapter),
5969         (GST_START_TEST), (gst_adapter_suite):
5970         * tests/examples/Makefile.am:
5971         Do some optimisation work in GstAdapter to avoid copies in more cases.
5972         It could still do slightly better by merging buffers when
5973         gst_buffer_is_span_fast is true, but is already faster. 
5974
5975         Also, avoid traversing a single-linked list to append each incoming 
5976         buffer inside the adapter.
5977
5978         Add simple test app that times the adapter behaviour in different
5979         situations, and extend the unit test to check that bytes enter and
5980         exit the adapter in their original order.
5981
5982 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
5983
5984         * docs/random/draft-missing-plugins.txt:
5985           Update: use element message instead of adding a new message
5986           type to the core; don't provide GStreamer API to initiate the
5987           plugin download, just provide API to compose the strings needed
5988           and let an external libgimmestuff handle the rest.
5989
5990 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
5991
5992         * tools/gst-inspect.c: (print_element_properties_info):
5993         Print a string instead of 'unknown type' for GValueArray properties
5994
5995 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
5996
5997         * docs/random/draft-missing-plugins.txt:
5998         More small fixes.
5999
6000 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
6001
6002         * tests/examples/typefind/typefind.c: (type_found), (main):
6003           Make typefind element example work again (#371894); add a
6004           license header.
6005
6006 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
6007
6008         * docs/random/draft-missing-plugins.txt:
6009           Commit initial draft about how to deal with missing plugins,
6010           needs work (API too).
6011
6012 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
6013
6014         * docs/pwg/advanced-types.xml:
6015           documents the new caps elements (see #363118)
6016
6017 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6018
6019         * gst/gstplugin.c: (gst_plugin_load_file):
6020         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
6021         (gst_file_src_map_region), (gst_file_src_start):
6022         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
6023         (gst_file_index_commit):
6024           Use g_strerror() instead of strerror() - we want UTF-8.
6025
6026 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6027
6028         Patch by: Peter Kjellerstedt <pkj at axis com>
6029
6030         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6031           Another printf fix (#371493).
6032
6033 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
6034
6035         * tests/check/gst/gsttag.c:
6036           relicence (okay with author=company)
6037
6038 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
6039
6040         * gst/gstpad.c: (gst_pad_event_default_dispatch),
6041         (gst_pad_push_event):
6042           Enhance debug and improve docs
6043         
6044         * gst/gsturi.c:
6045           Fix docs
6046
6047 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
6048
6049         * docs/random/ensonic/distributed.txt:
6050         * docs/random/ensonic/profiling.txt:
6051           more ideas
6052
6053 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
6054
6055         * docs/gst/gstreamer-sections.txt:
6056           add new API and fix the build
6057           
6058         * gst/gstbin.c: (gst_bin_recalc_state):
6059         * gst/gstelement.c: (gst_element_message_full),
6060         (gst_element_get_state_func), (gst_element_set_state_func):
6061           use new API and improve logging
6062         
6063         * gst/gstutils.c: (gst_element_state_change_return_get_name):
6064         * gst/gstutils.h:
6065           API: add function to get StateChangereturn names to improve logs 
6066
6067 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
6068
6069         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6070           I'm considering shooting the next person to put strerror stuff
6071           in the translateable part of the message.
6072
6073 2006-11-03  Wim Taymans  <wim@fluendo.com>
6074
6075         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6076         Get the type and printf conversion specifiers right.
6077
6078 2006-11-03  Wim Taymans  <wim@fluendo.com>
6079
6080         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6081
6082         * gst/gstpad.c: (gst_pad_init), (pre_activate),
6083         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
6084         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
6085         Some small cleanups. Improve debugging.
6086         * gst/gstpad.h:
6087         Signal all waiting threads with a broadcast instead of just one.
6088         Fixes #369942.
6089
6090 2006-11-03  Wim Taymans  <wim@fluendo.com>
6091
6092         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
6093         (gst_fd_src_create):
6094         Add some debugging. 
6095         Only update fd when it's different from the old.
6096
6097 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6098
6099         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
6100           Printf fixes for PPC/OSX, take two (#369366).
6101
6102 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6103
6104         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
6105
6106         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
6107         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6108         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
6109           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
6110           don't cast to long long for portability reasons, but use
6111           GLib's types instead.
6112
6113 2006-10-30  Michael Smith  <msmith@fluendo.com>
6114
6115         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6116           Get the arguments to lseek() the right way around.
6117           Fixes 367677.
6118
6119 2006-10-30  Wim Taymans  <wim@fluendo.com>
6120
6121         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
6122
6123         * gst/gstinfo.h:
6124         _declspec should be __declspec (two underscores, not one). Fixes 366572.
6125
6126 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
6127
6128         Patch by: Kjartan Maraas  <kmaraas at gnome org>
6129
6130         * docs/design/part-MT-refcounting.txt:
6131         * docs/random/wtay/capsnego2-docs:
6132         * gst/gstclock.c:
6133         * gst/gstxml.c:
6134           Typo fixes (#366212).
6135
6136 2006-10-28  Wim Taymans  <wim@fluendo.com>
6137
6138         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6139
6140         * gst/gst.c:
6141         * win32/common/libgstbase.def:
6142         * win32/common/libgstreamer.def:
6143         * win32/vs8/libgstbase.vcproj:
6144         * win32/vs8/libgstcontroller.vcproj:
6145         Add needed entries in .def files.
6146         Use HAVE_UNISTD_H.
6147         Rearrange def files in vs8 solutions. Fixes #366286.
6148
6149 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
6150
6151         * win32/common/gstconfig.h:
6152           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
6153           hand-made win32 gstconfig.h. Fixes #366321.
6154
6155 2006-10-27  Wim Taymans  <wim@fluendo.com>
6156
6157         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
6158         (gst_ghost_pad_new_full):
6159         Make acceptcaps return TRUE when we don't have a target, just like
6160         setcaps does.
6161
6162 2006-10-27  Wim Taymans  <wim@fluendo.com>
6163
6164         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6165         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
6166
6167 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6168
6169         * gst/gststructure.c: (gst_structure_id_set_value):
6170           If someone tries to set a non-UTF8 string field on a structure,
6171           don't just print a warning, but also ignore the request and do
6172           not change/add that field to the structure.
6173
6174         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6175           Test for the above.
6176
6177 2006-10-25  David Schleef  <ds@schleef.org>
6178
6179         * gst/gstinfo.c:
6180           g_hash_table_insert() needs a cast to a non-const pointer duh.
6181
6182 2006-10-25  David Schleef  <ds@schleef.org>
6183
6184         * gst/gstinfo.c:
6185         * gst/gstinfo.h:
6186           Change name parameter of _gst_debug_register_funcptr to const
6187           to reflect the constness of its use in the function as well
6188           as to quiet a gcc warning.
6189
6190 2006-10-25  Edward Hervey  <edward@fluendo.com>
6191
6192         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6193         Don't push the buffer if it's empty.
6194         Closes #363095
6195
6196 2006-10-24  Wim Taymans  <wim@fluendo.com>
6197
6198         * gst/gstevent.h:
6199         Add small comment.
6200
6201         * libs/gst/base/gstbasetransform.c:
6202         (gst_base_transform_sink_eventfunc):
6203         Debug segment values *after* updating them as this is more
6204         interesting.
6205
6206 2006-10-23  Wim Taymans  <wim@fluendo.com>
6207
6208         * docs/design/part-events.txt:
6209         Update some docs.
6210
6211         * docs/design/part-block.txt:
6212         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6213         (gst_pad_push_event):
6214         Revert BLOCKING patch, it tries to be smart without really having a
6215         clear idea what or how. So, now we discard all FLUSHING events again on
6216         a blocking pad. Should fix gnonlin again.
6217
6218 2006-10-23  Wim Taymans  <wim@fluendo.com>
6219
6220         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6221
6222         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6223         (gst_base_src_start), (gst_base_src_activate_push):
6224         Make sure size is always initialized. Fixes #364388.
6225
6226 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
6227
6228         * docs/random/ensonic/distributed.txt:
6229           add some ideas about doing distributed processing
6230
6231         * docs/random/ensonic/profiling.txt:
6232           get_rusage look promising
6233
6234 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
6235
6236         * docs/manual/basics-helloworld.xml:
6237           Add a cast in example to fix compile warning
6238
6239 2006-10-18  Wim Taymans  <wim@fluendo.com>
6240
6241         * gst/gstsegment.c: (gst_segment_set_last_stop),
6242         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6243         Relax arg checking again, -1 is allowed.
6244
6245 2006-10-18  Wim Taymans  <wim@fluendo.com>
6246
6247         * gst/gstsegment.c: (gst_segment_set_last_stop),
6248         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6249         _set_last_stop() must be with a value != -1
6250         A _TYPE_SET to -1 means seek to 0.
6251         Calc last_stop correctly for negative rates.
6252         Make sure we work with positive durations when updating a segment.
6253
6254 2006-10-18  Wim Taymans  <wim@fluendo.com>
6255
6256         * docs/design/part-live-source.txt:
6257         * gst/gstclock.h:
6258         Small docs fixes.
6259
6260 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
6261
6262         * gst/gstbuffer.h:
6263           Add an explicit cast to GstBuffer** to keep old code that added an
6264           explicit cast to GstMiniObject** for gst_mini_object_replace()
6265           compiling without warning.
6266
6267 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
6268
6269         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
6270           check for validity of dates
6271
6272 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6273
6274         * docs/gst/gstreamer-sections.txt:
6275           Forgot this one, makes gtk-doc shut up.
6276
6277 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6278
6279         Patch by: Peter Kjellerstedt <pkj at axis com>
6280
6281         * gst/gstobject.h:
6282           Don't define xmlNodePtr to gpointer if the core was built with
6283           --disable-loadsave and --disable-registry, this will break
6284           applications that want to use libxml2 but are buildling against a
6285           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
6286           instead so we don't have to mess with the libxml2 namespace
6287           (#361675).
6288
6289 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6290
6291         * gst/gstbuffer.h:
6292           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
6293           type-punned pointer warnings.
6294
6295 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6296
6297         * gst/gstelement.h:
6298           Add casts to the correct return type to state <=> state transition
6299           macros.
6300
6301 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
6302
6303         * docs/design/part-live-source.txt:
6304           describe howto handle latency
6305         
6306         * docs/random/ensonic/profiling.txt:
6307           more ideas
6308
6309         * tools/gst-plot-timeline.py:
6310           fix log parsing for solaris, remove unused function
6311
6312 2006-10-16  Wim Taymans  <wim@fluendo.com>
6313
6314         * docs/design/part-trickmodes.txt:
6315         * gst/gstevent.c:
6316         Update some docs regarding reverse playback.
6317
6318 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6319
6320         Patch by: Marcus Granado  <mrc dot gran at gmail com>
6321
6322         * win32/vs8/grammar.vcproj:
6323           Error out with a warning if glib-genmarshal.exe is not in path,
6324           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
6325
6326 2006-10-13  Wim Taymans  <wim@fluendo.com>
6327
6328         * gst/gstsegment.c: (gst_segment_set_seek):
6329         When seeking to stop -1, set last_stop (current position) to the
6330         duration of the segment.
6331
6332 2006-10-13  Wim Taymans  <wim@fluendo.com>
6333
6334         * gst/gstelement.h:
6335         Clarify _NO_PREROLL a bit more.
6336
6337         * gst/gstevent.c:
6338         Fix docs.
6339
6340         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
6341         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
6342         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
6343         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
6344         due to wrong locking order. Fixes #361769.
6345         Remove some redundant/misplaced checks in pad_block.
6346
6347         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6348         For negative rates, count backwards from the duration.
6349
6350 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6351
6352         * gst/gsterror.c: (_gst_library_errors_init):
6353           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
6354           up with something better).
6355
6356 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
6357
6358         * win32/vs6/libgstreamer.dsp:
6359         * win32/vs7/libgstreamer.vcproj:
6360         * win32/vs8/libgstreamer.vcproj:
6361           Don't reference glib-compat.c which is currently not used and not
6362           disted; add gstquark.c which was recently added. Fixes #361730.
6363
6364 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
6365
6366         * win32/common/libgstbase.def:
6367         * win32/common/libgstcontroller.def:
6368         * win32/common/libgstreamer.def:
6369           Add gst_caps_merge() and a bunch of other recently-added functions.
6370           Fixes #361732.
6371
6372 2006-10-11  Wim Taymans  <wim@fluendo.com>
6373
6374         * docs/plugins/gstreamer-plugins.args:
6375         * docs/plugins/inspect/plugin-coreelements.xml:
6376         * docs/plugins/inspect/plugin-coreindexers.xml:
6377         Update element args.
6378
6379         * gst/gstsystemclock.c:
6380         Small comment update.
6381
6382         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
6383         (gst_tee_request_new_pad), (gst_tee_release_pad),
6384         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
6385         (gst_tee_sink_activate_pull):
6386         * plugins/elements/gsttee.h:
6387         Some tee loving:
6388         Add default property defines.
6389         Implement release pad function.
6390         Give properties better blubs etc.
6391         Activate pads before adding them to a running tee.
6392         Do simple buffer_alloc on the first requested pad.
6393         Post error when activation fails.
6394
6395 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
6396
6397         * gst/gst.c: (ensure_current_registry_forking):
6398           Check return value of write() to make compiler happy.
6399
6400 2006-10-11  Wim Taymans  <wim@fluendo.com>
6401
6402         Patch by: Sjoerd Simons <sjoerd at luon dot net>
6403
6404         * plugins/elements/gstqueue.c: (gst_queue_chain):
6405         Recheck queue filledness after signalling the overrun when we're about
6406         to leak downstream because we released the lock when emitting the signal
6407         and the queue could be empty again. Fixes #352345.
6408
6409 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
6410
6411         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
6412           Fix refcounting here too, just like we did for _new_valist() a few
6413           days ago (#357180) (thanks to René Stadler). Also remove all those
6414           'Since: 0.9' from the gtk-doc blobs.
6415
6416         * tests/check/libs/controller.c: (controller_refcount_new_list),
6417         (gst_controller_suite):
6418           Unit test for the above.
6419
6420 2006-10-10  Wim Taymans  <wim@fluendo.com>
6421
6422         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
6423
6424         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6425         (gst_pad_save_thyself):
6426         Update some docs.
6427         Write pad direction in XML output. Fixes #345496.
6428
6429 2006-10-10  Wim Taymans  <wim@fluendo.com>
6430
6431         Patch by: René Stadler <mail at renestadler dot de>
6432
6433         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6434         (gst_controller_new_list), (_gst_controller_dispose),
6435         (_gst_controller_finalize), (_gst_controller_class_init):
6436         Take ref to controlled object so that it cannot disappear. 
6437         Fixes #357432.
6438
6439 2006-10-10  Wim Taymans  <wim@fluendo.com>
6440
6441         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6442         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6443         (gst_check_teardown_sink_pad):
6444         Activate/deactivate pads in setup/teardown respectively.
6445
6446 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6447
6448         Patch by: Josep Torre Valles <josep@fluendo.com>
6449
6450         * gst/Makefile.am:
6451         Cast values when making gstenumtypes.h.  This pacifies Forte
6452         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
6453         in the enumeration.
6454
6455 2006-10-09  Wim Taymans  <wim@fluendo.com>
6456
6457         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
6458         Rename some more @cur to @start to fix docs. 
6459
6460         * gst/gstsegment.c: (gst_segment_set_seek):
6461         Fix typo.
6462         time and start must always stay in sync as defined in design doc.
6463
6464         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6465         Rename param to fix docs.
6466
6467         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6468         Check that start and time are in sync.
6469
6470         * tests/check/pipelines/parse-launch.c:
6471         (gst_parse_test_element_change_state):
6472         Activate pad before adding to the element.
6473
6474 2006-10-09  Wim Taymans  <wim@fluendo.com>
6475
6476         * docs/design/part-qos.txt:
6477         Fix typo.
6478
6479         * gst/gstevent.c:
6480         * gst/gstevent.h:
6481         Update seek event docs regarding negative rates.
6482         Rename @cur to @start. 
6483
6484         * gst/gstsegment.c: (gst_segment_set_seek):
6485         * gst/gstsegment.h:
6486         Update set_seek docs regarding negative rates.
6487         Correctly update last_stop to @stop when dealing with negative
6488         rates.
6489         Rename @cur to @start. 
6490
6491         * tests/check/gst/gstpad.c: (GST_START_TEST):
6492         Activate pads before trying to use them.
6493
6494         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6495         (gst_segment_suite):
6496         Add simple check for segments and negative rates.
6497
6498 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6499
6500         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6501         * gst/gsttaglist.h:
6502         * docs/gst/gstreamer-sections.txt:
6503           API: add gst_tag_list_is_empty() (#360467).
6504
6505         * tests/check/gst/gsttag.c: (GST_START_TEST):
6506           And a test case.
6507
6508 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6509
6510         * gst/gstmessage.h:
6511         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
6512         a value that doesn't fit on enumeration.
6513
6514 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6515
6516         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6517         Remove local debugging system and use Gstreamer's instead.
6518
6519 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6520
6521         Patch by: Josep Torre Valles <josep@fluendo.com>
6522
6523         * common/m4/gst-error.m4:
6524         Disable warning of statement not reached on Forte.
6525         * gst/gstmessage.h:
6526         Fix warning on Forte (value doesn't fit on enumeration).
6527         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
6528         Fix warning on Forte (value doesn't fit on enumeration).
6529         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6530         DEBUG macro says it takes minimum of 2 args and so Forte
6531         complains about the use with just 1 arg.
6532         * plugins/elements/gstfdsink.c:
6533         * plugins/elements/gstfdsrc.c:
6534         * plugins/elements/gstfilesink.c:
6535         * plugins/elements/gstfilesrc.c:
6536         Use correct return type for the uri handler implementations.
6537
6538         All these fix warnings in Forte.  Fixes bug #360860.
6539
6540 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6541
6542         * gst/gstelement.h:
6543           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
6544           format string, so don't use G_GNUC_PRINTF for those versions.
6545
6546 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6547
6548         * gst/gsttaglist.c: (gst_is_tag_list):
6549         * gst/gsttaglist.h:
6550           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
6551
6552         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6553           Small test for the above.
6554
6555 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6556
6557         * gst/gsttaglist.h:
6558           Less tabs, more spaces.
6559
6560 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
6561
6562         * gst/gstinfo.h:
6563           Those two function declarations do actually belong there, revert
6564           commit from yesterday that turned them intro macros.
6565
6566 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6567
6568         Patch by: Josep Torre Valles <josep@fluendo.com>
6569
6570         * gst/gst.c: (gst_init_get_option_group):
6571         Fix empty declaration and type mismatch.
6572         * gst/gstbin.c: (gst_bin_change_state_func):
6573         Fix type mismatch.
6574         * gst/gstelement.c: (gst_element_continue_state),
6575         (gst_element_set_state_func), (gst_element_change_state),
6576         (gst_element_change_state_func):
6577         Fix type mismatches.
6578         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
6579         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
6580         Cast as appropriate.
6581         * gst/gstobject.c: (gst_class_signal_connect):
6582         Cast as appropriate.  The function pointer parameter really
6583         has the wrong type but would break API if we change it.
6584         * gst/gstquery.c:
6585         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
6586         order of including string.h.
6587         * gst/gstutils.c: (gst_element_state_get_name):
6588         Remove unreachable line.
6589         * gst/gstxml.c: (gst_xml_parse_doc):
6590         Fix type mismatch.
6591         All these caught by Forte.
6592
6593 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6594
6595         Patch by: Josep Torre Valles <josep@fluendo.com>
6596
6597         * common/m4/gst-error.m4:
6598         Fixed bug #360151.
6599         We need to disable warnings on Forte for empty declarations
6600         due to gst-indent adding ;s to lines that just use macros
6601         where the macro actually doesn't need a ; at end to end
6602         statement.
6603
6604 2006-10-06  Wim Taymans  <wim@fluendo.com>
6605
6606         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6607         (gst_file_sink_close_file), (gst_file_sink_event),
6608         (gst_file_sink_render):
6609         Add some FIXME for the NEWSEGMENT handling.
6610
6611 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6612
6613         * gst/parse/grammar.y:
6614         Remove static function gst_parse_element_lock as all it does
6615         is return.  Looks like cruft from 0.8.
6616
6617 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6618
6619         Patch by: Josep Torre Valles <josep@fluendo.com>
6620
6621         * common/m4/gst-error.m4:
6622         * configure.ac:
6623         * libs/gst/net/Makefile.am:
6624         Fix a compilation issue with Forte on Solaris.  inet_aton is in
6625         libresolv.
6626
6627 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6628
6629         * gst/gstpad.c: (pre_activate):
6630         * gst/gstregistry.c: (gst_registry_scan_path_level):
6631         * gst/gstregistryxml.c: (load_plugin):
6632         * libs/gst/controller/gstcontroller.c:
6633         (gst_controlled_property_set_interpolation_mode):
6634         * libs/gst/dataprotocol/dataprotocol.c:
6635         (gst_dp_packet_from_event_1_0):
6636         * libs/gst/net/gstnetclientclock.c:
6637         (gst_net_client_clock_observe_times):
6638         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6639           Printf fixes.
6640
6641 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6642
6643         * configure.ac:
6644         * docs/gst/gstreamer-sections.txt:
6645         * gst/gstconfig.h.in:
6646         * gst/gstelement.h:
6647         * gst/gstinfo.h:
6648           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
6649           whether we can use G_GNUC_PRINTF in other header files and at
6650           least check the printf format/arguments of debug messages and
6651           GST_ELEMENT_ERROR messages when the printf extension is not
6652           being used.
6653           Replace more tabs with spaces in gstinfo.h and remove two spurious
6654           function declarations in GST_DISABLE_DEBUG part with macros.
6655
6656 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6657
6658         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
6659           More docs for the sync-message signal (mention that it is not
6660           emitted by default); log message structures of messages posted on
6661           the bus as well.
6662
6663 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
6664
6665         * gst/gst.c: (ensure_current_registry_forking):
6666         Use a pipe pair to receive status results from the forked child, and
6667         ignore the result from waitpid. Fixes #355499
6668
6669 2006-10-02  Wim Taymans  <wim@fluendo.com>
6670
6671         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6672         (gst_ghost_pad_suite):
6673         Fix leak in check.
6674
6675 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6676
6677         * gst/gstpad.c:
6678           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
6679
6680 2006-10-02  Edward Hervey  <edward@fluendo.com>
6681
6682         * docs/design/part-block.txt:
6683         Further explain the use of flushing on blocked pads.
6684         * docs/gst/gstreamer-sections.txt:
6685         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6686         (gst_pad_push_event):
6687         * gst/gstpad.h:
6688         Added new GstPadFlag : GST_PAD_BLOCKING.
6689         Adds the notion of pads really blocking, which enables to properly
6690         handle FLUSH_START/FLUSH_STOP events on blocked pads.
6691         Fixes #358999
6692         API: gst_pad_is_blocking()
6693         API: GST_PAD_IS_BLOCKING() macro
6694         API: GST_PAD_BLOCKING GstPadFlag
6695         
6696 2006-10-02  Wim Taymans  <wim@fluendo.com>
6697
6698         Patch by: mrcgran <mrc.gran at gmail dot com>
6699
6700         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
6701         Filter the proxied caps against the padtemplate if we have one.
6702
6703         * gst/gstquery.c: (gst_query_new_segment):
6704         Add include for gstinfo.h so that compilation with
6705         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
6706
6707 2006-10-02  Wim Taymans  <wim@fluendo.com>
6708
6709         Patch by: Alessandro Decina  <alessandro at nnva org>
6710
6711         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
6712         (gst_file_sink_set_location), (gst_file_sink_open_file),
6713         (gst_file_sink_close_file), (gst_file_sink_event),
6714         (gst_file_sink_render):
6715         Set file to NULL when closing filesink so that we can set a new filename
6716         in READY. Fixes #358613.
6717
6718 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6719
6720         Patch by: Alessandro Decina  <alessandro at nnva org>
6721
6722         * gst/gstevent.c: (_gst_event_copy):
6723           Fix gst_mini_object_make_writable() and gst_event_copy() for events
6724           with event structures by setting the parent refcount address of the
6725           copied structure to the address of the refcount member of the newly
6726           copied event rather than the address of the refcount member of the
6727           original event. Fixes #358737.
6728
6729         * tests/check/gst/gstevent.c: (GST_START_TEST):
6730           Unit test for the above.
6731
6732 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
6733
6734         * docs/design/Makefile.am:
6735           Dist some more files.
6736
6737 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6738
6739         * tests/check/libs/controller.c: (GST_START_TEST),
6740         (gst_controller_suite):
6741           Add test for the previous fix; add some more tests
6742           for correct refcounting behaviour; fix a few leaks
6743           in test cases; call gst_controller_init() at start
6744           of all tests.
6745
6746 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6747
6748         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6749         (gst_controller_set_from_list):
6750           Don't g_return_val_if_fail() on timed values with invalid timestamps
6751           inside a critical section without unlocking the mutex. Spotted by
6752           René Stadler. (#357617)
6753           Also, fix up refcounting properly: when returning an existing
6754           controller, we should increase the reference only once and not
6755           once per property and when trying to control a property again
6756           we should also increase the refcount.
6757
6758 2006-09-29  Wim Taymans  <wim@fluendo.com>
6759
6760         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6761         * libs/gst/net/gstnettimeprovider.c:
6762         (gst_net_time_provider_thread):
6763         Stop reading commands when EOF as well.
6764
6765         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6766         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6767         * plugins/elements/gstidentity.c: (gst_identity_class_init):
6768         Unify description of the dump property.
6769
6770 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6771
6772         * tests/examples/manual/.cvsignore:
6773         OK, so it's actually cvsignore that needs changing. Stop laughing.
6774
6775 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6776
6777         * tests/examples/manual/Makefile.am:
6778         Gah, declare vars *before* using them
6779
6780 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6781
6782         * gst/gst.c: (init_pre), (scan_and_update_registry),
6783         (ensure_current_registry_nonforking),
6784         (ensure_current_registry_forking), (ensure_current_registry),
6785         (init_post), (gst_debug_help), (gst_deinit):
6786         * gst/gst_private.h:
6787         * gst/gstregistry.c: (gst_registry_finalize),
6788         (gst_registry_remove_features_for_plugin_unlocked),
6789         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6790         (gst_registry_scan_path),
6791         (_priv_gst_registry_remove_cache_plugins),
6792         (_priv_gst_registry_cleanup):
6793         * gst/gstregistry.h:
6794         Re-commit the registry changes, along with an extra fix:
6795           When a cached plugin is encountered at a different file path,
6796           update the stored path in the registry cache so that the parent
6797           process knows where it actually is now when it re-reads the registry
6798           cache. Fixes the thing that broke distcheck with the previous commit.
6799
6800         * tests/check/Makefile.am:
6801         Clean up files named 'core' too when running make clean.
6802
6803         * tests/examples/manual/Makefile.am:
6804         Set up a registry path for running these tests, and clean it properly
6805         for distcheck.
6806
6807 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6808
6809         * configure.ac:
6810         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
6811         want gmodule-no-export-2.0.pc instead so that we don't drag in
6812         --export-dynamic on every project that links to GStreamer.
6813
6814         Also, make our export regex only match the start of symbols, rather 
6815         than any symbol that contains '_gst' somewhere.
6816
6817         * libs/gst/check/Makefile.am:
6818         The libgstcheck we build does however need export-dynamic, as it
6819         produces some symbols that don't match our _gst... style regex.
6820         Fixes: #318031
6821
6822 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
6823
6824         * gst/gst.c: (init_pre), (scan_and_update_registry),
6825         (ensure_current_registry_nonforking),
6826         (ensure_current_registry_forking), (ensure_current_registry),
6827         (init_post), (gst_debug_help), (gst_deinit):
6828         * gst/gst_private.h:
6829         * gst/gstregistry.c: (gst_registry_finalize),
6830         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6831         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
6832         (_gst_registry_cleanup):
6833         * gst/gstregistry.h:
6834           Revert previous change until I figure out why it breaks distcheck.
6835
6836 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
6837
6838         * gst/gst.c: (init_pre), (scan_and_update_registry),
6839         (ensure_current_registry_nonforking),
6840         (ensure_current_registry_forking), (ensure_current_registry),
6841         (init_post), (gst_debug_help), (gst_deinit):
6842
6843           Make init_pre and init_post take the full complement of GOptionFunc
6844           args so they can return useful GErrors. Make the registry updating
6845           functions do so.
6846
6847           Call _priv_gst_registry_remove_cache_plugins after scanning files to
6848           ensure that the registry we're about to write out doesn't contain
6849           stale information about old-deleted plugin files.
6850
6851           Make _priv_gst_registry_remove_cache_plugins return a boolean so
6852           that deletion of plugin files is considered a registry change.
6853
6854         * gst/gst_private.h:
6855         * gst/gstregistry.c: (gst_registry_finalize),
6856         (gst_registry_remove_features_for_plugin_unlocked),
6857         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6858         (gst_registry_scan_path),
6859         (_priv_gst_registry_remove_cache_plugins),
6860         (_priv_gst_registry_cleanup):
6861         * gst/gstregistry.h:
6862         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
6863         by adding _priv prefix, so that they won't appear in the global
6864         symbol table. They still do atm though because of #318031. Move the
6865         prototypes to gst_private.h
6866
6867         When removing a plugin, remove all features for that plugin too. 
6868         Fixes #340878.
6869
6870 2006-09-27  Wim Taymans  <wim@fluendo.com>
6871
6872         * docs/random/moving-plugins:
6873         Make it clear that the "compiled-in descriptions" really mean
6874         the element details.
6875
6876         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6877         (gst_base_sink_wait_preroll):
6878         Update docs.
6879
6880         * docs/libs/gstreamer-libs-sections.txt:
6881         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6882         (gst_base_src_get_range), (gst_base_src_activate_push):
6883         * libs/gst/base/gstbasesrc.h:
6884         Added function to block while waiting for PLAYING, this function
6885         is used by live sources that block on the clock.
6886         API: gst_base_src_wait_playing()
6887
6888 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6889
6890         Patch by: Peter Kjellerstedt <pkj at axis com>
6891
6892         * Makefile.am:
6893           gst-element-check.m4 is generated and should therefore be
6894           copied from the build dir rather than the source dir (#357593).
6895           'make distcheck' hasn't noticed this because we were disting
6896           the file as well, so stop doing that.
6897
6898 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6899
6900         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6901           Add some tests for gst_caps_intersect().
6902
6903         * tools/gst-launch.c: (event_loop):
6904           Print all buffering percentages we get, even the 100% one.
6905
6906 2006-09-26  Wim Taymans  <wim@fluendo.com>
6907
6908         * tools/gst-inspect.c: (print_element_properties_info),
6909         (print_signal_info):
6910         Fix printing of flags to match the look of enums.
6911
6912 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6913
6914         * gst/gstelementfactory.c:
6915           Fix typo in docs blurb.
6916
6917 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6918
6919         * gst/gsturi.c: (search_by_entry):
6920           Don't assert/crash here if a uri handler doesn't return any
6921           supported protocols. The list of protocols could be generated
6922           dynamically at runtime or at plugin registration, and an error
6923           in the underlying library shouldn't be fatal (#353301).
6924
6925 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6926
6927         * gst/gstinfo.c:
6928           Fix warning if HAVE_PRINTF_EXTENSION is undefined
6929           (spotted by Peter Kjellerstedt).
6930
6931 2006-09-23  Wim Taymans  <wim@fluendo.com>
6932
6933         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
6934
6935         * libs/gst/base/gstbasesrc.c:
6936         (gst_base_src_default_check_get_range), (gst_base_src_start),
6937         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6938         (gst_base_src_change_state):
6939         Match _start/_stop calls in the activate functions. Remove redundant
6940         _stop call from the state change function. Fixes #356910.
6941         Turn failure DEBUG into ERROR. 
6942
6943 2006-09-22  Wim Taymans  <wim@fluendo.com>
6944
6945         * docs/design/part-buffering.txt:
6946         * gst/gstmessage.c: (gst_message_new_buffering),
6947         (gst_message_parse_buffering):
6948         Update docs about buffering.
6949
6950         * docs/design/part-trickmodes.txt:
6951         Fix typo.
6952
6953 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
6954
6955         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6956         (gst_controller_new_list):
6957           Ref instances when returning them again (fixes #357180)
6958
6959 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
6960
6961         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
6962           Don't forget to release proxy lock when there's an error.
6963
6964 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
6965
6966         * gst/gstcaps.h:
6967           Add extra initialisers for Caps things, to fix some plugin warnings
6968           when using -Wextra
6969
6970 2006-09-18  Wim Taymans  <wim@fluendo.com>
6971
6972         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6973           Also set template on the internal pad so that a getcaps from the 
6974           target pad returns the template caps.
6975
6976 2006-09-18  Wim Taymans  <wim@fluendo.com>
6977
6978         * gst/gstelement.c: (gst_element_post_message),
6979         (gst_element_dispose):
6980         Use _DEBUG_OBJECT some more.
6981
6982         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6983         Avoid typechecks.
6984
6985         * tools/gst-launch.c: (main):
6986         If the toplevel element is not a GstPipeline, it must be put in a
6987         pipeline so that a bus and clock is selected.
6988
6989 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
6990
6991         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6992           JITTER, RATE, and LATENCY query should be handled by the
6993           default case and not by the CONVERT query code.
6994
6995 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
6996
6997         * gst/gstformat.c: (gst_format_register):
6998           Fix locking order (must take lock before using n_values).
6999
7000         * gst/gstvalue.c: (gst_value_serialize_enum),
7001         (gst_value_deserialize_enum_iter_cmp),
7002         (gst_value_deserialize_enum):
7003           Fix serialisation/deserialisation of custom registered GstFormats.
7004
7005         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7006           Unit test for custom format serialisation/deserialisation.
7007
7008 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
7009
7010         * docs/pwg/building-boiler.xml:
7011         * plugins/elements/gstcapsfilter.c:
7012         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
7013         section.
7014
7015 2006-09-16  Edward Hervey  <edward@fluendo.com>
7016
7017         * libs/gst/base/gstbasetransform.c:
7018         (gst_base_transform_buffer_alloc):
7019         Check if requested caps are the same as the sinks caps IF
7020         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
7021         is FALSE.
7022         This fixes the renegotiation issues stated in #352827.
7023
7024 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7025
7026         * configure.ac:
7027         * docs/manual/advanced-autoplugging.xml:
7028         * tests/examples/Makefile.am:
7029         * tests/examples/manual/.cvsignore:
7030         * tests/examples/manual/Makefile.am:
7031         * tests/examples/manual/extract.pl:
7032           Extract the manual examples again like we used to do.
7033           Fix one of them.
7034
7035 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7036
7037         * win32/common/config.h:
7038           update for version
7039
7040 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
7041
7042         * gst/gsterror.c:
7043           Documents how to receive errors.
7044
7045 2006-09-15  Wim Taymans  <wim@fluendo.com>
7046
7047         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
7048         (event_loop), (main):
7049         Added some comments here and there.
7050         Post an application message when an interrupt is caught instead of doing
7051         an uncontrolled state change.
7052         Clean up the event loop.
7053         Handle buffering messages, pause/resume the pipeline.
7054         Make shutdown because of an interrupt more reliable.
7055
7056 2006-09-15  Wim Taymans  <wim@fluendo.com>
7057
7058         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7059         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
7060         (gst_base_sink_preroll_object):
7061         Make sure that our internal state is correct when we commit our state
7062         asynchronously. This solves a race where a state change to PLAYING
7063         could cause the sink to remain blocked in preroll in some situations.
7064
7065 2006-09-15  Wim Taymans  <wim@fluendo.com>
7066
7067         * tools/gst-inspect.c: (print_element_properties_info),
7068         (print_signal_info):
7069         List flags as hex so it's easier to deal with.
7070
7071 2006-09-15  Wim Taymans  <wim@fluendo.com>
7072
7073         * docs/libs/gstreamer-libs-sections.txt:
7074         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
7075         (gst_base_sink_do_sync):
7076         * libs/gst/base/gstbasesink.h:
7077         Expose logic to wait for preroll so that subclasses such as audiosink
7078         can also use this method.
7079         API: gst_base_sink_wait_preroll()
7080
7081 2006-09-15  Wim Taymans  <wim@fluendo.com>
7082
7083         * gst/gstobject.c: (gst_object_set_parent):
7084         * gst/gstpipeline.c: (do_pipeline_seek):
7085         Small cleanups in docs and code.
7086
7087         * gst/gstsegment.c: (gst_segment_clip):
7088         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7089         if stop == start and start is in the segment, no clipping should be
7090         done. Also add a test for this.
7091
7092 2006-09-15  Wim Taymans  <wim@fluendo.com>
7093
7094         * docs/design/part-buffering.txt:
7095         * docs/gst/gstreamer-sections.txt:
7096         * gst/gstmessage.c: (gst_message_new_buffering),
7097         (gst_message_parse_buffering):
7098         * gst/gstmessage.h:
7099         Added methods to create and parse BUFFERING messages.
7100         Added preliminary docs about buffering.
7101         API: gst_message_new_buffering
7102         API: gst_message_parse_buffering
7103
7104 2006-09-06  Wim Taymans  <wim@fluendo.com>
7105
7106         * gst/gstbin.c:
7107         Update documentation.
7108
7109         * gst/gstelement.c: (gst_element_class_init),
7110         (gst_element_release_request_pad), (gst_element_set_clock),
7111         (gst_element_get_index), (gst_element_add_pad),
7112         (gst_element_remove_pad), (gst_element_get_random_pad),
7113         (gst_element_send_event), (gst_element_get_query_types),
7114         (gst_element_query), (gst_element_post_message),
7115         (gst_element_message_full), (gst_element_continue_state),
7116         (gst_element_lost_state), (gst_element_save_thyself),
7117         (gst_element_restore_thyself):
7118         Documentation updates.
7119         Rename last bit of the new-pad -> pad-added signal rename.
7120         Fix the case where an element query would only work if the source
7121         pad was linked.
7122         Avoid some useless type checking in message handling.
7123
7124         * gst/gstevent.c:
7125         * gst/gstevent.h:
7126         * gst/gstutils.c:
7127         Documentation updates.
7128
7129 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7130
7131         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
7132           add an INFO line for when we actually update the fd
7133
7134 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7135
7136         * configure.ac:
7137           back to TRUNK
7138
7139 === release 0.10.10 ===
7140
7141 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
7142
7143         * configure.ac:
7144           releasing 0.10.10, "Pais"
7145
7146 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
7147
7148         * docs/manual/advanced-position.xml:
7149           Fix typo in sample code.
7150
7151 2006-09-05  Wim Taymans  <wim@fluendo.com>
7152
7153         * libs/gst/net/gstnetclientclock.c: (inet_aton),
7154         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
7155         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
7156         * libs/gst/net/gstnetclientclock.h:
7157         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
7158         * libs/gst/net/gstnettimepacket.h:
7159         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
7160         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
7161         (gst_net_time_provider_thread), (gst_net_time_provider_new):
7162         * libs/gst/net/gstnettimeprovider.h:
7163         Make stuff compile on windows. Fixes #345295.
7164
7165 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
7166
7167         * gst/gst.c: (ensure_current_registry_forking):
7168           Print better details when child was terminated by signal.
7169
7170 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
7171
7172         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
7173           Print a warning rather than g_assert() if a plugin feature
7174           is a URI handler but returns no protocols (#353976).
7175
7176 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
7177
7178         * docs/random/moving-plugins:
7179         Fix two typos.         
7180
7181 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
7182
7183         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
7184           Fix locking order, handle NULL function values properly.
7185
7186         * gst/gstinfo.h:
7187           Fix docs.
7188
7189         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
7190           Initialise variable before using it and fix debug statement to
7191           print the address of the function rather than the address of the
7192           variable on the stack holding the address of the function.
7193
7194 2006-09-01  Wim Taymans  <wim@fluendo.com>
7195
7196         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
7197         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
7198         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7199         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
7200         (gst_ghost_pad_parent_unset),
7201         (gst_ghost_pad_internal_do_activate_push),
7202         (gst_ghost_pad_internal_do_activate_pull),
7203         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7204         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7205         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
7206         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
7207         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
7208         (gst_ghost_pad_new_no_target_from_template),
7209         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7210         More cleanups.
7211         Avoid needless typechecking in macros.
7212         Since the internal pad is always present and never changes, there is
7213         no need to locking or ref when retrieving it.
7214         Improve debugging a bit.
7215         Handle link errors when setting the target. Fixes #341029.
7216
7217 2006-09-01  Wim Taymans  <wim@fluendo.com>
7218
7219         * docs/libs/gstreamer-libs-sections.txt:
7220         * docs/plugins/gstreamer-plugins-sections.txt:
7221         Fix docs some more.
7222
7223         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7224         (gst_collect_pads_event):
7225         * libs/gst/base/gstcollectpads.h:
7226         Documentation updates.
7227         Free queued buffer when removing a pad.
7228
7229 2006-08-31  Michael Smith  <msmith@fluendo.com>
7230
7231         * gst/gstutils.c: (gst_element_link_pads),
7232         (gst_element_link_pads_filtered):
7233           Ensure that we set a capsfilter to NULL if we failed to link it
7234           when doing filtered linking, to avoid criticals.
7235
7236           No need to check for unreffing srcpad, which is explicly NULLed
7237           above (a trivial code cleanup).
7238
7239 2006-08-31  Wim Taymans  <wim@fluendo.com>
7240
7241         * docs/design/part-gstghostpad.txt:
7242         Update ascii art in documentation.
7243
7244         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
7245         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
7246         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7247         (gst_ghost_pad_internal_do_activate_push),
7248         (gst_ghost_pad_internal_do_activate_pull),
7249         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7250         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7251         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
7252         (gst_ghost_pad_set_target):
7253         Small cleanups and leak fixes.
7254         Remove some checks now that the internal pad is never NULL.
7255         Fix the case where linking pads without a target would create nasty
7256         criticals. Fixes #341029.
7257         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
7258         value of _set_target().
7259
7260         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7261         (gst_ghost_pad_suite):
7262         Some more tests for creating and linking untargeted ghostpads.
7263
7264 2006-08-31  Edward Hervey  <edward@fluendo.com>
7265
7266         * docs/gst/gstreamer-sections.txt:
7267         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
7268         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7269         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
7270         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
7271         (gst_ghost_pad_new_from_template),
7272         (gst_ghost_pad_new_no_target_from_template):
7273         * gst/gstghostpad.h:
7274         Refactored *_new() functions.
7275         Templates are now used as a g_object_new() parameter.
7276         Use template in _do_getcaps() if we don't have a target.
7277         Small documentation cleanups.
7278         Added two new constructors:
7279         gst_ghost_pad_new_from_template()
7280         gst_ghost_pad_new_no_target_from_template()
7281         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7282         (gst_ghost_pad_suite):
7283         Added tests for new ghostpad instanciation functions.
7284
7285         API additions: gst_ghost_pad_new_from_template,
7286         gst_ghost_pad_new_no_target_from_template
7287
7288 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
7289
7290         * docs/random/ensonic/profiling.txt:
7291           Ideas about qos profiling.
7292
7293 2006-08-29  Wim Taymans  <wim@fluendo.com>
7294
7295         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
7296         Code cleanups.
7297         Fix memleak.
7298
7299 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
7300
7301         * gst/gstxml.c:
7302           Improve and detypofy docs.
7303
7304         * tests/check/Makefile.am:
7305         * tests/check/gst/.cvsignore:
7306         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
7307           Add a basic test suite for GstXML.
7308
7309 2006-08-29  Wim Taymans  <wim@fluendo.com>
7310
7311         * gst/gstelement.c: (activate_pads), (clear_caps),
7312         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7313         Clear the pad caps when the element shut down all of the pads and
7314         is not streaming data that could modify the caps. 
7315         Fixes #352958.
7316
7317 2006-08-28  Michael Smith  <msmith@fluendo.com>
7318
7319         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7320           Revert previous change; I misunderstood single-segment mode.
7321
7322 2006-08-28  Michael Smith  <msmith@fluendo.com>
7323
7324         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7325           Unset DISCONT on buffers when using single-segment mode.
7326
7327 2006-08-28  Wim Taymans  <wim@fluendo.com>
7328
7329         * gst/gstcaps.c: (gst_caps_merge_structure):
7330         * gst/gstcaps.h:
7331         Fix docs and indentation again.
7332
7333         * tests/check/gst/gstquery.c: (GST_START_TEST):
7334         Fix leak in tests and add some more tests.
7335
7336 2006-08-28  Edward Hervey  <edward@fluendo.com>
7337
7338         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7339         Inform GstSegment of the last stop position in order for the current
7340         segment to have a proper duration if it doesn't have a specific stop
7341         position from which a duration could be calculated.
7342         This bug was noticeable when a non-flushing, non-update new segment was
7343         followed by another segment (all buffers from the new segment were being
7344         dropped).
7345
7346 2006-08-28  Wim Taymans  <wim@fluendo.com>
7347
7348         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7349         Small comment update.
7350
7351         * plugins/elements/gstidentity.c: (gst_identity_class_init),
7352         (gst_identity_transform_ip):
7353         Drop-probability is broken, mention this in the code with a 
7354         FIXME and also in the property description.
7355         Make silent also be silent about the drop messages.
7356
7357 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
7358
7359         * docs/manual/appendix-win32.xml:
7360           Remove mention of popt, we don't depend on that any
7361           longer (#353136). Add some comments pointing out that
7362           this section is slightly outdated.
7363
7364 2006-08-28  Wim Taymans  <wim@fluendo.com>
7365
7366         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7367
7368         * gst/gstquery.c: (gst_query_new_segment):
7369         * tests/check/gst/gstquery.c: (GST_START_TEST):
7370         Initialize variables when creating a new segment query.
7371         Fixes #353121.
7372
7373 2006-08-28  Wim Taymans  <wim@fluendo.com>
7374
7375         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7376
7377         * gst/gstelement.c: (gst_element_get_bus):
7378         * tests/check/gst/gstelement.c: (GST_START_TEST):
7379         Check for NULL before _reffing the bus. Fixes #353122.
7380
7381 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
7382
7383         * docs/manual/basics-bus.xml:
7384           Docs update: fix wrong callback return value explanation; add
7385           some lines about the implicit relationship between main loop
7386           and main context; remove duplicate main loop variable declaration.
7387
7388 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
7389
7390         * tests/check/gst/gstcaps.c: (GST_START_TEST):
7391           Don't leak caps in unit test; add a few more simple
7392           checks. 
7393
7394 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
7395
7396         * docs/gst/gstreamer-sections.txt:
7397         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
7398         (gst_caps_structure_is_subset), (gst_caps_merge),
7399         (gst_caps_merge_structure):
7400         * gst/gstcaps.h:
7401         * libs/gst/base/gstbasetransform.c:
7402         (gst_base_transform_transform_caps):
7403         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7404           implement caps merging (fixes #352580)
7405
7406 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
7407
7408         * tools/Makefile.am:
7409         * tools/gst-plot-timeline.py:
7410           add debug-log plotting developer tool (#340674)
7411
7412 2006-08-23  Wim Taymans  <wim@fluendo.com>
7413
7414         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
7415         (gst_pad_stop_task):
7416         Improve debugging for task functions.
7417
7418         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
7419         (gst_task_start), (gst_task_pause), (gst_task_join):
7420         Make sure that the task function started and finished after a 
7421         join(). 
7422         Don't try to push the task function on the threadpool multiple
7423         times.
7424         Improve the g_warning message with some useful suggestions
7425         about how to fix the problem. 
7426
7427 2006-08-23  Wim Taymans  <wim@fluendo.com>
7428
7429         * gst/gstutils.c: (gst_pad_proxy_getcaps):
7430         Handle RESYNC correctly in _proxy_getcaps.
7431
7432 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
7433
7434         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
7435         (gst_xml_parse_memory), (gst_xml_get_element):
7436           Chain up to parent class in dispose function and also
7437           unref the elements in the toplevel_elements GList.
7438           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
7439           Always return a reference in gst_xml_get_element() rather
7440           than only sometimes.
7441
7442         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7443           Don't leak GstXml object.
7444
7445 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
7446
7447         * docs/gst/gstreamer-sections.txt:
7448         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
7449         (gst_caps_merge):
7450         * gst/gstcaps.h:
7451         * libs/gst/base/gstbasetransform.c:
7452         (gst_base_transform_transform_caps):
7453           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
7454           in a better way
7455
7456 2006-08-21  Edward Hervey  <edward@fluendo.com>
7457
7458         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
7459         Implement GObject::dispose virtual method in GstXML so we can free the
7460         top_elements GList.
7461
7462 2006-08-21  Wim Taymans  <wim@fluendo.com>
7463
7464         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
7465         (gst_buffer_create_sub):
7466         Copy duration/offset_end/caps when creating a subbuffer of the
7467         complete parent.
7468         Make the subbuffer read-only when we make the metadata writable for
7469         now. Fixes #351768.
7470
7471         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7472         Added check for metadata copy when creating subbuffers.
7473
7474 2006-08-21  Edward Hervey  <edward@fluendo.com>
7475
7476         * libs/gst/base/gstbasetransform.c:
7477         (gst_base_transform_buffer_alloc):
7478         Only call downstream buffer_alloc if transform element is passthrough
7479         or always_in_place. Closes #350449.
7480
7481 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7482
7483         * ChangeLog:
7484           ChangeLog surgery to add comments to previous changes
7485
7486 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7487
7488         * gst/gst.c:
7489           Add comments
7490
7491         * gst/gstpad.c: (gst_pad_set_active):
7492           Be more verbose in the log
7493
7494         * libs/gst/base/gstbasetransform.c:
7495         (gst_base_transform_transform_caps):
7496           Simplify caps to get rid of duplicates, fixes #345444
7497
7498 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7499
7500         * gst/gstvalue.c:
7501         * gst/gstvalue.h:
7502           Use these optimizations only internally.
7503
7504 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7505
7506         * gst/gstvalue.c: (gst_value_compare_list),
7507         (gst_value_compare_fraction_range),
7508         (gst_value_intersect_fraction_fraction_range),
7509         (gst_value_intersect_fraction_range_fraction_range),
7510         (gst_value_subtract_fraction_fraction_range),
7511         (gst_value_subtract_fraction_range_fraction_range),
7512         (gst_value_get_compare_func), (gst_value_compare),
7513         (gst_value_compare_with_func):
7514         * gst/gstvalue.h:
7515           Saves the expensive lookup of the compare function in many cases
7516          (#345444)
7517
7518 2006-08-18  Edward Hervey  <edward@fluendo.com>
7519
7520         * tests/check/gst/gstinfo.c: (gst_info_suite):
7521         Disable test that require gstdebug if it wasn't built in core.
7522
7523 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7524
7525         * docs/random/ensonic/logging.txt:
7526           update ideas
7527           
7528         * gst/gstinfo.c: (gst_debug_log_default):
7529           reorder fields, save some columns, add optional color codes for log
7530           levels
7531
7532 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7533
7534         * docs/random/ensonic/logging.txt:
7535           add ideas about making the logs a bit more useful
7536
7537 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7538
7539         * docs/pwg/advanced-events.xml:
7540         * docs/pwg/titlepage.xml:
7541           Update for 0.10 API (#340627). Add myself
7542           to authors list.
7543
7544 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7545
7546         * docs/libs/gstreamer-libs-docs.sgml:
7547         * docs/libs/gstreamer-libs-sections.txt:
7548         * libs/gst/check/gstbufferstraw.c:
7549           Make gstcheck stuff show up in docs (still needs to
7550           be documented properly though).
7551
7552 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
7553
7554         * docs/gst/gstreamer-sections.txt:
7555         * gst/Makefile.am:
7556         * gst/gst.c: (init_post):
7557         * gst/gst_private.h:
7558         * gst/gstquark.c: (_priv_gst_quarks_initialize):
7559         * gst/gstquark.h:
7560         * gst/gstquery.c: (gst_query_new_position),
7561         (gst_query_set_position), (gst_query_parse_position),
7562         (gst_query_new_duration), (gst_query_set_duration),
7563         (gst_query_parse_duration), (gst_query_new_convert),
7564         (gst_query_set_convert), (gst_query_parse_convert),
7565         (gst_query_new_segment), (gst_query_set_segment),
7566         (gst_query_parse_segment), (gst_query_new_seeking),
7567         (gst_query_set_seeking), (gst_query_parse_seeking):
7568         Add internal helpers for pre-registering quarks from static strings
7569         and using the quark values directly instead of looking them up when
7570         creating and parsing queries. Can be used for event construction too.
7571         Closes #350432.
7572
7573 2006-08-16  Wim Taymans  <wim@fluendo.com>
7574
7575         * gst/gstbin.c:
7576         Fix bogus docs.
7577
7578 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7579
7580         * gst/gstutils.c: (gst_util_set_value_from_string):
7581           Fix memleak (#351502).
7582
7583         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7584           Add unit test for most of gst_util_set_value_from_string()
7585           (not that one would want to encourage use of this function).
7586
7587 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7588
7589         * libs/gst/check/gstcheck.h:
7590           Use const gchar * variables in fail_unless_equals_string
7591           macro to avoid compiler warnings (and don't use tabs for
7592           indenting).
7593
7594 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7595
7596         * tools/gst-launch.c: (print_tag):
7597           More space on the left for the tag names, to cater
7598           for the 'extended comment' tag (not touching the
7599           string for the first line since it's translated).
7600
7601 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7602
7603         * libs/gst/check/gstcheck.h:
7604           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
7605           print something when they fail.
7606
7607 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7608
7609         * docs/gst/gstreamer-sections.txt:
7610         * gst/gsttaglist.c: (_gst_tag_initialize):
7611         * gst/gsttaglist.h:
7612           API: add GST_TAG_EXTENDED_COMMENT (#350935).
7613           Also change merge function for GST_TAG_COMMENT to
7614           use_first.
7615
7616 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7617
7618         * gst/gstinfo.c: (gst_debug_print_object):
7619           Make GST_PTR_FORMAT print messages as well.
7620
7621         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
7622         (GST_START_TEST), (gst_info_suite):
7623           More tests.
7624
7625 2006-08-14  Edward Hervey  <edward@fluendo.com>
7626
7627         * gst/gstelementfactory.c: (gst_element_register):
7628         If the GstElementClass doesn't have a GstElementDetails with all fields
7629         filled up correctly (longname, description AND author), then error out
7630         nicely instead of crashing.
7631
7632 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7633
7634         * gst/gststructure.c:
7635           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
7636
7637         * gst/gstvalue.h:
7638           Expand on the difference between arrays and lists as we use them.
7639           
7640 2006-08-14  Wim Taymans  <wim@fluendo.com>
7641
7642         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
7643         If the parent state change function failed, don't assume we can safely
7644         stop the source, this will be done when the pads are deactivated.
7645
7646 2006-08-14  Wim Taymans  <wim@fluendo.com>
7647
7648         * gst/gstbuffer.c:
7649         * gst/gsttask.c: (gst_task_join):
7650         Small doc updates.
7651
7652         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7653         (gst_pad_stop_task):
7654         When pad (de)activation failed for some reason, restore the old
7655         activation mode and set the pad to flushing instead of assuming the
7656         pad is deactivated.
7657         If the _task_join() failed, reinstall the task on the pad so that it can
7658         be stopped later and return an error.
7659
7660 2006-08-11  Andy Wingo  <wingo@pobox.com>
7661
7662         * configure.ac:
7663         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7664         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
7665         is only for users of API that don't want to see deprecated
7666         functions in the headers; people that want to compile out
7667         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
7668         CFLAGS. Fixes the build of multifdsink, or will soon..
7669
7670 2006-08-11  Wim Taymans  <wim@fluendo.com>
7671
7672         * docs/gst/gstreamer-sections.txt:
7673         Add GstClockClass vmethod docs.
7674
7675         * gst/gstcaps.h:
7676         Mark #endif with comment for associated #if
7677
7678         * gst/gstclock.c: (gst_clock_id_wait):
7679         * gst/gstclock.h:
7680         Add vmethod wait_jitter to avoid an unneeded _get_time() for
7681         most clock implementations.
7682         Document vmethods.
7683         Flesh out docs about resolution methods.
7684         API: GstClockClass::wait_jitter
7685
7686         * gst/gstsystemclock.c: (gst_system_clock_class_init),
7687         (gst_system_clock_async_thread),
7688         (gst_system_clock_id_wait_jitter_unlocked),
7689         (gst_system_clock_id_wait_jitter):
7690         Use base class wait_jitter variant for improved performance
7691         due to less clock polling.
7692
7693 2006-08-11  Edward Hervey  <edward@fluendo.com>
7694
7695         * gst/gst.c: (gst_init_check), (init_post):
7696         Set gst as being initialized before scanning/updating the registry,
7697         since there might be my python plugin loader that calls gst_init() and
7698         we don't want to loop back in.
7699         Closes #350879
7700
7701 2006-08-11  Wim Taymans  <wim@fluendo.com>
7702
7703         * docs/design/part-qos.txt:
7704         Bring docs in line with the code. Mostly the sign of the jitter was
7705         wrong in the docs. Fixes #349943.
7706
7707         * gst/gstclock.c:
7708         Fix the docs for the jitter.
7709
7710         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
7711         (gst_event_parse_tag), (gst_event_new_buffer_size),
7712         (gst_event_parse_buffer_size), (gst_event_parse_qos),
7713         (gst_event_new_seek), (gst_event_parse_seek),
7714         (gst_event_new_navigation):
7715         Make sure the GstStructure has no parent when creating custom
7716         events.
7717         Add some more argument checking so that we avoid 0.0 rates.
7718         Flesh out the docs for the QoS event some more.
7719
7720 2006-08-11  Wim Taymans  <wim@fluendo.com>
7721
7722         * docs/gst/gstreamer-sections.txt:
7723         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7724         (ensure_current_registry_forking), (ensure_current_registry),
7725         (parse_one_option), (parse_goption_arg), (gst_deinit),
7726         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
7727         * gst/gst.h:
7728         Doc updates.
7729         Added API and command line option to disable registry forking in
7730         addition to the environment variable.
7731         Constify some static arrays.
7732         Added some more debug.
7733         Don't deinit twice.
7734         API: gst_registry_fork_is_enabled()
7735         API: gst_registry_fork_set_enabled()
7736         API: --gst-disable-registry-fork command line option
7737         Fixes #348918.
7738
7739 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
7740
7741         * gst/gst.c: (gst_init):
7742           Fix typo in error message.
7743
7744 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7745
7746         * libs/gst/controller/gstcontroller.h:
7747           fix ABI size-correction
7748
7749         * tests/check/libs/gdp.c: (gst_dp_suite):
7750           make tests that use deprecated API conditional
7751
7752 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7753
7754         * docs/libs/gstreamer-libs-sections.txt:
7755         * libs/gst/controller/gstcontroller.c:
7756         (_gst_controller_get_property), (_gst_controller_set_property),
7757         (_gst_controller_init), (_gst_controller_class_init):
7758         * libs/gst/controller/gstcontroller.h:
7759         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
7760         (gst_object_set_control_rate):
7761           API: add gst_object_{s,g}et_control_rate(), add private data section,
7762           fix docs
7763
7764         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7765         * libs/gst/dataprotocol/dataprotocol.h:
7766           add deprecation guards to make gtk-doc happy and allow disabling cruft
7767
7768 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
7769
7770         * tests/check/Makefile.am:
7771         * tests/check/gst/.cvsignore:
7772           Let's enable the new unit test as well.
7773
7774 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7775
7776         * configure.ac:
7777         * docs/gst/gstreamer-sections.txt:
7778         * gst/gstconfig.h.in:
7779         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
7780         (_gst_info_printf_extension_ptr),
7781         (_gst_info_printf_extension_segment):
7782           API: add GST_SEGMENT_FORMAT, which is a printf extension we
7783           register that lets us easily dump GstSegments into debug
7784           logs (#350419).
7785
7786         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
7787         (info_segment_format_printf_extension), (gst_info_suite):
7788           Add simple unit test that logs a bunch of different segments (not
7789           valgrinded at the moment because of leaks in
7790           gst_debug_add_log_function).
7791
7792 2006-08-09  Edward Hervey  <edward@fluendo.com>
7793
7794         * libs/gst/base/gstbasetransform.c:
7795         (gst_base_transform_buffer_alloc):
7796         Even if we can't figure out the proper format to request downstream,
7797         call buffer_alloc() downstream with the input parameters without setting
7798         the caps on the srcpad. This will force negotiation in the chain
7799         function.
7800         Closes #350449
7801
7802 2006-08-08  Edward Hervey  <edward@fluendo.com>
7803
7804         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
7805         Unlinking from a pad without a target is now a perfectly valid case
7806         which should NOT raise an assertion.
7807         This case would happen if a linked ghostpad its target set to NULL after
7808         it was previously linked.
7809
7810 2006-08-08  Edward Hervey  <edward@fluendo.com>
7811
7812         * tests/check/libs/gdp.c:
7813         Also comment out the test (see below).
7814
7815 2006-08-08  Edward Hervey  <edward@fluendo.com>
7816
7817         * tests/check/libs/gdp.c: (gst_dp_suite):
7818         Use the architecture information from config.h and not gcc macros
7819         in order to properly disable a test that fails on PPC64.
7820
7821 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
7822
7823         * gst/gstelement.c: (gst_element_remove_pad):
7824           Don't crash printing the warning if the pad has no parent.
7825
7826 2006-08-02  Wim Taymans  <wim@fluendo.com>
7827
7828         * libs/gst/dataprotocol/dataprotocol.c:
7829         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7830         (gst_dp_crc), (gst_dp_header_payload_length),
7831         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
7832         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
7833         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
7834         (gst_dp_event_from_packet), (gst_dp_validate_header),
7835         (gst_dp_validate_payload):
7836         Make debug category static
7837         Constify the crc table.
7838         Do some more arg checking in public functions.
7839         Fix some docs and do some small cleanups.
7840
7841         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
7842         Add some more checks to see if GDP deals with bogus input.
7843
7844 2006-07-31  Wim Taymans  <wim@fluendo.com>
7845
7846         * gst/gstvalue.c: (gst_value_compare_list):
7847         Fix GstValueList comparison code. Fixes #347293.
7848
7849         * tests/check/gst/gstvalue.c: (GST_START_TEST):
7850         Check to test GstValueList comparison.
7851
7852 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7853
7854         * gst/gstelementfactory.c: (gst_element_factory_create):
7855         Remove unnecessary ref/unref pair
7856
7857         * gst/parse/grammar.y:
7858         Make sure to free the parse buffer on all code paths.
7859         Move a g_free up to the error handler where it's easier to see.
7860
7861         * tests/check/gst/gstevent.c: (test_event):
7862         Extending timeout for downstream travelling events to 10 seconds to
7863         hopefully avoid intermittent failure on the buildbots.
7864
7865         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
7866         Don't manually set the state of the src element - it will happen as a
7867         natural consequence of the pipeline changing state, and that way it
7868         will do it in the right order too.
7869
7870 2006-07-31  Wim Taymans  <wim@fluendo.com>
7871
7872         * libs/gst/base/gstbasetransform.c:
7873         (gst_base_transform_buffer_alloc):
7874         Use OBJECT_LOCK and refcounting to get the pad caps in the
7875         buffer_alloc function because the caps could change while we are
7876         busy with them. Fixes #349105
7877
7878 2006-07-31  Wim Taymans  <wim@fluendo.com>
7879
7880         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
7881         Protect _PAD_CAPS with OBJECT_LOCK.
7882
7883 2006-07-31  Wim Taymans  <wim@fluendo.com>
7884
7885         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
7886         (gst_pad_get_property), (gst_pad_activate_pull),
7887         (gst_pad_activate_push), (gst_pad_set_blocked_async),
7888         (gst_pad_set_activate_function),
7889         (gst_pad_set_activatepull_function),
7890         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
7891         (gst_pad_set_getrange_function),
7892         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
7893         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7894         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
7895         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
7896         (gst_pad_set_acceptcaps_function),
7897         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7898         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
7899         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
7900         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
7901         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
7902         (gst_pad_configure_sink), (gst_pad_configure_src),
7903         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
7904         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
7905         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
7906         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
7907         (gst_pad_send_event):
7908         Use _DEBUG_OBJECT when it makes sense.
7909         Protect GST_PAD_CAPS with the OBJECT_LOCK.
7910         Small cleanups and code reflows.
7911         Avoid caps refcounting in _accept_caps.
7912         Refactor alloc_buffer so that the code performed on the peer is in a
7913         separate function. Also if the pad does not implement a buffer alloc
7914         function, we should still check if the pad is flushing before falling
7915         back to the default allocator.
7916
7917 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7918
7919         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7920         Make all uses of identity and fakesink have silent=true to avoid
7921         serialising every passing data structure, which is breaking tests
7922         on FC4 for some unknown reason.
7923
7924 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
7925
7926         * gst/parse/Makefile.am:
7927         * gst/parse/grammar.y:
7928         * gst/parse/parse.l:
7929           Reverted previous patch as it required to bump the flex dependency to
7930           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
7931
7932 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
7933
7934         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
7935
7936         * gst/parse/Makefile.am:
7937         * gst/parse/grammar.y:
7938         * gst/parse/parse.l:
7939           push & pop the state of the lexer for reentrant use case
7940           Fixes #349180
7941
7942 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
7943
7944         * libs/gst/base/gstbasesrc.h:
7945           Note in the docs that the ::newsegment vfunc is not actually used by
7946           GstBaseSrc.
7947
7948 2006-07-28  Wim Taymans  <wim@fluendo.com>
7949
7950         * libs/gst/base/gstcollectpads.c:
7951         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
7952         (gst_collect_pads_clear), (gst_collect_pads_flush),
7953         (gst_collect_pads_event), (gst_collect_pads_chain):
7954         When flushing a pad, also clear the queued buffer so that we don't
7955         accidentally use it when we shouldn't.
7956         Fix leaks by inreffing incomming buffer.
7957         Flush out queued buffers in case of errors.
7958         Fixes #347452.
7959
7960 2006-07-28  Wim Taymans  <wim@fluendo.com>
7961
7962         * docs/random/phonon-gst:
7963         Random notes about a Phonon backend.
7964
7965 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
7966
7967         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7968         Extra debug output
7969         * tests/check/libs/gdp.c: (gst_dp_suite):
7970         Take a whack at fixing the ppc compile using a different define to
7971         disable the broken test.
7972
7973         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7974         Remove excess g_print()
7975
7976 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
7977
7978         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7979         Oops, meant to uncomment this line too to dampen the noise a bit.
7980
7981 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
7982
7983         * gst/parse/grammar.y:
7984         * gst/parse/parse.l:
7985         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7986         (GST_START_TEST), (parse_suite):
7987         Fix some of the leaks exposed by extending the parse-launch testsuite,
7988         and move the 3 I can't figure out into a separate test that won't run
7989         the pipelines unless the appropriate line is uncommented.
7990
7991 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
7992
7993         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7994           Requesting 0 bytes before the end of the file should result in
7995           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
7996           unit test.
7997
7998 2006-07-27  Wim Taymans  <wim@fluendo.com>
7999
8000         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
8001         Fix useless assert, a uint is always positive.
8002
8003         * gst/gststructure.c: (gst_structure_nth_field_name),
8004         (gst_structure_foreach), (gst_structure_map_in_place):
8005         Check input arguments for public functions to avoid obvious crashes.
8006
8007         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
8008         * plugins/elements/gstfakesink.h:
8009         Do less useless typechecking.
8010
8011 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
8012
8013         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
8014           Do not use mmap() by default since there are a number of error
8015           conditions that we would like to handle in a non-fatal way that
8016           will result in a SIGBUS if we use mmap(). Examples: external
8017           devices (USB harddrive, portable music player) being unplugged
8018           while in use; file on mounted CD/DVD that can't be read because
8019           the medium is partly damaged. Fixes #348455 and #348475.
8020
8021 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
8022
8023         * gst/gstquery.h:
8024         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
8025         rates are a gdouble
8026
8027 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
8028
8029         * gst/gstregistry.c:
8030           Move big documentation comment into class section header, so that it
8031           appears in the API docs.
8032
8033 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
8034
8035         * docs/gst/gstreamer-sections.txt:
8036         Oops. Commit the docs additions too for new API.
8037         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
8038
8039 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
8040
8041         * gst/gststructure.c: (gst_structure_id_set),
8042         (gst_structure_id_set_valist):
8043         * gst/gststructure.h:
8044         Add API for setting values into structures without performing
8045         a quark lookup, if the appropriate quark is already known.
8046
8047         API: gst_structure_id_set
8048         API: gst_structure_id_set_valist
8049
8050         * gst/parse/grammar.y:
8051         * gst/parse/parse.l:
8052         Remove some dead code shown by the coverage information.
8053         Don't throw a critical g_warning when encountering a syntax error,
8054         just warn and let the normal error path handle it.
8055
8056         * plugins/elements/gstelements.c:
8057         Bump the rank of filesink up to PRIMARY so that it is preferred over
8058         gnomevfssink for file:// sink uri's
8059
8060         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
8061         (GST_START_TEST), (run_delayed_test),
8062         (gst_parse_test_element_base_init),
8063         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
8064         (gst_parse_test_element_change_state),
8065         (gst_register_parse_element), (parse_suite):
8066         Beef up the tests for parse syntax to check that more error cases
8067         fail as they are supposed to. Increases the test coverage a bit.
8068
8069 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
8070
8071         * docs/manual/basics-elements.xml:
8072           Fix gst_element_link() example.
8073
8074         * gst/gstutils.c:
8075           Mention in API docs that one should usually gst_bin_add()
8076           elements to a bin or pipeline before doing the linking.
8077           
8078 2006-07-26  Wim Taymans  <wim@fluendo.com>
8079
8080         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
8081         (gst_subbuffer_get_type), (gst_buffer_create_sub):
8082         Avoid function call for known types by keeping the buffer and
8083         subbuffer GType global.
8084
8085         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8086         Random silly optimisations in read() path.
8087
8088 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
8089
8090         * tools/gst-launch.c: (main):
8091           If the top-level of the parse is a normal bin, it doesn't do the
8092           right logic to run as a top-level element, so place it inside a
8093           pipeline.
8094
8095 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
8096
8097         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
8098           Remove superfluous g_object_notify() calls, GObject does
8099           that for us automatically.
8100
8101 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
8102
8103         * gst/gstinfo.h:
8104           on Win32, use dllspec to export the debug category symbols
8105
8106 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
8107
8108         * gst/gsttaglist.c: (_gst_tag_initialize):
8109           Allow more than one GST_TAG_IMAGE per taglist.
8110
8111 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8112
8113         * gst/gstminiobject.c:
8114           update docs
8115         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
8116         (gst_fd_src_create):
8117           log recurring events at LOG level
8118           add more debug for when the fd gets set
8119
8120 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
8121
8122         * gst/gstparse.c: (gst_parse_launch):
8123           Also remove reentrance checks if flex is MT safe (#348179)
8124          Fix my empty ChangeLog entry below
8125
8126 2006-07-21  Andy Wingo  <wingo@pobox.com>
8127
8128         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
8129
8130         * libs/gst/check/Makefile.am
8131         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
8132         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
8133         * libs/gst/check/gstbufferstraw.h:
8134         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
8135         functions, thus proving I am still a GStreamer haxor. OK I wrote
8136         them a long time ago, but anyways.
8137
8138 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
8139
8140         * configure.ac:
8141         * gst/gstparse.c: (gst_parse_launch):
8142           Check for flex version and omit mutex if we have a MT save flex
8143           (fixes #348179)
8144
8145 2006-07-21  Wim Taymans  <wim@fluendo.com>
8146
8147         * gst/gstparse.c: (gst_parse_launch):
8148         Protect recursive calls to _parse with a recursive mutex
8149         and busy flag.
8150
8151 2006-07-21  Wim Taymans  <wim@fluendo.com>
8152
8153         * tests/check/gst/gstpad.c: (GST_START_TEST):
8154         Fix leak in test.
8155
8156 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
8157
8158         * gst/gstparse.c: (gst_parse_launch):
8159           Do not hang on recursive usage of gst_parse_launch()
8160
8161 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
8162
8163         * gst/gsttaglist.c:
8164           Add some more docs, comments and FIXME 0.11s here and there
8165           and also fix some typos.
8166
8167 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
8168
8169         * gst/gstsegment.h:
8170           Convert tabs to spaces for better readability. 
8171
8172 2006-07-20  Edward Hervey  <edward@fluendo.com>
8173
8174         * tests/check/libs/gdp.c: (gst_dp_suite):
8175         the test_buffer test fails at line 140 on ppc64 at the following
8176         check:
8177         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
8178                 GST_BUFFER_FLAG_IN_CAPS),
8179                 "GST_BUFFER_IN_CAPS flag should have been copied !");
8180         See bug #348114 for more details.
8181
8182 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
8183
8184         * docs/pwg/advanced-scheduling.xml:
8185         * gst/gstpad.c:
8186           Fix typos (#348000).
8187
8188 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
8189
8190         * docs/pwg/intro-basics.xml:
8191           Fix wrong links (#347927).
8192
8193 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
8194
8195         * gst/gstregistry.h:
8196         * gst/gstregistryxml.c: (load_feature),
8197         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
8198         * win32/common/config.h:
8199           make --disable-index work (#342564)
8200
8201 2006-07-18  Wim Taymans  <wim@fluendo.com>
8202
8203         Patch by: Peter Kjellerstedt <pkj at axis dot com>
8204
8205         * gst/Makefile.am:
8206         * gst/gsttrace.h:
8207         The attached patch adds two missing defines to gsttrace.h when tracing
8208         is disabled.  It also corrects one existing define.
8209         Fixes #347756.
8210
8211 2006-07-17  Wim Taymans  <wim@fluendo.com>
8212
8213         * docs/gst/gstreamer-sections.txt:
8214         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
8215         * gst/gst.h:
8216         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
8217         Add two functions to check and change the SIGSEGV behaviour
8218         when loading plugins.
8219         Don't mess with the SIGSEGV handler when we were told not to.
8220         Fixes #347794.
8221         API: gst_segtrap_is_enabled
8222         API: gst_segtrap_set_enabled
8223
8224 2006-07-14  Wim Taymans  <wim@fluendo.com>
8225
8226         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8227         * tests/check/elements/filesrc.c: (GST_START_TEST):
8228         Revert fix for regression in #347408 after release.
8229
8230 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
8231
8232         Patch by: Antoine Tremblay <hexa00 at gmail com>
8233
8234         * gst/gstutils.c: (gst_element_unlink):
8235           Free iterator when done (#347311).
8236
8237         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8238           And add a test case for this.
8239
8240 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
8241
8242         * configure.ac:
8243         Bump nano back to CVS
8244
8245 === release 0.10.9 ===
8246
8247 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
8248
8249         * configure.ac:
8250           releasing 0.10.9, "On the road again"
8251
8252 2006-07-13  Wim Taymans  <wim@fluendo.com>
8253
8254         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8255         * tests/check/elements/filesrc.c: (GST_START_TEST):
8256         Revert pull-0 fix for release. Disable check. Fixes #347408.
8257
8258 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8259
8260         * libs/gst/dataprotocol/dataprotocol.c:
8261         (gst_dp_event_from_packet_1_0):
8262           Fixes #347337: failure to deserialize event packets with
8263           empty payload (only event type)
8264
8265 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8266
8267         * gst/Makefile.am:
8268           do not install a .c file in the header directory
8269
8270 2006-07-13  Edward Hervey  <edward@fluendo.com>
8271
8272         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8273         GhostPad no longer implicitely use the padtemplates of the targets.
8274         Fixes #347384
8275
8276 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
8277
8278         * gst/gstvalue.c: (gst_value_compare_list),
8279         (gst_value_compare_array), (_gst_value_initialize):
8280         * tests/check/gst/gstvalue.c: (GST_START_TEST):
8281         Make GstValueArray comparison be order dependent as designed.
8282         Add checks for value lists and value array comparisons.
8283         Fixes #347221
8284
8285 2006-07-11  Edward Hervey  <edward@fluendo.com>
8286
8287         * gst/gstbin.c: (activate_pads),
8288         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
8289         (gst_bin_change_state_func):
8290         (de)activate src pads before calling state_change on the childs.
8291         This is to avoid the case where a src ghostpad is blocked (holding the
8292         stream lock), which would block the deactivation of the ghostpad's
8293         target pad.
8294         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
8295         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
8296         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
8297         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8298         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8299         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8300         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
8301         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
8302         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
8303         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
8304         (gst_ghost_pad_class_init),
8305         (gst_ghost_pad_internal_do_activate_push),
8306         (gst_ghost_pad_internal_do_activate_pull),
8307         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8308         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8309         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
8310         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
8311         GhostPads now create their internal GstProxyPad at creation (and not
8312         when they're linked, as it was being done previously).
8313         The internal and target pads are linked straight away.
8314         The data will also travel through the other pad in order to make
8315         pad blocking and probes non-hackish (the probe/block now really happens
8316         on the GhostPad and not on the target).
8317         * gst/gstpad.c: (gst_pad_set_blocked_async),
8318         (gst_pad_link_prepare), (gst_pad_push_event):
8319         Remove previous ghostpad cruft.
8320         * gst/gstutils.c: (gst_pad_add_data_probe),
8321         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8322         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8323         (gst_pad_remove_buffer_probe):
8324         Remove previous ghost pad cruft.
8325         Added more detailed debug statements.
8326         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8327         Fix the testsuite for refcounting changes.
8328         The comments about who has references were correct, but the refcount
8329         being checked wasn't the same (!?!).
8330
8331         Fixes #341029
8332
8333 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
8334
8335         * docs/gst/gstreamer-sections.txt:
8336         * gst/gstconfig.h.in:
8337         More docs for configuration options, add docs to gtk-doc.
8338
8339 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
8340
8341         * gst/Makefile.am:
8342         * gst/gstconfig.h.in:
8343         * win32/common/config.h:
8344         Fix build when disabling tracing (fixes #344016). Also start to document
8345         the defines that disable the sub-systems.
8346
8347 2006-07-10  Edward Hervey  <edward@fluendo.com>
8348
8349         * gst/gst.c: (ensure_current_registry_forking):
8350         let's make valgrind happy...
8351
8352 2006-07-09  Wim Taymans  <wim@fluendo.com>
8353
8354         * gst/gstelement.c: (activate_pads),
8355         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
8356         Better pad activation code: Reset the collect value too on resync.
8357         Add some comments.
8358
8359 2006-07-09  Wim Taymans  <wim@fluendo.com>
8360
8361         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
8362         (gst_pad_activate_push):
8363         Use some more macros where it makes sense.
8364         Allow pad mode switching instead of asserting. When a pad
8365         is activated in one mode and we activate it in another, 
8366         deactivate it first before activating it in a different mode.
8367         Fixes #329198.
8368
8369 2006-07-08  Andy Wingo  <wingo@pobox.com>
8370
8371         * tools/gst-launch.c (main): Handle err == NULL.
8372
8373         * gst/gst.c (init_post, ensure_current_registry)
8374         (ensure_current_registry_forking)
8375         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
8376         factoring out the registry scanning into separate functions. Don't
8377         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
8378         Better environment var name/interface suggestions accepted.
8379
8380 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8381
8382         * gst/gstobject.c: (gst_object_set_name_default),
8383         (gst_object_set_name):
8384           Random micro-optimisation: don't use a hash table
8385           with strings as keys and the usual strdup/strcmp
8386           involved, but rather just use the GQuark of the
8387           type name as key, since it needs to be looked up
8388           anyway to get the type name string.
8389
8390         * tests/check/gst/gstobject.c: (GST_START_TEST):
8391           Fix various leaks.
8392
8393 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8394
8395         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
8396         (gst_bin_iterate_all_by_interface):
8397           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
8398           GTypes are gulongs and thus the top 4 bytes might be cut
8399           off on some platforms when doing GPOINTER_TO_INT, leading
8400           to invalid GTypes and bad things happening (see RH bug #179654).
8401           Also add a check to make sure the type passed in is really
8402           an interface type.
8403
8404 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8405
8406         * .cvsignore:
8407           Ignore more.
8408
8409 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8410
8411         * Makefile.am:
8412         * configure.ac:
8413         * gst-element-check.m4:
8414         * gst-element-check.m4.in:
8415           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
8416           instead of the unversioned gst-inspect (#324176, #168659).
8417
8418 2006-07-06  Wim Taymans  <wim@fluendo.com>
8419
8420         * gst/gstmessage.h:
8421         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
8422         warnings.
8423
8424 2006-07-06  Wim Taymans  <wim@fluendo.com>
8425
8426         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8427         (gst_base_src_wait), (gst_base_src_update_length),
8428         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
8429         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
8430         (gst_base_src_loop), (gst_base_src_start),
8431         (gst_base_src_activate_pull):
8432         Update docs.
8433         blocksize == 0 now means the default blocksize when working in push
8434         based mode.
8435         Remove some pointless asserts in _wait function.
8436         Fix offset/length calculations and EOS handling. We can now pull 0
8437         bytes as well, which is allowed.
8438         use _check_get_range() to decide if we can operate in _pull based
8439         mode.
8440         Fix refcounting leak when check_get_range function was not 
8441         implemented.
8442         API GstBaseSrc::blocksize range can be 0 too now (default)
8443
8444         * tests/check/elements/filesrc.c: (GST_START_TEST),
8445         (filesrc_suite):
8446         Added check to test _get_range() behaviour.
8447
8448 2006-07-06  Wim Taymans  <wim@fluendo.com>
8449
8450         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8451         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
8452         (gst_pad_pull_range):
8453         * gst/gstpad.h:
8454         Lots of comments and docs added to the pad functions.
8455         Flesh out the expected behaviour of the get_range() functions.
8456
8457 2006-07-06  Wim Taymans  <wim@fluendo.com>
8458
8459         * gst/gstbus.h:
8460         * gst/gstclock.h:
8461         * gst/gstevent.h:
8462         * gst/gstiterator.h:
8463         * gst/gstpad.h:
8464         * gst/gstplugin.h:
8465         * gst/gsttask.h:
8466         Remove comma at end of enumerator list. 
8467
8468 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
8469
8470         * win32/common/libgstbase.def:
8471         * win32/common/libgstdataprotocol.def:
8472         * win32/common/libsgtreamer.def:
8473         Add new exported functions.
8474
8475 2006-07-05  Wim Taymans  <wim@fluendo.com>
8476
8477         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
8478         Add some more docs here and there.
8479
8480 2006-07-05  Wim Taymans  <wim@fluendo.com>
8481
8482         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
8483         (gst_base_sink_loop), (gst_base_sink_get_position):
8484         When operating in pull mode update the offset so that we
8485         read sequentially.
8486
8487 2006-07-05  Wim Taymans  <wim@fluendo.com>
8488
8489         * gst/gstregistryxml.c: (read_string):
8490         Avoid strdup. (will happen in libxml, but hey!)
8491
8492         * gst/gsturi.c:
8493         Add some more docs.
8494
8495 2006-07-05  Wim Taymans  <wim@fluendo.com>
8496
8497         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
8498         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8499         (gst_buffer_suite):
8500         No point in checking if the size of the subbuffer > 0, the
8501         code handles it correclty as demonstrated by unit test.
8502         Also add a unit test for the zero sized _new_and_alloc and
8503         _copy. Fixes #346663.
8504
8505 2006-07-05  Wim Taymans  <wim@fluendo.com>
8506
8507         * libs/gst/base/gstbasetransform.c:
8508         (gst_base_transform_prepare_output_buffer),
8509         (gst_base_transform_buffer_alloc),
8510         (gst_base_transform_handle_buffer):
8511         Make sure the buffer we pass to transform_ip has a refcount of
8512         1 and thus is writable. Fixes #343196
8513
8514 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
8515
8516         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8517         (gst_file_src_init), (gst_file_src_set_property),
8518         (gst_file_src_get_property), (gst_file_src_map_region):
8519         * plugins/elements/gstfilesrc.h:
8520         Add "sequential" property, off by default, to use madvise and hint
8521         to the kernel that sequential access is desired.
8522         Touch all retrieved pages by default to ensure they are pulled
8523         into memory. (Closes #345720)
8524
8525 2006-07-03  Wim Taymans  <wim@fluendo.com>
8526
8527         * docs/design/part-block.txt:
8528         * docs/design/part-dynamic.txt:
8529         Small docs updates.
8530
8531 2006-07-03  Wim Taymans  <wim@fluendo.com>
8532
8533         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
8534         (gst_caps_unref), (gst_static_caps_get),
8535         (gst_caps_append_structure):
8536         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
8537         Use GSlice when the glib we build against is >= 2.10
8538
8539 2006-07-03  Wim Taymans  <wim@fluendo.com>
8540
8541         * gst/gstelement.c: (gst_element_pads_activate):
8542         Small cleanup in pad activation code.
8543
8544 2006-07-03  Wim Taymans  <wim@fluendo.com>
8545
8546         Patch by: Peter Kjellerstedt <pkj at axis dot com>
8547
8548         * gst/gst-i18n-app.h:
8549         * gst/gst-i18n-lib.h:
8550         * tools/gst-inspect.c: (print_signal_info):
8551         The attached patch will make the inclusion of gettext.h unconditional in
8552         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
8553         libintl.h in tools/gst-inspect.c.
8554         This allows use of --disable-nls again and fixes #344642.
8555
8556 2006-07-03  Edward Hervey  <edward@fluendo.com>
8557
8558         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
8559         Implement pad blocking on events according to part-block.txt.
8560         More comments on behaviour.
8561         * tests/check/gst/gstevent.c: (test_event):
8562         Send event to peer pad of blocked pad (else it will block).
8563
8564 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8565
8566         * libs/gst/check/gstcheck.c: (gst_check_message_error),
8567         (gst_check_run_suite):
8568           if we get the wrong message, give us the types as string
8569         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8570           Fix a translatable
8571         * tests/check/elements/filesrc.c: (GST_START_TEST):
8572           add a test for trying to open a non-existing file
8573
8574 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8575
8576         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8577           add a test for adding self
8578
8579 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8580
8581         * libs/gst/check/gstcheck.h:
8582           add some assert_ as alias for fail_unless_*
8583         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
8584           increase test coverage
8585
8586 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8587
8588         * Makefile.am:
8589           include lcov.mak for lcov coverage generation
8590         * tools/Makefile.am:
8591           add to CLEANFILES
8592
8593 2006-07-02  Edward Hervey  <edward@fluendo.com>
8594
8595         * tests/check/elements/.cvsignore:
8596         moaping
8597
8598 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8599
8600         * configure.ac:
8601           don't set CFLAGS and friends for gcov, done from GST_GCOV now
8602         * tests/check/Makefile.am:
8603           clean up gcov files
8604
8605 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8606
8607         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
8608           remove gst_caps_simplify; it was not declared and not used
8609           and deprecated in 0.8
8610
8611 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8612
8613         * docs/faq/gst-uninstalled:
8614           don't put empty paths on PYTHONPATH
8615         * docs/gst/gstreamer-sections.txt:
8616           remove some symbols that are not there
8617
8618 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8619
8620         * gst/gstcaps.c: (gst_caps_compare_structures):
8621           whitespace fixes
8622         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8623         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8624           add more tests
8625
8626 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8627
8628         * libs/gst/dataprotocol/Makefile.am:
8629           build dataprotocol test by linking to the lib, instead of
8630           compiling the source, so we get coverage
8631         * tests/check/Makefile.am:
8632         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
8633         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
8634           add a test for filesrc
8635
8636 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8637
8638         * tests/check/gst/gststructure.c: (GST_START_TEST),
8639         (gst_structure_suite):
8640           Push coverage from 59.04% to 70.00%
8641
8642 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8643
8644         * tests/check/Makefile.am:
8645           gst-inspect every element; this makes sure that we also get
8646           coverage on element's get/set functions
8647
8648 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8649
8650         * configure.ac:
8651           set CFLAGS and friends to -O0 if gcov is being used
8652           add GCOV LIBS
8653         * gst/Makefile.am:
8654         * libs/gst/base/Makefile.am:
8655         * libs/gst/check/Makefile.am:
8656         * libs/gst/controller/Makefile.am:
8657         * libs/gst/dataprotocol/Makefile.am:
8658         * libs/gst/net/Makefile.am:
8659         * plugins/elements/Makefile.am:
8660         * plugins/indexers/Makefile.am:
8661           add makefile rules to generate gcov data and clean up
8662         * tests/check/Makefile.am:
8663           add a coverage target that generates an html overview
8664           of coverage data
8665
8666 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8667
8668         * tests/check/elements/fakesink.c:
8669         * tests/check/elements/fakesrc.c:
8670         * tests/check/elements/fdsrc.c:
8671         * tests/check/elements/identity.c:
8672         * tests/check/generic/sinks.c: (gst_sinks_suite):
8673         * tests/check/generic/states.c:
8674         * tests/check/gst/gst.c:
8675         * tests/check/gst/gstabi.c:
8676         * tests/check/gst/gstbin.c:
8677         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
8678         * tests/check/gst/gstbus.c: (gst_bus_suite):
8679         * tests/check/gst/gstcaps.c: (GST_START_TEST):
8680         * tests/check/gst/gstelement.c:
8681         * tests/check/gst/gstevent.c: (gst_event_suite):
8682         * tests/check/gst/gstghostpad.c:
8683         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
8684         * tests/check/gst/gstmessage.c: (gst_message_suite):
8685         * tests/check/gst/gstminiobject.c:
8686         * tests/check/gst/gstobject.c:
8687         * tests/check/gst/gstpad.c:
8688         * tests/check/gst/gstpipeline.c:
8689         * tests/check/gst/gstplugin.c:
8690         * tests/check/gst/gstquery.c: (gst_query_suite):
8691         * tests/check/gst/gstsegment.c: (gst_segment_suite):
8692         * tests/check/gst/gststructure.c:
8693         * tests/check/gst/gstsystemclock.c:
8694         * tests/check/gst/gsttag.c:
8695         * tests/check/gst/gsttask.c: (gst_task_suite):
8696         * tests/check/gst/gstutils.c:
8697         * tests/check/gst/gstvalue.c:
8698         * tests/check/libs/adapter.c:
8699         * tests/check/libs/basesrc.c:
8700         * tests/check/libs/collectpads.c:
8701         * tests/check/libs/controller.c:
8702         * tests/check/libs/gdp.c: (gst_dp_suite):
8703         * tests/check/libs/gstnetclientclock.c:
8704         * tests/check/libs/gstnettimeprovider.c:
8705         * tests/check/libs/libsabi.c: (libsabi_suite):
8706         * tests/check/libs/typefindhelper.c:
8707         * tests/check/pipelines/cleanup.c:
8708         * tests/check/pipelines/parse-launch.c:
8709         * tests/check/pipelines/simple-launch-lines.c:
8710         * tests/check/pipelines/stress.c: (stress_suite):
8711           use the new macro
8712
8713 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8714
8715         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
8716         * libs/gst/check/gstcheck.h:
8717           create a macro and function so that the simple unit test
8718           case can be just one macro to create main()
8719
8720 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
8721
8722         * gst/gstbin.c: (gst_bin_restore_thyself):
8723         * gst/gstxml.c: (gst_xml_make_element):
8724           Fix deserialisation from XML. Set parent manually
8725           instead of using gst_bin_add(), since gst_bin_add()
8726           will unlink all pads of the element being added.
8727           Fixes #341667.
8728
8729 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
8730
8731         Patch by: Peter Kjellerstedt <pkj at axis com>
8732
8733         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
8734           Fix missing g_strdup() and double free when using the
8735           --gst-plugin-load command line option (#346097).
8736
8737 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8738
8739         * gst/gstinfo.c:
8740           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
8741
8742         * libs/gst/net/gstnetclientclock.c:
8743         * libs/gst/net/gstnettimeprovider.c:
8744           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
8745
8746 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8747
8748         * docs/manual/advanced-dataaccess.xml:
8749           Fix buffer probe example compilation in
8750           ADM (#345708).
8751         
8752 2006-06-22  Edward Hervey  <edward@fluendo.com>
8753
8754         * gst/gstelement.c: (gst_element_pads_activate):
8755         We need to deactivate src pads first and then sink pads.
8756         The reason is the src pads might be blocking while holding the streaming
8757         lock, so we need to deactivate them first so that deactivating the sink
8758         pads doesn't block (since it will require the streaming lock).
8759
8760 2006-06-22  Wim Taymans  <wim@fluendo.com>
8761
8762         * libs/gst/base/gstbasetransform.c:
8763         (gst_base_transform_buffer_alloc):
8764         Forgot to remove two unneeded unrefs.
8765         Simplify a check _is_equal allready checks the obvious case.
8766
8767 2006-06-22  Wim Taymans  <wim@fluendo.com>
8768
8769         * docs/design/part-block.txt:
8770         Some docs about what pad_block should do.
8771
8772 2006-06-22  Wim Taymans  <wim@fluendo.com>
8773
8774         * gst/gstcaps.c: (gst_caps_replace):
8775         Fix crasher when passed NULL. Doc clarification.
8776         Optimize for the trivial case.
8777
8778         * gst/gstpipeline.c: (gst_pipeline_change_state):
8779         Small cleanups.
8780
8781         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8782         Small documentation cleanup.
8783
8784         * libs/gst/base/gstbasetransform.c:
8785         (gst_base_transform_buffer_alloc):
8786         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
8787         is what we need and it avoids a whole lot of redundant 
8788         refcount operations.
8789
8790 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
8791
8792         Patch by: Philip Jägenstedt  <philip at lysator liu se>
8793
8794         * docs/manual/advanced-dataaccess.xml:
8795           Fix 'Embedding static elements' section to use
8796           GST_PLUGIN_DEFINE_STATIC (#345607).
8797
8798 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8799
8800         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
8801           Attempt to 'fix' spuriously failing test case: it seems like the
8802           timeout of half a second is simply too small when the system is under
8803           load otherwise, and the timeout doesn't really seem to serve any
8804           particular purpose here. Give the pipeline a few seconds to preroll
8805           first, and then give it another half a second to go from PAUSED to
8806           PLAYING and marshal the message into the main thread.
8807
8808 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8809
8810         * tools/gst-feedback-m.m:
8811           Don't only use unversioned tools, try versioned tools as well
8812           (#345086).
8813
8814 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8815
8816         * gst/gstbus.c: (gst_bus_class_init):
8817           Fix some typos, make docs more explicit.
8818
8819 2006-06-20  Wim Taymans  <wim@fluendo.com>
8820
8821         * tests/check/gst/gstghostpad.c: (block_callback),
8822         (GST_START_TEST), (gst_ghost_pad_suite):
8823         Added some more ghostpad tests, mainly blocking
8824         and probes.
8825
8826 2006-06-16  Wim Taymans  <wim@fluendo.com>
8827
8828         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8829         (gst_file_sink_close_file), (gst_file_sink_do_seek),
8830         (gst_file_sink_event), (gst_file_sink_render):
8831         * plugins/elements/gstfilesink.h:
8832         Check if we can seek in the file instead of assuming
8833         we always can. Post an error when we are asked to seek in a
8834         non-seekable file (like a fifo). Fixes #343312.
8835         Some cleanups.
8836
8837 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
8838
8839         * tools/gst-launch.1.in:
8840           Un-garble (fourcc) bit in filtered caps section.
8841
8842 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
8843
8844         * docs/manual/advanced-autoplugging.xml:
8845         * docs/manual/basics-helloworld.xml:
8846         * docs/manual/highlevel-components.xml:
8847           Don't leak bus reference in sample code.
8848
8849 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
8850
8851         * autogen.sh:
8852           Add default for new --enable-plugin-docs switch.
8853
8854         * configure.ac:
8855           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
8856           Fixes #344039.
8857
8858         * docs/Makefile.am:
8859           Use new ENABLE_PLUGIN_DOCS conditional.
8860
8861 2006-06-14  Wim Taymans  <wim@fluendo.com>
8862
8863         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
8864         Make it clear with a FIXME and a real define what the #if 0
8865         previously disabled.
8866
8867 2006-06-14  Wim Taymans  <wim@fluendo.com>
8868
8869         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8870         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8871         * libs/gst/base/gstbasetransform.c:
8872         (gst_base_transform_sink_eventfunc):
8873         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8874         Don't randomly and silently reset a segment when the format 
8875         changes as this is a bug somewhere upstream. Fixes #330379.
8876
8877 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8878
8879         Patch by: Wouter Paesen  <wouter at kangaroot net>
8880
8881         * libs/gst/controller/gstcontroller.c:
8882         (gst_controlled_property_new):
8883           Fix controlling of float properties (#344849).
8884
8885         * tests/check/libs/controller.c:
8886         (gst_test_mono_source_get_property),
8887         (gst_test_mono_source_set_property),
8888         (gst_test_mono_source_class_init), (GST_START_TEST):
8889           While we're at it, add some float stuff to unit test.
8890
8891 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8892
8893         * docs/README:
8894         * docs/images/gdp-header.svg:
8895           add a gdp image
8896         * docs/libs/Makefile.am:
8897         * docs/libs/gdp-header.png:
8898         * libs/gst/dataprotocol/dataprotocol.c:
8899           add it to the API docs
8900         * docs/manual/intro-motivation.xml:
8901           fix typo
8902
8903 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
8904
8905         * gst/gst.c: (scan_and_update_registry), (init_post):
8906           If the fork()'ed child process can't write the updated registry cache
8907           file to disk for some reason, make it exit with a failure exit code,
8908           so that the parent can then re-scan the plugins itself and update the
8909           registry structures in memory and work with that (rather than failing
8910           when creating elements because seemingly no plugins are available).
8911           Refactor registry scanning code into separate function for this and
8912           also separate fork() and non-fork() code paths. Fixes #344748.
8913
8914 2006-06-13  Wim Taymans  <wim@fluendo.com>
8915
8916         * docs/manual/advanced-dataaccess.xml:
8917         Fix wrong PluginDesc. Fixes #344755.
8918
8919 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
8920
8921         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8922           Fix silly bug that prevented us from creating
8923           ~/.gstreamer-0.10 and writing the registry in one
8924           go (the first call to g_mkstemp() would overwrite the
8925           placeholder in the template string, so the second call
8926           to g_mkstemp() after creating the missing directory
8927           would then error out with 'invalid argument').
8928
8929 2006-06-13  Edward Hervey  <edward@fluendo.com>
8930
8931         * gst/gst.c: (init_post):
8932         Free string.
8933
8934 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8935
8936         * gst/glib-compat-private.h:
8937         * gst/glib-compat.c:
8938         * gst/glib-compat.h:
8939         * gst/gstvalue.c: (gst_value_serialize_flags):
8940           remove GLib 2.6 compatibility code
8941
8942 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
8943
8944         * gst/parse/Makefile.am:
8945           Fix build with 'make -j N' even more (#340016).
8946
8947 2006-06-12  Wim Taymans  <wim@fluendo.com>
8948
8949         * docs/gst/gstreamer-sections.txt:
8950         Fix docs.
8951
8952 2006-06-12  Wim Taymans  <wim@fluendo.com>
8953
8954         * gst/gstsegment.c: (gst_segment_set_duration),
8955         (gst_segment_set_last_stop), (gst_segment_set_seek),
8956         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8957         (gst_segment_to_running_time), (gst_segment_clip):
8958         Use G_UNLIKELY to help the compiler a bit.
8959
8960 2006-06-12  Wim Taymans  <wim@fluendo.com>
8961
8962         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8963
8964         * gst/gstevent.c: (gst_event_get_type):
8965         * gst/gstmessage.c:
8966         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8967         (gst_pad_push):
8968         constify quark registration strings. Fixes #344115
8969         Avoid unneeded type checking is _pad_push() by internally
8970         calling gst_pad_chain_unchecked().
8971
8972 2006-06-12  Wim Taymans  <wim@fluendo.com>
8973
8974         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
8975         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
8976         (gst_subbuffer_finalize), (gst_buffer_create_sub),
8977         (gst_buffer_is_span_fast), (gst_buffer_span):
8978         Init _type for consistency.
8979         Use _FLAGS macro to avoid type check.
8980         Avoid unneeded type checks in subbufer code.
8981
8982 2006-06-12  Wim Taymans  <wim@fluendo.com>
8983
8984         * gst/gst.c: (gst_debug_help):
8985         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
8986         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
8987         (gst_plugin_feature_list_free):
8988         * gst/gstregistry.c: (gst_registry_add_plugin),
8989         (gst_registry_add_feature), (gst_registry_plugin_filter),
8990         (gst_registry_feature_filter), (gst_registry_find_plugin),
8991         (gst_registry_find_feature), (gst_registry_get_plugin_list),
8992         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
8993         * gst/gstregistryxml.c: (load_feature),
8994         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
8995         * gst/gstminiobject.c: (gst_mini_object_unref),
8996         (gst_mini_object_replace), (gst_value_mini_object_free),
8997         (gst_value_mini_object_copy):
8998         Use _CAST macros to avoid unneeded type checking.
8999         Added some more G_UNLIKELY.
9000
9001 2006-06-12  Wim Taymans  <wim@fluendo.com>
9002
9003         * gst/gstbuffer.h:
9004         Avoid unneeded type checking.
9005         API: GST_BUFFER_IS_DISCONT
9006
9007         * gst/gstminiobject.h:
9008         Avoid type check in flag accessor.
9009
9010         * gst/gstelementfactory.h:
9011         * gst/gstplugin.h:
9012         * gst/gstpluginfeature.h:
9013         Add _CAST macros.
9014         API: GST_ELEMENT_FACTORY_CAST
9015         API: GST_PLUGIN_CAST
9016         API: GST_PLUGIN_FEATURE_CAST
9017
9018 2006-06-12  Wim Taymans  <wim@fluendo.com>
9019
9020         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
9021         (gst_object_unref):
9022         Add G_UNLIKELY in type registration.
9023         Avoid type check in _ref/_unref since that is also
9024         done in glib.
9025
9026 2006-06-12  Wim Taymans  <wim@fluendo.com>
9027
9028         * gst/gsterror.c: (gst_g_error_get_type):
9029         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
9030         (gst_static_pad_template_get_type):
9031         * gst/gsttaglist.c: (gst_tag_list_get_type):
9032         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
9033         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
9034         * gst/gsturi.c: (gst_uri_handler_get_type):
9035         * gst/gstvalue.c: (gst_date_get_type):
9036         * gst/gstxml.c: (gst_xml_get_type):
9037         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
9038         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
9039         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
9040         Add G_UNLIKELY in type registration.
9041
9042 2006-06-12  Wim Taymans  <wim@fluendo.com>
9043
9044         * tools/gst-inspect.c: (print_signal_info):
9045         Properly print enum values.
9046
9047 2006-06-12  Wim Taymans  <wim@fluendo.com>
9048
9049         * gst/gstinfo.c: (gst_debug_set_active),
9050         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
9051         * gst/gstinfo.h:
9052         Add some G_[UN]LIKELY.
9053         Maintain __gst_debug_min to avoid formatting the arguments of
9054         debug messages that will be dropped anyway to avoid a lot of 
9055         overhead from the debugging system.
9056
9057 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
9058
9059         * po/POTFILES.in:
9060         * po/POTFILES.skip:
9061           add missing files containing translatable strings, tell intltool about
9062           one exception
9063
9064 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
9065
9066         * tests/check/libs/.cvsignore:
9067         add test-binary to ignore list
9068
9069 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
9070
9071         * docs/libs/gstreamer-libs-docs.sgml:
9072         reorder (put dp into a chapter) and indent
9073
9074 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9075
9076         * configure.ac:
9077           back to HEAD
9078
9079 === release 0.10.8 ===
9080
9081 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
9082
9083         * configure.ac:
9084           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
9085
9086 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9087
9088         * gst/gst.c: (init_post):
9089           move pid declaration to declaration block
9090
9091 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9092
9093         * gst/gst.c: (init_post):
9094           use _exit() instead of exit() in our forked child; this ensures
9095           that none of the registered exit handlers from whatever is using
9096           GStreamer get executed.  This fixes gnome-mixer-applet failing
9097           to load, because ORBit would shut down.
9098           Spotted by: Edward Hervey  <edward@fluendo.com>
9099           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
9100           Fixes #344474
9101
9102 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9103
9104         * configure.ac:
9105           back to TRUNK
9106
9107 === release 0.10.7 ===
9108
9109 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
9110
9111         * configure.ac:
9112           releasing 0.10.7, "Soepeke, ik zie ou"
9113
9114 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9115
9116         * configure.ac:
9117         * po/af.po:
9118         * po/az.po:
9119         * po/bg.po:
9120         * po/ca.po:
9121         * po/cs.po:
9122         * po/de.po:
9123         * po/en_GB.po:
9124         * po/fr.po:
9125         * po/it.po:
9126         * po/nb.po:
9127         * po/nl.po:
9128         * po/ru.po:
9129         * po/sq.po:
9130         * po/sr.po:
9131         * po/sv.po:
9132         * po/tr.po:
9133         * po/uk.po:
9134         * po/vi.po:
9135         * po/zh_CN.po:
9136         * po/zh_TW.po:
9137         * win32/common/config.h:
9138           0.10.6.2 prerelease
9139
9140 2006-06-07  Wim Taymans  <wim@fluendo.com>
9141
9142         * gst/gstindex.c: (gst_index_gtype_resolver):
9143         * tools/gst-xmlinspect.c: (print_plugin_info):
9144         Fix leak spotted by coverity checker. Fixes #343827
9145         Fix another other leak found by paolo borelli.
9146
9147 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9148
9149         * libs/gst/dataprotocol/dataprotocol.c:
9150         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
9151         (gst_dp_version_get_type), (gst_dp_init),
9152         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
9153         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
9154         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
9155         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
9156         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
9157         (gst_dp_packetizer_free):
9158         * libs/gst/dataprotocol/dataprotocol.h:
9159           API: add a GstDPPacketizer object, and create/free functions
9160           API: add GstDPVersion enum
9161           Add 1.0 event function that uses the string serialization
9162           Serialize more useful buffer flags
9163           Fixes #343988
9164
9165 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9166
9167         * tests/check/Makefile.am:
9168         * tests/check/gst/gstabi.c:
9169         * tests/check/gst/struct_ppc64.h:
9170         * tests/check/libs/libsabi.c:
9171         * tests/check/libs/struct_ppc64.h:
9172           add ppc64 structure sizes
9173
9174 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9175
9176         * tests/check/Makefile.am:
9177         * tests/check/gst/gstabi.c:
9178         * tests/check/gst/struct_x86_64.h:
9179         * tests/check/libs/libsabi.c:
9180         * tests/check/libs/struct_x86_64.h:
9181           generate and add structure size lists for x86_64
9182
9183 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9184
9185         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
9186         * libs/gst/check/gstcheck.h:
9187           factor out the method from tests that checks size of structures,
9188           and add code to generate the header containing these sizes
9189         * tests/check/gst/gstabi.c: (GST_START_TEST):
9190         * tests/check/gst/struct_i386.h:
9191         * tests/check/libs/libsabi.c: (GST_START_TEST):
9192         * tests/check/libs/struct_i386.h:
9193           use it
9194
9195 2006-06-06  Michael Smith  <msmith@fluendo.com>
9196
9197         * gst/gstsegment.h:
9198           Don't use c++-style comments, fixes #343929
9199
9200 2006-06-05  Edward Hervey  <edward@fluendo.com>
9201
9202         * gst/gst.c:
9203         plugin_paths is not used if we build without registry support.
9204
9205         * gst/gstsegment.c: (gst_segment_copy): 
9206         _copy() was always returning NULL...
9207
9208 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9209
9210         * libs/gst/dataprotocol/dataprotocol.c:
9211         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9212         (gst_dp_packet_from_event):
9213           factor out CRC code
9214
9215 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9216
9217         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
9218           make sure we unset caps
9219
9220 2006-06-02  Michael Smith  <msmith@fluendo.com>
9221
9222         * libs/gst/check/gstcheck.c: (gst_check_init),
9223         (gst_check_chain_func):
9224         * libs/gst/check/gstcheck.h:
9225           Add a cond/mutex to the check support lib, signal this whenever we
9226           add to the buffers list. This will allow tests to not busy-wait on
9227           the buffer-list.
9228
9229 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9230
9231         * libs/gst/dataprotocol/dataprotocol.c:
9232         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9233         (gst_dp_packet_from_event):
9234           factor out some common header init code
9235
9236 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9237
9238         * docs/libs/gstreamer-libs-sections.txt:
9239         * docs/libs/tmpl/gstdataprotocol.sgml:
9240         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
9241         * libs/gst/dataprotocol/dataprotocol.h:
9242           API: make gst_dp_crc() public
9243
9244 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
9245
9246         * plugins/indexers/gstindexers.c: (plugin_init):
9247         conditionally register fileindexer (fixes #343598)
9248
9249 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
9250
9251         * gst/gsttagsetter.h:
9252         Can't cast ifaces to a class
9253
9254         * libs/gst/net/gstnetclientclock.h:
9255         * libs/gst/net/gstnettimeprovider.h:
9256         * plugins/elements/gstfakesink.h:
9257         * plugins/elements/gstfakesrc.h:
9258         * plugins/elements/gstfdsink.h:
9259         * plugins/elements/gstfdsrc.h:
9260         * plugins/elements/gstfilesink.h:
9261         * plugins/elements/gstfilesrc.h:
9262         * plugins/elements/gstidentity.h:
9263         * plugins/elements/gstqueue.h:
9264         * plugins/elements/gsttee.h:
9265         * plugins/indexers/gstfileindex.c:
9266         * plugins/indexers/gstmemindex.c:
9267         * tests/old/examples/plugins/example.h:
9268         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
9269
9270 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9271
9272         * libs/gst/dataprotocol/dataprotocol.c:
9273         (gst_dp_header_from_buffer):
9274           make sure we zero the whole ABI-compatible area
9275
9276 2006-06-01  Wim Taymans  <wim@fluendo.com>
9277
9278         Patch by: Alessandro Decina <alessandro at nnva dot org>
9279
9280         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
9281         Make sure the EOS flag is cleared from pads after a flush
9282         or stop. Fixes #343538.
9283
9284         * tests/check/libs/collectpads.c: (GST_START_TEST),
9285         (gst_collect_pads_suite):
9286         Added test for collectpads reusage after EOS.
9287
9288 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
9289
9290         * gst/gst.c:
9291          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
9292         * win32/common/libgstbase.def:
9293          export gst_collect_pads_set_flushing
9294         * win32/common/libgstreamer.def:
9295          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
9296          gst_value_fraction_multiply
9297         * win32/vs6/gst_inspect.dsp:
9298          add a link to intl.lib
9299
9300 2006-05-30  Wim Taymans  <wim@fluendo.com>
9301
9302         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9303         (gst_collect_pads_chain):
9304         Handle the case where a pad is removed from the collection
9305         that could cause the other pads to become collectable.
9306
9307 2006-05-30  Wim Taymans  <wim@fluendo.com>
9308
9309         * gst/gstelement.c:
9310         Clarify the use of _release_request_pad() and
9311         _get_request_pad() a bit better.
9312
9313         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
9314         (gst_adapter_take_buffer):
9315         Fix some doc and comment typos.
9316
9317 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9318
9319         * docs/gst/gstreamer-sections.txt:
9320         * docs/libs/gstreamer-libs-sections.txt:
9321           add declared symbols
9322
9323 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
9324
9325         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9326         Add debug that can be enabled using a #define at the top of the file,
9327         for dumping stats about how late/early we were when waking up from
9328         waiting on the clock.
9329
9330 2006-05-30  Wim Taymans  <wim@fluendo.com>
9331
9332         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
9333         When rebuilding the pad list, don't leak the previous list.
9334
9335 2006-05-30  Wim Taymans  <wim@fluendo.com>
9336
9337         Patch by: Lutz Mueller <lutz at topfrose dot de>
9338
9339         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9340         (gst_base_src_get_query_types), (gst_base_src_update_length):
9341         Publish supported query types.
9342         Update last_stop field in get_range mode so the position
9343         query works. Fixes #342321.
9344
9345 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
9346
9347         * docs/gst/gstreamer-sections.txt:
9348         * gst/gsttaglist.c: (_gst_tag_initialize):
9349         * gst/gsttaglist.h:
9350           API: add GST_TAG_PREVIEW_IMAGE (#343341).
9351
9352 2006-05-30  Wim Taymans  <wim@fluendo.com>
9353
9354         Patch by: Alessandro Decina <alessandro at nnva dot org>
9355
9356         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9357         Unlock mutex when removing an unknown pad.
9358         Fixes #343334.
9359
9360         * tests/check/Makefile.am:
9361         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
9362         (push_event), (setup), (teardown), (GST_START_TEST),
9363         (gst_collect_pads_suite), (main):
9364         Added collecpads check, disabled for now as check crashes for
9365         some reason.
9366
9367 2006-05-29  Wim Taymans  <wim@fluendo.com>
9368
9369         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
9370         Don't leak pads lists.
9371
9372 2006-05-29  Wim Taymans  <wim@fluendo.com>
9373
9374         * docs/libs/gstreamer-libs-sections.txt:
9375         * libs/gst/base/gstcollectpads.c:
9376         (gst_collect_pads_set_flushing_unlocked),
9377         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9378         (gst_collect_pads_stop):
9379         * libs/gst/base/gstcollectpads.h:
9380         API: gst_collect_pads_set_flushing()
9381         Added api to set the pads to flushing, useful for seeking
9382         code in elements using collectpads.
9383         Clear segment when receiving a flush.
9384
9385 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
9386
9387         * gst/gst.c: (add_path_func), (init_post):
9388           Don't scan registry paths passed via --gst-plugin-path immediately
9389           (will crash, because absolutely nothing is set up and no types are
9390           registered etc.); do this later in init_post(). Fixes #343057.
9391
9392 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9393
9394         * gst/gst.c: (init_post):
9395           if we have fork, fork while reading/rebuilding the registry
9396           so the parent doesn't take the hit of having all plugins loaded
9397           in memory.  Fixes #342777.
9398         * configure.ac:
9399           Check if we have fork()
9400         * win32/common/config.h.in:
9401           no fork() on win32
9402
9403 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
9404
9405         * plugins/elements/gstelements.c:
9406         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9407         (gst_file_src_init), (gst_file_src_set_property),
9408         (gst_file_src_get_property), (gst_file_src_start):
9409         * plugins/elements/gstfilesrc.h:
9410           API: GstFileSrc::use-mmap
9411
9412         Add a use-mmap property to enable easier testing of all code paths.
9413         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
9414         in the absence of gnomevfssrc. (Closes #340501)
9415
9416 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9417
9418         * tools/gst-inspect.c:
9419         Add missing include, removes warning of ngettext not being defined on
9420         some arches.
9421
9422 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
9423
9424         * gst/gstvalue.c: (gst_value_deserialize_fraction):
9425         Handle NULL input and output pointers silently as a failed conversion,
9426         rather than g_warnings.
9427
9428 2006-05-25  Wim Taymans  <wim@fluendo.com>
9429
9430         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
9431         Initialize variable before using. Fixes #342820.
9432
9433 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
9434
9435         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
9436           Fix off-by-one bug that would only allow peeks of N-1 bytes
9437           from the start even if the buffer to typefind on contains
9438           in fact N bytes of data (makes vorbis typefinding from a
9439           vorbis identification header buffer work).
9440
9441         * tests/check/Makefile.am:
9442         * tests/check/libs/.cvsignore:
9443         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
9444         (gst_typefindhelper_suite), (main), (foobar_typefind),
9445         (plugin_init):
9446           Add very basic unit test for gst_type_find_helper_for_buffer()
9447           that checks for the problem fixed above.
9448
9449 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9450
9451         * tools/gst-inspect.c: (print_interfaces),
9452         (print_element_properties_info), (print_element_list), (main):
9453           add more translatable strings
9454
9455 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
9456
9457         Patch by: Julien Moutte  <julien at moutte net>
9458
9459         * docs/gst/gstreamer-sections.txt:
9460           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
9461           
9462         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9463         (gst_fake_sink_preroll):
9464         * plugins/elements/gstfakesink.h:
9465           API: Add new GstFakeSink::preroll-handoff signal (#337100).
9466
9467 2006-05-23  Wim Taymans  <wim@fluendo.com>
9468
9469         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
9470         * gst/gstpad.h:
9471         Added _CUSTOM error and success GstFlowReturn that can be
9472         used be elements internally. 
9473         Added macro to check for SUCCESS flowreturns.
9474         API: GST_FLOW_CUSTOM_SUCCESS
9475         API: GST_FLOW_CUSTOM_ERROR
9476         API: GST_FLOW_IS_SUCCESS
9477
9478         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
9479         Added check for GstFlowReturn sanity.
9480
9481 2006-05-23  Wim Taymans  <wim@fluendo.com>
9482
9483         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9484
9485         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9486         (gst_collect_pads_event):
9487         clear/reset segment info in FLUSH_STOP.
9488         Fixes #336929.
9489
9490 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
9491
9492         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
9493         (gst_collect_pads_check_collected):
9494         Flush queued buffer on _stop(), fixes playing again (#342454)
9495
9496 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9497
9498         * tests/check/gst/gststructure.c: (GST_START_TEST),
9499         (gst_structure_suite):
9500           add a test for a complete structure
9501
9502 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9503
9504         * docs/faq/developing.xml:
9505         * docs/faq/faq.xml:
9506         * docs/faq/troubleshooting.xml:
9507         * docs/faq/using.xml:
9508           Some minor FAQ updates that won't change the fact that
9509           our FAQ is badly structured, full of information hardly
9510           anyone new to GStreamer needs to know and lacking lots
9511           of information people constantly ask for.
9512           
9513 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
9514
9515         * gst/gstpad.c: (gst_pad_set_caps):
9516           Short-circuit gst_pad_set_caps if setting the existing
9517           caps pointer again, and avoid printing debug and 
9518           reffing/unreffing the caps.
9519
9520         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9521           There's actually no need to set the caps before pushing -
9522           the acceptcaps method will handle it anyway.
9523
9524 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9525
9526         * docs/gst/gstreamer-sections.txt:
9527         * win32/common/libgstreamer.def:
9528         * gst/gstutils.c: (gst_element_seek_simple):
9529         * gst/gstutils.h:
9530           API: add gst_element_seek_simple() (#342238).
9531
9532 2006-05-18  Edward Hervey  <edward@fluendo.com>
9533
9534         * gst/gsttypefind.c: (gst_type_find_get_type):
9535         * gst/gsttypefind.h:
9536         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
9537         registered for GstTypeFind pointers. This allows wrapping the structure
9538         in bindings (i.e. gst-python).
9539
9540 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9541
9542         * gst/gsttagsetter.c:
9543           Docs additions and fixes (see #339918).
9544
9545 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
9546
9547         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9548         The caps intersection algorithm can produce multiple copies of the
9549         caps. Until that is fixed, we need to simplify the result to be
9550         sure whether the allowed caps are fixed or not.
9551
9552         * plugins/elements/gstqueue.c: (gst_queue_init),
9553         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
9554         (gst_queue_push_one):
9555         Proxied buffer alloc should not set the caps on the source pad.
9556         When pushing buffers, we always accept the caps change that triggers.
9557         This prevents negotiation errors caused by caps changing mid-stream 
9558         and then being refused on our source pad (because upstream is now
9559         refusing those caps).
9560
9561 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9562
9563         * tests/examples/helloworld/helloworld.c: (main):
9564           Must plug audioconvert and audioresample between decoder
9565           and audio sink.
9566
9567 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
9568
9569         * gst/gstregistryxml.c: (read_string), (load_pad_template),
9570         (load_feature), (load_plugin):
9571         Allow empty strings for some of the plugin fields so we don't 
9572         drop valid plugin entries that were written out correctly
9573         (Fixes #341479)
9574
9575 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
9576         
9577         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9578           Use g_remove and g_rename instead of remove and rename that don't 
9579           handle utf8 characters. rename was failing for users who had specific
9580           characters in their name then the registry was built at each 
9581           gstreamer init.
9582         * win32/vs6/gst_inspect.dsp:
9583         * win32/vs6/gst_launch.dsp:
9584         * win32/vs6/libgstbase.dsp:
9585         * win32/vs6/libgstcoreelements.dsp:
9586         * win32/vs6/libgstreamer.dsp:
9587           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
9588           build of libgstreamer and clean unused libraries in projects link 
9589           settings.
9590
9591 2006-05-17  Edward Hervey  <edward@fluendo.com>
9592
9593         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9594         The queue is not responsible for pushing an EOS when receiving a fatal
9595         flow error. It's up to the real element driving the pipeline to do that.
9596
9597 2006-05-16  Edward Hervey  <edward@fluendo.com>
9598
9599         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9600         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
9601         buffer returned a fatal error. It should just send an EOS and stop
9602         its task.
9603         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
9604         when pushing buffers on the queue and will be able to handle the event.
9605
9606 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
9607
9608         * docs/manual/basics-bins.xml:
9609         * docs/manual/basics-init.xml:
9610           Fix typos and minor errors in sample code (#341856).
9611
9612 2006-05-16  Wim Taymans  <wim@fluendo.com>
9613
9614         * docs/design/part-qos.txt:
9615         Fix indexes in formulas to make more sense.
9616
9617 2006-05-15  Wim Taymans  <wim@fluendo.com>
9618
9619         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9620         Don't report POSITION based on clock time if sync is
9621         disabled in a sink.
9622
9623 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
9624
9625         * gst/gstobject.h:
9626           Add cast to make compiler happy - refcount variable was a gint
9627           in GstObject but is a guint in GObject and g_atomic_int_get()
9628           wants a gint *.
9629
9630 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9631
9632         * gst/parse/Makefile.am:
9633           chain commands using &&, which also makes parallel make work
9634
9635 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
9636
9637         * docs/gst/gstreamer-sections.txt:
9638         * gst/gstevent.c:
9639         * gst/gstevent.h:
9640         * gst/gstmessage.h:
9641           Minor docs fixes.
9642
9643 === release 0.10.6 ===
9644
9645 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
9646
9647         * configure.ac:
9648           releasing 0.10.6, "Take the cannoli"
9649
9650 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
9651
9652         * tools/gst-launch.c: (print_tag):
9653           Fix use of uninitialized variable in the hypothetical
9654           case that some broken plugin creates a GST_TAG_IMAGE
9655           tag containing a NULL buffer (#341667).
9656
9657 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
9658
9659         * tools/gst-launch.c: (print_tag):
9660           Print something more intelligible for image tags when
9661           using the -t switch (#341556).
9662
9663 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9664
9665         * Makefile.am:
9666           updates for win32
9667         * configure.ac:
9668           define GST_MAJORMINOR so we have it available in win32/common/config.h
9669           Possibly remove it from our Makefile.am files later
9670         * win32/common/config.h:
9671         * win32/common/config.h.in:
9672           added GST_MAJORMINOR
9673         * win32/common/gstenumtypes.c: (register_gst_resource_error):
9674         * win32/common/gstversion.h:
9675           updated
9676
9677 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
9678
9679         * win32/MANIFEST:
9680           Update win32 files listing.
9681         * win32/common/gstversion.h:
9682           Add GST_MAJORMINOR definition.
9683         * win32/common/libgstreamer.def:
9684           Add new exported functions.
9685           
9686 2006-05-12  Michael Smith  <msmith@fluendo.com>
9687
9688         * gst/gstplugin.c: (gst_plugin_load_file):
9689           If an so file has no plugin entry point, unload the module.
9690
9691 2006-05-11  Wim Taymans  <wim@fluendo.com>
9692
9693         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
9694         (gst_queue_set_property):
9695         Don't forget to signal the _chain or _loop function 
9696         when the queue size or thresholds change since that might
9697         cause them to make progres again.
9698
9699 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
9700
9701         * gst/gstclock.c: (gst_clock_class_init):
9702         * gst/gstindex.c: (gst_index_class_init):
9703         * gst/gstobject.c: (gst_object_class_init):
9704         * gst/gstpad.c: (gst_pad_class_init):
9705         * gst/gstpipeline.c: (gst_pipeline_class_init):
9706         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9707         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
9708         * libs/gst/base/gstbasetransform.c:
9709         (gst_base_transform_class_init):
9710         * libs/gst/net/gstnetclientclock.c:
9711         (gst_net_client_clock_class_init):
9712         * libs/gst/net/gstnettimeprovider.c:
9713         (gst_net_time_provider_class_init):
9714         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
9715         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9716         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9717         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
9718         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9719         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9720         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9721         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9722         * plugins/elements/gsttee.c: (gst_tee_class_init):
9723         * tests/old/examples/plugins/example.c: (gst_example_class_init):
9724         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9725           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
9726
9727 2006-05-11  Wim Taymans  <wim@fluendo.com>
9728
9729         * gst/gstbuffer.c: (_gst_buffer_initialize):
9730         Register subbufer along with the buffer type so that
9731         it does not accidentally gets registered from N
9732         different streaming threads in a non threadsafe way.
9733
9734 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9735
9736         * gst/gstbuffer.h:
9737         * gst/gstevent.h:
9738         * gst/gstmessage.h:
9739           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
9740           gst_event_ref() and gst_message_ref() functions again
9741           (ugly hack, please do fix if there's a better way besides
9742           overrides.txt, which doesn't seem to work).
9743
9744 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9745
9746         * libs/gst/check/gstcheck.h:
9747           add an assert for setting state to avoid lots of repetitive code
9748           in the future
9749
9750 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9751
9752         * gst/gstvalue.c: (gst_value_serialize_flags):
9753           fix a leak if no flags are set
9754         * tests/check/gst/gstvalue.c: (GST_START_TEST):
9755           fix leak in tests
9756
9757 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9758
9759         * docs/manual/basics-pads.xml:
9760           Expand a bit on caps and filtered links and update
9761           examples that were still using the no longer existing
9762           gst_pad_link_filtered() (#338206).
9763
9764 2006-05-10  Wim Taymans  <wim@fluendo.com>
9765
9766         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9767         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9768         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9769         (gst_collect_pads_stop):
9770         * libs/gst/base/gstcollectpads.h:
9771         No need to call _stop in _finalize.
9772         Iterate the main pad list in _finalize.
9773         Added some more debug.
9774         Free lists and data in the right order.
9775         Also free data whem doing _remove_pad when stopped for
9776         backward compatibility protect ::started with PAD_LOCK as
9777         well.
9778
9779 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9780
9781         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
9782         (gst_structure_parse_value):
9783           add some comments
9784           rename a method so that it actually says what it does better
9785
9786 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9787
9788         * gst/gstevent.c: (_gst_event_initialize):
9789         * gst/gstformat.c: (_gst_format_initialize):
9790           make sure some essential types used by events are registered
9791           as part of gst_init()
9792         * gst/gstvalue.c: (gst_value_serialize_flags):
9793           if no flags are set, serialize them to a value that represents NONE
9794           so that deserializing them works
9795         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9796           add tests for serialization and deserialization of flags
9797
9798 2006-05-10  Wim Taymans  <wim@fluendo.com>
9799
9800         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
9801         (gst_collect_pads_collect_range), (gst_collect_pads_available),
9802         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
9803         (gst_collect_pads_event), (gst_collect_pads_chain):
9804         Update docs.
9805         Better debug info.
9806         Catch and return errors from the collect function
9807         Refuse data on eos pads.
9808
9809 2006-05-10  Edward Hervey  <edward@fluendo.com>
9810
9811         * gst/gstinterface.h:
9812         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
9813         GInterface type checking.
9814         They were previously using non-defined macros.
9815
9816 2006-05-09  Wim Taymans  <wim@fluendo.com>
9817
9818         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
9819         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
9820         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
9821         (gst_collect_pads_start), (gst_collect_pads_stop),
9822         (gst_collect_pads_peek), (gst_collect_pads_pop),
9823         (gst_collect_pads_available), (gst_collect_pads_read),
9824         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
9825         (gst_collect_pads_is_collected), (gst_collect_pads_event),
9826         (gst_collect_pads_chain):
9827         * libs/gst/base/gstcollectpads.h:
9828         Clean up the mess that is collectpads, add comments and
9829         FIXMEs where needed.
9830         Maintain a separate pad list so we can add pads while
9831         collecting the other ones. For this we need a new separate 
9832         lock (see comics).
9833         Fix memory leak in finalize.
9834         Refactor some weird code to set/unset pad flushing flags, mark
9835         with comments.
9836         Don't crash in _available, _read, _flush when we're EOS.
9837
9838         * tests/check/libs/.cvsignore:
9839         Ignore adapter check binary.
9840
9841 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9842
9843         * gst/gstindex.c: (gst_index_resolver_get_type):
9844         * plugins/elements/gstfakesink.c:
9845         (gst_fake_sink_state_error_get_type):
9846         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9847         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
9848         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9849           Const-ify GEnumValue arrays.
9850
9851 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9852
9853         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9854           Add test case for flags + gst_buffer_make_metadata_writable().
9855
9856 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9857
9858         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
9859           gst_buffer_make_metadata_writable() should maintain the
9860           buffer flags (those that make sense at least) (see #340859).
9861
9862 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9863
9864         * tools/gst-inspect.c:
9865         * tools/gst-launch.c:
9866         * tools/gst-typefind.c:
9867         * tools/gst-xmlinspect.c:
9868         * tools/tools.h:
9869           Fix up includes: need to include stdlib.h in tools.h for exit().
9870
9871 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9872
9873         * gst/gsttaglist.c: (_gst_tag_initialize):
9874         * gst/gsttaglist.h:
9875           API: add GST_TAG_IMAGE tag (#340721).
9876
9877 2006-05-08  Wim Taymans  <wim@fluendo.com>
9878
9879         * gst/gstquery.c:
9880         Added some docs for the segment query.
9881
9882 2006-05-08  Wim Taymans  <wim@fluendo.com>
9883
9884         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9885         (gst_base_src_loop), (gst_base_src_change_state):
9886         Always push non-flushing serialized events in the streaming 
9887         thread.
9888
9889 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9890
9891         * gst/gsterror.c: (_gst_stream_errors_init):
9892           Add a missing error string.
9893
9894 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
9895
9896         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
9897         Add applied_rate to the debug
9898
9899         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9900         Copy applied_rate into the outgoing NEWSEGMENT event
9901
9902 2006-05-08  Wim Taymans  <wim@fluendo.com>
9903
9904         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
9905
9906         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9907         (gst_base_sink_change_state):
9908         call ::unlock before taking the PREROLL_LOCK so we can safely
9909         handle elements that lock in ::render.
9910         Fixes #340174.
9911
9912 2006-05-08  Edward Hervey  <edward@fluendo.com>
9913
9914         * autogen.sh: (CONFIGURE_DEF_OPT): 
9915         Darwin's libtoolize is in fact called glibtoolize.
9916         Adding glibtoolize to the list of accepted names for libtoolize.
9917
9918 2006-05-08  Wim Taymans  <wim@fluendo.com>
9919
9920         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9921         Unify error handling, don't post an error message
9922         when a push() returns EOS but perform our normal EOS
9923         handling code. Fixes #340772.
9924
9925 2006-05-08  Wim Taymans  <wim@fluendo.com>
9926
9927         * docs/design/part-overview.txt:
9928         Make upsteam/downstream concepts more clear.
9929         Give an example of serialized/non-serialized events.
9930
9931         * docs/design/part-events.txt:
9932         * docs/design/part-streams.txt:
9933         Mention applied_rate.
9934
9935         * docs/design/part-trickmodes.txt:
9936         Mention applied rate, flesh out some more use cases.
9937
9938         * gst/gstevent.c: (gst_event_new_new_segment),
9939         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
9940         (gst_event_parse_new_segment_full), (gst_event_new_tag),
9941         (gst_event_parse_tag), (gst_event_new_buffer_size),
9942         (gst_event_parse_buffer_size), (gst_event_new_qos),
9943         (gst_event_parse_qos), (gst_event_parse_seek),
9944         (gst_event_new_navigation):
9945         * gst/gstevent.h:
9946         Add applied_rate field to NEWSEGMENT event.
9947         API: gst_event_new_new_segment_full()
9948         API: gst_event_parse_new_segment_full()
9949
9950         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
9951         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
9952         (gst_segment_to_stream_time), (gst_segment_to_running_time):
9953         * gst/gstsegment.h:
9954         Add applied_rate to GstSegment structure.
9955         Make calculation of stream_time and running_time more correct
9956         wrt rate/applied_rate.
9957         Add some more docs.
9958         API: GstSegment::applied_rate field
9959         API: gst_segment_set_newsegment_full();
9960
9961         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9962         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
9963         * libs/gst/base/gstbasetransform.c:
9964         (gst_base_transform_sink_eventfunc),
9965         (gst_base_transform_handle_buffer):
9966         Parse and use applied_rate in the GstSegment field.
9967
9968         * tests/check/gst/gstevent.c: (GST_START_TEST):
9969         Add check for applied_rate field.
9970
9971         * tests/check/gst/gstsegment.c: (GST_START_TEST),
9972         (gstsegments_suite):
9973         Add more checks for various GstSegment operations.
9974
9975 2006-05-08  Wim Taymans  <wim@fluendo.com>
9976
9977         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9978         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
9979         (gst_base_sink_get_position), (gst_base_sink_change_state):
9980         Store the sync time of the buffer end position separatly in a
9981         new variable eos_rtime so we can properly sync the EOS event.
9982         Fixes #340697.
9983         Fix the docs for gst_base_sink_set_qos_enabled().
9984         Don't set segment start to invalid value when we receive a 
9985         non TIME newsegment.
9986         get closer to handling position reporting for negative rates 
9987         correctly.
9988
9989 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
9990
9991         * gst/gstcaps.c:
9992         Docs about how to print caps for debug purposes.
9993
9994         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
9995         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
9996
9997 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
9998
9999         * gst/gstelement.c:
10000           use full enum names and preprend a '%' in docs strings to make recent 
10001           gtk-doc turn that into a link
10002
10003 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
10004
10005         * docs/manual/basics-bins.xml:
10006         * docs/manual/basics-bus.xml:
10007         * docs/manual/basics-pads.xml:
10008           Some typo fixes, some additions, some clarifications. 
10009
10010 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
10011
10012         * tools/gst-inspect.c: (main):
10013         * tools/gst-launch.c: (main):
10014         * tools/gst-run.c: (main):
10015         * tools/gst-typefind.c: (main):
10016         * tools/gst-xmlinspect.c: (main):
10017           Use the string passed to g_option_context_new() for
10018           what it's intended for - the program name is already
10019           printed elsewhere.
10020
10021 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
10022
10023         * tools/Makefile.am:
10024         * tools/gst-inspect.c: (main):
10025         * tools/gst-launch.c: (main):
10026         * tools/gst-xmlinspect.c: (main):
10027         * tools/tools.h:
10028           Add back --version command line option (#340460).
10029
10030         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
10031           Add --version option and use GOption for argument parsing; refactor a
10032           bit; accept directories as arguments and recurse into them; lastly,
10033           print a decent error message when things go wrong.
10034
10035 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
10036
10037         * docs/manual/basics-bins.xml:
10038         Don't mention GstThread (#340611)
10039         * docs/manual/basics-elements.xml:
10040         Update link to GObject tutorial (#340607)
10041         
10042 2006-05-05  Wim Taymans  <wim@fluendo.com>
10043
10044         * gst/gstbuffer.h:
10045         * gst/gstminiobject.c:
10046         Add note about refcounting and miniobject/buffer writeability
10047         to docs. Fixes #340604
10048
10049         * gst/gstelementfactory.h:
10050         Added some explanation about @klass.
10051
10052 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
10053
10054         * docs/manual/intro-motivation.xml:
10055         * docs/manual/manual.xml:
10056         Avoid CORBA & Bonobo references (#340598)
10057
10058 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
10059
10060         * docs/manual/basics-bus.xml:
10061         * docs/manual/basics-pads.xml:
10062         Fix up some inaccuracies and omissions (#340609)
10063         
10064 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
10065
10066         * gst/gstghostpad.c:
10067           Small typo in docs (#340625)
10068
10069 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
10070
10071         * gst/parse/Makefile.am:
10072           Make 'make -j' proof (see #340698).
10073
10074 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
10075
10076         * configure.ac:
10077           Require GLib-2.8 here as well.
10078
10079 2006-05-05  Wim Taymans  <wim@fluendo.com>
10080
10081         * gst/glib-compat.c:
10082         * gst/gst.c: (init_pre):
10083         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10084         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
10085         (gst_object_dispatch_properties_changed):
10086         * gst/gstobject.h:
10087         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10088         * gst/gststructure.c: (gst_structure_set_valist):
10089         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10090         Remove pre glib2.8 compatibility, fixes #340508
10091
10092 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
10093
10094         * gst/gsttaglist.h:
10095           Mention type of tags in doc blurbs.
10096
10097 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
10098
10099         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10100         (gst_pad_configure_src), (gst_pad_push):
10101         Restore acceptcaps checking behaviour now that good plugins have
10102         been released.
10103
10104 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
10105
10106         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
10107
10108         * gst/gst.c:
10109         * gst/gstbus.c:
10110         * gst/gstclock.c:
10111         * gst/gstevent.c:
10112         * gst/gstformat.c:
10113         * gst/gstmessage.c:
10114         * gst/gstparse.c:
10115         * gst/gstquery.c:
10116         * gst/gstutils.c:
10117         * gst/parse/Makefile.am:
10118         * libs/gst/base/gstadapter.c:
10119         * libs/gst/base/gstbasesrc.c:
10120         * libs/gst/base/gstpushsrc.c:
10121         * libs/gst/base/gsttypefindhelper.c:
10122         * plugins/elements/gstfakesrc.c:
10123         * plugins/elements/gstidentity.c:
10124           Make sure gstprivate.h and/or config.h are
10125           always included first, otherwise some of our
10126           defines (like _FILE_OFFSET_BITS) might be
10127           redefined in the system headers. Fixes build
10128           on opensolaris (#340016).
10129
10130 2006-05-04  Wim Taymans  <wim@fluendo.com>
10131
10132         * docs/libs/gstreamer-libs-sections.txt:
10133         API: addition: gst_adapter_take_buffer()
10134         
10135         * libs/gst/base/gstadapter.c: (gst_adapter_push),
10136         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
10137         (gst_adapter_available_fast):
10138         * libs/gst/base/gstadapter.h:
10139         Prepare for optimizing the hell out of this hugely inefficient
10140         piece of code. 
10141         Added gst_adapter_take_buffer() so we can at least start thinking
10142         about subbuffering and merging.
10143         Added some comments.
10144
10145         * tests/check/Makefile.am:
10146         * tests/check/libs/adapter.c: (GST_START_TEST),
10147         (gst_adapter_suite), (main):
10148         Added GstAdapter check.
10149
10150 2006-05-04  Wim Taymans  <wim@fluendo.com>
10151
10152         * docs/design/part-overview.txt:
10153         Fix some typos, add blurb about buffer flags.
10154
10155 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10156
10157         * docs/libs/gstreamer-libs-sections.txt:
10158           make sure GstBaseTransformClass shows up in the docs
10159         * libs/gst/base/gstbasetransform.c:
10160         * libs/gst/base/gstbasetransform.h:
10161           move docs so gtk-doc picks it up now
10162
10163 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
10164
10165         * docs/libs/gstreamer-libs-sections.txt:
10166           add missing symbols to docs
10167
10168 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
10169
10170         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10171           back out the newsegment handling change, see #340060 for ongoing
10172           discussion
10173
10174 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
10175
10176         * tools/gst-run.c: (get_candidates), (main):
10177           Fix wrong g_file_test() usage (see glib docs for why it doesn't
10178           work); fix typo in error message. Fixes #340079.
10179
10180 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10181
10182         * common/Makefile.am:
10183         * docs/Makefile.am:
10184         * docs/faq/Makefile.am:
10185         * docs/gst/Makefile.am:
10186         * docs/libs/Makefile.am:
10187         * docs/manual/Makefile.am:
10188         * docs/plugins/Makefile.am:
10189         * docs/pwg/Makefile.am:
10190         * docs/slides/Makefile.am:
10191         * docs/upload.mak:
10192         * common/upload.mak:
10193           move upload.mak to common
10194
10195 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10196
10197         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10198           add more asserts on refcounts
10199           do more cleanup at end of tests
10200           fix test leaks showing in FC5
10201
10202 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
10203
10204         * plugins/elements/gsttypefindelement.c:
10205         (gst_type_find_element_handle_event):
10206         reverted wrong change and reflowed code to avoid others falling into
10207         this trap
10208
10209 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10210
10211         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10212           fix changelog entry about last collectpads change,
10213           add notes about proper fix
10214
10215 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10216
10217         * gst/gst.c:
10218         * gst/gstregistry.c: (gst_registry_scan_path_level),
10219         (gst_registry_scan_path):
10220         * gst/gstregistry.h:
10221           only write out registry if it has changed, fixes #338339
10222
10223 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10224
10225         * gst/gstbin.c:
10226         * gst/gstpipeline.c:
10227         * plugins/elements/gstcapsfilter.c:
10228         * plugins/elements/gstfakesink.c:
10229         * plugins/elements/gstfakesrc.c:
10230         * plugins/elements/gstfdsink.c:
10231         * plugins/elements/gstfdsrc.c:
10232         * plugins/elements/gstfilesink.c:
10233         * plugins/elements/gstfilesrc.c:
10234         * plugins/elements/gstidentity.c:
10235         * plugins/elements/gstqueue.c:
10236         * plugins/elements/gsttee.c:
10237         * plugins/elements/gsttypefindelement.c:
10238         (gst_type_find_element_handle_event):
10239           make GstElementDetails const
10240
10241 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10242
10243         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
10244         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
10245         (gst_collect_pads_is_collected), (gst_collect_pads_event):
10246           more detailed debug and formatting cleanup,
10247           forward newsegments to src-pad (so that e.g. adder not eats them)
10248
10249 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10250
10251         * gst/gstutils.c: (gst_element_link_pads):
10252           cleanup double code
10253
10254 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10255
10256         * libs/gst/controller/gstcontroller.c:
10257         (gst_controller_sync_values):
10258           some little tuning
10259         * tests/check/libs/controller.c: (GST_START_TEST),
10260         (gst_controller_suite):
10261           a new test for live value handling
10262
10263 2006-04-28  Wim Taymans  <wim@fluendo.com>
10264
10265         * gst/gstutils.c: (push_and_ref):
10266         Added some more docs.
10267         Fix refcount issue whith gst_element_found_tags() helper 
10268         function. Fixes #338335
10269
10270         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10271         Added testsuite for gst_element_found_tags().
10272
10273 2006-04-28  Michael Smith  <msmith@fluendo.com>
10274
10275         * gst/gstvalue.c: (gst_value_serialize_flags):
10276           Avoid NULL dereference when trying to serialize flags containing
10277           invalid values.
10278
10279 2006-04-28  Michael Smith  <msmith@fluendo.com>
10280
10281         * plugins/elements/gsttypefindelement.c:
10282         (gst_type_find_element_handle_event):
10283           If we get EOS before any data is accumulated, don't use
10284           uninitialised local variables.
10285
10286 2006-04-28  Michael Smith  <msmith@fluendo.com>
10287
10288         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10289         (gst_dp_event_from_packet):
10290           Fixes in reading/writing events over GDP (not currently used?) - 
10291           dereferencing NULL events for unknown/invalid event types, memory
10292           leak, and change g_warning to GST_WARNING.
10293
10294 2006-04-28  Wim Taymans  <wim@fluendo.com>
10295
10296         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
10297         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10298         (gst_base_sink_get_position), (gst_base_sink_change_state):
10299         When frame dropping is enabled, we should not ignore frames
10300         without a duration.
10301         Update some documentation.
10302
10303 2006-04-28  Wim Taymans  <wim@fluendo.com>
10304
10305         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10306         (gst_base_src_send_event), (gst_base_src_change_state):
10307         Documentation updates.
10308
10309 2006-04-28  Wim Taymans  <wim@fluendo.com>
10310
10311         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
10312         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
10313         handle EAGAIN, EINTR and short writes correctly. Also clean
10314         up some error cases, avoid a deadlock on bad file descriptors and
10315         use GST_DEBUG_OBJECT.
10316         Fixes #339843
10317
10318 2006-04-28  Wim Taymans  <wim@fluendo.com>
10319
10320         * gst/gstvalue.c: (gst_value_serialize_buffer),
10321         (gst_value_deserialize_buffer):
10322         Don't try to serialize a GValue with a NULL buffer. 
10323         Fixes #339821.
10324
10325         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10326         Added check for serialisation of NULL buffers.
10327
10328 2006-04-28  Wim Taymans  <wim@fluendo.com>
10329
10330         * gst/gstminiobject.c: (gst_value_take_mini_object):
10331         Taking a NULL miniobject is valid, fix the case where
10332         we try to unref the NULL miniobject.
10333
10334 2006-04-28  Wim Taymans  <wim@fluendo.com>
10335
10336         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10337
10338         * gst/gstbin.c: (gst_bin_handle_message_func):
10339         Update docs.
10340         Don't leak bin refcount when a state recalc is
10341         in progress and we delay another one #339808.
10342
10343 2006-04-28  Wim Taymans  <wim@fluendo.com>
10344
10345         * docs/design/part-TODO.txt:
10346         Mention QoS as an ongoing work item.
10347
10348         * docs/design/part-buffering.txt:
10349         New doc about buffering that needs to be fleshed out
10350         at some point.
10351
10352         * docs/design/part-qos.txt:
10353         More QoS policy for decoders/demuxers/transforms
10354
10355         * docs/design/part-trickmodes.txt:
10356         Small update.
10357
10358 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10359
10360         * configure.ac:
10361           back to HEAD
10362
10363 === release 0.10.5 ===
10364
10365 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
10366
10367         * configure.ac:
10368           releasing 0.10.5, "Fogo"
10369
10370 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10371
10372         patch by: Wim Taymans
10373
10374         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10375         (gst_pad_configure_src), (gst_pad_push):
10376         * gst/gstpipeline.c: (gst_pipeline_init):
10377           Fix internal data flow errors.  Fixes #338711.
10378
10379 2006-04-12  Wim Taymans  <wim@fluendo.com>
10380
10381         * tests/check/gst/gstelement.c: (GST_START_TEST):
10382         Don't leak the factory.
10383
10384 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10385
10386         * configure.ac:
10387         * win32/common/config.h:
10388           prerelease
10389
10390 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
10391
10392         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10393         (gst_controller_unset_all):
10394           Free allocated GstTimedValues when freeing list nodes.
10395           Should fix leaks 'make check-valgrind' complains about.
10396
10397         * win32/common/libgstcontroller.def:
10398           Add gst_controller_unset_all.
10399
10400 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
10401
10402         * docs/libs/gstreamer-libs-sections.txt:
10403         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10404         (gst_controller_unset_all):
10405         * libs/gst/controller/gstcontroller.h:
10406         API: Added new method gst_controller_unset_all()
10407         fixed gst_controller_unset()
10408         * tests/check/libs/controller.c: (GST_START_TEST),
10409         (gst_controller_suite):
10410         Added two testcases for new and fixed method
10411
10412 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
10413
10414         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10415           MSG_DONTWAIT is not defined on Cygwin, so work
10416           around that (fixes #317048).
10417           
10418 2006-04-11  Wim Taymans  <wim@fluendo.com>
10419
10420         * gst/gstelementfactory.c: (gst_element_register),
10421         (gst_element_factory_create), (gst_element_factory_make):
10422         Some cleanups.
10423         Fixed a FIXME.
10424         Updated docs (Fixes #131079)
10425
10426         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10427         Small cleanups.
10428
10429         * tests/check/gst/gstelement.c: (GST_START_TEST),
10430         (gst_element_suite):
10431         Added testcase for elementfactory class field.
10432
10433 2006-04-10  Wim Taymans  <wim@fluendo.com>
10434
10435         * gst/gstsegment.c:
10436         Added some more docs.
10437
10438         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
10439         (gst_base_sink_reset_qos):
10440         Calculate more accurate rate values.
10441
10442 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
10443
10444         * gst/gst_private.h:
10445           add a new #ifdef to use __declspec(dllimport) only for
10446           other modules and not for gstreamer core
10447         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
10448           use gst_guint64_to_gdouble for conversion
10449         * win32/common/libgstreamer.def:
10450           add new exported functions
10451         * win32/vs6/gst_inspect.dsp:
10452         * win32/vs6/gst_launch.dsp:
10453         * win32/vs6/libgstbase.dsp:
10454         * win32/vs6/libgstcontroller.dsp:
10455         * win32/vs6/libgstcoreelements.dsp:
10456         * win32/vs6/libgstdataprotocol.dsp:
10457         * win32/vs6/libgstnet.dsp:
10458           update project files
10459
10460 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10461
10462         * gst/gstbuffer.c: (gst_subbuffer_class_init):
10463         * gst/gstclock.c: (gst_clock_class_init):
10464         * gst/gstelement.c: (gst_element_class_init):
10465         * gst/gstindex.c: (gst_index_class_init):
10466         * gst/gstindexfactory.c: (gst_index_factory_class_init):
10467         * gst/gstobject.c: (gst_object_class_init),
10468         (gst_signal_object_class_init):
10469         * gst/gstpad.c: (gst_pad_class_init):
10470         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
10471         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
10472         * gst/gstregistry.c: (gst_registry_class_init):
10473         * gst/gstsystemclock.c: (gst_system_clock_class_init):
10474         * gst/gsttask.c: (gst_task_class_init):
10475         * gst/gstxml.c: (gst_xml_class_init):
10476         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10477         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10478         (gst_base_src_loop):
10479         * libs/gst/controller/gstcontroller.c:/
10480         (_gst_controller_class_init):
10481         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10482         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
10483         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
10484         * tests/old/examples/plugins/example.c: (gst_example_class_init):
10485         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10486         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
10487
10488 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
10489
10490         * gst/gstpad.c: (gst_pad_link):
10491           Must set peer pads before calling the link function, otherwise
10492           a task started from a link function might get a flow-not-linked
10493           result when trying to push because the other thread where the
10494           linking happens hasn't had a chance to set the peers yet. This
10495           might happen for example when a queue gets linked to a downstream
10496           element, as queue starts a streaming task when its source pad
10497           gets linked. Happens in real life when playing back flac/musepack
10498           files in playbin (#332390).
10499           
10500 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10501
10502         * gst/gstindex.h:
10503         * gst/gstxml.h:
10504         * libs/gst/base/gstadapter.h:
10505         * libs/gst/base/gstbasesink.h:
10506         * libs/gst/base/gstbasesrc.h:
10507         * libs/gst/base/gstbasetransform.h:
10508         * libs/gst/base/gstcollectpads.h:
10509         * libs/gst/base/gstpushsrc.h:
10510         Fix broken GObject macros
10511
10512 2006-04-07  Wim Taymans  <wim@fluendo.com>
10513
10514         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10515         Initialize start and stop times, thanks valgrind.
10516
10517 2006-04-07  Wim Taymans  <wim@fluendo.com>
10518
10519         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10520         Be a bit nicer to badly behaving upstream elements that expect
10521         us to deal with non TIME segments and timestamps (such as fakesrc
10522         in the testsuite).
10523
10524 2006-04-07  Wim Taymans  <wim@fluendo.com>
10525
10526         * gst/gstbus.c:
10527         Small documentation clarification about the signal watch.
10528
10529         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10530         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10531         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10532         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10533         (gst_base_sink_get_position_last),
10534         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
10535         Convert and store timestamps in stream time and running time, the
10536         raw timestamps are not useful, also document this better.
10537         Use different window sizes for good and bad QoS observations so
10538         we react to badness a little quicker.
10539         Keep track of the amount of rendered and dropped buffers.
10540         Send QoS timestamps in running time.
10541
10542         * libs/gst/base/gstbasetransform.c:
10543         (gst_base_transform_sink_eventfunc),
10544         (gst_base_transform_handle_buffer):
10545         Compare QoS timestamps against running time.
10546
10547 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10548
10549         * gst/gstpad.c:
10550           Typo fixes in docs.
10551
10552 2006-04-06  Michael Smith  <msmith@fluendo.com>
10553
10554         * gst/gstpad.c: (gst_pad_set_property):
10555           Use g_value_get_object() instead of g_value_dup_gst_object(),
10556           to avoid double-reffing the pad template (which we then sink,
10557           so this worked previously if (and only if) the pad template
10558           was floating.
10559
10560         * gst/gstpadtemplate.c: (gst_pad_template_init),
10561         (gst_pad_template_pad_created):
10562           Never return floating references to pad templates, create
10563           them as initially-sunken.
10564
10565           Document an extra function (and make this stop sinking our
10566           pad template, since that is now guaranteed to do nothing,
10567           since we created it sunken).
10568
10569         * gst/gstghostpad.c:
10570           Fix docs typo.
10571
10572 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10573
10574         * gst/gstinfo.c: (__gst_in_valgrind):
10575           Add some newlines.
10576
10577         * plugins/elements/gsttypefindelement.c:
10578         (gst_type_find_element_chain):
10579           Don't leak buffer caps.
10580
10581 2006-04-06  Michael Smith  <msmith@fluendo.com>
10582
10583         * gst/parse/grammar.y:
10584           Fix a leak in parse-launch for any source-or-sink named element 
10585           references used.
10586
10587         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
10588           Unref the pipeline if it exists after we've failed parsing.
10589
10590 2006-04-05  Michael Smith  <msmith@fluendo.com>
10591
10592         * gst/gstpipeline.c: (gst_pipeline_init):
10593           When we create a pipeline bus, initially create it in flushing mode.
10594           Fixes leaks in at least one test, and makes a new pipeline work the
10595           same as one that has gone to READY and then back to NULL.
10596
10597         * gst/gstelement.c:
10598           Typo fix in docs.
10599
10600 2006-04-05  Michael Smith  <msmith@fluendo.com>
10601
10602         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10603           Unref a pad we reffed.
10604         * tests/check/gst/gstutils.c: (GST_START_TEST):
10605           Unref bins
10606
10607 2006-04-05  Michael Smith  <msmith@fluendo.com>
10608
10609         * gst/gstquery.c: (gst_query_set_formats),
10610         (gst_query_set_formatsv):
10611           Fix leaking GValues in queries, as shown by valgrind/testsuite.
10612
10613 2006-04-05  Michael Smith  <msmith@fluendo.com>
10614
10615         * tests/check/generic/sinks.c: (GST_START_TEST):
10616           Fix a variety of memleaks in sinks check, which are only sometimes 
10617           shown by running the tests under valgrind (weird?).
10618
10619 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
10620
10621         * docs/version.entities.in:
10622           Fix the substituted entity name after thomas' changes on the
10623           weekend.
10624
10625 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10626
10627         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
10628         VALGRIND_PRINTF
10629         
10630 2006-04-05  Andy Wingo  <wingo@pobox.com>
10631
10632         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
10633
10634         * libs/gst/base/gstbasetransform.c
10635         (gst_base_transform_sink_eventfunc): When resetting our segment on
10636         FLUSH_STOP, also update the flag saying we haven't seen a
10637         newsegment.
10638
10639 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10640
10641         Patch by: Paolo Borelli  <pborelli at katamail dot com>
10642
10643         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10644         (gst_plugin_check_license):
10645           minor clean-ups: G_DEFINE_TYPE already takes care of the
10646           parent_class stuff, no need to do it twice. Mark array of
10647           license strings as constant. (#337103)
10648           
10649 2006-04-04  Michael Smith  <msmith@fluendo.com>
10650
10651         * tools/gst-inspect.c: (print_element_list):
10652           Free the right plugin list; fixes a memory leak.
10653
10654 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10655
10656         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
10657
10658         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10659           Don't error out on empty buffers (#336945).
10660           
10661 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
10662
10663         * docs/libs/gstreamer-libs-sections.txt:
10664         * gst/gsttaglist.c:
10665         * libs/gst/base/gstbasesink.c:
10666         * libs/gst/base/gstbasesink.h:
10667         * libs/gst/base/gstbasesrc.c:
10668         * libs/gst/base/gstbasesrc.h:
10669           Documentation updates. Make BaseSink and BaseSrc docs contain the
10670           class structure so that people can actually see the prototypes for
10671           virtual functions they're supposed to be overriding.
10672
10673 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10674
10675         * plugins/elements/gsttypefindelement.c:
10676         (gst_type_find_element_chain):
10677           More debug info; when skipping typefinding, send cached
10678           events in all cases.
10679
10680 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10681
10682         * configure.ac:
10683           use new AS_VERSION and AS_NANO macros
10684         * gst/gst-i18n-lib.h:
10685         * gst/gst.c:
10686         * gst/gsterror.c:
10687         * gst/gstversion.h.in:
10688         * win32/common/config.h:
10689         * win32/common/config.h.in:
10690           update accordingly
10691
10692 2006-03-31  Michael Smith  <msmith@fluendo.com>
10693
10694         * plugins/elements/gsttypefindelement.c:
10695         (gst_type_find_element_chain):
10696           Do not typefind content if the buffers already have caps.
10697           Neccesary for icydemux (#333657), and the right thing to do anyway.
10698
10699 2006-03-30  Wim Taymans  <wim@fluendo.com>
10700
10701         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10702         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
10703         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
10704         (gst_base_sink_record_qos_observation),
10705         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10706         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10707         (gst_base_sink_change_state):
10708         More QoS measurements as described in the design doc.
10709         Get rid of ringbuffer with observations, running average is
10710         more simple and equally good.
10711         Calculates valid proportion now.
10712         Added beginning of flood measurement.
10713
10714 2006-03-29  Wim Taymans  <wim@fluendo.com>
10715
10716         * docs/design/part-qos.txt:
10717         * gst/gstclock.c:
10718         Small documentation updates and additions.
10719
10720 2006-03-29  Wim Taymans  <wim@fluendo.com>
10721
10722         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10723         (gst_base_src_send_event), (gst_base_src_loop),
10724         (gst_base_src_change_state):
10725         Perform the EOS logic when we reach the segment stop position.
10726         Fix compilation on gcc4.1
10727
10728 2006-03-29  Wim Taymans  <wim@fluendo.com>
10729
10730         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
10731
10732         * plugins/elements/gstqueue.c: (gst_queue_init),
10733         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10734         (gst_queue_set_property):
10735         * plugins/elements/gstqueue.h:
10736         In queue, when EOS is received, if minimum threshold > max_size -
10737         current_level, there is chance that queue blocks forever in conditional
10738         item del wait. This is because the queue is not emptied completely due
10739         to minimum threshold.  Here is another approach. Instead of setting
10740         cur_levels to max in EOS, just zero all minimum threshold levels. This
10741         should make sure that queue gives out all data. When going to READY
10742         (stop) state, just reset the original minimum threshold levels.
10743         Fixes #336336.
10744
10745 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
10746
10747         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
10748         (gst_type_find_element_handle_event),
10749         (gst_type_find_element_send_cached_events),
10750         (gst_type_find_element_change_state):
10751         * plugins/elements/gsttypefindelement.h:
10752           When typefinding is done in push mode, we should cache
10753           events we receive during typefinding instead of just
10754           dropping them (e.g. newsegment, custom events from
10755           dvdreadsrc etc.) and then send them out once we've
10756           determined the type of the stream (and decodebin
10757           has had a chance to plug in a decoder/demuxer).
10758           
10759 2006-03-27  Wim Taymans  <wim@fluendo.com>
10760
10761         * docs/design/part-qos.txt:
10762         First QoS ideas.
10763
10764 2006-03-27  Wim Taymans  <wim@fluendo.com>
10765
10766         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
10767
10768         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10769         (gst_base_src_send_event), (gst_base_src_change_state):
10770         Handle element seek correctly when we are streaming.
10771         Fixes #326998.
10772
10773 2006-03-24  Michael Smith  <msmith@fluendo.com>
10774
10775         * docs/faq/gst-uninstalled:
10776           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
10777           allow you to correctly run intalled applications built against old 
10778           core, using plugins that require updated core (e.g. running
10779           installed totem against a full uninstalled gstreamer stack)
10780
10781 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10782
10783         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10784         more debug details
10785
10786 2006-03-24  Wim Taymans  <wim@fluendo.com>
10787
10788         * docs/gst/gstreamer-sections.txt:
10789         Rearrange the order of the methods so that related methods
10790         are grouped together in sections.
10791
10792 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10793
10794         * gst/gstelement.c:
10795           Little clarification in the docs
10796
10797 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10798
10799         * docs/README:
10800         formatting fix
10801         * plugins/elements/gstidentity.c:
10802         * plugins/elements/gstqueue.c:
10803         * plugins/elements/gsttee.c:
10804         * plugins/elements/gsttypefindelement.c:
10805         GST_ELEMENT_DETAILS formatting
10806
10807 2006-03-24  Wim Taymans  <wim@fluendo.com>
10808
10809         * libs/gst/base/gstbasesink.h:
10810         Only add fields, not insert or we break ABI.
10811
10812 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10813
10814         * win32/common/libgstbase.def:
10815         * win32/common/libgstreamer.def:
10816           Update, add recently added functions.
10817
10818 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10819
10820         * docs/gst/gstreamer-sections.txt:
10821         * gst/gstutils.c: (gst_pad_query_peer_position),
10822         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
10823         * gst/gstutils.h:
10824           API: add some new utility functions:
10825            - gst_pad_query_peer_position()
10826            - gst_pad_query_peer_duration()
10827            - gst_pad_query_peer_convert()
10828           
10829 2006-03-23  Wim Taymans  <wim@fluendo.com>
10830
10831         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10832         (gst_base_sink_init), (gst_base_sink_finalize),
10833         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
10834         (gst_base_sink_set_property), (gst_base_sink_get_property),
10835         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
10836         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10837         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
10838         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10839         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10840         (gst_base_sink_preroll_object), (gst_base_sink_event),
10841         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
10842         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
10843         (gst_base_sink_query), (gst_base_sink_change_state):
10844         Decouple max-lateness and the fact that QoS messages are generated
10845         with a new property (qos).
10846         added API: GstBaseSink::async_play()
10847         Add vmethod so subclasses can be notified of ASYNC playing
10848         state changes.
10849         Collect timestamp start and stop to report better current
10850         position in EOS/PLAYING/PAUSED/READY/NULL.
10851         Refactor QoS/frame dropping and other measurements.
10852         API: GstBaseSrc::qos
10853         Fixes #326311
10854
10855         * libs/gst/base/gstbasesink.h:
10856         Added Private struct.
10857         API: gst_base_sink_set_qos_enabled()
10858         API: gst_base_sink_is_qos_enabled()
10859
10860 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10861
10862         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10863           If compiling against GLib-2.8 or newer, try to read the
10864           registry file using GMappedFile first before falling back
10865           to fopen() + fread() (#332151).
10866
10867 2006-03-22  Wim Taymans  <wim@fluendo.com>
10868
10869         * gst/gstinfo.c: (gst_debug_set_active),
10870         (gst_debug_category_set_threshold):
10871         Disable debugging unless explicitly activated.
10872         Fixes #335480.
10873
10874 2006-03-22  Wim Taymans  <wim@fluendo.com>
10875
10876         * gst/gstelement.c: (gst_element_set_locked_state),
10877         (gst_element_dispose):
10878         Cleanup the error case.
10879
10880         * gst/gstobject.c: (gst_object_dispose):
10881         print a critical when some object was disposed with
10882         a parent, also revive the object since it might
10883         crash the parent.
10884
10885 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
10886
10887         * tools/gst-launch.1.in:
10888           Fix another typo.
10889
10890 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10891
10892         * configure.ac:
10893         * tests/check/Makefile.am:
10894           disable some tests when we don't have a registry
10895         * tests/check/gst/gstutils.c: (gst_utils_suite):
10896           don't build the part that needs parsing
10897
10898 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10899
10900         * gst/Makefile.am
10901         * tests/examples/Makefile.am:
10902           fix --disable-parse build
10903
10904 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10905
10906         * tools/gst-feedback.1.in:
10907           Fix typo: s/feeback/feedback/ (#133494).
10908
10909 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10910
10911         * tools/Makefile.am:
10912         * tools/gst-launch.1.in:
10913           Add FILES section and correct entry about GST_REGISTRY_PATH
10914           environment variable (#133495; #133494).
10915
10916 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10917
10918         * tools/Makefile.am:
10919         * tools/gst-md5sum.1.in:
10920         * tools/gst-md5sum.c:
10921           Remove gst-md5sum and man page (the md5sink element
10922           required was removed ages ago)
10923
10924 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10925
10926         * gst/gststructure.c: (gst_structure_id_set_value):
10927           Make sure that string fields in structures/taglists
10928           contain valid UTF-8 - we don't want to pass rubbish to
10929           applications because of a buggy plugin (cp. #334167).
10930
10931 2006-03-21  Edward Hervey  <edward@fluendo.com>
10932
10933         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10934         (gst_bin_handle_message_func):
10935         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
10936         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
10937         (gst_element_set_bus_func):
10938         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
10939         * gst/gstminiobject.c: (gst_value_set_mini_object),
10940         (gst_value_take_mini_object):
10941         * gst/gstpad.c: (gst_pad_set_pad_template):
10942         * gst/gstpipeline.c: (gst_pipeline_dispose),
10943         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10944         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
10945         (gst_collect_pads_chain):
10946         * libs/gst/net/gstnettimeprovider.c:
10947         (gst_net_time_provider_set_property):
10948         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
10949         It's in fact all issues with gst_*object_replace().
10950
10951 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10952
10953         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
10954         
10955         * pkgconfig/gstreamer-check-uninstalled.pc.in:
10956         * pkgconfig/gstreamer-check.pc.in:
10957           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
10958
10959 2006-03-21  Edward Hervey  <edward@fluendo.com>
10960
10961         * gst/gstbuffer.h:
10962         * gst/gstevent.h:
10963         * gst/gstmessage.h:
10964         gst_[buffer|event|message]_ref() macros are replaced by a static
10965         inline functions because gcc-4.1 will about if the return value
10966         isn't used.
10967         * tests/check/gst/gstevent.c: (event_probe):
10968         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
10969
10970 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
10971
10972         * gst/gstutils.h:
10973         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
10974         the type' case. (Closes: #335195 for now). In the future, when we
10975         depend on GLib 2.10, we could also intern the type name using
10976         g_intern_static_string()
10977
10978 2006-03-20  Wim Taymans  <wim@fluendo.com>
10979
10980         * gst/gstbin.c: (gst_bin_handle_message_func),
10981         (bin_query_max_init), (bin_query_position_fold),
10982         (bin_query_position_done), (gst_bin_query):
10983         Position query should also take max of all streams.
10984
10985 2006-03-20  Wim Taymans  <wim@fluendo.com>
10986
10987         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10988         (gst_fake_src_finalize):
10989         Fix leaks in fakesrc.
10990
10991         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10992         Fix leaks in the testcase.
10993
10994 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
10995
10996         * gst/gst_private.h:
10997           add win32 specific import decoration(__declspec(dllimport)) 
10998           for all extern GstDebugCategory * variables
10999         * win32/common/libgstbase.def:
11000         * win32/common/libgstcontroller.def:
11001         * win32/common/libgstreamer.def:
11002           Add some exports, remove empty lines
11003         * win32/common/libgstdataprotocol.def:
11004         * win32/common/libgstdataprotocol.dsp:
11005         * win32/common/libgstnet.def:
11006         * win32/common/libgstnet.dsp:
11007           new project files and exportation files added
11008         
11009 2006-03-19  Wim Taymans  <wim@fluendo.com>
11010
11011         * tests/check/libs/basesrc.c: (eos_event_counter):
11012         Use proper return value for probe.
11013
11014 2006-03-17  Wim Taymans  <wim@fluendo.com>
11015
11016         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
11017         (gst_pad_push):
11018         Don't leak buffers, caps and pads on negotiation errors.
11019
11020 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
11021
11022         * docs/faq/cvs.xml:
11023         * docs/faq/dependencies.xml:
11024         * docs/faq/developing.xml:
11025         * docs/faq/faq.xml:
11026         * docs/faq/general.xml:
11027         * docs/faq/getting.xml:
11028         * docs/faq/legal.xml:
11029         * docs/faq/troubleshooting.xml:
11030         * docs/faq/using.xml:
11031         Faq review and update.
11032
11033 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
11034
11035         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
11036         (gst_pad_push):
11037         Don't pound the cpu to pieces by checking get_caps when accept_caps
11038         is called with the same caps as the pad already has.
11039         Use GST_DEBUG_OBJECT when outputting caps change information.
11040
11041 2006-03-15  Wim Taymans  <wim@fluendo.com>
11042
11043         * gst/gstclock.c: (gst_clock_class_init):
11044         Fix docs.
11045
11046 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
11047
11048         * gst/gstbuffer.h:
11049         Documentation fix.
11050
11051         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
11052         (gst_pad_accept_caps), (gst_pad_configure_sink),
11053         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
11054         Make the default acceptcaps behaviour be to check the requested 
11055         caps against the gst_pad_get_caps output. 
11056
11057         Ensure that gst_pad_accept_caps is used to check caps when a pad
11058         doesn't have a setcaps function, so that pads automatically refuse 
11059         caps that they don't allow in their pad template. (Fixes #332986)
11060
11061         When a buffer with attached caps is pushed, ensure that the source 
11062         pad receives those caps even if the element didn't call
11063         gst_pad_set_caps first.
11064
11065 2006-03-15  Wim Taymans  <wim@fluendo.com>
11066
11067         * libs/gst/base/gstadapter.c:
11068         Add some docs.
11069
11070 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
11071
11072         * win32/common/libgstbase.def:
11073         * win32/common/libgstcontroller.def:
11074         * win32/common/libgstreamer.def:
11075           Add a whole bunch of missing functions (#334434).
11076
11077 2006-03-14  Wim Taymans  <wim@fluendo.com>
11078
11079         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
11080         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11081         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
11082         Better debug info when we receive a segment event.
11083         Reorganize a bit so we can pass the get_times() results around.
11084         Use the segment format when calculating the running time.
11085         Don't do QoS is sync is disabled or we have no clock or the
11086         element does not want us to sync to the clock.
11087         Don't drop buffers if QoS is disabled for now.
11088
11089 2006-03-14  Wim Taymans  <wim@fluendo.com>
11090
11091         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
11092         Marked the stats property as unimplemented so people don't get
11093         wild ideas.
11094         Add debug message when regression goes wrong.
11095         Added some more docs.
11096
11097 2006-03-14  Wim Taymans  <wim@fluendo.com>
11098
11099         * gst/gstsegment.c: (gst_segment_to_stream_time):
11100         Return correct return type in case of errors.
11101
11102 2006-03-14  Wim Taymans  <wim@fluendo.com>
11103
11104         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
11105           Don't segfault on invalid formats.
11106
11107 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
11108
11109         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11110           Can't use gst_segment_to_running_time() when the segment
11111           is not in GST_TIME_FORMAT (like with filesink, for example).
11112           Stops flac encoding pipelines from spewing critical warnings
11113           at EOS (#331248).
11114           
11115 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
11116
11117         * gst/gstpipeline.c: (gst_pipeline_class_init):
11118           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
11119
11120         * plugins/elements/gsttypefindelement.c:
11121         (gst_type_find_element_handle_event):
11122           Don't try to typefind empty streams.
11123
11124 2006-03-14  Wim Taymans  <wim@fluendo.com>
11125
11126         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11127         (gst_base_sink_do_qos):
11128         Separate QoS calculation.
11129         Only drop buffers when lateness is bigger than the 
11130         duration of the buffer.
11131
11132 2006-03-13  Wim Taymans  <wim@fluendo.com>
11133
11134         * gst/gstpipeline.c: (gst_pipeline_set_property),
11135         (gst_pipeline_get_property), (do_pipeline_seek),
11136         (gst_pipeline_change_state), (gst_pipeline_set_delay),
11137         (gst_pipeline_get_delay):
11138         Don't deadlock when reading properties.
11139
11140 2006-03-13  Wim Taymans  <wim@fluendo.com>
11141
11142         * libs/gst/base/gstbasetransform.c:
11143         (gst_base_transform_class_init), (gst_base_transform_init),
11144         (gst_base_transform_sink_event),
11145         (gst_base_transform_sink_eventfunc),
11146         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
11147         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
11148         (gst_base_transform_set_property),
11149         (gst_base_transform_get_property),
11150         (gst_base_transform_change_state), (gst_base_transform_update_qos),
11151         (gst_base_transform_set_qos_enabled),
11152         (gst_base_transform_is_qos_enabled):
11153         * libs/gst/base/gstbasetransform.h:
11154         Make basetransform virtual method for src events too.
11155         Handle QOS in basetransform.
11156         API: gst_base_transform_update_qos()
11157         API: gst_base_transform_set_qos_enabled()
11158         API: gst_base_transform_is_qos_enabled()
11159
11160 2006-03-13  Wim Taymans  <wim@fluendo.com>
11161
11162         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11163         (gst_base_sink_do_sync):
11164         Small cleanups.
11165         Use QOS debug category.
11166
11167 2006-03-13  Wim Taymans  <wim@fluendo.com>
11168
11169         * plugins/elements/gstqueue.c:
11170         Very small doc update.
11171
11172 2006-03-13  Wim Taymans  <wim@fluendo.com>
11173
11174         * gst/gst_private.h:
11175         * gst/gstinfo.c: (_gst_debug_init):
11176         Added QOS debug category
11177
11178 2006-03-13  Wim Taymans  <wim@fluendo.com>
11179
11180         * docs/gst/gstreamer-sections.txt:
11181         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
11182         * gst/gstbin.h:
11183         * gst/gstbus.c: (gst_bus_class_init):
11184         * gst/gstbus.h:
11185         * gst/gstclock.c:
11186         * gst/gstelement.c: (gst_element_set_locked_state):
11187         * gst/gstsegment.c:
11188         Documentation updates.
11189
11190         * gst/gstpipeline.c: (gst_pipeline_get_type),
11191         (gst_pipeline_class_init), (gst_pipeline_init),
11192         (gst_pipeline_dispose), (gst_pipeline_set_property),
11193         (gst_pipeline_get_property), (do_pipeline_seek),
11194         (gst_pipeline_send_event), (gst_pipeline_change_state),
11195         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
11196         (gst_pipeline_get_delay):
11197         * gst/gstpipeline.h:
11198         Added methods for setting the delay.
11199         API: gst_pipeline_set_delay()
11200         API: gst_pipeline_get_delay()
11201         Add pipeline debug category
11202         Various cleanups.
11203         Updated docs.
11204         Don't reset stream time when seek failed.
11205
11206 2006-03-13  Wim Taymans  <wim@fluendo.com>
11207
11208         * docs/design/draft-klass.txt:
11209         * docs/design/part-clocks.txt:
11210         * docs/design/part-events.txt:
11211         * docs/design/part-gstbin.txt:
11212         * docs/design/part-gstpipeline.txt:
11213         * docs/design/part-messages.txt:
11214         * docs/design/part-negotiation.txt:
11215         * docs/design/part-overview.txt:
11216         * docs/design/part-preroll.txt:
11217         * docs/design/part-seeking.txt:
11218         * docs/design/part-states.txt:
11219         * docs/design/part-streams.txt:
11220         Documentation updates.
11221
11222 2006-03-12  Julien MOUTTE  <julien@moutte.net>
11223
11224         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
11225         us to leak strings...
11226
11227 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11228
11229         * libs/gst/net/gstnettimeprovider.c:
11230           fix docs
11231         * win32/common/config.h:
11232           update
11233
11234 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
11235
11236         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
11237
11238         * configure.ac:
11239           Don't check for libgnomeui (leftover from old examples
11240           that aren't built or disted any longer) (#334303).
11241           
11242 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
11243
11244         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
11245         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
11246           Emit RESOURCE_NO_SPACE_LEFT error here as well when
11247           there's no space left on the device.
11248
11249 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
11250
11251         * gst/gstclock.h:
11252           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
11253           to cast the input to GstClockTime before comparing with
11254           another GstClockTime value.
11255
11256 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11257
11258         * configure.ac:
11259           back to trunk
11260
11261 === release 0.10.4 ===
11262
11263 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
11264
11265         * configure.ac:
11266           releasing 0.10.4, "Light"
11267
11268 2006-03-10  Michael Smith  <msmith@fluendo.com>
11269
11270         * libs/gst/dataprotocol/dataprotocol.c:
11271           Fix docs for dataprocotol to not get the return types completely
11272           wrong for a few functions.
11273
11274 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11275
11276         * docs/gst/gstreamer-sections.txt:
11277         * gst/gstpipeline.c: (gst_pipeline_class_init),
11278         (gst_pipeline_init), (gst_pipeline_set_property),
11279         (gst_pipeline_get_property), (gst_pipeline_change_state),
11280         (gst_pipeline_set_auto_flush_bus),
11281         (gst_pipeline_get_auto_flush_bus):
11282         * gst/gstpipeline.h:
11283           Add new API: gst_pipeline_set_auto_flush_bus() and
11284           gst_pipeline_get_auto_flush_bus() to disable automatic
11285           flushing of the pipeline's GstBus when going from READY
11286           to NULL state (#332045).
11287
11288 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11289
11290         * docs/gst/gstreamer-sections.txt:
11291         * gst/gsturi.c: (gst_uri_has_protocol):
11292         * gst/gsturi.h:
11293            Add new API: gst_uri_has_protocol() (#333779).
11294
11295 2006-03-09  Wim Taymans  <wim@fluendo.com>
11296
11297         * gst/gstclock.c: (gst_clock_entry_new),
11298         (gst_clock_id_compare_func), (gst_clock_id_wait),
11299         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
11300         (gst_clock_init), (gst_clock_get_internal_time),
11301         (gst_clock_set_master), (do_linear_regression),
11302         (gst_clock_add_observation), (gst_clock_set_property):
11303         * gst/gstclock.h:
11304         Review docs.
11305         Small cleanups.
11306         Fix a possible segfault when the window-size is made smaller.
11307         Calculate jitter before performing the clock wait. Ideally
11308         the clock implementation should calculate jitter but we need
11309         API breakage for that.
11310
11311         * gst/gstsystemclock.c: (gst_system_clock_init):
11312         Docs review.
11313         
11314         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11315         Remove leftover else
11316
11317         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
11318         (gst_systemclock_suite):
11319         Added check to test GST_CLOCK_DIFF.
11320
11321 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11322
11323         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
11324         (gst_type_find_helper_get_range):
11325           If we are provided with the size, we should implement
11326           GstTypeFind::get_length, so that typefind functions who
11327           want to can actually peek at the middle of a file.
11328
11329 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
11330
11331         * docs/manual/advanced-dataaccess.xml:
11332           Add some very very basic error checking.
11333
11334         * docs/pwg/appendix-checklist.xml:
11335           Some updates to the list of things to check when writing an element.
11336
11337 2006-03-08  Wim Taymans  <wim@fluendo.com>
11338
11339         * docs/design/part-element-transform.txt:
11340         Added some docs about the design of tranform elements.
11341
11342         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11343         (gst_base_src_loop), (gst_base_src_change_state):
11344         Mark buffers with the DISCONT flag.
11345
11346 2006-03-08  Michael Smith  <msmith@fluendo.com>
11347
11348         * gst/gstregistry.h:
11349         * gst/gstregistryxml.c: (gst_registry_save),
11350         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
11351         (gst_registry_xml_save_pad_template),
11352         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
11353         (gst_registry_xml_write_cache):
11354           Rewrite registry-saving to avoid race conditions and check for
11355           failed writes.
11356
11357 2006-03-08  Wim Taymans  <wim@fluendo.com>
11358
11359         * libs/gst/base/gstbasetransform.c:
11360         (gst_base_transform_transform_caps),
11361         (gst_base_transform_transform_size),
11362         (gst_base_transform_prepare_output_buffer),
11363         (gst_base_transform_get_unit_size),
11364         (gst_base_transform_buffer_alloc),
11365         (gst_base_transform_handle_buffer),
11366         (gst_base_transform_change_state):
11367         Cleanups, separate normal flow from errors, add sensible
11368         DEBUG lines.
11369         Don't try to renegotiate when allocating an output buffer.
11370         Also copy DISCONT buffer flag when copying a buffer.
11371         Reset the transform after we finish streaming, not during.
11372
11373 2006-03-08  Wim Taymans  <wim@fluendo.com>
11374
11375         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11376         Use last buffer timestamp in qos message.
11377
11378 2006-03-07  Wim Taymans  <wim@fluendo.com>
11379
11380         Patch by: Christophe Fergeau
11381
11382         * docs/pwg/advanced-tagging.xml:
11383         * docs/pwg/building-pads.xml:
11384           fixes #333416
11385
11386 2006-03-07  Wim Taymans  <wim@fluendo.com>
11387
11388         * docs/libs/gstreamer-libs-sections.txt:
11389         Added basesink new methods.
11390
11391         * gst/gstevent.c:
11392         * gst/gstevent.h:
11393         Docs updates. Flesh out the QoS docs.
11394
11395         * libs/gst/base/gstadapter.c:
11396         Small doc clarification about ownership and flushing.
11397
11398         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
11399         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
11400         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
11401         (gst_base_sink_get_property), (gst_base_sink_do_sync):
11402         * libs/gst/base/gstbasesink.h:
11403         API additions: 
11404         Added new methods to allow subclass to control max-lateness 
11405         and sync.
11406         Generate very basic QoS events based on last sync observation.
11407         Updated docs, fix typo, added some QoS blurb.
11408
11409         * libs/gst/base/gstbasesrc.c:
11410         Remove obsolete _get_state() calls from docs.
11411
11412 2006-03-07  Wim Taymans  <wim@fluendo.com>
11413
11414         * docs/libs/gstreamer-libs-sections.txt:
11415         * libs/gst/base/gstbasetransform.h:
11416         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
11417         Fix docs for GstBaseSrc.
11418
11419 2006-03-07  Wim Taymans  <wim@fluendo.com>
11420
11421         * docs/gst/gstreamer-sections.txt:
11422         * gst/gstbuffer.h:
11423         * gst/gstvalue.c:
11424         * libs/gst/base/gstbasetransform.h:
11425         Small documentation fixes.
11426
11427 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
11428
11429         * gst/gstvalue.c:
11430           Document thread-unsafety of gst_value_register_foo_func()
11431           when used at the same time as gst_value_foo() (#322628).
11432
11433 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
11434
11435         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
11436         (gst_push_src_check_get_range):
11437           Push sources don't support pull mode by default.
11438
11439 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11440
11441         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11442         (gst_base_src_init), (gst_base_src_pad_check_get_range),
11443         (gst_base_src_default_check_get_range):
11444         * libs/gst/base/gstbasesrc.h:
11445           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
11446           provide default implementation, and rename
11447           gst_base_src_check_get_range() to
11448           gst_base_src_pad_check_get_range() for clarity.
11449
11450 2006-03-06  Wim Taymans  <wim@fluendo.com>
11451
11452         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11453         Make property overridable.
11454
11455 2006-03-06  Wim Taymans  <wim@fluendo.com>
11456
11457         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11458         (gst_base_sink_init), (gst_base_sink_set_property),
11459         (gst_base_sink_get_property), (gst_base_sink_do_sync):
11460         * libs/gst/base/gstbasesink.h:
11461         API addition: Make max-lateness a property.
11462
11463 2006-03-06  Wim Taymans  <wim@fluendo.com>
11464
11465         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
11466         (gst_base_sink_do_sync), (gst_base_sink_render_object):
11467         Don't ever draw a frame that is >10ms late.
11468
11469 2006-03-06  Michael Smith  <msmith@fluendo.com>
11470
11471         * gst/gstmessage.c: (_gst_message_copy):
11472           When copying a message, set the parent_refcount of the enclosed
11473           structure to point at the copy, not the original message.
11474
11475 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11476
11477         Patch by: Christophe Fergeau
11478
11479         * gst/gstutils.h:
11480           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
11481           usable in c++ code (#333417)
11482
11483 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11484
11485         * gst/gstclock.h:
11486           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
11487
11488 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
11489
11490         * libs/gst/base/gstbasetransform.c:
11491         (gst_base_transform_transform_caps):
11492           Make sure caps are writable before passing them to
11493           gst_caps_append().
11494
11495 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11496
11497         * gst/gsterror.h:
11498           Fix some minor docs errors.
11499
11500 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11501
11502           Patch by: Ross Burton <ross at burtonini dot com>
11503
11504         * gst/gsterror.c: (_gst_resource_errors_init):
11505         * gst/gsterror.h:
11506           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
11507
11508 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11509
11510         * gst/gst.c:
11511         Add a check and output a g_warning when GStreamer is built
11512         against GLib 2.6 but running against 2.8 or higher, and vice 
11513         versa. (Closes: #323542)
11514
11515 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11516
11517         * gst/parse/parse.l:
11518           Commit patch for parse_launch syntax from #331255. Removes 
11519           support for quoted strings and mimetypes when writing filtered 
11520           caps. See the bug report for more details - I'm pretty sure this
11521           obscure feature is not in use by _anyone_ anywhere.
11522
11523           With this simple change, the size of the gstreamer.so here 
11524           drops from 2193KB to 1565KB.
11525
11526 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11527
11528         * plugins/elements/gsttypefindelement.h:
11529         * plugins/elements/gsttypefindelement.c:
11530         (gst_type_find_element_src_event), (start_typefinding),
11531         (stop_typefinding), (gst_type_find_element_handle_event),
11532         (gst_type_find_element_chain),
11533         (gst_type_find_element_chain_do_typefinding):
11534           Use gst_type_find_helper_for_buffer() for chain-based
11535           typefinding.
11536
11537 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11538
11539         * plugins/elements/gsttypefindelement.c:
11540         (gst_type_find_element_class_init),
11541         (gst_type_find_element_set_property),
11542         (gst_type_find_element_get_property):
11543           Deprecate "maximum" property (not only was it only taken into
11544           account for typefinding in push-mode anyway, it also was never
11545           actually possible to set it in the first place because the
11546           property was registered with the numeric property ID for the
11547           "minimum" property). Register "maximum" property correctly,
11548           for the sake of future copy'n'pasters. Remove some cruft
11549           from property get/set functions.
11550
11551 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11552
11553         * plugins/elements/gsttypefindelement.c:
11554         (gst_type_find_element_activate):
11555           Use gst_type_find_helper_get_range() here, so we
11556           can honour the "minimum" property and also emit
11557           the signal with the correct probability of the found caps.
11558
11559 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
11560
11561         * docs/libs/gstreamer-libs-sections.txt:
11562         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
11563         (helper_find_suggest), (gst_type_find_helper_get_range),
11564         (gst_type_find_helper):
11565         * libs/gst/base/gsttypefindhelper.h:
11566           New API: gst_type_find_helper_get_range() (#333042).
11567
11568 2006-03-02  Michael Smith  <msmith@fluendo.com>
11569
11570         * gst/gstregistryxml.c: (load_feature):
11571           Asserting on a failure to read part of the registry is Not Cool.
11572           Just log a warning and return NULL (which is already handled)
11573
11574 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
11575
11576         * win32/common/libgstbase.def:
11577           added export of gst_type_find_helper_for_buffer
11578         * win32/common/libgstbase.def:
11579           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
11580           gst_ghost_pad_get_target
11581
11582 2006-02-28  Wim Taymans  <wim@fluendo.com>
11583
11584         * docs/design/draft-klass.txt:
11585         We use Filter now.
11586         Added Connector to mark elements that are only used to
11587         allow pipeline connections.
11588         Moved Debug to extra feature since most of them are 
11589         functionally something else.
11590
11591 2006-02-28  Wim Taymans  <wim@fluendo.com>
11592
11593         * docs/design/draft-klass.txt:
11594         Some updates and clarifications.
11595
11596 2006-02-28  Wim Taymans  <wim@fluendo.com>
11597
11598         * docs/design/draft-klass.txt:
11599         Proposal for klass field values.
11600
11601         * docs/design/part-streams.txt:
11602         Start of a doc describing stream anatomy.
11603
11604 2006-02-28  Wim Taymans  <wim@fluendo.com>
11605
11606         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
11607         Help the compiler a bit with type registration.
11608         Use existing forward cod path instead of duplicating it when 
11609         handling a message.
11610         
11611         * gst/gstbus.c: (gst_bus_get_type):
11612         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
11613         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
11614         * gst/gstclock.c: (gst_clock_get_type):
11615         * gst/gstelement.c: (gst_element_get_type),
11616         * gst/gstelementfactory.c: (gst_element_factory_get_type):
11617         * gst/gstindexfactory.c: (gst_index_factory_get_type):
11618         * gst/gstminiobject.c: (gst_mini_object_get_type):
11619         * gst/gstpad.c: (gst_pad_get_type):
11620         * gst/gstsegment.c: (gst_segment_get_type):
11621         * gst/gststructure.c: (gst_structure_get_type):
11622         * gst/gstsystemclock.c: (gst_system_clock_get_type):
11623         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
11624         * gst/gstvalue.c:
11625         Help compiler with type registration.
11626
11627         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
11628         Small doc update.
11629
11630 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11631
11632         * plugins/elements/gsttypefindelement.c:
11633         (gst_type_find_element_handle_event):
11634           When we get an EOS event and have not found a type yet
11635           (most likely because we had not yet accumulated
11636           TYPE_FIND_MIN_SIZE of data yet), try to determine the
11637           type given the data we have so far. Fixes typefinding
11638           for very short streams again, most notably quicktime
11639           redirections as used on Apple's trailer site (#331701).
11640
11641 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11642
11643         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
11644         (gst_type_find_helper):
11645           Try typefinding factories with the highest rank first.
11646
11647 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11648
11649         * docs/libs/gstreamer-libs-docs.sgml:
11650         * docs/libs/gstreamer-libs-sections.txt:
11651         * libs/gst/base/gsttypefindhelper.c:
11652           Add section for typefind helper and add documentation
11653           for the old and the new function.
11654
11655 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11656
11657         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
11658         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
11659         (gst_type_find_helper_for_buffer):
11660         * libs/gst/base/gsttypefindhelper.h:
11661           New API: gst_type_find_helper_for_buffer() (#332723).
11662           
11663 2006-02-27  Michael Smith  <msmith@fluendo.com>
11664
11665         Patch by: Loïc Minier
11666
11667         * configure.ac:
11668         * docs/Makefile.am:
11669         * docs/slides/Makefile.am:
11670           prevent CVS directories getting disted.
11671
11672 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11673
11674         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
11675           Use the REFCOUNTING category for caps refcounting.
11676           
11677 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11678
11679         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11680           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
11681
11682 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11683
11684         * plugins/elements/gsttypefindelement.c:
11685         (gst_type_find_element_activate):
11686           Use gst_pad_check_pull_range() before _activate_pull()
11687           to avoid unnecessary open/close (see #331690).
11688
11689 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11690
11691         * gst/gstutils.c:
11692           Docs enhancement: make it crystal clear what the
11693           gst_pad_add_*_probe() callbacks should look like.
11694
11695 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11696
11697         * libs/gst/base/gstbasesrc.c:
11698           Document how applications can stop recording from
11699           live sources (see #330996).
11700
11701 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11702
11703         * tests/check/Makefile.am:
11704         * tests/check/libs/basesrc.c: (eos_event_counter),
11705         (basesrc_eos_events_pull), (basesrc_eos_events_push),
11706         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
11707         (gst_basesrc_suite), (main):
11708           ... and add some tests for the base source EOS stuff.
11709
11710 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11711
11712         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
11713           Test case originally showed the problem fixed below,
11714           but was then amended. Add checks back at the place
11715           where they used to be.
11716
11717 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11718
11719         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11720         (gst_base_src_init), (gst_base_src_loop),
11721         (gst_base_src_activate_push), (gst_base_src_activate_pull),
11722         (gst_base_src_change_state):
11723         * libs/gst/base/gstbasesrc.h:
11724           Don't unconditionally send EOS when going from PAUSED to
11725           READY state, esp. make sure we don't send two EOS events
11726           in some cases (e.g. one when reaching EOS and one when
11727           going from PAUSED to READY). Also, we don't want to send
11728           EOS events when operating in pull mode. However, we do
11729           want to send an EOS event when shutting down a live
11730           source explicitly, for example (fixes #330996).
11731           
11732 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11733
11734         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11735           Update src->read_position after a seek when not using mmap.
11736           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
11737
11738 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
11739
11740         * gst/Makefile.am:
11741         * gst/gstparse.h:
11742         * gst/gstutils.c:
11743         * gst/gstutils.h:
11744         Make things work with --disable-parse as they do with 
11745         --disable-load-save - the symbols involved disappear, but the
11746         header is still installed and GST_DISABLE_PARSE is included via
11747         gstconfig.h
11748
11749 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11750
11751         * libs/gst/base/gstbasetransform.c:
11752         (gst_base_transform_change_state): Fix a stupid bug. I was 
11753         sure I compiled that.
11754
11755 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11756
11757         * gst/gstpad.c: (gst_pad_set_blocked_async):
11758         * gst/gstutils.c: (gst_pad_add_data_probe),
11759         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11760         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11761         (gst_pad_remove_buffer_probe): Make those function act on the
11762         ghostpad target when it's a ghostpad. (Closes #331727)
11763
11764 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11765
11766         * libs/gst/base/gstbasetransform.c:
11767         (gst_base_transform_change_state): Make basetransform reusable.
11768         (Closes #331898)
11769
11770 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
11771
11772         * docs/random/release:
11773         Move the current documentation of how to do a release to the top
11774         of the file.
11775
11776         * gst/gstbin.c: (gst_bin_class_init),
11777         (gst_bin_handle_message_func):
11778         Allow multiple state-recalculation threads. (Closes #328873)
11779
11780 2006-02-19  Julien MOUTTE  <julien@moutte.net>
11781
11782         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
11783         * gst/gstpad.c: (gst_pad_set_event_function),
11784         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11785         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
11786         2 strings. You can't use the STR_NULL macro on that.
11787
11788 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
11789
11790         * gst/gstpad.c: (gst_pad_set_event_function),
11791         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11792         (gst_pad_set_getcaps_function)
11793         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
11794           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
11795           So now, we can use --gst-debug-level=5 on Windows
11796         * win32/common/libgstcontroller.def:
11797           Added export of gst_controller_init
11798         * win32/vs6/libgstcontroller.dsp:
11799           Fixed Release post build configuration
11800
11801 2006-02-17  Wim Taymans  <wim@fluendo.com>
11802
11803         * tests/check/gst/gstquery.c: (GST_START_TEST):
11804         Added another check.
11805
11806 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
11807
11808         * plugins/elements/gsttypefindelement.c: (find_peek):
11809           We can do peeks at non-zero offsets, as long as they
11810           fall within the buffer we have.
11811
11812 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
11813
11814         * tests/check/Makefile.am:
11815         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
11816         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
11817         (parse_suite), (main):
11818           Add testsuite for parse launch syntax
11819
11820 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
11821
11822         * plugins/elements/gsttypefindelement.c:
11823         (gst_type_find_element_chain):
11824           When typefinding is unsuccessful in the chain function, don't
11825           error out immediately. Only error out with NO_CAPS_FOUND if
11826           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
11827           otherwise simply wait for more data so we can try typefinding
11828           again with more data later. Also, don't attempt to typefind
11829           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
11830           this should improve typefinding from network sources where the
11831           size of the first buffer can be somewhat random.
11832
11833 2006-02-14  Wim Taymans  <wim@fluendo.com>
11834
11835         * docs/gst/gstreamer-sections.txt:
11836         * gst/gstpadtemplate.c:
11837         * gst/gstpadtemplate.h:
11838         Fix padtemplate docs, fixes #328805.
11839
11840 2006-02-14  Wim Taymans  <wim@fluendo.com>
11841
11842         * tools/gst-launch.c: (main):
11843         NO_PREROLL is not an ERROR so don't send confusing messages
11844         to the user.
11845
11846 2006-02-14  Wim Taymans  <wim@fluendo.com>
11847
11848         Patch by: Torsten Schoenfeld
11849
11850         * gst/gstregistry.c: (gst_registry_get_default),
11851         (_gst_registry_cleanup):
11852         Protect default registry with lock and ref/sink it.
11853         Fixes #324818
11854
11855 2006-02-14  Wim Taymans  <wim@fluendo.com>
11856
11857         * gst/gstbuffer.c:
11858         * gst/gstquery.c: (gst_query_list_add_format),
11859         (gst_query_set_formatsv), (gst_query_parse_formats_length),
11860         (gst_query_parse_formats_nth):
11861         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11862         Docs fixes.
11863
11864 2006-02-14  Wim Taymans  <wim@fluendo.com>
11865
11866         * docs/gst/gstreamer-sections.txt:
11867         Reworked query docs.
11868
11869         * gst/gstquery.c: (gst_query_new_formats),
11870         (gst_query_list_add_format), (gst_query_set_formats),
11871         (gst_query_set_formatsv), (gst_query_parse_formats_length),
11872         (gst_query_parse_formats_nth):
11873         * gst/gstquery.h:
11874         Flesh out formats query, added some new methods.
11875         Fix part of #324398.
11876
11877         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
11878         Added query creation tests.
11879
11880 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
11881
11882         * gst/gstpad.c: (fixate_value):
11883         Add a default fixation for fraction lists.
11884
11885 2006-02-13  Wim Taymans  <wim@fluendo.com>
11886
11887         * gst/gsttask.c: (gst_task_init), (gst_task_func),
11888         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
11889         (gst_task_join):
11890         * gst/gsttask.h:
11891         Detect and warn for obvious deadlocks. fixes #320340
11892         Fix error case where lock was not released.
11893
11894         * tests/check/Makefile.am:
11895         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
11896         (task_func), (gst_element_suite), (main):
11897         Add task check.
11898
11899 2006-02-13  Wim Taymans  <wim@fluendo.com>
11900
11901         * docs/gst/gstreamer-sections.txt:
11902         * gst/gstbus.c:
11903         Add new functions to docs.
11904
11905 2006-02-13  Wim Taymans  <wim@fluendo.com>
11906
11907         * docs/design/part-TODO.txt:
11908         Updated TODO list, basesrc supports seeking to non-bytes
11909         formats.
11910
11911         * docs/design/part-element-sink.txt:
11912         Update docs.
11913
11914         * gst/gstbin.c: (bin_replace_message),
11915         (gst_bin_handle_message_func):
11916         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
11917         * gst/gstevent.c: (gst_event_finalize):
11918         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11919         (gst_pad_send_event):
11920         Use shiny new _TYPE_NAME macros.
11921
11922         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11923         Move debug statement up.
11924
11925         * gst/gstelement.c: (gst_element_set_locked_state):
11926         Add some debugging.
11927
11928 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
11929
11930         * docs/gst/gstreamer-sections.txt:
11931         * gst/gstmessage.h:
11932         * gst/gstquery.h:
11933           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
11934           macros (#330906). Also, document the already existing
11935           GST_QUERY_TYPE macro.
11936
11937 2006-02-13  Wim Taymans  <wim@fluendo.com>
11938
11939         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
11940         (event_probe), (GST_START_TEST):
11941         Only events up to the pipeline EOS are counted, there are
11942         some more when going to NULL currently which we don't care
11943         about for now.
11944
11945 2006-02-13  Wim Taymans  <wim@fluendo.com>
11946
11947         * gst/gstpad.c: (gst_pad_send_event):
11948         Correctly check flushing and emit probes. fixes #330125
11949
11950 2006-02-10  Andy Wingo  <wingo@pobox.com>
11951
11952         * gst/gstbus.c (gst_bus_class_init): Declare our private data
11953         structure.
11954         (gst_bus_init): Cache the location of the private data in the
11955         instance structure.
11956         (gst_bus_enable_sync_message_emission) 
11957         (gst_bus_disable_sync_message_emission): Implement new public
11958         functions.
11959         (gst_bus_post): Emit the sync-message signal if the user asked for
11960         it. Fixes #330684.
11961
11962         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
11963         location of the bus-private structure.
11964         (gst_bus_enable_sync_message_emission)
11965         (gst_bus_disable_sync_message_emission): API addition
11966
11967 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
11968
11969         Patch by: Vincent Torri
11970
11971         * docs/pwg/building-boiler.xml:
11972         PWG patch from #326800
11973
11974 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
11975
11976         * configure.ac:
11977         * docs/Makefile.am:
11978         * docs/design/Makefile.am:
11979           Dist design docs.
11980
11981 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
11982
11983         * configure.ac:
11984           back to CVS
11985
11986 === release 0.10.3 ===
11987
11988 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
11989
11990         * configure.ac:
11991           releasing 0.10.3, "Like a virgin"
11992
11993 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
11994
11995         * configure.ac:
11996           2nd prerelease of 0.10.3
11997           Bump libtool versioning.
11998
11999 2006-02-07  Andy Wingo  <wingo@pobox.com>
12000
12001         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
12002         update last_stop if we're in TIME format and the timestamp is
12003         valid.
12004
12005         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
12006         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
12007         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
12008         If we get a new newsegment with a different format, adapt
12009         accordingly.
12010
12011         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
12012         of 0. Not a problem, really.
12013
12014         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
12015         warn if sync=true.
12016
12017 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
12018
12019         * configure.ac:
12020           Prelease of 0.10.3
12021
12022 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
12023
12024         * win32/vs7:
12025           project files updated to the default vs7 configuration
12026         * win32/common/libgstbase.def:
12027         * win32/common/libgstreamer.def:
12028           added new symbols,
12029           removed empty lines,
12030           sorted all exported symbols alphabetically
12031         * win32/common/dirent.c:
12032         * win32/common/dirent.h:
12033         * win32/common/gchar.h:
12034           use windows line end.
12035           
12036 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
12037
12038         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12039           Send EOS event when stopping.
12040
12041 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
12042
12043         * docs/README:
12044           Tell folks what to do if the plugin-foobar.xml file
12045           hasn't been generated for a newly-added plugin.
12046
12047 2006-02-05  Julien MOUTTE  <julien@moutte.net>
12048
12049         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
12050         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
12051         (gst_collect_pads_start), (gst_collect_pads_stop),
12052         (gst_collect_pads_event): Collectpads now holds a reference
12053         to the GstPad that was added. Indeed we don't want to look
12054         at pads that might just go away with no warning...
12055
12056 2006-02-05  Julien MOUTTE  <julien@moutte.net>
12057
12058         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
12059         (gst_collect_pads_start), (gst_collect_pads_stop),
12060         (gst_collect_pads_event), (gst_collect_pads_chain):
12061         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
12062         Mark Nauwelaerts's patch on bug #328491.
12063
12064 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
12065
12066         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
12067         (gst_utils_suite):
12068           Add some simple tests for gst_parse_bin_from_description() and
12069           gst_bin_find_unconnected_pad() (#329069).
12070
12071 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
12072
12073         * tools/gst-launch.c: (event_loop), (main):
12074           Catch errors during preroll (#320084).
12075
12076 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
12077
12078         * plugins/elements/gsttypefindelement.c:
12079         (gst_type_find_element_activate):
12080           Post TYPE_NOT_FOUND error message when typefinding
12081           is unsuccessful in the activate function as well.
12082
12083 2006-02-02  Wim Taymans  <wim@fluendo.com>
12084
12085         * docs/design/part-element-sink.txt:
12086         Updated doc.
12087
12088 2006-02-02  Wim Taymans  <wim@fluendo.com>
12089
12090         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
12091         (gst_base_sink_render_object),
12092         (gst_base_sink_queue_object_unlocked):
12093         Only keep track of prerollable items when we are 
12094         prerolling.
12095         Before rendering after preroll, always check if we
12096         have queued items.
12097         Added some more debugging.
12098
12099 2006-02-02  Wim Taymans  <wim@fluendo.com>
12100
12101         * gst/gstelement.c: (gst_element_continue_state),
12102         (gst_element_set_state_func), (gst_element_change_state):
12103         Fixed #326576, been running this for quite some time with
12104         no regressions at all.
12105
12106 2006-02-02  Wim Taymans  <wim@fluendo.com>
12107
12108         * common/gst.supp:
12109         Added more suppressions
12110
12111 2006-02-02  Wim Taymans  <wim@fluendo.com>
12112
12113         * docs/design/part-element-sink.txt:
12114         Updated document.
12115
12116         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12117         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
12118         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
12119         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
12120         (gst_base_sink_do_sync), (gst_base_sink_render_object),
12121         (gst_base_sink_preroll_object),
12122         (gst_base_sink_queue_object_unlocked),
12123         (gst_base_sink_queue_object), (gst_base_sink_event),
12124         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
12125         (gst_base_sink_loop), (gst_base_sink_activate_pull),
12126         (gst_base_sink_get_position), (gst_base_sink_change_state):
12127         * libs/gst/base/gstbasesink.h:
12128         Totally refactored matching the design doc.
12129         Use two segments, one to clip incomming buffers and another to
12130         perform sync.
12131         Handle queueing correctly, bypass the queue when playing.
12132         Make EOS cancelable.
12133         Handle errors correctly when operating in pull based mode.
12134
12135         * tests/check/elements/fakesink.c: (GST_START_TEST),
12136         (fakesink_suite):
12137         Added new check for sinks.
12138
12139 2006-02-02  Wim Taymans  <wim@fluendo.com>
12140
12141         * gst/gstsegment.c: (gst_segment_clip):
12142         No reason to refuse to clip when start == -1
12143
12144 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
12145
12146         * docs/README:
12147         * docs/manual/intro-basics.xml:
12148         * docs/manual/intro-preface.xml:
12149         * docs/manual/manual.xml:
12150         * docs/pwg/advanced-dparams.xml:
12151         * docs/pwg/intro-basics.xml:
12152         * docs/pwg/intro-preface.xml:
12153         * docs/pwg/pwg.xml:
12154           describe dparams (controller) for plugins
12155           unify docs a little more
12156
12157 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
12158
12159         * docs/gst/gstreamer-sections.txt:
12160         * gst/gstutils.c: (element_find_unconnected_pad),
12161         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
12162         * gst/gstutils.h:
12163           Add new API: gst_parse_bin_from_description() and
12164           gst_bin_find_unconnected_pad() (#329069).
12165
12166 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
12167
12168         * docs/manual/README:
12169           uncover a nasty detail of the docs build
12170
12171 2006-01-31  Wim Taymans  <wim@fluendo.com>
12172
12173         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
12174         Don't cache duration messages if we're not going to use or
12175         free them.
12176
12177 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
12178
12179         * docs/manual/advanced-dparams.xml:
12180         * docs/pwg/advanced-dparams.xml:
12181           more dparam docs
12182         * gst/gstindex.c:
12183           fix docs
12184         * libs/gst/controller/lib.c: (gst_controller_init):
12185           init just once
12186
12187 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
12188
12189         * gst/gstelement.c: (gst_element_message_full):
12190           also show file/line/func if no additional debug was given
12191
12192 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
12193         
12194         * win32/vs7/grammar.vcproj:
12195           activate copy of autogenerated files for Release mode
12196
12197 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
12198         
12199         * win32/common/libgstreamer.def:
12200           export gst_value_compare
12201
12202 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
12203
12204         * plugins/elements/Makefile.am:
12205         * plugins/elements/gstelements.c:
12206         * plugins/elements/gstfdsink.c: (_do_init),
12207         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
12208         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
12209         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
12210         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
12211         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
12212         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
12213         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
12214         * plugins/elements/gstfdsink.h:
12215         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
12216
12217 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
12218
12219         * docs/manual/advanced-dparams.xml:
12220           describe controller
12221         * docs/manual/advanced-position.xml:
12222         * docs/manual/basics-init.xml:
12223         * docs/manual/manual.xml:
12224         * docs/manual/titlepage.xml:
12225         * docs/pwg/pwg.xml:
12226         * docs/pwg/titlepage.xml:
12227           cleanup xml (more to come)
12228         * libs/gst/controller/gstcontroller.c:
12229           fix typo
12230
12231 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
12232         
12233         * win32/vs6/grammar.dsp:
12234           add autogen of gstmarshal.c,h for Release mode
12235                 
12236 2006-01-30  Wim Taymans  <wim@fluendo.com>
12237
12238         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12239         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
12240         (gst_base_sink_handle_object), (gst_base_sink_event),
12241         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
12242         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12243         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
12244         (gst_base_sink_deactivate), (gst_base_sink_activate),
12245         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
12246         (gst_base_sink_query), (gst_base_sink_change_state):
12247         Basesink cleanups, remove some old code.
12248         Handle the case where a subclass can preroll in the render
12249         method (mostly audiosinks).
12250         Handle more events.
12251         Remove some locks around variables that are now protected
12252         with the PREROLL_LOCK (clock_id, flushing, ..).
12253         Optimize position query some more, do correct locking.
12254         Remove old code to push queue in state change, this is not
12255         needed anymore since preroll blocks on all prerollable items 
12256         now.
12257         Almost implemented as described in design doc.
12258
12259 2006-01-30  Wim Taymans  <wim@fluendo.com>
12260
12261         * tests/check/gst/gstbin.c: (GST_START_TEST):
12262         Wait for refcount to settle down before checking.
12263
12264 2006-01-30  Wim Taymans  <wim@fluendo.com>
12265
12266         * docs/design/part-element-sink.txt:
12267         Pseudo code overview of desired sink behaviour regarding
12268         preroll.
12269
12270 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12271         * win32/vs6/grammar.dsp:
12272           fix some bugs in Release mode for autogenerated files
12273                 
12274 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12275         * win32/common/libgstbase.def:
12276         * win32/common/libgstreamer.def:
12277           export some new symbols: gst_base_src_set_format,
12278           gst_iterator_next, gst_structure_set_valist
12279
12280 2006-01-29  Julien MOUTTE  <julien@moutte.net>
12281
12282         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
12283         Set pad functions unconditionally. Fixes #329105.
12284
12285 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12286         * win32/vs8:
12287           add vs8 project files created by Sergey Scobich
12288
12289 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
12290
12291         * gst/gstutils.c: (gst_element_unlink_pads):
12292         Don't leak pad references.
12293
12294         * tests/check/elements/fakesink.c: (GST_START_TEST):
12295         * tests/check/generic/sinks.c: (GST_START_TEST):
12296         * tests/check/generic/states.c: (GST_START_TEST):
12297         * tests/check/gst/gstbin.c: (GST_START_TEST):
12298         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12299         * tests/check/gst/gstelement.c: (GST_START_TEST):
12300         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12301         * tests/check/gst/gstiterator.c: (GST_START_TEST):
12302         * tests/check/gst/gstvalue.c: (GST_START_TEST):
12303         Fix a bunch of leaks. Make generic/sinks.c
12304         use a bit less cpu by slowing the buffer rate
12305         between fakesrc and fakesink.
12306         
12307 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
12308         * gst/gstcaps.c:
12309         * gst/gstelement.c: (gst_element_send_event):
12310         * gst/gstevent.c:
12311         * gst/gstinfo.c:
12312         * gst/gstiterator.c:
12313         * gst/gstiterator.h:
12314         * gst/gstpad.c: (gst_pad_send_event):
12315         * gst/gststructure.c:
12316         * gst/gsturi.c:
12317         * gst/gstutils.c:
12318         * gst/gstvalue.c:
12319         * libs/gst/base/gstadapter.c:
12320           doc fixes, to link to function, just write gst_cool_function(), don't
12321           prefix with '#'
12322
12323 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12324
12325         * plugins/elements/gsttee.c: (gst_tee_do_push),
12326         (gst_tee_handle_buffer):
12327         Always prefer an actual return value from a src
12328         pad in place of NOT_LINKED. This means we return
12329         WRONG_STATE when all src pads are WRONG_STATE
12330         instead of NOT_LINKED.
12331
12332         Lock when replacing the last message to prevent
12333         racing with the get_property method.
12334
12335         Add debug output
12336
12337 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12338
12339         * tests/check/Makefile.am:
12340         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
12341         (main):
12342         Add a very simple check that should have caught the memleak I fixed
12343         last night (if not for the slice allocator hiding it)
12344
12345 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12346
12347         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12348         (gst_bin_remove_func), (gst_bin_handle_message_func),
12349         (bin_query_duration_fold), (bin_query_generic_fold):
12350         Clean up references to the clock provider when disposed or when
12351         handling a clock-lost message from it.
12352
12353         Unref sinks when performing a query via gst_iterator_fold, as the
12354         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
12355
12356         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
12357         (gst_clock_set_master):
12358         Drop our reference to the master clock, if any, when we are disposed.
12359
12360         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
12361         Chain up in dispose. 
12362
12363 2006-01-26  Wim Taymans  <wim@fluendo.com>
12364
12365         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
12366         Add some debugging.
12367
12368 2006-01-26  Julien MOUTTE  <julien@moutte.net>
12369
12370         * plugins/elements/gsttee.c: (gst_tee_do_push),
12371         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
12372         handles pad being NOT_LINKED or in WRONG_STATE.
12373
12374 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12375
12376         * win32/MANIFEST:
12377           more updating
12378
12379 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12380
12381         * win32/MANIFEST:
12382           remove obsolete entry
12383
12384 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12385
12386         * docs/gst/gstreamer-sections.txt:
12387         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
12388         (gst_bin_iterate_sources), (gst_bin_send_event):
12389         * gst/gstbin.h:
12390         * gst/gstelement.c: (gst_element_send_event):
12391         * gst/gstevent.c:
12392         * gst/gstpad.c: (gst_pad_send_event):
12393           added code for downstream events, reviewed docs in gstevent.c
12394
12395 2006-01-25  Julien MOUTTE  <julien@moutte.net>
12396
12397         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12398         We only query position using the clock in the playing state.
12399         Query peer in the other cases.
12400         * win32/common/config.h: Updates.
12401
12402 2006-01-24  Wim Taymans  <wim@fluendo.com>
12403
12404         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12405         A clock entry that is scheduled for the exact time of the
12406         clock is still in time.
12407
12408         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12409         (gst_base_sink_do_sync):
12410         Add some more debug info.
12411
12412 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
12413
12414         * win32/vs7:
12415           Add new vs7 project files and solution.
12416
12417 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
12418
12419         * win32/vs7:
12420           all files removed as they were out-dated.
12421
12422 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12423
12424         * docs/random/release:
12425           update notes
12426         * gst/gstbin.c: (gst_bin_init):
12427         * gst/gstbus.c: (gst_bus_new):
12428         * gst/gstbus.h:
12429         * gst/gstpipeline.c: (gst_pipeline_init):
12430           use gst_bus_new(), improve logging, fix docs
12431         * win32/common/config.h:
12432           update for cvs build
12433
12434 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12435
12436         * autogen.sh:
12437           up required version of automake to 1.7
12438
12439 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
12440
12441         * win32/common/libgstreamer.def:
12442           export gst_buffer_is_metadata_writable
12443
12444 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
12445
12446         * docs/gst/gstreamer-sections.txt:
12447         * gst/gstevent.h:
12448           Add gst_event_replace() (#327001)
12449
12450 2006-01-20  Wim Taymans  <wim@fluendo.com>
12451
12452         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
12453         Make it actually compile too..
12454
12455 2006-01-20  Wim Taymans  <wim@fluendo.com>
12456
12457         * gst/gstcaps.c:
12458         Clarify behaviour of _is_equal() when passing NULL parameters.
12459
12460         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12461         (gst_pad_set_caps):
12462         Cleanups. Don't unref NULL caps.
12463         When setting the same caps, protect caps of the pad with
12464         proper lock.
12465         Use full functionality of _is_equal() when comparing caps.
12466
12467 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12468
12469         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12470         Don't loop infinitely if there are no buffers to present. Partially
12471         fixes #327197, but collectpads is just broken for reusing elements
12472         to do multiple encodes atm.
12473
12474 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12475
12476         * tools/gst-inspect.c: (print_element_features):
12477         * tools/gst-xmlinspect.c: (main):
12478         URL_HANDLER is not a plugin feature we can search for in
12479         the registry.
12480
12481 2006-01-19  Edward Hervey  <edward@fluendo.com>
12482
12483         * gst/gstelement.c: (gst_element_pads_activate): 
12484         When activating, do src pads first, then sink pads.
12485         When de-activating, do sink pads first, then src pads.
12486
12487 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12488
12489         * docs/gst/gstreamer-sections.txt:
12490         Add gst_index_add_associationv to the docs
12491
12492 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12493
12494         * gst/gstevent.c:
12495           Fix docs typo
12496
12497         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
12498         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
12499           Do some refactoring. Doesn't actually change functionality,
12500           but makes landing the DRAIN event easier later.
12501
12502 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
12503
12504         * docs/pwg/advanced-scheduling.xml:
12505           Update from 0.9.x to 0.10 API and make example a bit
12506           clearer.
12507
12508 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12509
12510         * docs/gst/gstreamer-sections.txt:
12511         Add gst_buffer_(is|make)_metadata_writable methods.
12512
12513 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12514
12515         * docs/design/part-sparsestreams.txt:
12516         Update sparse streams doc, hopefully for greater clarity
12517
12518 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
12519
12520         * docs/design/part-events.txt:
12521         Remove mention of FILLER events.
12522         Add DRAIN event.
12523
12524         * docs/design/part-sparsestreams.txt:
12525         Write some things about using NEWSEGMENT to keep sparse streams
12526         flowing.
12527
12528 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12529
12530         * gst/gstbin.c: (gst_bin_dispose):
12531           Guard gst_object_unref call against a NULL object (dispose
12532           can theoretically be called multiple times).
12533           
12534 2006-01-18  Wim Taymans  <wim@fluendo.com>
12535
12536         * gst/gstbin.c: (gst_bin_element_set_state):
12537         * gst/gstclock.c: (gst_clock_id_wait):
12538         Added some more debug info.
12539
12540         * libs/gst/base/gstadapter.c:
12541         Added more docs.
12542
12543         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12544         (gst_base_sink_do_sync), (gst_base_sink_chain):
12545         Added some comments.
12546
12547 2006-01-18  Wim Taymans  <wim@fluendo.com>
12548
12549         * tests/check/Makefile.am:
12550         * tests/check/elements/fakesink.c: (chain_async_buffer),
12551         (chain_async), (chain_async_return), (GST_START_TEST),
12552         (fakesink_suite), (main):
12553         Added fakesink test that checks prerolling and clipping
12554         behaviour.
12555
12556         * tests/check/gst/gstutils.c: (GST_START_TEST):
12557         Make check run faster so that buildbots don't timeout.
12558
12559 2006-01-18  Wim Taymans  <wim@fluendo.com>
12560
12561         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12562         (gst_base_sink_do_sync):
12563         Some cleanups.
12564         When the sink finishes blocking on the preroll buffer, it can
12565         immediatly render it instead of rendering when the next buffer
12566         arrives.
12567
12568 2006-01-18  Wim Taymans  <wim@fluendo.com>
12569
12570         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
12571         (gst_base_sink_get_property), (gst_base_sink_do_sync),
12572         (gst_base_sink_chain):
12573         Small cleanups.
12574         GST_ELEMENT_CLOCK and sync are protected with LOCK.
12575         Don't store _last_stop if the buffer is dropped.
12576
12577 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12578
12579         * plugins/elements/gsttypefindelement.c:
12580         (gst_type_find_element_class_init):
12581           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
12582           object method handler that sets the caps on the pad and we want
12583           that to happen before we emit the signal (fixes e.g. feeding a
12584           plain text file to decodebin).
12585
12586 2006-01-18  Christian Schaller  <Christian@fluendo.com>
12587
12588         * gst/gstplugin.c: Add MPL and Proprietary as license options
12589
12590 2006-01-18  Andy Wingo  <wingo@pobox.com>
12591
12592         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
12593         symbol was exported before, it appears this was just an oversight.
12594         Fixes #168703.
12595         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
12596
12597         * gst/gstindex.c (gst_index_add_associationv): Changed int in
12598         prototype to gint. OK since this prototype was not in the header.
12599
12600 2006-01-17  Andy Wingo  <wingo@pobox.com>
12601
12602         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
12603         registry while we remove plugins.
12604
12605         * tools/gst-inspect.c (print_element_info): Don't unref the
12606         factory arg, that should be the responsibility of whatever code
12607         received the ref. Fixes a double-free when called from
12608         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
12609         (main): Unref the factory if we have one.
12610         (print_element_list): No change -- relies on the
12611         plugin_feature_list_free to free the list of features.
12612
12613 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
12614
12615         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12616         (gst_buffer_make_metadata_writable):
12617         * gst/gstbuffer.h:
12618         * libs/gst/base/gstbasetransform.c:
12619         (gst_base_transform_prepare_output_buf):
12620         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12621         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12622           Replace gst_buffer_(make|is)_metadata_writable patch now
12623           that the release is out.
12624
12625 2006-01-17  Andy Wingo  <wingo@pobox.com>
12626
12627         * gst/gstregistry.c: Reflow design comment. Update so as to speak
12628         in the present tense without reference to versions.
12629
12630         * gst/gstregistry.c (gst_registry_add_plugin)
12631         (gst_registry_remove_plugin, gst_registry_remove_feature)
12632         (gst_registry_find_feature, gst_registry_get_feature_list)
12633         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
12634         (gst_registry_lookup, gst_registry_scan_path)
12635         (_gst_registry_remove_cache_plugins)
12636         (gst_registry_get_feature_list_by_plugin): Add argument
12637         validation.
12638
12639 === release 0.10.2 ===
12640
12641 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
12642
12643         * configure.ac:
12644           releasing 0.10.2, "If man is five"
12645
12646 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12647
12648         * gst/gstbuffer.c:
12649         * gst/gstbuffer.h:
12650         * libs/gst/base/gstbasetransform.c:
12651         (gst_base_transform_prepare_output_buf):
12652         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12653         * tests/check/gst/gstbuffer.c: (gst_test_suite):
12654           Back out patch until after the release.
12655
12656 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12657
12658         * gst/gstminiobject.c:
12659           Spelling fix in docs.
12660         * ChangeLog - remove conflict indicator
12661
12662 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12663
12664         Reviewed By: Andy Wingo
12665
12666         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12667         (gst_buffer_make_metadata_writable):
12668         * gst/gstbuffer.h:
12669           Add gst_buffer_(is|make)_metadata_writable as analogues of
12670           gst_buffer_(is|make)_writable.
12671
12672         * libs/gst/base/gstbasetransform.c:
12673         (gst_base_transform_prepare_output_buf):
12674         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12675           Use name gst_buffer_(is|make)_metadata_writable functions.
12676
12677         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12678           Test gst_buffer_(is|make)_metadata_writable
12679         
12680           (Closes: #324162)
12681
12682 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12683
12684         * docs/manual/Makefile.am:
12685           don't do parallel make
12686         * configure.ac:
12687           AC_SUBST HOST_CPU
12688         * win32/common/config.h.in:
12689           add generations for HOST_CPU and GST_MAJORMINOR
12690         * win32/common/config.h:
12691           commit generated result
12692
12693 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
12694
12695         * docs/manual/appendix-integration.xml:
12696           Update GNOME integration section to use gst_init_get_option_group()
12697           instead of the old popt stuff (#322911). Also, GNOME applications
12698           should  now use gconf*sink and gconf*src instead of the old gconf
12699           helper lib we had.
12700
12701 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
12702
12703
12704         * docs/gst/gstreamer-docs.sgml:
12705         * docs/gst/gstreamer-sections.txt:
12706         * docs/libs/gstreamer-libs-sections.txt:
12707           add new API entries to the docs
12708         * libs/gst/controller/Makefile.am:
12709         * libs/gst/controller/gstcontroller.c:
12710         * libs/gst/controller/gstcontroller.h:
12711         * libs/gst/controller/gstcontrollerprivate.h:
12712         * libs/gst/controller/gsthelper.c:
12713         * libs/gst/controller/gstinterpolation.c:
12714           move private structs to private header
12715         * po/README:
12716           gstreamer-0.7 -> gstreamer-0.10
12717         * tests/check/libs/struct_i386.h:
12718           remove private structs
12719
12720 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12721
12722         * plugins/indexers/Makefile.am:
12723           Fixes as part of #317048
12724
12725 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12726
12727         * plugins/indexers/Makefile.am:
12728           fix #316086 - compilation when mmap is missing
12729
12730 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
12731
12732         * libs/gst/base/gstbasesink.c:
12733           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
12734           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
12735         * win32/common/config.h:
12736           added some defines GST_MAJORMINOR and HOST_CPU
12737         * win32/common/libgstbase.def:
12738         * win32/common/libgstreamer.def:
12739           added some exported functions.
12740
12741 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12742
12743         * libs/gst/controller/gstcontroller.c:
12744         (gst_controlled_property_set_interpolation_mode),
12745         (gst_controlled_property_new):
12746         * libs/gst/controller/gstcontroller.h:
12747         * libs/gst/controller/gstinterpolation.c:
12748         (interpolate_none_get_string_value_array):
12749           make G_TYPE_STRING controlable
12750
12751 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12752
12753         * tools/README:
12754         * tools/gst-feedback.1.in:
12755         * tools/gst-inspect.1.in:
12756         * tools/gst-launch.1.in:
12757         * tools/gst-md5sum.1.in:
12758         * tools/gst-typefind.1.in:
12759         * tools/gst-xmlinspect.1.in:
12760         * tools/gst-xmllaunch.1.in:
12761           cleanup man-pages, remove reference to gst-register, document env-vars
12762
12763 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
12764
12765         * gst/gstbuffer.c: (gst_buffer_span):
12766           gst_buffer_span should copy the timestamp of the first buffer
12767           if they were both originally overlapping subbuffers of the 
12768           same parent, using the same logic as the 'slow copy' case.
12769
12770 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
12771
12772         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
12773           Need to awaken ALL the pads when we pop a buffer, otherwise
12774           collectpads only works when there is 2 input streams.
12775
12776 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
12777
12778         * docs/random/ensonic/media-device-daemon.txt:
12779           more ideas (dbus)
12780         * gst/gstbuffer.c:
12781           fix doc example, add clarification
12782         * tools/gst-launch.1.in:
12783           add initial info about GST_PLUGIN_PATH, needs more work
12784
12785 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
12786
12787         * docs/manual/basics-bins.xml:
12788         * docs/manual/basics-elements.xml:
12789         * docs/manual/intro-basics.xml:
12790           Some more minor docs additions and updates.
12791
12792 2006-01-11  Wim Taymans  <wim@fluendo.com>
12793
12794         * docs/manual/basics-bins.xml:
12795         * docs/manual/basics-elements.xml:
12796         Some small fixes as pointed out by Ser-ver on IRC.
12797
12798 2006-01-10  Edward Hervey  <edward@fluendo.com>
12799
12800         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12801         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
12802         the single-segment mode.
12803
12804 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
12805
12806         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12807
12808         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
12809         (gst_base_src_perform_seek), (gst_base_src_send_event),
12810         (gst_base_src_set_property), (gst_base_src_get_property),
12811         (gst_base_src_loop), (gst_base_src_start),
12812         (gst_base_src_activate_push):
12813         * libs/gst/base/gstbasesrc.h:
12814           Name (private) union; makes Sun's Forte compiler happy (#324900).
12815
12816 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
12817
12818         * README:
12819           gst-register is gone.
12820
12821 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12822
12823         * gst/gstvalue.c: (_gst_value_initialize):
12824           make the G_TYPE_DATE instantiation work if debug is disabled
12825
12826 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
12827
12828         * gst/gstmessage.c: (gst_message_parse_tag),
12829         (gst_message_parse_error), (gst_message_parse_warning):
12830           Don't crash when return location for error/warning debug
12831           string is NULL; add fact that return locations can be
12832           NULL to docs where appropriate.
12833
12834 2006-01-05  Wim Taymans  <wim@fluendo.com>
12835
12836         * gst/gstplugin.c: (gst_plugin_load_file):
12837         Replace strdup by g_strdup.
12838
12839 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12840
12841         * docs/pwg/advanced-types.xml:
12842           fix doc borkage
12843
12844 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12845
12846         submitted by: Abel Cheung
12847
12848         * po/LINGUAS:
12849         * po/zh_TW.po:
12850           Added Chinese (traditional) translation
12851
12852 2006-01-04  Wim Taymans  <wim@fluendo.com>
12853
12854         * docs/manual/basics-pads.xml:
12855         * docs/plugins/Makefile.am:
12856         * docs/plugins/gstreamer-plugins-docs.sgml:
12857         * docs/plugins/gstreamer-plugins-sections.txt:
12858         * docs/pwg/advanced-clock.xml:
12859         * docs/pwg/advanced-scheduling.xml:
12860         * docs/pwg/advanced-types.xml:
12861         * plugins/elements/gstfdsink.c:
12862         * plugins/elements/gstfdsrc.c:
12863         * plugins/elements/gstfdsrc.h:
12864         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12865         * plugins/elements/gstidentity.h:
12866         * plugins/elements/gstqueue.h:
12867         * plugins/elements/gsttee.c:
12868         * plugins/elements/gsttee.h:
12869         * plugins/elements/gsttypefindelement.c:
12870         (gst_type_find_element_class_init):
12871         * plugins/elements/gsttypefindelement.h:
12872         Small updates to various docs.
12873         Added core plugins to docs.
12874
12875 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12876
12877         * common/gst.supp:
12878           add a suppression for liboil's uninitialized variable
12879
12880 2006-01-02  James Livingston  <jrl at ids dot org dot au>
12881
12882         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12883
12884         * gst/gstutils.h:
12885           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
12886           macro, so that gcc doesn't complain if the -Wmissing-prototypes
12887           compiler switch is being used (#325429).
12888
12889 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
12890
12891         * gst/gstbin.c: (gst_bin_query):
12892           Disable duration query caching in bins until it gets
12893           fixed (see #324807).
12894
12895 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
12896
12897         * tools/gst-inspect.c: (print_element_properties_info):
12898           Handle properties of POINTER and BOXED type.
12899
12900 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
12901
12902         * gst/gst.c: (init_post):
12903           Init tags stuff and some other things before loading
12904           any static plugins (there may be other static plugins
12905           than just the GStreamer ones, and they may want to
12906           register their own tags or formats or whatever, and
12907           preferably without segfaulting).
12908
12909         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
12910           Print at least a warning in the debug logs if we drop a
12911           query just because we don't know how to adjust the value
12912           in the particular format.
12913
12914 2005-12-24  David Schleef  <ds@schleef.org>
12915
12916         * tools/gstreamer-completion:
12917           Replacement for gst-complete written in sh and sed.  Only
12918           completes names of features, but that's 90% of what I want
12919           it for.  Properties are not available in registry.xml.  (Maybe
12920           they should be...)
12921
12922 === release 0.10.1 ===
12923
12924 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
12925
12926         * configure.ac:
12927           releasing 0.10.1, "Nollaig chridheil"
12928
12929 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
12930
12931         * docs/faq/cvs.xml:
12932           Add missing quote, should be make ERROR_CFLAGS="".
12933
12934 2005-12-20  Wim Taymans  <wim@fluendo.com>
12935
12936         * docs/design/part-trickmodes.txt:
12937         More documentation on trickmodes.
12938
12939 2005-12-20  Edward Hervey  <edward@fluendo.com>
12940
12941         * gst/gstcaps.c: (gst_static_caps_get_type):
12942         * gst/gstcaps.h:
12943           API addition: GST_TYPE_STATIC_CAPS
12944         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
12945         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
12946         * gst/gstpadtemplate.h:
12947           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
12948         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
12949         bindings.
12950
12951 2005-12-18  Wim Taymans  <wim@fluendo.com>
12952
12953         * libs/gst/base/gstadapter.c:
12954         * libs/gst/base/gstadapter.h:
12955         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12956         (gst_base_sink_get_position):
12957         * libs/gst/base/gstbasesink.h:
12958         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12959         (gst_base_src_default_query), (gst_base_src_default_do_seek),
12960         (gst_base_src_do_seek), (gst_base_src_perform_seek),
12961         (gst_base_src_send_event), (gst_base_src_update_length),
12962         (gst_base_src_get_range), (gst_base_src_loop),
12963         (gst_base_src_start):
12964         * libs/gst/base/gstbasesrc.h:
12965         * libs/gst/base/gstbasetransform.h:
12966         * libs/gst/base/gstcollectpads.h:
12967         * libs/gst/base/gstpushsrc.c:
12968         * libs/gst/base/gstpushsrc.h:
12969         * libs/gst/dataprotocol/dataprotocol.c:
12970         * libs/gst/dataprotocol/dataprotocol.h:
12971         * libs/gst/net/gstnetclientclock.h:
12972         * libs/gst/net/gstnettimeprovider.h:
12973         Documentation updates.
12974
12975 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
12976
12977         * docs/manual/basics-helloworld.xml:
12978           Remove superfluous closing bracket in helloworld example.
12979
12980 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
12981
12982         * tools/gst-launch.1.in:
12983           Update gst-launch man page; add a section with useful
12984           environment variables. Fixes #323882.
12985
12986 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
12987
12988         * gst/gst.c:
12989         * gst/gst_private.h:
12990           change some char* into char[]
12991
12992 2005-12-16  Wim Taymans  <wim@fluendo.com>
12993
12994         * gst/gstregistryxml.c: (load_feature):
12995         Cleanups.
12996         Don't use g_object_unref on GstObjects so that we avoid
12997         leaks on unsafe glibs.
12998
12999 2005-12-16  Wim Taymans  <wim@fluendo.com>
13000
13001         * gst/gstbin.c: (gst_bin_recalc_state):
13002         Small doc updates.
13003
13004 2005-12-16  Wim Taymans  <wim@fluendo.com>
13005
13006         * common/check.mak:
13007         Added make forever target for check.
13008
13009 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13010
13011         * gst/gst.c: (init_post):
13012           make the registry cache file HOST_CPU-dependent
13013
13014 2005-12-16  Andy Wingo  <wingo@pobox.com>
13015
13016         * plugins/elements/gstbufferstore.c
13017         (gst_buffer_store_cleared_func): Pay attention to g_list_append
13018         return value.
13019
13020         * tests/check/gst/gstobject.c
13021         (test_fake_object_name_threaded_unique): Pay attention to
13022         g_list_sort return value.
13023
13024 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
13025
13026         * tools/gst-feedback-m.m:
13027           Update for 0.9/0.10 (fixes #323870).
13028
13029 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
13030
13031         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
13032           Fix lcopy for mini objects, the mini object needs to be ref'ed.
13033           
13034         * tests/check/gst/gstminiobject.c: (my_foo_init),
13035         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
13036         (test_value_collection), (gst_mini_object_suite):
13037           Add test to ensure refcounts end up as expected when passing
13038           GstMiniObjects through g_object_get() and g_object_set().
13039
13040 2005-12-14  Julien MOUTTE  <julien@moutte.net>
13041
13042         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13043         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
13044         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
13045         of collectpads. This version removes a lot of races without
13046         touching API/ABI. Yay !
13047
13048 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
13049
13050         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
13051           Don't allow activation of a srcpad in pull_range if it has no
13052           getrange function.
13053           Change some debug statements to be a little clearer
13054
13055         * plugins/elements/gsttypefindelement.c:
13056         (gst_type_find_handle_src_query):
13057           Check that we have a peer before executing queries thereupon.
13058
13059         * tests/examples/metadata/read-metadata.c: (message_loop):
13060           Use gst_bus_pop instead of gst_bus_poll when we just want it to
13061           immediately return us any available message with 0 timeout.
13062
13063 2005-12-12  Michael Smith  <msmith@fluendo.com>
13064
13065         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
13066           Don't unref factories after calling them.
13067         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
13068         * plugins/elements/gsttypefindelement.c:
13069         (gst_type_find_element_chain):
13070           Free lists of factories after using them. Fixing typefinding memory
13071           leaks.
13072
13073 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13074
13075         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
13076         (gst_plugin_feature_load):
13077           more meaningful debug output
13078         * configure.ac:
13079         * tests/Makefile.am:
13080         * tests/old/examples/Makefile.am:
13081           make make distcheck happy again
13082
13083 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
13084
13085         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
13086           Catch the special case where we are operating chain-based,
13087           but the downstream peer pad has no chain function. Emit a
13088           custom error message in this case instead of letting the
13089           core generate one implying that this is some sort of core
13090           bug. It's not, it just means that whatever got plugged
13091           into the pipeline downstream when we announced the type
13092           can only operate pull-based, while our source can only
13093           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
13094           Error string has not been marked for translation yet, as
13095           it probably needs some more work first.
13096
13097         (gst_type_find_element_get_best_possibility):
13098           Add helper function to find the best of all available
13099           found possibilities that qualify given the min. threshold.
13100
13101         (gst_type_find_element_handle_event):
13102           Fix the case where we get an EOS while still in TYPEFIND
13103           mode (we want to chose the best of all possible types,
13104           not just the first type that happens to be in our unsorted
13105           list of possible types).
13106
13107         (gst_type_find_element_chain):
13108           Make sure we return GST_FLOW_ERROR when we errored out
13109           in stop_typefinding(); also, don't just find the best of
13110           all found type entries and then use the last examined
13111           type entry, but actually use the best entry.
13112
13113 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
13114
13115         * tests/examples/typefind/typefind.c: (type_found):
13116         * tests/examples/xml/runxml.c: (xml_loaded):
13117           More gcc4 fixes and a mem leak fix.
13118
13119 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13120
13121         * tests/examples/xml/createxml.c: (object_saved):
13122           gcc 4 fixes
13123
13124 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13125
13126         * tests/Makefile.am:
13127           enable the examples even more
13128
13129 2005-12-12  Andy Wingo  <wingo@pobox.com>
13130
13131         * libs/gst/net/gstnettimeprovider.c
13132         (gst_net_time_provider_class_init, gst_net_time_provider_init)
13133         (gst_net_time_provider_set_property)
13134         (gst_net_time_provider_get_property):
13135         API addition: Export "active" as a GObject property.
13136         (gst_net_time_provider_thread): Only respond to time queries if
13137         the time provider is active.
13138
13139         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
13140         NetTimeProvider, preserving binary compat.
13141
13142 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13143
13144         * tests/examples/controller/audio-example.c: (main):
13145         * tests/examples/launch/Makefile.am:
13146           convert comments again
13147
13148 2005-12-12  Wim Taymans  <wim@fluendo.com>
13149
13150         * libs/gst/base/gstpushsrc.c:
13151         Fix typo.
13152
13153 2005-12-12  Wim Taymans  <wim@fluendo.com>
13154
13155         * docs/libs/gstreamer-libs-sections.txt:
13156         Added new symbol to docs.
13157
13158         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13159         (gst_base_src_init), (gst_base_src_set_format),
13160         (gst_base_src_default_query), (gst_base_src_query),
13161         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
13162         (gst_base_src_perform_seek), (gst_base_src_send_event),
13163         (gst_base_src_default_event), (gst_base_src_event_handler),
13164         (gst_base_src_set_property), (gst_base_src_get_property),
13165         (gst_base_src_wait), (gst_base_src_do_sync),
13166         (gst_base_src_update_length), (gst_base_src_get_range),
13167         (gst_base_src_check_get_range), (gst_base_src_loop),
13168         (gst_base_src_default_negotiate), (gst_base_src_start),
13169         (gst_base_src_activate_push), (gst_base_src_activate_pull),
13170         (gst_base_src_change_state):
13171         * libs/gst/base/gstbasesrc.h:
13172         Implement seeking to other formats than _BYTES.
13173         Implement more seeking methods correctly.
13174         Doc updates.
13175         Added query vmethod.
13176         Added do_seek vmethod to make life easier for subclasses
13177         when seeking.
13178         API addition: gst_base_src_set_format()
13179
13180 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13181
13182         * tests/examples/Makefile.am:
13183           added that too
13184
13185 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13186
13187         * configure.ac:
13188         * docs/random/ensonic/media-device-daemon.txt:
13189         * tests/examples/controller/.cvsignore:
13190         * tests/examples/controller/Makefile.am:
13191         * tests/examples/controller/audio-example.c: (main):
13192         * tests/examples/helloworld/.cvsignore:
13193         * tests/examples/helloworld/Makefile.am:
13194         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
13195         * tests/examples/launch/.cvsignore:
13196         * tests/examples/launch/Makefile.am:
13197         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
13198         * tests/examples/metadata/.cvsignore:
13199         * tests/examples/metadata/Makefile.am:
13200         * tests/examples/metadata/read-metadata.c: (message_loop),
13201         (make_pipeline), (print_tag), (main):
13202         * tests/examples/queue/.cvsignore:
13203         * tests/examples/queue/Makefile.am:
13204         * tests/examples/queue/queue.c: (event_loop), (main):
13205         * tests/examples/typefind/.cvsignore:
13206         * tests/examples/typefind/Makefile.am:
13207         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
13208         (main):
13209         * tests/examples/xml/.cvsignore:
13210         * tests/examples/xml/Makefile.am:
13211         * tests/examples/xml/createxml.c: (object_saved), (main):
13212         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
13213         * tests/old/examples/Makefile.am:
13214         * tests/old/examples/TODO:
13215         * tests/old/examples/controller/.cvsignore:
13216         * tests/old/examples/controller/Makefile.am:
13217         * tests/old/examples/controller/audio-example.c:
13218         * tests/old/examples/helloworld/.cvsignore:
13219         * tests/old/examples/helloworld/Makefile.am:
13220         * tests/old/examples/helloworld/helloworld.c:
13221         * tests/old/examples/launch/.cvsignore:
13222         * tests/old/examples/launch/Makefile.am:
13223         * tests/old/examples/launch/mp3parselaunch.c:
13224         * tests/old/examples/launch/mp3play:
13225         * tests/old/examples/manual/Makefile.am:
13226         * tests/old/examples/metadata/Makefile.am:
13227         * tests/old/examples/metadata/read-metadata.c:
13228         * tests/old/examples/queue/.cvsignore:
13229         * tests/old/examples/queue/Makefile.am:
13230         * tests/old/examples/queue/queue.c:
13231         * tests/old/examples/typefind/.cvsignore:
13232         * tests/old/examples/typefind/Makefile.am:
13233         * tests/old/examples/typefind/typefind.c:
13234         * tests/old/examples/xml/.cvsignore:
13235         * tests/old/examples/xml/Makefile.am:
13236         * tests/old/examples/xml/createxml.c:
13237         * tests/old/examples/xml/runxml.c:
13238           applied some simple fixing to some examples
13239           re-enabled the working examples
13240
13241 2005-12-12  Wim Taymans  <wim@fluendo.com>
13242
13243         * gst/gstsegment.c: (gst_segment_init),
13244         (gst_segment_set_last_stop), (gst_segment_set_seek),
13245         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13246         (gst_segment_to_running_time):
13247         Added more documentation.
13248         Make sure the last_pos value is updated properly.
13249         Make sure to_stream_time and to_running_time don't
13250         operate on wrong values.
13251
13252         * tests/check/gst/gstsegment.c: (GST_START_TEST):
13253         Update check.
13254
13255 2005-12-12  Michael Smith  <msmith@fluendo.com>
13256
13257         * plugins/elements/gsttypefindelement.c: (free_entry),
13258         (gst_type_find_element_chain):
13259           Now that we're not leaking factories, make sure we keep references
13260           to them while we need them.
13261
13262 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13263
13264         * tests/check/gst/struct_i386.h:
13265           ifdef out the XML structs
13266
13267 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13268
13269         * gst/gstvalue.c: (gst_value_transform_double_fraction):
13270           floor is not needed, F is always positive; this obviates the
13271           need for adding -lm when building without libxml
13272
13273 2005-12-12  Wim Taymans  <wim@fluendo.com>
13274
13275         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13276         Take current playback rate into account when reporting
13277         the position.
13278
13279 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13280
13281         * docs/manual/mime-world.fig:
13282           Let's try this again, this time with a file that is
13283           actually in XFig format.
13284
13285 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13286
13287         * docs/manual/mime-world.fig:
13288           Add audioconvert element to diagram so that it
13289           matches the text and the code (fixes #319526).
13290
13291 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13292
13293         * docs/pwg/building-chainfn.xml:
13294         * docs/pwg/building-pads.xml:
13295         * docs/pwg/building-state.xml:
13296         * docs/pwg/other-source.xml:
13297           Update state change stuff for 0.10 (fixes #322969).
13298
13299 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13300
13301         * docs/manual/advanced-dataaccess.xml:
13302         * docs/manual/appendix-checklist.xml:
13303         * docs/manual/appendix-programs.xml:
13304         * docs/manual/basics-pads.xml:
13305         * docs/manual/highlevel-components.xml:
13306         * docs/manual/manual.xml:
13307           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
13308           add converters in front of pipelines; remove curly
13309           brackets for threads stuff, they no longer exist; use
13310           GST_TYPE_FRACTION for framerates; update some pieces of
13311           code to 0.10, but there's plenty more to do.
13312
13313         * docs/manual/appendix-porting.xml:
13314           Expand on asynchroneous state changes; s/0.9/0.10/;
13315           mention disappearance of gst_init_get_popt_table()
13316           (fixes #322916).
13317
13318 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13319
13320         * docs/faq/using.xml:
13321           Spider no longer exists, and neither does gst-launch-ext.
13322           Update examples to use decodebin and playbin and put
13323           converters in front of sinks (fixes #323726).
13324
13325 2005-12-09  Michael Smith  <msmith@fluendo.com>
13326
13327         * plugins/elements/gsttypefindelement.c: (find_peek),
13328         (gst_type_find_element_chain):
13329           Fix leaking element factories in typefinding.
13330           Fix problem where we forgot about a probable type on non-seekable
13331           files, and thus later mis-typefound it.
13332
13333 2005-12-09  Michael Smith  <msmith@fluendo.com>
13334
13335         * common/m4/gst-makecontext.m4:
13336         * common/m4/gst-mcsc.m4:
13337         * configure.ac:
13338         * win32/common/config.h:
13339         * win32/common/config.h.in:
13340           Remove makecontext stuff; not used in 0.10 and causes problems on
13341           HPUX according to bug #322441
13342
13343 2005-12-07  Wim Taymans  <wim@fluendo.com>
13344
13345         * tests/check/Makefile.am:
13346         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
13347         (main):
13348         * tests/check/libs/struct_i386.h:
13349         Added ABI check for libs
13350
13351 2005-12-07  Wim Taymans  <wim@fluendo.com>
13352
13353         * tests/check/Makefile.am:
13354         And add the struct_i386.h to dist.
13355
13356 2005-12-07  Wim Taymans  <wim@fluendo.com>
13357
13358         * tests/check/Makefile.am:
13359         * tests/check/gst/.cvsignore:
13360         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
13361         (main):
13362         * tests/check/gst/struct_i386.h:
13363         Added check for ABI compatibility.
13364
13365 2005-12-07  Wim Taymans  <wim@fluendo.com>
13366
13367         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13368         (gst_fake_src_get_times), (gst_fake_src_create):
13369         Fix broken sync option, fixes #323259
13370
13371 2005-12-07  Wim Taymans  <wim@fluendo.com>
13372
13373         * gst/gstbuffer.c:
13374         Small docs update.
13375
13376         * gst/gstcaps.c: (gst_caps_is_equal):
13377         Don't assert on NULL <--> X. Fixes #323260
13378
13379         * gst/gstminiobject.c: (gst_mini_object_replace):
13380         If we're doing atomic operations, we might just as well use
13381         the proper way to get an atomic pointer.
13382
13383         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13384         Clean up debugging.
13385
13386 2005-12-07  Michael Smith  <msmith@fluendo.com>
13387
13388         * gst/parse/grammar.y:
13389           Remove handling of { } for threads.
13390
13391 2005-12-06  David Schleef  <ds@schleef.org>
13392
13393         * libs/gst/base/gstbasetransform.c: speling fix.
13394
13395 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13396
13397         * docs/libs/tmpl/gstdataprotocol.sgml:
13398         * docs/random/omega/testing/gstobject.c:
13399         * gst/gst.c:
13400         * gst/gstclock.c:
13401         * gst/gstelement.c:
13402         * gst/gstelementfactory.c:
13403         * gst/gsterror.c:
13404         * gst/gstevent.c:
13405         * gst/gstghostpad.c:
13406         * gst/gstinfo.c:
13407         * gst/gstpadtemplate.c:
13408         * gst/gstregistryxml.c:
13409         * gst/gsttaglist.c:
13410         * gst/gsttagsetter.c:
13411         * gst/gsttypefind.c:
13412         * gst/gstvalue.c:
13413         * libs/gst/base/gstbasesrc.c:
13414         * libs/gst/net/gstnetclientclock.c:
13415         * libs/gst/net/gstnettimeprovider.c:
13416         * plugins/elements/gstfakesrc.c:
13417         * plugins/elements/gstfdsrc.c:
13418         * plugins/elements/gstfilesrc.c:
13419         * plugins/elements/gstidentity.c:
13420         * plugins/elements/gstqueue.c:
13421         * plugins/elements/gsttypefindelement.c:
13422         * plugins/indexers/gstfileindex.c:
13423         * plugins/indexers/gstmemindex.c:
13424         * tests/check/gst/gsttag.c:
13425         * tests/old/examples/cutter/cutter.c:
13426         * tests/old/examples/mixer/mixer.c:
13427         * tests/old/examples/xml/runxml.c: (main):
13428         * tests/old/testsuite/caps/normalisation.c:
13429         * tests/old/testsuite/debug/global.c:
13430         * tests/old/testsuite/parse/parse1.c:
13431         * tools/gst-xmlinspect.c:
13432         * win32/common/dirent.c:
13433           expand tabs
13434
13435 === release 0.10.0 ===
13436
13437 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13438
13439         * configure.ac:
13440           releasing 0.10.0, "Maroilles"
13441
13442 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13443
13444         submitted by: Funda Wang <fundawang@linux.net.cn>
13445
13446         * po/LINGUAS:
13447         * po/zh_CN.po:
13448           added Chinese (Traditional) translation
13449
13450 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13451
13452         * docs/gst/gstreamer-sections.txt:
13453         * docs/libs/tmpl/gstdataprotocol.sgml:
13454         * docs/random/thomasvs/TODO:
13455         * gst/gstutils.c:
13456         * gst/gstutils.h:
13457           fix docs
13458
13459 2005-12-05  Andy Wingo  <wingo@pobox.com>
13460
13461         patch by: Wim Taymans <wim@fluendo.com>
13462
13463         * libs/gst/base/gstbasetransform.c
13464         (gst_base_transform_prepare_output_buf)
13465         (gst_base_transform_buffer_alloc):
13466         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
13467         alloc_buffer_and_set_caps.
13468
13469         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
13470         set_caps on the source pad.
13471         (gst_pad_alloc_buffer_and_set_caps): New function, does what
13472         alloc_buffer used to do. Fixes #322874.
13473
13474         * docs/gst/gstreamer-sections.txt: 
13475         * docs/design/part-negotiation.txt: 
13476         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
13477         changes.
13478
13479 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13480
13481         patch by: Sebastien Moutte
13482
13483         * win32/MANIFEST:
13484         * win32/common/config.h.in:
13485         * win32/vs6/libgstcontroller.dsp:
13486           win32 build fixes
13487
13488 2005-12-05  Wim Taymans  <wim@fluendo.com>
13489
13490         * gst/gstcaps.c: (gst_caps_is_equal):
13491         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13492         (gst_fake_src_create):
13493         Back out previous code changes, leave doc updates, file bugs 
13494         instead. 
13495
13496 2005-12-05  Wim Taymans  <wim@fluendo.com>
13497
13498         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13499         (gst_fake_src_get_times), (gst_fake_src_create):
13500         * plugins/elements/gstfakesrc.h:
13501         Fix broken sync code.
13502
13503 2005-12-05  Wim Taymans  <wim@fluendo.com>
13504
13505         * gst/gstcaps.c: (gst_caps_is_equal):
13506         Comparing NULL against !NULL yields different caps, not a
13507         failure.
13508
13509 2005-12-05  Wim Taymans  <wim@fluendo.com>
13510
13511         * gst/gstpipeline.c:
13512         Fix small typo in docs.
13513
13514 2005-12-05  Andy Wingo  <wingo@pobox.com>
13515
13516         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
13517
13518         * gst/gst.c (init_post): remove hard-coded 0.9 location for
13519         registries/plugins with a MAJORMINOR one.
13520         (plugin_desc): Rename library from gstcoreleements to
13521         staticelements. Fixes #323222.
13522
13523 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
13524
13525         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
13526           Change debug category to 'collectpads' from 'collect_pads'
13527           (fixes #323250).
13528
13529 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13530
13531         patch by: Sebastien Moutte
13532
13533         * libs/gst/controller/gstinterpolation.c:
13534           use convert function for uint64/double
13535         * win32/vs6/libgstcontroller.dsp:
13536           link to GLib
13537
13538 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13539
13540         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
13541         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
13542         * gst/gstutils.h:
13543         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13544           add tests that seem to show that the guint64/gdouble conversions
13545           are correct.
13546
13547 2005-12-02  Wim Taymans  <wim@fluendo.com>
13548
13549         * gst/gstregistry.c: (gst_registry_add_path):
13550         * gst/gstregistry.h:
13551         * gst/gstregistryxml.c:
13552         Fix docs again.
13553
13554 2005-12-02  Wim Taymans  <wim@fluendo.com>
13555
13556         * gst/gstutils.c: (gst_util_uint64_scale_int64),
13557         (gst_util_uint64_scale_int):
13558         Small cleanup.
13559
13560         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13561         Add debug log line.
13562
13563         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
13564         Add FIXME.
13565
13566 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13567
13568         * win32/MANIFEST:
13569         * win32/common/config.h:
13570         * win32/vs6/gstreamer.dsw:
13571         * win32/vs6/libgstcoreelements.dsp:
13572         * win32/vs6/libgstelements.dsp:
13573           renamed core elements plugin
13574
13575 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13576
13577         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
13578         (get_candidates):
13579           do piece-wise major/minor comparison so 0.9 < 0.10
13580           also allow .exe extensions for tools
13581
13582 2005-12-02  Michael Smith  <msmith@fluendo.com>
13583
13584         * gst/gst.c:
13585           Escape a % to make gtkdoc happier; bug 322958.
13586
13587 === release 0.9.7 ===
13588
13589 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13590
13591         * configure.ac:
13592           releasing 0.9.7, "My Dog Has No Nose"
13593
13594 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13595
13596         * common/gst-xmlinspect.py:
13597         * configure.ac:
13598         * docs/libs/tmpl/gstdataprotocol.sgml:
13599         * docs/random/release:
13600         * po/af.po:
13601         * po/az.po:
13602         * po/bg.po:
13603         * po/ca.po:
13604         * po/cs.po:
13605         * po/de.po:
13606         * po/en_GB.po:
13607         * po/fr.po:
13608         * po/it.po:
13609         * po/nb.po:
13610         * po/nl.po:
13611         * po/ru.po:
13612         * po/sq.po:
13613         * po/sr.po:
13614         * po/sv.po:
13615         * po/tr.po:
13616         * po/uk.po:
13617         * po/vi.po:
13618         * win32/common/config.h:
13619         * win32/common/config.h.in:
13620         * win32/vs6/gst_inspect.dsp:
13621         * win32/vs6/gst_launch.dsp:
13622         * win32/vs6/libgstbase.dsp:
13623         * win32/vs6/libgstelements.dsp:
13624         * win32/vs6/libgstreamer.dsp:
13625         * win32/vs7/GStreamer.vcproj:
13626         * win32/vs7/gst-inspect.vcproj:
13627         * win32/vs7/gst-launch.vcproj:
13628         * win32/vs7/libgstbase.vcproj:
13629           bump GST_MAJORMINOR to 0.10
13630           reset libtool version
13631
13632 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13633
13634         * po/LINGUAS:
13635         * po/bg.po:
13636           Added Bulgarian translation by (Alexander Shopov)
13637
13638 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13639
13640         * tests/check/gst/gstplugin.c:
13641           fix test
13642
13643 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13644
13645         * common/gst-xmlinspect.py:
13646         * common/gtk-doc-plugins.mak:
13647         * configure.ac:
13648         * docs/Makefile.am:
13649         * docs/gst/Makefile.am:
13650         * docs/gst/gstreamer-docs.sgml:
13651         * docs/gst/gstreamer-sections.txt:
13652         * docs/gst/gstreamer.types:
13653         * docs/gst/gstreamer.types.in:
13654         * docs/plugins/Makefile.am:
13655         * docs/plugins/gstreamer-plugins-docs.sgml:
13656         * docs/plugins/gstreamer-plugins-sections.txt:
13657         * docs/plugins/gstreamer-plugins.types:
13658         * docs/plugins/inspect.stamp:
13659         * docs/plugins/inspect/plugin-coreelements.xml:
13660         * docs/plugins/inspect/plugin-coreindexers.xml:
13661         * docs/plugins/scanobj-build.stamp:
13662         * gstreamer.spec.in:
13663         * plugins/elements/Makefile.am:
13664         * plugins/elements/gstelements.c:
13665         * plugins/elements/gstfakesink.c:
13666         * plugins/elements/gstfakesrc.c:
13667         * plugins/elements/gstfilesink.c:
13668         * plugins/elements/gstfilesrc.c:
13669         * plugins/elements/gstqueue.c:
13670         * plugins/indexers/Makefile.am:
13671         * plugins/indexers/gstindexers.c:
13672           document core plugins in a separate document just like all the
13673           others
13674           rename these plugins to something starting with core
13675
13676 2005-12-01  Andy Wingo  <wingo@pobox.com>
13677
13678         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
13679         padding here before, but it missed the commit.
13680
13681 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13682
13683         * libs/gst/controller/gstinterpolation.c:
13684           whitespace prices have crashed, we should feel free to use some now
13685           use gst_guint64_to_gdouble
13686
13687 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13688
13689         * libs/gst/controller/gstcontroller.c:
13690         * libs/gst/controller/gsthelper.c:
13691         * libs/gst/controller/gstinterpolation.c:
13692         * libs/gst/controller/lib.c:
13693           wrap config.h include
13694
13695 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13696
13697         * docs/gst/gstreamer-sections.txt:
13698           update docs
13699
13700 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13701
13702         * plugins/elements/gstelements.c:
13703         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
13704         (gst_fd_sink__class_init), (gst_fd_sink__init),
13705         (gst_fd_sink__chain), (gst_fd_sink__set_property),
13706         (gst_fd_sink__get_property):
13707         * plugins/elements/gstfdsink.h:
13708         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
13709         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
13710         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
13711         (gst_fd_src_unlock), (gst_fd_src_set_property),
13712         (gst_fd_src_get_property), (gst_fd_src_create),
13713         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
13714         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
13715         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
13716         (gst_fd_src_uri_handler_init):
13717         * plugins/elements/gstfdsrc.h:
13718         * plugins/elements/gstqueue.c: (gst_queue_get_type):
13719           more anal cleanup
13720
13721 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13722
13723         * docs/gst/Makefile.am:
13724         * docs/gst/gstreamer.types.in:
13725         * gst/Makefile.am:
13726           fix the docs build
13727
13728 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13729
13730         * configure.ac:
13731         * gst/Makefile.am:
13732         * gst/gst.c:
13733         * gst/gstplugin.h:
13734         * gst/gstregistry.h:
13735         * tests/benchmarks/complexity.c:
13736         * tests/benchmarks/mass-elements.c:
13737         * tests/check/Makefile.am:
13738         * tools/Makefile.am:
13739         * tools/gst-inspect.c:
13740         * tools/gst-xmlinspect.c:
13741           various fixes to make
13742           --disable-nls --disable-registry --disable-loadsave
13743           --disable-parse --disable-gst-debug
13744           work and get the core .so down to 360444 bytes after stripping
13745
13746 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13747
13748         * Makefile.am:
13749         * configure.ac:
13750           descend into tests
13751         * docs/random/thomasvs/TODO:
13752         * tests/Makefile.am:
13753         * tests/README:
13754           add a README
13755
13756 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13757
13758         * win32/GStreamer.vcproj:
13759         * win32/MANIFEST:
13760         * win32/Makefile:
13761         * win32/Makefile.inspect:
13762         * win32/Makefile.launch:
13763         * win32/Makefile.register:
13764         * win32/README.txt:
13765         * win32/gst-inspect.vcproj:
13766         * win32/gst-launch.vcproj:
13767         * win32/gst-register.vcproj:
13768         * win32/gstelements.vcproj:
13769         * win32/gstgetbits.def:
13770         * win32/gstgetbits.vcproj:
13771         * win32/gstreamer-dbg.def:
13772         * win32/gstreamer.def:
13773         * win32/libgstbase.def:
13774         * win32/libgstbase.vcproj:
13775         * win32/link_oldruntime.c:
13776         * win32/mman.c:
13777         * win32/mman.h:
13778         * win32/mman.inl:
13779         * win32/msvc71.sln:
13780           move even more stuff, win32/ is nice and clean now
13781
13782 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13783
13784         * libs/gst/control/.cvsignore:
13785         * win32/MANIFEST:
13786         * win32/config.h:
13787         * win32/dirent.c:
13788         * win32/dirent.h:
13789         * win32/gstbytestream.def:
13790         * win32/gstbytestream.vcproj:
13791         * win32/gstconfig.h:
13792         * win32/gstenumtypes.c:
13793         * win32/gstenumtypes.h:
13794         * win32/gstoptimalscheduler.vcproj:
13795         * win32/gstversion.h:
13796         * win32/gtchar.h:
13797         * win32/testsuite/bins.vcproj:
13798         * win32/testsuite/bytestream.vcproj:
13799         * win32/testsuite/caps.vcproj:
13800         * win32/testsuite/cleanup.vcproj:
13801         * win32/testsuite/clock.vcproj:
13802         * win32/testsuite/debug.vcproj:
13803         * win32/testsuite/dlopen.vcproj:
13804         * win32/testsuite/dynparams.vcproj:
13805         * win32/testsuite/elements.vcproj:
13806         * win32/testsuite/ghostpads.vcproj:
13807         * win32/testsuite/indexers.vcproj:
13808         * win32/testsuite/negotiation.vcproj:
13809         * win32/testsuite/parse.vcproj:
13810         * win32/testsuite/plugin.vcproj:
13811         * win32/testsuite/refcounting.vcproj:
13812         * win32/testsuite/schedulers.vcproj:
13813         * win32/testsuite/states.vcproj:
13814         * win32/testsuite/tags.vcproj:
13815         * win32/testsuite/threads.vcproj:
13816           remove old win32 stuff that isn't maintained and should be
13817           reorganized
13818
13819 2005-11-30  Andy Wingo  <wingo@pobox.com>
13820
13821         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
13822         loading the gst.interfaces python module bork.
13823
13824         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
13825         available since GLib 2.2. Fixes #318031.
13826
13827 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13828
13829         * Makefile.am:
13830         * check/.cvsignore:
13831         * check/Makefile.am:
13832         * check/elements/.cvsignore:
13833         * check/elements/fakesrc.c:
13834         * check/elements/fdsrc.c:
13835         * check/elements/identity.c:
13836         * check/generic/.cvsignore:
13837         * check/generic/states.c:
13838         * check/gst-libs/.cvsignore:
13839         * check/gst-libs/controller.c:
13840         * check/gst-libs/gdp.c:
13841         * check/gst/.cvsignore:
13842         * check/gst/capslist.h:
13843         * check/gst/gst.c:
13844         * check/gst/gstbin.c:
13845         * check/gst/gstbuffer.c:
13846         * check/gst/gstbus.c:
13847         * check/gst/gstcaps.c:
13848         * check/gst/gstelement.c:
13849         * check/gst/gstevent.c:
13850         * check/gst/gstghostpad.c:
13851         * check/gst/gstiterator.c:
13852         * check/gst/gstmessage.c:
13853         * check/gst/gstminiobject.c:
13854         * check/gst/gstobject.c:
13855         * check/gst/gstpad.c:
13856         * check/gst/gstpipeline.c:
13857         * check/gst/gstplugin.c:
13858         * check/gst/gstsegment.c:
13859         * check/gst/gststructure.c:
13860         * check/gst/gstsystemclock.c:
13861         * check/gst/gsttag.c:
13862         * check/gst/gstutils.c:
13863         * check/gst/gstvalue.c:
13864         * check/net/.cvsignore:
13865         * check/net/gstnetclientclock.c:
13866         * check/net/gstnettimeprovider.c:
13867         * check/pipelines/.cvsignore:
13868         * check/pipelines/cleanup.c:
13869         * check/pipelines/simple_launch_lines.c:
13870         * check/pipelines/stress.c:
13871         * check/states/.cvsignore:
13872         * check/states/sinks.c:
13873         * configure.ac:
13874         * examples/Makefile.am:
13875         * examples/appreader/.cvsignore:
13876         * examples/appreader/Makefile.am:
13877         * examples/appreader/appreader.c:
13878         * examples/controller/.cvsignore:
13879         * examples/controller/Makefile.am:
13880         * examples/controller/audio-example.c:
13881         * examples/cutter/.cvsignore:
13882         * examples/cutter/Makefile.am:
13883         * examples/cutter/cutter.c:
13884         * examples/cutter/cutter.h:
13885         * examples/events/Makefile.am:
13886         * examples/events/seek.c:
13887         * examples/helloworld/.cvsignore:
13888         * examples/helloworld/Makefile.am:
13889         * examples/helloworld/helloworld.c:
13890         * examples/helloworld2/.cvsignore:
13891         * examples/helloworld2/Makefile.am:
13892         * examples/helloworld2/helloworld2.c:
13893         * examples/launch/.cvsignore:
13894         * examples/launch/Makefile.am:
13895         * examples/launch/mp3parselaunch.c:
13896         * examples/launch/mp3play:
13897         * examples/manual/.cvsignore:
13898         * examples/manual/Makefile.am:
13899         * examples/manual/extract.pl:
13900         * examples/metadata/Makefile.am:
13901         * examples/metadata/read-metadata.c:
13902         * examples/mixer/.cvsignore:
13903         * examples/mixer/Makefile.am:
13904         * examples/mixer/mixer.c:
13905         * examples/mixer/mixer.h:
13906         * examples/pingpong/.cvsignore:
13907         * examples/pingpong/Makefile.am:
13908         * examples/pingpong/pingpong.c:
13909         * examples/plugins/.cvsignore:
13910         * examples/plugins/Makefile.am:
13911         * examples/plugins/example.c:
13912         * examples/plugins/example.h:
13913         * examples/pwg/.cvsignore:
13914         * examples/pwg/Makefile.am:
13915         * examples/pwg/extract.pl:
13916         * examples/queue/.cvsignore:
13917         * examples/queue/Makefile.am:
13918         * examples/queue/queue.c:
13919         * examples/queue2/.cvsignore:
13920         * examples/queue2/Makefile.am:
13921         * examples/queue2/queue2.c:
13922         * examples/queue3/.cvsignore:
13923         * examples/queue3/Makefile.am:
13924         * examples/queue3/queue3.c:
13925         * examples/queue4/.cvsignore:
13926         * examples/queue4/Makefile.am:
13927         * examples/queue4/queue4.c:
13928         * examples/retag/.cvsignore:
13929         * examples/retag/Makefile.am:
13930         * examples/retag/retag.c:
13931         * examples/retag/transcode.c:
13932         * examples/thread/.cvsignore:
13933         * examples/thread/Makefile.am:
13934         * examples/thread/thread.c:
13935         * examples/typefind/.cvsignore:
13936         * examples/typefind/Makefile.am:
13937         * examples/typefind/typefind.c:
13938         * examples/xml/.cvsignore:
13939         * examples/xml/Makefile.am:
13940         * examples/xml/createxml.c:
13941         * examples/xml/runxml.c:
13942         * tests/Makefile.am:
13943         * tests/check/Makefile.am:
13944         * testsuite/.cvsignore:
13945         * testsuite/Makefile.am:
13946         * testsuite/Rules:
13947         * testsuite/caps/.cvsignore:
13948         * testsuite/caps/Makefile.am:
13949         * testsuite/caps/app_fixate.c:
13950         * testsuite/caps/audioscale.c:
13951         * testsuite/caps/caps.c:
13952         * testsuite/caps/caps.h:
13953         * testsuite/caps/caps_strings:
13954         * testsuite/caps/compatibility.c:
13955         * testsuite/caps/deserialize.c:
13956         * testsuite/caps/enumcaps.c:
13957         * testsuite/caps/eratosthenes.c:
13958         * testsuite/caps/filtercaps.c:
13959         * testsuite/caps/fixed.c:
13960         * testsuite/caps/fraction-convert.c:
13961         * testsuite/caps/fraction-multiply-and-zero.c:
13962         * testsuite/caps/intersect2.c:
13963         * testsuite/caps/intersection.c:
13964         * testsuite/caps/normalisation.c:
13965         * testsuite/caps/random.c:
13966         * testsuite/caps/renegotiate.c:
13967         * testsuite/caps/sets.c:
13968         * testsuite/caps/simplify.c:
13969         * testsuite/caps/string-conversions.c:
13970         * testsuite/caps/structure.c:
13971         * testsuite/caps/subtract.c:
13972         * testsuite/caps/union.c:
13973         * testsuite/debug/.cvsignore:
13974         * testsuite/debug/Makefile.am:
13975         * testsuite/debug/category.c:
13976         * testsuite/debug/commandline.c:
13977         * testsuite/debug/global.c:
13978         * testsuite/debug/output.c:
13979         * testsuite/debug/printf_extension.c:
13980         * testsuite/dlopen/.cvsignore:
13981         * testsuite/dlopen/Makefile.am:
13982         * testsuite/dlopen/dlopen_gst.c:
13983         * testsuite/dlopen/loadgst.c:
13984         * testsuite/elements/.cvsignore:
13985         * testsuite/elements/Makefile.am:
13986         * testsuite/elements/gst-inspect-check.in:
13987         * testsuite/elements/struct_i386.h:
13988         * testsuite/elements/struct_size.c:
13989         * testsuite/indexers/.cvsignore:
13990         * testsuite/indexers/Makefile.am:
13991         * testsuite/indexers/cache1.c:
13992         * testsuite/indexers/indexdump.c:
13993         * testsuite/parse/.cvsignore:
13994         * testsuite/parse/Makefile.am:
13995         * testsuite/parse/parse1.c:
13996         * testsuite/parse/parse2.c:
13997         * testsuite/plugin/.cvsignore:
13998         * testsuite/plugin/Makefile.am:
13999         * testsuite/plugin/README:
14000         * testsuite/plugin/dynamic.c:
14001         * testsuite/plugin/linked.c:
14002         * testsuite/plugin/loading.c:
14003         * testsuite/plugin/registry.c:
14004         * testsuite/plugin/static.c:
14005         * testsuite/plugin/static2.c:
14006         * testsuite/plugin/testplugin.c:
14007         * testsuite/plugin/testplugin2.c:
14008         * testsuite/plugin/testplugin2_s.c:
14009         * testsuite/plugin/testplugin_s.c:
14010         * testsuite/refcounting/.cvsignore:
14011         * testsuite/refcounting/Makefile.am:
14012         * testsuite/refcounting/bin.c:
14013         * testsuite/refcounting/element.c:
14014         * testsuite/refcounting/element_pad.c:
14015         * testsuite/refcounting/mainloop.c:
14016         * testsuite/refcounting/mem.c:
14017         * testsuite/refcounting/mem.h:
14018         * testsuite/refcounting/object.c:
14019         * testsuite/refcounting/pad.c:
14020         * testsuite/refcounting/sched.c:
14021         * testsuite/refcounting/thread.c:
14022         * testsuite/states/.cvsignore:
14023         * testsuite/states/Makefile.am:
14024         * testsuite/states/bin.c:
14025         * testsuite/states/locked.c:
14026         * testsuite/states/parent.c:
14027         * testsuite/threads/.cvsignore:
14028         * testsuite/threads/159566.c:
14029         * testsuite/threads/159852.c:
14030         * testsuite/threads/Makefile.am:
14031         * testsuite/threads/queue.c:
14032         * testsuite/threads/signals.c:
14033         * testsuite/threads/staticrec.c:
14034         * testsuite/threads/thread.c:
14035         * testsuite/threads/threadb.c:
14036         * testsuite/threads/threadc.c:
14037         * testsuite/threads/threadd.c:
14038         * testsuite/threads/threade.c:
14039         * testsuite/threads/threadf.c:
14040         * testsuite/threads/threadg.c:
14041         * testsuite/threads/threadh.c:
14042         * testsuite/threads/threadi.c:
14043           move all of these under tests
14044
14045 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14046
14047         * configure.ac:
14048         * tests/Makefile.am:
14049           fix distcheck
14050
14051 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14052
14053         * docs/gst/gstreamer-sections.txt:
14054         * tests/sched/.cvsignore:
14055         * tests/sched/Makefile.am:
14056         * tests/sched/cases/(fs-fs).xml:
14057         * tests/sched/cases/(fs-i-fs).xml:
14058         * tests/sched/cases/(fs-i-i-fs).xml:
14059         * tests/sched/cases/(fs-i-q[i-fs]).xml:
14060         * tests/sched/dynamic-pipeline.c:
14061         * tests/sched/interrupt1.c:
14062         * tests/sched/interrupt2.c:
14063         * tests/sched/interrupt3.c:
14064         * tests/sched/runtestcases:
14065         * tests/sched/runxml.c:
14066         * tests/sched/sched-stress.c:
14067         * tests/sched/sort.c:
14068         * tests/sched/testcases:
14069         * tests/sched/testcases1.tc:
14070         * tests/seeking/.cvsignore:
14071         * tests/seeking/Makefile.am:
14072         * tests/seeking/seeking1.c:
14073         * tests/threadstate/.cvsignore:
14074         * tests/threadstate/Makefile.am:
14075         * tests/threadstate/test1.c:
14076         * tests/threadstate/test2.c:
14077         * tests/threadstate/threadstate1.c:
14078         * tests/threadstate/threadstate2.c:
14079         * tests/threadstate/threadstate3.c:
14080         * tests/threadstate/threadstate4.c:
14081         * tests/threadstate/threadstate5.c:
14082           remove obsolete tests
14083         * configure.ac:
14084         * tests/bench-complexity.scm:
14085         * tests/bench-mass_elements.scm:
14086         * tests/complexity.c:
14087         * tests/complexity.gnuplot:
14088         * tests/instantiate/.cvsignore:
14089         * tests/instantiate/Makefile.am:
14090         * tests/instantiate/caps.c:
14091         * tests/mass_elements.c:
14092         * tests/network-clock-utils.scm:
14093         * tests/network-clock.scm:
14094         * tests/plot-data:
14095         First pass at cleaning up tests/ dir before moving the rest
14096         Combined with CVS surgery
14097
14098 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14099
14100         * po/POTFILES.in:
14101           queue has moved, update
14102
14103 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14104
14105         * docs/gst/gstreamer-sections.txt:
14106           remove double entries from the docs
14107         * gst/gst_private.h:
14108         * gst/gstinfo.c: (_gst_debug_init):
14109           remove the THREAD debug category
14110         * gst/Makefile.am:
14111         * gst/gstqueue.c:
14112         * gst/gstqueue.h:
14113         * docs/gst/gstreamer.types:
14114         * plugins/elements/gstqueue.c: (gst_queue_get_type),
14115         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
14116           completely move queue and fix up debugging categories
14117
14118 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14119
14120         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
14121           make initialization portable, using LL is not
14122
14123 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14124
14125         * win32/common/gstconfig.h:
14126           add large padding
14127
14128 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14129
14130         * win32/common/libgstreamer.def:
14131           rename symbols; sort base section
14132
14133 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14134
14135         * gst/gstclock.c: (do_linear_regression):
14136           remove crack non-portable handrolled DEBUG macro
14137
14138 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14139
14140         * docs/random/release:
14141           update notes
14142         * win32/common/gstenumtypes.c: (register_gst_object_flags),
14143         (gst_object_flags_get_type), (register_gst_bin_flags),
14144         (gst_bin_flags_get_type), (register_gst_buffer_flag),
14145         (gst_buffer_flag_get_type), (register_gst_bus_flags),
14146         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
14147         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
14148         (gst_caps_flags_get_type), (register_gst_clock_return),
14149         (gst_clock_return_get_type), (register_gst_clock_entry_type),
14150         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
14151         (gst_clock_flags_get_type), (register_gst_state),
14152         (gst_state_get_type), (register_gst_state_change_return),
14153         (gst_state_change_return_get_type), (register_gst_state_change),
14154         (gst_state_change_get_type), (register_gst_element_flags),
14155         (gst_element_flags_get_type), (register_gst_core_error),
14156         (gst_core_error_get_type), (register_gst_library_error),
14157         (gst_library_error_get_type), (register_gst_resource_error),
14158         (gst_resource_error_get_type), (register_gst_stream_error),
14159         (gst_stream_error_get_type), (register_gst_event_type_flags),
14160         (gst_event_type_flags_get_type), (register_gst_event_type),
14161         (gst_event_type_get_type), (register_gst_seek_type),
14162         (gst_seek_type_get_type), (register_gst_seek_flags),
14163         (gst_seek_flags_get_type), (register_gst_format),
14164         (gst_format_get_type), (register_gst_index_certainty),
14165         (gst_index_certainty_get_type), (register_gst_index_entry_type),
14166         (gst_index_entry_type_get_type),
14167         (register_gst_index_lookup_method),
14168         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14169         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14170         (gst_index_resolver_method_get_type), (register_gst_index_flags),
14171         (gst_index_flags_get_type), (register_gst_debug_level),
14172         (gst_debug_level_get_type), (register_gst_debug_color_flags),
14173         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14174         (gst_iterator_result_get_type), (register_gst_iterator_item),
14175         (gst_iterator_item_get_type), (register_gst_message_type),
14176         (gst_message_type_get_type), (register_gst_mini_object_flags),
14177         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14178         (gst_pad_link_return_get_type), (register_gst_flow_return),
14179         (gst_flow_return_get_type), (register_gst_activate_mode),
14180         (gst_activate_mode_get_type), (register_gst_pad_direction),
14181         (gst_pad_direction_get_type), (register_gst_pad_flags),
14182         (gst_pad_flags_get_type), (register_gst_pad_presence),
14183         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14184         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14185         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14186         (gst_plugin_error_get_type), (register_gst_plugin_flags),
14187         (gst_plugin_flags_get_type), (register_gst_rank),
14188         (gst_rank_get_type), (register_gst_query_type),
14189         (gst_query_type_get_type), (register_gst_tag_merge_mode),
14190         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14191         (gst_tag_flag_get_type), (register_gst_task_state),
14192         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14193         (gst_alloc_trace_flags_get_type),
14194         (register_gst_type_find_probability),
14195         (gst_type_find_probability_get_type), (register_gst_uri_type),
14196         (gst_uri_type_get_type), (register_gst_parse_error),
14197         (gst_parse_error_get_type):
14198         * win32/common/gstenumtypes.h:
14199         * win32/common/gstversion.h:
14200           update visual studio generated files
14201
14202 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14203
14204         * win32/vs6/libgstbase.dsp:
14205         * win32/vs6/libgstelements.dsp:
14206           update project files for new locations
14207
14208 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14209
14210         * Makefile.am:
14211           remove some files
14212         * README:
14213           reinstate and update
14214         * DEVEL:
14215         * REQUIREMENTS:
14216           removed
14217         * LICENSE:
14218         * docs/random/LICENSE:
14219           moved to random
14220
14221 2005-11-30  Edward Hervey  <edward@fluendo.com>
14222
14223         * gst/gsttypefind.c: (gst_type_find_register):
14224         * gst/gsttypefind.h:
14225         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
14226         (gst_type_find_factory_dispose):
14227         * gst/gsttypefindfactory.h:
14228         Fix memory leak in GstTypeFindFactory.
14229
14230 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14231
14232         * gst/gst.c:
14233         * plugins/elements/Makefile.am:
14234         * plugins/elements/gstelements.c:
14235         * plugins/elements/gstqueue.c:
14236           move queue from core to the elements plugin
14237
14238 2005-11-29  Andy Wingo  <wingo@pobox.com>
14239
14240         * libs/gst/base/gstbasetransform.h: 
14241         * libs/gst/base/gstbasesrc.h: 
14242         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
14243
14244         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
14245         of pointers by which to pad very extensible base classes (like the
14246         ones in libs/gst/base).
14247
14248 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14249
14250         * docs/gst/gstreamer-docs.sgml:
14251         * docs/gst/gstreamer-sections.txt:
14252         * docs/libs/gstreamer-libs-docs.sgml:
14253         * docs/libs/gstreamer-libs-sections.txt:
14254           moving documentation from core to lib
14255
14256 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14257
14258         * check/Makefile.am:
14259         * configure.ac:
14260         * docs/gst/Makefile.am:
14261         * gst/Makefile.am:
14262         * gst/base/.cvsignore:
14263         * gst/base/Makefile.am:
14264         * gst/base/README:
14265         * gst/base/gstadapter.c:
14266         * gst/base/gstadapter.h:
14267         * gst/base/gstbasesink.c:
14268         * gst/base/gstbasesink.h:
14269         * gst/base/gstbasesrc.c:
14270         * gst/base/gstbasesrc.h:
14271         * gst/base/gstbasetransform.c:
14272         * gst/base/gstbasetransform.h:
14273         * gst/base/gstcollectpads.c:
14274         * gst/base/gstcollectpads.h:
14275         * gst/base/gstpushsrc.c:
14276         * gst/base/gstpushsrc.h:
14277         * gst/base/gsttypefindhelper.c:
14278         * gst/base/gsttypefindhelper.h:
14279         * gst/check/Makefile.am:
14280         * gst/check/gstcheck.c:
14281         * gst/check/gstcheck.h:
14282         * gst/net/Makefile.am:
14283         * gst/net/gstnet.h:
14284         * gst/net/gstnetclientclock.c:
14285         * gst/net/gstnetclientclock.h:
14286         * gst/net/gstnettimepacket.c:
14287         * gst/net/gstnettimepacket.h:
14288         * gst/net/gstnettimeprovider.c:
14289         * gst/net/gstnettimeprovider.h:
14290         * libs/gst/Makefile.am:
14291         * libs/gst/base/Makefile.am:
14292         * libs/gst/base/gstbasetransform.c:
14293         * libs/gst/check/Makefile.am:
14294         * plugins/elements/Makefile.am:
14295         * po/POTFILES.in:
14296           CVS surgery + support to move base, check, and net out of gst
14297           and into libs/gst
14298
14299 2005-11-29  Andy Wingo  <wingo@pobox.com>
14300
14301         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
14302
14303         * gst/gststructure.h (struct _GstStructure): Only one pointer of
14304         padding.
14305
14306         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
14307
14308         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
14309
14310         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
14311
14312         * gst/gstobject.h: (struct _GstObject): Only one pointer of
14313         padding; reduces object size by about 30%. We don't expect
14314         anything else to go into gstobject.
14315
14316         * gst/gstminiobject.h (struct _GstMiniObject)
14317         (struct _GstMiniObjectClass): Only one pointer of padding; the
14318         payload is only a pointer and two ints anyway. For the class there
14319         are only two methods as well.
14320         
14321         * gst/gstelement.h (struct _GstElementClass): Removed
14322         the state_changed signal callback, it is not used.
14323
14324 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14325
14326         * docs/gst/gstreamer.types:
14327           fix includes, though they are a little dinky
14328
14329 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14330
14331         * check/Makefile.am:
14332           look in the right place for elements, a lot more chance of
14333           success
14334         * gst/Makefile.am:
14335           remove indexers and elements subdirs
14336         * plugins/Makefile.am:
14337           make indexers conditional
14338
14339 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14340
14341         * Makefile.am:
14342         * configure.ac:
14343         * plugins/elements/Makefile.am:
14344         * plugins/elements/gstcapsfilter.c:
14345         * plugins/elements/gstfilesink.c:
14346         * plugins/elements/gstfilesrc.c:
14347         * plugins/elements/gstidentity.c:
14348         * plugins/indexers/Makefile.am:
14349           do CVS surgery and related build fixery to move elements
14350           and indexers in a new gstreamer/plugins directory, out of the
14351           gst/ directory
14352
14353 2005-11-29  Andy Wingo  <wingo@pobox.com>
14354
14355         * check/Makefile.am:
14356         * pkgconfig/gstreamer-net-uninstalled.pc.in:
14357         * pkgconfig/gstreamer-net.pc.in:
14358         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
14359         #322257.
14360
14361 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14362
14363         * tools/Makefile.am:
14364         * tools/gst-complete.1.in:
14365         * tools/gst-complete.c:
14366         * tools/gst-compprep.1.in:
14367         * tools/gst-compprep.c:
14368           removing -compprep and -complete
14369
14370 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14371
14372         * gst/gstevent.c: (gst_event_new_new_segment),
14373         (gst_event_parse_new_segment):
14374         * gst/gstevent.h:
14375           fix #320529 - clean up new_segment API and structure.
14376           Let's hope everyone was using the methods, and not the structure.
14377
14378 2005-11-29  Edward Hervey  <edward@fluendo.com>
14379
14380         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14381         (gst_base_sink_event), (gst_base_sink_do_sync),
14382         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
14383         Properly handle non GST_FORMAT_TIME segment
14384         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14385         Properly handle non GST_FORMAT_TIME segment
14386         * gst/gstsegment.c:
14387         This function is valid if the accumulator is 0 and the format
14388         is different from the requested format.
14389         
14390 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
14391
14392         * docs/gst/gstreamer-sections.txt:
14393         Add gst_query_new_seeking and gst_query_parse_seeking to the
14394         docs.
14395
14396 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
14397
14398         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14399           Treat a pad alloc with new caps the same as if we were not
14400           negotiated, in order to allow a changing upstream output
14401           to produce a new format of data.
14402
14403 2005-11-29  Edward Hervey  <edward@fluendo.com>
14404
14405         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14406         (gst_base_transform_event), (gst_base_transform_eventfunc):
14407         The event virtual method is now properly implemented, with a default
14408         handler
14409         Sub classes should call the parent_class event method. They should
14410         return FALSE if they had a problem handling the given event, or don't
14411         want GstBaseTransform to send that even downstream
14412         * gst/elements/gstidentity.c: (gst_identity_class_init),
14413         (gst_identity_init), (gst_identity_event),
14414         (gst_identity_transform_ip), (gst_identity_set_property),
14415         (gst_identity_get_property):
14416         * gst/elements/gstidentity.h:
14417         Added the single-segment boolean property.
14418         If set to TRUE, it will output a single segment of data, starting from
14419         0, will eat up all incoming newsegment, and modify the timestamp of the
14420         buffers accordingly
14421
14422 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
14423
14424         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
14425           Don't ref NULL target pad (#322751). Improve docs.
14426
14427 2005-11-29  Michael Smith  <msmith@fluendo.com>
14428
14429         * gst/gstregistryxml.c: (load_plugin):
14430           Don't crash if we failed to load a feature from a plugin. 
14431
14432 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14433
14434         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
14435         (GST_START_TEST):
14436           use more check API and less GLib API
14437
14438 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14439
14440         * Makefile.am:
14441           don't run checks if we don't have check
14442         * common/check.mak:
14443           remove the registry when running make torture
14444         * docs/gst/gstreamer-sections.txt:
14445           remove second multiply
14446         * gst/gstqueue.c: (gst_queue_loop):
14447           fix a compile warning when disabling debug
14448
14449 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14450
14451         * gst/gstinfo.h:
14452         Hey! Let's print the pad name if the pointer != NULL instead
14453         of when it == NULL :-)
14454
14455 2005-11-28  Wim Taymans  <wim@fluendo.com>
14456
14457         * check/gst/gstutils.c: (GST_START_TEST):
14458         Updated check, add some scaling accuracy checking code.
14459
14460         * gst/gstutils.c: (gst_util_div128_64),
14461         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
14462         (gst_util_uint64_scale_int):
14463         Fix 6 times faster division code. Optimize for common 
14464         1/1 and less common X/1 cases.
14465
14466 2005-11-28  Wim Taymans  <wim@fluendo.com>
14467
14468         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14469         More checks.
14470
14471         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
14472         (do_linear_regression), (gst_clock_add_observation):
14473         Cleanups.
14474         Release lock when the clock cannot be slaved.
14475         Catch the case where the regression returned an invalid denominator.
14476
14477         * gst/gstutils.c: (gst_util_div128_64_iterate),
14478         (gst_util_div128_64), (gst_util_uint64_scale_int64),
14479         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14480         Add protentially more performant non-iterative 128/64 divide function
14481         that unfortunatly does not work yet.
14482         Shortcut the trivial 0/X = 0 case.
14483         Remove the warnings on overflow.
14484
14485 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14486
14487         * gst/gstplugin.c: (gst_plugin_register_func):
14488           everything causing a plugin not to load should be at least a WARNING
14489
14490 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
14491
14492         * docs/random/ensonic/dparams.txt:
14493           some TODOs for the next dev cycle
14494         * libs/gst/controller/gstcontroller.c:
14495         (gst_controlled_property_set_interpolation_mode),
14496         (gst_controlled_property_new):
14497         * libs/gst/controller/gstcontroller.h:
14498           use base type to assign acccessor functions
14499
14500 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14501
14502         * check/Makefile.am:
14503         Oops, that should have been top_srcdir
14504
14505 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14506
14507         * check/Makefile.am:
14508         * check/elements/fdsrc.c: (GST_START_TEST):
14509         Use a cmdline define to specify the location of a file to use for
14510         testing, to avoid breaking distcheck.
14511
14512 2005-11-28  Andy Wingo  <wingo@pobox.com>
14513
14514         * gst/gstpad.c (fixate_value): Use array functions for arrays.
14515
14516 2005-11-28  Edward Hervey  <edward@fluendo.com>
14517
14518         * tools/gst-launch.c: (main):
14519         Clarify the output strings, makes it easier to translate.
14520         Fixes #322626
14521
14522 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14523
14524         * gst/Makefile.am:
14525           don't try and build net if we don't even have <sys/socket.h>
14526
14527 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
14528
14529         * check/Makefile.am:
14530         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
14531         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
14532           Add tests for fdsrc seekability
14533
14534         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
14535         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
14536         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
14537         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
14538         * gst/elements/gstfdsrc.h:
14539           fdsrc should not be a 'live' source.
14540           Implement seeking on seekable fd's.
14541
14542         * gst/gstquery.c: (gst_query_new_seeking),
14543         (gst_query_parse_seeking):
14544         * gst/gstquery.h:
14545           Implement SEEKING query functions: 
14546             *_new_seeking and *_parse_seeking
14547
14548 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
14549
14550         * gst/gstelement.c: (gst_element_dispose):
14551           don't loop forever
14552
14553         * gst/gstiterator.c:
14554         * gst/gststructure.c:
14555           doc fixes
14556
14557         * libs/gst/controller/gstcontroller.c:
14558         (gst_controlled_property_set_interpolation_mode):
14559         * libs/gst/controller/gstcontroller.h:
14560         * libs/gst/controller/gstinterpolation.c:
14561         (interpolate_none_get_enum_value_array):
14562           support controlling enums
14563
14564 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14565
14566         * gst/gstvalue.c:
14567           Improve documentation for gst_value_union().
14568
14569         * gst/gstvalue.h:
14570           Change return value for union, intersect and subtract functions
14571           from gint to gboolean.
14572
14573 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14574
14575         * gst/gstvalue.c: (gst_value_serialize_any_list),
14576         (gst_value_transform_any_list_string),
14577         (gst_value_deserialize_list), (gst_value_deserialize_array),
14578         (gst_value_set_int_range), (gst_value_deserialize_int_range),
14579         (gst_value_set_double_range), (gst_value_deserialize_double_range),
14580         (gst_value_set_fraction_range_full),
14581         (gst_value_deserialize_fraction_range),
14582         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
14583         (gst_value_deserialize_boolean),
14584         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
14585         (gst_value_serialize_float), (gst_value_deserialize_float),
14586         (gst_string_wrap), (gst_value_deserialize_string),
14587         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
14588         (gst_value_union_int_range_int_range),
14589         (gst_value_intersect_int_range_int_range),
14590         (gst_value_intersect_double_range_double_range),
14591         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
14592         (gst_value_subtract_int_range_int_range),
14593         (gst_value_subtract_double_double_range),
14594         (gst_value_subtract_double_range_double_range),
14595         (gst_value_deserialize_fraction):
14596         * gst/gstvalue.h:
14597           Use gint, gdouble and gchar in our API instead of int, double and
14598           char (and make usage in gstvalue.c more consistent).
14599
14600 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14601
14602         * check/Makefile.am:
14603         * libs/gst/controller/Makefile.am:
14604         * libs/gst/dataprotocol/Makefile.am:
14605           fix up Makefile.am and remove GST_ENABLE_NEW
14606
14607 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14608
14609         * configure.ac:
14610         * gst/Makefile.am:
14611         * gst/base/Makefile.am:
14612         * gst/check/Makefile.am:
14613         * gst/elements/Makefile.am:
14614         * gst/net/Makefile.am:
14615           update LDFLAGS use some more
14616
14617 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14618
14619         * common/m4/gst-doc.m4:
14620           Fixes #312589
14621
14622 2005-11-26  Edward Hervey  <edward@fluendo.com>
14623
14624         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14625         This shouldn't issue a g_warning since it returns NULL if it
14626         couldn't find the plugin, and all functions using this behave
14627         properly on a NULL return. Switching to a GST_WARNING.
14628
14629 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
14630
14631         * gst/gstbin.c: (gst_bin_handle_message_func):
14632         Don't leak clock messages.
14633
14634 2005-11-25  Wim Taymans  <wim@fluendo.com>
14635
14636         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14637         (gst_util_uint64_scale_int):
14638         Optimisations, remove unneeded vars.
14639
14640 2005-11-25  Wim Taymans  <wim@fluendo.com>
14641
14642         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14643         Added more checks for the high precision uint64 cases.
14644
14645         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14646         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14647         Implement high precision (guint64 * guint64) / guint64.
14648
14649 2005-11-24  Wim Taymans  <wim@fluendo.com>
14650
14651         * gst/base/gstbasesrc.c: (gst_base_src_query):
14652         Fix wrong percentage query.
14653
14654         * gst/gstutils.c: (gst_util_uint64_scale),
14655         (gst_util_uint64_scale_int):
14656         Add some more common cases that can be handled 
14657         efficiently to _scale.
14658
14659 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14660
14661         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
14662         (gst_mini_object_suite):
14663           don't use check calls from threads; check probably isn't
14664           threadsafe and using a lock to make it threadsafe would
14665           defeat the purpose of this check
14666         * gst/check/gstcheck.c:
14667         * gst/check/gstcheck.h:
14668           use GST_DEBUG some more
14669
14670 2005-11-24  Wim Taymans  <wim@fluendo.com>
14671
14672         * gst/gstutils.c: (gst_util_uint64_scale),
14673         (gst_util_uint64_scale_int):
14674         Chain trivial case to _scale_int.
14675
14676 2005-11-24  Wim Taymans  <wim@fluendo.com>
14677
14678         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14679         Added test for scaling.
14680
14681         * gst/gstclock.h:
14682         Small doc fix.
14683
14684         * gst/gstutils.c: (gst_util_uint64_scale_int):
14685         Implemented high precision scaling code.
14686
14687 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
14688
14689         * gst/gstinfo.h:
14690           do not crash on pad==NULL
14691
14692 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14693
14694         Patch by: Stefan Kost
14695
14696         * common/gtk-doc.mak:
14697         * docs/gst/Makefile.am:
14698         * docs/libs/Makefile.am:
14699           Fix distcheck issues for the libraries docs build
14700           Closes #319599.
14701
14702 2005-11-24  Michael Smith <msmith@fluendo.com>
14703
14704         * docs/manual/basics-helloworld.xml:
14705           Fix bug #315027: memory leak in example code in docs.
14706
14707 2005-11-24  Michael Smith <msmith@fluendo.com>
14708
14709         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14710           Unlock the PREROLL_LOCK in a failure case.
14711
14712 2005-11-24  Wim Taymans  <wim@fluendo.com>
14713
14714         * docs/gst/gstreamer-sections.txt:
14715         * gst/base/gstadapter.h:
14716         * gst/base/gstbasesink.h:
14717         * gst/base/gstbasesrc.h:
14718         * gst/base/gstbasetransform.h:
14719         * gst/base/gstpushsrc.h:
14720         * gst/elements/gstfakesink.h:
14721         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
14722         * gst/elements/gstfakesrc.h:
14723         * gst/elements/gstfilesink.h:
14724         * gst/elements/gstfilesrc.h:
14725         * gst/gst.c:
14726         * gst/gstbin.c:
14727         * gst/gstbuffer.c: (_gst_buffer_copy):
14728         * gst/gstbus.h:
14729         * gst/gstcaps.c:
14730         * gst/gstchildproxy.c:
14731         * gst/gstclock.c:
14732         * gst/gstelement.c:
14733         * gst/gstelementfactory.c:
14734         * gst/gstelementfactory.h:
14735         * gst/gstevent.c:
14736         * gst/gstghostpad.h:
14737         * gst/gstindex.h:
14738         * gst/gstinterface.h:
14739         * gst/gstminiobject.c:
14740         * gst/gstminiobject.h:
14741         * gst/gstpad.c:
14742         * gst/gstpad.h:
14743         * gst/gstpadtemplate.h:
14744         * gst/gstpipeline.h:
14745         * gst/gstpluginfeature.h:
14746         * gst/gstquery.h:
14747         * gst/gstqueue.h:
14748         * gst/gsttaglist.c:
14749         * gst/gsttaglist.h:
14750         * gst/gsttagsetter.c:
14751         * gst/gsttagsetter.h:
14752         * gst/gsttrace.c:
14753         * gst/gsttrace.h:
14754         * gst/gsttypefind.h:
14755         * gst/gsturi.h:
14756         * gst/gstvalue.c:
14757         * gst/net/gstnetclientclock.c:
14758         * gst/net/gstnetclientclock.h:
14759         * gst/net/gstnettimepacket.c:
14760         * gst/net/gstnettimeprovider.c:
14761         * gst/net/gstnettimeprovider.h:
14762         Doc fixes.
14763
14764 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14765
14766         * configure.ac: back to HEAD
14767
14768 === release 0.9.6 ===
14769
14770 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
14771
14772         * configure.ac:
14773           releasing 0.9.6, "Always On Time"
14774
14775 2005-11-23  Wim Taymans  <wim@fluendo.com>
14776
14777         * docs/gst/gstreamer-sections.txt:
14778         * gst/glib-compat.c:
14779         * gst/gsttagsetter.c:
14780         * gst/gstvalue.c:
14781         * gst/net/gstnetclientclock.c:
14782         * gst/net/gstnettimepacket.h:
14783         Doc updates.
14784
14785 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14786
14787         * docs/faq/using.xml:
14788         * docs/libs/tmpl/gstcontrol.sgml:
14789         * docs/manual/advanced-dparams.xml:
14790         * docs/manual/appendix-checklist.xml:
14791         * docs/manual/basics-elements.xml:
14792         * docs/pwg/other-source.xml:
14793         * docs/random/moving-plugins:
14794         * gst/gstpad.c:
14795         * tools/gst-launch.1.in:
14796           remove mentions of sinesrc
14797
14798 2005-11-23  Michael Smith <msmith@fluendo.com>
14799
14800         * docs/gst/gstreamer-sections.txt:
14801           Update for new API and API changes.
14802         * gst/gstobject.h:
14803           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
14804         * gst/gstvalue.c:
14805           Documentation typo fix.
14806         * gst/net/gstnettimepacket.c:
14807           Documentation fixes for arguments.
14808
14809 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
14810
14811         * gst/gststructure.c: (gst_structure_get_fraction),
14812         (gst_structure_parse_value),
14813         (gst_structure_fixate_field_nearest_fraction):
14814         * gst/gststructure.h:
14815         * gst/gstutils.c: (gst_util_uint64_scale_int):
14816         * gst/gstutils.h:
14817         * scripts/update-funcnames:
14818         API Changes. 
14819         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
14820         Make gst_structure_fixate_field_nearest_fraction take a numerator
14821         and denominator argument instead of a GValue
14822         add gst_structure_get_fraction helper function.
14823
14824 2005-11-23  Wim Taymans  <wim@fluendo.com>
14825
14826         * docs/design/part-TODO.txt:
14827         Update TODO.
14828
14829         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
14830         * gst/net/gstnetclientclock.h:
14831         Use parent fields for timeout and window_size.
14832
14833 2005-11-23  Andy Wingo  <wingo@pobox.com>
14834
14835         * check/net/gstnetclientclock.c (test_functioning): Adjust to
14836         rate_num/rate_denom change.
14837
14838         * gst/net/gstnetclientclock.c
14839         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
14840         OBJECT_LOCK. Don't call add_observation with the lock.
14841
14842         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
14843         fraction.
14844         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
14845         rate fraction.
14846         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
14847         deal with rate as a fraction whose numerator and denominator are
14848         GstClockTime values.
14849         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
14850         master; the other fields are protected by the SLAVE_LOCK.
14851         (do_linear_regression): Note that this must be called with the
14852         SLAVE_LOCK.
14853         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
14854         OBJECT_LOCK. Call set_calibration instead of touching the
14855         variables directly.
14856         (gst_clock_set_property, gst_clock_get_property): Protect
14857         master/slave parameters with the SLAVE_LOCK.
14858
14859         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
14860         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
14861         note that all of the instance variables that add_observation and
14862         the set_master functions use are protected by that lock and not
14863         the OBJECT_LOCK.
14864         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
14865
14866         * gst/gstclock.c (gst_clock_add_observation): No longer requires
14867         the caller to take the object lock.
14868
14869 2005-11-23  Wim Taymans  <wim@fluendo.com>
14870
14871         * gst/gsterror.c: (_gst_core_errors_init):
14872         * gst/gsterror.h:
14873         Add error for clock stuff.
14874
14875         * gst/gstpipeline.c: (gst_pipeline_change_state),
14876         (gst_pipeline_set_clock):
14877         Post clock error when clock cannot be used in a pipeline.
14878
14879 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
14880
14881         * docs/gst/gstreamer-sections.txt:
14882           make two symbols from gstinfo private for the docs
14883         * gst/base/gstcollectpads.h:
14884         * gst/gstutils.c:
14885           fix doc typos, update docs
14886
14887 2005-11-22  Wim Taymans  <wim@fluendo.com>
14888
14889         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
14890         (gst_base_sink_wait), (gst_base_sink_do_sync),
14891         (gst_base_sink_handle_event):
14892         * gst/base/gstbasesink.h:
14893         No need to store the clock, the parent element class already
14894         has it.
14895
14896         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
14897         Updates for clock_set returning a gboolean
14898
14899         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
14900         (gst_clock_id_wait_async), (gst_clock_class_init),
14901         (gst_clock_init), (gst_clock_finalize),
14902         (gst_clock_get_internal_time), (gst_clock_get_time),
14903         (gst_clock_slave_callback), (gst_clock_set_master),
14904         (gst_clock_get_master), (do_linear_regression),
14905         (gst_clock_add_observation), (gst_clock_set_property),
14906         (gst_clock_get_property):
14907         * gst/gstclock.h:
14908         Implement master/slave. When setting a clock as a slave, a
14909         periodic timeout is scheduled to sample master and slave times.
14910         Then the slave clock is recalibrated to match offset and rate
14911         of the master clock.
14912         Update logging a bit.
14913         Add flag so that a clock can state that is cannot be slaved to
14914         another clock.
14915
14916         * gst/gstelement.c: (gst_element_set_clock):
14917         * gst/gstelement.h:
14918         The set clock returns a gboolean for when an element cannot
14919         deal with the selected clock in the pipeline. 
14920
14921         * gst/gstpipeline.c: (gst_pipeline_change_state),
14922         (gst_pipeline_set_clock):
14923         * gst/gstpipeline.h:
14924         Handle the case where the selected clock cannot be set on
14925         the pipeline.
14926
14927         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
14928         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
14929         (gst_net_client_clock_set_property),
14930         (gst_net_client_clock_get_property),
14931         (gst_net_client_clock_observe_times):
14932         * gst/net/gstnetclientclock.h:
14933         Use regression code in GstClock parent, remove duplicated
14934         functionality.
14935
14936 2005-11-22  Michael Smith <msmith@fluendo.com>
14937
14938         * gst/gstutils.c: (gst_util_clock_time_scale):
14939         * gst/gstutils.h:
14940         * docs/gst/gstreamer-sections.txt:
14941           Rename method to have extra underscore.
14942
14943 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14944
14945         * gst/elements/Makefile.am:
14946         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
14947         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14948         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14949         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
14950         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
14951         * gst/elements/gstfakesrc.h:
14952         * gst/gstqueue.c: (queue_leaky_get_type):
14953           correctly fix GEnumValues so that nick is the short lowercase
14954           dashed tag
14955         * tools/gst-inspect.c: (print_element_properties_info):
14956           also show the nick, since it's useful to use from parse_launch
14957           syntax
14958           Fixes #322139
14959
14960 2005-11-22  Michael Smith <msmith@fluendo.com>
14961
14962         * gst/gstutils.c: (gst_util_clocktime_scale):
14963         * gst/gstutils.h:
14964         * docs/gst/gstreamer-sections.txt:
14965           Add util method for scaling a clocktime by a fraction. Useful 
14966           implementation is left as an exercise for the reader.
14967
14968 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14969
14970         * gst/gstvalue.c: (gst_value_collect_fraction_range):
14971         If needed, allocate storage in the destination value during
14972         collection.
14973
14974 2005-11-22  Edward Hervey  <edward@fluendo.com>
14975
14976         * docs/gst/gstreamer-sections.txt:
14977         * gst/Makefile.am:
14978         * gst/gst.h:
14979         * gst/gsturitype.c:
14980         * gst/gsturitype.h:
14981         * gst/gstutils.c: (gst_util_set_object_arg):
14982         * tools/gst-compprep.c: (main):
14983         * tools/gst-inspect.c: (print_element_properties_info):
14984         Removed GstURI, closes bug #321061
14985
14986 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14987
14988         * check/gst/gststructure.c: (GST_START_TEST):
14989         * gst/gststructure.c: (gst_structure_parse_value):
14990           Oops, broke automatic string type parsing.
14991           Add a test to catch it in future.
14992
14993 2005-11-22  Andy Wingo  <wingo@pobox.com>
14994
14995         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
14996         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
14997         Actually rename the function implementations. Grr.
14998
14999 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15000
15001         * check/gst/capslist.h:
15002           Comment test cases
15003         * check/gst/gststructure.c: (GST_START_TEST),
15004         (gst_structure_suite):
15005           Test automatic value type detection in gst_structure_from_string.
15006         * gst/gststructure.c: (gst_structure_parse_value):
15007           Add fraction as a type we try and guess automatically in
15008           caps/structure strings.
15009
15010 2005-11-22  Andy Wingo  <wingo@pobox.com>
15011
15012         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
15013
15014         * gst/gsttagsetter.h:
15015         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
15016         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
15017         (gst_tag_setter_add_tag_valist)
15018         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
15019         _add_values, _add_valist, and _add_valist_values. Since this is an
15020         interface the function suffixes should be more explicit so
15021         language binding don't end up with element.add_valist ->
15022         gst_tag_setter_add_valist, for example. Fixes #322069.
15023
15024 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15025
15026         * check/gst/gstcaps.c: (GST_START_TEST):
15027           Extend caps string tests to check that a caps to string
15028           conversion is reversible and produces the same caps.
15029
15030         * gst/gststructure.c: (gst_structure_value_get_generic_type):
15031           Output "fraction" as the generic type fraction range, so caps
15032           serialisation and deserialisation works.
15033         * check/gst/capslist.h:
15034         * gst/gstvalue.c: (gst_value_deserialize_fraction):
15035           Support 'MIN' and 'MAX' for deserialising fractions.
15036
15037 2005-11-22  Andy Wingo  <wingo@pobox.com>
15038
15039         * gst/gstevent.h (gst_event_new_new_segment)
15040         (gst_event_parse_new_segment, gst_event_new_buffer_size)
15041         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
15042         Renamed from *_newsegment, *_buffersize, *_notarget.
15043
15044         * scripts/update-funcnames: New script, performs the changes
15045         listed above.
15046
15047 2005-11-22  Wim Taymans  <wim@fluendo.com>
15048
15049         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15050         Make sure the GstFlowReturn is returned.
15051
15052         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
15053         (gst_bus_add_signal_watch):
15054         * gst/gstbus.h:
15055         add gst_bus_add_signal_watch_full.
15056
15057         * gst/gstplugin.c: (gst_plugin_load_file):
15058         Small style cleanup.
15059
15060 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15061
15062         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
15063           Block the fakesrc srcpad when we send an event, to avoid
15064           contention on the stream_lock causing random test failures.
15065
15066 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15067
15068         * check/gst/gstvalue.c: (GST_START_TEST):
15069         * gst/gstvalue.c: (gst_value_fraction_subtract):
15070           Fix subtraction.
15071
15072 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
15073
15074         * gst/gst.h:
15075           include "gstchildproxy.h"
15076         * gst/gstchildproxy.h:
15077         * libs/gst/controller/gstcontroller.h:
15078           use G_GNUC_NULL_TERMINATED
15079
15080 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15081
15082         * check/gst/capslist.h:
15083         * check/gst/gstcaps.c: (GST_START_TEST):
15084         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15085         * gst/gststructure.c: (gst_structure_parse_range),
15086         (gst_structure_fixate_field_nearest_fraction):
15087         * gst/gststructure.h:
15088         * gst/gstvalue.c: (gst_value_init_fraction_range),
15089         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
15090         (gst_value_collect_fraction_range),
15091         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
15092         (gst_value_set_fraction_range_full),
15093         (gst_value_get_fraction_range_min),
15094         (gst_value_get_fraction_range_max),
15095         (gst_value_serialize_fraction_range),
15096         (gst_value_transform_fraction_range_string),
15097         (gst_value_compare_fraction_range),
15098         (gst_value_deserialize_fraction_range),
15099         (gst_value_intersect_fraction_fraction_range),
15100         (gst_value_intersect_fraction_range_fraction_range),
15101         (gst_value_subtract_fraction_fraction_range),
15102         (gst_value_subtract_fraction_range_fraction),
15103         (gst_value_subtract_fraction_range_fraction_range),
15104         (gst_value_collect_fraction), (gst_value_fraction_multiply),
15105         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
15106         (gst_value_transform_string_fraction), (_gst_value_initialize):
15107         * gst/gstvalue.h:
15108           Implement fraction ranges and extend GstFraction to support
15109           arithmetic subtraction, as well as deserialization from integer
15110           strings such as "100"
15111           Add a testsuite as for int and double range set operations
15112
15113 2005-11-21  Andy Wingo  <wingo@pobox.com>
15114
15115         * gst/gsttaglist.h: 
15116         * gst/gstcaps.h: 
15117         * gst/gststructure.h: Add glib-compat.h.
15118
15119 2005-11-21  Wim Taymans  <wim@fluendo.com>
15120
15121         * gst/gstbin.c: (gst_bin_change_state_func):
15122         Fix for #321595
15123
15124 2005-11-21  Wim Taymans  <wim@fluendo.com>
15125
15126         * gst/gstsegment.h:
15127         And add a nice define too.
15128
15129 2005-11-21  Wim Taymans  <wim@fluendo.com>
15130
15131         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
15132         (gst_segment_new), (gst_segment_free), (gst_segment_init),
15133         (gst_segment_set_duration), (gst_segment_set_last_stop),
15134         (gst_segment_set_seek), (gst_segment_set_newsegment),
15135         (gst_segment_to_stream_time), (gst_segment_to_running_time),
15136         (gst_segment_clip):
15137         * gst/gstsegment.h:
15138         Make binding friendly.
15139
15140 2005-11-21  Andy Wingo  <wingo@pobox.com>
15141
15142         * gst/gsttagsetter.h: 
15143         * gst/gsttaglist.h: 
15144         * gst/gststructure.h: 
15145         * gst/gstcaps.h: 
15146         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
15147         #319940.
15148
15149         * gst/gsterror.c (_gst_core_errors_init):
15150         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
15151         category.
15152
15153         * gst/Makefile.am (gst_headers): Add glib-compat.h.
15154         (noinst_HEADERS): noinst the -private.
15155
15156 2005-11-21  Michael Smith <msmith@fluendo.com>
15157
15158         * gst/gstplugin.h:
15159         * gst/gstregistry.h:
15160           Remove unimplemented declarations for which we can see no sensible
15161           use.
15162
15163 2005-11-21  Andy Wingo  <wingo@pobox.com>
15164
15165         * gst/gst.h: Include glib-compat.h.
15166
15167         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
15168
15169         * gst/glib-compat.c: Include the public and the private header.
15170
15171         * gst/glib-compat-private.h: Copied here from glib-compat.h.
15172
15173         * gst/gstvalue.c: 
15174         * gst/gstpad.c: 
15175         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
15176
15177         * check/gst/gstevent.c (create_custom_events): Check that
15178         FLUSH_STOP is serialized.
15179
15180         * check/elements/identity.c (event_func): 
15181         * check/elements/fakesrc.c (event_func): No stream lock, the core
15182         takes it.
15183
15184         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
15185         stream lock taking, yay.
15186
15187         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
15188         ensure that core takes the stream lock.
15189
15190         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
15191         lock name change.
15192
15193         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
15194         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
15195         it already. For the flush start we do take it though so we get the
15196         right preroll state change messages.
15197
15198         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
15199         the stream lock here, the core does it for us.
15200
15201         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
15202         GST_STREAM_GET_LOCK.
15203         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
15204         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
15205         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
15206         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
15207         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
15208         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
15209
15210         * gst/gstpad.c: Update for stream lock name change.
15211
15212         * gst/base/gstbasesink.c: Update for preroll lock name change.
15213
15214 2005-11-21  Wim Taymans  <wim@fluendo.com>
15215
15216         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
15217         (gst_clock_get_master):
15218         * gst/gstclock.h:
15219         * gst/gstsystemclock.c: (gst_system_clock_init):
15220         Convert Clock flags to object flags.
15221         Added methods to manage master/slave clocks.
15222
15223 2005-11-21  Wim Taymans  <wim@fluendo.com>
15224
15225         * check/gst/gstsegment.c: (GST_START_TEST):
15226         * docs/design/part-TODO.txt:
15227         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15228         (gst_base_sink_event), (gst_base_sink_do_sync),
15229         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15230         (gst_base_sink_query), (gst_base_sink_change_state):
15231         * gst/base/gstbasesink.h:
15232         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
15233         (gst_base_src_default_newsegment),
15234         (gst_base_src_configure_segment), (gst_base_src_do_seek),
15235         (gst_base_src_get_range), (gst_base_src_loop),
15236         (gst_base_src_change_state):
15237         * gst/base/gstbasesrc.h:
15238         * gst/base/gstbasetransform.c:
15239         (gst_base_transform_prepare_output_buf),
15240         (gst_base_transform_event), (gst_base_transform_change_state):
15241         * gst/base/gstbasetransform.h:
15242         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15243         (gst_collect_pads_event):
15244         * gst/base/gstcollectpads.h:
15245         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
15246         (gst_fake_src_create):
15247         * gst/elements/gstfakesrc.h:
15248         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15249         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15250         (gst_segment_set_last_stop), (gst_segment_set_seek),
15251         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
15252         (gst_segment_to_running_time), (gst_segment_clip):
15253         * gst/gstsegment.h:
15254         More segment updates, replace code in plugins with segment
15255         helper functions.
15256
15257 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15258
15259         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
15260         Don't ignore sscanf results
15261
15262 2005-11-21  Andy Wingo  <wingo@pobox.com>
15263
15264         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
15265
15266         * *.h:
15267         * *.c: Ran scripts/update-macros. Oh yes.
15268
15269         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
15270         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
15271         GST_GET_LOCK, etc.
15272
15273         * scripts/update-macros: New script. Run it on your files to
15274         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
15275         well.
15276
15277 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
15278
15279         * docs/gst/Makefile.am:
15280         * docs/gst/gstreamer-docs.sgml:
15281         * docs/gst/gstreamer-sections.txt:
15282         * docs/gst/gstreamer.types:
15283         * gst/gstinfo.h:
15284           more docs fixes, add new api to the docs
15285
15286 2005-11-21  Andy Wingo  <wingo@pobox.com>
15287
15288         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
15289         state_broadcast call.
15290
15291         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
15292
15293 2005-11-21  Julien MOUTTE  <julien@moutte.net>
15294
15295         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
15296         function calls for arrays.
15297
15298 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
15299
15300         * docs/random/ensonic/media-device-daemon.txt:
15301           wild idea, can this be done?
15302         * docs/gst/gstreamer-sections.txt:
15303         * gst/gsterror.h:
15304         * gst/gstfilter.c:
15305         * gst/gstfilter.h:
15306         * gst/gstplugin.h:
15307         * gst/gstpluginfeature.c:
15308         * gst/gsttrace.c:
15309         * gst/gstvalue.c:
15310         * gst/gstvalue.h:
15311           doc fixes and additions
15312
15313 2005-11-21  Andy Wingo  <wingo@pobox.com>
15314
15315         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
15316         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
15317         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
15318         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
15319         private to the basesrc implementation.
15320
15321         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
15322         behalf of event function if necessary. It should no longer be
15323         necessary to take the stream lock in pad's event functions. Fixes
15324         #320299.
15325
15326 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15327         * docs/gst/gstreamer-sections.txt:
15328         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
15329         (gst_structure_fixate_field_nearest_double),
15330         (gst_structure_fixate_field_boolean):
15331         * gst/gststructure.h:
15332         * win32/common/libgstreamer.def:
15333         * win32/gstreamer.def:
15334
15335         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
15336         (#322027)
15337
15338 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15339
15340         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
15341         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
15342         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
15343         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
15344         (gst_fdsrc_uri_handler_init):
15345         * gst/elements/gstfdsrc.h:
15346           Port fd:// URI handler from 0.8 to fdsrc
15347
15348 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15349
15350         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
15351         (gst_value_serialize_fourcc):
15352         * gst/gstvalue.h:
15353           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
15354           consistent with our other format defines (#320324).
15355
15356 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15357
15358         * gst/gstvalue.c: (gst_value_is_fixed):
15359           Revert previous commit. Value lists are by definition
15360           not fixed, as they are a list of possible values.
15361
15362 2005-11-21  Andy Wingo  <wingo@pobox.com>
15363
15364         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
15365         during the stable series if we need it. Fixes #319178.
15366
15367         * gst/gstevent.c (gst_event_new_filler): Removed.
15368
15369         * check/gst/gstevent.c: Update comment about filler events.
15370
15371 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15372
15373         * gst/gstvalue.c: (gst_value_is_fixed):
15374           Should handle both value arrays and value lists.
15375
15376 2005-11-21  Andy Wingo  <wingo@pobox.com>
15377
15378         patch by: Alessandro Dessina <alessandro nnva org>
15379
15380         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
15381         functions to access arrays. Fixes #321962.
15382
15383 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15384
15385         * docs/gst/gstreamer.types:
15386           gst_collectpads_get_type => gst_collect_pads_get_type.
15387           
15388         * gst/base/gstbasetransform.c:
15389           Remove unused SIGNAL_HANDOFF enum.
15390
15391 2005-11-21  Andy Wingo  <wingo@pobox.com>
15392
15393         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
15394         the event type (upstream, downstream, serialized). Renamed
15395         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
15396         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
15397         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
15398
15399         * gst/gstevent.c: Update for new CUSTOM event names.
15400
15401         * check/gst/gstevent.c: Update check for new CUSTOM event names.
15402
15403         * gst/gstevent.h:
15404         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
15405         bug #319392.
15406
15407 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15408
15409         * docs/gst/gstreamer-sections.txt:
15410         * win32/common/libgstbase.def:
15411         * win32/libgstbase.def:
15412         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15413         (gst_collect_pads_class_init), (gst_collect_pads_init),
15414         (gst_collect_pads_finalize), (gst_collect_pads_new),
15415         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
15416         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
15417         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
15418         (gst_collect_pads_start), (gst_collect_pads_stop),
15419         (gst_collect_pads_peek), (gst_collect_pads_pop),
15420         (gst_collect_pads_available), (gst_collect_pads_read),
15421         (gst_collect_pads_flush), (gst_collect_pads_event),
15422         (gst_collect_pads_chain):
15423         * gst/base/gstcollectpads.h:
15424           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
15425           unimplemented functions as unimplemented. Add padding to
15426           GstCollectData. (#320766, #320423)
15427
15428 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15429
15430         * gst/gstmessage.c:
15431           Improve docs for DURATION message (usage of duration parameter)
15432           (#320113)
15433
15434 2005-11-20  Wim Taymans  <wim@fluendo.com>
15435
15436         * check/Makefile.am:
15437         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
15438         (main):
15439         * gst/Makefile.am:
15440         * gst/gst.h:
15441         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15442         (gst_segment_set_seek), (gst_segment_set_newsegment),
15443         (gst_segment_to_stream_time), (gst_segment_to_running_time),
15444         (gst_segment_clip):
15445         * gst/gstsegment.h:
15446         Added segment helper structure and methods. Not fully implemented
15447         yet.
15448         Added segment check.
15449
15450 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
15451
15452         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15453           Add a deserialisation test for fractions
15454         * examples/metadata/read-metadata.c: (message_loop),
15455         (make_pipeline), (main):
15456           Fix up metadata reading sample.
15457         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15458           Debug format fix
15459         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15460           Don't try and fixate empty caps
15461         * gst/gst_private.h:
15462           Wrap in G_BEGIN_DECLS/G_END_DECLS
15463         * gst/gstvalue.c: (gst_value_collect_fraction),
15464         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
15465         (gst_value_transform_string_fraction),
15466         (gst_value_compare_fraction):
15467           Add some extra guards to ensure that we don't end up 
15468           with an invalid denominator of 0 in a gstfraction and
15469           that fractions always get reduced.
15470
15471 2005-11-20  Wim Taymans  <wim@fluendo.com>
15472
15473         * docs/gst/gstreamer-sections.txt:
15474         * gst/gstbuffer.h:
15475         * gst/gstelement.c:
15476         * gst/gstformat.c:
15477         * gst/gstformat.h:
15478         * gst/gstindex.h:
15479         * gst/gstquery.c:
15480         * gst/gstquery.h:
15481         * gst/gstvalue.c:
15482         Doc fixes.
15483
15484 2005-11-20  Wim Taymans  <wim@fluendo.com>
15485
15486         * docs/design/part-TODO.txt:
15487         * gst/gstcaps.h:
15488         Make a proper enum of the flag.
15489
15490 2005-11-19  Wim Taymans  <wim@fluendo.com>
15491
15492         * docs/design/part-TODO.txt:
15493         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
15494         (gst_format_to_quark), (gst_format_register):
15495         * gst/gstformat.h:
15496         * gst/gstquery.c: (_gst_query_initialize),
15497         (gst_query_type_get_name), (gst_query_type_to_quark),
15498         (gst_query_type_register):
15499         * gst/gstquery.h:
15500         Add type to quark and type to string conversions.
15501
15502 2005-11-19  Andy Wingo  <wingo@pobox.com>
15503
15504         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
15505         #320097.
15506
15507 2005-11-19  Wim Taymans  <wim@fluendo.com>
15508
15509         * docs/design/part-TODO.txt:
15510         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15511         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
15512         (gst_bin_handle_message_func):
15513         * gst/gstbin.h:
15514         Make message handling overridable.
15515
15516 2005-11-19  Andy Wingo  <wingo@pobox.com>
15517
15518         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
15519
15520         * gst/gstclock.h:
15521         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
15522         be a GstClockTime.
15523         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
15524         is a GstClockTime. Fixes #321710.
15525
15526         * gst/gstclock.h (GstClock): Remove offset property. Add
15527         internal_calibration and external_calibration. Fix padding. Pad
15528         also by GstClockTime so we don't run into problems.
15529
15530         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
15531         (gst_clock_get_rate_offset): Remove.
15532         (gst_clock_set_time_adjust): Remove. Fixes #321712.
15533
15534         * gst/gstutils.h:
15535         * gst/gstutils.c (g_static_rec_cond_wait)
15536         (g_static_rec_cond_timed_wait): Removed, no longer needed.
15537
15538         * gst/gstbin.c: Remove terrible continue_state prototype.
15539
15540         * gst/gstelement.h (gst_element_continue_state): Make public.
15541
15542         * gst/gstelement.h:
15543         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
15544         by continue_state. Fixes #319389.
15545
15546         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
15547         Really fixes #168438. However I don't see anywhere where the
15548         filter function is called... stupid GStreamer...
15549         
15550         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
15551         don't have a dispose function, so it won't get called when the
15552         object is unreffed, but oh well!
15553
15554         * gst/gstindex.c (gst_index_set_filter_full): New API function,
15555         allows a destroy function to be set so user_data can be freed.
15556         Fixes #168438.
15557         (gst_index_set_filter): Call gst_index_set_filter_full.
15558
15559         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
15560
15561         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
15562         string should produce an error, given the lack of a way to
15563         represent NULL strings. Fixes #165650.
15564         
15565         * gst/gstvalue.h: 
15566         * gst/gstvalue.c (gst_value_array_append_value) 
15567         (gst_value_array_prepend_value, gst_value_array_get_size) 
15568         (gst_value_array_get_value): New API, copied from
15569         gst_value_list_*, only operates on arrays.
15570         (gst_value_list_append_value, gst_value_list_prepend_value) 
15571         (gst_value_list_concat, gst_value_list_get_size) 
15572         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
15573
15574         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
15575         init_list, because it works on both.
15576         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
15577         (gst_value_copy_list_or_array): Renamed from copy_list.
15578         (gst_value_free_list_or_array): Renamed from free_list.
15579         (gst_value_collect_list_or_array): Renamed from collect_list.
15580         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
15581         (gst_value_list_or_array_peek_pointer): Renamed from
15582         list_peek_pointer.
15583         (_gst_value_array_value_table, _gst_value_list_value_table):
15584         Update value table functions.
15585         (gst_value_compare_list_or_array): Renamed from compare_list.
15586
15587         * gsttaglist.h: Whoops, foreach function returns void. Also fix
15588         some constness.
15589
15590         * gst/gsttaglist.c:
15591         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
15592         GstTagList*. Fixes #143472.
15593
15594         * gst/gststructure.h: Clarify what the foreach/map functions can
15595         or can't do to their arguments.
15596
15597 2005-11-18  Wim Taymans  <wim@fluendo.com>
15598
15599         * gst/gstclock.c: (gst_clock_set_calibration),
15600         (gst_clock_get_calibration):
15601         Doc and API fixes.
15602         Calibration can be set with internal time equal to current
15603         internal time too.
15604
15605 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15606
15607         * gst/gsterror.c:
15608         * gst/gsterror.h:
15609           document
15610
15611 2005-11-18  Andy Wingo  <wingo@pobox.com>
15612
15613         * configure.ac: 
15614         * pkgconfig/gstreamer-net.pc.in:
15615         * pkgconfig/gstreamer-net-uninstalled.pc.in:
15616         * pkgconfig/Makefile.am: Add net pkgconfig files.
15617
15618 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
15619
15620         * gst/gstcaps.c:
15621         * gst/gstghostpad.c:
15622         * gst/gsttrace.c:
15623         * gst/gstvalue.c:
15624         * gst/gstvalue.h:
15625           docs fixes
15626
15627 2005-11-18  Andy Wingo  <wingo@pobox.com>
15628
15629         * gst/net/gstnetclientclock.c: Turn off debugging.
15630
15631         * check/net/gstnetclientclock.c (test_functioning): Assert that the
15632         times connverge somewhat. Can't make a real test.
15633
15634         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
15635         integer arithmetic. Return the minimum of the domain, which can be
15636         set as "internal" for gst_clock_set_calibration.
15637         (gst_net_client_clock_observe_times): Call _set_calibration.
15638         (gst_net_client_clock_new): Call _set_calibration instead of
15639         rate_offset.
15640
15641         * check/net/gstnetclientclock.c (test_functioning): Use the right
15642         adjustment api.
15643
15644         * gst/gstclock.h:
15645         * gst/gstclock.c (gst_clock_get_calibration) 
15646         (gst_clock_set_calibration): New functions, obsolete the ones I
15647         added yesterday. Doh. Precision issues mean we have to extrapolate
15648         from a point in the more recent past than 1970.
15649         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
15650         obsolete.
15651         (gst_clock_adjust_unlocked): Use the right calibration data.
15652
15653 2005-11-18  Edward Hervey  <edward@fluendo.com>
15654
15655         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
15656         Also reset the ->current_* values in READY->PAUSED
15657
15658 2005-11-18  Andy Wingo  <wingo@pobox.com>
15659
15660         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
15661         Whoops, check the right fd. Also add some debugging.
15662         (gst_net_client_clock_observe_times): Adjust for int64 offset.
15663         (do_linear_regression): Add a crapload of debugging. Subtract off
15664         the minimum values from the input series to discard unneeded bits.
15665         Use only int arithmetic. There is still double arithmetic when
15666         calculating the intercept that needs fixing. Return boolean to
15667         indicate success; FALSE would mean the domain or range is too
15668         great. Still needs fixes.
15669
15670 2005-11-18  Wim Taymans  <wim@fluendo.com>
15671
15672         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15673         For the current position in stream time, we need to subtract
15674         accumulated time.
15675         
15676         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15677         Release lock before calling the callback function of async
15678         entries.
15679
15680 2005-11-18  Andy Wingo  <wingo@pobox.com>
15681
15682         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
15683         Port goes all the way to MAXUINT16.
15684
15685         * gst/net/gstnettimeprovider.c: Make the port range the same as
15686         for the kernel: 0 assigns, otherwise ports are less than
15687         MAXUINT16.
15688
15689         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
15690         port change.
15691
15692         * check/net/gstnetclientclock.c (test_functioning): Add the start
15693         of another test. 
15694
15695 2005-11-18  Wim Taymans  <wim@fluendo.com>
15696
15697         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15698         (gst_bin_remove_func), (bin_bus_handler):
15699         * gst/gstbin.h:
15700         Removing a clock provider from a bin, triggers a clock lost message
15701         so that a new clock will be selected.
15702         Adding a clock to a bin triggers a clock provider message.
15703         Make sure we reselect a clock when we received a clock lost message.
15704         Keep a reference to the element that provided the clock.
15705
15706 2005-11-18  Andy Wingo  <wingo@pobox.com>
15707
15708         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
15709         the clock initially so it produces values around the base time.
15710         (gst_net_client_clock_class_init): Typo fix.
15711         (gst_net_client_clock_thread): Add note on when the socket gets
15712         closed.
15713
15714 2005-11-17  Wim Taymans  <wim@fluendo.com>
15715
15716         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
15717         Free remote and local time arrays.
15718
15719 2005-11-17  Wim Taymans  <wim@fluendo.com>
15720
15721         * gst/net/gstnetclientclock.c: (do_linear_regression),
15722         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
15723         Fix compilation, uninitialized vars and a forgotten continue.
15724
15725 2005-11-17  Andy Wingo  <wingo@pobox.com>
15726
15727         * check/Makefile.am (check_PROGRAMS): 
15728         * check/net/gstnetclientclock.c: Add a most minimal test for the
15729         net client clock. More to come later.
15730
15731         * gst/net/gstnet.h: 
15732         * gst/net/Makefile.am: Add netclientclock.
15733
15734         * gst/net/gstnetclientclock.h:
15735         * gst/net/gstnetclientclock.c: New files, implement an untested
15736         GstClock that takes its time from a network time provider.
15737         Implements the algorithm in network-clock.scm.
15738
15739         * tests/network-clock.scm (*window-size*): Rename from
15740         *queue-length*.
15741         * tests/network-clock.scm (network-time): 
15742         * tests/network-clock-utils.scm (q-push): Update callers.
15743
15744 2005-11-17  Wim Taymans  <wim@fluendo.com>
15745
15746         * gst/gstbin.c: (gst_bin_provide_clock_func),
15747         (gst_bin_sort_iterator_new):
15748         And unref the child too..
15749
15750 2005-11-17  Wim Taymans  <wim@fluendo.com>
15751
15752         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15753         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
15754         Refactor the sort iterator so it can be used while holding the
15755         LOCK too.
15756         Make clock selection select a clock closest to the source.
15757
15758 2005-11-17  Michael Smith <msmith@fluendo.com>
15759
15760         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
15761         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
15762         * gst/gstclock.h:
15763           Anonymous structs are a gcc (and some other compilers) extension, so
15764           don't use them. Since this is only for ABI-compatibility, and our
15765           API/ABI freeze is over in a few days, this whole thing will only
15766           last a few days, so don't bother trying to think up a meaningful
15767           name for the struct.
15768
15769 2005-11-17  Andy Wingo  <wingo@pobox.com>
15770
15771         * gst/gstclock.h (GstClock): Add rate and offset properties,
15772         preserving ABI stability. Add rate/offset accessors. Will file bug
15773         for the freeze break.
15774
15775         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
15776         and offset, trying to keep precision and avoiding
15777         underflow/overflow.
15778         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
15779         functions. Make gst_clock_set_time_adjust obsolete.
15780         (gst_clock_set_time_adjust): Note that this function is obsolete.
15781         Will file bug soon.
15782
15783         * gst/base/gstbasetransform.h: Make the ABI-stability hack
15784         greppable by using GST_PADDING-1+1.
15785
15786 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
15787
15788         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15789
15790         * gst/gstmessage.c: (gst_message_parse_clock_lost):
15791           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
15792
15793         * gst/gstpadtemplate.h:
15794         * gst/gstpluginfeature.h:
15795           Don't use c++ style comments in headers (#321638).
15796
15797 2005-11-16  Andy Wingo  <wingo@pobox.com>
15798
15799         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
15800         buffer.
15801
15802         * check/net/gstnettimeprovider.c: Check to see that the time
15803         provider actually provides times. Works, yo!
15804
15805 2005-11-16  Wim Taymans  <wim@fluendo.com>
15806
15807         * check/Makefile.am:
15808         Enable more tests.
15809
15810         * check/elements/fakesrc.c: (GST_START_TEST):
15811         Set element to NULL before disposing it.
15812
15813 2005-11-16  Andy Wingo  <wingo@pobox.com>
15814
15815         * gst/net/Makefile.am:
15816         * gst/net/gstnet.h:
15817         * gst/net/gstnettimeprovider.c: 
15818         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
15819         provider, include it from gstnet.h, and add it to the build.
15820
15821         * gst/net/gstnettimepacket.h: 
15822         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
15823         sending and receiving.
15824
15825 2005-11-16  Wim Taymans  <wim@fluendo.com>
15826
15827         * check/Makefile.am:
15828         Enable valgrind check.
15829
15830         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
15831         (gst_fake_src_alloc_buffer):
15832         Fix memleak.
15833
15834 2005-11-16  Wim Taymans  <wim@fluendo.com>
15835
15836         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
15837         Call parent finalize too.
15838
15839 2005-11-16  Wim Taymans  <wim@fluendo.com>
15840
15841         * check/Makefile.am:
15842         Enable valgrind check that should work fine now.
15843
15844         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15845         * gst/gstqueue.c: (gst_queue_init):
15846         Fix memleaks in pad allocation.
15847
15848 2005-11-16  Andy Wingo  <wingo@pobox.com>
15849
15850         * gst/net/Makefile.am:
15851         * gst/net/gstnet.h: New part of core to hold network elements and
15852         objects. Put in core because it exposes API that applications want
15853         to use. The library is named libgstnet-tempname right now because
15854         of the existing libgstnet in gst-plugins-base. Solution is
15855         probably to rename the one in plugins-base; will file a bug for
15856         the freeze break.
15857
15858         * gst/net/gstnettimeprovider.c: 
15859         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
15860         get_time call over the network.
15861
15862         * configure.ac: 
15863         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
15864
15865         * check/Makefile.am:
15866         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
15867         get additions shortly.
15868
15869 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15870
15871         * gst/gstpad.c: (gst_pad_new_from_static_template):
15872         * gst/gstpad.h:
15873           add gst_pad_new_from_static_template functions
15874         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
15875         (gst_check_setup_sink_pad):
15876         * gst/elements/gsttee.c: (gst_tee_init):
15877           and use them
15878
15879 2005-11-16  Wim Taymans  <wim@fluendo.com>
15880
15881         * gst/gstpad.c: (gst_pad_pause_task):
15882         Removed warning, it's not really an error either.
15883
15884 2005-11-16  Wim Taymans  <wim@fluendo.com>
15885
15886         * gst/base/gstbasetransform.c:
15887         (gst_base_transform_prepare_output_buf),
15888         (gst_base_transform_event):
15889         Check if the caps are NULL, this can happen if the element
15890         is shutting down and the pad caps are set to NULL.
15891
15892 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15893
15894         * gst/elements/gsttee.c: (gst_tee_init):
15895           fix pad template leak in tee
15896
15897 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15898
15899         * gst/glib-compat.c: (g_value_dup_gst_object):
15900         * gst/glib-compat.h:
15901         * gst/gstpad.c: (gst_pad_set_property):
15902           use gst_object_ref when setting the pad template; this will
15903           trigger the pad template leaks on GLib 2.6 and the slaves
15904
15905 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15906
15907         * gst/glib-compat.c: (gst_flags_get_first_value):
15908         * gst/glib-compat.h:
15909         * gst/gstregistryxml.c:
15910           remove functions copied from GLib 2.6
15911
15912 2005-11-16  Michael Smith <msmith@fluendo.com>
15913
15914         * gst/Makefile.am:
15915           Don't link against VALGRIND_LIBS. That was always the wrong thing to
15916           do, but only breaks with newer valgrind versions. We're not a
15917           valgrind tool, we have no link-time dependencies on libcoregrind.
15918
15919 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15920
15921         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15922           some debug changes
15923         * gst/gstmessage.h:
15924           typo fixes
15925
15926 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15927
15928         * gst/base/gstbasesrc.c: (gst_base_src_init):
15929         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15930         * gst/gstqueue.c: (gst_queue_init):
15931         * gst/gstregistryxml.c: (load_feature):
15932           Revert all these unrefs, they don't even pass make check !
15933
15934 2005-11-15  Johan Dahlin  <johan@gnome.org>
15935
15936         * gst/base/gstbasesrc.c: (gst_base_src_init):
15937         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15938         * gst/gstqueue.c: (gst_queue_init): 
15939         Free pad templates, fixes a couple of leaks.
15940
15941 2005-11-15  Daniel Fischer  <dan at f3c dot com>
15942
15943         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15944
15945         * gst/gstpad.c: (gst_pad_get_property):
15946           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
15947           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
15948           (#321452)
15949
15950 2005-11-15  Wim Taymans  <wim@fluendo.com>
15951
15952         * gst/gstevent.c:
15953         Small doc update.
15954
15955 2005-11-15  Andy Wingo  <wingo@pobox.com>
15956
15957         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
15958
15959         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
15960         using GST_CLOCK_TIME_NONE to disable base time management.
15961         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
15962         time if it was NONE before.
15963         (gst_pipeline_change_state): Only munge the base time if
15964         stream_time != GST_CLOCK_TIME_NONE.
15965
15966         * check/gst/gstpipeline.c (test_base_time): Punt around the
15967         problem of the probe not being called, because that's not the
15968         issue I'm looking at. Add a check that setting stream_time to NONE
15969         disables base time management.
15970         
15971 2005-11-15  Wim Taymans  <wim@fluendo.com>
15972
15973         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15974         segment_stop == -1 at startup.
15975
15976         * gst/base/gstbasetransform.c: (gst_base_transform_event),
15977         (gst_base_transform_change_state):
15978         Init segment values at start.
15979
15980 2005-11-15  Wim Taymans  <wim@fluendo.com>
15981
15982         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15983         0 segment values are 0 in any format.
15984
15985         * gst/base/gstbasetransform.c: (gst_base_transform_event):
15986         * gst/base/gstbasetransform.h:
15987         Parse newsegment correctly in basetransform
15988
15989         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15990         Sync to clock using updated segment values.
15991
15992 2005-11-15  Andy Wingo  <wingo@pobox.com>
15993
15994         * check/gst/gstpipeline.c (test_base_time): Add check that the
15995         base time and stream time are reset correctly.
15996
15997 2005-11-15  Wim Taymans  <wim@fluendo.com>
15998
15999         * docs/design/part-TODO.txt:
16000         Some more TODO items.
16001
16002 2005-11-15  Andy Wingo  <wingo@pobox.com>
16003
16004         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
16005         error if the user selected "no clock" as the clocking method.
16006
16007         * check/gst/gstpipeline.c (test_base_time): New test for buffer
16008         timestamps with live capture.
16009
16010         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
16011         is 0 but we are a live source, timestamp the buffers using the
16012         element's clock.
16013
16014 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
16015
16016         * docs/gst/gstreamer-sections.txt:
16017         * gst/gsterror.c:
16018         * gst/gstghostpad.c:
16019         * gst/gstobject.h:
16020         * gst/gstxml.c:
16021           more section docs
16022
16023 2005-11-14  Wim Taymans  <wim@fluendo.com>
16024
16025         * common/gst.supp:
16026           add suppressions from Wim's Debian machine
16027
16028 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
16029
16030         * common/gst.supp:
16031           add suppressions from Andy's AMD64 Ubuntu machine
16032
16033 2005-11-14  Andy Wingo  <wingo@pobox.com>
16034
16035         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
16036         STATE_LOCK not necessary. Fixes #311489.
16037
16038         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
16039         #305291.
16040
16041         * gst/gstindex.c (gst_index_add_object): Note in the docs that
16042         this function is not implemented.
16043
16044 2005-11-14  Julien MOUTTE  <julien@moutte.net>
16045
16046         * gst/base/gstbasetransform.c:
16047         (gst_base_transform_prepare_output_buf):
16048         Ref the source pad caps while we need them.
16049         Fixes (#321386)
16050
16051 2005-11-11  Wim Taymans  <wim@fluendo.com>
16052
16053         * docs/gst/gstreamer-sections.txt:
16054         Added some docs for GstCollectData.
16055
16056         * gst/base/gstadapter.c:
16057         Some small code example fix.
16058
16059         * gst/base/gstcollectpads.c:
16060         * gst/base/gstcollectpads.h:
16061         Document some more.
16062
16063 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16064
16065         * configure.ac: back to HEAD
16066
16067 === release 0.9.5 ===
16068
16069 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
16070
16071         * configure.ac:
16072           releasing 0.9.5, "Bike Lunch Day"
16073
16074 2005-11-11  Wim Taymans  <wim@fluendo.com>
16075
16076         * gst/gstbuffer.c: (_gst_buffer_copy):
16077         Copy more flags.
16078
16079         * gst/gstcaps.c: (gst_caps_is_equal):
16080         Fix some docs.
16081         Make _is_equal fast in the trivial cases.
16082
16083         * gst/gstminiobject.c:
16084         * gst/gstminiobject.h:
16085         More docs. Spifify .h file.
16086
16087         * gst/gstutils.c:
16088         Small doc update.
16089
16090 2005-11-11  Wim Taymans  <wim@fluendo.com>
16091
16092         * gst/base/gstbasetransform.c:
16093         (gst_base_transform_prepare_output_buf),
16094         (gst_base_transform_handle_buffer):
16095         Small cleanups.
16096         If we're processing a buffer and need to allocate an output
16097         buffer, we cannot accept a format change. If we did get a 
16098         format change, we have to alloc a buffer ourselves of the 
16099         right size.
16100
16101 2005-11-11  Wim Taymans  <wim@fluendo.com>
16102
16103         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
16104         While checking the flag for reentrancy in the gstcaps function
16105         is nice to detect recursive invocations, it also makes it 
16106         impossible to call getcaps from multiple threads, which must be
16107         possible. So, checking for recursive calls has to go.
16108
16109 2005-11-11  Michael Smith <msmith@fluendo.com>
16110
16111         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16112           Don't sync on buffers that fall partially outside our current
16113           segment. Prevents an assertion failure/abort playing some files.
16114
16115 2005-11-10  Andy Wingo  <wingo@pobox.com>
16116
16117         * check/gst/gstbin.c (test_message_state_changed_children): Style
16118         fix..
16119
16120         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
16121         gst_bus_poll with the signal watch. Ensures that poll and a signal
16122         watch see the same messages.
16123
16124         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
16125         a poll and a watch at the same time get the same messages.
16126
16127 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16128
16129         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
16130         * gst/gstcaps.c: (gst_caps_intersect):
16131           Don't call gst_caps_do_simplify - it doesn't respect order of caps
16132           and it's not needed.
16133
16134 2005-11-10  Wim Taymans  <wim@fluendo.com>
16135
16136         * docs/design/part-TODO.txt:
16137         Updated todo.
16138
16139 2005-11-10  Wim Taymans  <wim@fluendo.com>
16140
16141         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16142         * gst/base/gstbasesrc.c: (gst_base_src_wait),
16143         (gst_base_src_do_sync), (gst_base_src_get_range):
16144         Implement clock sync in base class.
16145
16146 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16147
16148         patch by: Tim-Philipp Müller <tim at centricular dot net>
16149
16150         * gst/gststructure.c: (gst_structure_parse_field),
16151         (gst_structure_from_string):
16152           Forward-port a 0.8 patch to handle escaped spaces in structure string,
16153           so that gst_parse_launch() can deal with spaces in filtered link
16154           caps (fixes #164479)
16155         * check/gst/capslist.h:
16156         * check/gst/gststructure.c: (GST_START_TEST):
16157           add unit tests for this change
16158
16159 2005-11-10  Wim Taymans  <wim@fluendo.com>
16160
16161         * docs/gst/gstreamer-sections.txt:
16162         * gst/gstelement.c:
16163         * gst/gstelement.h:
16164         Fix docs, move some STATE macros to private.
16165
16166 2005-11-10  Wim Taymans  <wim@fluendo.com>
16167
16168         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
16169         Added check for bug #317341
16170
16171         * gst/gstbuffer.c:
16172         * gst/gstbuffer.h:
16173         Some more spiffifying.
16174
16175         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
16176         Call peer linkfunction if we are a source pad. Totally fixes
16177         #317341
16178
16179         * gst/gstpad.c:
16180         Update docs, source pads should call the peer linkfunction
16181         so they can atomically perform the pad link.
16182
16183 2005-11-09  Wim Taymans  <wim@fluendo.com>
16184
16185         * gst/gstbuffer.c:
16186         * gst/gstbuffer.h:
16187         Uber-spiffy-spiffify some more.
16188
16189 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
16190
16191         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
16192         * gst/elements/gstfilesink.c: (gst_file_sink_init):
16193         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16194         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
16195         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
16196         * gst/gstpad.c: (gst_pad_init):
16197           Use GST_DEBUG_FUNCPTR() more extensively.
16198
16199 2005-11-09  Wim Taymans  <wim@fluendo.com>
16200
16201         * gst/gstobject.c: (gst_object_class_init):
16202         * gst/gstobject.h:
16203         Documentation fixes.
16204
16205 2005-11-09  Edward Hervey  <edward@fluendo.com>
16206
16207         * gst/gsttypefindfactory.c:
16208         Fix docs.
16209         
16210 2005-11-09  Edward Hervey  <edward@fluendo.com>
16211
16212         * gst/base/gsttypefindhelper.c:
16213         * gst/gsttypefind.c:
16214         * gst/gsttypefind.h:
16215         Fix docs.
16216
16217 2005-11-09  Wim Taymans  <wim@fluendo.com>
16218
16219         * gst/gstiterator.c:
16220         Fix revision data.
16221
16222         * gst/gsttask.c:
16223         * gst/gsttask.h:
16224         Fix docs.
16225
16226 2005-11-09  Wim Taymans  <wim@fluendo.com>
16227
16228         * gst/gstevent.h:
16229         * gst/gsturi.h:
16230         Fix docs.
16231
16232 2005-11-09  Wim Taymans  <wim@fluendo.com>
16233
16234         * docs/gst/gstreamer-sections.txt:
16235         Moved the message async delivery private lock and cond
16236         to the private section.
16237
16238         * gst/gstmessage.c:
16239         * gst/gstmessage.h:
16240         Fixed docs.
16241
16242 2005-11-09  Edward Hervey  <edward@fluendo.com>
16243
16244         * docs/gst/gstreamer-sections.txt:
16245         * gst/gsturi.c:
16246         * gst/gsturi.h:
16247         Document GstURIHandler
16248
16249 2005-11-09  Wim Taymans  <wim@fluendo.com>
16250
16251         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
16252         (gst_iterator_find_custom):
16253         * gst/gstiterator.h:
16254         Fix iterator docs.
16255
16256 2005-11-09  Wim Taymans  <wim@fluendo.com>
16257
16258         * gst/gstbin.h:
16259         Document another field.
16260
16261         * gst/gststructure.c:
16262         * gst/gststructure.h:
16263         Document.
16264
16265 2005-11-09  Wim Taymans  <wim@fluendo.com>
16266
16267         * gst/gstbin.h:
16268         Documented structs.
16269
16270 2005-11-09  Wim Taymans  <wim@fluendo.com>
16271
16272         * docs/gst/gstreamer-sections.txt:
16273         Added some new macros.
16274
16275         * gst/gstclock.c:
16276         * gst/gstclock.h:
16277         * gst/gstobject.h:
16278         Docs updates.
16279
16280 2005-11-09  Wim Taymans  <wim@fluendo.com>
16281
16282         * docs/design/part-TODO.txt:
16283         Some more items for the TODO
16284
16285         * gst/gstcaps.c:
16286         * gst/gstcaps.h:
16287         Document GstCaps.
16288
16289 2005-11-09  Andy Wingo  <wingo@pobox.com>
16290
16291         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
16292         to work on something else now tho...
16293
16294         * gst/base/gstadapter.c: More adapter docs.
16295
16296         * gst/elements/gstfilesink.c (gst_file_sink_start) 
16297         (gst_file_sink_stop): New functions, replace the state change
16298         handler.
16299         (gst_file_sink_class_init): Hook up the start and stop functions.
16300         (gst_file_sink_base_init): Don't set the state change handler any
16301         more. It was a bit ugly too, being set from here...
16302         (gst_file_sink_get_property, gst_file_sink_set_property):
16303         Cleanups...
16304         (gst_file_sink_set_location): More robust check that doesn't call
16305         GST_STATE. Ugggggg.
16306
16307 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
16308
16309         * gst/base/gstbasetransform.c: (gst_base_transform_event):
16310           Hold STREAM_LOCK while pushing newsegment or tag events as well.
16311
16312 2005-11-08  Wim Taymans  <wim@fluendo.com>
16313
16314         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16315         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16316         (gst_base_sink_chain), (gst_base_sink_change_state):
16317         * gst/base/gstbasesink.h:
16318         * gst/base/gstbasesrc.h:
16319         * gst/gstelement.h:
16320         * gst/gstevent.h:
16321         Avoid excessive typechecking in macros.
16322
16323         * gst/gstminiobject.c: (gst_mini_object_get_type),
16324         (gst_mini_object_init), (gst_mini_object_new),
16325         (gst_mini_object_free):
16326         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
16327         (gst_object_finalize):
16328         Remove cruft code, optimize alloc_trace.
16329
16330 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16331
16332         * docs/faq/gst-uninstalled:
16333           fix up PS1 for systems that try to reset it
16334
16335 2005-11-07  Wim Taymans  <wim@fluendo.com>
16336
16337         * gst/base/gstbasesrc.c: (gst_base_src_init),
16338         (gst_base_src_get_range):
16339         Set the segment_end to -1 initially. Fixed typefind.
16340
16341 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
16342
16343         * gst/base/gstadapter.c:
16344           Debug category should be 'adapter', not 'GstAdapter'.
16345           
16346         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
16347         (gst_collectpads_class_init), (gst_collectpads_init),
16348         (gst_collectpads_peek), (gst_collectpads_pop),
16349         (gst_collectpads_event), (gst_collectpads_chain):
16350           Add debug category and some debugging output. Use boilerplate
16351           macros. Remove some extraneous words from docs.
16352
16353 2005-11-05  Andy Wingo  <wingo@pobox.com>
16354
16355         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
16356         macro.
16357
16358 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
16359
16360         * docs/gst/gstreamer-sections.txt:
16361         * gst/gstcaps.h:
16362         * gst/gstinfo.c:
16363         * gst/gstminiobject.h:
16364         * gst/gstobject.h:
16365         * gst/gstutils.h:
16366           more docs added
16367
16368 2005-11-04  Wim Taymans  <wim@fluendo.com>
16369
16370         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16371         Small update to stop at the configured segment_end
16372         position.
16373
16374 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
16375
16376         * gst/gstregistry.c:
16377         * gst/gstregistry.h:
16378           added missing docs
16379
16380 2005-11-04  Edward Hervey  <edward@fluendo.com>
16381
16382         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16383         Check if we are doing a segment seek and have arrived at the
16384         end of that segment.
16385
16386 2005-11-04  Wim Taymans  <wim@fluendo.com>
16387
16388         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
16389         Don't leak a mutex unlock in case of an error.
16390
16391         * gst/gstbus.h:
16392         Doc fixes.
16393
16394 2005-11-04  Wim Taymans  <wim@fluendo.com>
16395
16396         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
16397         (gst_bus_post):
16398         Get the context to wake up only once.
16399
16400 2005-11-03  Wim Taymans  <wim@fluendo.com>
16401
16402         * check/states/sinks.c: (GST_START_TEST):
16403         Uncomment fixed check.
16404
16405         * docs/design/part-TODO.txt:
16406         Updated TODO.
16407
16408         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16409         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16410         (gst_base_sink_get_position):
16411         If we are going to PLAYING, post the right pending state
16412         when we post the intermediate paused message.
16413
16414         * gst/gstelement.c: (gst_element_continue_state),
16415         (gst_element_set_state_func), (gst_element_change_state):
16416         Don't post state changes that were between the same state
16417         and were not ASYNC.
16418
16419 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
16420
16421         * docs/gst/gstreamer-sections.txt:
16422         * gst/gstcaps.h:
16423         * gst/gstinfo.c:
16424         * gst/gstminiobject.h:
16425         * gst/gstobject.h:
16426         * gst/gstutils.h:
16427           more docs and doc style fixes
16428
16429 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
16430
16431         * docs/gst/gstreamer-sections.txt:
16432         * gst/gstelement.c:
16433         * gst/gstminiobject.c:
16434         doc fixes
16435
16436 2005-11-03  Andy Wingo  <wingo@pobox.com>
16437
16438         * check/states/sinks.c (test_livesrc_sink): Add checks that the
16439         state-changed messages actually have the right order and the right
16440         values.
16441
16442 2005-11-03  Wim Taymans  <wim@fluendo.com>
16443
16444         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16445         Added some more checks. Specifically the case where NO_PREROLL
16446         elements are in the pipeline.
16447
16448         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16449         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16450         (gst_base_sink_get_position):
16451         Post READY->PAUSED state change messages too.
16452         Fix bug where VOID was posted as pending state...
16453
16454         * gst/gstbin.c: (gst_bin_recalc_state):
16455         use _element_continue_state() to continue the state change.
16456
16457         * gst/gstelement.c: (gst_element_continue_state),
16458         (gst_element_commit_state), (gst_element_set_state_func),
16459         (gst_element_change_state), (gst_element_change_state_func):
16460         Lots of state change cleanups, assign the STATE_RETURN in
16461         a new continue_state() function that also propagates the
16462         last return value from a state change to the app.
16463         Update some debug statements with proper category.
16464
16465 2005-11-03  Wim Taymans  <wim@fluendo.com>
16466
16467         * docs/design/part-events.txt:
16468         * docs/design/part-gstpipeline.txt:
16469         * docs/design/part-messages.txt:
16470         * docs/design/part-overview.txt:
16471         * docs/design/part-seeking.txt:
16472         * docs/design/part-states.txt:
16473         * docs/design/part-trickmodes.txt:
16474         * docs/manual/advanced-position.xml:
16475         Small docs updates.
16476
16477         * gst/gstobject.h:
16478         People think !! is ugly, this looks better.
16479
16480         * gst/gstpad.c: (gst_pad_set_blocked_async):
16481         Remove !! since it's fixed elsewhere now.
16482
16483 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16484
16485         * gst/gstminiobject.h:
16486         * gst/gstobject.h:
16487           Add !! to _FLAG_IS_SET macros to make the result boolean.
16488
16489 2005-11-03  Edward Hervey  <edward@fluendo.com>
16490
16491         * gst/gstpad.c: (gst_pad_set_blocked_async):
16492         comparing a flag and a gboolean rarely returns coherent results...
16493         Added two characters (!!) to make that work correctly.
16494         
16495 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16496
16497         * gst/gstbus.c: (gst_bus_class_init):
16498           Fix some typos.
16499           
16500         * gst/gstqueue.c: (gst_queue_loop):
16501           Don't assume a miniobject that isn't a buffer is an
16502           event (it could be that there is a refcounting
16503           problem somewhere and the pointer is stale and
16504           refers to an already destroyed miniobject).
16505
16506 2005-11-03  Julien MOUTTE  <julien@moutte.net>
16507
16508         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
16509
16510 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16511
16512         * docs/manual/advanced-position.xml:
16513           Update seek example and explanations to current 0.9 API.
16514
16515         * gst/elements/gsttypefindelement.c:
16516         (gst_type_find_element_activate):
16517           Remove FIXME comment now that the found caps
16518           are unreffed.
16519
16520 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16521
16522         * gst/gstregistryxml.c: (load_feature):
16523           Add another GST_STR_NULL instance
16524
16525 2005-11-02  Edward Hervey  <edward@fluendo.com>
16526
16527         * gst/gstpad.c: (handle_pad_block):
16528         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
16529         
16530 2005-11-02  Wim Taymans  <wim@fluendo.com>
16531
16532         * gst/gstbin.c:
16533         Fix typo in docs.
16534
16535         * gst/gstelement.c: (gst_element_commit_state):
16536         Remove unused value.
16537
16538         * gst/gstiterator.c:
16539         Mention that the returned element is reffed in the docs.
16540
16541 2005-11-02  Wim Taymans  <wim@fluendo.com>
16542
16543         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
16544         (gst_pad_push), (gst_pad_push_event):
16545         Unlock blocked pads when they are flushed.
16546
16547 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16548
16549         * docs/README:
16550         * docs/gst/gstreamer-sections.txt:
16551         * gst/gstbin.c:
16552           doc updates
16553         * gst/gstregistry.c: (gst_registry_scan_path_level):
16554           fix for a nasty little missed situation where an installed plug-in
16555           which was in the cache did not get overridden by an uninstalled one
16556           which was earlier in the plugin path because the newly created plugin
16557           for the uninstalled one (not in the registry) didn't get its
16558           ->registered set to TRUE
16559
16560 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16561
16562         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
16563         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
16564         (gst_collectpads_is_active), (gst_collectpads_collect),
16565         (gst_collectpads_collect_range), (gst_collectpads_start),
16566         (gst_collectpads_stop), (gst_collectpads_peek),
16567         (gst_collectpads_pop), (gst_collectpads_available),
16568         (gst_collectpads_read), (gst_collectpads_flush):
16569           Guard public API with assertions.
16570         
16571         * gst/gstpad.c:
16572           Fix docs for gst_pad_set_link_function().
16573
16574 2005-11-02  Johan Dahlin  <johan@gnome.org>
16575
16576         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
16577         Unref found_caps after we used it.
16578
16579 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16580
16581         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
16582           Don't try to ref NULL.
16583
16584 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16585
16586         * win32/common/config.h.in:
16587           provide a GST_FUNCTION that just gives a string for now
16588
16589 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16590
16591         * win32/common/gstenumtypes.c: (register_gst_object_flags),
16592         (gst_object_flags_get_type), (register_gst_bin_flags),
16593         (gst_bin_flags_get_type), (register_gst_buffer_flag),
16594         (gst_buffer_flag_get_type), (register_gst_bus_flags),
16595         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
16596         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
16597         (gst_clock_return_get_type), (register_gst_clock_entry_type),
16598         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16599         (gst_clock_flags_get_type), (register_gst_state),
16600         (gst_state_get_type), (register_gst_state_change_return),
16601         (gst_state_change_return_get_type), (register_gst_state_change),
16602         (gst_state_change_get_type), (register_gst_element_flags),
16603         (gst_element_flags_get_type), (register_gst_core_error),
16604         (gst_core_error_get_type), (register_gst_library_error),
16605         (gst_library_error_get_type), (register_gst_resource_error),
16606         (gst_resource_error_get_type), (register_gst_stream_error),
16607         (gst_stream_error_get_type), (register_gst_event_type),
16608         (gst_event_type_get_type), (register_gst_seek_type),
16609         (gst_seek_type_get_type), (register_gst_seek_flags),
16610         (gst_seek_flags_get_type), (register_gst_format),
16611         (gst_format_get_type), (register_gst_index_certainty),
16612         (gst_index_certainty_get_type), (register_gst_index_entry_type),
16613         (gst_index_entry_type_get_type),
16614         (register_gst_index_lookup_method),
16615         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
16616         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
16617         (gst_index_resolver_method_get_type), (register_gst_index_flags),
16618         (gst_index_flags_get_type), (register_gst_debug_level),
16619         (gst_debug_level_get_type), (register_gst_debug_color_flags),
16620         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
16621         (gst_iterator_result_get_type), (register_gst_iterator_item),
16622         (gst_iterator_item_get_type), (register_gst_message_type),
16623         (gst_message_type_get_type), (register_gst_mini_object_flags),
16624         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
16625         (gst_pad_link_return_get_type), (register_gst_flow_return),
16626         (gst_flow_return_get_type), (register_gst_activate_mode),
16627         (gst_activate_mode_get_type), (register_gst_pad_direction),
16628         (gst_pad_direction_get_type), (register_gst_pad_flags),
16629         (gst_pad_flags_get_type), (register_gst_pad_presence),
16630         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
16631         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
16632         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
16633         (gst_plugin_error_get_type), (register_gst_plugin_flags),
16634         (gst_plugin_flags_get_type), (register_gst_rank),
16635         (gst_rank_get_type), (register_gst_query_type),
16636         (gst_query_type_get_type), (register_gst_tag_merge_mode),
16637         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
16638         (gst_tag_flag_get_type), (register_gst_task_state),
16639         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
16640         (gst_alloc_trace_flags_get_type),
16641         (register_gst_type_find_probability),
16642         (gst_type_find_probability_get_type), (register_gst_uri_type),
16643         (gst_uri_type_get_type), (register_gst_parse_error),
16644         (gst_parse_error_get_type):
16645         * win32/common/gstversion.h:
16646           update win32 copies
16647
16648 2005-11-01  Luca Ognibene  <luogni@tin.it>
16649
16650         * gst/gst.c:
16651           fix docs. popt is dead, long live GOption.
16652
16653 2005-10-31  Wim Taymans  <wim@fluendo.com>
16654
16655         * gst/gstbuffer.h:
16656         Small doc fix.
16657
16658 2005-10-31  Andy Wingo  <wingo@pobox.com>
16659
16660         * Boo!
16661
16662         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
16663
16664         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
16665         need to serialize property notifications on GLib 2.8. GLib 2.6 has
16666         the possibility of deadlocks here if code calling notify() or
16667         set() has a lock that can be taken in another notify handler (ABBA
16668         with class lock and e.g. python GIL state lock).
16669
16670 2005-10-28  Julien MOUTTE  <julien@moutte.net>
16671
16672         * gst/gstbus.c: Doc updates.
16673
16674 2005-10-28  Wim Taymans  <wim@fluendo.com>
16675
16676         * docs/design/part-TODO.txt:
16677         * gst/gstiterator.c:
16678         * gst/gstsystemclock.c:
16679         * gst/gstsystemclock.h:
16680         Doc updates.
16681
16682 2005-10-28  Edward Hervey  <edward@fluendo.com>
16683
16684         * docs/gst/gstreamer-docs.sgml:
16685         * docs/gst/gstreamer-sections.txt:
16686         the GstURIType documentation page is private, it only defines GstURIType
16687         which should be defined in the GstURIHandler page
16688         
16689 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16690
16691         * gst/gstbin.c: (gst_bin_class_init):
16692         * gst/gstbin.h:
16693         * gst/gstutils.c:
16694         Documentation updates.
16695
16696 2005-10-28  Wim Taymans  <wim@fluendo.com>
16697
16698         * docs/gst/gstreamer-sections.txt:
16699         * gst/gstclock.c:
16700         * gst/gstclock.h:
16701         Documented the clocks.
16702
16703 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
16704
16705         * docs/gst/gstreamer-sections.txt:
16706           move some macros to private sections
16707         * gst/gstminiobject.c:
16708         * gst/gstminiobject.h:
16709           add descriptions provided by ds and some more
16710         * gst/gstpad.h:
16711           mark macro as to be removed
16712
16713 2005-10-28  Wim Taymans  <wim@fluendo.com>
16714
16715         * docs/design/part-TODO.txt:
16716         Add an item to TODO.
16717
16718         * gst/gstiterator.c: (gst_iterator_fold),
16719         (gst_iterator_find_custom):
16720         * gst/gstiterator.h:
16721         Add iterator docs.
16722
16723 2005-10-28  Wim Taymans  <wim@fluendo.com>
16724
16725         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16726         (gst_base_transform_init):
16727         Don't leak class.
16728
16729         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
16730         An EOS event marks the queue as completely filled.
16731
16732 2005-10-27  Wim Taymans  <wim@fluendo.com>
16733
16734         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16735         (gst_base_sink_do_sync), (gst_base_sink_get_position):
16736         Some more debugging.
16737
16738         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
16739         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
16740         (gst_base_transform_event), (gst_base_transform_getrange),
16741         (gst_base_transform_chain):
16742         * gst/base/gstbasetransform.h:
16743         Fix debugging,
16744         Protect transform and concurrent buffer alloc with a new lock.
16745         Try not to break ABI/API.
16746
16747 2005-10-27  Wim Taymans  <wim@fluendo.com>
16748
16749         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16750         (gst_base_src_init), (gst_base_src_query),
16751         (gst_base_src_default_newsegment),
16752         (gst_base_src_configure_segment), (gst_base_src_do_seek),
16753         (gst_base_src_send_event), (gst_base_src_event_handler),
16754         (gst_base_src_pad_get_range), (gst_base_src_loop),
16755         (gst_base_src_unlock), (gst_base_src_default_negotiate),
16756         (gst_base_src_start), (gst_base_src_deactivate),
16757         (gst_base_src_activate_push), (gst_base_src_change_state):
16758         Move some stuff around and cleanup things.
16759
16760 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
16761
16762         * gst/base/gstbasesrc.c: (gst_base_src_query):
16763           Add missing break statements.
16764
16765 2005-10-27  Wim Taymans  <wim@fluendo.com>
16766
16767         * check/gst/gstbin.c: (GST_START_TEST):
16768         An extra refcount is taken in basesrc.
16769
16770         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16771         (gst_base_src_get_range), (gst_base_src_pad_get_range),
16772         (gst_base_src_loop):
16773         Small cleanups, check for flushing after being unlocked from the 
16774         LIVE_LOCK. take refcounts correctly (not yet everywhere).
16775         Don't send out EOS when going to READY.
16776
16777 2005-10-27  Wim Taymans  <wim@fluendo.com>
16778
16779         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16780         (gst_base_sink_get_position):
16781         Some more debug.
16782
16783         * gst/gstbin.c: (message_check), (bin_replace_message),
16784         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16785         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16786         (bin_query_duration_init), (bin_query_duration_fold),
16787         (bin_query_duration_done), (bin_query_generic_fold),
16788         (gst_bin_query):
16789         * tools/gst-launch.c: (main):
16790         Remove old option.
16791
16792 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
16793
16794         * examples/controller/audio-example.c: (main):
16795         * examples/queue/queue.c: (event_loop):
16796         * gst/base/gstbasetransform.h:
16797         * gst/gstelement.c: (gst_element_send_event):
16798         * gst/gstevent.h:
16799         * gst/gstpad.c: (gst_pad_send_event):
16800           fixing examples
16801           fixing docs typos
16802           changing log priority in error situations
16803
16804 2005-10-25  Wim Taymans  <wim@fluendo.com>
16805
16806         * gst/gstbin.c: (message_check), (bin_replace_message),
16807         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16808         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16809         (bin_query_duration_init), (bin_query_duration_fold),
16810         (bin_query_duration_done), (bin_query_generic_fold),
16811         (gst_bin_query):
16812         Some doc and debug updates.
16813         Cache previously requested query DURATION for speed. invalidate
16814         cached duration if element posts a DURATION message.
16815
16816 2005-10-25  Wim Taymans  <wim@fluendo.com>
16817
16818         * docs/design/part-TODO.txt:
16819         Update TODO.
16820
16821         * gst/gstbin.c: (message_check), (bin_replace_message),
16822         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16823         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16824         (bin_query_duration_init), (bin_query_duration_fold),
16825         (bin_query_duration_done), (bin_query_generic_fold),
16826         (gst_bin_query):
16827         Handle SEGMENT_START/DONE messages correctly.
16828         More evolved query algorithm that handles duration queries
16829         correctly.
16830
16831         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
16832         (gst_element_get_state_func), (gst_element_abort_state),
16833         (gst_element_commit_state), (gst_element_lost_state):
16834         Some more debugging.
16835
16836         * gst/gstmessage.h:
16837         Added doc.
16838
16839 2005-10-25  Wim Taymans  <wim@fluendo.com>
16840
16841         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16842         Don't use invalid stream_time.
16843
16844         * gst/gstevent.c: (gst_event_new_newsegment):
16845         stream_time in newsegment cannot be undefined.
16846
16847 2005-10-24  Wim Taymans  <wim@fluendo.com>
16848
16849         * gst/gstbus.c:
16850         Doc fix.
16851
16852         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16853         (gst_queue_loop):
16854         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
16855
16856 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
16857
16858         * docs/libs/tmpl/gstdparam.sgml:
16859         * docs/libs/tmpl/gstdplinint.sgml:
16860         * docs/libs/tmpl/gstdpman.sgml:
16861         * docs/libs/tmpl/gstdpsmooth.sgml:
16862         * docs/libs/tmpl/gstunitconvert.sgml:
16863           these are obsolete
16864
16865 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16866
16867         * configure.ac:
16868           back to HEAD
16869
16870 === release 0.9.4 ===
16871
16872 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16873
16874         * configure.ac:
16875           releasing 0.9.4, "Tyrannosaurus Rex"
16876
16877 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
16878
16879         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16880         (gst_file_sink_get_current_offset):
16881           Use fseeko() and ftello() if available. When falling back on
16882           lseek() to get the current offset, fflush() first to make sure
16883           everything is up-to-date and we get the right offset.
16884
16885 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16886
16887         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16888         * gst/base/gstbasesrc.c: (gst_base_src_loop):
16889         * gst/gsterror.c: (_gst_stream_errors_init):
16890         * gst/gsterror.h:
16891         * gst/gstqueue.c: (gst_queue_loop):
16892         * po/POTFILES.in:
16893           remove prematurely added error category and clean up the instances
16894
16895 2005-10-21  Wim Taymans  <wim@fluendo.com>
16896
16897         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16898         (gst_base_sink_get_position), (gst_base_sink_query),
16899         (gst_base_sink_change_state):
16900         Simply set the right flag when going to playing, that's all
16901         we need to do instead of calling a function inside the object
16902         lock (that could take the lock as well and deadlock)
16903
16904 2005-10-21  Wim Taymans  <wim@fluendo.com>
16905
16906         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
16907         (gst_base_src_loop):
16908         Don't warn, the peer element knows what to do best when
16909         the seek failed, it might try something else.
16910
16911 2005-10-21  Wim Taymans  <wim@fluendo.com>
16912
16913         * gst/base/gstbasesrc.c: (gst_base_src_init),
16914         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16915         Fix seeking.
16916
16917 2005-10-21  Wim Taymans  <wim@fluendo.com>
16918
16919         * docs/design/part-segments.txt:
16920         More docs.
16921
16922         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16923         Correctly set caps, even on the subbufer.
16924
16925 2005-10-21  Wim Taymans  <wim@fluendo.com>
16926
16927         * docs/gst/gstreamer-docs.sgml:
16928         * docs/gst/gstreamer-sections.txt:
16929         * gst/gstelement.h:
16930         * gst/gstevent.c:
16931         * gst/gstevent.h:
16932         * gst/gstmessage.h:
16933         * gst/gstpad.h:
16934         * gst/gstparse.h:
16935         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
16936         * gst/gsttask.h:
16937         * gst/gstutils.c:
16938         * gst/gstutils.h:
16939         And 2% more doc coverage.
16940
16941 2005-10-21  Andy Wingo  <wingo@pobox.com>
16942
16943         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
16944         position reporting.
16945
16946 2005-10-20  Wim Taymans  <wim@fluendo.com>
16947
16948         * gst/gsterror.c: (gst_error_get_message):
16949         * gst/gstparse.h:
16950         * gst/gstquery.h:
16951         * gst/gststructure.c:
16952         * gst/gsttrace.c:
16953         * gst/gstutils.c:
16954         More docs.
16955
16956 2005-10-20  Wim Taymans  <wim@fluendo.com>
16957
16958         * gst/gstbuffer.h:
16959         * gst/gstpad.c:
16960         * gst/gstparse.c:
16961         Another 1% more coverage.
16962
16963 2005-10-20  Wim Taymans  <wim@fluendo.com>
16964
16965         * docs/gst/gstreamer-sections.txt:
16966         * gst/gstelement.c: (gst_element_get_state_func),
16967         (gst_element_abort_state), (gst_element_commit_state),
16968         (gst_element_lost_state):
16969         * gst/gstevent.h:
16970         * gst/gstquery.c: (gst_query_set_position),
16971         (gst_query_parse_position), (gst_query_set_duration),
16972         (gst_query_parse_duration), (gst_query_new_convert):
16973         * gst/gstutils.c:
16974         Yay! 1% more docs coverage.
16975
16976 2005-10-20  Wim Taymans  <wim@fluendo.com>
16977
16978         * gst/gstpad.h:
16979         * gst/gstquery.c: (gst_query_set_position),
16980         (gst_query_parse_position), (gst_query_set_duration),
16981         (gst_query_parse_duration), (gst_query_new_convert):
16982         * gst/gstquery.h:
16983         * gst/gstutils.c: (gst_element_query_convert):
16984         * gst/gstutils.h:
16985         Docs and consistency fixes.
16986
16987 2005-10-20  Wim Taymans  <wim@fluendo.com>
16988
16989         * gst/gsttask.c:
16990         * gst/gsttask.h:
16991         More docs.
16992
16993 2005-10-20  Wim Taymans  <wim@fluendo.com>
16994
16995         * gst/gstbin.c: (message_check), (bin_replace_message),
16996         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16997         (update_degree), (gst_bin_sort_iterator_next),
16998         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
16999         Reworked the message handling a bit, cache the messages instead of
17000         only the senders. alows us to do more in the future.
17001
17002 2005-10-20  Wim Taymans  <wim@fluendo.com>
17003
17004         * docs/design/part-TODO.txt:
17005         Update TODO
17006
17007         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
17008         (gst_base_sink_query):
17009         Don't use clock time to report position when in EOS.
17010
17011 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
17012
17013         * tools/gst-inspect.c: (print_interfaces),
17014         (print_element_properties_info), (print_element_info):
17015           Fix interface output with gst-inspect -a; don't print
17016           newlines after double/float properties.
17017
17018 2005-10-20  Wim Taymans  <wim@fluendo.com>
17019
17020         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
17021         (gst_base_sink_query):
17022         Speed up current position calculation.
17023
17024         * gst/base/gstbasesrc.c: (gst_base_src_query),
17025         (gst_base_src_default_newsegment):
17026         Correctly set stream position in newsegment.
17027
17028         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
17029         (update_degree), (gst_bin_sort_iterator_next),
17030         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
17031         * gst/gstmessage.c: (gst_message_new_custom):
17032         Clean up debugging info
17033
17034         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
17035         (gst_queue_loop), (gst_queue_handle_src_query):
17036         Pause task faster.
17037
17038 2005-10-19  Wim Taymans  <wim@fluendo.com>
17039
17040         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17041         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
17042         Fix query handling again.
17043
17044 2005-10-19  Wim Taymans  <wim@fluendo.com>
17045
17046         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17047         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
17048         * gst/base/gstbasesrc.c: (gst_base_src_query):
17049         * gst/elements/gstfilesink.c: (gst_file_sink_query):
17050         * gst/elements/gsttypefindelement.c:
17051         (gst_type_find_handle_src_query), (find_element_get_length),
17052         (gst_type_find_element_activate):
17053         API change fix.
17054
17055         * gst/gstquery.c: (gst_query_new_position),
17056         (gst_query_set_position), (gst_query_parse_position),
17057         (gst_query_new_duration), (gst_query_set_duration),
17058         (gst_query_parse_duration), (gst_query_set_segment),
17059         (gst_query_parse_segment):
17060         * gst/gstquery.h:
17061         Bundling query position/duration is not a good idea since duration
17062         does not change much and we don't want to recalculate it for every
17063         position query, so they are separated again..
17064         Base value in segment query is not needed.
17065
17066         * gst/gstqueue.c: (gst_queue_handle_src_query):
17067         * gst/gstutils.c: (gst_element_query_position),
17068         (gst_element_query_duration), (gst_pad_query_position),
17069         (gst_pad_query_duration):
17070         * gst/gstutils.h:
17071         Updates for query API change.
17072         Added some docs here and there.
17073
17074 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17075
17076         * check/gst/gstbin.c: (GST_START_TEST):
17077         * check/gst/gstghostpad.c: (GST_START_TEST):
17078         * check/pipelines/cleanup.c: (GST_START_TEST):
17079           wait on thread to die so we can check refcount correctly
17080
17081 2005-10-18  Wim Taymans  <wim@fluendo.com>
17082
17083         * check/pipelines/stress.c: (GST_START_TEST):
17084         Make check a little more time consuming.
17085
17086 2005-10-18  Wim Taymans  <wim@fluendo.com>
17087
17088         * check/Makefile.am:
17089         * check/pipelines/stress.c: (GST_START_TEST),
17090         (simple_launch_lines_suite), (main):
17091         Small state change torture test.
17092
17093         * docs/design/part-states.txt:
17094         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17095         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
17096         (gst_base_sink_change_state):
17097         Never take state lock from streaming thread, clean up ugly
17098         hacks. Unfortunatly core does not yet support nice ways to
17099         async commit state.
17100         
17101         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
17102         (bin_bus_handler):
17103         Start state recalc if a STATE_DIRTY message is posted, but only
17104         on the toplevel bin.
17105
17106         * gst/gstelement.c: (gst_element_sync_state_with_parent),
17107         (gst_element_get_state_func), (gst_element_abort_state),
17108         (gst_element_commit_state), (gst_element_lost_state),
17109         (gst_element_set_state_func), (gst_element_change_state):
17110         * gst/gstelement.h:
17111         State variables are now protected with the LOCK, the state
17112         lock is only used to serialize _set_state().
17113
17114 2005-10-18  Wim Taymans  <wim@fluendo.com>
17115
17116         * check/gst/gstbin.c: (GST_START_TEST):
17117         * check/gst/gstmessage.c: (GST_START_TEST):
17118         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17119         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
17120         (bin_bus_handler):
17121         * gst/gstelement.c: (gst_element_abort_state),
17122         (gst_element_commit_state), (gst_element_lost_state):
17123         * gst/gstmessage.c: (gst_message_new_state_changed),
17124         (gst_message_new_state_dirty), (gst_message_new_segment_start),
17125         (gst_message_new_segment_done), (gst_message_new_duration),
17126         (gst_message_parse_state_changed),
17127         (gst_message_parse_segment_start),
17128         (gst_message_parse_segment_done), (gst_message_parse_duration):
17129         * gst/gstmessage.h:
17130         * tools/gst-launch.c: (event_loop):
17131         Seriously, this is better than a previous commit as we only need
17132         to notify the fact that an element changed state in a streaming
17133         thread, marking the state of the parents dirty, hence the 
17134         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
17135         message.
17136
17137 2005-10-18  Wim Taymans  <wim@fluendo.com>
17138
17139         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
17140         (gst_bin_recalc_func):
17141         * gst/gstelement.c: (gst_element_set_clock),
17142         (gst_element_abort_state), (gst_element_lost_state):
17143         Cleanups, prepare for state change fixes.
17144
17145 2005-10-18  Wim Taymans  <wim@fluendo.com>
17146
17147         * gst/gstbin.h:
17148         * gst/gstelement.c: (gst_element_class_init),
17149         (gst_element_set_state), (gst_element_set_state_func):
17150         * gst/gstelement.h:
17151         Pending ABI changes.
17152         GThreadPool in GstBinClass to monitor async state changes.
17153         state_cookie in GstElement to detect concurrent gst/set state.
17154         set_state is now virtual too in case a very complicated element
17155         has to be constructed.
17156
17157 2005-10-18  Wim Taymans  <wim@fluendo.com>
17158
17159         * check/gst/gstbin.c: (GST_START_TEST):
17160         * check/gst/gstmessage.c: (GST_START_TEST):
17161         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17162         * gst/gstbin.c: (bin_bus_handler):
17163         * gst/gstelement.c: (gst_element_commit_state),
17164         (gst_element_lost_state):
17165         * gst/gstmessage.c: (gst_message_new_state_changed),
17166         (gst_message_new_segment_start), (gst_message_new_segment_done),
17167         (gst_message_new_duration), (gst_message_parse_state_changed),
17168         (gst_message_parse_segment_start),
17169         (gst_message_parse_segment_done), (gst_message_parse_duration):
17170         * gst/gstmessage.h:
17171         * tools/gst-launch.c: (event_loop):
17172         Make messages future proof.
17173         state-change gets a flag if it was a message comming from the
17174         streaming thread.
17175         segment-start/stop can also be specified in other formats.
17176         A message to notify an app that a pipeline changed playback 
17177         duration.
17178         Also fix a GstMessage leak in -launch
17179
17180 2005-10-18  Andy Wingo  <wingo@pobox.com>
17181
17182         * gst/gstelement.c (gst_element_dispose): More helpful message.
17183
17184 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17185
17186         reviewed by: <delete if not using a buddy>
17187
17188         * common/gtk-doc.mak:
17189
17190 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17191
17192         * gst/gstregistry.c: (gst_registry_scan_path_level):
17193           unref a plug-in we get that was already initialized
17194
17195 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
17196
17197         * docs/gst/gstreamer-sections.txt:
17198         * docs/libs/gstreamer-libs-sections.txt:
17199         * gst/gstelement.h:
17200           add new api entries
17201           hide internal macro
17202
17203 2005-10-17  Andy Wingo  <wingo@pobox.com>
17204
17205         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
17206         cleanup.
17207
17208         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
17209
17210         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
17211
17212         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
17213         (gst_element_get_state_func): Better debug message.
17214         (gst_element_commit_state): s/INFO/DEBUG/.
17215         (gst_element_lost_state, gst_element_change_state): 
17216
17217         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
17218         (gst_message_new_custom): s/INFO/LOG/.
17219
17220 2005-10-17  Michael Smith <msmith@fluendo.com>
17221
17222         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17223           Check if end time is valid using end time, not start time.
17224
17225 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
17226
17227         * check/gst-libs/controller.c: (GST_START_TEST),
17228         (gst_controller_suite):
17229         * libs/gst/controller/gstcontroller.c:
17230         (gst_controlled_property_set_interpolation_mode):
17231         * libs/gst/controller/gstcontroller.h:
17232         * libs/gst/controller/gstinterpolation.c:
17233         * testsuite/controller/.cvsignore:
17234         * testsuite/controller/Makefile.am:
17235         * testsuite/controller/interpolator.c:
17236           merge controller testsuites
17237           fix broken tests
17238           remove mem-chunk from docs
17239
17240 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17241
17242         * gst/gstmemchunk.c:
17243         * gst/gstmemchunk.h:
17244         * gst/gsttrashstack.c:
17245         * gst/gsttrashstack.h:
17246           out.  get out.  you're fired.  to the Attic !
17247
17248 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17249
17250         * gst/gstcaps.c: (gst_caps_intersect):
17251           fix signedness issues in a (hopefully) correct way
17252         * gst/gstelement.c: (gst_element_pads_activate):
17253           some debugging
17254         * gst/gstobject.c: (gst_object_set_parent):
17255           some debugging
17256
17257 2005-10-17  Julien MOUTTE  <julien@moutte.net>
17258
17259         * gst/gstvalue.h: Fix prototypes.
17260
17261 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17262
17263         * docs/gst/gstreamer-sections.txt:
17264         * gst/gst.c: (gst_version_string):
17265         * gst/gst.h:
17266         * gst/gstversion.h.in:
17267         * win32/common/libgstreamer.def:
17268           add gst_version_string ()
17269
17270 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17271
17272         * configure.ac:
17273           clean up further
17274         * gst/gst.c: (init_post):
17275         * win32/common/config.h.in:
17276           it's PLUGINDIR now
17277         * gst/gstcaps.c: (gst_caps_intersect):
17278           use gint64, the range could be bigger than a guint
17279
17280 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17281
17282         * gst/gstclock.h:
17283           document potential problem in 2038
17284
17285 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17286
17287         * gst/gstcaps.c: (gst_caps_intersect):
17288           Fix guint j diving under 0
17289
17290 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17291
17292         * configure.ac:
17293         * win32/common/config.h:
17294         * win32/common/config.h.in:
17295           check for process.h, declares getpid() on Windows
17296         * gst/gstinfo.c:
17297           include process.h if we have it
17298         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
17299         * gst/gstmemchunk.h:
17300           fix signedness issues
17301         * win32/common/libgstreamer.def:
17302           fix get_type's
17303
17304 2005-10-16  Julien MOUTTE  <julien@moutte.net>
17305
17306         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
17307         fix. Because of unsigned ints, caps intersection was going nuts and
17308         trying to access structures with G_MAXUINT index. That fixes
17309         videotestsrc ! ffmpegcolorspace ! fakesink
17310         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
17311         consistency.
17312
17313 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17314
17315         * configure.ac:
17316           use the gettext macro
17317         * gst/elements/gstelements.c:
17318         * gst/gst.c:
17319         * gst/indexers/gstindexers.c:
17320           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
17321         * win32/common/config.h:
17322           updated config.h
17323         * win32/common/config.h.in:
17324           add the template to generate config.h
17325         * win32/common/gstenumtypes.c:
17326         * win32/common/gstversion.h:
17327           updated copies
17328
17329 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17330
17331         * gst/gst.c: (gst_version):
17332         * gst/gstversion.h.in:
17333           add the nano
17334
17335 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
17336
17337         * gst/gstevent.h:
17338           Oops, add missing closing bracket.
17339
17340 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17341
17342         * configure.ac:
17343           use common m4's for argument checking
17344
17345 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
17346
17347         * docs/gst/gstreamer-sections.txt:
17348         * gst/gstevent.h:
17349           Add GST_EVENT_TYPE_NAME() macro.
17350
17351 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17352
17353         * gst/gstinfo.c:
17354         * gst/gstpluginfeature.c:
17355         * gst/gsttask.c:
17356           privatize more symbols
17357
17358 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17359
17360         * configure.ac:
17361           add srcdir, builddir includes to GST_ALL_CFLAGS, since
17362           everything that uses GStreamer API should have the includes
17363
17364 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17365
17366         * docs/gst/gstreamer-sections.txt:
17367         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
17368         * gst/gstvalue.h:
17369           give each value a _get_type, removes the DATA exports
17370
17371 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17372
17373         * gst/gst.c:
17374         * gst/gst.h:
17375           remove _gst_registry_auto_load, not used anymore
17376         * gst/gstbin.c: (gst_bin_get_type):
17377         * gst/gstbin.h:
17378         * gst/gstelement.c: (gst_element_get_type):
17379         * gst/gstelement.h:
17380         * gst/gstobject.c: (gst_object_get_type):
17381         * gst/gstobject.h:
17382         * gst/gstpad.c: (gst_pad_get_type):
17383         * gst/gstpad.h:
17384           make _get_type functions similar, fixes data export from library
17385
17386 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17387
17388         * configure.ac:
17389           correctly make conditionals
17390         * gst/elements/Makefile.am:
17391         * gst/elements/gstelements.c:
17392           fix typo causing fdsrc not to build
17393
17394 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17395
17396         * testsuite/Makefile.am:
17397         * testsuite/bytestream/.cvsignore:
17398         * testsuite/bytestream/Makefile.am:
17399         * testsuite/bytestream/filepadsink.c:
17400         * testsuite/bytestream/gstbstest.c:
17401         * testsuite/bytestream/test1.c:
17402         * testsuite/bytestream/testfile1:
17403         * testsuite/caps/normalisation.c:
17404         * testsuite/caps/random.c: (main):
17405         * testsuite/cleanup/.cvsignore:
17406         * testsuite/cleanup/Makefile.am:
17407         * testsuite/cleanup/cleanup1.c:
17408         * testsuite/cleanup/cleanup2.c:
17409         * testsuite/cleanup/cleanup3.c:
17410         * testsuite/cleanup/cleanup4.c:
17411         * testsuite/cleanup/cleanup5.c:
17412         * testsuite/controller/interpolator.c:
17413         * testsuite/debug/printf_extension.c: (main):
17414         * testsuite/elements/tee.c:
17415         * testsuite/negotiation/.cvsignore:
17416         * testsuite/negotiation/Makefile.am:
17417         * testsuite/negotiation/pad_link.c:
17418         * testsuite/pad/Makefile.am:
17419         * testsuite/pad/chainnopull.c:
17420         * testsuite/pad/getnopush.c:
17421         * testsuite/pad/link.c:
17422         * testsuite/refcounting/sched.c: (create_pipeline):
17423         * testsuite/registry/Makefile.am:
17424         * testsuite/registry/gst-print-formats.c:
17425         * testsuite/schedulers/.cvsignore:
17426         * testsuite/schedulers/142183-2.c:
17427         * testsuite/schedulers/142183.c:
17428         * testsuite/schedulers/143777-2.c:
17429         * testsuite/schedulers/143777.c:
17430         * testsuite/schedulers/147713.c:
17431         * testsuite/schedulers/147819.c:
17432         * testsuite/schedulers/147894-2.c:
17433         * testsuite/schedulers/147894.c:
17434         * testsuite/schedulers/Makefile.am:
17435         * testsuite/schedulers/group_link.c:
17436         * testsuite/schedulers/queue_link.c:
17437         * testsuite/schedulers/relink.c:
17438         * testsuite/schedulers/unlink.c:
17439         * testsuite/schedulers/unref.c:
17440         * testsuite/schedulers/useless_iteration.c:
17441         * testsuite/states/bin.c:
17442           clean out/remove some stuff from the testsuite directories
17443
17444 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17445
17446         * configure.ac:
17447           check for some headers
17448         * gst/elements/Makefile.am:
17449         * gst/elements/gstelements.c:
17450           don't compile fdsrc without sys/socket.h
17451         * gst/indexers/Makefile.am:
17452         * gst/indexers/gstindexers.c: (plugin_init):
17453           don't compile fileindex without mmap
17454
17455 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17456
17457         * configure.ac:
17458           reorganize
17459           clean up
17460           document more
17461           remove cruft
17462         * check/Makefile.am:
17463         * docs/gst/Makefile.am:
17464         * examples/helloworld/Makefile.am:
17465         * gst/Makefile.am:
17466         * gst/base/Makefile.am:
17467         * gst/check/Makefile.am:
17468         * gst/elements/Makefile.am:
17469         * gst/indexers/Makefile.am:
17470         * gst/parse/Makefile.am:
17471         * libs/gst/controller/Makefile.am:
17472         * libs/gst/dataprotocol/Makefile.am:
17473         * examples/helloworld/helloworld.c: (event_loop):
17474           compile fixes, though it's not being compiled currently
17475
17476 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17477
17478         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
17479           Add some simple tests for the new taglist date API.
17480
17481 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17482
17483         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
17484         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
17485           Beautify 'last-message' output: print 'none' for buffer timestamps
17486           and durations if none is set; improve alignment with next messages.
17487
17488 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17489
17490         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
17491         * gst/gstpluginfeature.h:
17492         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
17493         * gst/gstregistry.h:
17494         * docs/gst/gstreamer-sections.txt:
17495           Add new API to check plugin feature version requirements.
17496
17497         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
17498           Some basic tests for the above.         
17499
17500 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17501
17502         * gst/gststructure.c: (gst_structure_to_string):
17503           guard against NULL printf - happens when for example
17504           a message structure with GstClock gets serialized
17505
17506 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17507
17508         * gst/base/gstcollectpads.c: (gst_collectpads_event):
17509           Fix presumable copy'n'pasto.
17510
17511 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17512
17513         * gst/elements/gstfakesrc.h:
17514         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
17515         * gst/elements/gsttypefindelement.c:
17516           fix some signedness
17517         * gst/elements/gstfilesink.c: (gst_file_sink_render):
17518           I wonder if this could actually write +2GB files before
17519
17520 2005-10-13  Andy Wingo  <wingo@pobox.com>
17521
17522         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
17523         Fix Timmeke Waymans bug.
17524         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
17525         string of the proper length to gst_caps_from_string. There's a
17526         potential for, before this fix, that this could cause someone
17527         connecting over the network to cause a segfault if the payload is
17528         not NUL-terminated.
17529
17530 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17531
17532         * docs/design/draft-push-pull.txt:
17533         * docs/design/part-overview.txt:
17534         * docs/random/TODO-pre-0.9:
17535         * docs/random/old/ChangeLog.gstreamer:
17536         * gst/base/gstpushsrc.c:
17537         * gst/gstclock.c:
17538           fixed typos
17539
17540 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17541
17542         * gst/glib-compat.c: (gst_flags_get_first_value):
17543         * gst/glib-compat.h:
17544         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
17545         (gst_value_compare_double), (gst_value_serialize_flags):
17546           GLib 2.6 g_flags_get_first_value has a bug that triggers an
17547           infinite loop
17548
17549 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17550
17551         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17552         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17553           fix up debugging
17554         * tools/gst-launch.c: (event_loop):
17555           print out clock nicely
17556
17557 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17558
17559         * docs/gst/gstreamer-sections.txt:
17560         * gst/gsttaglist.h:
17561         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
17562         (gst_tag_list_get_date_index):
17563           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
17564           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
17565
17566 2005-10-13  Julien MOUTTE  <julien@moutte.net>
17567
17568         * gst/base/gstcollectpads.c: (gst_collectpads_event),
17569         (gst_collectpads_chain):
17570         * gst/base/gstcollectpads.h: Handle newsegment and store informations
17571         in CollectData.
17572
17573 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17574
17575         * docs/gst/gstreamer-sections.txt:
17576         * gst/gst.c:
17577         * gst/gsterror.h:
17578         * tools/gst-inspect.c: (main):
17579         * tools/gst-launch.c: (main):
17580         * tools/gst-run.c: (main):
17581         * tools/gst-xmlinspect.c: (main):
17582           fix GOption context leaks
17583           doc fixes
17584
17585 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17586
17587         * gst/gstbus.c:
17588           use HAVE_UNISTD_H
17589         * win32/common/config.h:
17590           update config
17591         * win32/vs6/grammar.dsp:
17592         * win32/vs6/libgstelements.dsp:
17593         * win32/vs6/libgstreamer.dsp:
17594           update vs6 files
17595
17596 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17597
17598         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17599         * gst/base/gstbasesrc.c: (gst_base_src_query):
17600           fix more guint64<->gdouble conversions
17601
17602 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17603
17604         * Makefile.am:
17605           add win32-update target
17606         * win32/common/gstconfig.h:
17607         * win32/common/gstenumtypes.c:
17608         * win32/common/gstenumtypes.h:
17609         * win32/common/gstversion.h:
17610           add files that visual studio can't generate
17611
17612 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17613
17614         * Makefile.am:
17615           add a win32-update target
17616         * configure.ac:
17617
17618 2005-10-12  Wim Taymans  <wim@fluendo.com>
17619
17620         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17621         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
17622         * gst/gstelement.c: (gst_element_commit_state),
17623         (gst_element_set_state):
17624         Protect flags with proper lock.
17625         unref provided cached clock in dispose.
17626
17627 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17628
17629         * gst/gst.c:
17630         * gst/gstminiobject.h:
17631         * gst/gstpad.h:
17632         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
17633           removed unused flags from miniobject
17634           doc fixes
17635
17636 2005-10-12  Wim Taymans  <wim@fluendo.com>
17637
17638         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17639         (gst_file_sink_event), (gst_file_sink_render):
17640         Flush before seeking.
17641
17642 2005-10-12  Andy Wingo  <wingo@pobox.com>
17643
17644         * gst/gst.c (gst_init_check): Ignore unknown options, as has
17645         always been the case.
17646
17647 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17648
17649         * check/gst/gstbin.c: (GST_START_TEST):
17650         * docs/gst/gstreamer-sections.txt:
17651         * gst/base/gstbasesink.c: (gst_base_sink_init):
17652         * gst/base/gstbasesrc.c: (gst_base_src_init),
17653         (gst_base_src_get_range), (gst_base_src_check_get_range),
17654         (gst_base_src_start), (gst_base_src_stop):
17655         * gst/base/gstbasesrc.h:
17656         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
17657         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17658         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
17659         (bin_bus_handler):
17660         * gst/gstbin.h:
17661         * gst/gstbuffer.h:
17662         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
17663         * gst/gstbus.h:
17664         * gst/gstelement.c: (gst_element_is_locked_state),
17665         (gst_element_set_locked_state), (gst_element_commit_state),
17666         (gst_element_set_state):
17667         * gst/gstelement.h:
17668         * gst/gstindex.c: (gst_index_init):
17669         * gst/gstindex.h:
17670         * gst/gstminiobject.h:
17671         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
17672         (gst_object_set_parent):
17673         * gst/gstobject.h:
17674         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
17675         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
17676         * gst/gstpad.h:
17677         * gst/gstpadtemplate.h:
17678         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
17679         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
17680         * gst/gstpipeline.h:
17681         * gst/indexers/gstfileindex.c: (gst_file_index_load),
17682         (gst_file_index_commit):
17683         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
17684         * testsuite/pad/link.c: (gst_test_src_init),
17685         (gst_test_filter_init), (gst_test_sink_init):
17686         * testsuite/states/locked.c: (main):
17687           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
17688           moved bitshift from macro to enum definition
17689
17690 2005-10-12  Wim Taymans  <wim@fluendo.com>
17691
17692         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
17693         * gst/elements/gstfilesink.c: (gst_file_sink_event),
17694         (gst_file_sink_render):
17695         Some more debugging info.
17696
17697 2005-10-12  Wim Taymans  <wim@fluendo.com>
17698
17699         * docs/design/part-states.txt:
17700         * tools/gst-launch.c: (main):
17701         Some doc updates.
17702         Revert non-intentional change.
17703
17704 2005-10-12  Wim Taymans  <wim@fluendo.com>
17705
17706         * check/gst/gstbin.c: (GST_START_TEST):
17707         * check/gst/gstelement.c: (GST_START_TEST):
17708         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
17709         * check/gst/gstghostpad.c: (GST_START_TEST):
17710         * check/gst/gstpipeline.c: (GST_START_TEST):
17711         * check/pipelines/simple_launch_lines.c: (run_pipeline):
17712         * check/states/sinks.c: (GST_START_TEST):
17713         * gst/elements/gsttypefindelement.c: (stop_typefinding):
17714         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17715         (gst_bin_remove_func), (gst_bin_get_state_func),
17716         (gst_bin_recalc_state), (gst_bin_change_state_func),
17717         (bin_bus_handler):
17718         * gst/gstelement.c: (gst_element_get_state_func),
17719         (gst_element_get_state), (gst_element_abort_state),
17720         (gst_element_commit_state), (gst_element_set_state),
17721         (gst_element_change_state), (gst_element_change_state_func):
17722         * gst/gstelement.h:
17723         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
17724         (gst_pipeline_provide_clock_func):
17725         * gst/gstutils.c: (gst_element_link_pads_filtered):
17726         * tools/gst-launch.c: (main):
17727         * tools/gst-typefind.c: (main):
17728         Use GstClockTime in _get_state() instead of GTimeVal.
17729         Remove old code in gstutils.c
17730
17731 2005-10-12  Andy Wingo  <wingo@pobox.com>
17732
17733         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
17734         removed.
17735
17736         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
17737         there is no task. Shouldn't affect any code, as nothing in our
17738         plugins checks this return value.
17739         (gst_pad_stop_task): Also take the stream lock if the pad has no
17740         task. Docs updated.
17741
17742 2005-10-12  Wim Taymans  <wim@fluendo.com>
17743
17744         * gst/gstpad.c: (pre_activate), (post_activate),
17745         (gst_pad_activate_pull), (gst_pad_activate_push):
17746         Cleanup activation code. Reset old state if
17747         activation failed.
17748
17749 2005-10-12  Wim Taymans  <wim@fluendo.com>
17750
17751         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17752         (gst_base_sink_change_state):
17753         No need to prerol after receiving EOS.
17754
17755         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
17756         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
17757         * gst/elements/gstidentity.c: (gst_identity_event):
17758         Print events more verbosely.
17759
17760 2005-10-12  Wim Taymans  <wim@fluendo.com>
17761
17762         * check/Makefile.am:
17763         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17764         * check/states/sinks2.c:
17765         Moved sinks2 testcode in sinks check.
17766
17767         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17768         (gst_bin_remove_func), (gst_bin_recalc_state),
17769         (gst_bin_change_state_func), (bin_bus_handler):
17770         Fix potential race condition when _get_state() iterated over an
17771         ASYNC element right before it posted a state completion.
17772
17773         * gst/gstclock.h:
17774         Do proper cast here.
17775
17776         * gst/gstevent.c: (gst_event_new_newsegment),
17777         (gst_event_parse_newsegment):
17778         A playback rate of 0.0 is not allowed.
17779
17780 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17781
17782         * win32/common/config.h:
17783         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
17784         (_trewinddir), (_ttelldir), (_tseekdir):
17785         * win32/common/dirent.h:
17786         * win32/common/gtchar.h:
17787         * win32/common/libgstbase.def:
17788         * win32/common/libgstreamer.def:
17789         * win32/vs6/grammar.dsp:
17790         * win32/vs6/gst_inspect.dsp:
17791         * win32/vs6/gst_launch.dsp:
17792         * win32/vs6/gstreamer.dsw:
17793         * win32/vs6/libgstbase.dsp:
17794         * win32/vs6/libgstelements.dsp:
17795         * win32/vs6/libgstreamer.dsp:
17796           Visual Studio 6 project files, and a new common directory.
17797           Phear.
17798
17799 2005-10-11  Wim Taymans  <wim@fluendo.com>
17800
17801         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17802         (gst_base_sink_do_sync), (gst_base_sink_query),
17803         (gst_base_sink_change_state):
17804         * gst/base/gstbasesink.h:
17805         Correctly parse newsegment info.
17806
17807 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17808
17809         * gst/gst.c: (init_post):
17810           split plugin paths correctly
17811
17812 2005-10-11  Wim Taymans  <wim@fluendo.com>
17813
17814         * check/gst/gstevent.c: (GST_START_TEST):
17815         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17816         (gst_base_sink_change_state):
17817         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
17818         * gst/base/gstbasetransform.c: (gst_base_transform_event):
17819         * gst/elements/gstfilesink.c: (gst_file_sink_event):
17820         * gst/gstevent.c: (gst_event_new_newsegment),
17821         (gst_event_parse_newsegment):
17822         * gst/gstevent.h:
17823         Added extra flag to newsegment for future API freeze.
17824         Updated check and base elements.
17825
17826 2005-10-11  Julien MOUTTE  <julien@moutte.net>
17827
17828         * gst/base/gstcollectpads.c: (gst_collectpads_init),
17829         (gst_collectpads_add_pad), (gst_collectpads_pop),
17830         (gst_collectpads_event), (gst_collectpads_chain):
17831         * gst/base/gstcollectpads.h: Handle EOS correctly.
17832
17833 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17834
17835         * tools/gst-launch.c: (main):
17836           more null protecting
17837
17838 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17839
17840         * gst/gst-i18n-lib.h:
17841           check for ENABLE_NLS, not GETTEXT_PACKAGE
17842         * gst/gstregistry.c: (gst_registry_add_plugin),
17843         (gst_registry_scan_path_level),
17844         (_gst_registry_remove_cache_plugins):
17845           protect possibly NULL strings
17846         * gst/parse/types.h:
17847           config.h already included before
17848         * tools/gst-inspect.c: (main):
17849           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
17850           check for ENABLE_NLS, not GETTEXT_PACKAGE
17851         * tools/gst-launch.c: (main):
17852           check for ENABLE_NLS, not GETTEXT_PACKAGE
17853
17854 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17855
17856         * configure.ac:
17857           if we don't have glib, fail before testing 2.8
17858         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
17859           fix a leak, should fix plugins-base testsuite
17860
17861 2005-10-11  Andy Wingo  <wingo@pobox.com>
17862
17863         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
17864         take the mode we're going to as an arg. Go head and set the mode
17865         and flushing flags now, so that if the activate function starts a
17866         thread all the flags will be in the right state.
17867         (post_activate): Renamed also. Just handle making sure streaming
17868         finishes for the deactivation case, and setting the deactivated
17869         mode.
17870         (gst_pad_set_active): Complain loudly if deactivation fails.
17871         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
17872         (gst_pad_activate_push): Adapt to pre/post_activate changes,
17873         remove the terrible hack.
17874
17875 2005-10-11  Wim Taymans  <wim@fluendo.com>
17876
17877         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17878         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
17879         (gst_bin_recalc_state), (gst_bin_change_state_func),
17880         (gst_bin_dispose), (bin_bus_handler):
17881         * gst/gstbin.h:
17882         Prepare to make current EOS message queue more generic.
17883         Fix some typos.
17884
17885         * gst/gstevent.c: (gst_event_new_newsegment),
17886         (gst_event_parse_newsegment):
17887         * gst/gstevent.h:
17888         Rename base to stream_time.
17889
17890         * gst/gstmessage.h:
17891         Fix typo in docs.
17892
17893 2005-10-11  Wim Taymans  <wim@fluendo.com>
17894
17895         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17896         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
17897         (gst_bin_change_state_func), (bin_bus_handler):
17898         * gst/gstbin.h:
17899         Work on proper clock selection.
17900
17901 2005-10-11  Edward Hervey  <edward@fluendo.com>
17902
17903         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
17904         * libs/gst/controller/gstcontroller.h:
17905         Added GList* version of _remove_properties() in order to be able to wrap
17906         it in bindings.
17907
17908 2005-10-11  Wim Taymans  <wim@fluendo.com>
17909
17910         * docs/design/part-states.txt:
17911         Some more docs.
17912
17913         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
17914         (gst_bin_change_state_func), (bin_bus_handler):
17915         Doc updates. Don't distribute the same clock over and over again.
17916
17917         * gst/gstclock.c:
17918         * gst/gstclock.h:
17919         Doc updates.
17920
17921         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
17922         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
17923         (gst_pad_send_event):
17924         * gst/gstpad.h:
17925         Make probe emission threadsafe again.
17926         Register quarks and move _get_name() from utils.
17927         Doc updates.
17928
17929         * gst/gstpipeline.c: (gst_pipeline_class_init),
17930         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17931         Only redistribute the clock of it changed.
17932
17933         * gst/gstsystemclock.h:
17934         Doc updates. 
17935
17936         * gst/gstutils.c:
17937         * gst/gstutils.h:
17938         Moved the _flow_get_name() to GstPad.
17939
17940 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17941
17942         * check/gst-libs/gdp.c: (GST_START_TEST):
17943         * check/gst/gstcaps.c: (GST_START_TEST):
17944         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
17945         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
17946         (gst_dp_packet_from_caps):
17947           fix more valgrind warnings before turning up the heat
17948
17949 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17950
17951         * gst/parse/grammar.y:
17952           some cleanup before the hacking
17953
17954 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17955
17956         * gst/base/gstbasesrc.c: (gst_base_src_query):
17957           use conversions
17958         * gst/gstutils.c: (gst_guint64_to_gdouble),
17959         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
17960         * gst/gstutils.h:
17961           externalize, basesrc uses it
17962           obviously the implementation needs testing
17963
17964 2005-10-10  Wim Taymans  <wim@fluendo.com>
17965
17966         * tests/sched/Makefile.am:
17967         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
17968         (make_pipeline3), (make_pipeline4), (print_elem), (main):
17969
17970 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17971
17972         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
17973           apparently converting from guint64 to double is not implemented
17974           on MSVC
17975
17976 2005-10-10  Wim Taymans  <wim@fluendo.com>
17977
17978         * check/Makefile.am:
17979         * check/generic/states.c: (GST_START_TEST):
17980         * check/gst/gstbin.c: (GST_START_TEST):
17981         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17982         * check/states/sinks.c: (GST_START_TEST):
17983         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
17984         (main):
17985         Check fixes, use API as stated in design docs, remove hacks.
17986
17987         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17988         (gst_base_sink_change_state):
17989         Catch stopping our task while we're shutting down.
17990
17991         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
17992         (gst_bin_remove_func), (gst_bin_get_state_func),
17993         (gst_bin_recalc_state), (gst_bin_change_state_func),
17994         (bin_bus_handler):
17995         * gst/gstbin.h:
17996         * gst/gstelement.c: (gst_element_init),
17997         (gst_element_get_state_func), (gst_element_abort_state),
17998         (gst_element_commit_state), (gst_element_lost_state),
17999         (gst_element_set_state), (gst_element_change_state),
18000         (gst_element_change_state_func):
18001         * gst/gstelement.h:
18002         New state change algorithm (see #318116)
18003
18004         * gst/gstpipeline.c: (gst_pipeline_class_init),
18005         (gst_pipeline_init), (gst_pipeline_set_property),
18006         (gst_pipeline_get_property), (do_pipeline_seek),
18007         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
18008         * gst/gstpipeline.h:
18009         Remove crude state change hacks.
18010
18011         * gst/gstutils.h:
18012         Remove crude hacks.
18013
18014         * tools/gst-launch.c: (main):
18015         Fixes for state change. Needs some more work to fully use the
18016         new stuff.
18017
18018 2005-10-10  Andy Wingo  <wingo@pobox.com>
18019
18020         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
18021
18022         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
18023         this flag, but it's not even in GLib 2.6. Odd. Hack around the
18024         issue.
18025
18026 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
18027
18028         * gst/gstiterator.c: (gst_iterator_new):
18029           Fix my previous commit: GTypes passed to gst_iterator_new()
18030           can be fundamental types.
18031
18032 2005-10-10  Wim Taymans  <wim@fluendo.com>
18033
18034         * gst/gstelement.c: (gst_element_iterate_pad_list),
18035         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
18036         (gst_element_iterate_sink_pads):
18037         Use src/sink pads lists for the respective iterators instead
18038         of filtering.
18039
18040 2005-10-10  Andy Wingo  <wingo@pobox.com>
18041
18042         Merged in popt removal + GOption addition patch from Ronald, bug
18043         #169772.
18044
18045         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
18046         GstElement macros around, remove popt-related symbols, add goption
18047         stuff.
18048
18049         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
18050         
18051         * docs/gst/Makefile.am:
18052         * docs/libs/Makefile.am: No POPT_CFLAGS.
18053         
18054         * examples/manual/Makefile.am:
18055         * docs/manual/basics-init.xml: Doc updates with an example.
18056         
18057         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
18058         (gst_init), (parse_one_option), (parse_goption_arg):
18059         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
18060         bit of hand merging and debugging to get the GOption stuff working
18061         tho.
18062         
18063         * tests/Makefile.am:
18064         * tools/Makefile.am:
18065         * tools/gst-inspect.c: (main):
18066         * tools/gst-launch.c: (main):
18067         * tools/gst-run.c: (main):
18068         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
18069
18070 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
18071
18072         * gst/gstiterator.c: (gst_iterator_new):
18073           Add assertions to make sure passed GType is likely to really
18074           be a GType (as the compiler won't catch it if the size and
18075           GType arguments get mixed up, see #318447).
18076
18077 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
18078
18079         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18080
18081         * gst/gstbin.c: (gst_bin_iterate_sorted):
18082           Pass GType and size arguments to gst_iterator_new() in the right
18083           order (maybe we should make _new() take the GType as first argument
18084           just like _new_list()?) (#318447).
18085           
18086
18087 2005-10-10  Wim Taymans  <wim@fluendo.com>
18088
18089         * gst/gstelement.c: (gst_element_finalize):
18090         And free the GStaticRecMutex too
18091
18092 2005-10-10  Andy Wingo  <wingo@pobox.com>
18093
18094         * gst/gstelement.c (gst_element_init, gst_element_finalize):
18095         Allocate and free the mutex properly.
18096
18097         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
18098         New macros.
18099         (GstElement): The state_lock is now recursive. Rebuild your
18100         plugins, suckers. Old macros adapted.
18101
18102         * docs/gst/gstreamer-sections.txt: Doc updates.
18103
18104         * gst/gstutils.h:
18105         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
18106         (g_static_rec_cond_wait): Ported from state changes patch, while
18107         we wait on bug #317802 to be solved in a well-distributed GLib.
18108
18109         * gst/gstelement.c (gst_element_change_state_func): Renamed from
18110         gst_element_change_state, variable name changes.
18111         (gst_element_change_state): Split out of gst_element_set_state in
18112         preparation for the state change merge. Doesn't pay attention to
18113         the 'transition' argument.
18114         (gst_element_set_state): Updates, hopefully purely cosmetic.
18115         (gst_element_sync_state_with_parent): MT-safety. Ported from the
18116         state change patch.
18117         (gst_element_get_state_func): Renamed from get_state, cosmetic
18118         changes.
18119
18120 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18121
18122         * gst/elements/gstelements.c:
18123         * win32/GStreamer.vcproj:
18124         * win32/config.h:
18125         * win32/dirent.c: (_tseekdir):
18126         * win32/gst-inspect.vcproj:
18127         * win32/gst-launch.vcproj:
18128         * win32/gstconfig.h:
18129         * win32/gstelements.vcproj:
18130         * win32/gstenumtypes.c: (gst_object_flags_get_type):
18131         * win32/gstreamer.def:
18132         * win32/msvc71.sln:
18133           updates for the win32 build (patch from Sebastien Moutte)
18134
18135 2005-10-10  Andy Wingo  <wingo@pobox.com>
18136
18137         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
18138         gst_bin_get_state, cleaned up (but no logic changes).
18139         (bin_element_is_sink): Comment updates.
18140         (sink_iterator_filter): Remove needless cast.
18141         (gst_bin_iterate_sinks): Doc update.
18142         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
18143         cleaned up (but no logic changes).
18144
18145         * check/states/sinks.c (test_src_sink): Cleanups from the state
18146         change patch.
18147         (test_livesrc_sink): Sync on the state.
18148
18149         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
18150         the state change patch.
18151
18152         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
18153         change patch.
18154
18155         * check/gst/gstbin.c: Merge in some style fixes and additional
18156         checks from Wim's state change patch.
18157
18158 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
18159
18160         * gst/base/gsttypefindhelper.c: (helper_find_peek),
18161         (gst_type_find_helper):
18162           Check whether we have the requested data already in our list of
18163           cached buffers before pulling a new buffer; also make the buffer
18164           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
18165
18166 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18167
18168         * gst/gstcaps.c:
18169         * gst/gstevent.c:
18170           doc updates
18171         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
18172           don't use long long, it's not portable.  Replacing with
18173           gint64 seems to work; let's hope no skeletons fall out of the closet.
18174
18175 2005-10-10  Andy Wingo  <wingo@pobox.com>
18176
18177         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
18178
18179 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
18180
18181         * docs/gst/gstreamer-sections.txt:
18182         * gst/gstevent.c:
18183         * gst/gstevent.h:
18184         * gst/gstinfo.c:
18185         * gst/gstinfo.h:
18186         * gst/gstmessage.c: (gst_message_parse_state_changed):
18187         * gst/gstpad.c:
18188         * gst/gstpad.h:
18189           more docs, fix compilation
18190
18191 2005-10-09  Philippe Khalaf <burger@speedy.org>
18192         * gst/gstmessage.c:
18193           Fixed a few forgotten variables on previous commit
18194
18195 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
18196
18197         * gst/base/gsttypefindhelper.c: (helper_find_peek):
18198           Fix evil typefind crasher: getrange() might return a short
18199           buffer at the end of a file, but gst_type_find_peek() must
18200           either return the full data as requested or NULL, but
18201           never a short buffer.
18202
18203 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18204
18205         * gst/gstmessage.c: (gst_message_new_state_changed),
18206         (gst_message_parse_state_changed):
18207         * gst/gstmessage.h:
18208           don't use "new", it's a C++ keyword
18209
18210 2005-10-08  Wim Taymans  <wim@fluendo.com>
18211
18212         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
18213         * gst/gstelement.c: (gst_element_post_message):
18214         * gst/gstpipeline.c: (gst_pipeline_change_state):
18215         Small docs and debug updates.
18216
18217 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
18218
18219         * docs/gst/gstreamer-sections.txt:
18220         * gst/gstelementfactory.c:
18221         * gst/gstevent.c:
18222         * gst/gsttaglist.c:
18223           more docs
18224
18225 2005-10-08  Wim Taymans  <wim@fluendo.com>
18226
18227         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
18228         (gst_bin_dispose), (bin_bus_handler):
18229         Fix typos, add comments.
18230         Clear EOS list when going to PAUSED from any direction and do it
18231         in a threadsafe way.
18232         Get base time in a threadsafe way too.
18233         Fix confusing debug in the change_state function.
18234         Various other small cleanups.
18235         
18236         * gst/gstelement.c: (gst_element_post_message):
18237         Fix very verbose bus posting code.
18238
18239         * gst/gstpipeline.c: (gst_pipeline_class_init),
18240         (gst_pipeline_set_property), (gst_pipeline_get_property),
18241         (gst_pipeline_change_state):
18242         Small ARG_ -> PROP_ cleanup
18243
18244 2005-10-08  Wim Taymans  <wim@fluendo.com>
18245
18246         * gst/gstbin.c: (is_eos), (bin_bus_handler):
18247         Do a less CPU demanding EOS check because we can.
18248
18249 2005-10-08  Wim Taymans  <wim@fluendo.com>
18250
18251         * libs/gst/dataprotocol/dataprotocol.c:
18252         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
18253         (gst_dp_packet_from_event):
18254         * libs/gst/dataprotocol/dataprotocol.h:
18255         * libs/gst/dataprotocol/dp-private.h:
18256         It's about time we bump the version number.
18257         Since event types don't fit in the guint8 anymore describing
18258         the payload type, make payload type 16 bits wide.
18259
18260 2005-10-08  Wim Taymans  <wim@fluendo.com>
18261
18262         * docs/design/part-TODO.txt:
18263         * docs/design/part-clocks.txt:
18264         * docs/design/part-events.txt:
18265         * docs/design/part-gstbin.txt:
18266         * docs/design/part-gstelement.txt:
18267         * docs/design/part-gstpipeline.txt:
18268         * docs/design/part-live-source.txt:
18269         * docs/design/part-messages.txt:
18270         * docs/design/part-overview.txt:
18271         * docs/design/part-states.txt:
18272         Many doc updates.
18273
18274 2005-10-08  Wim Taymans  <wim@fluendo.com>
18275
18276         * gst/gstevent.c:
18277         * gst/gstevent.h:
18278         Fix event quark registration.
18279         Add some space between events so we can insert them in the
18280         right groups.
18281
18282 2005-10-08  Wim Taymans  <wim@fluendo.com>
18283
18284         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18285         (gst_base_sink_handle_buffer):
18286         Better log message.
18287
18288         * gst/gstbus.h:
18289         * gst/gstelement.h:
18290         More docs.
18291
18292         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
18293         (gst_queue_set_property), (gst_queue_get_property):
18294         * gst/gstqueue.h:
18295         Remove old unused properties.
18296
18297 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
18298         * docs/gst/gstreamer-sections.txt:
18299         * gst/gstmessage.c:
18300         * gst/gstmessage.h:
18301         * gst/gstminiobject.c:
18302         * gst/gstminiobject.h:
18303         * gst/gstobject.h:
18304         * gst/gstpad.h:
18305         * gst/gstutils.h:
18306           lots of new docs and doc fixes
18307
18308 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18309
18310         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
18311         * gst/gstplugin.h:
18312         * gst/gstregistry.c: (gst_registry_lookup_locked),
18313         (gst_registry_scan_path_level):
18314         * gst/gstregistryxml.c: (load_plugin):
18315           Only ever load one plugin for a given plugin basename.
18316           This ensures correct overriding of GST_PLUGIN_PATH over
18317           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
18318           system installed plugins.
18319
18320 2005-10-08  Wim Taymans  <wim@fluendo.com>
18321
18322         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18323         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
18324         Prepare for doing QOS.
18325
18326 2005-10-08  Wim Taymans  <wim@fluendo.com>
18327
18328         * check/gst/gstbin.c: (GST_START_TEST):
18329         * check/pipelines/cleanup.c: (GST_START_TEST):
18330         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18331         Allow new clock message too.
18332
18333 2005-10-08  Wim Taymans  <wim@fluendo.com>
18334
18335         * gst/gstmessage.c: (gst_message_new_error),
18336         (gst_message_new_warning), (gst_message_new_tag),
18337         (gst_message_new_state_changed), (gst_message_new_clock_provide),
18338         (gst_message_new_clock_lost), (gst_message_new_new_clock),
18339         (gst_message_new_segment_start), (gst_message_new_segment_done),
18340         (gst_message_parse_state_changed),
18341         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
18342         (gst_message_parse_new_clock):
18343         * gst/gstmessage.h:
18344         Also carry the clock in question.
18345
18346 2005-10-08  Wim Taymans  <wim@fluendo.com>
18347
18348         * gst/gstmessage.c: (gst_message_new_custom),
18349         (gst_message_new_eos), (gst_message_new_error),
18350         (gst_message_new_warning), (gst_message_new_tag),
18351         (gst_message_new_state_changed), (gst_message_new_clock_provide),
18352         (gst_message_new_new_clock), (gst_message_new_segment_start),
18353         (gst_message_new_segment_done), (gst_message_parse_state_changed),
18354         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
18355         * gst/gstmessage.h:
18356         Clean up.
18357         Added clock related messages.
18358
18359         * gst/gstpipeline.c: (gst_pipeline_change_state):
18360         Post message when the clock changed.
18361
18362         * tools/gst-launch.c: (event_loop):
18363         Print new clock.
18364
18365 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
18366
18367         * tools/gst-inspect.c: (print_element_properties_info):
18368           Can't pass NULL strings to g_print() on windows.
18369
18370 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18371
18372         * docs/Makefile.am:
18373         * docs/gst/Makefile.am:
18374         * docs/gst/gstreamer-docs.sgml:
18375         * docs/gst/running.xml:
18376         * docs/version.entities.in:
18377           add a chapter on running GStreamer.
18378           document GST_DEBUG and GST_PLUGIN* env vars
18379
18380 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18381
18382         * Makefile.am:
18383           remove include dir
18384         * configure.ac:
18385           remove PLUGINS_BUILDDIR stuff
18386         * gst/gst.c: (init_post):
18387           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
18388         * idiottest.mak:
18389           remove, it was condescending and not needed
18390
18391 2005-10-08  Wim Taymans  <wim@fluendo.com>
18392
18393         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
18394         (gst_base_sink_handle_object), (gst_base_sink_event),
18395         (gst_base_sink_wait), (gst_base_sink_handle_event),
18396         (gst_base_sink_change_state):
18397         * gst/base/gstbasesink.h:
18398         Repost EOS message while going to PLAYING if still EOS.
18399         Make sure that when receiving a FLUSH_START we don't attempt
18400         to sync on the clock anymore.
18401
18402 2005-10-08  Wim Taymans  <wim@fluendo.com>
18403
18404         * tools/gst-launch.c: (event_loop):
18405         Better message printout.
18406
18407 2005-10-08  Wim Taymans  <wim@fluendo.com>
18408
18409         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
18410         (gst_bin_child_proxy_get_children_count):
18411         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
18412         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
18413         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
18414         (gst_child_proxy_set_valist):
18415         * gst/parse/grammar.y:
18416         Make ChildProxy threadsafe and fix mem leaks.
18417
18418 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18419
18420         * gst/gst.c: (init_post):
18421           debug the GST_PLUGIN_ env vars
18422
18423 2005-10-08  Wim Taymans  <wim@fluendo.com>
18424
18425         * check/gst/gstbin.c: (GST_START_TEST):
18426         * check/gst/gstmessage.c: (GST_START_TEST):
18427         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18428         * gst/gstelement.c: (gst_element_commit_state),
18429         (gst_element_lost_state):
18430         * gst/gstmessage.c: (gst_message_new_state_changed),
18431         (gst_message_parse_state_changed):
18432         * gst/gstmessage.h:
18433         * tools/gst-launch.c: (event_loop):
18434         Added extra field to STATE_CHANGE message with the pending
18435         state, which will be different from the new state soon.
18436
18437 2005-10-08  Wim Taymans  <wim@fluendo.com>
18438
18439         * gst/gstbus.c: (gst_bus_pop):
18440         * gst/gstclock.c:
18441         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18442         Small cleanups and doc updates.
18443
18444 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18445
18446         * gst/gst.c: (init_pre):
18447         * gst/gstbin.c: (gst_bin_add_func):
18448           log distributing clocks and base time
18449         * gst/gstregistry.c: (gst_registry_add_plugin),
18450         (gst_registry_scan_path_level), (gst_registry_scan_path):
18451           clean up the debugging output a little
18452         * gst/gstutils.c: (gst_element_state_get_name):
18453           warn about a memleak (I've actually seen this be used, though
18454           it was probably a bug)
18455
18456 2005-10-07  Wim Taymans  <wim@fluendo.com>
18457
18458         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18459         (gst_base_src_init), (gst_base_src_default_newsegment),
18460         (gst_base_src_newsegment), (gst_base_src_do_seek),
18461         (gst_base_src_loop), (gst_base_src_start):
18462         * gst/base/gstbasesrc.h:
18463         Make the newsegment event customizable by subclasses.
18464
18465 2005-10-07  Wim Taymans  <wim@fluendo.com>
18466
18467         * gst/gstevent.c: (gst_event_new_buffersize),
18468         (gst_event_parse_buffersize):
18469         * gst/gstevent.h:
18470         New event for future idea.
18471
18472 2005-10-07  Andy Wingo  <wingo@pobox.com>
18473
18474         * gst/gstelement.c (gst_element_post_message): Doc update.
18475
18476         * docs/gst/gstreamer-sections.txt: Update.
18477
18478         * gst/gstmessage.c (gst_message_new_application): Made into a
18479         function like honest API calls.
18480         (gst_message_new_element): New message type.
18481
18482         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
18483
18484         * check/elements/fakesrc.c (test_no_preroll): New check, checks
18485         that setting a live fakesrc to PAUSED returns NO_PREROLL both
18486         times.
18487
18488         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
18489         NO_PREROLL from gst_element_change_state to fall through.
18490
18491 2005-10-07  Wim Taymans  <wim@fluendo.com>
18492
18493         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
18494         (gst_ghost_pad_do_activate_push):
18495         Activating a ghostpad with no internal pad in push mode
18496         is ok.
18497
18498 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18499
18500         * gst/gstobject.h:
18501           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
18502           Fixes compilation on Windows.
18503
18504 2005-10-07  Michael Smith <msmith@fluendo.com>
18505
18506         * tools/gst-inspect.c:
18507           Print out feature and plugin count at the end when printing out
18508           all features.
18509
18510 2005-10-04  Michael Smith <msmith@fluendo.com>
18511
18512         * gst/gsterror.c: (_gst_stream_errors_init):
18513           Add another error string used in a few existing plugins.
18514
18515         * gst/gstplugin.c:
18516         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18517         * tools/gst-inspect.c: (print_element_info):
18518           When a feature disappears from a plugin (and the feature exists in
18519           the cached registry file), things went horribly wrong. This isn't a
18520           complete fix, we should actually be removing the 'missing' features
18521           from the features list when we load the actual plugin. That's not
18522           yet implemented. 
18523
18524 2005-10-04  Johan Dahlin  <johan@gnome.org>
18525
18526         * check/gst/gstiterator.c: (GST_START_TEST):
18527         * gst/gstbin.c: (gst_bin_iterate_elements),
18528         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
18529         * gst/gstelement.c: (gst_element_iterate_pads):
18530         * gst/gstformat.c: (gst_format_iterate_definitions):
18531         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
18532         (gst_iterator_new_list), (gst_iterator_filter):
18533         * gst/gstiterator.h:
18534         * gst/gstquery.c: (gst_query_type_iterate_definitions):
18535         Add a GType to GstIterator, update callsites and tests.
18536
18537 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18538
18539         * gst/gstpad.c: (gst_pad_event_default_dispatch):
18540           give events a chance to be handled by event probes when the pad
18541           is not linked
18542
18543 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18544
18545         * gst/gstevent.c: (gst_event_type_get_name),
18546         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
18547         * gst/gstevent.h:
18548           add string representations for event types
18549
18550 2005-10-06  Wim Taymans  <wim@fluendo.com>
18551
18552         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
18553         Don't use NULL pointers.
18554
18555 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18556
18557         * gst/gst_private.h:
18558         * gst/gstbus.c:
18559         * gst/gstelement.c:
18560         * gst/gstinfo.c:
18561         * gst/gstpluginfeature.c:
18562           widen the debug category in output to fit the biggest one we have
18563           add a bus category and use it
18564           play with the colors
18565           fix up some categories
18566
18567 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18568
18569         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
18570           add push activation of sink ghost pads.
18571           Andye, please verify
18572
18573 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18574
18575         * gst/gstutils.c: (gst_element_link_pads):
18576           fix a bug in the case where neither element has a pad
18577         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18578           add a test for that case
18579
18580 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18581
18582         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
18583           emit have-data before checking for peers.  This allows
18584           for probe handlers to connect elements.  This helps autopluggers.
18585         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
18586         (gst_pad_suite):
18587           add six checks, linked/unlinked with no/true/false probe
18588
18589 2005-10-04  Wim Taymans  <wim@fluendo.com>
18590
18591         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
18592         (gst_fake_sink_event), (gst_fake_sink_preroll),
18593         (gst_fake_sink_render), (gst_fake_sink_change_state):
18594         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
18595         (gst_fake_src_get_property), (gst_fake_src_create),
18596         (gst_fake_src_stop):
18597         * gst/elements/gstidentity.c: (gst_identity_stop):
18598         Protect last_message with lock.
18599
18600 2005-10-04  Edward Hervey  <edward@fluendo.com>
18601
18602         * gst/gstformat.h: 
18603         Added precision in the comments for GST_FORMAT_DEFAULT
18604
18605 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
18606
18607         * tools/gst-launch.c: (main):
18608           Don't try to run erroneous pipelines.
18609
18610 2005-10-04  Julien MOUTTE  <julien@moutte.net>
18611
18612         * gst/gstbus.c: We don't need this header.
18613
18614 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18615
18616         * configure.ac:
18617           back to development
18618
18619 === release 0.9.3 ===
18620
18621 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18622
18623         * README:
18624         * configure.ac:
18625           Releasing 0.9.3, "Unregistered"
18626
18627 2005-10-03  Andy Wingo  <wingo@pobox.com>
18628
18629         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
18630         whereby calling a pad's activatepush() function can start a thread
18631         that starts to push or pull before the pad gets the FLUSHING flag
18632         unset. Hack around it by holding the stream lock until the flag is
18633         set. Need to replace this with a proper solution. Together with
18634         the ghost pad fixes, this fixes mp3 playing/tagreading.
18635
18636         * docs/design/part-gstghostpad.txt: Add a note about activation of
18637         proxy pads outside of ghost pads.
18638
18639         * gst/gstghostpad.c: Implement the ghost pad activation design.
18640
18641 2005-10-02  Andy Wingo  <wingo@pobox.com>
18642
18643         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
18644         It is volatile, after all.
18645
18646         * docs/design/part-gstghostpad.txt: Flesh out activation with
18647         ghost pads.
18648
18649         * gst/base/gstbasesrc.c (gst_base_src_init): Use
18650         GST_DEBUG_FUNCPTR.
18651
18652 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
18653
18654         * configure.ac:
18655           Fix (unused) AM_CONDITIONAL tests.
18656
18657 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
18658
18659         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18660
18661         * gst/gstutils.c: (gst_pad_query_convert):
18662           Add assertion that makes sure src_val is >=0, just like
18663           gst_query_new_convert() has. (#315895)
18664
18665 2005-09-30  Edward Hervey  <edward@fluendo.com>
18666
18667         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
18668         Let's not iterate pads we're not interested in, it avoids getting 
18669         sky-high refcounts on sinkpad.
18670
18671 2005-09-30  Wim Taymans  <wim@fluendo.com>
18672
18673         * gst/gstelement.c: (gst_element_set_state),
18674         (gst_element_change_state):
18675         Small tweak, element in ASYNC remains ASYNC.
18676
18677 2005-09-30  Wim Taymans  <wim@fluendo.com>
18678
18679         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18680         Only error is an error.
18681
18682         * gst/gstbin.c: (gst_bin_change_state):
18683         Better debugging.
18684
18685         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
18686         Also call pad_block in pad alloc.
18687
18688         * gst/gstutils.c: (gst_flow_get_name):
18689         Better debugging.
18690
18691 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18692
18693         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18694         (gst_base_src_get_range):
18695           Fix documentation typos. Add some more debug info.
18696
18697 2005-09-29  David Schleef  <ds@schleef.org>
18698
18699         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
18700           more end-user friendly.
18701         * tools/gst-inspect.c: (main): Check if command-line argument is
18702           a file and attempt to load that file as a plugin.
18703
18704 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18705
18706         * check/gst/gstbin.c:
18707         * check/states/sinks.c:
18708           fix tests for the new warning
18709         * check/gst/gstpipeline.c:
18710           add a test for pipeline and bus interaction
18711         * gst/gstelement.c:
18712           elements should be NULL if they get disposed; add a warning if not
18713
18714 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18715
18716         * gst/gstobject.c:
18717           for 2.6 refcounting, make debug log more correct by printing
18718           the actual refcounts at the time of swap (Wim)
18719
18720 2005-09-29  Andy Wingo  <wingo@pobox.com>
18721
18722         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
18723         removes signal watches previously added via
18724         gst_bus_add_signal_watch.
18725         (gst_bus_add_signal_watch): Don't return the source id, just store
18726         it on the bus if there wasn't an id already.
18727
18728         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
18729         add_signal_watch and remove_signal_watch.
18730
18731 2005-09-29  Edward Hervey  <edward@fluendo.com>
18732
18733         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
18734         Better if we actually iterate the list :)
18735
18736 2005-09-29  Wim Taymans  <wim@fluendo.com>
18737
18738         * check/gst/gstbin.c: (GST_START_TEST):
18739         Change for new bus API.
18740
18741         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18742         (send_messages), (GST_START_TEST), (gstbus_suite):
18743         Change for new bus signal API.
18744
18745         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
18746         (gst_bus_source_prepare), (gst_bus_source_check),
18747         (gst_bus_create_watch), (gst_bus_add_watch_full),
18748         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
18749         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
18750         * gst/gstbus.h:
18751         Remove support for multiple GSources operating on different
18752         message types as it is too complex and unneeded when using
18753         signals.
18754         Added support for receiving signals from the bus.
18755
18756 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18757
18758         * docs/libs/tmpl/gstdataprotocol.sgml:
18759         * docs/manual/advanced-dataaccess.xml:
18760         * gst/elements/gstcapsfilter.c:
18761         * gst/gstutils.c:
18762           rename filter-caps to caps property
18763
18764 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18765
18766         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18767           More robust fraction string parsing.
18768
18769         * docs/pwg/appendix-porting.xml:
18770           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
18771
18772 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18773
18774         * gst/gstcaps.c: (gst_caps_do_simplify):
18775           Thou shalt not free a structure and then continue using it
18776           in the next loop iteration.
18777
18778         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
18779         (gst_caps_suite):
18780           Add test case for caps simplification.
18781
18782 2005-09-29  Wim Taymans  <wim@fluendo.com>
18783
18784         * check/gst/gstbin.c: (GST_START_TEST):
18785         Oops.
18786
18787 2005-09-29  Wim Taymans  <wim@fluendo.com>
18788
18789         * check/gst/gstbin.c: (GST_START_TEST):
18790         Add bus to bin.
18791
18792         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
18793         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18794         (find_element), (gst_bin_sort_iterator_next),
18795         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18796         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18797         (gst_bin_change_state), (gst_bin_dispose):
18798         A bin does not have a bus, it gets the bus from the parent.
18799
18800         * gst/gstelement.c: (gst_element_requires_clock),
18801         (gst_element_provides_clock), (gst_element_is_indexable),
18802         (gst_element_is_locked_state), (gst_element_change_state),
18803         (gst_element_set_bus_func):
18804         Small cleanups.
18805
18806         * gst/gstpipeline.c: (gst_pipeline_class_init),
18807         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
18808         The pipeline provides a bus.
18809
18810 2005-09-28  Johan Dahlin  <johan@gnome.org>
18811
18812         * gst/gstmessage.c (gst_message_parse_state_changed): Use
18813         gst_structure_get_enum instead of gst_structure_get_int
18814
18815         * gst/gststructure.c (gst_structure_get_enum): Impl.
18816
18817         * gst/gststructure.h (gst_structure_get_enum): Add
18818
18819         * docs/gst/gstreamer-sections.txt: Ditto
18820
18821         * gst/gstmessage.c (gst_message_new_state_changed): Use
18822         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
18823         which does introspection.
18824         Reviewed by Christian Schaller
18825
18826 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
18827
18828         * gst/gstinfo.c: (gst_debug_log_default):
18829           don't do dummy g_strdup()s
18830         * libs/gst/controller/gstcontroller.c:
18831         (on_object_controlled_property_changed),
18832         (gst_controlled_property_new), (gst_controller_new_valist),
18833         (gst_controller_new_list),
18834         (gst_controller_remove_properties_valist), (gst_controller_set),
18835         (gst_controller_get), (gst_controller_sync_values),
18836         (gst_controller_get_value_array), (_gst_controller_class_init),
18837         (gst_controller_get_type):
18838         * libs/gst/controller/gstcontroller.h:
18839         * libs/gst/controller/gstinterpolation.c:
18840         (gst_controlled_property_find_timed_value_node):
18841           convert // to /**/ comments
18842
18843 2005-09-28  Wim Taymans  <wim@fluendo.com>
18844
18845         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
18846         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
18847         (gst_bus_sync_signal_handler):
18848         * gst/gstbus.h:
18849         Added async-message and sync-message signals to the bus.
18850         Added helper BusFunc to emit signals for all posted messages.
18851
18852         * gst/gstmessage.c: (gst_message_type_get_name),
18853         (gst_message_type_to_quark), (gst_message_get_type):
18854         * gst/gstmessage.h:
18855         Register quarks for message names.
18856
18857 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
18858
18859         * docs/libs/gstreamer-libs-sections.txt:
18860         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
18861         (gst_controller_new_list):
18862         * libs/gst/controller/gstcontroller.h:
18863           added another constructor for language bindings
18864
18865 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18866
18867         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18868           add another check
18869         * gst/gstbus.c:
18870           add some doc
18871         * gst/gstinfo.c: (_gst_debug_init):
18872           slightly more readable color for refcount debugging
18873
18874 2005-09-28  Wim Taymans  <wim@fluendo.com>
18875
18876         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18877         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18878         (find_element), (gst_bin_sort_iterator_next),
18879         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18880         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18881         (gst_bin_change_state), (gst_bin_dispose):
18882         Small doc fixes. get_clock -> provide_clock.
18883
18884         * gst/gstelement.c: (gst_element_class_init),
18885         (gst_element_provides_clock), (gst_element_provide_clock),
18886         (gst_element_get_clock), (gst_element_commit_state),
18887         (gst_element_lost_state):
18888         * gst/gstelement.h:
18889         Make get/set_clock() symetric. Add provide_clock vmethod since
18890         that is actually what this function does.
18891
18892         * gst/gstpipeline.c: (gst_pipeline_class_init),
18893         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
18894         (gst_pipeline_get_clock):
18895         get_clock -> provide_clock.
18896
18897 2005-09-28  Andy Wingo  <wingo@pobox.com>
18898
18899         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
18900         lieu of real docs...
18901
18902         * gst/elements/gstfdsrc.c: Cleaned up a bit.
18903
18904 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
18905
18906         * gst/elements/gstcapsfilter.c:
18907         * gst/elements/gstfakesink.c:
18908         * gst/elements/gstfakesrc.c:
18909         * gst/elements/gstfdsink.c:
18910         * gst/elements/gstfdsrc.c:
18911         * gst/elements/gstfilesink.c:
18912         * gst/elements/gstfilesrc.c:
18913         * gst/elements/gstidentity.c:
18914         * gst/elements/gsttee.c:
18915         * gst/elements/gsttypefindelement.c:
18916           Make element details static.
18917
18918 2005-09-28  Wim Taymans  <wim@fluendo.com>
18919
18920         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18921         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18922         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18923         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18924         (gst_bin_change_state), (gst_bin_dispose):
18925         Some documentation updates.
18926         Clean up dispose handlers.
18927
18928         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
18929         * gst/gstpad.c: (gst_pad_dispose):
18930         Clean up dispose handler.
18931
18932         * gst/gstpipeline.c: (gst_pipeline_change_state):
18933         Removed spurious UNLOCK.
18934
18935 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
18936
18937         * docs/gst/gstreamer-sections.txt:
18938         * gst/base/gstbasesrc.h:
18939         * gst/gstelement.h:
18940         * gst/gstevent.h:
18941         * gst/gstobject.h:
18942         * gst/gstpad.h:
18943         * gst/gstpipeline.c:
18944         * gst/gstpipeline.h:
18945         * gst/gstutils.h:
18946         * gst/gstxml.h:
18947           added two new functions to the docs
18948                 documents all undocumented GstXXXFlags
18949                 completed some incomplete docs 
18950
18951 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18952
18953         * gst/gstbin.c: (gst_bin_dispose):
18954         * gst/gstelement.c: (gst_element_dispose):
18955           remove now useless and leaky resurrection code in dispose
18956         * gst/base/gstbasesrc.c: (gst_base_src_init):
18957         * gst/gstelementfactory.c: (gst_element_factory_create):
18958         * gst/gstobject.c: (gst_object_set_parent):
18959           add some debugging
18960
18961 2005-09-27  Wim Taymans  <wim@fluendo.com>
18962
18963         * docs/design/part-TODO.txt:
18964         Update TODO.
18965
18966         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18967         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18968         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18969         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18970         (gst_bin_change_state):
18971         * gst/gstelement.h:
18972         Remove element variable, we keep element info in the iterator now.
18973
18974 2005-09-27  Andy Wingo  <wingo@pobox.com>
18975
18976         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
18977         values.
18978
18979 2005-09-27  Wim Taymans  <wim@fluendo.com>
18980
18981         * check/gst/gstbin.c: (GST_START_TEST):
18982         Enable check that works now.
18983
18984         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18985         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18986         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18987         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18988         (gst_bin_change_state):
18989         * gst/gstbin.h:
18990         Redid the state change algorithm using a topological sort algo.
18991         Handles all cases correctly.
18992         Exposed iterator for state change order.
18993
18994         * gst/gstelement.h:
18995         Temp storage for state changes. Need to get rid of this soon.
18996
18997 2005-09-27  Wim Taymans  <wim@fluendo.com>
18998
18999         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
19000         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
19001         (link_fold_func), (gst_pad_proxy_setcaps):
19002         Leak fixes, the fold functions need to unref the passed object and
19003         _get_parent_*() returns ref to parent.
19004
19005 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
19006
19007         * check/gst/gstbuffer.c: (test_make_writable):
19008           Plug leak in test case and fix 'make check-valgrind'
19009
19010 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
19011
19012         * gst/gstbuffer.c: (gst_subbuffer_init):
19013           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
19014           works correctly in all circumstances (we could have just copied
19015           the parent buffer's readonly flag, but conceptually it seems
19016           cleaner to mark all subbuffers as read-only). (based on patch
19017           by Alessandro Decina, #314710).
19018         
19019         * check/gst/gstbuffer.c: (create_read_only_buffer),
19020         (test_make_writable), (test_subbuffer_make_writable),
19021         (gst_test_suite):
19022           Add some tests for gst_buffer_make_writable().
19023
19024 2005-09-27  Wim Taymans  <wim@fluendo.com>
19025
19026         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
19027         use gst_object_has_ancestor().
19028
19029         * gst/gstobject.c: (gst_object_has_ancestor):
19030         * gst/gstobject.h:
19031         gst_object_has_ancestor() copied from gstbin.c as it is a
19032         useful function.
19033
19034         * tests/instantiate/create.c: (create_all_elements):
19035         * tests/lat.c: (handoff_src), (handoff_sink):
19036         * tests/sched/runxml.c: (main):
19037         * tests/seeking/seeking1.c: (main):
19038         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
19039         (main):
19040         Fix compilation of some tests.
19041
19042 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
19043
19044         * gst/gsterror.h:
19045           Remove comment. GST_TYPE_G_ERROR is here to stay,
19046           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
19047           (#316961, #300610).
19048
19049 2005-09-26  Wim Taymans  <wim@fluendo.com>
19050
19051         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19052         Added check that shows error in state change order.
19053
19054 2005-09-26  Wim Taymans  <wim@fluendo.com>
19055
19056         * gst/gstbin.c: (gst_bin_change_state):
19057         Make state change function use 3 queues again, we were
19058         adding elements in the wrong order.
19059
19060         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
19061         Some debug info,
19062
19063         * gst/gstpad.c: (gst_pad_dispose):
19064         Added some debug info first.
19065
19066 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
19067
19068         * docs/design/draft-push-pull.txt:
19069         * docs/design/part-events.txt:
19070         * docs/design/part-overview.txt:
19071         * docs/design/part-scheduling.txt:
19072           Replace all _pull_region() with _pull_range()
19073           
19074 2005-09-26  Andy Wingo  <wingo@pobox.com>
19075
19076         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
19077
19078         * check/gst-libs/controller.c: Update for controller api change.
19079
19080         * configure.ac: 
19081         * tests/Makefile.am:
19082         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
19083         over by GLib bug 118439.
19084         
19085         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
19086         routines to a function.
19087
19088         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
19089
19090         * libs/gst/controller/gsthelper.c:
19091         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
19092         (gst_object_sync_values): Renamed from sink_values. Ugh.
19093
19094         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
19095
19096         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
19097         Renamed from controller_key, as it is exported.
19098
19099         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
19100
19101 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
19102
19103         * gst/Makefile.am:
19104         * gst/gst.h:
19105         * gst/gstpad.h:
19106         * gst/gstpadtemplate.h:
19107         * gst/gstquery.c:
19108         * gst/gstquery.h:
19109         * gst/gstqueryutils.c:
19110         * gst/gstqueryutils.h:
19111           remove queryutils headers after moving the two used functions
19112           to gstquery.  also fixes build problem for gstsiddec
19113
19114 2005-09-26  Michael Smith <msmith@fluendo.com>
19115
19116         * tools/gst-launch.1.in:
19117         Correct documentation in manpage of debug syntax
19118
19119 2005-09-26  Wim Taymans  <wim@fluendo.com>
19120
19121         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19122         (gst_base_src_is_seekable), (gst_base_src_change_state):
19123         Some more debugging info.
19124
19125 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
19126
19127         * docs/gst/gstreamer-sections.txt:
19128         * gst/base/gstbasetransform.h:
19129         * gst/gstindex.h:
19130           added more docs
19131
19132 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
19133
19134         * docs/gst/.cvsignore:
19135         * docs/gst/tmpl/.cvsignore:
19136         * docs/gst/tmpl/gstpipeline.sgml:
19137         * docs/gst/tmpl/gstplugin.sgml:
19138         * gst/gstpipeline.c:
19139         * gst/gstplugin.c:
19140         * gst/gstplugin.h:
19141           inlined the last two docs files
19142           removed the tmpl directory from cvs (no more conflicts here!)
19143
19144 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
19145
19146         * docs/gst/gstreamer-sections.txt:
19147         * docs/gst/tmpl/.cvsignore:
19148         * docs/gst/tmpl/gstpad.sgml:
19149         * docs/gst/tmpl/gstpadtemplate.sgml:
19150         * gst/Makefile.am:
19151         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
19152         (gst_pad_finalize), (gst_pad_set_pad_template):
19153         * gst/gstpad.h:
19154         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
19155         (gst_pad_template_class_init), (gst_pad_template_init),
19156         (gst_pad_template_dispose), (name_is_valid),
19157         (gst_static_pad_template_get), (gst_pad_template_new),
19158         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
19159         (gst_pad_template_pad_created):
19160         * gst/gstpadtemplate.h:
19161           inlined two more docs
19162           factored gstpadtemplate out of gstpad
19163
19164 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
19165
19166         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19167         (test_children_state_change_order_semi_sink):
19168           Fix test case: we can't rely on a fixed state change order when
19169           going from READY => PAUSED because the sink might commit its 
19170           new state first when the first buffer created by the source 
19171           reaches the sink before the source has finished its change state.
19172           (Test case still fails at times, see #316856, comment 5 onwards)
19173
19174 2005-09-24  Wim Taymans  <wim@fluendo.com>
19175
19176         * docs/design/part-events.txt:
19177         * docs/design/part-gstbus.txt:
19178         * docs/design/part-gstpipeline.txt:
19179         * docs/design/part-messages.txt:
19180         * docs/design/part-overview.txt:
19181         * docs/design/part-segments.txt:
19182         * gst/gstbin.c:
19183         * gst/gstbuffer.c:
19184         * gst/gstclock.c:
19185         * gst/gstelement.c:
19186         * gst/gstevent.c:
19187         * gst/gstfilter.c:
19188         * gst/gstiterator.c:
19189         Various documentation updates.
19190
19191 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19192
19193         * gst/gstclock.h:
19194           Well, that's embarassing.  Luckily we weren't using
19195           GST_CLOCK_DIFF anywhere.
19196
19197 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19198
19199         * common/gtk-doc.mak:
19200           don't fail on building XML, FC4 slave shows a bunch of doc
19201           missing bits that I don't get
19202         * gst/gstpad.c:
19203         * gst/gstpipeline.c:
19204         * gst/gststructure.c:
19205           some doc updates
19206
19207 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
19208
19209         * docs/design/part-gstbin.txt:
19210         * docs/design/part-gstbus.txt:
19211         * gst/gstbus.c:
19212           Add blurb about how the bus goes into flushing mode and
19213           drops all messages when its bin goes from READY into NULL 
19214           state.
19215
19216 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19217
19218         * docs/gst/gstreamer-sections.txt:
19219         * gst/gststructure.c: (gst_structure_get_clock_time):
19220         * gst/gststructure.h:
19221           add a method to get a GstClockTime out of a structure
19222
19223 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
19224
19225         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19226         (test_children_state_change_order_semi_sink), (gst_bin_suite):
19227           Added test to check state change order in bins (can still be made
19228           to fail here under heavy disk load; bails out with 'Push on pad
19229           fakesink:sink0, but it was not activated in push mode').
19230
19231         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
19232           Fix state change order when there is only a semi sink (#316856)
19233
19234         * gst/gstbus.c: (gst_bus_class_init):
19235           Use _class_peek_parent(), not _class_ref(); fix docs to say
19236           'default main context' instead of 'mainloop' where that is
19237           what's meant.
19238
19239         * gst/gstelement.c: (gst_element_commit_state),
19240         (gst_element_set_state):
19241           Fix typos in debug messages
19242
19243 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19244
19245         * docs/README:
19246         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
19247         * gst/gstpluginfeature.c:
19248         * gst/gstutils.c:
19249           various doc updates
19250         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19251           change an assert into an error until it gets fixed properly
19252
19253 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
19254
19255         * docs/gst/gstreamer-sections.txt:
19256         * docs/gst/tmpl/.cvsignore:
19257         * docs/gst/tmpl/gstelement.sgml:
19258         * docs/gst/tmpl/gstinfo.sgml:
19259         * docs/gst/tmpl/gstobject.sgml:
19260         * gst/gstelement.c:
19261         * gst/gstelement.h:
19262         * gst/gstinfo.c:
19263         * gst/gstinfo.h:
19264         * gst/gstobject.c: (gst_object_class_init):
19265         * gst/gstobject.h:
19266           inlined 3 more biiiig doc files and added some missing docs on the fly
19267
19268 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19269
19270         * check/gst/.cvsignore:
19271         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
19272         * gst/gstregistryxml.c: (load_plugin),
19273         (gst_registry_xml_save_plugin):
19274           put back source in registry.  add checks for find_plugin.
19275         * testsuite/states/bin.c: (assert_state), (empty_bin),
19276         (test_adding_one_element), (main):
19277         * testsuite/states/locked.c: (main):
19278           some compile/run fixes
19279
19280 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
19281
19282         * check/gst/gstvalue.c: (GST_START_TEST):
19283           fix leaks in the test itself
19284
19285 2005-09-22  Wim Taymans  <wim@fluendo.com>
19286
19287         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19288         (gst_base_sink_send_event), (gst_base_sink_peer_query),
19289         (gst_base_sink_query):
19290         Prepare for more accurate position reporting and query
19291         handling.
19292
19293         * gst/gstelement.c: (gst_element_send_event),
19294         (gst_element_set_state):
19295         Add some comment.
19296
19297 2005-09-22  Wim Taymans  <wim@fluendo.com>
19298
19299         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
19300         (gst_query_parse_segment):
19301         * gst/gstquery.h:
19302         More documentation.
19303         Add segment query for future use.
19304
19305 2005-09-22  Wim Taymans  <wim@fluendo.com>
19306
19307         * gst/gstbin.c: (gst_bin_add_func):
19308         Some more debug info.
19309
19310         * gst/gstelement.c: (gst_element_send_event):
19311         Simplify send_event
19312
19313         * gst/gstelement.h:
19314         Don't know how flags got broken.
19315
19316         * gst/gstquery.h:
19317         Added new query.
19318
19319 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
19320
19321         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
19322           Add simplistic test suite for GST_TYPE_DATE serialisation and
19323           deserialisation.
19324
19325 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
19326
19327         * docs/gst/gstreamer-sections.txt:
19328         * gst/gststructure.c: (gst_structure_set_valist),
19329         (gst_structure_get_date):
19330         * gst/gststructure.h:
19331         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
19332         (gst_date_copy), (gst_value_compare_date),
19333         (gst_value_serialize_date), (gst_value_deserialize_date),
19334         (gst_value_transform_date_string),
19335         (gst_value_transform_string_date), (_gst_value_initialize):
19336         * gst/gstvalue.h:
19337           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
19338           bunch of utility functions along with a hack that checks that
19339           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
19340           is required. Part of the grand scheme in #170777.
19341
19342 2005-09-22  Andy Wingo  <wingo@pobox.com>
19343
19344         * gst/gstconfig.h.in: Psych out gtk-doc.
19345
19346         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
19347
19348         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
19349
19350         * tools/gst-inspect.c (print_element_list): Plug some
19351         inconsequential leaks.
19352
19353         * gst/gstregistry.c (gst_registry_get_default): Doc.
19354
19355         * check/gst/gstplugin.c: 
19356         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
19357         * gst/gstelementfactory.c (gst_element_factory_create): 
19358         * gst/gstindexfactory.c (gst_index_factory_create): Update for
19359         refcount changes.
19360
19361         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
19362         (gst_plugin_feature_load): Doc, don't eat refs.
19363
19364         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
19365         (gst_plugin_list_free): Doc.
19366         (gst_plugin_load_file): Doc updates.
19367
19368         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
19369         accessors returning refcounted objects, return a ref.
19370
19371         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
19372         accessor for caps. IDEMPOTENCE. Oh yes.
19373
19374 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
19375
19376         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19377
19378         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
19379         (_gst_debug_register_funcptr):
19380           Add mutex to serialise access to the hash table with
19381           the function pointer => function name string mapping;
19382           make that hash table static scope (#316809).
19383
19384         * gst/registries/.cvsignore:
19385           Remove left-over file.
19386
19387 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
19388
19389         * docs/pwg/appendix-porting.xml:
19390           And something about newsegment events and caps-on-buffers to
19391           the porting guide (feel free to improve).
19392
19393 2005-09-21  Andy Wingo  <wingo@pobox.com>
19394
19395         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
19396         data and event probes on the same pad.
19397         (test_buffer_probe_once): Test that removing probes from within
19398         the probe functions works.
19399
19400 2005-09-21  Andy Wingo  <wingo@pobox.com>
19401
19402         * check/gst/gstutils.c: New file.
19403         (test_buffer_probe_n_times): A simple buffer probe test. More to
19404         come, foolios.
19405
19406         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
19407         have-data::buffer, not have-data.
19408         (gst_pad_add_event_probe): Likewise for have-data::event.
19409         (gst_pad_add_data_probe): More docs. The part about 'resolving the
19410         peer' isn't quite right yet though.
19411         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
19412         (gst_pad_remove_data_probe): Change to take the guint handler_id
19413         as their arg, not the function+data, which is more glib-like.
19414
19415         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
19416         the signal emission to indicate if the data is a buffer or an
19417         event.
19418         (gst_pad_get_type): Initialize buffer and event quarks.
19419         (gst_pad_class_init): have-data is now a detailed signal, yes it
19420         is.
19421
19422 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
19423
19424         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19425         * gst/gstutils.c: (gst_util_set_value_from_string),
19426         (gst_util_set_object_arg):
19427           Don't put functional code in g_return_if_fail() or
19428           g_return_val_if_fail() statements, otherwise things will 
19429           break when G_DISABLE_CHECKS is defined during compilation.
19430
19431 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19432
19433         * docs/gst/tmpl/.cvsignore:
19434         * docs/gst/tmpl/gstvalue.sgml:
19435         * gst/gstvalue.c:
19436         * gst/gstvalue.h:
19437           inlied another one and added  some obvious docs
19438
19439 2005-09-21  Wim Taymans  <wim@fluendo.com>
19440
19441         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19442         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
19443         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
19444         (gst_fdsrc_get_property), (gst_fdsrc_create):
19445         * gst/elements/gstfdsrc.h:
19446         Properly implement fdsrc. Removed signal and timeout,
19447         better implemented somewhere else.
19448
19449 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19450
19451         * docs/gst/tmpl/.cvsignore:
19452         * docs/gst/tmpl/gstimplementsinterface.sgml:
19453         * gst/gstinterface.c:
19454           inlined more docs
19455
19456 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19457
19458         * docs/gst/gstreamer-sections.txt:
19459         * docs/gst/tmpl/.cvsignore:
19460         * docs/gst/tmpl/gstenumtypes.sgml:
19461           remove obsolete doc file
19462
19463 2005-09-21  David Schleef  <ds@schleef.org>
19464
19465         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
19466         little beer, fix a little leak.
19467
19468 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19469
19470         * docs/gst/gstreamer-docs.sgml:
19471         * docs/gst/gstreamer-sections.txt:
19472         * docs/gst/tmpl/.cvsignore:
19473         * gst/Makefile.am:
19474         * gst/gst.h:
19475         * gst/gstbin.c:
19476         * gst/gstelement.h:
19477         * gst/gstindex.c: (gst_index_class_init):
19478         * gst/gstindex.h:
19479         * gst/gstindexfactory.c: (gst_index_factory_get_type),
19480         (gst_index_factory_class_init), (gst_index_factory_init),
19481         (gst_index_factory_finalize), (gst_index_factory_new),
19482         (gst_index_factory_destroy), (gst_index_factory_find),
19483         (gst_index_factory_create), (gst_index_factory_make):
19484         * gst/gstindexfactory.h:
19485         * gst/gstpluginfeature.c:
19486         * gst/gstpluginfeature.h:
19487         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19488           more docs inlined, splitted gstindex.{c,h}
19489
19490 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19491
19492         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19493           fix a leak
19494
19495 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19496
19497         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19498           Set sync to FALSE by default.
19499
19500 2005-09-20  Wim Taymans  <wim@fluendo.com>
19501
19502         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19503         (gst_base_sink_init):
19504         Make sync property settable from subclass.
19505
19506         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19507         (gst_fake_sink_change_state):
19508         Set sync to FALSE by default.
19509
19510 2005-09-20  Wim Taymans  <wim@fluendo.com>
19511
19512         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
19513         * tools/gst-launch.c: (main):
19514         The timeout handler should have lower priority than the source
19515         so we don't timeout before popping a message with 0 timeout.
19516         Dump error messages after failed state change.
19517
19518 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19519
19520         * tools/gst-inspect.c: (print_element_properties_info):
19521           Fix two typos.
19522
19523 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19524
19525         * check/gst/gstevent.c:
19526         * gst/elements/gstfakesink.c:
19527         * gst/elements/gstfakesink.h:
19528           remove the sync property from fakesink.
19529           has the side effect of setting sync TRUE
19530           for fakesink, which is a change.  Anyone who knows how
19531           to fix this nicely in a GObject-y way, feel free.
19532
19533 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19534
19535         * docs/gst/gstreamer-docs.sgml:
19536           remove probe refsection
19537
19538 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19539
19540         * check/Makefile.am:
19541           disable valgrinding the controller test again
19542         * docs/gst/gstreamer-sections.txt:
19543           update for api-changes
19544
19545 2005-09-20  Wim Taymans  <wim@fluendo.com>
19546
19547         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19548         (gst_base_sink_set_property), (gst_base_sink_get_property),
19549         (gst_base_sink_do_sync):
19550         * gst/base/gstbasesink.h:
19551         Added sync property to basesink to disable clock sync.
19552
19553 2005-09-20  Andy Wingo  <wingo@pobox.com>
19554
19555         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
19556         eating the caller's refcount.
19557
19558         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
19559         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
19560         refcount.
19561
19562         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
19563         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
19564         of GLib 2.8 public, so we can know which refcount to check in
19565         tests.
19566
19567         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
19568         (gst_object_init): Only set the gst refcount if we're going ahead
19569         with the refcount hack.
19570
19571 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19572
19573         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19574         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19575           more leaks plumbed, added more debug-logging
19576         * gst/gstmacros.h:
19577           whitespace fix
19578
19579 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19580
19581         * gst/gstmessage.c:
19582           remove include of gstmemchunk.h
19583
19584 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19585
19586         * gst/gstclock.c: (_gst_clock_id_free):
19587           Commit from the Political Party For More Atomic CVS Commits,
19588           so that people don't waste too much of their day fishing
19589           out obvious leaks out of massive commits.
19590           Oh, and fix a pretty damn obvious leak in the memchunk
19591           removal code.
19592
19593 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19594
19595         * check/Makefile.am:
19596         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19597           plug mem-leak, re-add to valgrindable tests
19598
19599 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19600
19601         * gst/gstplugin.h:
19602           unbreak the build for those who have chronic arthritis
19603           and typing "make check" is just too taxing on the hands
19604
19605 2005-09-20  Andy Wingo  <wingo@pobox.com>
19606
19607         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
19608         really want it out, you should fix plugins at the same time.
19609
19610 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
19611
19612         * configure.ac:
19613         * docs/gst/gstreamer-sections.txt:
19614         * gst/gstobject.c:
19615           added missing symbols to api docs
19616           disable ref-count hack if we have glib >= 2.8
19617
19618 2005-09-19  David Schleef  <ds@schleef.org>
19619
19620         * docs/gst/Makefile.am: Ignore a few more internal headers
19621         * docs/gst/gstreamer-docs.sgml: Remove old sections
19622         * docs/gst/gstreamer-sections.txt: Remove old sections
19623         * docs/gst/tmpl/gstobject.sgml: update
19624         * docs/gst/tmpl/gstplugin.sgml: update
19625         * docs/gst/tmpl/gstpluginfeature.sgml: update
19626         * docs/random/ds/0.9-suggested-changes: update.
19627         * gst/Makefile.am: remove memchunk and trashstack, since they're
19628           not used.
19629         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
19630         * gst/gst.h: don't include some headers
19631         * gst/gstchildproxy.c: add gstmarshal.h
19632         * gst/gstclock.c: Don't use memchunks
19633         * gst/gstminiobject.c: Add some docs
19634         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
19635         * gst/gstobject.h: same
19636         * gst/gstplugin.c: include gstmacros.h
19637         * gst/gstplugin.h: don't include gstmacros.h, since it's private
19638         * gst/gstquery.c: don't use memchunks
19639         * gst/gstregistry.c: rename gst_registry_deinit()
19640         * gst/gstregistry.h: same
19641
19642 2005-09-19  David Schleef  <ds@schleef.org>
19643
19644         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
19645         * docs/libs/gstreamer-libs-sections.txt:
19646         * docs/libs/tmpl/gstgetbits.sgml:
19647         * docs/libs/tmpl/gstputbits.sgml:
19648
19649 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
19650
19651         * win32/gstenumtypes.c:
19652         * win32/gstenumtypes.h:
19653           Update.
19654
19655 2005-09-19  Wim Taymans  <wim@fluendo.com>
19656
19657         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
19658         Automatically PAUSE and RESUME a pipeline when a flushing seek
19659         is performed.
19660
19661 2005-09-19  Andy Wingo  <wingo@pobox.com>
19662
19663         * gst/gstregistry.h: Spacing fixen.
19664
19665 2005-09-19  Wim Taymans  <wim@fluendo.com>
19666
19667         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
19668         Handle state change failure more correctly.
19669
19670 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19671
19672         * check/Makefile.am:
19673         * check/pipelines/cleanup.c: (run_pipeline):
19674         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19675         (GST_START_TEST):
19676           enable cleanup again after fixing the leak
19677         * docs/README:
19678           some more info on docs
19679
19680 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19681
19682         * check/Makefile.am:
19683           re-enable tests now that leaks are plugged
19684         * check/gst/gst.c:
19685         * check/gst/gstbin.c:
19686         * check/gst/gstpipeline.c:
19687           add some more tests while fixing leaks
19688         * common/check.mak:
19689           make sure binaries are uptodate when valgrinding/gdbing
19690         * gst/gst.c:
19691         * gst/gstelementfactory.c:
19692           remove a ref too many, and add a FIXME for when we get
19693           round to disposing of classes
19694         * gst/gstplugin.c:
19695           fix the refcounting when loading a plugin from a file and
19696           the code pretends that the pointer is the same even though
19697           of course it can change
19698         * gst/gstpluginfeature.c:
19699           unref plugins marked cached (a bit confusing as a name)
19700           as the docs state should be done
19701           various doc additions to explain refcounting
19702         * gst/gstregistry.c:
19703         * gst/gstregistryxml.c:
19704           debugging
19705
19706 2005-09-19  Wim Taymans  <wim@fluendo.com>
19707
19708         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19709         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19710         (send_messages), (GST_START_TEST), (gstbus_suite):
19711         * check/gst/gstpipeline.c: (GST_START_TEST):
19712         * check/pipelines/cleanup.c: (run_pipeline):
19713         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19714         (GST_START_TEST):
19715         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
19716         (gst_bus_source_check), (gst_bus_source_dispatch),
19717         (gst_bus_create_watch), (gst_bus_add_watch_full),
19718         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
19719         * gst/gstbus.h:
19720         * tools/gst-launch.c: (event_loop):
19721         * tools/gst-md5sum.c: (event_loop):
19722         GstBusHandler -> GstBusFunc, return value has the same meaning as
19723         any other GSource (FALSE == remove source).
19724         _add_watch() and _add_watch_full() now take a MessageType mask to
19725         only handle specific types of messages.
19726         _poll() returns the GstMessage instead of the message type to avoid
19727         race conditions.
19728         _have_pending() takes a MessageType mask now too.
19729         Added testsuite for multiple bus watches.
19730         Fix testsuites and applications for new bus API.
19731
19732 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19733
19734         * check/Makefile.am:
19735           mark a bunch of the tests as to fix until we fix them
19736
19737 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19738
19739         * common/check.mak:
19740           use GST_PLUGIN settings for valgrind tests as well, so we're
19741           valgrinding the correct thing
19742         * gst/gst.c: (init_post):
19743           plug another leak
19744
19745 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19746
19747         * gst/gst.c: (init_post), (gst_deinit):
19748         * gst/gstelementfactory.c: (gst_element_factory_class_init),
19749         (gst_element_factory_finalize), (gst_element_factory_cleanup):
19750         * gst/gstindex.c: (gst_index_factory_class_init),
19751         (gst_index_factory_finalize):
19752         * gst/gstobject.c: (gst_object_dispose):
19753         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
19754         (gst_plugin_load_file), (gst_plugin_desc_free):
19755         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
19756         (gst_plugin_feature_finalize):
19757         * gst/gstregistry.c: (gst_registry_class_init),
19758         (gst_registry_init), (gst_registry_finalize),
19759         (gst_registry_get_default), (gst_registry_deinit):
19760         * gst/gstregistry.h:
19761         * gst/gstregistryxml.c: (load_feature), (load_plugin):
19762           various cleanups and memleak plugging.  make valgrind is happy now.
19763
19764 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19765
19766         * common/check.mak:
19767           add a check-valgrind target
19768
19769 2005-09-18  David Schleef  <ds@schleef.org>
19770
19771         * tools/gst-inspect.c: Revert the GOption code.
19772
19773 2005-09-17  David Schleef  <ds@schleef.org>
19774
19775         * check/Makefile.am: Fix environment variables.
19776         * check/gst/gstplugin.c: Fix for API changes.
19777         * tools/gst-inspect.c: Fix for API changes.
19778         * tools/gst-xmlinspect.c: Fix for API changes.
19779         * gst/gstelementfactory.c:
19780         * gst/gstplugin.c:
19781         * gst/gstplugin.h:
19782         * gst/gstpluginfeature.c:
19783         * gst/gstpluginfeature.h:
19784         * gst/gstregistry.c:
19785         * gst/gstregistry.h:
19786         * gst/gstregistryxml.c:
19787         * gst/gsttypefind.c:
19788         * gst/gsttypefindfactory.c:
19789         * gst/indexers/gstfileindex.c:
19790         * gst/indexers/gstmemindex.c:
19791         * gst/schedulers/Makefile.am:
19792           Change registry to keep track of both plugins and features,
19793           removing the feature tracking from plugins themselves.
19794
19795 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19796
19797         * check/Makefile.am:
19798         * tools/gst-register.1.in:
19799           remove gst-register
19800
19801 2005-09-15  David Schleef  <ds@schleef.org>
19802
19803         * check/gst/gstplugin.c:
19804         * gst/gstelementfactory.c:
19805         * gst/gstplugin.c:
19806         * gst/gstpluginfeature.c:
19807         * gst/gstregistry.c:
19808           Getting tired of debugging.  Disabled all the unreffing of
19809           plugins and features, which fixes the segfaults, but of
19810           course leaks like crazy.  At least playbin works.
19811
19812 2005-09-15  David Schleef  <ds@schleef.org>
19813
19814         * check/gst/gstplugin.c: (register_check_elements),
19815         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
19816         More testing
19817         * gst/elements/gsttypefindelement.c: Fix refcounting.
19818         * gst/gsttypefind.c:
19819         * gst/gsttypefindfactory.c:
19820         * gst/gsttypefindfactory.h:
19821
19822 2005-09-15  David Schleef  <ds@schleef.org>
19823
19824         * gst/gstindex.c: get refcounting correct.
19825         * gst/gstregistry.c: Handle the case where a feature/plugin is
19826           not found.
19827
19828 2005-09-15  David Schleef  <ds@schleef.org>
19829
19830         * check/Makefile.am:
19831         * check/gst/gstplugin.c: Add test
19832         * gst/gstplugin.c: Fix problems noticed by testsuite
19833         * gst/gstplugin.h:
19834         * gst/gstregistry.c: 
19835         * gst/gstregistry.h:
19836
19837 2005-09-15  David Schleef  <ds@schleef.org>
19838
19839         * gst/gstplugin.c: Implement semi-decent recounting and locking
19840           in plugins and plugin features.
19841         * gst/gstplugin.h:
19842         * gst/gstpluginfeature.c:
19843         * gst/gstpluginfeature.h:
19844         * gst/gstregistry.c:
19845
19846 2005-09-15  Michael Smith <msmith@fluendo.com>
19847
19848         * gst/gstregistry.c: (gst_registry_get_feature_list):
19849           Implement this. Makes oggdemux work; decodebin still broken.
19850
19851 2005-09-14  David Schleef  <ds@schleef.org>
19852
19853         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
19854           #316076)
19855         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
19856         * gst/check/Makefile.am:
19857         * libs/gst/controller/Makefile.am:
19858         * libs/gst/dataprotocol/Makefile.am:
19859
19860 2005-09-14  David Schleef  <ds@schleef.org>
19861
19862         * configure.ac: Remove getbits library.  Nothing uses it, and
19863           it should be in something like liboil if someone did want
19864           to use it.
19865         * libs/gst/Makefile.am:
19866         * libs/gst/getbits/Makefile.am:
19867         * libs/gst/getbits/gbtest.c:
19868         * libs/gst/getbits/getbits.c:
19869         * libs/gst/getbits/getbits.h:
19870         * libs/gst/getbits/gstgetbits_generic.c:
19871         * libs/gst/getbits/gstgetbits_i386.s:
19872         * libs/gst/getbits/gstgetbits_inl.h:
19873
19874 2005-09-14  David Schleef  <ds@schleef.org>
19875
19876         * gst/Makefile.am: Dist glib-compat.h
19877
19878 2005-09-14  David Schleef  <ds@schleef.org>
19879
19880         * configure.ac: Remove gst/registries, since it's no longer used.
19881         * gst/registries/Makefile.am:
19882         * gst/registries/gstlibxmlregistry.c:
19883         * gst/registries/gstlibxmlregistry.h:
19884         * gst/registries/gstxmlregistry.c:
19885         * gst/registries/gstxmlregistry.h:
19886         * gst/registries/registrytest.c:
19887
19888 2005-09-14  David Schleef  <ds@schleef.org>
19889
19890         * gst/glib-compat.h:
19891         * gst/gstregistryxml.c:
19892           Convergence is near.  Seriously.
19893
19894 2005-09-14  David Schleef  <ds@schleef.org>
19895
19896         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19897         * gst/glib-compat.h:
19898           Attempt #4 to appease the buildbots.
19899
19900 2005-09-14  David Schleef  <ds@schleef.org>
19901
19902         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19903           Attempt #3.
19904
19905 2005-09-14  David Schleef  <ds@schleef.org>
19906
19907         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19908         Attempt #2.
19909
19910 2005-09-14  David Schleef  <ds@schleef.org>
19911
19912         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
19913           the new functions.
19914
19915 2005-09-14  David Schleef  <ds@schleef.org>
19916
19917         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19918         * gst/glib-compat.h: Add some functions that are in newer versions
19919           of glib than we care to require.
19920         * gst/gstregistryxml.c: Use them.
19921
19922 2005-09-14  David Schleef  <ds@schleef.org>
19923
19924         * po/POTFILES.in: remove gst-register.c
19925
19926 2005-09-14  David Schleef  <ds@schleef.org>
19927
19928         * docs/gst/gstreamer-docs.sgml:
19929         * docs/gst/gstreamer-sections.txt:
19930         * docs/gst/gstreamer.types:
19931         * docs/gst/tmpl/gstelement.sgml:
19932         * docs/gst/tmpl/gstplugin.sgml:
19933         * docs/gst/tmpl/gstpluginfeature.sgml:
19934           Documentation updates for registry changes.
19935
19936 2005-09-14  David Schleef  <ds@schleef.org>
19937
19938         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
19939           because we don't require glib-2.8.
19940
19941 2005-09-14  David Schleef  <ds@schleef.org>
19942
19943         * gst/gstregistryxml.c: Added.  Essentially moved out of the
19944           registries directory.
19945
19946 2005-09-14  David Schleef  <ds@schleef.org>
19947
19948         * check/Makefile.am:
19949         * check/generic/states.c:
19950         * gst/Makefile.am:
19951         * gst/gst.c:
19952         * gst/gst.h:
19953         * gst/gst_private.h:
19954         * gst/gstelementfactory.c:
19955         * gst/gstindex.c:
19956         * gst/gstinfo.c:
19957         * gst/gstplugin.c:
19958         * gst/gstplugin.h:
19959         * gst/gstpluginfeature.c:
19960         * gst/gstpluginfeature.h:
19961         * gst/gstregistry.c:
19962         * gst/gstregistry.h:
19963         * gst/gstregistrypool.c: remove
19964         * gst/gstregistrypool.h: remove
19965         * gst/gsttypefind.c:
19966         * gst/gsttypefindfactory.c:
19967         * gst/gsturi.c:
19968         * tools/Makefile.am:
19969         * tools/gst-compprep.c:
19970         * tools/gst-inspect.c:
19971         * tools/gst-register.c: remove
19972         * tools/gst-xmlinspect.c:
19973           Registry rewrite.  Changes registry from being a file created
19974           by a tool into a simple cache file created automatically by 
19975           libgstreamer.  Removed gst-register (because it's no longer
19976           needed).  Remove registry pools, because we only have one
19977           registry implementation (XML).  Fix up other subsystems as
19978           necessary.
19979
19980 2005-09-13  Michael Smith <msmith@fluendo.com>
19981
19982         * gst/gstconfig.h.in:
19983           Don't Use windows linking attributes for MinGW. Fixes #316157
19984
19985 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19986
19987         * gst/gstutils.c: (set_state_async_thread_func),
19988         (gst_element_set_state_async):
19989           Apparently people think it's better if this function doesn't
19990           try to set the state to whatever state was asked for on the first
19991           call to this function for any object.  Seriously.
19992
19993 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19994
19995         * check/gst/gstpipeline.c: (GST_START_TEST):
19996         * docs/gst/gstreamer-sections.txt:
19997         * gst/gstutils.c: (set_state_async_thread_func),
19998         (gst_element_set_state_async):
19999         * gst/gstutils.h:
20000           add a "gst_element_set_state_async" method that
20001           sets the state and starts a thread to make sure the state
20002           change completes as best as it can
20003
20004 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20005
20006         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
20007           codify design+behaviour in testsuite after discussion
20008
20009 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20010
20011         * docs/gst/tmpl/gstelement.sgml:
20012         * docs/manual/appendix-quotes.xml:
20013           add a quote
20014         * gst/gstelement.c: (gst_element_set_state):
20015           add some debug
20016
20017 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
20018
20019         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20020         (gst_base_transform_prepare_output_buf),
20021         (gst_base_transform_handle_buffer):
20022         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
20023         (gst_capsfilter_prepare_buf):
20024           Remove the requirement for sub-classes to call the parent
20025           implementation of prepare_output_buffer with a wrapper function.
20026           
20027         * gst/gsttaglist.h:
20028         * gst/gsttagsetter.h:
20029           Fix #define wrapper
20030
20031 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
20032
20033         * docs/gst/gstreamer-sections.txt:
20034           more doc cleanups
20035
20036 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20037
20038         * docs/gst/gstreamer-sections.txt:
20039         * docs/gst/tmpl/gstelement.sgml:
20040         * docs/gst/tmpl/gstplugin.sgml:
20041         * gst/gstminiobject.c:
20042         * gst/gstvalue.h:
20043           docs now stop throwing warnings
20044
20045 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20046
20047         * docs/gst/gstreamer-sections.txt:
20048         * docs/gst/gstreamer.types:
20049         * docs/gst/tmpl/gstpad.sgml:
20050         * docs/gst/tmpl/gsttypes.sgml:
20051         * gst/base/gstadapter.h:
20052         * gst/base/gstbasesink.h:
20053         * gst/base/gstbasesrc.h:
20054         * gst/gstbin.h:
20055         * gst/gstbuffer.h:
20056         * gst/gstbus.h:
20057         * gst/gstcaps.h:
20058         * gst/gstclock.h:
20059         * gst/gstelement.h:
20060         * gst/gstevent.h:
20061         * gst/gstmessage.h:
20062         * gst/gstpad.h:
20063         * gst/gststructure.c:
20064         * gst/registries/gstlibxmlregistry.h:
20065           various documentation fixes
20066
20067 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20068
20069         * docs/gst/gstreamer-sections.txt:
20070         * docs/gst/tmpl/gstvalue.sgml:
20071           rearrange gstvalue section
20072         * gst/gstutils.c: (gst_element_state_get_name):
20073           NONE -> VOID
20074         * gst/gstvalue.c: (_gst_value_initialize):
20075         * gst/gstvalue.h:
20076           doc updates
20077
20078 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
20079
20080         * check/gst-libs/controller.c:
20081           Header include fix.
20082         * gst/base/gstbasetransform.c:
20083         (gst_base_transform_default_prepare_buf),
20084         (gst_base_transform_handle_buffer):
20085         * gst/base/gstbasetransform.h:
20086           Some more basetransform changes and fixes to enable sub-classes
20087           that modify buffer metadata only.
20088         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20089         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
20090         (gst_capsfilter_prepare_buf):
20091           If the output pad has fixed allowed caps and input buffers 
20092           don't have any, set the fixed caps on outgoing buffers.
20093
20094 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
20095         * check/elements/identity.c: (GST_START_TEST):
20096           Make the error a little clearer when the test fails because
20097           identity made a copy of the buffer.
20098         * docs/gst/gstreamer-sections.txt:
20099           New symbols in gstbasetransform.h
20100         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20101         (gst_base_transform_init), (gst_base_transform_transform_size),
20102         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20103         (gst_base_transform_default_prepare_buf),
20104         (gst_base_transform_get_unit_size),
20105         (gst_base_transform_buffer_alloc),
20106         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
20107         (gst_base_transform_change_state),
20108         (gst_base_transform_set_passthrough),
20109         (gst_base_transform_set_in_place),
20110         (gst_base_transform_is_in_place):
20111         * gst/base/gstbasetransform.h:
20112           Change BaseTransform to separate in_place operate from same_caps
20113           output. in_place implies that the element can perform the transform
20114           on incoming buffers in-place, even if the caps on the output are
20115           different.
20116           Sub-class elements can now implement special buffer allocation
20117           methods for outgoing buffers if they wish to.
20118           Big documentation addition.
20119         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
20120         * gst/elements/gstelements.c:
20121           Changes for basetransform modifications.
20122         * gst/elements/Makefile.am:
20123         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
20124           Compile fix. Extra debug output.
20125
20126 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20127
20128         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
20129         (gst_pad_suite):
20130           add tests for valid pad naming
20131         * gst/check/gstcheck.c: (gst_check_log_message_func),
20132         (gst_check_log_critical_func):
20133           add ASSERT_WARNING
20134           remove printing of code, it is fragile when the code contains
20135           % and the line number is enough info
20136         * gst/check/gstcheck.h:
20137         * gst/gstpad.c: (gst_pad_template_new):
20138           fix memleaks
20139
20140 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20141
20142         * configure.ac:
20143           say what CHECK flags we use
20144         * docs/libs/gstreamer-libs.types:
20145         * libs/gst/controller/Makefile.am:
20146         * libs/gst/controller/gst-controller.c:
20147         * libs/gst/controller/gst-controller.h:
20148         * libs/gst/controller/gst-helper.c:
20149         * libs/gst/controller/gst-interpolation.c:
20150         * libs/gst/controller/gstcontroller.c:
20151         * libs/gst/controller/gsthelper.c:
20152         * libs/gst/controller/gstinterpolation.c:
20153         * tools/gst-inspect.c: (print_plugin_info):
20154           we don't use dashes in header names
20155
20156 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20157
20158         * check/Makefile.am:
20159         * check/gst/.cvsignore:
20160         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
20161         (gst_pipeline_suite), (main):
20162           adding a test for pipelines and state changes
20163         * gst/gstutils.c: (get_state_func):
20164           add some debugging
20165         * gstreamer.spec.in:
20166           fix up spec file
20167
20168 2005-09-08  Michael Smith <msmith@fluendo.com>
20169
20170         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
20171         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
20172         (gst_file_src_is_seekable), (gst_file_src_get_size),
20173         (gst_file_src_start):
20174         * gst/elements/gstfilesrc.h:
20175           Various fixes for unseekable, unmmapable, and non-normal files, so
20176           that fallback to read() rather than mmap() works.
20177         * gst/gstevent.c: (gst_event_new_newsegment):
20178           Allow newsegment events with segment_start == segment_end, as will
20179           correctly happen if you use filesrc on a zero-size file, for
20180           example.
20181
20182 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
20183
20184         * gst/gstplugin.c: (gst_plugin_load_file):
20185           Call g_module_close when we don't load the module
20186
20187         * gst/registries/gstlibxmlregistry.c:
20188         (gst_xml_registry_get_property):
20189           Port leak fix from 0.8
20190
20191 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20192
20193         * docs/gst/gstreamer-docs.sgml:
20194         * docs/gst/tmpl/.cvsignore:
20195         * docs/gst/tmpl/gsttrace.sgml:
20196         * docs/gst/tmpl/gsttrashstack.sgml:
20197         * gst/Makefile.am:
20198         * gst/gst.h:
20199         * gst/gstelement.h:
20200         * gst/gstevent.h:
20201         * gst/gstmessage.c:
20202         * gst/gstmessage.h:
20203         * gst/gsttag.c:
20204         * gst/gsttag.h:
20205         * gst/gsttaginterface.c:
20206         * gst/gsttaginterface.h:
20207         * gst/gsttaglist.c:
20208         * gst/gsttaglist.h:
20209         * gst/gsttagsetter.c:
20210         * gst/gsttagsetter.h:
20211         * gst/gsttrace.c:
20212         * gst/gsttrace.h:
20213         * gst/gsttrashstack.c:
20214           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
20215           inlined docs for gsttrace, gsttrashstack
20216
20217 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20218
20219         * gst/Makefile.am:
20220         * gst/elements/gstbufferstore.h:
20221         * gst/elements/gsttypefindelement.c:
20222         * gst/elements/gsttypefindelement.h:
20223         * gst/gst.h:
20224         * gst/gsttypefind.c:
20225         * gst/gsttypefind.h:
20226         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
20227         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
20228         (gst_type_find_factory_dispose),
20229         (gst_type_find_factory_unload_thyself),
20230         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
20231         (gst_type_find_factory_get_caps),
20232         (gst_type_find_factory_get_extensions),
20233         (gst_type_find_factory_call_function):
20234         * gst/gsttypefindfactory.h:
20235         * gst/registries/gstlibxmlregistry.c:
20236         * gst/registries/gstxmlregistry.c:
20237           splitted gsttypefind into gsttypefind, gsttypefindfactory
20238
20239 2005-09-07  Andy Wingo  <wingo@pobox.com>
20240
20241         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
20242         condition whereby the pad's task function is entered before the
20243         pad_mode variable was set.
20244
20245 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
20246
20247         * gst/gstpad.c: (gst_pad_alloc_buffer):
20248           Catch misbehaving pad_alloc functions that don't
20249           set up caps and do it for them.
20250
20251 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20252
20253         * check/pipelines/simple_launch_lines.c: (run_pipeline):
20254           test for pipe!=NULL
20255         * docs/gst/tmpl/.cvsignore:
20256         * docs/gst/tmpl/gstmemchunk.sgml:
20257         * docs/gst/tmpl/gstparse.sgml:
20258         * docs/gst/tmpl/gsttaglist.sgml:
20259         * docs/gst/tmpl/gsttagsetter.sgml:
20260         * docs/gst/tmpl/gsttypefind.sgml:
20261         * docs/gst/tmpl/gsttypefindfactory.sgml:
20262         * gst/gstmemchunk.c:
20263         * gst/gstparse.c:
20264         * gst/gsttag.c:
20265         * gst/gsttaginterface.c:
20266         * gst/gsttypefind.c:
20267         * gst/gsttypefind.h:
20268           inlined more docs
20269
20270 === release 0.9.2 ===
20271
20272 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
20273
20274         * NEWS:
20275         * RELEASE:
20276         * configure.ac:
20277           releasing 0.9.2, "South"
20278
20279 2005-09-05  Andy Wingo  <wingo@pobox.com>
20280
20281         * gst/registries/gstxmlregistry.h:
20282         * gst/registries/gstxmlregistry.c: Um... resurrect...
20283         
20284         * gst/registries/gstxmlregistry.h:
20285         * gst/registries/gstxmlregistry.c: and update to newer API.
20286         Incidentally they should be a bit faster now that they don't have
20287         to parse the caps.
20288         
20289 2005-09-05  Andy Wingo  <wingo@pobox.com>
20290
20291         * gst/registries/gstxmlregistry.h:
20292         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
20293         replaced by the libxml registry a while back
20294
20295 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20296
20297         * docs/gst/tmpl/gstplugin.sgml:
20298         * gst/elements/gstelements.c:
20299         * gst/gst.c:
20300         * gst/gstplugin.c: (gst_plugin_register_func),
20301         (gst_plugin_desc_copy), (gst_plugin_desc_free),
20302         (gst_plugin_get_source):
20303         * gst/gstplugin.h:
20304         * gst/registries/gstlibxmlregistry.c: (load_plugin),
20305         (gst_xml_registry_save_plugin):
20306         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
20307         (gst_xml_registry_save_plugin):
20308         * tools/gst-inspect.c: (print_plugin_info):
20309           add a "source" plugin description field, to represent the source
20310           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
20311           will set it to PACKAGE, which is automake's idea of the name of
20312           the source project.
20313
20314 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20315
20316         * Makefile.am:
20317         * autogen.sh:
20318         * configure.ac:
20319         * docs/Makefile.am:
20320         * docs/faq/Makefile.am:
20321         * docs/gst/tmpl/gstelement.sgml:
20322         * docs/gst/tmpl/gsttypes.sgml:
20323         * docs/htmlinstall.mak:
20324         * docs/manual/Makefile.am:
20325         * docs/pwg/Makefile.am:
20326           reorganize doc build a little
20327           split out docbook and gtk-doc stuff
20328           have two separate --enable's and enable them through autogen
20329           but disable by default in configure (to be similar to other
20330           projects)
20331         * gstreamer.spec.in:
20332           clean up docs install
20333         * po/af.po:
20334         * po/az.po:
20335         * po/ca.po:
20336         * po/cs.po:
20337         * po/de.po:
20338         * po/en_GB.po:
20339         * po/fr.po:
20340         * po/it.po:
20341         * po/nb.po:
20342         * po/nl.po:
20343         * po/ru.po:
20344         * po/sq.po:
20345         * po/sr.po:
20346         * po/sv.po:
20347         * po/tr.po:
20348         * po/uk.po:
20349         * po/vi.po:
20350           translation updates
20351
20352 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
20353
20354         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
20355           Add comment.
20356           
20357         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
20358         (gst_fake_sink_change_state):
20359           Make state change function thread-safe.
20360           
20361         * gst/gstpad.c: (gst_pad_alloc_buffer):
20362           Set offset on generic buffer allocated by fallback.
20363
20364 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
20365
20366         * docs/gst/gstreamer-sections.txt:
20367         * docs/gst/tmpl/gstelement.sgml:
20368         * gst/gstpad.c:
20369         * libs/gst/controller/gst-controller.c:
20370         (gst_controlled_property_set_interpolation_mode),
20371         (gst_controlled_property_new),
20372         (gst_controller_find_controlled_property):
20373          run the wingo-magic script against the docs
20374
20375 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
20376
20377         * docs/gst/gstreamer-docs.sgml:
20378         * docs/gst/gstreamer-sections.txt:
20379         * docs/gst/tmpl/.cvsignore:
20380         * docs/gst/tmpl/gstelementdetails.sgml:
20381         * docs/gst/tmpl/gstelementfactory.sgml:
20382         * gst/gst.c:
20383         * gst/gstbus.c:
20384         * gst/gstelementfactory.c:
20385         * gst/gstelementfactory.h:
20386           merged elementdetails docs into elementfactory docs
20387           inlined both
20388
20389 2005-09-02  Andy Wingo  <wingo@pobox.com>
20390
20391         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
20392         consider this enum an enum and not a flags.
20393
20394 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
20395
20396         * docs/gst/gstreamer-docs.sgml:
20397         * docs/gst/tmpl/.cvsignore:
20398         * docs/gst/tmpl/gstghostpad.sgml:
20399         * docs/gst/tmpl/gstiterator.sgml:
20400         * docs/gst/tmpl/gstmacros.sgml:
20401         * docs/gst/tmpl/gstrealpad.sgml:
20402         * docs/gst/tmpl/gstregistry.sgml:
20403         * docs/gst/tmpl/gstregistrypool.sgml:
20404         * docs/gst/tmpl/gststructure.sgml:
20405         * docs/gst/tmpl/gstsystemclock.sgml:
20406         * docs/gst/tmpl/gsttrace.sgml:
20407         * gst/gstghostpad.c:
20408         * gst/gstmacros.h:
20409         * gst/gstmemchunk.c:
20410         * gst/gstmemchunk.h:
20411         * gst/gstqueue.c:
20412         * gst/gstregistry.c:
20413         * gst/gstregistrypool.c:
20414         * gst/gststructure.c:
20415         * gst/gstsystemclock.c:
20416           more docs inlined
20417
20418 2005-09-02  Andy Wingo  <wingo@pobox.com>
20419
20420         * gst/gstelement.h (GstState): Renamed from GstElementState,
20421         changed to be a normal enum instead of flags.
20422         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
20423         munged to be GST_STATE_CHANGE_*.
20424         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
20425         work with the new state representation.
20426         (GstStateChange): New enumeration of possible state transitions.
20427         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
20428         (GstElementClass::change_state): Pass the GstStateChange along as
20429         an argument. Helps language bindings, so they don't have to use
20430         tricky lock-needing macros like GST_STATE_CHANGE ().
20431
20432         * scripts/update-states (file): New script. Run it on a file to
20433         update it for state naming and API changes. Updates files in
20434         place.
20435
20436         * All files updated for the new API.
20437
20438 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20439
20440         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
20441         * gst/gstutils.c: (gst_util_set_value_from_string),
20442         (gst_util_set_object_arg):
20443           fix a bunch of unchecked return values
20444         * tools/gst-complete.c: (main):
20445         * gstreamer.spec.in:
20446           clean up a little
20447
20448 2005-09-01  Wim Taymans  <wim@fluendo.com>
20449
20450         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20451         (gst_base_sink_event), (gst_base_sink_do_sync),
20452         (gst_base_sink_handle_event):
20453         * gst/base/gstbasesink.h:
20454         Handle newsegments more correctly.
20455
20456         * gst/gstbus.c:
20457         Fix docs.
20458
20459         * gst/gstevent.c: (gst_event_new_newsegment):
20460         A newsegment cannot have a start_time of -1
20461
20462 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
20463
20464         * win32/gstenumtypes.c:
20465         * win32/gstenumtypes.h:
20466           Update
20467
20468 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20469
20470         * libs/gst/controller/gst-controller.c:
20471         (gst_controlled_property_set_interpolation_mode),
20472         (gst_controlled_property_new):
20473          fixed boolean again
20474
20475 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
20476
20477         * docs/faq/gst-uninstalled:
20478           add -good
20479         * gst/gstevent.c:
20480         * gst/gstevent.h:
20481           remove wrong docs
20482         * gst/gstutils.c: (gst_element_link_filtered):
20483         * gst/gstutils.h:
20484           add gst_element_link_filtered
20485
20486 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20487
20488         * docs/gst/gstreamer-docs.sgml:
20489         * docs/gst/gstreamer-sections.txt:
20490         * docs/gst/tmpl/.cvsignore:
20491         * docs/gst/tmpl/gsterror.sgml:
20492         * docs/gst/tmpl/gstfilter.sgml:
20493         * docs/gst/tmpl/gsturihandler.sgml:
20494         * docs/gst/tmpl/gsturitype.sgml:
20495         * docs/gst/tmpl/gstutils.sgml:
20496         * docs/gst/tmpl/gstxml.sgml:
20497         * gst/gsterror.c:
20498         * gst/gsterror.h:
20499         * gst/gstfilter.c:
20500         * gst/gsturi.c:
20501         * gst/gsturitype.c:
20502         * gst/gstutils.c:
20503         * gst/gstxml.c:
20504           inlined more docs, fixed double id-ref
20505
20506 2005-08-31  Wim Taymans  <wim@fluendo.com>
20507
20508         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20509         (gst_base_transform_handle_buffer):
20510         Passthrough elements don't need the caps as they don't care.
20511
20512 2005-08-31  Wim Taymans  <wim@fluendo.com>
20513
20514         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20515         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
20516         Don't leak refcounts on buffers.
20517
20518 2005-08-31  Wim Taymans  <wim@fluendo.com>
20519
20520         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
20521         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
20522         (gst_base_transform_chain), (gst_base_transform_change_state):
20523         * gst/base/gstbasetransform.h:
20524         Handle the case where we are not negotiated more gracefully.
20525
20526 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
20527
20528         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
20529         (gst_file_src_map_region):
20530           Set READONLY flag on mmap'ed buffers, otherwise
20531           gst_buffer_make_writable() won't work properly (#314708).
20532
20533 2005-08-31  Wim Taymans  <wim@fluendo.com>
20534
20535         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
20536         passthrough elements can even do inplace on non writable
20537         buffers (as they don't touch them).
20538
20539 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20540
20541         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20542         (gst_test_mono_source_set_property),
20543         (gst_test_mono_source_class_init), (GST_START_TEST),
20544         (gst_controller_suite):
20545           more tests (hehe I have the most)
20546         * gst/gstbus.c:
20547           describe popping messages whenusing mulltiple sources
20548         * libs/gst/controller/gst-controller.c:
20549         (gst_controlled_property_set_interpolation_mode),
20550         (gst_controlled_property_new):
20551         * libs/gst/controller/gst-controller.h:
20552         * libs/gst/controller/gst-interpolation.c:
20553           implement boolean properties
20554
20555 2005-08-31  Wim Taymans  <wim@fluendo.com>
20556
20557         * gst/gstminiobject.c: (gst_mini_object_ref):
20558         Cannot assert that the refcount has to be positive
20559         since a disposed object can be resurrected.
20560
20561 2005-08-31  Wim Taymans  <wim@fluendo.com>
20562
20563         * gst/gstpad.c: (gst_pad_init):
20564         Revert change, need to first fix badly behaving 
20565         apps.
20566
20567 2005-08-30  Wim Taymans  <wim@fluendo.com>
20568
20569         * check/elements/fakesrc.c: (setup_fakesrc):
20570         * check/elements/identity.c: (setup_identity):
20571         Activate pads before using them.
20572
20573 2005-08-30  Wim Taymans  <wim@fluendo.com>
20574
20575         * gst/base/gstadapter.c: (gst_adapter_flush):
20576         Flushing out 0 bytes is ok for this function.
20577
20578         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20579         no newsegment gives a warning and sets the start/stop to 
20580         invalid.
20581
20582         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
20583         (gst_base_transform_set_passthrough):
20584         Some debug info.
20585
20586         * gst/gstminiobject.c: (gst_mini_object_ref):
20587         Check refcount here too.
20588
20589         * gst/gstpad.c: (gst_pad_init):
20590         Pads are initially flushing and refusing data.
20591
20592         * gst/gstutils.c: (gst_element_link_pads_filtered):
20593         When adding a capsfilter element make sure it has the
20594         same state as the parent bin.
20595
20596 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20597
20598         * docs/gst/tmpl/.cvsignore:
20599         * docs/gst/tmpl/gstformat.sgml:
20600         * docs/gst/tmpl/gstversion.sgml:
20601         * gst/gstbus.h:
20602         * gst/gstformat.c:
20603         * gst/gstformat.h:
20604         * gst/gstversion.h.in:
20605           more docs and two more inlined
20606
20607 2005-08-30  Wim Taymans  <wim@fluendo.com>
20608
20609         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
20610         Don't sync to clock.
20611
20612 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20613
20614         * docs/gst/gstreamer-sections.txt:
20615           ultral33t func10ns deserve to appear in the docs actually
20616         * docs/gst/tmpl/.cvsignore:
20617         * docs/gst/tmpl/gstcompat.sgml:
20618         * docs/gst/tmpl/gstconfig.sgml:
20619         * gst/check/gstcheck.c:
20620         * gst/gstcompat.h:
20621         * gst/gstconfig.h.in:
20622           inlined more docs
20623
20624 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20625
20626         * docs/gst/tmpl/.cvsignore:
20627         * docs/gst/tmpl/gstquery.sgml:
20628         * docs/gst/tmpl/gstutils.sgml:
20629         * gst/gstquery.c:
20630         * gst/gstquery.h:
20631           inlined and extended docs
20632
20633 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20634
20635         * check/gst-libs/controller.c: (GST_START_TEST),
20636         (gst_controller_suite):
20637           more tests
20638         * docs/gst/tmpl/gstutils.sgml:
20639         * docs/libs/gstreamer-libs-sections.txt:
20640         * docs/libs/tmpl/gstdataprotocol.sgml:
20641           include path fixes
20642         * examples/controller/audio-example.c: (main):
20643           controller example works now
20644         * gst/gstclock.h:
20645           doc fixes
20646         * tools/gst-inspect.c: (print_element_properties_info):
20647           show param spec flags
20648
20649 2005-08-29  Andy Wingo  <wingo@pobox.com>
20650
20651         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
20652
20653 2005-08-28  Andy Wingo  <wingo@pobox.com>
20654
20655         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
20656         as having two arguments instead of just one. Allows superclasses
20657         to access information on subclasses -- see the terrible for() loop
20658         in gtype.c:g_type_create_instance for the reason why. All callers
20659         changed.
20660
20661 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20662
20663         * docs/design/part-messages.txt:
20664           update info
20665         * docs/gst/tmpl/.cvsignore:
20666         * docs/gst/tmpl/gstcaps.sgml:
20667         * docs/gst/tmpl/gstclock.sgml:
20668         * gst/gstbus.c:
20669         * gst/gstcaps.c:
20670         * gst/gstcaps.h:
20671         * gst/gstclock.c:
20672         * gst/gstclock.h:
20673         * gst/gstmessage.c:
20674           added descriptions for bus and message
20675           inline caps and clock docs
20676
20677 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20678
20679         * gst/gstmessage.c:
20680         * gst/gstmessage.h:
20681           doc fixes
20682
20683 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20684
20685         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20686           fix div-by-zero
20687
20688 2005-08-26  Andy Wingo  <wingo@pobox.com>
20689
20690         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
20691         element_set_state's return val.
20692         (test_2_elements): Add test that's been disabled for months.
20693
20694         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
20695         can-activate-pull properties.
20696
20697         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
20698         can-activate-pull properties. Implement is_seekable so fakesrc can
20699         operate in pull mode.
20700
20701         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
20702         properties.
20703         (gst_base_sink_activate, gst_base_sink_activate_pull)
20704         (gst_base_sink_activate_push): Make activation mode choosing work.
20705         Cleanups.
20706         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
20707         is right. Make pull mode work. Post an eos before pausing in pull
20708         mode.
20709         (gst_base_sink_change_state): Pay attention to the core's
20710         change_state() return val.
20711         
20712         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
20713         has-getrange properties. Cleanups.
20714         
20715         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
20716         has_getrange and replace with can_activate_pull and
20717         can_activate_push.
20718
20719         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
20720         locking comments. Remove has_loop, has_chain and replace with
20721         can_activate_pull and can_activate_push.
20722
20723 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
20724
20725         * configure.ac:
20726         * examples/Makefile.am:
20727         * examples/metadata/Makefile.am:
20728         * examples/metadata/read-metadata.c: (message_loop),
20729         (have_pad_handler), (make_pipeline), (print_tag), (main):
20730           Add metadata reading example that loops over a list of filenames,
20731           dumping any tags found.
20732
20733         * gst/gstbus.c: (gst_bus_dispose):
20734         * gst/gstelement.c: (gst_element_dispose):
20735           Release a few potentially-held references in dispose.
20736
20737 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20738
20739         * docs/gst/tmpl/gstminiobject.sgml:
20740           do *not* add tmpl/*.sgml files to CVS!
20741
20742 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20743
20744         * libs/gst/bytestream/.cvsignore:
20745         * libs/gst/bytestream/Makefile.am:
20746         * libs/gst/bytestream/adapter.c:
20747         * libs/gst/bytestream/adapter.h:
20748         * libs/gst/bytestream/bytestream.c:
20749         * libs/gst/bytestream/bytestream.h:
20750         * libs/gst/bytestream/filepad.c:
20751         * libs/gst/bytestream/filepad.h:
20752           removing obsolete files
20753
20754 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20755
20756         * docs/gst/gstreamer-docs.sgml:
20757         * docs/libs/gstreamer-libs-docs.sgml:
20758           disabed additional index entries again, as this makes docs-gen just
20759           slow and they aren't useful yet
20760         * docs/libs/gstreamer-libs-sections.txt:
20761           little -section.txt cleanup for libs
20762
20763 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
20764
20765         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20766         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
20767           fix up some debugging
20768         (gst_base_transform_get_unit_size),
20769         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20770         (gst_base_transform_handle_buffer):
20771         * gst/base/gstbasetransform.h:
20772           handle and store timed NEWSEGMENT events so that subclasses that
20773           calculate time by counting samples have a segment_start time they
20774           need to add to their timestamps - see audioresample
20775
20776 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20777
20778         * gst/gstbin.h:
20779           removed ';' from the end of macro defs
20780         * docs/gst/gstreamer-docs.sgml:
20781         * docs/gst/gstreamer-sections.txt:
20782         * docs/gst/tmpl/.cvsignore:
20783         * gst/gstbus.h:
20784         * gst/gstelement.c: (gst_element_class_init),
20785         (gst_element_set_state), (activate_pads),
20786         (gst_element_save_thyself):
20787         * gst/gstevent.c: (gst_event_new_newsegment):
20788         * gst/gstevent.h:
20789         * gst/gstiterator.c:
20790         * gst/gstiterator.h:
20791         * gst/gstpad.c:
20792         * gst/gstprobe.h:
20793         * gst/gstutils.c: (gst_pad_query_convert):
20794         * gst/gstutils.h:
20795           fixed parameter name mismatches between source, header and docs
20796           added some more docs, resolved the last batch of unused elements in
20797           docs (now someone needs to doc them)
20798
20799 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20800
20801         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
20802         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
20803           don't walk through the plugins backwards.  Where is all this
20804           reversed logic coming from ?
20805
20806 2005-08-25  Wim Taymans  <wim@fluendo.com>
20807
20808         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20809         (gst_base_transform_transform_size),
20810         (gst_base_transform_configure_caps),
20811         (gst_base_transform_get_unit_size),
20812         (gst_base_transform_buffer_alloc),
20813         (gst_base_transform_change_state):
20814         * gst/base/gstbasetransform.h:
20815         Cache caps unit_size.
20816         Make sure we cannot negotiate up and downstream at the
20817         same time.
20818
20819 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20820
20821         * gst/gst.c: (init_pre), (init_post):
20822           register the installed plugin path after the env var
20823         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
20824         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
20825           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
20826           directories, so the tests can prefer uninstalled over installed
20827
20828 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20829
20830         * gst/base/gstbasetransform.h:
20831           comment
20832         * gst/gstpad.c:
20833           add to docs
20834
20835 2005-08-25  Wim Taymans  <wim@fluendo.com>
20836
20837         * gst/gstbin.c: (bin_bus_handler):
20838         Be a bit more conservative about the posted message.
20839         
20840         * gst/gstbus.c: (gst_bus_post):
20841         Some cleanups, warn wrong return values.
20842
20843 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
20844
20845         * check/gst/gstbin.c: (GST_START_TEST):
20846         * gst/gstbin.c: (bin_bus_handler):
20847         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20848         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20849         (gst_message_new_warning), (gst_message_new_tag),
20850         (gst_message_new_state_changed), (gst_message_new_segment_start),
20851         (gst_message_new_segment_done), (gst_message_new_custom):
20852         * gst/gstmessage.h:
20853         * tools/gst-launch.c: (event_loop):
20854         * tools/gst-md5sum.c: (event_loop):
20855           Revert unpopular change for GST_MESSAGE_SRC to GObject.
20856
20857 2005-08-25  Wim Taymans  <wim@fluendo.com>
20858
20859         * check/generic/states.c: (GST_START_TEST):
20860         Cleanup can be done at the end.
20861
20862         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
20863         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20864         (gst_task_get_state), (gst_task_start), (gst_task_pause):
20865         Oh boy.. Thanks for finding this, Thomas. 
20866
20867 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
20868
20869         * docs/gst/gstreamer.types:
20870           added missing types
20871
20872 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
20873
20874         * docs/gst/gstreamer-docs.sgml:
20875         * docs/gst/gstreamer-sections.txt:
20876         * docs/gst/tmpl/.cvsignore:
20877         * gst/gstbin.c:
20878         * gst/gstiterator.c:
20879         * gst/gstutils.c:
20880         * gst/registries/gstxmlregistry.h:
20881           added missing classes and symbols (123 more to go)
20882           removed removed symbols from section file
20883           fixed many doc-comments
20884
20885 2005-08-24  Wim Taymans  <wim@fluendo.com>
20886
20887         * check/generic/states.c: (GST_START_TEST):
20888         Make sure all tasks are stopped.
20889
20890         * check/gst/gstbin.c: (GST_START_TEST):
20891         Unref after usage for proper valgrinding.
20892
20893         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
20894         Really wait for the task to stop before destroying the
20895         mutex.
20896
20897         * gst/gstqueue.c: (gst_queue_sink_activate_push),
20898         (gst_queue_src_activate_push):
20899         Small cleanups. Don't stop the task when we did not start
20900         it.
20901
20902         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
20903         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20904         (gst_task_get_state), (gst_task_start), (gst_task_pause),
20905         (gst_task_join):
20906         * gst/gsttask.h:
20907         Protect the stream lock with the object lock.
20908         Disallow setting the stream lock when running.
20909         Add cleanup_all to wait for the threadpool to finish.
20910         Remove code to autoallocate a mutex if none was provided.
20911         Add _join() to wait for a task to stop.
20912         Protect the thread pool with a global lock.
20913
20914 2005-08-24  Wim Taymans  <wim@fluendo.com>
20915
20916         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20917         (gst_base_sink_get_times), (gst_base_sink_do_sync),
20918         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
20919         * gst/base/gstbasesink.h:
20920         Handle newsegment events correctly.
20921         Drop buffers out of the segment range.
20922
20923 2005-08-22  Andy Wingo  <wingo@pobox.com>
20924
20925         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
20926         macro, implements an interface and gstimplementsinterface for a
20927         new type.
20928
20929 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20930
20931         * check/Makefile.am:
20932         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
20933           add a test that does a bunch of state changes on elements
20934           needs some fixing for valgrind
20935         * check/states/sinks.c: (gst_object_suite):
20936           whitespace
20937         * gst/gstcaps.h:
20938           add prototype for gst_caps_is_equal_fixed
20939         * gst/gstplugin.c:
20940         * gst/gstregistrypool.c:
20941           doc fixes
20942
20943 2005-08-24  Andy Wingo  <wingo@pobox.com>
20944
20945         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
20946         convert a negative value. Doesn't make much sense. Mostly this is
20947         here to force callers to ensure -1 maps to -1.
20948
20949 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
20950
20951         * docs/pwg/advanced-types.xml:
20952           Well done to Michael for catching my deliberate introduction
20953           of this spelling mistake. 
20954         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
20955         * gst/gstelement.h:
20956           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
20957           unlink pads before removing the element from the bin.
20958
20959 2005-08-24  Andy Wingo  <wingo@pobox.com>
20960
20961         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
20962         the same thing as GST_DEBUG=*:4.
20963         (parse_debug_level, parse_debug_category): New helper parsers.
20964
20965 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20966
20967         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20968         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
20969         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
20970         (gst_base_transform_buffer_alloc),
20971         (gst_base_transform_handle_buffer):
20972           use gboolean return values and pointers to size so we can use the
20973           full GST_BUFFER_SIZE range (guint) for buffer sizes
20974           use GstPadDirection for transform_caps
20975         * gst/base/gstbasetransform.h:
20976           rename get_size to get_unit_size since that's what it is
20977         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
20978           use GstPadDirection for transform_caps
20979         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20980         * gst/gstutils.h:
20981           cleanup and debugging
20982
20983 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
20984
20985         * gst/gstelement.c: (gst_element_class_init),
20986         (gst_element_set_state), (activate_pads),
20987         (gst_element_save_thyself):
20988         * tools/gst-compprep.c: (main):
20989         * tools/gst-inspect.c: (print_element_properties_info):
20990         * tools/gst-xmlinspect.c: (print_element_properties):
20991           Fixed long standing mem-leak
20992
20993 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
20994
20995         * check/gst/gstbin.c: (GST_START_TEST):
20996         * gst/gstbin.c: (bin_bus_handler):
20997         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20998         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20999         (gst_message_new_warning), (gst_message_new_tag),
21000         (gst_message_new_state_changed), (gst_message_new_segment_start),
21001         (gst_message_new_segment_done), (gst_message_new_custom):
21002         * gst/gstmessage.h:
21003         * tools/gst-launch.c: (event_loop):
21004         * tools/gst-md5sum.c: (event_loop):
21005           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
21006           that applications can sensibly post custom messages with references
21007           to their own objects.
21008
21009 2005-08-24  Andy Wingo  <wingo@pobox.com>
21010
21011         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
21012         already.
21013
21014 2005-08-24  Wim Taymans  <wim@fluendo.com>
21015
21016         * gst/base/gstbasetransform.c: (gst_base_transform_init),
21017         (gst_base_transform_transform_caps),
21018         (gst_base_transform_transform_size),
21019         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21020         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21021         (gst_base_transform_handle_buffer):
21022         * gst/base/gstbasetransform.h:
21023         Many fixes and new features added by Thomas. Can now also do
21024         transforms with variable sizes and a custom fixate_caps function.
21025
21026 2005-08-24  Wim Taymans  <wim@fluendo.com>
21027
21028         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
21029         Some debugging.
21030
21031         * gst/gstclock.h:
21032         Cast to ClockTime before formatting to time.
21033
21034         * gst/gstutils.h:
21035         Cleanups.
21036
21037 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
21038
21039         * check/gst-libs/controller.c: (GST_START_TEST),
21040         (gst_controller_suite):
21041         * docs/gst/tmpl/gstcaps.sgml:
21042         * docs/gst/tmpl/gstghostpad.sgml:
21043         * docs/gst/tmpl/gstquery.sgml:
21044         * docs/gst/tmpl/gstutils.sgml:
21045         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
21046         (gst_object_sink_values), (gst_object_get_value_arrays),
21047         (gst_object_get_value_array):
21048           gracefully handle helper method calls to objects that are not beeing
21049           controlled, added test case for that          
21050
21051 2005-08-23  Wim Taymans  <wim@fluendo.com>
21052
21053         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
21054         (gst_event_new_newsegment), (gst_event_parse_newsegment),
21055         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
21056         (gst_event_parse_qos), (gst_event_new_seek),
21057         (gst_event_parse_seek):
21058         * gst/gstevent.h:
21059         Some more debugging output and doc cleanups.
21060
21061         * gst/gstqueue.c: (gst_queue_handle_sink_event):
21062         Fix possible deadlock.
21063
21064 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
21065
21066         * docs/gst/gstreamer-docs.sgml:
21067         * docs/gst/gstreamer-sections.txt:
21068         * docs/gst/gstreamer.types:
21069         * docs/gst/tmpl/.cvsignore:
21070         * gst/gstbin.h:
21071         * gst/gstbus.c:
21072         * gst/gstelement.c:
21073         * gst/gstevent.h:
21074           added 100 symbols from gstreamer-unused.txt to the right sections
21075           fixed more broken comments
21076           added GstBus to docs
21077
21078 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
21079
21080         * docs/gst/gstreamer-sections.txt:
21081         * docs/gst/tmpl/.cvsignore:
21082         * docs/gst/tmpl/gstbin.sgml:
21083         * docs/gst/tmpl/gstbuffer.sgml:
21084         * gst/base/gstbasesrc.c:
21085         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
21086         * gst/gstbuffer.c:
21087         * gst/gstbuffer.h:
21088         * tools/gst-launch.1.in:
21089           inlined more doc comments, added missing comments and fixed comments
21090           fixed typos
21091
21092 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
21093
21094         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
21095           some debugging
21096         * gst/gstcaps.h:
21097           whitespace fixes
21098         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
21099           more debugging
21100         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
21101         * gst/gststructure.h:
21102           add a fixate function for booleans; add a FIXME that these func
21103           names should probably be gst_structure_fixate_*
21104
21105 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
21106
21107         * docs/gst/gstreamer-docs.sgml:
21108         * docs/gst/gstreamer-sections.txt:
21109         * gst/Makefile.am:
21110         * gst/gstbin.c: (gst_bin_get_type),
21111         (gst_bin_child_proxy_get_child_by_index),
21112         (gst_bin_child_proxy_get_children_count),
21113         (gst_bin_child_proxy_init):
21114         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21115         (gst_child_proxy_get_child_by_index),
21116         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
21117         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
21118         (gst_child_proxy_get), (gst_child_proxy_set_property),
21119         (gst_child_proxy_set_valist), (gst_child_proxy_set),
21120         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
21121         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
21122         * gst/gstchildproxy.h:
21123         * gst/parse/grammar.y:
21124         * tools/gst-inspect.c: (print_interfaces),
21125         (print_element_properties_info), (print_element_info):
21126           ported gstchildproxy over from 0.8
21127           ported gst-inspect fixes and enhancements over from 0.8
21128
21129 2005-08-22  Wim Taymans  <wim@fluendo.com>
21130
21131         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21132         (gst_base_transform_handle_buffer):
21133         Also call the transform function if we have ANY caps.
21134
21135         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
21136         Fix debug info.
21137
21138 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
21139
21140         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
21141           Don't pretend to handle seek events if the source is not seekable
21142
21143 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
21144
21145         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21146           Remove extra parameter to debug output
21147
21148         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21149         (gst_base_src_do_seek), (gst_base_src_activate_push):
21150           Fix seek event handling.
21151
21152         * gst/gstpipeline.c: (gst_pipeline_change_state):
21153         * gst/gstqueue.c: (gst_queue_handle_sink_event),
21154         (gst_queue_src_activate_push):
21155           Don't start the src pad task on FLUSH_STOP if the pad
21156           isn't linked.
21157           Debug changes.
21158
21159 2005-08-22  Wim Taymans  <wim@fluendo.com>
21160
21161         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
21162         Added check for gst_static_caps_get() refcounting.
21163
21164 2005-08-22  Wim Taymans  <wim@fluendo.com>
21165
21166         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
21167         Make _static_caps_get() refcounting sane.
21168         
21169         * gst/gstelement.c: (gst_element_set_state):
21170         Add g_return_val_if_fail() to protect against segfaults.
21171
21172 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
21173
21174         * docs/gst/tmpl/gstevent.sgml:
21175         * gst/gstevent.c:
21176         * gst/gstevent.h:
21177           inlined remaining docs, added missing doc comments
21178
21179 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
21180
21181         * check/gst/gstbin.c: (GST_START_TEST):
21182           since we don't know when preroll is done, use refcount range
21183           check for the sink
21184         * gst/check/gstcheck.h:
21185           add macro for checking refcount range
21186
21187 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
21188
21189         * check/Makefile.am:
21190           clean up environment for when registry gets built versus
21191           when actual tests are run; valgrind seems to not report
21192           leaks if GST_PLUGIN_PATH is set to some specific values
21193         * check/gst/gstbin.c: (GST_START_TEST):
21194           add more refcounting checks; maybe this exposes a
21195           preroll lock bug ?
21196         * common/check.mak:
21197         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21198         * gst/check/gstcheck.h:
21199         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
21200         (gst_bin_change_state):
21201         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
21202           add/fix debugging/whitespace
21203
21204 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
21205
21206         * check/gst/gstevent.c: (event_probe), (test_event),
21207         (GST_START_TEST):
21208          Er, don't call gst_bin_watch_for_state_change you idiot.
21209
21210 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
21211
21212         * check/Makefile.am:
21213           Use CHECK_CFLAGS and CHECK_LIBS
21214         * check/gst/gstevent.c: (event_probe), (test_event),
21215         (GST_START_TEST):
21216           Don't leak events.
21217         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21218         (gst_base_src_start), (gst_base_src_stop),
21219         (gst_base_src_activate_push), (gst_base_src_activate_pull),
21220         (gst_base_src_change_state):
21221           Sprinkle gst_base_src_stop liberally around error paths to fix
21222           problems reusing a source after failed state changes.
21223         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21224         (helper_find_suggest), (gst_type_find_helper):
21225           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
21226         * gst/gstevent.h:
21227         * docs/gst/tmpl/gstevent.sgml:
21228           Migrate part of the docs from the SGML file. Wait for ensonic to
21229           tell me how I did it wrong ;)
21230         * tools/gst-typefind.c: (main):
21231           Extra robustness to state changes between files.
21232
21233 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
21234
21235         * check/Makefile.am:
21236           don't valgrind the controller test - it's leaking - Stefan, HELP
21237         * gst/check/gstcheck.c: (gst_check_message_error),
21238         (gst_check_chain_func), (gst_check_setup_element),
21239         (gst_check_teardown_element), (gst_check_setup_src_pad),
21240         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
21241         (gst_check_teardown_sink_pad):
21242         * gst/check/gstcheck.h:
21243           add a bunch of methods to set up elements, and src and sink pads
21244         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
21245         * check/elements/identity.c: (setup_identity), (cleanup_identity),
21246         (GST_START_TEST):
21247           use them
21248         * gst/gstmessage.c:
21249         * gst/gsttag.h:
21250           whitespace/doc fixes
21251
21252 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21253
21254         * gst/gstelement.h:
21255           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
21256           be handled by the application and not always printed as well
21257
21258 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21259
21260         * check/Makefile.am:
21261           set GST_TOOLS_DIR
21262         * gst/check/gstcheck.c: (gst_check_message_error):
21263         * gst/check/gstcheck.h:
21264           add a fail_unless_equals_int
21265           add fail_unless for error messages
21266
21267 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21268
21269         * check/Makefile.am:
21270         * check/gst.supp:
21271         * common/Makefile.am:
21272         * common/check.mak:
21273         * common/gst.supp:
21274           factor out some of the common stuff so we can use it
21275
21276 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21277
21278         * check/Makefile.am:
21279         * check/gst/gstiterator.c: (GST_START_TEST):
21280         * check/gst/gstsystemclock.c: (GST_START_TEST),
21281         (gst_systemclock_suite):
21282         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21283         * gst/gstclock.c:
21284           valgrind more tests
21285
21286 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21287
21288         * check/elements/.cvsignore:
21289         * check/elements/gstfakesrc.c:
21290           rename to name of element
21291         * check/elements/identity.c: (chain_func), (event_func),
21292         (setup_identity), (cleanup_identity), (GST_START_TEST),
21293         (identity_suite), (main):
21294           add a test for identity
21295         * check/Makefile.am:
21296         * pkgconfig/Makefile.am:
21297         * pkgconfig/gstreamer-check.pc.in:
21298         * pkgconfig/gstreamer-check-uninstalled.pc.in:
21299         * gst/check:
21300         * gst/Makefile.am:
21301         * configure.ac:
21302           move the check stuff to a library that gets installed
21303         * check/gst-libs/controller.c: (GST_START_TEST):
21304         * check/gst-libs/gdp.c:
21305         * check/gst/gst.c: (GST_START_TEST):
21306         * check/gst/gstbin.c:
21307         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21308         * check/gst/gstbus.c:
21309         * check/gst/gstcaps.c: (GST_START_TEST):
21310         * check/gst/gstelement.c:
21311         * check/gst/gstghostpad.c:
21312         * check/gst/gstiterator.c:
21313         * check/gst/gstmessage.c:
21314         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
21315         * check/gst/gstobject.c:
21316         * check/gst/gstpad.c: (GST_START_TEST):
21317         * check/gst/gststructure.c: (GST_START_TEST):
21318         * check/gst/gstsystemclock.c: (GST_START_TEST),
21319         (gst_systemclock_suite):
21320         * check/gst/gsttag.c: (gst_tag_suite):
21321         * check/gst/gstvalue.c:
21322         * check/pipelines/cleanup.c:
21323         * check/pipelines/simple_launch_lines.c:
21324         * check/states/sinks.c:
21325           change include statement
21326
21327         * docs/gst/gstreamer-sections.txt:
21328         * docs/gst/tmpl/gstpad.sgml:
21329           document more pad stuff
21330         * gst/gstminiobject.c: (gst_mini_object_ref),
21331         (gst_mini_object_unref):
21332           debug refcounting
21333
21334 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
21335
21336         * docs/gst/tmpl/gst.sgml:
21337         * gst/gst.c:
21338           eliminate another tmpl file, fix spelling in the long-description
21339
21340 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21341
21342         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21343         (test_event), (timediff), (gstevents_suite):
21344           Should fix build on 64-bit arch's
21345
21346 2005-08-18  Andy Wingo  <wingo@pobox.com>
21347
21348         Make sure that when a pipeline goes to PLAYING, that data has
21349         actually hit the sink.
21350
21351         * check/states/sinks.c (test_sink): A sink that doesn't get any
21352         data shouldn't return SUCCESS for going to either PLAYING or
21353         PAUSED. Test also the return values on the way back down.
21354
21355         * gst/gstelement.c (gst_element_set_state): When changing the
21356         state of an element currently changing state asynchronously, go to
21357         lost-state after commiting the pending state. Makes future calls
21358         to get_state continue to return ASYNC.
21359
21360         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
21361         ASYNC when going to PLAYING if we still don't have preroll, as can
21362         happen with live sources.
21363
21364 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21365
21366         * docs/pwg/advanced-types.xml:
21367           Hack long paragraph into 2 chunks as a workaround for buggy
21368           jadetex version in sid and breezy that loops infinitely and
21369           eats all RAM.
21370
21371 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21372
21373         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21374         (test_event), (timediff), (gstevents_suite):
21375           Provide more error margin in clock measurements to allow for 
21376           g_get_current_time inaccuracies.
21377
21378 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21379
21380         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21381         (test_event), (timediff), (gstevents_suite):
21382            Fix error message output so I might be able to tell why the
21383            test works here but fails on the build farm.
21384
21385 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21386
21387         * check/Makefile.am:
21388         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21389         (test_event), (timediff), (gstevents_suite), (main):
21390           I wrote a test!
21391
21392         * docs/design/part-seeking.txt:
21393           Spelling correction
21394
21395         * docs/gst/tmpl/gstevent.sgml:
21396         * docs/gst/tmpl/gstfakesrc.sgml:
21397           Docs updates.
21398
21399         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21400           Treat a buffer-without-newsegment the same as a receiving 
21401           a newsegment not in time format, and disable syncing to the clock
21402           with a warning.
21403
21404         * gst/gstbus.c: (gst_bus_set_sync_handler):
21405           Assert if anyone tries to replace the existing sync_handler for bus, 
21406           as only the owner should be setting it.
21407
21408         * gst/gstevent.h:
21409           Have a fixed set of custom event enums with events identified by
21410           their structure name (as in 0.8), rather than a free-for-all
21411           allowing collisions between enum values from different plugins.
21412
21413         * gst/gstpad.c: (gst_pad_class_init):
21414           Docs change.
21415           
21416         * gst/gstqueue.c: (gst_queue_handle_sink_event):
21417           Handle out-of-band downstream events from the sending thread.
21418
21419 2005-08-17  Andy Wingo  <wingo@pobox.com>
21420
21421         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
21422         play-timeout==0 to mean no timeout at all. In that case, don't
21423         bother with a get_state or a warning, just return directly, even
21424         if it's ASYNC.
21425
21426         * gst/base/gstbasetransform.c: Debug changes.
21427
21428         * gst/gstutils.h:
21429         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
21430         ensure bins post state change messages. A bit of a hack but I can't
21431         think of a way to avoid it.
21432
21433         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
21434
21435 2005-08-16  Andy Wingo  <wingo@pobox.com>
21436
21437         * gst/base/gstadapter.h:
21438         * gst/base/gstadapter.c (gst_adapter_take): New function, like
21439         peek() but you own the data. Not terribly efficient atm.
21440
21441 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21442
21443         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
21444         (gst_element_found_tags):
21445         * gst/gstutils.h:
21446           Add two utility functions for tag handling.
21447
21448 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21449
21450         * docs/manual/advanced-dataaccess.xml:
21451         * docs/manual/basics-helloworld.xml:
21452           Fix docs to use _bin_add() before _link(), which fixes the examples
21453           with recent core versions (reported by Madhan Raj M
21454           <raj_madan@rediffmail.com>, #313199).
21455
21456 2005-08-16  Wim Taymans  <wim@fluendo.com>
21457
21458         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21459         Added subtract checks.
21460
21461         * docs/design/part-events.txt:
21462         Some more docs about newsegment
21463
21464         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21465         Fix FIXME
21466
21467         * gst/gstcaps.c: (gst_caps_to_string):
21468         Add comments, cleanups.
21469         
21470         * gst/gstelement.c: (gst_element_save_thyself):
21471         cleanups
21472         
21473         * gst/gstvalue.c: (gst_value_collect_int_range),
21474         (gst_string_unwrap), (gst_value_union_int_int_range),
21475         (gst_value_union_int_range_int_range),
21476         (gst_value_intersect_int_int_range),
21477         (gst_value_intersect_int_range_int_range),
21478         (gst_value_intersect_double_double_range),
21479         (gst_value_intersect_double_range_double_range),
21480         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
21481         (gst_value_subtract_int_range_int),
21482         (gst_value_subtract_double_range_double),
21483         (gst_value_subtract_double_range_double_range),
21484         (gst_value_subtract_from_list), (gst_value_subtract_list),
21485         (gst_value_can_compare), (gst_value_compare_fraction):
21486         Cleanups, add comments, remove unneeded asserts.
21487
21488 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21489
21490         * tools/gst-launch.c: (event_loop):
21491           don't convert NULL structures to strings
21492
21493 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
21494
21495         * docs/gst/gstreamer-sections.txt:
21496           made some defines private
21497         * docs/gst/tmpl/gstconfig.sgml:
21498         * docs/gst/tmpl/gstqueue.sgml:
21499         * docs/gst/tmpl/gsttaglist.sgml:
21500         * docs/gst/tmpl/gsttypes.sgml:
21501         * docs/gst/tmpl/gstutils.sgml:
21502         * docs/pwg/appendix-porting.xml:
21503         * gst/base/gstbasesink.h:
21504         * gst/base/gstbasesrc.c:
21505         * gst/base/gstbasesrc.h:
21506         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
21507         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
21508         * gst/gstelement.c: (gst_element_class_init):
21509         * gst/gstpad.c: (gst_pad_class_init):
21510         * gst/gstqueue.c: (gst_queue_class_init):
21511         * gst/gstxml.c: (gst_xml_class_init):
21512           documented all undocumented signal inline
21513         * libs/gst/controller/gst-controller.h:
21514           added padding
21515
21516 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21517
21518         * docs/pwg/appendix-porting.xml:
21519           Document _set_link_function -> _set_setcaps_function.
21520
21521 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21522
21523         * check/Makefile.am:
21524           add a .check target for running the check
21525         * check/gst-libs/controller.c: (GST_START_TEST):
21526           cosmetic fixups
21527         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21528           complete checks for gstbuffer; would be nice if I could get the
21529           gcov stuff to work so I can see if I actually completed gstbuffer.c
21530         * check/gstcheck.h:
21531           add ASSERT_BUFFER_REFCOUNT
21532
21533 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
21534
21535         * docs/gst/gstreamer-sections.txt:
21536         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
21537         * gst/gsttag.h:
21538           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
21539           spew out a warning if a tag that is already registered
21540           is re-registered, unless it is re-registered with a 
21541           different type (#308438).
21542
21543 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
21544
21545         * docs/pwg/appendix-porting.xml:
21546         * docs/pwg/building-state.xml:
21547           Add some paragraphs about state changes in 0.9 to the PWG
21548           and the porting guide, in particular about the new meaning
21549           of GST_STATE_PAUSED and how to write state change functions
21550           with concurrent access by multiple threads in mind.
21551
21552 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
21553
21554         * docs/gst/gstreamer-docs.sgml:
21555         * docs/libs/gstreamer-libs-docs.sgml:
21556           added deprecation and since indexes
21557         * libs/gst/controller/gst-controller.c:
21558         * libs/gst/controller/gst-helper.c:
21559           added since tags
21560
21561
21562 2005-08-11  Wim Taymans  <wim@fluendo.com>
21563
21564         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
21565         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
21566         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
21567         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
21568         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
21569         (gst_ghost_pad_set_target):
21570         Actually implement (re)setting the target on a ghostpad
21571         as described in the docs.
21572
21573 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21574
21575         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
21576           Check whether GST_DEBUG_NO_COLOR environment variable is
21577           set and disable coloured debug output if that is the case.
21578
21579 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21580
21581         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21582         (gst_type_find_helper):
21583           The memory returned by gst_type_find_peek() needs to
21584           stay valid until the end of a typefind function, and
21585           typefind functions may keep results from different 
21586           offsets around, so we can't just unref the buffer from
21587           the previous _peek(), but have to save all buffers 
21588           returned by _peek() until typefinding is done and only
21589           free them then.
21590
21591 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
21592
21593         * docs/gst/gstreamer-sections.txt:
21594         * gst/gstutils.h:
21595           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
21596
21597 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21598
21599         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
21600           Fix a pretty good memleak.
21601
21602 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21603
21604         * gst/gstiterator.h:
21605           Fix wrong include and 'make distcheck'.
21606
21607 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21608
21609         * gst/gstbin.c: (bin_bus_handler):
21610           Use gst_element_post_message() instead.
21611
21612 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21613
21614         * gst/base/gstadapter.h:
21615         * gst/base/gstbasesink.h:
21616         * gst/base/gstbasesrc.h:
21617         * gst/base/gstbasetransform.h:
21618         * gst/base/gstcollectpads.h:
21619         * gst/base/gstpushsrc.h:
21620         * gst/gstiterator.h:
21621           Add padding to our base elements' class and instance structs and
21622           to GstIterator (you will need to rebuild all plugins and apps!)
21623
21624 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21625
21626         * gst/gstbin.c: (bin_bus_handler):
21627           Make default message forwarding from child->bus to bin->bus
21628           threadsafe and make it not emit warnings if the parent has no bus.
21629
21630 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21631
21632         * gst/gstelement.c: (activate_pads):
21633           On paused->ready, set pad->caps to NULL, as is the documented
21634           behaviour in this state change. Fixes playback of series of
21635           media files when visualization is enabled in Totem.
21636
21637 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21638
21639         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21640           Allow NULL as filter-caps (which means "any").
21641
21642 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21643
21644         * docs/libs/gstreamer-libs-sections.txt:
21645         * libs/gst/controller/gst-controller.c:
21646         * libs/gst/controller/gst-controller.h:
21647         * libs/gst/controller/gst-helper.c:
21648           adding more entries to the docs and fix small doc-bugs
21649
21650 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21651
21652         * docs/gst/gstreamer-docs.sgml:
21653         * docs/gst/gstreamer-sections.txt:
21654         * docs/gst/gstreamer.types:
21655         * docs/gst/tmpl/gstbasesink.sgml:
21656         * docs/gst/tmpl/gstbasesrc.sgml:
21657         * docs/gst/tmpl/gstbasetransform.sgml:
21658         * docs/gst/tmpl/gstfakesrc.sgml:
21659         * gst/base/gstcollectpads.c:
21660         * gst/base/gstcollectpads.h:
21661         * libs/gst/controller/gst-controller.c:
21662         * libs/gst/controller/gst-controller.h:
21663         * libs/gst/controller/gst-helper.c:
21664         * libs/gst/controller/gst-interpolation.c:
21665         * libs/gst/controller/lib.c:
21666           added long/short desc for controller docs
21667           added collectpads base class docs
21668           added correct includes to base-class docs
21669
21670 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21671
21672         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21673         (gst_test_mono_source_set_property),
21674         (gst_test_mono_source_class_init), (GST_START_TEST),
21675         (gst_controller_suite):
21676         * docs/gst/gstreamer-docs.sgml:
21677         * docs/gst/gstreamer-sections.txt:
21678         * docs/gst/gstreamer.types:
21679         * docs/libs/gstreamer-libs-docs.sgml:
21680         * docs/libs/gstreamer-libs-sections.txt:
21681         * gst/base/gstadapter.c:
21682         * libs/gst/controller/gst-controller.c:
21683         (gst_controlled_property_new), (gst_controlled_property_free),
21684         (gst_controller_new_valist),
21685         (gst_controller_remove_properties_valist),
21686         (gst_controller_sink_values), (_gst_controller_finalize):
21687         * libs/gst/controller/gst-controller.h:
21688         * libs/gst/controller/gst-helper.c:
21689         (gst_object_control_properties), (gst_object_uncontrol_properties),
21690         (gst_object_get_controller), (gst_object_set_controller),
21691         (gst_object_sink_values), (gst_object_get_value_arrays),
21692         (gst_object_get_value_array):
21693           more tests (and fixes) for the controller
21694           more docs for the controller
21695           integrated companies docs for the adapter 
21696
21697 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21698
21699         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
21700         (GST_START_TEST), (fakesrc_suite):
21701           add tests for sizetype
21702
21703 2005-08-04  Andy Wingo  <wingo@pobox.com>
21704
21705         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
21706         fixes buffer_alloc proxying among other things.
21707
21708         * gst/base/gstbasetransform.c:
21709         * gst/base/gstbasetransform.h:
21710         Revert patch to gstbasetransform from 7-28 removing
21711         delay_configure.
21712
21713         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
21714         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
21715         Semantics changed, should return not the size of the output buffer
21716         but the byte size of a buffer with a given caps.
21717
21718         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
21719         debug object.
21720         (gst_base_transform_configure_caps): Don't set out_size here: (in,
21721         out) are not the pad caps until setcaps finishes.
21722         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
21723         not-in-place case as well. Deal with changing from in-place to
21724         not-in-place within calling pad_alloc_buffer. Still a bit
21725         concerned about the overhead here...
21726
21727 2005-08-03  Andy Wingo  <wingo@pobox.com>
21728
21729         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
21730         fixating is an error.
21731
21732 2005-08-04  Edward Hervey  <edward@fluendo.com>
21733
21734         * gst/base/gstadapter.h: 
21735         Added gst_adapter_get_type() to the header
21736
21737 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21738
21739         * check/Makefile.am:
21740         * check/gst-libs/controller.c:
21741         * libs/gst/controller/gst-controller.c:
21742         (gst_controller_new_valist):
21743           added check test suite for the controller
21744         * gst/base/gstpushsrc.c:
21745           fixed a doc typo
21746
21747 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21748
21749         * docs/gst/Makefile.am:
21750         * docs/gst/gstreamer-docs.sgml:
21751         * docs/gst/gstreamer-sections.txt:
21752         * docs/gst/gstreamer.types:
21753         * docs/gst/tmpl/gstfakesrc.sgml:
21754         * gst/base/README:
21755         * gst/base/gstbasesink.c:
21756         * gst/base/gstbasesink.h:
21757         * gst/base/gstbasesrc.c:
21758         * gst/base/gstbasesrc.h:
21759         * gst/base/gstbasetransform.c:
21760         * gst/base/gstpushsrc.c:
21761         * gst/base/gstpushsrc.h:
21762           add short/long description docs to base classes
21763           add pushsrc to the docs
21764           remove consolidated doc fragments
21765
21766 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21767
21768         * configure.ac:
21769         * docs/libs/Makefile.am:
21770         * docs/libs/gstreamer-libs-docs.sgml:
21771         * docs/libs/gstreamer-libs-sections.txt:
21772         * docs/libs/gstreamer-libs.types:
21773         * examples/Makefile.am:
21774         * examples/controller/.cvsignore:
21775         * examples/controller/Makefile.am:
21776         * examples/controller/audio-example.c: (main):
21777         * libs/gst/Makefile.am:
21778         * libs/gst/controller/.cvsignore:
21779         * libs/gst/controller/Makefile.am:
21780         * libs/gst/controller/gst-controller.c:
21781         (on_object_controlled_property_changed), (gst_timed_value_compare),
21782         (gst_timed_value_find),
21783         (gst_controlled_property_set_interpolation_mode),
21784         (gst_controlled_property_new), (gst_controlled_property_free),
21785         (gst_controller_find_controlled_property),
21786         (gst_controller_new_valist), (gst_controller_new),
21787         (gst_controller_remove_properties_valist),
21788         (gst_controller_remove_properties), (gst_controller_set),
21789         (gst_controller_set_from_list), (gst_controller_unset),
21790         (gst_controller_get), (gst_controller_get_all),
21791         (gst_controller_sink_values), (gst_controller_get_value_arrays),
21792         (gst_controller_get_value_array),
21793         (gst_controller_set_interpolation_mode),
21794         (_gst_controller_finalize), (_gst_controller_init),
21795         (_gst_controller_class_init), (gst_controller_get_type):
21796         * libs/gst/controller/gst-controller.h:
21797         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
21798         (g_object_uncontrol_properties), (g_object_get_controller),
21799         (g_object_set_controller), (g_object_sink_values),
21800         (g_object_get_value_arrays), (g_object_get_value_array):
21801         * libs/gst/controller/gst-interpolation.c:
21802         (gst_controlled_property_find_timed_value_node),
21803         (interpolate_none_get), (interpolate_trigger_get),
21804         (interpolate_trigger_get_value_array):
21805         * libs/gst/controller/lib.c: (gst_controller_init):
21806         * pkgconfig/Makefile.am:
21807         * pkgconfig/gstreamer-control-uninstalled.pc.in:
21808         * pkgconfig/gstreamer-control.pc.in:
21809         * testsuite/Makefile.am:
21810         * testsuite/controller/.cvsignore:
21811         * testsuite/controller/Makefile.am:
21812         * testsuite/controller/interpolator.c: (main):
21813           added controller code
21814           removed dparam pc files
21815
21816 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
21817         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
21818         (gst_collectpads_stop):
21819           Broadcast the condition when shutting down, to make sure we wake all
21820           threads up. Shut down pads on finalize, for safety.
21821
21822 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
21823         * gst/base/gstbasetransform.c: (gst_base_transform_init),
21824         (gst_base_transform_handle_buffer),
21825         (gst_base_transform_change_state):
21826           Handle PAUSED->READY->PAUSED transition after negotiation
21827           occurred already.
21828         * gst/gstmessage.c: (gst_message_init):
21829           Extra piece of debug for new messages.
21830
21831 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
21832
21833         * configure.ac:
21834         * docs/gst/tmpl/gstbasesrc.sgml:
21835         * docs/gst/tmpl/gstelement.sgml:
21836         * docs/gst/tmpl/gstevent.sgml:
21837         * docs/gst/tmpl/gstfakesrc.sgml:
21838         * docs/gst/tmpl/gstformat.sgml:
21839         * docs/gst/tmpl/gstghostpad.sgml:
21840         * docs/gst/tmpl/gstpad.sgml:
21841         * docs/gst/tmpl/gstquery.sgml:
21842         * docs/gst/tmpl/gststructure.sgml:
21843         * docs/gst/tmpl/gsttaglist.sgml:
21844         * docs/gst/tmpl/gstvalue.sgml:
21845         * docs/libs/gstreamer-libs-docs.sgml:
21846         * docs/libs/gstreamer-libs-sections.txt:
21847         * docs/libs/gstreamer-libs.types:
21848         * libs/gst/Makefile.am:
21849         * libs/gst/control/.cvsignore:
21850         * libs/gst/control/Makefile.am:
21851         * libs/gst/control/control.c:
21852         * libs/gst/control/control.h:
21853         * libs/gst/control/dparam.c:
21854         * libs/gst/control/dparam.h:
21855         * libs/gst/control/dparam_smooth.c:
21856         * libs/gst/control/dparam_smooth.h:
21857         * libs/gst/control/dparamcommon.h:
21858         * libs/gst/control/dparammanager.c:
21859         * libs/gst/control/dparammanager.h:
21860         * libs/gst/control/dplinearinterp.c:
21861         * libs/gst/control/dplinearinterp.h:
21862         * libs/gst/control/unitconvert.c:
21863         * libs/gst/control/unitconvert.h:
21864         * testsuite/Makefile.am:
21865         * testsuite/dynparams/.cvsignore:
21866         * testsuite/dynparams/Makefile.am:
21867         * testsuite/dynparams/dparamstest.c:
21868         * tools/Makefile.am:
21869         * tools/gst-inspect.c: (print_element_info), (main):
21870         * tools/gst-xmlinspect.c: (print_element_info), (main):
21871           deactivate and remove dparams (libgstcontrol)
21872
21873 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21874
21875         * gst/elements/gsttypefindelement.c:
21876         (gst_type_find_element_have_type), (gst_type_find_element_init),
21877         (stop_typefinding), (gst_type_find_element_handle_event),
21878         (gst_type_find_element_chain), (gst_type_find_element_getrange):
21879         * gst/elements/gsttypefindelement.h:
21880           Set caps on all outgoing buffers, not just the first one.
21881
21882 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21883
21884         * gst/elements/gsttypefindelement.c:
21885         (gst_type_find_element_have_type),
21886         (gst_type_find_element_check_set_buffer_caps),
21887         (gst_type_find_element_init), (stop_typefinding),
21888         (gst_type_find_element_handle_event),
21889         (gst_type_find_element_chain), (gst_type_find_element_getrange):
21890         * gst/elements/gsttypefindelement.h:
21891           Set caps on first outgoing buffer when we've found the type.
21892
21893 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21894
21895         * docs/gst/gstreamer-docs.sgml:
21896         * docs/gst/gstreamer-sections.txt:
21897         * docs/gst/tmpl/gstscheduler.sgml:
21898         * docs/gst/tmpl/gstschedulerfactory.sgml:
21899           Remove some old cruft from docs.
21900
21901 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
21902
21903         * gst/gstpad.h:
21904           Fix inline docs for GstPadLinkReturn.
21905           
21906         * gst/gststructure.c: (gst_structure_has_name):
21907         * gst/gststructure.h:
21908         * docs/gst/gstreamer-sections.txt:
21909           New API: gst_structure_has_name().
21910
21911 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
21912
21913         * configure.ac:
21914           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
21915           and _LARGEFILE_SOURCE in config.h as required. Do not 
21916           export those flags in our .pc files any longer (#142209).
21917
21918           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
21919
21920         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
21921         (gst_file_sink_do_seek), (gst_file_sink_event),
21922         (gst_file_sink_get_current_offset), (gst_file_sink_render):
21923           Redo seek/tell calls with large file support in mind; add some
21924           debugging messages; add log message that tells us when large
21925           file support is unavailable or not enabled for some reason.
21926
21927         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
21928           Add log message that tells us when large file support 
21929           is unavailable or not enabled for some reason.
21930
21931 2005-07-29  Wim Taymans  <wim@fluendo.com>
21932
21933         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21934         Added test for removing an element with ghostpad from a bin.
21935         Fixed test as current implementation does the right thing.
21936
21937         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
21938         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
21939         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
21940         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
21941         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
21942         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
21943         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
21944         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21945         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
21946         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
21947         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
21948         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
21949         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
21950         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
21951         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
21952         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
21953         * gst/gstghostpad.h:
21954         Clean up ghostpads, remove properties for internal stuff.
21955         Make threadsafe.
21956         Fix refcounting.
21957         Prepare for switching targets, not all use cases work yet.
21958
21959 2005-07-29  Wim Taymans  <wim@fluendo.com>
21960
21961         * docs/design/part-gstghostpad.txt:
21962         Small update.
21963
21964         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21965         (gst_bin_remove_func):
21966         Unlinking pads while holding the bin LOCK is not a good
21967         idea.
21968
21969         * gst/gstpad.c: (gst_pad_class_init),
21970         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
21971         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
21972         No prob setting template after creating the pad.
21973
21974 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
21975
21976         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
21977         (gst_bus_peek), (gst_bus_source_dispatch),
21978         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
21979         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
21980           gst_bus_poll may be called from other threads. Handle
21981           this nicely by not making poll_data disappear off the
21982           stack once gst_bus_poll returns.
21983           gst_bus_peek now increments the refcount on the returned
21984           message.
21985
21986 2005-07-29  Wim Taymans  <wim@fluendo.com>
21987
21988         * docs/design/part-gstghostpad.txt:
21989         Overview of current GhostPad datastructures and use
21990         cases for changing the target.
21991
21992 2005-07-28  Wim Taymans  <wim@fluendo.com>
21993
21994         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21995         Added checks for hierarchy consistency whan adding linked
21996         elements to bins.
21997
21998         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21999         Added check to test element scheduling without bin/pipeline.
22000
22001         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22002         First add elements to bin, then link.
22003         
22004         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
22005         (gst_bin_remove_func):
22006         Unlink pads from elements added/removed from bin to maintain
22007         hierarchy consistency.
22008
22009 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22010
22011         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
22012         (gst_base_transform_handle_buffer):
22013         * gst/base/gstbasetransform.h:
22014           Remove broken delay_configure (fixes renegotiation of software
22015           scaling pipelines); remove some leftover printf()s.
22016
22017 2005-07-28  Wim Taymans  <wim@fluendo.com>
22018
22019         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
22020         Added some more tests for wrong hierarchy
22021
22022         * docs/design/part-overview.txt:
22023         Some updates.
22024
22025         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
22026         Cleanups.
22027
22028         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
22029         (gst_element_dispose):
22030         Some more cleanups.
22031
22032         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
22033         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
22034         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22035         (gst_pad_set_caps), (gst_pad_send_event):
22036         Check for correct hierarchy when linking pads. Moving to
22037         strict requirement for ghostpads when linking elements in
22038         different bins.
22039
22040         * gst/gstpad.h:
22041         Clean ups. Added WRONG_HIERARCHY return value.
22042
22043 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22044
22045         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22046           Better debug if no transform is possible.
22047
22048 2005-07-27  Wim Taymans  <wim@fluendo.com>
22049
22050         * docs/random/wtay/network-transp:
22051         Some old doc I had.
22052
22053 2005-07-27  Wim Taymans  <wim@fluendo.com>
22054
22055         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22056         (gst_dp_event_from_packet):
22057         Fix serialization of seek events.
22058
22059 2005-07-27  Wim Taymans  <wim@fluendo.com>
22060
22061         * check/gst-libs/gdp.c: (GST_START_TEST):
22062         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22063         Fix compilation and fix event serialization.
22064
22065 2005-07-27  Wim Taymans  <wim@fluendo.com>
22066
22067         * CHANGES-0.9:
22068         * docs/design/part-TODO.txt:
22069         * docs/design/part-events.txt:
22070         Some docs updates
22071
22072         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22073         (gst_base_sink_event), (gst_base_sink_do_sync),
22074         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
22075         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22076         (gst_base_src_do_seek), (gst_base_src_event_handler),
22077         (gst_base_src_loop):
22078         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22079         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22080         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22081         (gst_base_transform_event), (gst_base_transform_handle_buffer),
22082         (gst_base_transform_set_passthrough),
22083         (gst_base_transform_is_passthrough):
22084         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22085         * gst/elements/gstfilesink.c: (gst_file_sink_event):
22086         Event updates.
22087
22088         * gst/gstbuffer.h:
22089         Use faster casts.
22090
22091         * gst/gstelement.c: (gst_element_seek):
22092         * gst/gstelement.h:
22093         Update gst_element_seek.
22094
22095         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
22096         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
22097         (gst_event_new_flush_start), (gst_event_new_flush_stop),
22098         (gst_event_new_eos), (gst_event_new_newsegment),
22099         (gst_event_parse_newsegment), (gst_event_new_tag),
22100         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
22101         (gst_event_parse_qos), (gst_event_new_seek),
22102         (gst_event_parse_seek), (gst_event_new_navigation):
22103         * gst/gstevent.h:
22104         Make GstEvent use GstStructure. Add parsing code, make sure the
22105         API is sufficiently generic.
22106         Mark possible directions of events and serialization.
22107
22108         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
22109         (_gst_message_copy), (gst_message_new_segment_start),
22110         (gst_message_new_segment_done), (gst_message_new_custom),
22111         (gst_message_parse_segment_start),
22112         (gst_message_parse_segment_done):
22113         Small cleanups.
22114
22115         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22116         (gst_pad_set_caps), (gst_pad_send_event):
22117         Update for new events. 
22118         Catch events sent in wrong directions.
22119
22120         * gst/gstqueue.c: (gst_queue_link_src),
22121         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
22122         (gst_queue_handle_src_query):
22123         Event updates.
22124
22125         * gst/gsttag.c:
22126         * gst/gsttag.h:
22127         Remove event code from this file.
22128
22129         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22130         (gst_dp_event_from_packet):
22131         Event updates.
22132
22133 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22134
22135         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
22136         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22137         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
22138           Make debugging actually useful.
22139
22140 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22141
22142         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
22143         (gst_pad_fixate_caps):
22144           Implement default fixation once again, so that gst_pad_fixate()
22145           actually does anything at all. This probably needs to be some
22146           sort of a last resort, and use profile-based fixation first, but
22147           since that doesn't exist yet, this is the best we have. Fixes
22148           visualization in Totem.
22149
22150 2005-07-22  Wim Taymans  <wim@fluendo.com>
22151
22152         * docs/design/part-events.txt:
22153         Small update.
22154
22155         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22156         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
22157         (gst_base_sink_activate_pull):
22158         Some more comments.
22159
22160         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
22161         (gst_fake_src_create):
22162         Fix handoff marshall.
22163
22164         * gst/elements/gstidentity.c: (gst_identity_class_init),
22165         (gst_identity_transform_ip):
22166         We're a real inplace element.
22167
22168         * gst/gstbus.c: (gst_bus_post):
22169         Added some comments.
22170
22171         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
22172         * tests/muxing/case1.c: (main):
22173         * tests/sched/dynamic-pipeline.c: (main):
22174         * tests/sched/interrupt1.c: (main):
22175         * tests/sched/interrupt2.c: (main):
22176         * tests/sched/interrupt3.c: (main):
22177         * tests/sched/runxml.c: (main):
22178         * tests/sched/sched-stress.c: (main):
22179         * tests/seeking/seeking1.c: (event_received), (main):
22180         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22181         (main):
22182         * tests/threadstate/threadstate3.c: (main):
22183         * tests/threadstate/threadstate4.c: (main):
22184         * tests/threadstate/threadstate5.c: (main):
22185         Fix the tests.
22186
22187 2005-07-21  Wim Taymans  <wim@fluendo.com>
22188
22189         * docs/design/part-seeking.txt:
22190         Some small additions.
22191
22192         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22193         (gst_base_sink_get_times), (gst_base_sink_do_sync),
22194         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
22195         * gst/base/gstbasesink.h:
22196         discont values are gint64, handle the math correctly.
22197
22198         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22199         Make the basesrc report error if the source pad is not linked.
22200
22201         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22202         (gst_queue_loop), (gst_queue_handle_src_query),
22203         (gst_queue_src_activate_push):
22204         Make queue collect data even if the srcpad is not linked.
22205         Start pushing out data as soon as it is linked.
22206
22207         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
22208         * gst/gstutils.h:
22209         Added gst_flow_get_name() to ease error reporting.
22210
22211 2005-07-20  Wim Taymans  <wim@fluendo.com>
22212
22213         * gst/gstmessage.c: (gst_message_new_segment_start),
22214         (gst_message_new_segment_done), (gst_message_parse_segment_start),
22215         (gst_message_parse_segment_done):
22216         * gst/gstmessage.h:
22217         Added a bunch of messages for advanced seeking.
22218
22219         * gst/parse/grammar.y:
22220         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
22221         (gst_dpman_state_changed):
22222         Fix some new-pad -> pad-added signals
22223
22224 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22225
22226         * docs/manual/appendix-porting.xml:
22227         * docs/pwg/appendix-porting.xml:
22228           Document new-pad/state-change signal renames and the FixedList
22229           type rename.
22230
22231 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22232
22233         * docs/manual/advanced-autoplugging.xml:
22234         * docs/manual/basics-helloworld.xml:
22235         * docs/manual/basics-pads.xml:
22236         * docs/random/ds/0.9-suggested-changes:
22237         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
22238         * gst/gstelement.h:
22239         * gst/gstevent.h:
22240         * gst/gstformat.h:
22241         * gst/gstquery.h:
22242         * gst/gststructure.c: (gst_structure_value_get_generic_type),
22243         (gst_structure_parse_array), (gst_structure_parse_value):
22244         * gst/gstvalue.c: (gst_type_is_fixed),
22245         (gst_value_list_prepend_value), (gst_value_list_append_value),
22246         (gst_value_list_get_size), (gst_value_list_get_value),
22247         (gst_value_transform_array_string), (gst_value_serialize_array),
22248         (gst_value_deserialize_array), (gst_value_intersect_array),
22249         (gst_value_is_fixed), (_gst_value_initialize):
22250         * gst/gstvalue.h:
22251           GstElement::new-pad -> pad-added, GstElement::state-change ->
22252           state-changed, GstValueFixedList -> GstValueArray, add format and
22253           flags as their own arguments in gst_element_seek() (should improve
22254           "bindeability"), remove function generators since they don't work
22255           under a whole bunch of compilers (they were deprecated already
22256           anyway).
22257
22258 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22259
22260         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22261         (_gst_debug_register_funcptr):
22262         * gst/gstinfo.h:
22263           Fix illegal cast on some platforms (#309253).
22264
22265 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22266
22267         * gst/gstmessage.c: (gst_message_new_custom):
22268         * gst/gstmessage.h:
22269           Add _new_custom, make _new_application a macro to _new_custom.
22270
22271 2005-07-20  Wim Taymans  <wim@fluendo.com>
22272
22273         * gst/base/gstbasesrc.c: (gst_base_src_init),
22274         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22275         * gst/base/gstbasesrc.h:
22276         Add a gboolean to decide when to push out a discont.
22277
22278         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22279         (gst_queue_loop), (gst_queue_handle_src_query),
22280         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
22281         (gst_queue_set_property), (gst_queue_get_property):
22282         Some cleanups.
22283
22284         * tests/threadstate/threadstate1.c: (main):
22285         Make a thread test compile and run... very silly..
22286
22287
22288 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22289
22290         * docs/manual/appendix-porting.xml:
22291           Mention removal of libgstgconf-0.9.la and existence of gconf
22292           elements.
22293
22294 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22295
22296         * docs/pwg/advanced-clock.xml:
22297         * docs/pwg/appendix-porting.xml:
22298         * docs/pwg/intro-preface.xml:
22299         * docs/pwg/other-base.xml:
22300         * docs/pwg/other-manager.xml:
22301         * docs/pwg/other-nton.xml:
22302         * docs/pwg/other-ntoone.xml:
22303         * docs/pwg/other-oneton.xml:
22304         * docs/pwg/pwg.xml:
22305           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
22306           demuxer), remove n-to-n (was never written), fix some code examples
22307           and links and update the porting section to include all this.
22308
22309 2005-07-19  Wim Taymans  <wim@fluendo.com>
22310
22311         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
22312         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
22313         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
22314         (gst_queue_src_activate_push), (gst_queue_change_state),
22315         (gst_queue_get_property):
22316         * gst/gstqueue.h:
22317         Propagate GstFlowReturn more intelligently upstream and output
22318         an ERROR/EOS when streaming stopped due to fatal error.
22319
22320 2005-07-19  Wim Taymans  <wim@fluendo.com>
22321
22322         * tools/gst-launch.c: (check_intr), (event_loop), (main):
22323         Don't block forever for the state change to complete, the
22324         pipeline already did with a sensible timeout.
22325
22326 2005-07-19  Wim Taymans  <wim@fluendo.com>
22327
22328         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22329         Make sure we never call the create function is we
22330         got deactivated.
22331
22332 2005-07-19  Andy Wingo  <wingo@pobox.com>
22333
22334         * gst/parse/parse.l: Attempt to solve bug #172815.
22335
22336 2005-07-19  Wim Taymans  <wim@fluendo.com>
22337
22338         * docs/design/part-clocks.txt:
22339         * docs/design/part-events.txt:
22340         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
22341         Small docs updates.
22342         Only update the seeking values when we are not
22343         busy streaming.
22344
22345 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
22346
22347         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22348           Oops, ignore the result of gst_pad_push_event here.
22349
22350 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
22351
22352         * gst/base/gstbasesrc.c: (gst_base_src_loop),
22353         (gst_base_src_activate_push):
22354           Send discont event from the loop function, as pads
22355           aren't activated yet in the activate_push handler.
22356
22357         * gst/gstbin.c: (bin_bus_handler):
22358           Don't leak element name.
22359
22360 2005-07-18  Andy Wingo  <wingo@pobox.com>
22361
22362         * configure.ac: Use AS_LIBTOOL_TAGS.
22363
22364 2005-07-18  Wim Taymans  <wim@fluendo.com>
22365
22366         * docs/gst/gstreamer.types:
22367         Remove deleted types.
22368
22369 2005-07-18  Wim Taymans  <wim@fluendo.com>
22370
22371         * check/elements/gstfakesrc.c: (GST_START_TEST):
22372         * configure.ac:
22373         * gst/Makefile.am:
22374         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
22375         (init_popt_callback):
22376         * gst/gst.h:
22377         * gst/gst_private.h:
22378         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
22379         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
22380         * gst/gstbin.h:
22381         * gst/gstbus.h:
22382         * gst/gstconfig.h.in:
22383         * gst/gstelement.c: (gst_element_class_init),
22384         (gst_element_set_base_time), (gst_element_get_base_time),
22385         (iterator_fold_with_resync), (gst_element_change_state),
22386         (gst_element_dispose), (gst_element_get_bus):
22387         * gst/gstelement.h:
22388         * gst/gstelementfactory.h:
22389         * gst/gsterror.c: (_gst_core_errors_init):
22390         * gst/gsterror.h:
22391         * gst/gstevent.h:
22392         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22393         * gst/gstindex.c:
22394         * gst/gstinfo.c: (_gst_debug_init):
22395         * gst/gstmessage.c: (_gst_message_copy):
22396         * gst/gstmessage.h:
22397         * gst/gstminiobject.h:
22398         * gst/gstobject.c:
22399         * gst/gstobject.h:
22400         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22401         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
22402         * gst/gstpad.h:
22403         * gst/gstparse.h:
22404         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22405         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22406         (gst_pipeline_get_last_stream_time):
22407         * gst/gstpipeline.h:
22408         * gst/gstpluginfeature.h:
22409         * gst/gstquery.h:
22410         * gst/gstscheduler.c:
22411         * gst/gstscheduler.h:
22412         * gst/gststructure.h:
22413         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22414         (gst_task_finalize), (gst_task_func), (gst_task_create),
22415         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
22416         (gst_task_stop), (gst_task_pause):
22417         * gst/gsttask.h:
22418         * gst/gsttypefind.h:
22419         * gst/gsttypes.h:
22420         * gst/registries/gstlibxmlregistry.c: (load_feature),
22421         (gst_xml_registry_load), (gst_xml_registry_save_feature):
22422         * gst/registries/gstxmlregistry.c:
22423         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
22424         * gst/schedulers/threadscheduler.c:
22425         * libs/gst/control/dparammanager.h:
22426         * tools/gst-inspect.c: (print_element_list),
22427         (print_plugin_features), (print_element_features):
22428         * tools/gst-xmlinspect.c: (print_element_list),
22429         (print_plugin_info), (main):
22430         Removed plugable schedulers.
22431         Removed Scheduler/Manager from elements.
22432         Removed gsttypes.h, rearranged includes.
22433         Removed dependency pad<->element, element<>pipeline, and
22434         various others,  fix includes.
22435         implement gst_pad_get_parent() with gst_object_get_parent()
22436         Make GstTask sefcontained.
22437         Fix _get_state() on GstBin, it did not return ASYNC with a 0
22438         timeout.
22439         Fix endless loop in iterator_fold_with_resync.
22440
22441
22442 2005-07-18  Wim Taymans  <wim@fluendo.com>
22443
22444         * gst/Makefile.am:
22445         * gst/gstarch.h:
22446         Remove old file.
22447
22448 2005-07-18  Wim Taymans  <wim@fluendo.com>
22449
22450         * gst/Makefile.am:
22451         No more cothreads.h
22452
22453 2005-07-18  Wim Taymans  <wim@fluendo.com>
22454
22455         * gst/cothreads.c:
22456         * gst/cothreads.h:
22457         Let's remove these.
22458
22459 2005-07-18  Wim Taymans  <wim@fluendo.com>
22460
22461         * docs/design/part-dynamic.txt:
22462         * docs/design/part-events.txt:
22463         * docs/design/part-seeking.txt:
22464         Some more docs in the works.
22465
22466         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22467         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
22468         (gst_base_transform_setcaps), (gst_base_transform_get_size),
22469         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22470         (gst_base_transform_handle_buffer),
22471         (gst_base_transform_sink_activate_push),
22472         (gst_base_transform_src_activate_pull),
22473         (gst_base_transform_set_passthrough),
22474         (gst_base_transform_is_passthrough):
22475         Refcounting fixes.
22476
22477         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
22478         Cleanups.
22479
22480         * gst/gstevent.c: (gst_event_finalize):
22481         Set SRC to NULL.
22482
22483         * gst/gstutils.c: (gst_element_unlink),
22484         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
22485         (gst_pad_proxy_setcaps):
22486         * gst/gstutils.h:
22487         Add _get_parent_element() to get a pads parent as an element.
22488
22489 2005-07-18  Wim Taymans  <wim@fluendo.com>
22490
22491         * check/gst/gstbin.c: (GST_START_TEST):
22492         Remove bogus test.
22493
22494 2005-07-18  Wim Taymans  <wim@fluendo.com>
22495
22496         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22497         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22498         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22499         (gst_base_sink_event), (gst_base_sink_do_sync),
22500         (gst_base_sink_chain), (gst_base_sink_loop),
22501         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
22502         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
22503         Refcounting fixes.
22504         Fix logic for returning ASYNC when not prerolled.
22505
22506 2005-07-18  Wim Taymans  <wim@fluendo.com>
22507
22508         * gst/gstqueue.c: (gst_queue_handle_sink_event):
22509         Fix nasty refcount bug.
22510
22511 2005-07-16 Philippe Khalaf <burger@speedy.org>
22512
22513         * gst/elements/gstfdsrc.c:
22514         * gst/elements/gstfdsrc.h:
22515         * gst/elements/gstelements.c:
22516         * gst/elements/Makefile.am:
22517         Ported fdsrc to 0.9.
22518
22519 2005-07-16  Wim Taymans  <wim@fluendo.com>
22520
22521         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22522         (gst_base_sink_do_sync):
22523         Fix compile error.
22524
22525 2005-07-16  Wim Taymans  <wim@fluendo.com>
22526
22527         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22528         (gst_base_sink_event), (gst_base_sink_get_times),
22529         (gst_base_sink_do_sync), (gst_base_sink_change_state):
22530         * gst/base/gstbasesink.h:
22531         Store and use discont values when syncing buffers as described
22532         in design docs.
22533         
22534         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22535         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
22536         (gst_base_src_activate_push):
22537         Push discont event when starting.
22538
22539         * gst/elements/gstidentity.c: (gst_identity_transform):
22540         Small cleanups.
22541
22542         * gst/gstbin.c: (gst_bin_change_state):
22543         Small cleanups in base_time  distribution.
22544
22545         * gst/gstelement.c: (gst_element_set_base_time),
22546         (gst_element_get_base_time), (gst_element_change_state):
22547         * gst/gstelement.h:
22548         Added methods for the base_time of the element.
22549         Some MT fixes.
22550
22551         * gst/gstpipeline.c: (gst_pipeline_send_event),
22552         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22553         (gst_pipeline_get_last_stream_time):
22554         * gst/gstpipeline.h:
22555         MT fixes.
22556         Handle seeking as described in design doc, remove stream_time
22557         hack.
22558         Cleanups clock and stream_time selection code. Added accessors
22559         for the stream_time.
22560         
22561
22562 2005-07-16  Andy Wingo  <wingo@pobox.com>
22563
22564         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
22565         (#305291).
22566
22567 2005-07-16  Wim Taymans  <wim@fluendo.com>
22568
22569         * check/gst/gstbin.c: (GST_START_TEST):
22570         Make elements silent as the deep_notify refs the
22571         parent, which might make the test fail.
22572
22573         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22574         Don't hold the lock for too long.
22575
22576 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
22577
22578         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
22579           Don't unref the caps we passed to gst_caps_make_writable() after
22580           passing them. gst_caps_make_writable() will do that for us.
22581
22582 2005-07-15  Andy Wingo  <wingo@pobox.com>
22583
22584         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
22585         (#157311).
22586
22587         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
22588         own marshalling function for the handoff signal. Properly type the
22589         buffer as a buffer. Fixes some warnings. Should do a more general
22590         solution.
22591         (gst_identity_class_init): Plug into the right marshaller.
22592
22593 2005-07-15  Wim Taymans  <wim@fluendo.com>
22594
22595         * docs/design/part-TODO.txt:
22596         * docs/design/part-clocks.txt:
22597         * docs/design/part-element-sink.txt:
22598         * docs/design/part-events.txt:
22599         * docs/design/part-gstpipeline.txt:
22600         Updated docs, mostly DISCONT related.
22601
22602 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
22603
22604         * docs/pwg/building-pads.xml:
22605           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
22606
22607 2005-07-15  Andy Wingo  <wingo@pobox.com>
22608
22609         * tools/gst-typefind.c: Update, add copyright block.
22610
22611         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
22612         Normalize and truncate caps before fixation.
22613
22614         * gst/gstcaps.h:
22615         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
22616         discards all but the first structure from its argument.
22617
22618 2005-07-15  Wim Taymans  <wim@fluendo.com>
22619
22620         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22621         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
22622         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22623         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22624         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
22625         (gst_base_transform_chain), (gst_base_transform_change_state),
22626         (gst_base_transform_set_passthrough),
22627         (gst_base_transform_is_passthrough):
22628         * gst/base/gstbasetransform.h:
22629         Make passthrough work using the bufferpools.
22630         Changed API a bit, subclasses have to write into a buffer
22631         provided by the base class.
22632         More debug info in nego functions.
22633         
22634         * gst/elements/gstidentity.c: (gst_identity_init),
22635         (gst_identity_transform):
22636         Port to new base class.
22637
22638 2005-07-15  Wim Taymans  <wim@fluendo.com>
22639
22640         * gst/gstmessage.c: (gst_message_new_state_changed):
22641         * tools/gst-launch.c: (event_loop), (main):
22642         Totally dump messages in -launch with the -m option.
22643         Fix message name for State messages,
22644
22645 2005-07-14  Wim Taymans  <wim@fluendo.com>
22646
22647         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22648         Post error messages on errors.
22649
22650 2005-07-14  Wim Taymans  <wim@fluendo.com>
22651
22652         * gst/gstcaps.c: (gst_caps_do_simplify):
22653         Remove debug info.
22654
22655         * gst/gsterror.h:
22656         Define error for stream stopped.
22657
22658         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22659         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
22660         Do proper return values.
22661
22662         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22663         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
22664         (gst_pad_get_range):
22665         Better return values.
22666
22667         * gst/gstpad.h:
22668         Reorganise return values, add macro to check for fatal errors.
22669
22670         * gst/gstqueue.c: (gst_queue_chain):
22671         Return proper GstFlowReturn values,
22672
22673 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
22674
22675         * docs/gst/gstreamer-sections.txt:
22676         * docs/gst/gstreamer.types:
22677         * docs/gst/tmpl/gst.sgml:
22678         * docs/gst/tmpl/gstbasesink.sgml:
22679         * docs/gst/tmpl/gstbasesrc.sgml:
22680         * docs/gst/tmpl/gstbasetransform.sgml:
22681         * docs/gst/tmpl/gstbin.sgml:
22682         * docs/gst/tmpl/gstbuffer.sgml:
22683         * docs/gst/tmpl/gstcaps.sgml:
22684         * docs/gst/tmpl/gstclock.sgml:
22685         * docs/gst/tmpl/gstcompat.sgml:
22686         * docs/gst/tmpl/gstconfig.sgml:
22687         * docs/gst/tmpl/gstelement.sgml:
22688         * docs/gst/tmpl/gstelementdetails.sgml:
22689         * docs/gst/tmpl/gstelementfactory.sgml:
22690         * docs/gst/tmpl/gstenumtypes.sgml:
22691         * docs/gst/tmpl/gsterror.sgml:
22692         * docs/gst/tmpl/gstevent.sgml:
22693         * docs/gst/tmpl/gstfakesink.sgml:
22694         * docs/gst/tmpl/gstfakesrc.sgml:
22695         * docs/gst/tmpl/gstfilesink.sgml:
22696         * docs/gst/tmpl/gstfilesrc.sgml:
22697         * docs/gst/tmpl/gstfilter.sgml:
22698         * docs/gst/tmpl/gstformat.sgml:
22699         * docs/gst/tmpl/gstghostpad.sgml:
22700         * docs/gst/tmpl/gstimplementsinterface.sgml:
22701         * docs/gst/tmpl/gstindex.sgml:
22702         * docs/gst/tmpl/gstindexfactory.sgml:
22703         * docs/gst/tmpl/gstinfo.sgml:
22704         * docs/gst/tmpl/gstiterator.sgml:
22705         * docs/gst/tmpl/gstmacros.sgml:
22706         * docs/gst/tmpl/gstmemchunk.sgml:
22707         * docs/gst/tmpl/gstminiobject.sgml:
22708         * docs/gst/tmpl/gstobject.sgml:
22709         * docs/gst/tmpl/gstpad.sgml:
22710         * docs/gst/tmpl/gstpadtemplate.sgml:
22711         * docs/gst/tmpl/gstparse.sgml:
22712         * docs/gst/tmpl/gstpipeline.sgml:
22713         * docs/gst/tmpl/gstplugin.sgml:
22714         * docs/gst/tmpl/gstpluginfeature.sgml:
22715         * docs/gst/tmpl/gstquery.sgml:
22716         * docs/gst/tmpl/gstqueue.sgml:
22717         * docs/gst/tmpl/gstregistry.sgml:
22718         * docs/gst/tmpl/gstregistrypool.sgml:
22719         * docs/gst/tmpl/gstscheduler.sgml:
22720         * docs/gst/tmpl/gstschedulerfactory.sgml:
22721         * docs/gst/tmpl/gststructure.sgml:
22722         * docs/gst/tmpl/gstsystemclock.sgml:
22723         * docs/gst/tmpl/gsttaglist.sgml:
22724         * docs/gst/tmpl/gsttagsetter.sgml:
22725         * docs/gst/tmpl/gsttrace.sgml:
22726         * docs/gst/tmpl/gsttrashstack.sgml:
22727         * docs/gst/tmpl/gsttypefind.sgml:
22728         * docs/gst/tmpl/gsttypefindfactory.sgml:
22729         * docs/gst/tmpl/gsttypes.sgml:
22730         * docs/gst/tmpl/gsturihandler.sgml:
22731         * docs/gst/tmpl/gsturitype.sgml:
22732         * docs/gst/tmpl/gstutils.sgml:
22733         * docs/gst/tmpl/gstvalue.sgml:
22734         * docs/gst/tmpl/gstversion.sgml:
22735         * docs/gst/tmpl/gstxml.sgml:
22736         * docs/libs/tmpl/gstcontrol.sgml:
22737         * docs/libs/tmpl/gstdataprotocol.sgml:
22738         * docs/libs/tmpl/gstdparam.sgml:
22739         * docs/libs/tmpl/gstdplinint.sgml:
22740         * docs/libs/tmpl/gstdpman.sgml:
22741         * docs/libs/tmpl/gstdpsmooth.sgml:
22742         * docs/libs/tmpl/gstgetbits.sgml:
22743         * docs/libs/tmpl/gstunitconvert.sgml:
22744         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
22745         (gst_push_src_base_init), (gst_push_src_class_init),
22746         (gst_push_src_init), (gst_push_src_create):
22747         * gst/base/gstpushsrc.h:
22748         * gst/elements/gstelements.c:
22749         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
22750         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
22751         (gst_fake_sink_init), (gst_fake_sink_set_property),
22752         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
22753         (gst_fake_sink_event), (gst_fake_sink_preroll),
22754         (gst_fake_sink_render), (gst_fake_sink_change_state):
22755         * gst/elements/gstfakesink.h:
22756         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
22757         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
22758         (gst_fake_src_base_init), (gst_fake_src_class_init),
22759         (gst_fake_src_init), (gst_fake_src_event_handler),
22760         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
22761         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
22762         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
22763         (gst_fake_src_create_buffer), (gst_fake_src_create),
22764         (gst_fake_src_start), (gst_fake_src_stop):
22765         * gst/elements/gstfakesrc.h:
22766         * gst/elements/gstfilesink.c: (_do_init),
22767         (gst_file_sink_base_init), (gst_file_sink_class_init),
22768         (gst_file_sink_init), (gst_file_sink_dispose),
22769         (gst_file_sink_set_location), (gst_file_sink_set_property),
22770         (gst_file_sink_get_property), (gst_file_sink_open_file),
22771         (gst_file_sink_close_file), (gst_file_sink_query),
22772         (gst_file_sink_event), (gst_file_sink_render),
22773         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
22774         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
22775         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
22776         * gst/elements/gstfilesink.h:
22777         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
22778         (gst_file_src_class_init), (gst_file_src_init),
22779         (gst_file_src_finalize), (gst_file_src_set_location),
22780         (gst_file_src_set_property), (gst_file_src_get_property),
22781         (gst_file_src_map_region), (gst_file_src_map_small_region),
22782         (gst_file_src_create_mmap), (gst_file_src_create_read),
22783         (gst_file_src_create), (gst_file_src_is_seekable),
22784         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
22785         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
22786         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
22787         (gst_file_src_uri_handler_init):
22788         * gst/elements/gstfilesrc.h:
22789           more autistic cleanliness in functions/names/defines
22790
22791 2005-07-13  Andy Wingo  <wingo@pobox.com>
22792
22793         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
22794         source couldn't negotiate.
22795
22796         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
22797         connections again.
22798
22799         * gst/gstutils.h:
22800         * gst/gstutils.c (gst_element_link_pads_filtered): New old
22801         function. I am channeling Hades. Put your boots on suckers!!!
22802
22803 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22804
22805         * testsuite/caps/Makefile.am:
22806         * testsuite/caps/value_compare.c:
22807         * testsuite/caps/value_intersect.c:
22808         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22809           move two testsuite apps over to the check dir
22810
22811 2005-07-12  Wim Taymans  <wim@fluendo.com>
22812
22813         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22814         Added more debug info in the negotiate process.
22815
22816         * gst/gstmessage.h:
22817         Prepare for segment playback.
22818
22819         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
22820         Better debugging.
22821
22822         * gst/gstutils.c:
22823         Some more docs.
22824
22825         * tools/gst-launch.c: (main):
22826         NULL pipeline on errors.
22827
22828 2005-07-12  Andy Wingo  <wingo@pobox.com>
22829
22830         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
22831         not it comes from a malloc region. Make sure our copy gets freed.
22832
22833 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22834
22835         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22836         * check/gst/gstmessage.c: (GST_START_TEST):
22837         * check/gst/gststructure.c: (GST_START_TEST),
22838         (gst_structure_suite), (main):
22839           more testing
22840         * gst/gstelement.c: (gst_element_message_full):
22841           clean up GError and debug string now that they get copied
22842         * gst/gstmessage.c: (gst_message_new_error),
22843         (gst_message_new_warning), (gst_message_parse_error),
22844         (gst_message_parse_warning):
22845           use GST_TYPE_G_ERROR for structure_new, and take copies of
22846           arguments, so that we don't mess up refcounting
22847
22848 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22849
22850         * check/Makefile.am:
22851           add per-test valgrind targets
22852         * check/gst-libs/gdp.c: (GST_START_TEST),
22853         (gst_data_protocol_suite), (main):
22854           clean up
22855
22856 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22857
22858         * check/Makefile.am:
22859           instate more valgrindable tests
22860         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22861         (GST_START_TEST), (fakesrc_suite):
22862         * check/gst/gstpad.c: (GST_START_TEST):
22863         * check/gst/gststructure.c: (GST_START_TEST):
22864           fix test leaks
22865         * docs/gst/tmpl/gstminiobject.sgml:
22866         * gst/gstpad.c: (gst_pad_finalize):
22867           fix the static mutex leak
22868
22869 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22870
22871         * check/Makefile.am:
22872           add two more tests for valgrinding
22873         * check/gst/gstvalue.c: (GST_START_TEST):
22874           test refcount of deserialized buffer, found a leak
22875         * docs/gst/gstreamer-docs.sgml:
22876         * docs/gst/gstreamer-sections.txt:
22877         * docs/gst/gstreamer.types:
22878         * docs/gst/tmpl/gstminiobject.sgml:
22879           add miniobject to docs
22880         * gst/gstminiobject.c:
22881           add some docs
22882         * gst/gstvalue.c: (gst_value_deserialize_buffer),
22883         (gst_string_unwrap):
22884           fix a hard-to-find invalid write for one of the tests
22885           fix a leak for deserialized buffers
22886
22887 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22888
22889         * docs/pwg/advanced-events.xml:
22890         * docs/pwg/advanced-request.xml:
22891         * docs/pwg/advanced-scheduling.xml:
22892         * docs/pwg/appendix-porting.xml:
22893         * docs/pwg/building-boiler.xml:
22894         * docs/pwg/intro-preface.xml:
22895         * docs/pwg/other-ntoone.xml:
22896           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
22897           of example code and explanation for pad activation, loop() and
22898           getrange() functions and a bit more. Remove old comments pointing
22899           to loop-functions.
22900         * examples/pwg/Makefile.am:
22901           Add loop/getrange examples.
22902
22903 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22904
22905         * configure.ac:
22906           check for valgrind binary + some fixes
22907         * check/gst.supp:
22908           valgrind suppressions for the tests
22909         * check/Makefile.am:
22910           add a valgrind: target that valgrinds the unit tests
22911         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
22912         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22913         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22914         * check/gst/gstghostpad.c:
22915           added some cleanup
22916         * check/gst/gstdata.c:
22917           removed
22918         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
22919         (thread_unref), (gst_mini_object_suite), (main):
22920           added
22921         * gst/gst.c: (gst_deinit):
22922         * gst/gst.h:
22923           add a method to clean up.
22924         * gst/gstsystemclock.c: (gst_system_clock_dispose),
22925         (gst_system_clock_obtain):
22926           allow for disposing the system clock.
22927         * tools/gst-launch.c: (main):
22928           deinit
22929
22930 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22931
22932         * docs/gst/tmpl/gstbasesrc.sgml:
22933         * docs/gst/tmpl/gstfakesrc.sgml:
22934         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22935         (gst_base_src_init), (gst_base_src_set_property),
22936         (gst_base_src_get_property), (gst_base_src_get_range),
22937         (gst_base_src_start):
22938         * gst/base/gstbasesrc.h:
22939           add num-buffers property
22940         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22941         (gst_fakesrc_init), (gst_fakesrc_set_property),
22942         (gst_fakesrc_get_property), (gst_fakesrc_create),
22943         (gst_fakesrc_start):
22944           remove num-buffers property
22945
22946 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22947
22948         * docs/gst/gstreamer-sections.txt:
22949         * docs/gst/tmpl/gstbasesink.sgml:
22950         * docs/gst/tmpl/gstbasesrc.sgml:
22951         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22952         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22953         (gst_base_sink_finalize), (gst_base_sink_set_clock),
22954         (gst_base_sink_set_property), (gst_base_sink_get_property),
22955         (gst_base_sink_handle_object), (gst_base_sink_event),
22956         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22957         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
22958         (gst_base_sink_loop), (gst_base_sink_deactivate),
22959         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
22960         (gst_base_sink_change_state):
22961         * gst/base/gstbasesink.h:
22962         * gst/base/gstbasesrc.h:
22963         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
22964         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22965         (gst_filesink_init):
22966           more macro splitting
22967
22968 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22969
22970         * gst/gstelement.c: (gst_element_get_bus):
22971           add debug
22972         * tools/gst-launch.c: (check_intr), (event_loop):
22973           fix bus leaks
22974
22975 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22976
22977         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
22978           fix a caps leak
22979
22980 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22981
22982         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22983         (gst_base_src_finalize):
22984           add finalize method and clean up properly
22985         * gst/gstpipeline.c: (gst_pipeline_dispose):
22986           add debug
22987
22988 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22989
22990         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
22991         (gst_bin_suite):
22992           add more things to check
22993         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22994         * gst/gstelement.c:
22995           more debug
22996
22997 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22998
22999         * check/elements/gstfakesrc.c: (chain_func), (event_func),
23000         (GST_START_TEST), (fakesrc_suite):
23001         * check/gst-libs/gdp.c: (GST_START_TEST):
23002         * check/gst/gst.c: (GST_START_TEST):
23003         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
23004         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
23005         * check/gst/gstbus.c: (GST_START_TEST):
23006         * check/gst/gstcaps.c: (GST_START_TEST):
23007         * check/gst/gstdata.c: (GST_START_TEST):
23008         * check/gst/gstelement.c: (GST_START_TEST):
23009         * check/gst/gstghostpad.c: (GST_START_TEST):
23010         * check/gst/gstiterator.c: (GST_START_TEST):
23011         * check/gst/gstmessage.c: (GST_START_TEST):
23012         * check/gst/gstobject.c: (GST_START_TEST):
23013         * check/gst/gstpad.c: (GST_START_TEST):
23014         * check/gst/gststructure.c: (GST_START_TEST):
23015         * check/gst/gstsystemclock.c: (GST_START_TEST),
23016         (gst_systemclock_suite):
23017         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
23018         * check/gst/gstvalue.c: (GST_START_TEST):
23019         * check/pipelines/cleanup.c: (GST_START_TEST):
23020         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23021         * check/states/sinks.c: (GST_START_TEST):
23022         * check/gstcheck.c: (gst_check_init):
23023         * check/gstcheck.h:
23024           add debugging category
23025           use GST_START_TEST now, so we add a debug line
23026
23027 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23028
23029         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
23030           add test for state change message on a bin
23031         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
23032           add another test
23033         * gst/gstbin.c: (gst_bin_init):
23034         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
23035         * gst/gstelement.c: (gst_element_post_message),
23036         (gst_element_set_state):
23037         * gst/gstelementfactory.c: (gst_element_factory_create):
23038         * gst/gstmessage.c: (gst_message_new):
23039         * gst/gstscheduler.c:
23040           various debugging additions and cleanups
23041
23042 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23043
23044         * check/Makefile.am:
23045         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
23046         (main):
23047           adding tests for elements
23048         * gst/gstelement.c: (gst_element_dispose):
23049
23050 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23051
23052         * gst/registries/gstlibxmlregistry.c: (load_feature):
23053           plug more leaks.  A simple gst_init() now is leakfree, yay.
23054
23055 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23056
23057         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
23058         (gst_xml_registry_load):
23059           plug another memleak
23060
23061 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23062
23063         * configure.ac:
23064           use GST_SET_ERROR_CFLAGS
23065         * docs/faq/cvs.xml:
23066           change to ERROR_CFLAGS
23067
23068 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23069
23070         * configure.ac:
23071           make GST_ERROR_CFLAGS overridable and re-enable Werror
23072         * docs/faq/cvs.xml:
23073           add a note about error CFLAGS
23074         * docs/gst/tmpl/gstfakesrc.sgml:
23075         * gst/elements/gstfakesrc.c:
23076           comment out some unused code
23077         * gst/gst.c: (split_and_iterate):
23078         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
23079         (load_feature):
23080           plug some memleaks
23081
23082 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
23083
23084         * common/Makefile.am:
23085         * common/gtk-doc.mak:
23086         * docs/gst/Makefile.am:
23087           factor out gtk-doc.mak
23088
23089 2005-07-07  Wim Taymans  <wim@fluendo.com>
23090
23091         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
23092         (gst_thread_scheduler_dispose):
23093         Unlock the STREAM_LOCK completely.
23094
23095 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
23096
23097         * check/Makefile.am:
23098         * check/elements/.cvsignore:
23099         * check/elements/gstfakesrc.c: (chain_func), (event_func),
23100         (START_TEST), (fakesrc_suite), (main):
23101         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23102         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
23103         (gst_fakesrc_create), (gst_fakesrc_start):
23104         * gst/elements/gstfakesrc.h:
23105           adding a first element test
23106
23107 2005-07-07  Andy Wingo  <wingo@pobox.com>
23108
23109         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
23110         debug message.
23111
23112 2005-07-07  Wim Taymans  <wim@fluendo.com>
23113
23114         * gst/gstquery.c:
23115         * gst/gstquery.h:
23116         Remove old types
23117
23118 2005-07-07  Wim Taymans  <wim@fluendo.com>
23119
23120         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
23121         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
23122         Allow subclasses to implement their own negotiation.
23123
23124 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
23125
23126         * docs/design/part-gstbin.txt:
23127         * docs/design/part-gstpipeline.txt:
23128           Update design notes to reflect the movement of
23129           responsibility for bus handling from GstPipeline to
23130           GstBin
23131
23132 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
23133
23134         * configure.ac:
23135           Remove unnecessary queue2/3/4 examples.
23136
23137 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
23138
23139         * examples/Makefile.am:
23140         * examples/helloworld/helloworld.c: (event_loop), (main):
23141         * examples/queue/queue.c: (event_loop), (main):
23142         * examples/queue2/queue2.c: (main):
23143           Update a couple of the examples to work again.
23144
23145         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23146         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
23147          Spelling corrections and extra debug.
23148         
23149         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
23150         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
23151         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
23152         * gst/gstbin.h:
23153         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
23154         (gst_pipeline_change_state):
23155         * gst/gstpipeline.h:
23156           Move the bus handler for children to the GstBin, and create a
23157           separate bus for receiving messages from children to the one the
23158           bus sends 'upwards' on.
23159
23160 2005-07-06  Wim Taymans  <wim@fluendo.com>
23161
23162         * gst/base/README:
23163         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23164         (gst_base_sink_handle_object), (gst_base_sink_loop),
23165         (gst_base_sink_change_state):
23166         * gst/base/gstbasesink.h:
23167         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23168         (gst_base_src_init), (gst_base_src_setcaps),
23169         (gst_base_src_getcaps), (gst_base_src_loop),
23170         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
23171         (gst_base_src_start), (gst_base_src_change_state):
23172         * gst/base/gstbasesrc.h:
23173         Make basesrc negotiate.
23174         Handle the case where preroll fails in basesink.
23175         Update README.
23176
23177 2005-07-06  Wim Taymans  <wim@fluendo.com>
23178
23179         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
23180         Implement the fixate function.
23181         Clean up acceptcaps.
23182
23183 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23184
23185         * docs/pwg/building-filterfactory.xml:
23186         * docs/pwg/pwg.xml:
23187           Remove never-written filter-factory chapter; I'll add the various
23188           base classes to part 4 ("other element types") later on.
23189
23190 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23191
23192         * docs/pwg/advanced-negotiation.xml:
23193         * docs/pwg/building-boiler.xml:
23194         * docs/pwg/building-pads.xml:
23195         * docs/pwg/pwg.xml:
23196         * examples/pwg/Makefile.am:
23197           Add a chapter on caps negotiation, simplify the original code
23198           samples a bit w.r.t. caps negotiation, add link to the advanced
23199           section. Add a bunch of examples showing different use cases of
23200           different types of caps negotiation. Upstream renegotiation isn't
23201           fully documented yet since nobody knows how that works.
23202
23203 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23204
23205         * check/gst/gstpad.c:
23206         * check/gstcheck.c:
23207         * gst/gstpad.c: (gst_pad_get_internal_links_default):
23208           if pad has no parent, return NULL as list of internal links
23209
23210 2005-07-05  Andy Wingo  <wingo@pobox.com>
23211
23212         * gst/elements/gstfilesrc.c:
23213         * gst/elements/gstfakesrc.c: 
23214         * gst/base/gstpushsrc.c:
23215         * gst/base/gstbasesrc.h: 
23216         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
23217         
23218 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
23219
23220         * Makefile.am:
23221           better report generation target (lcov needs a patch)
23222
23223 2005-07-05  Andy Wingo  <wingo@pobox.com>
23224
23225         * gst/elements, testsuite: Null if we got it...
23226
23227 2005-07-05  Wim Taymans  <wim@fluendo.com>
23228
23229         * configure.ac:
23230         * libs/gst/dataprotocol/Makefile.am:
23231         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
23232         * libs/gst/dataprotocol/dataprotocol.h:
23233         * pkgconfig/Makefile.am:
23234         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
23235         * pkgconfig/gstreamer-dataprotocol.pc.in:
23236         Ported dataprotol to 0.9. 
23237         Added pkgconfig files.
23238
23239 2005-07-05  Andy Wingo  <wingo@pobox.com>
23240
23241         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
23242         Default to returning TRUE for the case when tranform_caps returns
23243         a fixed caps, like for identity or volume.
23244
23245         * check/gst/gstbus.c (pound_bus_with_messages): 
23246         * check/gst/gstmessage.c (START_TEST): 
23247         * check/pipelines/simple_launch_lines.c (got_handoff): Application
23248         message API change.
23249
23250         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
23251         logic weaks here: always run transform_caps, trying passthrough
23252         operation only if the original caps intersects with the transform.
23253
23254         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
23255         source and sink caps.
23256
23257         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
23258         Intersect the peer caps with the pad template before going into
23259         transform_caps.
23260         (gst_base_transform_transform_caps): More debugging.
23261
23262         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
23263         src argument.
23264
23265 2005-07-04  Edward Hervey  <edward@fluendo.com>
23266
23267         * gst/gstutils.c:
23268         * gst/gstutils.h:
23269         (gst_pad_add_*_probe): now returns the signal id for better wrapping
23270         in bindings.
23271
23272 2005-07-04  Andy Wingo  <wingo@pobox.com>
23273
23274         * check/gst/gstpad.c: Only set explicit caps on pads.
23275
23276 2005-07-01  Andy Wingo  <wingo@pobox.com>
23277
23278         * tests/network-clock.scm: Commentary update.
23279
23280         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
23281         Didn't really make sense, not implementable with basetransform,
23282         etc.
23283         (gst_identity_transform): Unref inbuf via make_writable. Feeble
23284         attempt at implementing the sync property, needs an unlock method.
23285
23286         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
23287         New func, by default returns the same caps (the identity
23288         transformation).
23289         (gst_base_transform_getcaps): Uses transform_caps to return
23290         something sensible.
23291         (gst_base_transform_setcaps): Complicated logic to get caps on
23292         both pads, even if they are different, and to call set_caps once
23293         for every time both pads get their caps set.
23294         (gst_base_transform_handle_buffer): Give the ref to the transform
23295         function. Allows in-place modification of the buffer.
23296
23297         * gst/base/gstbasetransform.h (transform_caps): New class method.
23298         Given caps on one side, what can I do on the other.
23299         (set_caps): Take two caps, one for each side of the element.
23300
23301         * gst/gstpad.h:
23302         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
23303         caps in place. This is safe because we can check the mutability of
23304         the caps, and a good idea because fixate functions are just called
23305         as a matter of last resort. (Not actually implemented.)
23306         (gst_pad_set_caps): If the caps we're setting is actually the same
23307         as the existing pad caps, just update the pointer without calling
23308         setcaps. Assert that caps is either NULL or fixed, as per the
23309         docs.
23310
23311         * gst/gstghostpad.c: Update for fixate changes.
23312
23313 2005-07-02  Andy Wingo  <wingo@pobox.com>
23314
23315         * gst/gstcaps.c:
23316         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
23317         two refcounts makes it immutable, which is enough. Doc more.
23318
23319 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
23320
23321         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
23322           Put the mini_object into GValue as a mini_object,
23323           not a gpointer, since that's how we declared
23324           the signal.
23325
23326 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23327
23328         * examples/pwg/Makefile.am:
23329           Fix buildbot again.
23330
23331 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23332
23333         * docs/pwg/building-testapp.xml:
23334           Add extra check.
23335         * examples/pwg/Makefile.am:
23336           Fix buildbot.
23337
23338 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23339
23340         * configure.ac:
23341         * examples/Makefile.am:
23342         * examples/pwg/Makefile.am:
23343         * examples/pwg/extract.pl:
23344           Enable building the PWG examples.
23345         * docs/pwg/advanced-interfaces.xml:
23346           Add URI interface stub.
23347         * docs/pwg/advanced-types.xml:
23348         * docs/pwg/other-autoplugger.xml:
23349         * docs/pwg/appendix-porting.xml:
23350         * docs/pwg/pwg.xml:
23351           Add porting guide (mostly stubs), remove autoplugging (see ADM).
23352         * docs/pwg/building-boiler.xml:
23353         * docs/pwg/building-chainfn.xml:
23354         * docs/pwg/building-pads.xml:
23355         * docs/pwg/building-props.xml:
23356         * docs/pwg/building-state.xml:
23357         * docs/pwg/building-testapp.xml:
23358           Update the building-*.xml parts for 0.9 changes. All examples
23359           code blocks compile in examples/pwg/*.
23360
23361 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23362
23363         * docs/manual/advanced-autoplugging.xml:
23364         * docs/manual/appendix-checklist.xml:
23365         * docs/manual/appendix-integration.xml:
23366         * docs/manual/highlevel-components.xml:
23367           Fix playbin/decodebin examples, update docs a bit, mention bus
23368           instead of signals in various places, mention kmplayer and
23369           kaffeine since they have a working GStreamer backend in the KDE
23370           section.
23371
23372 2005-06-30  Wim Taymans  <wim@fluendo.com>
23373
23374         * CHANGES-0.9:
23375         * docs/design/draft-ghostpads.txt:
23376         * docs/design/draft-push-pull.txt:
23377         * docs/design/draft-query.txt:
23378         * docs/design/part-TODO.txt:
23379         * docs/design/part-query.txt:
23380         Added CHANGES-0.9 doc, updated status of other docs.
23381         
23382         * gst/gstquery.h:
23383         Remove "hmm" macro
23384
23385 2005-06-30  Wim Taymans  <wim@fluendo.com>
23386
23387         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23388         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
23389         (gst_base_sink_change_state):
23390         * gst/base/gstbasesink.h:
23391         Some tweaks, only EOS and a buffer complete a preroll.
23392
23393 2005-06-30  Andy Wingo  <wingo@pobox.com>
23394
23395         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
23396         activate_push down to the internal pad as well.
23397
23398 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
23399
23400         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23401
23402         * gst/gsttaginterface.c:
23403           Some documentation fixes (#307394 and #307397).
23404
23405 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
23406
23407         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23408
23409         * gst/gstvalue.c: (gst_value_intersect_list):
23410           Fix memleak (#309125).
23411
23412 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23413
23414         * docs/manual/advanced-dataaccess.xml:
23415           Fix fakesrc example to compile; doesn't work, bug somewhere...?
23416         * docs/manual/basics-pads.xml:
23417           Add reference for filtered caps to above chapter.
23418
23419 2005-06-30  Wim Taymans  <wim@fluendo.com>
23420
23421         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
23422         (gst_bin_change_state):
23423         Probes are gone.
23424         Lame attempt at making the state change function a bit
23425         more readable.
23426
23427 2005-06-30  Wim Taymans  <wim@fluendo.com>
23428
23429         * docs/design/part-clocks.txt:
23430         * docs/design/part-element-sink.txt:
23431         * docs/design/part-events.txt:
23432         * docs/design/part-preroll.txt:
23433         * docs/design/part-states.txt:
23434         Some more tweeks and additions to the docs.
23435
23436 2005-06-30  Wim Taymans  <wim@fluendo.com>
23437
23438         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23439         (default_have_data), (gst_pad_class_init), (gst_pad_init),
23440         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23441         (gst_pad_check_pull_range), (gst_pad_get_range),
23442         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
23443         * gst/gstpad.h:
23444         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
23445         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23446         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23447         (gst_pad_remove_buffer_probe):
23448         Removed atomic operations, use existing LOCK.
23449         Move exception handling out of main code path.
23450
23451 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23452
23453         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23454         (silly_return_true_function), (gst_pad_class_init),
23455         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23456         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
23457         (gst_pad_send_event):
23458           Fix accumulator, add default value by using _emitv() instead
23459           of _emit() for signal emission.
23460
23461 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23462
23463         * docs/manual/advanced-dataaccess.xml:
23464         * examples/manual/Makefile.am:
23465           Add probe example.
23466         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
23467           Make work (??).
23468
23469 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
23470
23471         * gst/elements/gstfilesink.c: (gst_filesink_render):
23472           Simplify code so that we don't have to handle short
23473           writes and return GST_FLOW_ERROR if an error occured.
23474
23475 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23476
23477         * docs/gst/gstreamer-docs.sgml:
23478           Remove probes more.
23479
23480 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23481
23482         * docs/gst/gstreamer-sections.txt:
23483         * docs/gst/tmpl/gstpad.sgml:
23484         * docs/gst/tmpl/gstprobe.sgml:
23485         * gst/Makefile.am:
23486         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23487         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
23488         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23489         (gst_pad_push_event), (gst_pad_send_event):
23490         * gst/gstpad.h:
23491         * gst/gstutils.c: (gst_pad_add_data_probe),
23492         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23493         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23494         (gst_pad_remove_buffer_probe):
23495         * gst/gstutils.h:
23496           Remove old probes, add new g-signal-based probes and some utility
23497           functions.
23498
23499 2005-06-29  Edward Hervey  <edward@fluendo.com>
23500
23501         * gst/gstelementfactory.c:
23502         * gst/gstutils.h:
23503         * gst/gstutils.c:
23504         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
23505         the definition to the header file.
23506
23507 2005-06-29  Andy Wingo  <wingo@pobox.com>
23508
23509         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
23510         plugins from the source directory.
23511
23512 2005-06-29  Wim Taymans  <wim@fluendo.com>
23513
23514         * docs/gst/tmpl/gstbuffer.sgml:
23515         * docs/gst/tmpl/gstclock.sgml:
23516         Some fixings for blantently wrong text.
23517
23518 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23519
23520         * check/Makefile.am:
23521         * gst/gst.c: (add_path_func), (init_pre):
23522         * gst/gstregistry.c: (gst_registry_add_path):
23523           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
23524           only scan the GST_PLUGIN_PATH locations, and not add
23525           system locations
23526
23527 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23528
23529         * docs/gst/gstreamer-sections.txt:
23530         * docs/gst/tmpl/gstbasesrc.sgml:
23531         * gst/gstelement.c:
23532         * gst/gstelement.h:
23533         * gst/gstevent.c:
23534         * gst/gstutils.c:
23535           doc fixes
23536
23537 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23538
23539         * docs/manual/advanced-autoplugging.xml:
23540           Fix autoplugging example.
23541
23542 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23543
23544         * docs/manual/advanced-autoplugging.xml:
23545         * docs/manual/mime-world.fig:
23546           Try to get autoplugging working, fix type detection. Fix text
23547           in hello-world image.
23548
23549 2005-06-29  Wim Taymans  <wim@fluendo.com>
23550
23551         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23552         (gst_base_sink_change_state):
23553         Small debug line.
23554
23555         * gst/gstclock.h:
23556         map SIGNAL and BROADCAST to the right function.
23557
23558         * gst/gstobject.h:
23559         Remove redundant braces.
23560
23561         * gst/gstpad.c: (gst_pad_set_caps):
23562         Don't call setcaps function when reseting caps to NULL.
23563
23564         * gst/gstsystemclock.c: (gst_system_clock_dispose),
23565         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
23566         (gst_system_clock_id_unschedule):
23567         Use BROADCAST as this is what we do.
23568
23569 2005-06-29  Wim Taymans  <wim@fluendo.com>
23570
23571         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23572         We are actually prerolling before commiting the state
23573         change. 
23574
23575 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23576
23577         * docs/manual/advanced-clocks.xml:
23578         * docs/manual/advanced-interfaces.xml:
23579         * docs/manual/advanced-metadata.xml:
23580         * docs/manual/advanced-position.xml:
23581         * docs/manual/advanced-schedulers.xml:
23582         * docs/manual/advanced-threads.xml:
23583         * docs/manual/appendix-porting.xml:
23584         * docs/manual/basics-bins.xml:
23585         * docs/manual/basics-bus.xml:
23586         * docs/manual/basics-elements.xml:
23587         * docs/manual/basics-helloworld.xml:
23588         * docs/manual/basics-pads.xml:
23589         * docs/manual/highlevel-components.xml:
23590         * docs/manual/manual.xml:
23591         * docs/manual/thread.fig:
23592           Update (until threads/scheduling) Application Development Manual;
23593           remove GstThread, add GstBus, add simple porting checklist, add
23594           documentation for tag writing, clocks, make all examples until this
23595           part compile and run.
23596         * examples/manual/Makefile.am:
23597           Update from changes to Application Development Manual; add bus
23598           example, remove thread example.
23599
23600 2005-06-28  Wim Taymans  <wim@fluendo.com>
23601
23602         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
23603         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
23604         (gst_bus_source_dispatch):
23605         Add debugging messages.
23606         Make internal methods static.
23607         Handle the case where the bus is flushed in the handler.
23608         
23609         * gst/gstelement.c: (gst_element_get_bus):
23610         Fix refcount in _get_bus();
23611
23612         * gst/gstpipeline.c: (gst_pipeline_change_state),
23613         (gst_pipeline_get_clock_func):
23614         Clock refcounting fixes.
23615         Handle the case where preroll timed out more gracefully.
23616         
23617         * gst/gstsystemclock.c: (gst_system_clock_dispose):
23618         Clean up the internal thread in dispose. This is needed
23619         for subclasses that actually get disposed.
23620         
23621         * gst/schedulers/threadscheduler.c:
23622         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23623         (gst_thread_scheduler_dispose):
23624         Free thread pool in dispose.
23625
23626 2005-06-28  Andy Wingo  <wingo@pobox.com>
23627
23628         * tests/network-clock-utils.scm (debug, print-event): New utils.
23629
23630         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
23631         (*packet-loss*): Unified loss probability.
23632         (network-time): Report out-of-band events.
23633
23634         * tests/plot-data: Add support for out-of-band events. Hack it
23635         into this script instead of passing it down the pipe; should fix
23636         this later.
23637
23638 2005-06-28  Wim Taymans  <wim@fluendo.com>
23639
23640         * docs/gst/gstreamer.types:
23641         * docs/gst/tmpl/gstbasesrc.sgml:
23642         * docs/gst/tmpl/gstpad.sgml:
23643         Docs fixes.
23644
23645 2005-06-28  Wim Taymans  <wim@fluendo.com>
23646
23647         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23648         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
23649         (gst_proxy_pad_do_fixatecaps):
23650         Correctly proxy the check_pull_range function.
23651
23652 2005-06-28  Andy Wingo  <wingo@pobox.com>
23653
23654         * tests/network-clock.scm: Removed need for slib.
23655         
23656 2005-06-28  Wim Taymans  <wim@fluendo.com>
23657
23658         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
23659         (gst_basesink_preroll_queue_flush):
23660         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
23661         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
23662         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23663         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23664         (gst_proxy_pad_set_property):
23665         * gst/gstpad.c:
23666         * gst/gstpad.h:
23667         * gst/gstqueue.c: (gst_queue_init):
23668         The deprecated pad loop function is removed now.
23669
23670 2005-06-28  Andy Wingo  <wingo@pobox.com>
23671
23672         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
23673         New parameters, simulate network packet loss.
23674
23675         * tests/network-clock-utils.scm: Initialize the RNG.
23676
23677 2005-06-28  Wim Taymans  <wim@fluendo.com>
23678
23679         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
23680         (gst_basesink_event), (gst_basesink_deactivate):
23681         Flushing the preroll queue always needs to unlock the waiters.
23682
23683 2005-06-28  Edward Hervey  <edward@fluendo.com>
23684
23685         * gst/gstpipeline.c: (gst_pipeline_send_event): 
23686         Wheen a seek was successful on a pipeline, set the stream_time to the
23687         seek offset in order to have a synchronized stream_time.
23688
23689 2005-06-28  Wim Taymans  <wim@fluendo.com>
23690
23691         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23692         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
23693         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
23694         (gst_proxy_pad_do_fixatecaps):
23695         Call wrapper function instead of just calling the function
23696         pointers. This takes care of any locking and whatmore.
23697
23698 2005-06-28  Wim Taymans  <wim@fluendo.com>
23699
23700         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
23701         (gst_pad_pull_range):
23702         * gst/gstpad.h:
23703         CONNECTED -> LINKED.
23704
23705 2005-06-28  Andy Wingo  <wingo@pobox.com>
23706
23707         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
23708         source-munging commit!!!
23709
23710         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
23711         (gst_object_sink): Take gpointer arguments, not GstObject --
23712         avoids casts. Like GLib.
23713
23714         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
23715         activate.
23716
23717 2005-06-27  Andy Wingo  <wingo@pobox.com>
23718
23719         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
23720         remaining buffer.
23721
23722         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
23723         returns a sorted copy of the trace list.
23724         (gst_alloc_trace_print_live): New API, only prints traces with
23725         live objects. Sort the list.
23726         (gst_alloc_trace_print_all): Sort the list.
23727         (gst_alloc_trace_print): Align columns.
23728
23729         * gst/elements/gstttypefindelement.c:
23730         * gst/elements/gsttee.c:
23731         * gst/base/gstbasesrc.c:
23732         * gst/base/gstbasesink.c:
23733         * gst/base/gstbasetransform.c:
23734         * gst/gstqueue.c: Adapt for pad activation changes.
23735
23736         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
23737         sched.
23738         (gst_pipeline_dispose): Drop ref on sched.
23739
23740         * gst/gstpad.c (gst_pad_init): Set the default activate func.
23741         (gst_pad_activate_default): Push mode by default.
23742         (pre_activate_switch, post_activate_switch): New stubs, things to
23743         do before and after switching activation modes on pads.
23744         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
23745         the pad's activate function to choose which mode to activate.
23746         Shortcut on deactivation and call the right function directly.
23747         (gst_pad_activate_pull): New API, (de)activates a pad in pull
23748         mode.
23749         (gst_pad_activate_push): New API, same for push mode.
23750         (gst_pad_set_activate_function) 
23751         (gst_pad_set_activatepull_function) 
23752         (gst_pad_set_activatepush_function): Setters for new API.
23753
23754         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
23755         Trace all miniobjects.
23756         (gst_mini_object_make_writable): Unref the arg if we copy, like
23757         gst_caps_make_writable.
23758
23759         * gst/gstmessage.c (_gst_message_initialize): No trace init.
23760
23761         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
23762         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
23763         Adapt for new pad API.
23764
23765         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
23766
23767         * gst/gstelement.h:
23768         * gst/gstelement.c (gst_element_iterate_src_pads) 
23769         (gst_element_iterate_sink_pads): New API functions.
23770         
23771         * gst/gstelement.c (iterator_fold_with_resync): New utility,
23772         should fold into gstiterator.c in some form.
23773         (gst_element_pads_activate): Simplified via use of fold and
23774         delegation of decisions to gstpad->activate.
23775
23776         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
23777         help in debugging.
23778
23779         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
23780         class once in init, like gstmessage. Didn't run into this issue
23781         but it seems correct. Don't initialize a trace, gstminiobject does
23782         that.
23783
23784         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
23785         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
23786         to the bus.
23787         (assert_live_count): New util function, uses alloc traces to check
23788         cleanup.
23789
23790         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
23791         To be modified when unlink drops the internal pad.
23792
23793 2005-06-27  Wim Taymans  <wim@fluendo.com>
23794
23795         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
23796         (gst_bin_change_state):
23797         Cleanup the get_state() function a little, make sure it
23798         iterates the same set of elements.
23799         Added stub iterate_state_order().
23800
23801 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
23802
23803         * docs/gst/gstreamer-docs.sgml:
23804         * docs/gst/gstreamer-sections.txt:
23805         * docs/gst/gstreamer.types:
23806         * docs/gst/tmpl/gstbasesink.sgml:
23807         * docs/gst/tmpl/gstbasesrc.sgml:
23808         * docs/gst/tmpl/gstbasetransform.sgml:
23809         * docs/gst/tmpl/gstelement.sgml:
23810         * docs/gst/tmpl/gstiterator.sgml:
23811         * gst/base/gstbasesrc.c:
23812         * gst/base/gstbasesrc.h:
23813         * gst/base/gstbasetransform.h:
23814         * gst/gstelement.c:
23815         * gst/gstiterator.h:
23816           adding basetransform and iterator docs
23817
23818 2005-06-27  Andy Wingo  <wingo@pobox.com>
23819
23820         * docs/design/part-activation.txt: Notes on how activation should
23821         work -- not quite implemented yet.
23822
23823 2005-06-25  Wim Taymans  <wim@fluendo.com>
23824
23825         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
23826         At least get the chain function correct, needs more
23827         fixing.
23828
23829 2005-06-25  Wim Taymans  <wim@fluendo.com>
23830
23831         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23832         (gst_basesink_handle_object), (gst_basesink_event),
23833         (gst_basesink_do_sync), (gst_basesink_handle_event),
23834         (gst_basesink_change_state):
23835         * gst/gsttask.h:
23836         Right, two problems here: ghostpads don't take locks and
23837         glib _rec_mutex_lock_full() with depth==0 still locks.
23838         Catch illegal locking and g_warn them.
23839
23840 2005-06-25  Wim Taymans  <wim@fluendo.com>
23841
23842         * check/states/sinks.c: (START_TEST), (gst_object_suite):
23843         Have to check for completion now...
23844
23845 2005-06-25  Wim Taymans  <wim@fluendo.com>
23846
23847         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23848         (gst_basesink_handle_object), (gst_basesink_event),
23849         (gst_basesink_do_sync), (gst_basesink_handle_event),
23850         (gst_basesink_change_state):
23851         * gst/gstpad.h:
23852         Unlock STREAM_LOCK whatever the recursion was.
23853
23854 2005-06-25  Wim Taymans  <wim@fluendo.com>
23855
23856         * gst/base/gstbasesink.c: (gst_basesink_set_property),
23857         (gst_basesink_preroll_queue_empty),
23858         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
23859         (gst_basesink_event), (gst_basesink_do_sync),
23860         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
23861         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
23862         (gst_basesink_change_state):
23863         Reworked the base sink, handle event and buffer serialisation
23864         correctly and removed possible deadlock.
23865         Handle EOS correctly.
23866
23867 2005-06-25  Wim Taymans  <wim@fluendo.com>
23868
23869         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
23870         (gst_pipeline_change_state):
23871         * tools/gst-launch.c: (check_intr), (event_loop), (main):
23872         Allow elements to post EOS in the state change function.
23873         Fix up -launch, make it exit the poll loop when the
23874         pipeline actually changed state.
23875         Fix up warning parsing in -launch.
23876
23877 2005-06-25  Wim Taymans  <wim@fluendo.com>
23878
23879         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
23880         (gst_tee_sink_activate):
23881         Core takes STREAM_LOCK for us now.
23882
23883 2005-06-25  Wim Taymans  <wim@fluendo.com>
23884
23885         * gst/gstelement.c: (gst_element_get_state_func),
23886         (gst_element_set_state):
23887         * gst/gstelement.h:
23888         * gst/gstmessage.c: (gst_message_parse_error),
23889         (gst_message_parse_warning):
23890         Keep track of current target state while performing a state
23891         change so that subclasses can do something interesting.
23892         Fix parsing of warning/error messages when GError is NULL.
23893
23894 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
23895
23896         * docs/gst/Makefile.am:
23897         * docs/gst/gstreamer-docs.sgml:
23898         * docs/gst/gstreamer-sections.txt:
23899         * docs/gst/gstreamer.types:
23900         * docs/gst/tmpl/gstbasesink.sgml:
23901         * docs/gst/tmpl/gstbasesrc.sgml:
23902         * docs/gst/tmpl/gstbin.sgml:
23903         * docs/gst/tmpl/gstcompat.sgml:
23904         * docs/gst/tmpl/gstfakesink.sgml:
23905         * docs/gst/tmpl/gstfakesrc.sgml:
23906         * docs/gst/tmpl/gstfilesink.sgml:
23907         * docs/gst/tmpl/gstfilesrc.sgml:
23908         * docs/gst/tmpl/gstindex.sgml:
23909         * docs/manual/appendix-quotes.xml:
23910         * gst/base/gstbasesrc.h:
23911         * gst/elements/gstfakesrc.h:
23912         * gst/gstmessage.h:
23913           start pulling in base classes and elements in our docs
23914
23915 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
23916
23917         * docs/gst/Makefile.am:
23918         * docs/libs/Makefile.am:
23919           fixed make distcheck with gtk-doc 1.3
23920
23921 2005-06-23  Wim Taymans  <wim@fluendo.com>
23922
23923         * gst/gstelement.c: (gst_element_get_state_func),
23924         (gst_element_set_state), (gst_element_change_state):
23925         When the state did not change, also report NO_PREROLL
23926         when it matters.
23927
23928 2005-06-23  Wim Taymans  <wim@fluendo.com>
23929
23930         * gst/gstpad.c: (gst_pad_event_default):
23931         * gst/gstqueue.c: (gst_queue_loop):
23932         No unsafe task pausing please.
23933
23934 2005-06-23  Wim Taymans  <wim@fluendo.com>
23935
23936         * gst/schedulers/threadscheduler.c:
23937         (gst_thread_scheduler_task_start),
23938         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
23939         Ref the task before pushing it on the threadpool. This
23940         makes sure that we have a ref when the threadfunction is
23941         actually called.
23942
23943 2005-06-23  Andy Wingo  <wingo@pobox.com>
23944
23945         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
23946         offset is greater than the file's size.
23947
23948         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
23949         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
23950         * gst/gstobject.c (gst_object_class_init): Make the class lock
23951         recursive. Wim won't let me drop deep_notify. Decodebin works
23952         again, whoopdy doo.
23953
23954         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
23955         internal pad, and hacks accordingly. Doesn't do it on the target
23956         pad because we change its caps. Probably catches all cases of
23957         interest tho.
23958         (gst_ghost_pad_set_property): Connect to notify::caps as
23959         appropritate.
23960
23961         * tests/network-clock.scm (plot-simulation): Pipe data to the
23962         elite python skript.
23963
23964         * tests/network-clock-utils.scm (define-parameter): New macro,
23965         defines a parameter that can be set via the command line.
23966         (set-parameter!, parse-parameter-arguments): Command line args
23967         parser.
23968
23969         * tests/plot-data: Simple matplotlib-based plotter, takes input on
23970         stdin.
23971
23972 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
23973
23974         * gst/elements/gsttypefindelement.c:
23975         (gst_type_find_element_handle_event):
23976           Don't restart typefinding on a discont.
23977         * gst/gstelement.c: (gst_element_set_state):
23978           Debug spelling fix.
23979         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
23980           Allow changing mode of an active pad.
23981           Debug output fixes.
23982         * gst/registries/gstlibxmlregistry.c: (load_feature):
23983           Don't cast a static pad template to a normal pad template.
23984
23985 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23986
23987         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23988         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23989           remove gst_strtoll completely, since it didn't actually do
23990           anything more than what g_ascii_strtoull already does.
23991           check for range errors when deserializing
23992           do a cast for the unsigned cases; but further fixing needs
23993           a decision on what the interpretation of "(int)" and
23994           deserialization should be for values that fall outside the
23995           type's boundaries (ie, refuse, or interpret as casting)
23996
23997 2005-06-23  Wim Taymans  <wim@fluendo.com>
23998
23999         * check/Makefile.am:
24000         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
24001         * docs/design/part-live-source.txt:
24002         * docs/design/part-states.txt:
24003         * gst/base/gstbasesrc.c: (gst_basesrc_init),
24004         (gst_basesrc_set_live), (gst_basesrc_is_live),
24005         (gst_basesrc_get_range), (gst_basesrc_activate),
24006         (gst_basesrc_change_state):
24007         * gst/base/gstbasesrc.h:
24008         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24009         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
24010         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
24011         * gst/gstelement.c: (gst_element_get_state_func),
24012         (gst_element_set_state):
24013         * gst/gstelement.h:
24014         * gst/gsttypes.h:
24015         * tools/gst-launch.c: (event_loop), (main):
24016         Added support for live sources and other elements that
24017         cannot do preroll.
24018         Updated design docs, added live-source design doc.
24019         Implemented live source functionality in basesrc
24020         Fix error condition in _bin_get_state()
24021         Implement live source handling in -launch.
24022         Added check for live sources.
24023         Fixed case in GstBin where elements were changed state
24024         multiple times.
24025
24026
24027 2005-06-23  Andy Wingo  <wingo@pobox.com>
24028
24029         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
24030         borken refcounting.
24031
24032         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
24033         gst_caps_replace takes care of this for us.
24034
24035         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
24036         gst_pad_set_caps on the target, not just its setcaps() function.
24037
24038         * tests/network-clock.scm: 
24039         * tests/network-clock-utils.scm: A network clock simulator.
24040         Something of an algorithmic testbed before doing something in C.
24041
24042 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24043
24044         * check/Makefile.am:
24045         * check/gst/capslist.h:
24046           copy over from 0.8, and add two with bitmasks specified with
24047           (int) 0xFF...
24048         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
24049           add test to parse everything from capslist.h
24050         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
24051         (main):
24052           add test for structure deserialization
24053         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
24054           add tests for deserialization of strings to int types
24055         * gst/gststructure.c: (gst_structure_nth_field_name):
24056         * gst/gststructure.h:
24057           add a way to get the name of a field referenced by index
24058         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
24059           instead of checking if the resulting long long lies between
24060           min and max, we check if the long long would fit into
24061           a number of bytes for the final type.
24062           This fixes cases where a string represents 2^32 - 1, which
24063           when cast to int would be the (valid) -1, but is bigger than
24064           G_MAXINT
24065
24066 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24067
24068         * gst/parse/grammar.y:
24069           add a log line for type deserialization
24070
24071 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24072
24073         * check/gst/gstvalue.c: (START_TEST):
24074         * gst/gstvalue.c: (gst_value_deserialize):
24075           return long long, not int, so gint64 deserialization actually
24076           works.  Is there any flag that makes the compiler check this ?
24077           Fixes #308559
24078
24079 2005-06-22  Wim Taymans  <wim@fluendo.com>
24080
24081         * gst/gstbuffer.h:
24082         Added convenience macros for setting buffers in GValue.
24083
24084 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24085
24086         * check/gst/.cvsignore:
24087         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
24088           add a test deserializing int64, and comment part out because
24089           it fails, yay !
24090
24091 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24092
24093         * check/Makefile.am:
24094         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
24095         * testsuite/Makefile.am:
24096         * testsuite/caps/Makefile.am:
24097         * testsuite/caps/value_serialize.c:
24098         * testsuite/test_gst_init.c:
24099           move a value_serialize test over
24100
24101 2005-06-20  Wim Taymans  <wim@fluendo.com>
24102
24103         * gst/gstpad.c:
24104         Small doc updates.
24105         
24106         * gst/gstvalue.c: (gst_value_compare_buffer),
24107         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
24108         (gst_value_compare_flags), (gst_value_serialize_flags),
24109         (gst_value_deserialize_flags), (_gst_value_initialize):
24110         Fix serialisation of buffers, they are not boxed types anymore
24111
24112 2005-06-20  Wim Taymans  <wim@fluendo.com>
24113
24114         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
24115         Testcase to show error in buffer-on-caps serialisation.
24116
24117 2005-06-20  Andy Wingo  <wingo@pobox.com>
24118
24119         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
24120         will be adding to later.
24121
24122         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
24123         if its socks fill with rocks.
24124         (gst_system_clock_obtain): Set the name on object construction.
24125         Avoid double-checked locking.
24126
24127 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
24128
24129         * gst/gsturi.c: (gst_element_make_from_uri):
24130           Fix potential endless loop.
24131
24132 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24133
24134         * check/Makefile.am:
24135           add gsttag
24136         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
24137         (main):
24138           move over from testsuite dir and clean up
24139         * configure.ac:
24140         * gst/gsttag.c:
24141         * testsuite/Makefile.am:
24142         * testsuite/tags/.cvsignore:
24143         * testsuite/tags/Makefile.am:
24144         * testsuite/tags/merge.c:
24145           remove testsuite/tags
24146
24147 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24148
24149         * docs/gst/gstreamer-sections.txt:
24150         * docs/gst/tmpl/gstenumtypes.sgml:
24151         * win32/gstenumtypes.c:
24152           clean up documentation build a little
24153
24154 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24155
24156         * check/gstcheck.h:
24157           add macros for checking refcounts on objects and caps
24158         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
24159           add some more unit tests
24160         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
24161         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
24162           fix leaked refcounts (I hope :)) so unittest works
24163         * gst/gstpad.h:
24164           whitespace removal
24165
24166 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24167
24168         * configure.ac: back to HEAD
24169
24170 === release 0.9.1 ===
24171
24172 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
24173
24174         * NEWS:
24175         * RELEASE:
24176           updated
24177
24178 2005-06-17  Andy Wingo  <wingo@pobox.com>
24179
24180         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
24181         assert; it's always possible that the pad gets deactivated in
24182         between the checks in gstpad.c and the implementation. Rely on
24183         finish_preroll() to return a FLUSHING or similar instead of on the
24184         assert.
24185         
24186         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
24187         clock and post an EOS message if we come out of finish_preroll in
24188         the playing state.
24189
24190 2005-06-16  David Schleef  <ds@schleef.org>
24191
24192         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
24193         (gst_capsfilter_set_property): Allow NULL as possible value
24194         for filter_caps property, indicating GST_CAPS_ANY.
24195
24196 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24197
24198         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
24199           fix debug output
24200         * gst/schedulers/Makefile.am:
24201           use libgst prefix
24202         * gstreamer.spec.in:
24203           fix spec for it
24204
24205 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24206
24207         * gstreamer.spec.in:
24208           clean up
24209
24210 2005-06-08  Andy Wingo  <wingo@pobox.com>
24211
24212         * gst/gstutils.c: RPAD fixes all around.
24213         (gst_element_link_pads): Refcounting fixes.
24214
24215         * tools/gst-inspect.c:
24216         * tools/gst-xmlinspect.c:
24217         * parse/grammar.y:
24218         * gst/base/gsttypefindhelper.c:
24219         * gst/base/gstbasesink.c:
24220         * gst/gstqueue.c: RPAD fixes.
24221
24222         * gst/gstghostpad.h:
24223         * gst/gstghostpad.c: New ghost pad implementation as full proxy
24224         pads. The tricky thing is they provide both source and sink
24225         interfaces, since they proxy the internal pad for the external
24226         pad, and vice versa. Implement with lower-level ProxyPad objects,
24227         with the interior proxy pad as a child of the exterior ghost pad.
24228         Should write a doc on this.
24229         
24230         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
24231         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
24232         gst_object API.
24233         
24234         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
24235         pads are real pads. No ghost pads in this file. Not documenting
24236         the myriad s/RPAD/PAD/ and REALIZE fixes.
24237         (gst_pad_class_init): Add properties for "direction" and
24238         "template". Both are construct-only, so they can't change during
24239         the life of the pad. Fixes properly deriving from GstPad.
24240         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
24241         derived objects, just set properties when creating the objects via
24242         g_object_new.
24243         (gst_pad_get_parent): Implement as a function, return NULL if the
24244         parent is not an element.
24245         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
24246         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
24247         
24248         * gst/gstobject.c (gst_object_class_init): Make name a construct
24249         property. Don't set it in the object init.
24250
24251         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
24252         with UNKNOWN direction.
24253         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
24254         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
24255         (gst_element_remove_pad): Remove ghost-pad special cases.
24256         (gst_element_pads_activate): Remove rpad cruft.
24257
24258         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
24259         catch the pad's-parent-not-an-element case.
24260
24261         * gst/gst.h: Include gstghostpad.h.
24262
24263         * gst/gst.c (init_post): No more real, ghost pads.
24264
24265         * gst/Makefile.am: Add gstghostpad.[ch].
24266
24267         * check/Makefile.am:
24268         * check/gst/gstbin.c:
24269         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
24270         into a bin creates ghost pads, and that the refcounts are right.
24271         Partly moved from gstbin.c.
24272
24273 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24274
24275         * check/gst-libs/.cvsignore:
24276         * check/gst/.cvsignore:
24277         * check/pipelines/.cvsignore:
24278           ignore more
24279         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
24280         (START_TEST), (cleanup_suite), (main):
24281           add some tests related to cleanup after running pipelines
24282
24283 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24284
24285         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
24286           add a testsuite for GstBuffer
24287
24288 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24289
24290         * gst/gstminiobject.h:
24291           add defines for accessing the refcount
24292
24293 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
24294
24295         * Makefile.am: added support for html unit test coverage reports
24296
24297 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
24298
24299         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24300           Free existing caps if the capsfilter changes. Add a FIXME about
24301           setting those caps on the pads.
24302
24303         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
24304           Before adding a ghost pad to a parent bin, check that there isn't
24305           already one for the element on the bin. Prevents infinite recursion
24306           when using decodebin in parse pipelines. Andy says he'll rewrite the
24307           way this works anyway, so ignore the hack.
24308
24309 2005-06-02  Andy Wingo  <wingo@pobox.com>
24310
24311         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
24312         file size, pass it on to the type find helper.
24313
24314         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
24315         segment_start and segment_end properly according to the seek
24316         method. Segment_end is still a bit flaky because offset can be
24317         negative for CUR and END cases, but it takes -1 as an "unset"
24318         value.
24319
24320 2005-06-02  Wim Taymans  <wim@fluendo.com>
24321
24322         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
24323         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
24324         (gst_basesink_activate):
24325         * gst/base/gstbasesink.h:
24326         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24327         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24328         (gst_pad_query), (gst_pad_start_task):
24329         * gst/gstpad.h:
24330         * gst/gstqueue.c: (gst_queue_bufferalloc),
24331         (gst_queue_handle_sink_event), (gst_queue_chain):
24332         Bufferalloc: return GstFlowReturn to more accuratly report
24333         why allocation failed.
24334
24335 2005-06-02  Wim Taymans  <wim@fluendo.com>
24336
24337         * gst/gstpipeline.c: (gst_pipeline_send_event):
24338         Take snapshot of state without blocking.
24339
24340 2005-06-02  Wim Taymans  <wim@fluendo.com>
24341
24342         * docs/design/part-TODO.txt:
24343         * docs/design/part-caps.txt:
24344         * docs/design/part-clocks.txt:
24345         * docs/design/part-negotiation.txt:
24346         * docs/design/part-preroll.txt:
24347         Small doc updates 
24348
24349 2005-05-30  Wim Taymans  <wim@fluendo.com>
24350
24351         * gst/elements/gstidentity.c: (gst_identity_event),
24352         (gst_identity_transform), (gst_identity_get_property):
24353         Protect last_message property as it is accessed from
24354         multiple threads.
24355
24356 2005-05-30  Wim Taymans  <wim@fluendo.com>
24357
24358         * gst/gstelement.c: (gst_element_init),
24359         (gst_element_pads_activate), (gst_element_change_state):
24360         Slicker pad activation code.
24361
24362 2005-05-30  Wim Taymans  <wim@fluendo.com>
24363
24364         * gst/Makefile.am:
24365         * gst/gstelement.h:
24366         * gst/gstelementfactory.h:
24367         * gst/gsttypes.h:
24368         Move elementfactory methods to separate .h file.
24369
24370 2005-05-30  Wim Taymans  <wim@fluendo.com>
24371
24372         * docs/design/part-overview.txt:
24373         * gst/gstsystemclock.h:
24374         Small typo fixes, doc updates.
24375
24376 2005-05-30  Wim Taymans  <wim@fluendo.com>
24377
24378         * gst/gst.c: (gst_init_get_popt_table), (init_post),
24379         (init_popt_callback):
24380         Remove cpu-opt flag.
24381
24382 2005-05-30  Wim Taymans  <wim@fluendo.com>
24383
24384         * gst/gstbuffer.c: (gst_subbuffer_finalize),
24385         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
24386         * gst/gstbuffer.h:
24387         Avoid typechecking in places where not needed.
24388         Added accessor for malloc_data.
24389
24390 2005-05-30  Wim Taymans  <wim@fluendo.com>
24391
24392         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
24393         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
24394         (gst_pad_configure_sink), (gst_pad_configure_src),
24395         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
24396         (gst_pad_start_task):
24397         Propagate errors from _set_caps() in configure_src/sink
24398         functions instead of returning TRUE.
24399         FLUSH events can travel up and downstream
24400
24401
24402 2005-05-30  Wim Taymans  <wim@fluendo.com>
24403
24404         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24405         (gst_basesink_activate):
24406         Handle EOS in preroll.
24407
24408 2005-05-30  Wim Taymans  <wim@fluendo.com>
24409
24410         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24411         (gst_queue_loop), (gst_queue_handle_src_event):
24412         Remove old pieces of code
24413         Flushing the queue in an upstream event is a very bad idea.
24414
24415 2005-05-26  Andy Wingo  <wingo@pobox.com>
24416
24417         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
24418         gst_value_set_mini_object so as to add a ref on the object (which
24419         will be removed when the value is unset).
24420
24421         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
24422         arg type in ::handoff.
24423
24424         * gst/gstelement.c (gst_element_change_state): Also deactivate
24425         pads in READY->NULL, just in case the element didn't make it to
24426         PAUSED. Wingo tested, Wim approved.
24427
24428 2005-05-26  Wim Taymans  <wim@fluendo.com>
24429
24430         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24431         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24432         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
24433         A flushing pad cannot be used to alloc_buffer from.
24434
24435 2005-05-26  Wim Taymans  <wim@fluendo.com>
24436
24437         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
24438         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
24439         (gst_bus_source_dispatch), (gst_bus_source_finalize),
24440         (gst_bus_create_watch), (gst_bus_add_watch_full):
24441         * gst/gstbus.h:
24442         Implement a real GSource and use g_main_context_wakeup() to
24443         signal new messages instead of the socketpair.
24444
24445 2005-05-25  Wim Taymans  <wim@fluendo.com>
24446
24447         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
24448         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
24449         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24450         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24451         (gst_pad_send_event), (gst_pad_start_task):
24452         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
24453         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
24454         (gst_queue_sink_activate), (gst_queue_src_activate),
24455         (gst_queue_change_state):
24456         * gst/gstqueue.h:
24457         Fix state changes for non sinks. We now change sinks, then elements
24458         with unconnected srcpads, then the rest.
24459         More efficient queue unlocking in flush and state changes.
24460         Set the pad activate mode even if it does not have an activate
24461         function.
24462
24463 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24464
24465         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
24466           Don't go in pull mode for non-seekable sources.
24467         * gst/elements/gsttypefindelement.h:
24468         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24469         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
24470         (free_entry), (stop_typefinding),
24471         (gst_type_find_element_handle_event), (find_peek),
24472         (gst_type_find_element_chain), (do_pull_typefind),
24473         (gst_type_find_element_change_state):
24474           Allow typefinding (w/o seeking) in push-mode, simplified version
24475           of what was in 0.8.
24476         * gst/gstutils.c: (gst_buffer_join):
24477         * gst/gstutils.h:
24478           gst_buffer_join() from 0.8.
24479
24480 2005-05-25  Wim Taymans  <wim@fluendo.com>
24481
24482         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24483         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24484         (gst_pad_send_event), (gst_pad_start_task):
24485         Disable attempt at mode switching until it is figured out.
24486
24487 2005-05-25  Wim Taymans  <wim@fluendo.com>
24488
24489         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
24490         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24491         (gst_basesink_finish_preroll), (gst_basesink_chain),
24492         (gst_basesink_loop), (gst_basesink_activate),
24493         (gst_basesink_change_state):
24494         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
24495         (gst_basesrc_get_range), (gst_basesrc_loop),
24496         (gst_basesrc_activate):
24497         * gst/elements/gsttee.c: (gst_tee_sink_activate):
24498         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24499         (gst_real_pad_init), (gst_real_pad_set_property),
24500         (gst_real_pad_get_property), (gst_pad_set_active),
24501         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
24502         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
24503         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
24504         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
24505         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24506         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
24507         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
24508         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24509         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
24510         (gst_pad_stop_task):
24511         * gst/gstpad.h:
24512         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24513         (gst_queue_loop), (gst_queue_src_activate):
24514         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
24515         (gst_task_get_state):
24516         * gst/gsttask.h:
24517         * gst/schedulers/threadscheduler.c:
24518         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
24519         Implement gst_pad_pause/start/stop_task(), take STREAM lock
24520         in task function.
24521         Remove ACTIVE pad flag, use FLUSHING everywhere
24522         Added _pad_chain(), _pad_get_range() to call chain/getrange 
24523         functions.
24524         Add locks around IS_FLUSHING when reading.
24525         Take STREAM lock in chain(), get_range() functions so plugins
24526         don't need to take it anymore.
24527         
24528
24529
24530 2005-05-25  Wim Taymans  <wim@fluendo.com>
24531
24532         * tools/gst-launch.c: (event_loop):
24533         Unref message after using its contents instead of
24534         before.
24535
24536 2005-05-24  Wim Taymans  <wim@fluendo.com>
24537
24538         * docs/design/draft-ghostpads.txt:
24539         * docs/design/draft-push-pull.txt:
24540         * docs/design/draft-query.txt:
24541         * docs/design/part-overview.txt:
24542         Docs updates, added general overview doc.
24543
24544 2005-05-21  David Schleef  <ds@schleef.org>
24545
24546         * docs/gst/tmpl/old/GstBin.sgml:
24547         * docs/gst/tmpl/old/GstBuffer.sgml:
24548         * docs/gst/tmpl/old/GstCaps.sgml:
24549         * docs/gst/tmpl/old/GstClock.sgml:
24550         * docs/gst/tmpl/old/GstCompat.sgml:
24551         * docs/gst/tmpl/old/GstData.sgml:
24552         * docs/gst/tmpl/old/GstElement.sgml:
24553         * docs/gst/tmpl/old/GstEvent.sgml:
24554         * docs/gst/tmpl/old/GstIndex.sgml:
24555         * docs/gst/tmpl/old/GstStructure.sgml:
24556         * docs/gst/tmpl/old/GstTag.sgml:
24557         * docs/gst/tmpl/old/cothreads.sgml:
24558         * docs/gst/tmpl/old/cothreads_compat.sgml:
24559         * docs/gst/tmpl/old/gettext.sgml:
24560         * docs/gst/tmpl/old/gobject2gtk.sgml:
24561         * docs/gst/tmpl/old/grammar.tab.sgml:
24562         * docs/gst/tmpl/old/gst-i18n-app.sgml:
24563         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
24564         * docs/gst/tmpl/old/gst_private.sgml:
24565         * docs/gst/tmpl/old/gstaggregator.sgml:
24566         * docs/gst/tmpl/old/gstarch.sgml:
24567         * docs/gst/tmpl/old/gstatomic_impl.sgml:
24568         * docs/gst/tmpl/old/gstbufferstore.sgml:
24569         * docs/gst/tmpl/old/gstdata_private.sgml:
24570         * docs/gst/tmpl/old/gstdisksink.sgml:
24571         * docs/gst/tmpl/old/gstdisksrc.sgml:
24572         * docs/gst/tmpl/old/gstelementfactory.sgml:
24573         * docs/gst/tmpl/old/gstextratypes.sgml:
24574         * docs/gst/tmpl/old/gstfakesink.sgml:
24575         * docs/gst/tmpl/old/gstfakesrc.sgml:
24576         * docs/gst/tmpl/old/gstfdsink.sgml:
24577         * docs/gst/tmpl/old/gstfdsrc.sgml:
24578         * docs/gst/tmpl/old/gstfilesink.sgml:
24579         * docs/gst/tmpl/old/gstfilesrc.sgml:
24580         * docs/gst/tmpl/old/gsthttpsrc.sgml:
24581         * docs/gst/tmpl/old/gstidentity.sgml:
24582         * docs/gst/tmpl/old/gstindexfactory.sgml:
24583         * docs/gst/tmpl/old/gstmarshal.sgml:
24584         * docs/gst/tmpl/old/gstmd5sink.sgml:
24585         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
24586         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
24587         * docs/gst/tmpl/old/gstpadtemplate.sgml:
24588         * docs/gst/tmpl/old/gstpipefilter.sgml:
24589         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
24590         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
24591         * docs/gst/tmpl/old/gstshaper.sgml:
24592         * docs/gst/tmpl/old/gstspider.sgml:
24593         * docs/gst/tmpl/old/gstspideridentity.sgml:
24594         * docs/gst/tmpl/old/gststatistics.sgml:
24595         * docs/gst/tmpl/old/gsttee.sgml:
24596         * docs/gst/tmpl/old/gsttimecache.sgml:
24597         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
24598         * docs/gst/tmpl/old/gstxmlregistry.sgml:
24599         * docs/gst/tmpl/old/gthread-cothreads.sgml:
24600         * docs/gst/tmpl/old/types.sgml:
24601           I didn't intend to add these or check them in.
24602
24603 2005-05-19  David Schleef  <ds@schleef.org>
24604
24605         * configure.ac: Use -no-common everywhere.  In a sane world, it
24606           would be the default in libtool, because without it, you can't
24607           build DLLs on Windows.
24608         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
24609         * docs/gst/gstreamer-sections.txt:
24610         * docs/gst/tmpl/gstcpu.sgml:
24611         * docs/gst/tmpl/gstdata.sgml:
24612         * docs/gst/tmpl/gstthread.sgml:
24613
24614 2005-05-19  David Schleef  <ds@schleef.org>
24615
24616         * gst/gstminiobject.c: (gst_value_set_mini_object),
24617         (gst_value_take_mini_object), (gst_value_get_mini_object):
24618         * gst/gstminiobject.h: Add GValue set/get functions.
24619
24620 2005-05-19  Wim Taymans  <wim@fluendo.com>
24621
24622         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
24623         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
24624         (gst_subbuffer_init), (gst_buffer_is_span_fast):
24625         * gst/gstbuffer.h:
24626         * gst/gstbus.c: (gst_bus_post):
24627         * gst/gstelement.c: (gst_element_get_random_pad):
24628         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
24629         Make subbufer unref the parent in finalize.
24630         some more debugging info.
24631
24632
24633 2005-05-19  Wim Taymans  <wim@fluendo.com>
24634
24635         * gst/base/gstbasesink.c: (gst_basesink_class_init),
24636         (gst_basesink_init), (gst_basesink_finalize),
24637         (gst_basesink_activate), (gst_basesink_change_state):
24638         Don't free preroll queue too early.
24639
24640 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24641
24642         * gst/Makefile.am:
24643         * gst/ROADMAP:
24644           Hi, I'm outdated. Please shoot me.
24645
24646 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24647
24648         * gst/gstpipeline.c: (gst_pipeline_send_event):
24649           Do not access variables after they have been deleted.
24650
24651 2005-05-19  Wim Taymans  <wim@fluendo.com>
24652
24653         * tools/gst-inspect.c: (print_plugin_features):
24654         A plugin feature does unfortunatly not use the
24655         object name yet...
24656
24657 2005-05-18  Wim Taymans  <wim@fluendo.com>
24658
24659         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
24660         Port _span() functions to new subbuffers.
24661
24662 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24663
24664         * gst/gstbin.c: (gst_bin_add_func):
24665           Fix clock settery in bins when adding kids after the clock has
24666           been selected.
24667
24668 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24669
24670         * gst/elements/gstidentity.c: (gst_identity_class_init):
24671           Workaround until signals support GstMiniObject.
24672
24673 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
24674
24675         * gst/gstbuffer.c:
24676         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
24677
24678 2005-05-18  Wim Taymans  <wim@fluendo.com>
24679
24680         * gst/base/Makefile.am:
24681         * gst/base/gstadapter.c: (gst_adapter_base_init),
24682         (gst_adapter_class_init), (gst_adapter_init),
24683         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
24684         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
24685         (gst_adapter_flush), (gst_adapter_available),
24686         (gst_adapter_available_fast):
24687         * gst/base/gstadapter.h:
24688         Ported and added adapter to the base classes.
24689
24690 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
24691
24692         * gst/gst.c:
24693         * gst/gstmessage.c:
24694           Make sure the class is reffed/unreffed once before threads can be
24695           used.  Fixes #304551.
24696
24697 2005-05-17  Wim Taymans  <wim@fluendo.com>
24698
24699         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
24700         (gst_basesink_chain_unlocked), (gst_basesink_activate):
24701         * gst/gstminiobject.c: (gst_mini_object_get_type),
24702         (gst_mini_object_free):
24703         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
24704         (gst_pad_push), (gst_pad_push_event):
24705         * gst/gstqueue.c: (gst_queue_change_state):
24706         Don't queue buffers in basesink when we are flushing.
24707         Unref buffer when flushing in basesink.
24708         Flush queue when going to READY
24709         Unref buffer when _push() returns an error.
24710         Don't free MiniObject instance when refcount is incremented
24711         in _finalize() so that we can recover objects.
24712
24713 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
24714
24715         * docs/manual/advanced-schedulers.xml:
24716         * docs/manual/appendix-checklist.xml:
24717         * docs/pwg/advanced-clock.xml:
24718         * docs/pwg/advanced-interfaces.xml:
24719         * docs/pwg/advanced-request.xml:
24720         * docs/pwg/advanced-types.xml:
24721         * docs/pwg/intro-preface.xml:
24722         * examples/plugins/example.c: (gst_example_get_type),
24723         (gst_example_class_init), (gst_example_chain),
24724         (gst_example_set_property), (gst_example_get_property),
24725         (gst_example_change_state), (plugin_init):
24726         * examples/plugins/example.h:
24727           small doc fixes
24728
24729 2005-05-17  Wim Taymans  <wim@fluendo.com>
24730
24731         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
24732         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
24733         * gst/gstqueue.c: (gst_queue_change_state):
24734         Clear queue when going to READY.
24735         Remove IN_SETCAPS flag too.
24736
24737 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
24738
24739         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
24740           Remove implicit cast from gboolean to GstElementStateReturn;
24741           make sure we still return failure in paused => ready case if
24742           the parent class fails to change state and our own stop 
24743           vfunc succeeds.
24744
24745 2005-05-17  Wim Taymans  <wim@fluendo.com>
24746
24747         * tools/gst-launch.c: (event_loop):
24748         Message was unreffed too soon.
24749
24750 2005-05-16  Andy Wingo  <wingo@pobox.com>
24751
24752         * gst/gstbin.c (sink_iterator_filter): Err... um...
24753
24754         * check/gst/gstbin.c (test_ghost_pads): New test for the
24755         ghosting-if-elements-not-in-same-bin behavior.
24756
24757 2005-05-16  David Schleef  <ds@schleef.org>
24758
24759         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
24760         accessing refcount directly.
24761
24762 2005-05-15  David Schleef  <ds@schleef.org>
24763
24764         * check/Makefile.am: remove GstData checks
24765         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
24766         * gst/Makefile.am: add miniobject, remove data
24767         * gst/gst.h: add miniobject, remove data
24768         * gst/gstdata.c: remove
24769         * gst/gstdata.h: remove
24770         * gst/gstdata_private.h: remove
24771         * gst/gsttypes.h: remove GstEvent and GstMessage
24772         * gst/gstelement.c: (gst_element_post_message): fix for API changes
24773         * gst/gstmarshal.list: change BOXED -> OBJECT
24774
24775         Implement GstMiniObject.
24776         * gst/gstminiobject.c:
24777         * gst/gstminiobject.h:
24778
24779         Modify to be subclasses of GstMiniObject.
24780         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
24781         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
24782         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
24783         (gst_subbuffer_get_type), (gst_subbuffer_init),
24784         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
24785         (gst_buffer_span):
24786         * gst/gstbuffer.h:
24787         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
24788         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
24789         (_gst_event_copy), (gst_event_new):
24790         * gst/gstevent.h:
24791         * gst/gstmessage.c: (_gst_message_initialize),
24792         (gst_message_get_type), (gst_message_class_init),
24793         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
24794         (gst_message_new), (gst_message_new_error),
24795         (gst_message_new_warning), (gst_message_new_tag),
24796         (gst_message_new_state_changed), (gst_message_new_application):
24797         * gst/gstmessage.h:
24798         * gst/gstprobe.c: (gst_probe_perform),
24799         (gst_probe_dispatcher_dispatch):
24800         * gst/gstprobe.h:
24801         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
24802         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
24803         (_gst_query_copy), (gst_query_new):
24804
24805         Update elements for GstData -> GstMiniObject changes
24806         * gst/gstquery.h:
24807         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
24808         (gst_queue_chain), (gst_queue_loop):
24809         * gst/elements/gstbufferstore.c:
24810         (gst_buffer_store_add_buffer_func),
24811         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
24812         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24813         (gst_fakesink_render):
24814         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24815         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
24816         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
24817         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
24818         (gst_filesrc_create_read):
24819         * gst/elements/gstidentity.c: (gst_identity_class_init):
24820         * gst/elements/gsttypefindelement.c:
24821         (gst_type_find_element_src_event), (free_entry_buffers),
24822         (gst_type_find_element_handle_event):
24823         * libs/gst/dataprotocol/dataprotocol.c:
24824         (gst_dp_header_from_buffer):
24825         * libs/gst/dataprotocol/dataprotocol.h:
24826         * libs/gst/dataprotocol/dp-private.h:
24827
24828 2005-05-15  David Schleef  <ds@schleef.org>
24829
24830         * gst/elements/gstelements.c: Don't include headers that were
24831         just removed.
24832
24833 2005-05-15  David Schleef  <ds@schleef.org>
24834
24835         * gst/elements/Makefile.am: Remove some elements that don't
24836         need to be in the core (or even exist at all).
24837         * gst/elements/gstaggregator.c:
24838         * gst/elements/gstaggregator.h:
24839         * gst/elements/gstmd5sink.c:
24840         * gst/elements/gstmd5sink.h:
24841         * gst/elements/gstmultifilesrc.c:
24842         * gst/elements/gstmultifilesrc.h:
24843         * gst/elements/gstpipefilter.c:
24844         * gst/elements/gstpipefilter.h:
24845         * gst/elements/gstshaper.c:
24846         * gst/elements/gstshaper.h:
24847         * gst/elements/gststatistics.c:
24848         * gst/elements/gststatistics.h:
24849         * po/POTFILES.in: Remove above files.
24850
24851 2005-05-14  Andy Wingo  <wingo@pobox.com>
24852
24853         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
24854         so as to get the refs right.
24855         (sink_iterator_filter): New function, wraps bin_element_is_sink,
24856         unreffing objects that don't pass the filter.
24857
24858         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
24859         gst_element_set_bus.
24860         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
24861         normal cases, this will destroy the bus.
24862
24863         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
24864         object.
24865
24866         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
24867         has no sinks.
24868
24869 2005-05-13  Andy Wingo  <wingo@pobox.com>
24870
24871         * gst/gstutils.c (gst_element_link_pads): Instead of calling
24872         gst_pad_link, call pad_link_maybe_ghosting,
24873         (pad_link_maybe_ghosting): Links pads, making sure that the
24874         elements being linked are in the same bin.
24875         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
24876         Helpers for pad_link_maybe_ghosting.
24877
24878 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
24879
24880         * configure.ac:
24881           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
24882
24883 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
24884
24885         * docs/design/part-element-source.txt:
24886           Mention GstPushSrc
24887
24888 2005-05-12  Wim Taymans  <wim@fluendo.com>
24889
24890         * gst/base/gstbasesink.c: (gst_basesink_init),
24891         (gst_basesink_activate):
24892         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
24893         (gst_basesrc_is_seekable):
24894         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
24895         (bin_element_is_sink), (gst_bin_change_state):
24896         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24897         * gst/gstelement.h:
24898         Identify sinks by their flag to avoid overly complicated
24899         checks (fow now).
24900         Do state changes even for elements not reachable from the
24901         sinks.
24902         BaseSink is a sink now :)
24903         Some more debugging info in the basesrc.
24904
24905
24906 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24907
24908         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
24909           Implement _query on a bin, similar to _send_event.
24910
24911 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
24912
24913         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
24914           Discont event offset format should be GST_FORMAT_BYTES,
24915           not GST_FORMAT_TIME.
24916
24917 2005-05-12  Wim Taymans  <wim@fluendo.com>
24918
24919         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
24920         Same fix as Ronald's but without the signal. 
24921
24922 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24923
24924         * gst/gstutils.c: (gst_element_query_position):
24925           No, an element is not a pad.
24926
24927 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24928
24929         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
24930         (gst_bin_get_state):
24931           If a child is removed from a bin while we remove the child from
24932           the bin and while we're retrieving its state, signal this to the
24933           get_state function so we abort the wait (instead of waiting for
24934           a timeout) and can immediately re-iterate over all other elements.
24935
24936 2005-05-12  Wim Taymans  <wim@fluendo.com>
24937
24938         * gst/base/Makefile.am:
24939         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
24940         (gst_basesrc_start):
24941         * gst/base/gstbasesrc.h:
24942         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
24943         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
24944         (gst_pushsrc_init), (gst_pushsrc_create):
24945         * gst/base/gstpushsrc.h:
24946         Added is_seekable to BaseSrc
24947         Added simple PushSrc.
24948
24949 2005-05-11  Wim Taymans  <wim@fluendo.com>
24950
24951         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24952         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24953         (gst_element_link_pads), (gst_element_query_position),
24954         (gst_element_query_convert), (intersect_caps_func),
24955         (gst_pad_query_position), (gst_pad_query_convert):
24956         Fix refcounting in utils function.
24957         No point in trying to activate a pad when it's added, it could
24958         be added from the state change function and then we deadlock, the
24959         element has to decide what to do.
24960
24961 2005-05-10  Andy Wingo  <wingo@pobox.com>
24962
24963         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
24964         *all* the arguments.
24965
24966         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
24967         stream lock if it's a FLUSH_DONE; normal flushes don't get the
24968         lock (according to the docs -- if this is wrong change the docs).
24969
24970         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
24971         flush messages in the NULL state.
24972
24973         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
24974         message immediately and return.
24975         (gst_bus_set_flushing): New function. If a bus is flushing, it
24976         flushes out any queued messages and immediately unrefs new
24977         messages. This is so when an element goes to NULL, all of the
24978         unhandled messages coming from it can be freed, and their
24979         references to the element dropped. In other words: message source
24980         ref considered harmful :P
24981
24982         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
24983         we're finished with it.
24984
24985         * gst/gstmessage.c (gst_message_new_state_changed): 
24986
24987 2005-05-10  Wim Taymans  <wim@fluendo.com>
24988
24989         * gst/gstvalue.c: (gst_value_compare_flags),
24990         (gst_value_serialize_flags), (gst_value_deserialize_flags),
24991         (_gst_value_initialize):
24992         Added flags serialize/deserialize/compare code.
24993
24994 2005-05-09  Andy Wingo  <wingo@pobox.com>
24995
24996         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
24997         Intersect the peer's caps with our caps.
24998
24999 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25000
25001         * gst/base/gsttypefindhelper.c: (helper_find_peek):
25002         * gst/elements/gsttypefindelement.c: (find_peek):
25003           Handle negative offsets better. Fixes decodebin.
25004
25005 2005-05-09  Wim Taymans  <wim@fluendo.com>
25006
25007         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
25008         (gst_base_transform_event):
25009         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
25010         Implement accept_caps.
25011         Fix silly lock/unlock mismatch in base class.
25012
25013 2005-05-09  Wim Taymans  <wim@fluendo.com>
25014
25015         * docs/design/draft-push-pull.txt:
25016         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
25017         * gst/elements/gstfilesink.c: (gst_filesink_init),
25018         (gst_filesink_query):
25019         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
25020         (gst_type_find_handle_src_query), (find_element_get_length):
25021         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
25022         * gst/gstelement.h:
25023         * gst/gstmessage.c:
25024         * gst/gstmessage.h:
25025         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
25026         (gst_real_pad_get_caps_unlocked),
25027         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
25028         (gst_pad_event_default_dispatch), (gst_pad_event_default),
25029         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
25030         (gst_real_pad_dispose), (gst_real_pad_finalize),
25031         (gst_pad_load_and_link), (gst_pad_save_thyself),
25032         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
25033         (gst_pad_check_pull_range), (gst_pad_pull_range),
25034         (gst_pad_template_get_type), (gst_pad_template_class_init),
25035         (gst_pad_template_init), (gst_pad_template_dispose),
25036         (name_is_valid), (gst_static_pad_template_get),
25037         (gst_pad_template_new), (gst_static_pad_template_get_caps),
25038         (gst_pad_template_get_caps), (gst_pad_set_element_private),
25039         (gst_pad_get_element_private), (gst_pad_start_task),
25040         (gst_pad_pause_task), (gst_pad_stop_task),
25041         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
25042         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
25043         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
25044         (gst_ghost_pad_new):
25045         * gst/gstpad.h:
25046         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
25047         (gst_query_new_position), (gst_query_set_position),
25048         (gst_query_parse_position), (gst_query_new_convert),
25049         (gst_query_set_convert), (gst_query_parse_convert):
25050         * gst/gstquery.h:
25051         * gst/gstqueryutils.c:
25052         * gst/gstqueryutils.h:
25053         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
25054         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
25055         (gst_queue_handle_src_query):
25056         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25057         (gst_element_query_position), (gst_element_query_convert),
25058         (intersect_caps_func), (gst_pad_query_position),
25059         (gst_pad_query_convert):
25060         * gst/gstutils.h:
25061         * tools/gst-inspect.c: (print_pad_info):
25062         * tools/gst-xmlinspect.c: (print_element_info):
25063         Remove old query functions. Ported old code.
25064         Added position/convert helper functions to gstutils.
25065         Reordered gstpad.c code, grouping relevant things.
25066         Remove gst_message_new(), always need to speficy a specific
25067         message.
25068
25069
25070 2005-05-09  Andy Wingo  <wingo@pobox.com>
25071
25072         * gst/gstiterator.h: Add some includes.
25073
25074         * gst/gstqueryutils.h: Include more headers.
25075
25076         * gst/gstpad.h:
25077         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
25078         some uses of gst_pad_query.
25079
25080         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
25081         NULL out parameters.
25082         (gst_query_new_position): New proc, allocates a new position
25083         query.
25084
25085         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
25086         gstqueryutils.c to the build.
25087
25088         * gst/gststructure.c (gst_structure_set_valist): Implement with
25089         the generic G_VALUE_COLLECT.
25090         
25091 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
25092
25093         * gst/Makefile.am: (gst_headers):
25094         Added gstqueryutils.h to the list of headers to install, that was
25095         a 'nachty' move wingo :)
25096
25097 2005-05-06  Andy Wingo  <wingo@pobox.com>
25098
25099         * gst/gstquery.h
25100         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
25101         GstData, init a memchunk.
25102         (standard_definitions): Add a few query types, deprecate a few.
25103         (gst_query_get_type): New proc.
25104         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
25105         implementation.
25106         (gst_query_new_application, gst_query_get_structure): New public
25107         procs.
25108
25109         * docs/design/draft-query.txt: Removed LINKS from the query types,
25110         because all the rest can be dispatched to other pads -- seemed
25111         ugly to have a query that couldn't be dispatched. internal_links
25112         is fine as a pad method.
25113
25114         * gst/gstpad.h: Add query2 as a pad method, add the new functions
25115         in gstpad.c, but maintain binary compatibility for the moment.
25116         Will fix before 0.9 is out.
25117
25118         * gst/gstqueryutils.c: 
25119         * gst/gstqueryutils.h: New files, implement 3 methods for each
25120         query type: parse_query, parse_response, and set. Probably need an
25121         allocator as well.
25122
25123         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
25124
25125         * gst/elements/gstfilesink.c (gst_filesink_query2):
25126         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
25127         query_types, and formats methods.
25128
25129         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
25130         (gst_pad_set_query2_function): New functions.
25131         (gst_real_pad_init): Set query2_default as the default query2
25132         function. Basically just dispatches to internally linked pads.
25133
25134         Needs review!
25135         
25136         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
25137         without using the atomic operations. Only one thread can possibly
25138         be accessing the data at this point. Changed so as to avoid
25139         gst_atomic operations.
25140
25141 2005-05-06  Wim Taymans  <wim@fluendo.com>
25142
25143         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
25144         Also set caps if we use the fallback buffer alloc.
25145
25146 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
25147
25148         * docs/gst/Makefile.am:
25149         * docs/gst/gstreamer-docs.sgml:
25150         * docs/gst/gstreamer-sections.txt:
25151         * docs/gst/tmpl/gstatomic.sgml:
25152         * docs/gst/tmpl/gstmemchunk.sgml:
25153         * testsuite/elements/struct_i386.h:
25154         * win32/GStreamer.vcproj:
25155         * win32/Makefile:
25156           Purge GstAtomic stuff from docs and win32 makefiles as well
25157
25158 2005-05-06  Wim Taymans  <wim@fluendo.com>
25159
25160         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
25161         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
25162         * gst/gstpad.c: (gst_pad_peer_get_caps):
25163         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
25164         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
25165         (gst_queue_src_activate), (gst_queue_change_state):
25166         * gst/gstqueue.h:
25167         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25168         (intersect_caps_func):
25169         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
25170         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
25171         Some fixes for the peer_get_caps() change.
25172
25173 2005-05-06  Wim Taymans  <wim@fluendo.com>
25174
25175         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25176         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
25177         (gst_basesink_activate):
25178         Actually do something with error codes returned from the push
25179         functions.
25180
25181 2005-05-06  Wim Taymans  <wim@fluendo.com>
25182
25183         * docs/design/part-element-sink.txt:
25184         * docs/design/part-element-source.txt:
25185         * gst/base/gstbasesink.c: (gst_basesink_class_init),
25186         (gst_basesink_event), (gst_basesink_activate):
25187         * gst/base/gstbasesink.h:
25188         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
25189         (gst_basesrc_activate):
25190         * gst/base/gstbasesrc.h:
25191         * gst/gstelement.c: (gst_element_pads_activate):
25192         Some more documentation.
25193         Fixed scheduling decision in _pads_activate().
25194
25195 2005-05-05  Andy Wingo  <wingo@pobox.com>
25196
25197         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
25198         the test suite.
25199
25200 2005-05-05  Wim Taymans  <wim@fluendo.com>
25201
25202         * gst/base/Makefile.am:
25203         * gst/base/gstbasesink.h:
25204         * gst/base/gstbasesrc.c: (gst_basesrc_init),
25205         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
25206         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
25207         (gst_collectpads_class_init), (gst_collectpads_init),
25208         (gst_collectpads_finalize), (gst_collectpads_new),
25209         (gst_collectpads_set_function), (gst_collectpads_add_pad),
25210         (find_pad), (gst_collectpads_remove_pad),
25211         (gst_collectpads_is_active), (gst_collectpads_collect),
25212         (gst_collectpads_collect_range), (gst_collectpads_start),
25213         (gst_collectpads_stop), (gst_collectpads_peek),
25214         (gst_collectpads_pop), (gst_collectpads_available),
25215         (gst_collectpads_read), (gst_collectpads_flush),
25216         (gst_collectpads_chain):
25217         * gst/base/gstcollectpads.h:
25218         * gst/elements/Makefile.am:
25219         * gst/elements/gstelements.c:
25220         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25221         (gst_fakesink_get_times), (gst_fakesink_event),
25222         (gst_fakesink_preroll), (gst_fakesink_render):
25223         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
25224         (gst_filesink_init), (gst_filesink_set_location),
25225         (gst_filesink_open_file), (gst_filesink_close_file),
25226         (gst_filesink_pad_query), (gst_filesink_event),
25227         (gst_filesink_render), (gst_filesink_change_state):
25228         * gst/elements/gstfilesink.h:
25229         Added object to help in making collect pad based elements.
25230         Ported filesink.
25231         Make event function in sink baseclass return gboolean.
25232
25233 2005-05-05  Wim Taymans  <wim@fluendo.com>
25234
25235         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
25236         (gst_bin_get_by_name):
25237         * gst/gstbuffer.h:
25238         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
25239         (gst_clock_finalize):
25240         * gst/gstdata.c: (gst_data_replace):
25241         * gst/gstdata.h:
25242         * gst/gstelement.c: (gst_element_request_pad),
25243         (gst_element_pads_activate):
25244         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
25245         (gst_object_unref):
25246         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25247         (gst_pad_set_checkgetrange_function),
25248         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
25249         (gst_pad_check_pull_range), (gst_pad_pull_range),
25250         (gst_static_pad_template_get_caps), (gst_pad_start_task),
25251         (gst_pad_pause_task), (gst_pad_stop_task):
25252         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25253         (gst_element_request_pad), (gst_pad_proxy_getcaps):
25254         Fix name lookup in GstBin.
25255         Added _data_replace() function and _buffer_replace()
25256         Use finalize method to clean up clock.
25257         Fix refcounting on request pads.
25258         Fix pad schedule mode error.
25259         Some more object refcounting debug info,
25260
25261
25262 2005-05-04  Andy Wingo <wingo@pobox.com>
25263
25264         * check/Makefile.am:
25265         * docs/gst/tmpl/gstatomic.sgml:
25266         * docs/gst/tmpl/gstplugin.sgml:
25267         * gst/base/gstbasesink.c: (gst_basesink_activate):
25268         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
25269         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
25270         (gst_basesrc_query), (gst_basesrc_set_property),
25271         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
25272         (gst_basesrc_activate):
25273         * gst/base/gstbasesrc.h:
25274         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
25275         (gst_base_transform_src_activate):
25276         * gst/elements/gstelements.c:
25277         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25278         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
25279         * gst/elements/gsttee.c: (gst_tee_sink_activate):
25280         * gst/elements/gsttypefindelement.c: (find_element_get_length),
25281         (gst_type_find_element_checkgetrange),
25282         (gst_type_find_element_activate):
25283         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
25284         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
25285         (gst_caps_load_thyself):
25286         * gst/gstelement.c: (gst_element_pads_activate),
25287         (gst_element_save_thyself), (gst_element_restore_thyself):
25288         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
25289         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
25290         * gst/gstpad.h:
25291         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
25292         (gst_xml_parse_file), (gst_xml_parse_memory),
25293         (gst_xml_get_element), (gst_xml_make_element):
25294         * gst/indexers/gstfileindex.c: (gst_file_index_load),
25295         (_file_index_id_save_xml), (gst_file_index_commit):
25296         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
25297         (read_enum), (load_pad_template), (load_feature), (load_plugin),
25298         (load_paths):
25299         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
25300         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
25301         * tools/gst-complete.c: (main):
25302         * tools/gst-compprep.c: (main):
25303         * tools/gst-inspect.c: (print_element_properties_info):
25304         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
25305         * tools/gst-xmlinspect.c: (print_element_properties):
25306         GCC 4 fixen.
25307         
25308 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25309
25310         * gst/gstplugin.c: (gst_plugin_check_module),
25311         (gst_plugin_check_file), (gst_plugin_load_file):
25312             apply patch from #172526 to make register work on MacOSX
25313
25314 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25315
25316         * docs/gst/tmpl/gstconfig.sgml:
25317         * gst/gstconfig.h.in:
25318           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
25319         * testsuite/debug/printf_extension.c: (main):
25320           Do not use GST_PTR_FORMAT on pointers to types with
25321           sizeof < sizeof(gpointer).  Fixes test on 64-bit
25322         * testsuite/elements/property.h:
25323           use correct printf format
25324
25325 2005-05-02  Wim Taymans  <wim@fluendo.com>
25326
25327         * docs/design/draft-push-pull.txt:
25328         * docs/design/draft-query.txt:
25329         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
25330         (gst_basesrc_start):
25331         Added draft for new query API.
25332         Added draft for better selecting scheduling methods.
25333         Make basesrc ignore length if the subclass does not support
25334         it.
25335
25336 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25337
25338         * gst/Makefile.am:
25339           possible fixes for automake-1.5 - _LIBADD is reserved
25340
25341 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25342
25343         * docs/faq/Makefile.am:
25344         * docs/manual/Makefile.am:
25345         * docs/manuals.mak:
25346         * docs/pwg/Makefile.am:
25347         * gst/Makefile.am:
25348           possible fixes for automake-1.5
25349
25350 2005-04-28  Wim Taymans  <wim@fluendo.com>
25351
25352         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25353         (gst_basesink_pad_getcaps), (gst_basesink_init),
25354         (gst_basesink_do_sync):
25355         * gst/gstclock.c: (gst_clock_entry_new):
25356         * gst/gstevent.c: (gst_event_discont_get_value):
25357         * gst/gstpipeline.c: (pipeline_bus_handler),
25358         (gst_pipeline_change_state):
25359         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
25360         Better debugging of clocking info.
25361         Allow NULL values when getting discont values.
25362
25363 2005-04-27  Wim Taymans  <wim@fluendo.com>
25364
25365         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25366         * check/gst/gstpad.c: (gst_pad_suite):
25367         Increase timeout for checks.
25368
25369 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
25370
25371         * check/Makefile.am:
25372           fix the broken rule for cleanup.  Apparently this rule is
25373           only needed on FC2, so maybe this warrants further autotool
25374           inspection.
25375
25376 2005-04-26  Wim Taymans  <wim@fluendo.com>
25377
25378         * gst/gsttrashstack.h:
25379         Ooohh. a nasty one! After having a failed pop() from the stack,
25380         it's possible that the stack is empty. In that case, don't
25381         follow the NULL pointer.
25382
25383 2005-04-25  Wim Taymans  <wim@fluendo.com>
25384
25385         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25386         (gst_pad_set_checkgetrange_function),
25387         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
25388         (gst_pad_check_pull_range), (gst_pad_pull_range),
25389         (gst_static_pad_template_get_caps), (gst_pad_start_task),
25390         (gst_pad_pause_task), (gst_pad_stop_task):
25391         * gst/gstplugin.c: (gst_plugin_load):
25392         * gst/gstplugin.h:
25393         Remove gst_library_load as it does more harm than good with
25394         the new g_module flags.
25395         Revert bogus caps template check in pad linking, pad caps
25396         are important when linking not the template, which is more
25397         general than the current caps.
25398
25399 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25400
25401         * gst/autoplug/.cvsignore:
25402         * gst/autoplug/Makefile.am:
25403         * gst/autoplug/gstsearchfuncs.c:
25404         * gst/autoplug/gstsearchfuncs.h:
25405         * gst/autoplug/gstspider.c:
25406         * gst/autoplug/gstspider.h:
25407         * gst/autoplug/gstspideridentity.c:
25408         * gst/autoplug/gstspideridentity.h:
25409         * gst/autoplug/spidertest.c:
25410           Die, spider, die.
25411
25412 2005-04-25  Wim Taymans  <wim@fluendo.com>
25413
25414         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25415         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25416         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
25417         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
25418         * gst/gstpad.h:
25419         Added stubs for unimplemented functions. 
25420
25421 2005-04-24  David Schleef  <ds@schleef.org>
25422
25423         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
25424         please fix.
25425
25426 2005-04-24  David Schleef  <ds@schleef.org>
25427
25428         Convert everything from GstAtomicInt to g_atomic_int_*, and
25429         remove gstatomic.
25430         * gst/Makefile.am:
25431         * gst/gstatomic.c:
25432         * gst/gstatomic.h:
25433         * gst/gstatomic_impl.h:
25434         * gst/gstbuffer.c:
25435         * gst/gstcaps.c:
25436         * gst/gstcaps.h:
25437         * gst/gstclock.c:
25438         * gst/gstclock.h:
25439         * gst/gstdata.c:
25440         * gst/gstdata.h:
25441         * gst/gstdata_private.h:
25442         * gst/gstevent.c:
25443         * gst/gstinfo.c:
25444         * gst/gstinfo.h:
25445         * gst/gstmessage.c:
25446         * gst/gstobject.c:
25447         * gst/gstobject.h:
25448         * gst/gststructure.c:
25449         * gst/gststructure.h:
25450         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
25451         * gst/gstutils.h:
25452
25453 2005-04-24  David Schleef  <ds@schleef.org>
25454
25455         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
25456         make the regressions tests work.  Remove some code that is no
25457         longer true.
25458         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
25459         Disable warning for pads without templates.
25460
25461 2005-04-24  David Schleef  <ds@schleef.org>
25462
25463         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
25464         functions that handle filtered links.
25465         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
25466         removed functions.
25467         * gst/gstutils.c: Fix/remove utility functions that handle
25468         filtered caps.
25469         * gst/gstutils.h:
25470         * gst/gstvalue.c: Add serialization/deserialization of caps
25471         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
25472         requires fixing so that the filter caps notation creates
25473         a capsfilter element and sets the filter_caps property.  I
25474         think everyone probably wants to keep the shorthand notation.
25475         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
25476         * docs/gst/tmpl/gstpad.sgml:
25477
25478         * gst/elements/gstelements.c: Register capsfilter element.
25479         * gst/Makefile.am: fix spacing
25480         * docs/random/ds/0.9-suggested-changes: random
25481
25482 2005-04-23  David Schleef  <ds@schleef.org>
25483
25484         * gst/elements/Makefile.am:
25485         * gst/elements/gstcapsfilter.c: New element that acts like an
25486         identity, but filters caps.  Will eventually replace filtered
25487         caps in pad linking.
25488         * gst/gstutils.c: (gst_element_create_all_pads): New function
25489         to create all the ALWAYS pads that are registered with an
25490         element class.  This functionality should eventually be
25491         merged in with GstElement initialization.
25492         * gst/gstutils.h:
25493         * testsuite/trigger/README: part of trigger test code that should
25494         have been checked in a long time ago.
25495
25496 2005-04-23  David Schleef  <ds@schleef.org>
25497
25498         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
25499         needed with new versions of libtool (nobody will confirm this),
25500         and hard to carry around.
25501         * gst/autoplug/Makefile.am:
25502         * gst/base/Makefile.am:
25503         * gst/elements/Makefile.am:
25504         * gst/indexers/Makefile.am:
25505         * gst/schedulers/Makefile.am:
25506         * libs/gst/bytestream/Makefile.am:
25507         * libs/gst/control/Makefile.am:
25508         * libs/gst/dataprotocol/Makefile.am:
25509         * libs/gst/getbits/Makefile.am:
25510
25511 2005-04-21  Wim Taymans  <wim@fluendo.com>
25512
25513         * docs/design/draft-push-pull.txt:
25514         * docs/design/part-MT-refcounting.txt:
25515         * docs/design/part-TODO.txt:
25516         * docs/design/part-caps.txt:
25517         * docs/design/part-events.txt:
25518         * docs/design/part-gstbus.txt:
25519         * docs/design/part-gstpipeline.txt:
25520         * docs/design/part-messages.txt:
25521         * docs/design/part-push-pull.txt:
25522         * docs/design/part-query.txt:
25523         Some more docs.
25524
25525 2005-04-21  Wim Taymans  <wim@fluendo.com>
25526
25527         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
25528         (gst_message_new), (gst_message_new_error),
25529         (gst_message_new_warning), (gst_message_new_tag),
25530         (gst_message_new_state_changed), (gst_message_new_application),
25531         (gst_message_get_structure):
25532         * gst/gstmessage.h:
25533         * gst/gststructure.c: (gst_structure_set_parent_refcount),
25534         (gst_structure_copy_conditional):
25535         Use parent refcount in GstMessage to ensure GstStructure
25536         consistency.
25537         Cleaned up headers a bit.
25538         
25539
25540 2005-04-20  Wim Taymans  <wim@fluendo.com>
25541
25542         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25543         (gst_basesink_pad_getcaps), (gst_basesink_init),
25544         (gst_basesink_chain_unlocked):
25545         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
25546         (gst_type_find_helper):
25547         * gst/elements/gsttypefindelement.c:
25548         (gst_type_find_element_have_type), (gst_type_find_element_init),
25549         (stop_typefinding), (gst_type_find_element_handle_event),
25550         (find_suggest), (gst_type_find_element_chain),
25551         (gst_type_find_element_checkgetrange),
25552         (gst_type_find_element_getrange), (do_typefind),
25553         (gst_type_find_element_activate):
25554         * gst/gstbuffer.c: (_gst_buffer_sub_free),
25555         (gst_buffer_default_free), (gst_buffer_default_copy),
25556         (gst_buffer_set_caps):
25557         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
25558         (gst_caps_replace):
25559         * gst/gstmessage.c: (gst_message_new),
25560         (gst_message_new_state_changed):
25561         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25562         (gst_pad_set_checkgetrange_function),
25563         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
25564         (gst_pad_set_caps), (gst_pad_check_pull_range),
25565         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
25566         * gst/gstpad.h:
25567         * gst/gsttypefind.c: (gst_type_find_register):
25568         Make gst_caps_replace() work like other _replace() functions.
25569         Use _caps_replace() where possible.
25570         Make sure _message_new() initialises its field.
25571         Add gst_static_pad_template_get_caps()
25572
25573
25574 2005-04-18  Andy Wingo  <wingo@pobox.com>
25575
25576         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
25577         on the peer, not the pad. I think that was a typo. Pass an extra
25578         arg to see if random access is possible. Activate the pads as
25579         PULL_RANGE if possible.
25580
25581         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
25582
25583         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
25584         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
25585         to PROP_....
25586
25587 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25588
25589         * docs/faq/using.xml:
25590           Add note on gstreamer-properties (#154996).
25591
25592 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25593
25594         * docs/random/bbb/optional-properties:
25595           Some analysis on optional properties.
25596
25597 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25598
25599         * docs/gst/tmpl/gstelementfactory.sgml:
25600         * gst/gstelement.h:
25601         * gst/gstelementfactory.c: (gst_element_factory_init),
25602         (gst_element_factory_cleanup), (gst_element_register),
25603         (__gst_element_factory_add_static_pad_template),
25604         (gst_element_factory_get_static_pad_templates),
25605         (gst_element_factory_can_src_caps),
25606         (gst_element_factory_can_sink_caps):
25607         * gst/registries/Makefile.am:
25608         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
25609         (gst_xml_registry_class_init), (gst_xml_registry_init),
25610         (gst_xml_registry_new), (gst_xml_registry_set_property),
25611         (gst_xml_registry_get_property), (get_time), (make_dir),
25612         (gst_xml_registry_get_perms_func),
25613         (plugin_times_older_than_recurse), (plugin_times_older_than),
25614         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
25615         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
25616         (add_to_char_array), (read_string), (read_uint), (read_enum),
25617         (load_pad_template), (load_feature), (load_plugin), (load_paths),
25618         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
25619         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
25620         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
25621         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
25622         (gst_xml_registry_rebuild):
25623         * gst/registries/gstlibxmlregistry.h:
25624         * tools/gst-compprep.c: (main):
25625         * tools/gst-inspect.c: (print_pad_templates_info):
25626         * tools/gst-xmlinspect.c: (print_element_info):
25627           Use libxml2 for registry parsing, use staticpadtemplates in
25628           elementfactories. Makes gst_init() +/- 10x faster.
25629
25630 2005-04-12  Wim Taymans  <wim@fluendo.com>
25631
25632         * gst/base/Makefile.am:
25633         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25634         (gst_basesink_pad_getcaps), (gst_basesink_init),
25635         (gst_basesink_event), (gst_basesink_change_state):
25636         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25637         (gst_basesrc_init), (gst_basesrc_query),
25638         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25639         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25640         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25641         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25642         (gst_basesrc_stop), (gst_basesrc_activate),
25643         (gst_basesrc_change_state):
25644         * gst/base/gsttypefindhelper.c: (helper_find_peek),
25645         (helper_find_suggest), (gst_type_find_helper):
25646         * gst/base/gsttypefindhelper.h:
25647         * gst/elements/Makefile.am:
25648         * gst/elements/gstelements.c:
25649         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25650         (gst_fakesink_get_times), (gst_fakesink_event),
25651         (gst_fakesink_preroll), (gst_fakesink_render):
25652         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25653         (gst_fakesrc_init), (gst_fakesrc_event_handler),
25654         (gst_fakesrc_get_property), (gst_fakesrc_create),
25655         (gst_fakesrc_start), (gst_fakesrc_stop):
25656         * gst/elements/gstfakesrc.h:
25657         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
25658         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25659         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25660         (gst_filesrc_create_read), (gst_filesrc_create),
25661         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
25662         (gst_filesrc_start):
25663         * gst/elements/gsttypefindelement.c:
25664         (gst_type_find_element_have_type), (gst_type_find_element_init),
25665         (start_typefinding), (stop_typefinding), (push_buffer_store),
25666         (gst_type_find_element_handle_event),
25667         (gst_type_find_element_chain),
25668         (gst_type_find_element_checkgetrange),
25669         (gst_type_find_element_getrange), (do_typefind),
25670         (gst_type_find_element_activate),
25671         (gst_type_find_element_change_state):
25672         * gst/elements/gsttypefindelement.h:
25673         * gst/gstpipeline.c: (pipeline_bus_handler):
25674         Added typefind helper.
25675         Small preroll fix in the base sink.
25676         Disable typefind code in basesrc.
25677         Crude port of typefindelement.
25678         Fakesrc cleanups.
25679
25680
25681 2005-04-11  Wim Taymans  <wim@fluendo.com>
25682
25683         * check/gst/gstbus.c: (gstbus_suite):
25684         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
25685         * check/gstcheck.h:
25686           Fix up the timeout so that the test does not fail.
25687
25688 2005-04-06  Wim Taymans  <wim@fluendo.com>
25689
25690         * gst/base/README:
25691         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25692         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
25693         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25694         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25695         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25696         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25697         (gst_basesrc_stop), (gst_basesrc_activate),
25698         (gst_basesrc_change_state), (basesrc_find_peek),
25699         (basesrc_find_suggest), (gst_basesrc_type_find):
25700         * gst/base/gstbasesrc.h:
25701         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
25702         (gst_filesrc_class_init), (gst_filesrc_init),
25703         (gst_filesrc_finalize), (gst_filesrc_set_location),
25704         (gst_filesrc_set_property), (gst_filesrc_get_property),
25705         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25706         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25707         (gst_filesrc_create_read), (gst_filesrc_create),
25708         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
25709         * gst/elements/gstfilesrc.h:
25710         * gst/gstelement.c: (gst_element_get_state_func),
25711         (gst_element_lost_state), (gst_element_pads_activate):
25712         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25713         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25714         (gst_pad_pull_range):
25715         * gst/gstpad.h:
25716         More work on the generic source base class, implement seeking,
25717         query.
25718         Make filesrc extend the base source class.
25719         Added gst_pad_set_checkgetrange_function to GstPad.
25720
25721 2005-04-06  Andy Wingo  <wingo@pobox.com>
25722
25723         * pkgconfig/gstreamer-base.pc.in:
25724         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
25725
25726         * pkgconfig/Makefile.am:
25727         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
25728
25729 2005-04-04  Wim Taymans  <wim@fluendo.com>
25730
25731         * gst/base/Makefile.am:
25732         * gst/base/README:
25733         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25734         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25735         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25736         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
25737         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25738         (gst_basesrc_base_init), (gst_basesrc_class_init),
25739         (gst_basesrc_init), (gst_basesrc_get_formats),
25740         (gst_basesrc_get_query_types), (gst_basesrc_query),
25741         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
25742         (gst_basesrc_set_property), (gst_basesrc_get_property),
25743         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
25744         (gst_basesrc_loop), (gst_basesrc_activate),
25745         (gst_basesrc_change_state):
25746         * gst/base/gstbasesrc.h:
25747         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
25748         (gst_fakesrc_class_init), (gst_fakesrc_init),
25749         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
25750         (gst_fakesrc_get_property), (gst_fakesrc_create):
25751         * gst/elements/gstfakesrc.h:
25752         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
25753         (gst_filesrc_open_file), (gst_filesrc_loop),
25754         (gst_filesrc_activate), (filesrc_find_peek),
25755         (gst_filesrc_type_find):
25756         Made base source class, make fakesrc extend it.
25757         Add comments to basesink class.
25758         Some filesrc cleanup.
25759
25760 2005-03-31  David Schleef  <ds@schleef.org>
25761
25762         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
25763         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
25764         expected to link against libgstreamer.
25765         * gst/base/Makefile.am: link against libgstreamer
25766         * gst/elements/Makefile.am: same
25767
25768 2005-03-31  Andy Wingo  <wingo@pobox.com>
25769
25770         * tests/instantiate/Makefile.am:
25771         * tests/instantiate/caps.c: Add test to test speed of caps copy
25772         and free.
25773
25774         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
25775         GMemChunk to be fair.
25776
25777         * gst/gsttrashstack.h: Remove warning about using the fallback
25778         trash stack implementation, it's still faster than malloc.
25779
25780 2005-03-30  Andy Wingo  <wingo@pobox.com>
25781
25782         * tests/complexity.c: Add a copyright.
25783
25784 2005-03-31  Wim Taymans  <wim@fluendo.com>
25785
25786         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
25787         (gst_base_transform_class_init), (gst_base_transform_init),
25788         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25789         (gst_base_transform_get_property),
25790         (gst_base_transform_sink_activate),
25791         (gst_base_transform_src_activate),
25792         (gst_base_transform_change_state):
25793         * gst/base/gstbasetransform.h:
25794         * gst/elements/gstidentity.c: (gst_identity_class_init),
25795         (gst_identity_event), (gst_identity_check_perfect),
25796         (gst_identity_transform), (gst_identity_start),
25797         (gst_identity_stop):
25798         Added start/stop methods to transform base class so subclasses 
25799         don't need to deal with state changes even.
25800
25801 2005-03-31  Wim Taymans  <wim@fluendo.com>
25802
25803         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
25804         (gst_event_new_discontinuous), (gst_event_discont_get_value):
25805         * gst/gstevent.h:
25806         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25807         (gst_pad_pull_range):
25808         Added rate to the discont event to prepare for variable speed
25809         and reverse playback.
25810
25811 2005-03-29  David Schleef  <ds@schleef.org>
25812
25813         * configure.ac:
25814         * testsuite/trigger/Makefile.am:
25815         * testsuite/trigger/trigger.c: A little example program to show
25816         how trigger-based elements can work.
25817
25818 2005-03-29  Wim Taymans  <wim@fluendo.com>
25819
25820         * gst/base/Makefile.am:
25821         * gst/base/README:
25822         * gst/base/gstbasesink.c: (gst_basesink_get_type),
25823         (gst_basesink_base_init), (gst_basesink_class_init),
25824         (gst_basesink_pad_getcaps), (gst_basesink_init),
25825         (gst_basesink_activate), (gst_basesink_change_state):
25826         * gst/base/gstbasesink.h:
25827         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
25828         (gst_base_transform_base_init), (gst_base_transform_finalize),
25829         (gst_base_transform_class_init), (gst_base_transform_init),
25830         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
25831         (gst_base_transform_event), (gst_base_transform_getrange),
25832         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
25833         (gst_base_transform_set_property),
25834         (gst_base_transform_get_property),
25835         (gst_base_transform_sink_activate),
25836         (gst_base_transform_src_activate),
25837         (gst_base_transform_change_state):
25838         * gst/base/gstbasetransform.h:
25839         * gst/elements/gstidentity.c: (gst_identity_finalize),
25840         (gst_identity_class_init), (gst_identity_init),
25841         (gst_identity_event), (gst_identity_check_perfect),
25842         (gst_identity_transform), (gst_identity_set_property),
25843         (gst_identity_get_property), (gst_identity_change_state):
25844         * gst/elements/gstidentity.h:
25845         * gst/gstelement.c: (gst_element_get_state_func),
25846         (gst_element_lost_state), (gst_element_pads_activate):
25847         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25848         (gst_pad_check_pull_range), (gst_pad_pull_range):
25849         * gst/gstpad.h:
25850         Simplify pad activation.
25851         Added function to check if pull_range can be performed.
25852         Error out when pulling inactive or flushing pads.
25853         Removed const from refcounted types as it does not make sense.
25854         Simplify pad templates in basesink
25855         Added base class for simple 1-to-1 transforms.
25856         Make identity subclass the base transform.
25857
25858 2005-03-29  Andy Wingo  <wingo@pobox.com>
25859
25860         * docs/libs/gstreamer-libs-overrides.txt: 
25861         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
25862         really don't understand what's going on, but like whatever. I want
25863         green buildbot!
25864
25865         * docs/gst/Makefile.am:
25866         * docs/libs/Makefile.am: Dist the overrides files.
25867
25868         * check/Makefile.am (clean-local): Remove .libs directories.
25869
25870         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
25871         elements to EXTRA_DIST, so po/ files are happy.
25872
25873         * po/POTFILES.in: Er, remove it here.
25874
25875         * po/POTFILES: Remove gstspider.c.
25876
25877         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
25878
25879         * docs/libs/gstreamer-libs-docs.sgml: 
25880         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
25881         bytestream.
25882
25883         * tests/complexity.c (main): Set the length of the preroll queue
25884         on the sinks to prevent a lockup.
25885
25886         * libs/gst/dataprotocol/Makefile.am: 
25887         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
25888         the same as the one in check/gst-libs/gdp.c.
25889
25890         * po/, docs/gst/: Commit automatic changes to docs and po files.
25891
25892         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
25893         the versioned libgstbase.
25894
25895         * check/Makefile.am: Depend on an unversioned gst-register, seems
25896         to make autoconf happier.
25897
25898         * gst/base/Makefile.am: Make libgstbase a versioned lib.
25899
25900 2005-03-28  Wim Taymans  <wim@fluendo.com>
25901
25902         * configure.ac:
25903         * docs/design/part-gstelement.txt:
25904         * docs/design/part-negotiation.txt:
25905         * docs/design/part-preroll.txt:
25906         * docs/design/part-scheduling.txt:
25907         * docs/design/part-states.txt:
25908         * gst/Makefile.am:
25909         * gst/base/Makefile.am:
25910         * gst/base/README:
25911         * gst/base/gstbasesink.c: (gst_basesink_get_template),
25912         (gst_basesink_base_init), (gst_basesink_class_init),
25913         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25914         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25915         (gst_basesink_set_pad_functions),
25916         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
25917         (gst_basesink_set_property), (gst_basesink_get_property),
25918         (gst_base_sink_get_template), (gst_base_sink_get_caps),
25919         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
25920         (gst_basesink_preroll_queue_push),
25921         (gst_basesink_preroll_queue_empty),
25922         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
25923         (gst_basesink_event), (gst_basesink_get_times),
25924         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
25925         (gst_basesink_chain_unlocked), (gst_basesink_chain),
25926         (gst_basesink_loop), (gst_basesink_activate),
25927         (gst_basesink_change_state):
25928         * gst/base/gstbasesink.h:
25929         * gst/elements/Makefile.am:
25930         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
25931         (gst_fakesink_class_init), (gst_fakesink_init),
25932         (gst_fakesink_set_property), (gst_fakesink_get_property),
25933         (gst_fakesink_get_times), (gst_fakesink_event),
25934         (gst_fakesink_preroll), (gst_fakesink_render),
25935         (gst_fakesink_change_state):
25936         * gst/elements/gstfakesink.h:
25937         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25938         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
25939         * gst/gstelement.c: (gst_element_add_pad),
25940         (gst_element_get_state_func), (gst_element_abort_state),
25941         (gst_element_commit_state), (gst_element_lost_state),
25942         (gst_element_set_state), (gst_element_pads_activate):
25943         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
25944         * gst/gstpipeline.c: (gst_pipeline_send_event),
25945         (gst_pipeline_change_state):
25946         Added state change code.
25947         Added/updated docs.
25948         Added sink base class, make fakesink extend the base class.
25949         Small cleanups in GstPipeline.
25950
25951 2005-03-26  David Schleef  <ds@schleef.org>
25952
25953         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
25954         is broken and should be implemented in a different library.
25955         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
25956         * gst/gst.h: remove gstcpu.h
25957         * gst/gstcpu.c: remove
25958         * gst/gstcpu.h: remove
25959         * gst/Makefile.am.future: Remove this file.  It's ancient.
25960
25961 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25962
25963         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25964         (gst_bin_send_event):
25965           Add default event/set_manager handlers. The set_manager handler
25966           takes care that the manager is distributed over kids that were
25967           already in the bin before the manager was set. The event handler
25968           is a utility virtual function that sends the event over all sinks,
25969           so that gst_element_send_event (bin, event); has the expected
25970           behaviour.
25971         * gst/gstpad.c: (gst_pad_event_default):
25972           Re-install default event handling for discontinuities, so that
25973           seeking works without requiring hacks in applications or extra
25974           code in sinks.
25975         * gst/gstpipeline.c: (gst_pipeline_class_init),
25976         (gst_pipeline_send_event):
25977           Half hack, half utility: set a pipeline to PAUSED for seek events,
25978           since that is the only way we can guarantee a/v sync. Means that
25979           you can do gst_element_seek (pipeline, method, pos); on a pipeline
25980           and it "just works".
25981
25982 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25983
25984         * gst/gstpipeline.c: (gst_pipeline_use_clock):
25985           Lock/unlock mismatch.
25986
25987 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
25988
25989         * docs/faq/gst-uninstalled:
25990           add gst-plugins-base
25991         * docs/gst/Makefile.am:
25992           don't error out until docs are fixed
25993         * docs/gst/gstreamer.types:
25994           remove thread
25995
25996 2005-03-22  Wim Taymans  <wim@fluendo.com>
25997
25998         * check/Makefile.am:
25999         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
26000         * gst/gststructure.c: (gst_structure_set_valist),
26001         (gst_structure_copy_conditional):
26002         Activated more tests.
26003         Added message test.
26004         Added G_TYPE_POINTER to GstStructure.
26005         
26006
26007 2005-03-22  Wim Taymans  <wim@fluendo.com>
26008
26009         * docs/design/part-TODO.txt:
26010         * docs/design/part-events.txt:
26011         * docs/design/part-gstbin.txt:
26012         * docs/design/part-gstbus.txt:
26013         * docs/design/part-gstpipeline.txt:
26014         * docs/design/part-messages.txt:
26015         * gst/gstbus.c:
26016         * gst/gstmessage.c:
26017         Docs updates
26018
26019 2005-03-21  Wim Taymans  <wim@fluendo.com>
26020
26021         * gst/gstbus.c: (gst_bus_post):
26022         Fix copy-and-paste error.
26023
26024 2005-03-21  Wim Taymans  <wim@fluendo.com>
26025
26026         * check/Makefile.am:
26027         * gst/Makefile.am:
26028         * gst/elements/Makefile.am:
26029         * gst/elements/gstelements.c:
26030         * gst/elements/gstfakesink.c: (gst_fakesink_init),
26031         (gst_fakesink_event), (gst_fakesink_chain):
26032         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26033         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
26034         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
26035         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
26036         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26037         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
26038         (gst_fakesrc_loop), (gst_fakesrc_activate),
26039         (gst_fakesrc_change_state):
26040         * gst/elements/gstfakesrc.h:
26041         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
26042         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
26043         (gst_filesrc_open_file), (gst_filesrc_loop),
26044         (gst_filesrc_activate), (gst_filesrc_change_state),
26045         (filesrc_find_peek), (filesrc_find_suggest),
26046         (gst_filesrc_type_find):
26047         * gst/elements/gstidentity.c: (gst_identity_finalize),
26048         (gst_identity_class_init), (gst_identity_init),
26049         (gst_identity_proxy_getcaps), (identity_queue_push),
26050         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
26051         (gst_identity_getrange), (gst_identity_chain),
26052         (gst_identity_sink_loop), (gst_identity_src_loop),
26053         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
26054         (gst_identity_set_property), (gst_identity_get_property),
26055         (gst_identity_change_state):
26056         * gst/elements/gstidentity.h:
26057         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
26058         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
26059         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
26060         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
26061         (gst_tee_sink_activate):
26062         * gst/elements/gsttee.h:
26063         * gst/gst.c: (gst_register_core_elements), (init_post):
26064         * gst/gst.h:
26065         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
26066         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
26067         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
26068         (gst_bin_change_state):
26069         * gst/gstbin.h:
26070         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
26071         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
26072         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
26073         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
26074         (gst_bus_set_sync_handler), (gst_bus_create_watch),
26075         (bus_watch_callback), (bus_watch_destroy),
26076         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
26077         (poll_timeout), (gst_bus_poll):
26078         * gst/gstbus.h:
26079         * gst/gstcaps.h:
26080         * gst/gstdata.h:
26081         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26082         (gst_element_post_message), (gst_element_message_full),
26083         (gst_element_get_state_func), (gst_element_get_state),
26084         (gst_element_abort_state), (gst_element_commit_state),
26085         (gst_element_lost_state), (gst_element_set_state),
26086         (gst_element_pads_activate), (gst_element_change_state),
26087         (gst_element_dispose), (gst_element_set_manager_func),
26088         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
26089         (gst_element_set_manager), (gst_element_get_manager),
26090         (gst_element_set_bus), (gst_element_get_bus),
26091         (gst_element_set_scheduler), (gst_element_get_scheduler):
26092         * gst/gstelement.h:
26093         * gst/gstevent.c: (gst_event_new_segment_seek),
26094         (gst_event_new_flush):
26095         * gst/gstevent.h:
26096         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
26097         (_gst_message_free), (gst_message_get_type), (gst_message_new),
26098         (gst_message_new_eos), (gst_message_new_error),
26099         (gst_message_new_warning), (gst_message_new_tag),
26100         (gst_message_new_state_changed), (gst_message_new_application),
26101         (gst_message_get_structure), (gst_message_parse_tag),
26102         (gst_message_parse_state_changed), (gst_message_parse_error),
26103         (gst_message_parse_warning):
26104         * gst/gstmessage.h:
26105         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
26106         (gst_real_pad_set_property), (gst_pad_set_active),
26107         (gst_pad_is_active), (gst_pad_set_blocked_async),
26108         (gst_pad_set_blocked), (gst_pad_is_blocked),
26109         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
26110         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
26111         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
26112         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
26113         (gst_pad_link_filtered), (gst_pad_relink_filtered),
26114         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
26115         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
26116         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
26117         (gst_pad_set_caps), (gst_pad_configure_sink),
26118         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
26119         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
26120         (gst_real_pad_dispose), (gst_real_pad_finalize),
26121         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
26122         (gst_pad_event_default_dispatch), (gst_pad_event_default),
26123         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
26124         * gst/gstpad.h:
26125         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
26126         (pipeline_bus_handler), (gst_pipeline_change_state),
26127         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
26128         * gst/gstpipeline.h:
26129         * gst/gstprobe.h:
26130         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
26131         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
26132         (gst_queue_link_src), (gst_queue_bufferalloc),
26133         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
26134         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
26135         (gst_queue_loop), (gst_queue_handle_src_event),
26136         (gst_queue_handle_src_query), (gst_queue_src_activate),
26137         (gst_queue_change_state):
26138         * gst/gstqueue.h:
26139         * gst/gstscheduler.c: (gst_scheduler_init),
26140         (gst_scheduler_dispose), (gst_scheduler_create_task),
26141         (gst_scheduler_factory_create):
26142         * gst/gstscheduler.h:
26143         * gst/gststructure.c: (gst_structure_get_type),
26144         (gst_structure_copy_conditional):
26145         * gst/gststructure.h:
26146         * gst/gsttaginterface.h:
26147         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
26148         (gst_task_init), (gst_task_dispose), (gst_task_create),
26149         (gst_task_get_state), (gst_task_start), (gst_task_stop),
26150         (gst_task_pause):
26151         * gst/gsttask.h:
26152         * gst/gstthread.c:
26153         * gst/gstthread.h:
26154         * gst/gsttypes.h:
26155         * gst/schedulers/Makefile.am:
26156         * gst/schedulers/cothreads_compat.h:
26157         * gst/schedulers/entryscheduler.c:
26158         * gst/schedulers/faircothreads.c:
26159         * gst/schedulers/faircothreads.h:
26160         * gst/schedulers/fairscheduler.c:
26161         * gst/schedulers/gstbasicscheduler.c:
26162         * gst/schedulers/gstoptimalscheduler.c:
26163         * gst/schedulers/gthread-cothreads.h:
26164         * gst/schedulers/threadscheduler.c:
26165         (gst_thread_scheduler_task_get_type),
26166         (gst_thread_scheduler_task_class_init),
26167         (gst_thread_scheduler_task_init),
26168         (gst_thread_scheduler_task_start),
26169         (gst_thread_scheduler_task_stop),
26170         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
26171         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26172         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
26173         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
26174         (plugin_init):
26175         * libs/gst/Makefile.am:
26176         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
26177         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
26178         (gst_file_pad_parent_set):
26179         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
26180         (gst_dp_event_from_packet):
26181         * tests/complexity.c: (main):
26182         * tests/mass_elements.c: (main):
26183         * testsuite/states/locked.c: (message_received), (main):
26184         * testsuite/states/parent.c: (main):
26185         * tools/gst-inspect.c: (print_element_flag_info),
26186         (print_implementation_info), (print_pad_info):
26187         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
26188         (main):
26189         * tools/gst-md5sum.c: (event_loop), (main):
26190         * tools/gst-typefind.c: (main):
26191         * tools/gst-xmlinspect.c: (print_element_info):
26192         Next big merge.
26193         Added GstBus for mainloop integration.
26194         Added GstMessage for sending notifications on the bus.
26195         Added GstTask as an abstraction for pipeline entry points.
26196         Removed GstThread.
26197         Removed Schedulers.
26198         Simplified GstQueue for multithreaded core.
26199         Made _link threadsafe, removed old capsnego.
26200         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
26201         Added pad blocking functions.
26202         Reworked scheduling functions in GstPad to prepare for
26203         scheduling updates soon.
26204         Moved events out of data stream.
26205         Simplified GstEvent types.
26206         Added return values to push/pull.
26207         Removed clocking from GstElement.
26208         Added prototypes for state change function for next merge.
26209         Removed iterate from bins and state change management.
26210         Fixed some elements, disabled others for now.
26211         Fixed -inspect and -launch.
26212         Added check for GstBus.
26213
26214 2005-03-10  Wim Taymans  <wim@fluendo.com>
26215
26216         * docs/design/part-MT-refcounting.txt:
26217         * docs/design/part-clocks.txt:
26218         * docs/design/part-gstelement.txt:
26219         * docs/design/part-gstobject.txt:
26220         * docs/design/part-standards.txt:
26221         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26222         (gst_bin_remove_func), (gst_bin_remove):
26223         * gst/gstbin.h:
26224         * gst/gstbuffer.c:
26225         * gst/gstcaps.h:
26226         * testsuite/clock/clock1.c: (main):
26227         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
26228         (main):
26229         * testsuite/dlopen/loadgst.c: (do_test):
26230         * testsuite/refcounting/bin.c: (add_remove_test1),
26231         (add_remove_test2), (main):
26232         * testsuite/refcounting/element.c: (main):
26233         * testsuite/refcounting/element_pad.c: (main):
26234         * testsuite/refcounting/pad.c: (main):
26235         * tools/gst-launch.c: (sigint_handler_sighandler):
26236         * tools/gst-typefind.c: (main):
26237         Doc updates.
26238         Added doc about clock.
26239         removed gst_bin_iterate_recurse_up(), marked methods
26240         for removal.
26241         Fix more testsuites.
26242
26243 2005-03-09  Wim Taymans  <wim@fluendo.com>
26244
26245         * gst/gstpad.c: (gst_pad_get_direction),
26246         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
26247         (gst_pad_collect_valist):
26248         * testsuite/bins/interface.c: (main):
26249         * testsuite/caps/audioscale.c: (test_caps):
26250         * testsuite/caps/caps.c: (test1), (test2), (test3):
26251         * testsuite/caps/deserialize.c: (main):
26252         * testsuite/caps/enumcaps.c: (main):
26253         * testsuite/caps/filtercaps.c: (main):
26254         * testsuite/caps/intersect2.c: (main):
26255         * testsuite/caps/random.c: (main):
26256         * testsuite/caps/renegotiate.c: (my_fixate), (main):
26257         * testsuite/caps/sets.c: (check_caps):
26258         * testsuite/caps/simplify.c: (check_caps), (main):
26259         * testsuite/caps/subtract.c: (check_caps):
26260         Fix _pad_get_direction wrt ghostpads.
26261         Fix caps testsuite.
26262
26263 2005-03-09  Wim Taymans  <wim@fluendo.com>
26264
26265         * check/Makefile.am:
26266         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
26267         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
26268         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
26269         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
26270         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
26271         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
26272         (gst_bin_remove), (gst_bin_iterate_recurse_up),
26273         (bin_element_is_sink), (gst_bin_iterate_sinks),
26274         (gst_bin_iterate_all_by_interface):
26275         * gst/gstbin.h:
26276         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
26277         (gst_element_change_state), (gst_element_dispose),
26278         (gst_element_finalize), (gst_element_set_loop_function):
26279         * gst/gstelement.h:
26280         * gst/gstiterator.c: (find_custom_fold_func):
26281         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26282         (gst_pad_collectv), (gst_pad_collect_valist),
26283         (gst_pad_template_new):
26284         * gst/gstpipeline.c: (gst_pipeline_class_init),
26285         (gst_pipeline_dispose), (gst_pipeline_set_property),
26286         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
26287         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
26288         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
26289         * gst/gstutils.h:
26290         * gst/schedulers/entryscheduler.c:
26291         * gst/schedulers/gstbasicscheduler.c:
26292         (gst_basic_scheduler_cothreaded_chain),
26293         (gst_basic_scheduler_chain_add_element):
26294         * testsuite/bins/interface.c: (main):
26295         Added GstBin test.
26296         Added GstSystemClock test.
26297         Implemented clock distribution code in GstBin.
26298         Implemented iterate sinks method for future use.
26299         Rearranged gstelement.h
26300         Fix GstIterator comparison bug.
26301         Moved some code to GstPipeline, mostly clocking related.
26302
26303 2005-03-09  Wim Taymans  <wim@fluendo.com>
26304
26305         * configure.ac:
26306         * gst/gst_private.h:
26307         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26308         (gst_bin_remove_func), (gst_bin_remove),
26309         (gst_bin_get_by_name_recurse_up):
26310         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
26311         (gst_clock_id_compare_func), (gst_clock_id_wait),
26312         (gst_clock_id_wait_async), (gst_clock_init),
26313         (gst_clock_adjust_unlocked), (gst_clock_get_time):
26314         * gst/gstelement.h:
26315         * gst/gstinfo.c: (_gst_debug_init):
26316         * gst/gstobject.h:
26317         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26318         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
26319         * gst/gstpad.h:
26320         Bump version number, we're now 0.9.0
26321         Add future debugging category.
26322         Fix NULL _unref() in _get_by_name_recurse_up
26323         Rearrange gstpad.h.
26324         Update some docs.
26325
26326 2005-03-08  Wim Taymans  <wim@fluendo.com>
26327
26328         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
26329         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
26330         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26331         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
26332         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
26333         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
26334         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
26335         * gst/elements/gstidentity.c: (gst_identity_class_init):
26336         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
26337         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
26338         * gst/elements/gstshaper.c: (gst_shaper_class_init):
26339         * gst/elements/gststatistics.c: (gst_statistics_class_init):
26340         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
26341         (gst_tee_link):
26342         * gst/gstelement.c: (gst_element_class_init),
26343         (gst_element_base_class_init), (gst_element_init),
26344         (gst_element_get_random_pad), (gst_element_wait_state_change),
26345         (gst_element_change_state), (gst_element_dispose),
26346         (gst_element_finalize), (gst_element_set_loop_function):
26347         * gst/gstelement.h:
26348         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
26349         * gst/gstthread.c: (gst_thread_class_init),
26350         (gst_thread_release_children_locks), (gst_thread_change_state):
26351         * gst/schedulers/gstbasicscheduler.c:
26352         (gst_basic_scheduler_loopfunc_wrapper),
26353         (gst_basic_scheduler_chain_wrapper),
26354         (gst_basic_scheduler_src_wrapper),
26355         (gst_basic_scheduler_remove_element):
26356         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
26357         Remove threadsafe properties. Fix elements because GObject
26358         complains when installing a property before declaring a
26359         set/get_property handler.
26360         Rearrange gstelement.h file, use STATE macros for state locks.
26361         Free mutexes in the finalize method instead of dispose.
26362
26363 2005-03-08  Wim Taymans  <wim@fluendo.com>
26364
26365         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
26366         * gst/gstthread.c: (gst_thread_release_children_locks):
26367         Added parentage check.
26368         Fix build og GstThread again.
26369
26370 2005-03-08  Wim Taymans  <wim@fluendo.com>
26371
26372         * docs/design/part-MT-refcounting.txt:
26373         * docs/design/part-conventions.txt:
26374         * docs/design/part-gstobject.txt:
26375         * docs/design/part-relations.txt:
26376         * docs/design/part-standards.txt:
26377         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26378         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
26379         (gst_bin_get_by_name), (gst_bin_get_by_interface),
26380         (gst_bin_iterate_all_by_interface):
26381         * gst/gstbuffer.h:
26382         * gst/gstclock.h:
26383         * gst/gstelement.c: (gst_element_class_init),
26384         (gst_element_change_state), (gst_element_set_loop_function):
26385         * gst/gstelement.h:
26386         * gst/gstiterator.c:
26387         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
26388         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
26389         (gst_object_dispatch_properties_changed), (gst_object_set_name),
26390         (gst_object_set_parent), (gst_object_unparent),
26391         (gst_object_check_uniqueness):
26392         * gst/gstobject.h:
26393         Docs updates, clean up some headers.
26394
26395 2005-03-07  Wim Taymans  <wim@fluendo.com>
26396
26397         * check/.cvsignore:
26398         * check/Makefile.am:
26399         * check/gst-libs/.cvsignore:
26400         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
26401         * check/gst/.cvsignore:
26402         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
26403         (START_TEST), (gstbus_suite), (main):
26404         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
26405         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
26406         (gst_data_suite), (main):
26407         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
26408         (add_fold_func), (gstiterator_suite), (main):
26409         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
26410         (thread_name_object), (thread_name_object_default),
26411         (gst_object_name_compare), (gst_object_suite), (main):
26412         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
26413         (gst_pad_suite), (main):
26414         * check/gstcheck.c: (gst_check_log_message_func),
26415         (gst_check_log_critical_func), (gst_check_init):
26416         * check/gstcheck.h:
26417         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
26418         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
26419         Added checks.
26420
26421 2005-03-07  Wim Taymans  <wim@fluendo.com>
26422
26423         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
26424         (gst_list_iterator_next), (gst_list_iterator_resync),
26425         (gst_list_iterator_free), (gst_iterator_new_list),
26426         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
26427         (gst_iterator_free), (gst_iterator_push), (filter_next),
26428         (filter_resync), (filter_uninit), (filter_free),
26429         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
26430         (gst_iterator_foreach), (find_custom_fold_func),
26431         (gst_iterator_find_custom):
26432         * gst/gstiterator.h:
26433         Added missing files.
26434
26435 2005-03-07  Wim Taymans  <wim@fluendo.com>
26436
26437         * Makefile.am:
26438         * configure.ac:
26439         * docs/design/part-MT-refcounting.txt:
26440         * docs/design/part-conventions.txt:
26441         * docs/design/part-gstobject.txt:
26442         * docs/design/part-relations.txt:
26443         * examples/mixer/mixer.c: (main):
26444         * examples/thread/thread.c: (eos), (main):
26445         * gst/Makefile.am:
26446         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
26447         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
26448         (gst_spider_plug_from_srcpad):
26449         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
26450         (gst_spider_identity_change_state),
26451         (gst_spider_identity_sink_loop_type_finding):
26452         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
26453         * gst/elements/gstidentity.c: (gst_identity_init):
26454         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
26455         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
26456         * gst/elements/gsttypefindelement.c: (free_entry):
26457         * gst/gst.c:
26458         * gst/gst.h:
26459         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
26460         (gst_bin_set_clock_func), (gst_bin_auto_clock),
26461         (gst_bin_set_index), (gst_bin_set_element_sched),
26462         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
26463         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
26464         (gst_bin_iterate_elements), (iterate_child_recurse),
26465         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
26466         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
26467         (compare_interface), (gst_bin_get_by_interface),
26468         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
26469         * gst/gstbin.h:
26470         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
26471         (gst_buffer_default_free), (gst_buffer_default_copy),
26472         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
26473         (gst_buffer_create_sub):
26474         * gst/gstbuffer.h:
26475         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
26476         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
26477         (gst_caps_unref), (gst_static_caps_get),
26478         (gst_caps_remove_and_get_structure), (gst_caps_append),
26479         (gst_caps_append_structure), (gst_caps_remove_structure),
26480         (gst_caps_copy_nth), (gst_caps_set_simple),
26481         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
26482         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
26483         (gst_caps_structure_intersect_field), (gst_caps_intersect),
26484         (gst_caps_structure_subtract_field), (gst_caps_subtract),
26485         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
26486         (gst_caps_structure_figure_out_union),
26487         (gst_caps_switch_structures), (gst_caps_do_simplify),
26488         (gst_caps_replace), (gst_caps_from_string),
26489         (gst_caps_copy_conditional):
26490         * gst/gstcaps.h:
26491         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
26492         (_gst_clock_id_free), (gst_clock_id_unref),
26493         (gst_clock_id_compare_func), (gst_clock_id_wait),
26494         (gst_clock_id_wait_async), (gst_clock_class_init),
26495         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
26496         (gst_clock_get_time), (gst_clock_set_time_adjust),
26497         (gst_clock_set_property), (gst_clock_get_property):
26498         * gst/gstclock.h:
26499         * gst/gstcompat.h:
26500         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
26501         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
26502         * gst/gstdata.h:
26503         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26504         (gst_element_requires_clock), (gst_element_provides_clock),
26505         (gst_element_set_clock), (gst_element_clock_wait),
26506         (gst_element_wait), (gst_element_set_time_delay),
26507         (gst_element_is_indexable), (gst_element_add_pad),
26508         (gst_element_add_ghost_pad), (gst_element_remove_pad),
26509         (pad_compare_name), (gst_element_get_static_pad),
26510         (gst_element_request_pad), (gst_element_get_request_pad),
26511         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
26512         (gst_element_class_get_pad_template_list),
26513         (gst_element_class_get_pad_template), (gst_element_error_func),
26514         (gst_element_get_random_pad), (gst_element_get_event_masks),
26515         (gst_element_send_event), (gst_element_seek),
26516         (gst_element_get_query_types), (gst_element_query),
26517         (gst_element_get_formats), (gst_element_convert),
26518         (gst_element_is_locked_state), (gst_element_set_locked_state),
26519         (gst_element_sync_state_with_parent), (gst_element_change_state),
26520         (gst_element_finalize), (gst_element_yield),
26521         (gst_element_interrupt), (gst_element_set_scheduler),
26522         (gst_element_get_scheduler), (gst_element_set_loop_function):
26523         * gst/gstelement.h:
26524         * gst/gstevent.h:
26525         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
26526         (gst_format_get_by_nick), (gst_format_get_details),
26527         (gst_format_iterate_definitions):
26528         * gst/gstformat.h:
26529         * gst/gstindex.c: (gst_index_gtype_resolver):
26530         * gst/gstinfo.c:
26531         * gst/gstinfo.h:
26532         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
26533         (gst_mem_chunk_free):
26534         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
26535         (gst_object_ref), (gst_object_unref), (gst_object_sink),
26536         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
26537         (gst_object_dispatch_properties_changed),
26538         (gst_object_set_name_default), (gst_object_set_name),
26539         (gst_object_get_name), (gst_object_set_name_prefix),
26540         (gst_object_get_name_prefix), (gst_object_set_parent),
26541         (gst_object_get_parent), (gst_object_unparent),
26542         (gst_object_check_uniqueness), (gst_object_save_thyself),
26543         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
26544         (gst_object_set_property), (gst_object_get_property),
26545         (gst_object_get_path_string):
26546         * gst/gstobject.h:
26547         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26548         (gst_real_pad_init), (gst_real_pad_get_property),
26549         (gst_pad_custom_new), (gst_pad_get_direction),
26550         (gst_pad_set_active), (gst_pad_is_active),
26551         (gst_pad_set_event_function), (gst_pad_is_linked),
26552         (gst_pad_link_free), (gst_pad_link_intersect),
26553         (gst_pad_link_fixate), (gst_pad_set_caps),
26554         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
26555         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
26556         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
26557         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
26558         (gst_pad_get_caps), (gst_pad_peer_get_caps),
26559         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
26560         (gst_pad_realize), (gst_pad_get_allowed_caps),
26561         (gst_real_pad_dispose), (gst_real_pad_finalize),
26562         (gst_pad_collectv), (gst_pad_collect_valist),
26563         (gst_pad_template_dispose), (gst_pad_template_new),
26564         (gst_pad_get_internal_links):
26565         * gst/gstpad.h:
26566         * gst/gstpipeline.c: (gst_pipeline_dispose),
26567         (gst_pipeline_change_state):
26568         * gst/gstpipeline.h:
26569         * gst/gstplugin.c:
26570         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
26571         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
26572         * gst/gstpluginfeature.h:
26573         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
26574         * gst/gstquery.c: (_gst_query_type_initialize),
26575         (gst_query_type_register), (gst_query_type_get_by_nick),
26576         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
26577         * gst/gstquery.h:
26578         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
26579         * gst/gstscheduler.c: (gst_scheduler_add_element),
26580         (gst_scheduler_factory_create):
26581         * gst/gststructure.c: (gst_structure_set_parent_refcount),
26582         (gst_structure_free), (gst_structure_set_name),
26583         (gst_structure_id_set_value), (gst_structure_set_value),
26584         (gst_structure_set_valist), (gst_structure_remove_field),
26585         (gst_structure_remove_fields),
26586         (gst_structure_remove_fields_valist),
26587         (gst_structure_remove_all_fields), (gst_structure_foreach),
26588         (gst_structure_map_in_place),
26589         (gst_caps_structure_fixate_field_nearest_int),
26590         (gst_caps_structure_fixate_field_nearest_double):
26591         * gst/gststructure.h:
26592         * gst/gstsystemclock.c: (gst_system_clock_class_init),
26593         (gst_system_clock_init), (gst_system_clock_dispose),
26594         (gst_system_clock_async_thread),
26595         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
26596         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
26597         * gst/gstsystemclock.h:
26598         * gst/gsttag.c: (gst_tag_list_add_value_internal),
26599         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
26600         * gst/gsttaginterface.c:
26601         * gst/gstthread.c: (gst_thread_dispose),
26602         (gst_thread_release_children_locks), (gst_thread_change_state),
26603         (gst_thread_main_loop):
26604         * gst/gsttrashstack.h:
26605         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
26606         * gst/gsttypes.h:
26607         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26608         (gst_element_request_pad), (gst_element_get_pad_from_template),
26609         (gst_element_request_compatible_pad),
26610         (gst_element_get_compatible_pad_filtered),
26611         (gst_element_get_compatible_pad), (gst_element_state_get_name),
26612         (gst_element_link_pads_filtered), (gst_element_link_filtered),
26613         (gst_element_link_many), (gst_element_link),
26614         (gst_element_link_pads), (gst_element_unlink_pads),
26615         (gst_element_unlink_many), (gst_element_unlink),
26616         (gst_pad_can_link_filtered), (gst_pad_can_link),
26617         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
26618         (gst_object_default_error), (gst_bin_add_many),
26619         (gst_bin_remove_many), (gst_element_populate_std_props),
26620         (gst_element_class_install_std_props), (gst_buffer_merge),
26621         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
26622         (link_fold_func), (gst_pad_proxy_setcaps):
26623         * gst/gstutils.h:
26624         * gst/gstvalue.c: (gst_value_deserialize_string):
26625         * gst/parse/grammar.y:
26626         * gst/schedulers/gstbasicscheduler.c:
26627         (gst_basic_scheduler_cothreaded_chain),
26628         (gst_basic_scheduler_chain_recursive_add),
26629         (gst_basic_scheduler_pad_link):
26630         * gst/schedulers/gstoptimalscheduler.c:
26631         (get_group_schedule_function),
26632         (gst_opt_scheduler_state_transition),
26633         (gst_opt_scheduler_add_element), (element_get_reachables_func):
26634         * libs/gst/bytestream/bytestream.c:
26635         * libs/gst/dataprotocol/dataprotocol.c:
26636         (gst_dp_header_from_buffer):
26637         * po/nb.po:
26638         * po/ru.po:
26639         * tests/threadstate/threadstate2.c: (eos):
26640         * tools/gst-compprep.c: (main):
26641         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
26642         (print_pad_info), (print_children_info):
26643         * tools/gst-launch.c: (idle_func), (main):
26644         * tools/gst-md5sum.c: (idle_func), (main):
26645         * tools/gst-xmlinspect.c: (print_element_info):
26646         First THREADED backport attempt, focusing on adding locks and
26647         making sure the API is threadsafe. Needs more work. More docs
26648         follow this week.
26649
26650 2005-02-24  Andy Wingo  <wingo@pobox.com>
26651
26652         * tests/bench-complexity.scm:
26653         * tests/complexity.gnuplot: New files, good for running complexity
26654         benchmarks.
26655
26656         * tests/Makefile.am:
26657         * tests/complexity.c: New test, sets up N elements, at each level
26658         teeing into M streams per element. Eeeenteresting.
26659
26660         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
26661         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
26662         running bench-mass_elements.scm.
26663
26664         * tests/bench-mass_elements.scm: New script, runs mass_elements
26665         for various numbers of identities, outputting the results to a
26666         file. Requires guile 1.6. Just for testing.
26667
26668 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26669
26670         * gst/schedulers/fairscheduler.c:
26671           compile with debug disabled
26672
26673 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26674
26675         * configure.ac:
26676           hunting season on 0.9 is now OPEN